.choice-grid--monster .choice-item img,.icon-choice[data-choice-kind="monster"] img{filter:saturate(1.3) contrast(1.12) drop-shadow(1px 0 0 rgb(25 22 18 / 90%)) drop-shadow(-1px 0 0 rgb(25 22 18 / 90%)) drop-shadow(0 1px 0 rgb(25 22 18 / 90%)) drop-shadow(0 -1px 0 rgb(25 22 18 / 90%))}
.choice-grid--weapon,.choice-grid--element{grid-template-columns:repeat(7,minmax(0,1fr))}.choice-grid--weapon .choice-item,.choice-grid--element .choice-item{min-height:88px;padding:5px;font-size:11px}.choice-grid--weapon .choice-item img,.choice-grid--element .choice-item img{width:48px;height:48px}@media(max-width:620px){.choice-grid--weapon,.choice-grid--element{grid-template-columns:repeat(4,1fr)}}
.matrix-user__body{display:grid;min-width:0;gap:3px}.member-copy{display:grid;grid-template-columns:1fr auto;gap:3px}.member-copy select,.member-copy button{min-width:0;min-height:25px;padding:2px 4px;border:1px solid var(--line);border-radius:4px;background:#f7f3e9;color:var(--forest);font-size:10px}.member-copy button{cursor:pointer;font-weight:800}
.compact-party .party-title{flex:1;min-width:260px}.party-title__fields{display:grid;flex:1;gap:2px;min-width:0}.compact-party .party-title__fields>input{width:100%;min-width:0}.party-title__fields .party-comment{min-height:22px;padding:2px 7px;border-color:#d4cbb9;color:var(--muted);background:#f1ecdf;font-size:11px;font-weight:400}.party-title__fields .party-comment::placeholder{color:#948e82}@media(min-width:721px){.compact-party .party-title__fields{max-width:none}.compact-party .party-header{align-items:center}.compact-party .party-actions{flex:none}}
.matrix-head--battle{gap:2px}.matrix-battle-info{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}.matrix-battle-info small{min-width:0}.matrix-monster-icon{width:25px;height:25px;object-fit:contain;filter:saturate(1.3) contrast(1.12) drop-shadow(1px 0 0 rgb(25 22 18 / 90%)) drop-shadow(-1px 0 0 rgb(25 22 18 / 90%)) drop-shadow(0 1px 0 rgb(25 22 18 / 90%)) drop-shadow(0 -1px 0 rgb(25 22 18 / 90%))}.matrix-element-icon{flex:none;width:18px;height:18px;object-fit:contain}
.party-image-dialog{width:min(1200px,calc(100% - 24px));max-height:92vh;padding:0;border:1px solid var(--line);border-radius:15px;background:var(--card);box-shadow:0 20px 60px #10251b55}.party-image-dialog::backdrop{background:#13291f99;backdrop-filter:blur(3px)}.party-image-dialog__body{display:grid;justify-items:center;gap:14px;padding:16px;overflow:auto}.party-image-dialog__body img{display:block;width:100%;height:auto;border:1px solid var(--line);background:var(--paper)}.party-image-dialog__body .primary-button{display:inline-flex;align-items:center;text-decoration:none}
.parties-heading-actions{display:flex;align-items:center;gap:8px}

/* Public arena: keep all three battle fields usable on small screens. */
.arena-section-heading h2{font-family:inherit;font-size:23px;color:var(--forest)}
.battle-setting label{min-width:0}.battle-setting .icon-choice{min-width:0;min-height:44px;overflow-wrap:anywhere}.battle-setting .icon-choice img{flex:none}
.choice-dialog__header button{width:44px;height:44px;flex:none}.choice-dialog__header h2{font-size:20px}
@media(max-width:720px){.battle-setting{grid-template-columns:38px repeat(2,minmax(0,1fr));gap:8px;padding:10px}.battle-setting .battle-number{grid-column:1;grid-row:1/3;align-self:start;padding-top:22px;font-size:13px;white-space:nowrap}.battle-setting label:first-of-type{grid-column:2/-1}.battle-setting label:nth-of-type(2){grid-column:2}.battle-setting label:nth-of-type(3){grid-column:3}.battle-setting .icon-choice{padding:5px 7px;gap:5px;font-size:12px}.battle-setting .icon-choice img{width:28px;height:28px}.battle-setting label{font-size:12px}.arena-panel{padding:14px}.arena-panel .arena-section-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}.arena-panel .text-button{min-height:44px;padding:8px 10px;font-size:12px}.tournament-name{gap:6px;margin-bottom:12px;font-size:14px}.tournament-name input{min-height:44px;font-size:16px}.arena-section-heading h2{font-size:21px}}
