.choice-tiles{display:flex;gap:5px;flex-wrap:wrap;margin:4px 0}.choice-tiles label{position:relative;display:flex;align-items:center;justify-content:center;min-height:40px;flex:1 1 110px;margin:0;padding:4px 9px;font:650 .9rem/1.25 system-ui,sans-serif;border:1px solid #84917b;border-radius:8px;color:#214738;background:#fff9e9;cursor:pointer;text-align:center}.choice-tiles input{position:absolute;width:1px;height:1px;opacity:0}.choice-tiles label:has(:checked){background:#265942;color:#fff8df}.choice-tiles label:has(:disabled){opacity:.55}.choice-tiles label:has(:focus-visible){outline:3px solid #e1ab42}.phone-switch,#cup-pager{display:none}
@media(max-width:760px),(max-height:520px) and (max-width:1000px){
 .frame{padding:0;margin:0;max-width:100%}.game-head{margin:4px 0;padding:7px 9px;border-radius:9px;display:flex;align-items:center;justify-content:space-between}.game-head h1{font-size:1.15rem;margin:0}.game-head .school{font-size:.68rem}.game-head button{padding:4px 7px;font-size:.85rem;min-height:36px}
 .phone-switch:not([hidden]),#cup-pager:not([hidden]){display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:4px 0}.phone-switch button,#cup-pager button{border:1px solid #81947d;border-radius:7px;color:#224e3a;background:#fffaf0;font-weight:650;min-height:37px;padding:4px 8px}.phone-switch [aria-pressed=true]{color:#fff8e0;background:#265942}
 #cup-pager{justify-content:space-between;font-size:.85rem}
 #play .arena-layout,#play .arena-layout .side{display:block;margin:0}
 #play .pad,#play .register,#play .history{padding:10px;margin:5px 0}
 #play .move-box h2,#play .register h2{font-size:1.14rem;margin:3px 0}.move-box p,.side .pad p{margin:.35rem 0;font-size:.9rem;line-height:1.35}
 #play .action-bar{display:flex;gap:4px;flex-wrap:wrap;margin:5px 0}
 #play .action-bar button{flex:1 1 78px;padding:.35rem;min-height:42px;font-size:.86rem}
 #play[data-view=move]:has(#match:not([hidden])) :is(.register,.side>.pad:nth-child(n+2),#bell-log,#cup-social),
 #play[data-view=board] :is(.side,#bell-log,#cup-social),
 #play[data-view=history] :is(#cup-social,.register,.side>.pad:first-child),
 #play[data-view=room] #match{display:none}
 #play[data-view=board] .register .other-page{display:none}
 .register .board-row{padding:5px 0}.register .row-title{font-size:.83rem;min-height:0}.register .meta{font-size:.76rem}
 .register .doodle{height:clamp(34px,7dvh,61px)}#notice:empty{display:none}
 .cup-choice{padding:10px;gap:6px}.cup-choice h2{font-size:1.2rem;margin:0}.cup-choice p{font-size:.87rem;line-height:1.35;margin:5px 0}.cup-choice .cup-sketch{display:none}
 .choice-tiles label{min-height:37px;font-size:.8rem;flex-basis:82px}.cup-ctas{gap:4px}
}
