/* Opaque surfaces keep text readable regardless of the animated arena behind it. */
body:not(.playing){overflow-y:auto}
body:not(.playing) header{position:relative;padding:20px 3.2%;background:#f5f2e9;color:#1d2843;border-bottom:1px solid #d4d7dc}
body:not(.playing) header .brand{color:#1d2843}
body:not(.playing) .tools .icon{background:#fff;color:#1d2843;border-color:#a2aab7}
#menu{position:relative;left:auto;top:auto;width:min(620px,48%);max-width:none;margin:24px 0 40px 4%;padding:26px;background:#f5f2e9;border:1px solid #d4d7dc;border-radius:18px;box-shadow:0 12px 40px #15203925;color:#1d2843;isolation:isolate}
body[data-theme] #menu{color:#1d2843}
body[data-theme] #menu:before{display:none}
body[data-theme] #menu h1{font-size:clamp(52px,5.5vw,80px);line-height:.93;color:#1d2843;text-shadow:none;margin:18px 0}
body[data-theme] #menu h1 em{color:#9d3826}
body[data-theme] #menu .intro{color:#454f62;font-size:15px;line-height:1.55;max-width:440px;margin:16px 0}
body[data-theme] #menu .eyebrow{font-size:12px;letter-spacing:1px;color:#36435a;max-width:none}
#menu .play-actions{max-width:none;gap:10px}
body[data-theme] #menu .primary,body[data-theme] #menu .secondary{font-size:15px;padding:14px 18px;letter-spacing:.6px;color:#fff;background:#963a2a;border:1px solid #963a2a;box-shadow:none;min-height:66px}
body[data-theme] #menu .secondary{color:#1d2843;background:#fff;border-color:#8792a3}
#menu .play-actions small{display:block;font-size:11px;letter-spacing:.5px;line-height:1.4;margin-top:4px;opacity:1}
#menu .arena-picker{max-width:none;margin-top:24px}
body[data-theme] #menu .picker-title{font-size:12px;letter-spacing:.5px;color:#36435a;line-height:1.5}
#menu .picker-title span{opacity:1}
#menu #maps{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body[data-theme] #menu .map-card{min-width:0;min-height:82px;padding:12px;background:#fff;color:#1d2843;border:1px solid #a3adba;box-shadow:none}
body[data-theme] #menu .map-card.active{border:2px solid #963a2a;padding:11px;background:#fff3e9}
#menu .map-card:last-child{grid-column:auto}
#menu .map-card .mini{float:left;margin-right:10px;font-size:25px;height:28px}
#menu .map-card b{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
body[data-theme] #menu .map-card small{display:block;font-size:11px;color:#454f62;line-height:1.5;clear:both;padding-top:5px}
#menu .stage-caption{left:57%;bottom:8%;max-width:39%;font-size:13px;background:#f5f2e9;color:#1d2843;border-color:#a3adba}
body[data-theme] #menu .stage-caption>span:last-child{font-size:11px;color:#454f62;white-space:normal;line-height:1.5}
#lobby{max-height:92dvh;overflow:auto}
.team-choices{display:flex;gap:8px}.team-choices button{flex:1;border:2px solid currentColor;border-radius:8px;padding:12px 8px;font-size:13px;font-weight:800;background:#fff}
.team-choices [data-team="0"]{color:#225bb5}.team-choices [data-team="1"]{color:#a83d24}.team-choices [aria-pressed="true"]{box-shadow:inset 0 0 0 2px currentColor;background:#eef1f8}
#teamPicker h3{font-size:12px}#teamNotice{font-size:12px;line-height:1.6;color:#454f62}
@media(min-width:1700px){#menu{margin-left:6%;width:620px}#menu #maps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){#menu #maps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){#menu{width:55%;padding:22px;margin-left:3%}.tiny{display:none}#menu .stage-caption{display:none}}
@media(max-width:700px){body:not(.playing) header{padding:15px 4%;gap:10px;flex-wrap:wrap}.brand{font-size:18px}#menu{width:auto;margin:14px 4% 28px;padding:20px}body[data-theme] #menu h1{font-size:56px;max-width:none}#menu .map-card b{font-size:12px}body[data-theme] #menu .eyebrow{font-size:11px}.tools{margin-left:auto}#menu .stage-caption{display:none}}
@media(max-width:380px){.brand{font-size:16px}.tools .icon{height:34px}#menu{padding:16px}#menu #maps{grid-template-columns:1fr}body[data-theme] #menu h1{font-size:50px}}
@media(min-width:701px) and (max-height:800px){body:not(.playing) header{padding-top:14px;padding-bottom:14px}#menu{margin-top:14px;padding:20px}body[data-theme] #menu h1{font-size:48px;line-height:.95;margin:12px 0}#menu h1 br:nth-child(2){display:none}body[data-theme] #menu .intro{font-size:14px;margin:12px 0}#menu .arena-picker{margin-top:16px}body[data-theme] #menu .primary,body[data-theme] #menu .secondary{padding:10px 16px;min-height:60px}body[data-theme] #menu .map-card{min-height:72px;padding:10px}body[data-theme] #menu .map-card.active{padding:9px}#menu .map-card b{font-size:12px}}
#menu h1 em:before{content:' '}
.roster-row select{max-width:110px;font:inherit;font-size:11px;border:1px solid #8792a3;border-radius:6px;background:#fff;color:#1d2843}
