@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--lime:#baff38;--muted:#93a39e;--line:#ffffff20;--bg:#060909;font-family:'DM Sans',Arial,sans-serif;color:#f6faf5;background:var(--bg)}*{box-sizing:border-box}body{margin:0;min-height:100svh;overflow-x:hidden}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--lime);outline-offset:4px}button{border:1px solid var(--line)}button:disabled{opacity:.4;cursor:wait}a{color:inherit}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.scene-shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#040707 0%,#040707ed 22%,#0407076b 52%,transparent 75%)}.edge-lights{position:fixed;inset:0;border:3px solid #ff4141;z-index:20;pointer-events:none;box-shadow:inset 0 0 25px #ff414155;animation:edge 14s linear infinite}.edge-lights:after{content:'';position:absolute;inset:9px;border:1px solid currentColor;opacity:.12}@keyframes edge{0%,100%{color:#ff4747;border-color:#ff4747;box-shadow:inset 0 0 26px #ff474755}20%{color:#ff8e30;border-color:#ff8e30;box-shadow:inset 0 0 26px #ff8e3055}40%{color:#ffe93c;border-color:#ffe93c;box-shadow:inset 0 0 26px #ffe93c55}60%{color:#46ed83;border-color:#46ed83;box-shadow:inset 0 0 26px #46ed8355}80%{color:#429bff;border-color:#429bff;box-shadow:inset 0 0 26px #429bff55}}.topbar{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:26px 5vw;gap:16px}.brand{font-size:25px;font-weight:900;text-decoration:none;display:flex;gap:4px;align-items:center}.brand>span{color:var(--lime)}.brand small{font-size:11px;letter-spacing:2px;margin-left:10px}.top-caption{font-size:10px;letter-spacing:3px;color:var(--muted);text-transform:uppercase}.icon-button,.close{width:46px;height:46px;border-radius:50%;background:#141c1bd9;font-size:25px;display:grid;place-items:center}.lobby{position:relative;z-index:2;min-height:calc(100svh - 104px);display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:30px 8vw 65px;pointer-events:none;gap:6vw}.intro{max-width:550px;pointer-events:auto}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2.8px;font-weight:700;color:var(--lime);display:flex;gap:9px;align-items:center}.live-dot{height:7px;width:7px;background:var(--lime);border-radius:50%;box-shadow:0 0 18px var(--lime)}h1{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(58px,7.8vw,112px);letter-spacing:-2px;line-height:.88;margin:25px 0;text-transform:uppercase;font-weight:800;font-style:italic}h1 em{color:var(--lime);font-style:normal}.lead{color:#a4b2ac;font-size:15px;line-height:1.7;max-width:365px;margin:24px 0 30px}.menu-actions{display:grid;gap:12px;max-width:430px}.menu-button{background:linear-gradient(110deg,#19211de8,#0b110fe8);display:flex;align-items:center;text-align:start;gap:18px;padding:17px 20px;border-radius:13px;transition:background .2s,transform .2s}.menu-button:hover{background:#253528;transform:translateX(4px);border-color:#baff3855}.step{color:#75887b;font-size:12px;font-weight:700}.menu-button b{font-size:15px;display:block}.menu-button small{color:var(--muted);font-size:11px;display:block;margin-top:5px;max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.arrow{margin-inline-start:auto;color:var(--lime);font-size:25px}.play-button{display:flex;align-items:center;justify-content:space-between;border:0;border-radius:13px;padding:18px 24px;margin-top:6px;background:var(--lime);color:#102202;font-weight:900;letter-spacing:3px;font-size:23px;box-shadow:0 6px 30px #9dff2020;animation:green 5s ease-in-out infinite}.play-button:hover{transform:translateY(-2px)}@keyframes green{0%,100%{background:#baff38;box-shadow:0 6px 35px #9dff2033}50%{background:#57e788;box-shadow:0 6px 35px #34e48044}}.save-note{color:#667b70;font-size:10px;letter-spacing:.3px;margin-top:18px}.avatar-caption{align-self:end;margin-bottom:10px;justify-self:center;min-width:240px;text-align:center}.avatar-caption .eyebrow{justify-content:center}.avatar-caption strong{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;font-size:36px;display:block;margin:8px 0}.avatar-caption>div{display:flex;gap:12px;justify-content:center;align-items:center;color:#b4c9b9;font-size:12px}.badge{padding:5px 9px;border:1px solid #99ca6533;border-radius:4px;font-size:9px;letter-spacing:2px}.avatar-caption p{font-size:10px;color:#729081;margin-top:20px}dialog{color:inherit;box-shadow:0 30px 120px #000b}dialog::backdrop{background:#020504ba;backdrop-filter:blur(8px)}.panel{padding:0;border:1px solid #78928040;border-radius:24px;background:#0c1211;max-height:90svh;width:min(900px,94vw);overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 28px;border-bottom:1px solid var(--line)}h2{font-family:'Barlow Condensed',Arial,sans-serif;font-weight:700;font-size:32px;margin:5px 0}.panel-header .eyebrow{font-size:9px}.panel .close{flex-shrink:0;font-size:28px;width:38px;height:38px}.panel-scroll{padding:25px 28px;max-height:65svh;overflow:auto}.custom-panel{background:linear-gradient(90deg,#0a141900 42%,#0e1614 42%);width:min(1030px,96vw)}.custom-panel::backdrop{background:#02050470;backdrop-filter:none}.custom-panel .panel-header,.custom-panel .panel-footer{background:#0c1211f0}.custom-layout{display:grid;grid-template-columns:42% 58%;max-height:64svh}.custom-preview-space{position:relative;pointer-events:none}.preview-note{position:absolute;bottom:20px;left:0;width:100%;text-align:center;color:#b7d2be;font-size:11px}.custom-form{padding:18px 28px;overflow:auto;min-height:0}.custom-form fieldset,.sides{border:0;padding:12px 0 20px;margin:0}.custom-form legend,.sides legend{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--lime);padding:8px 0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.custom-form label,.language-label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#aabcaf;margin-bottom:12px}.custom-form input:not([type=range]):not([type=checkbox]),select{width:100%;min-width:0;border:1px solid #ffffff22;border-radius:8px;padding:10px;background:#18231e;color:#fff;font-size:13px;min-height:40px}.custom-form input[type=color]{padding:4px!important;height:39px;cursor:pointer}.custom-form input[type=range]{width:100%;accent-color:var(--lime)}output{float:inline-end;color:#fff}.field-note{font-size:11px;color:#81988c;line-height:1.6;margin:0 0 18px}.skin-presets{display:flex;gap:8px;margin:0 0 15px}.skin-presets button{width:24px;height:24px;border:2px solid #ffffff70;border-radius:50%}.equipment{display:flex;flex-wrap:wrap;gap:10px}.equipment label{display:flex;flex-direction:row;align-items:center;margin:10px 0}.equipment input{accent-color:var(--lime);height:18px;width:18px}.panel-footer{padding:16px 28px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);gap:12px}.confirm{background:var(--lime);color:#172009;border:0;border-radius:10px;min-height:44px;padding:12px 25px;font-weight:800;font-size:13px}.subtle{background:#19241f;border:1px solid #aec9b32d;border-radius:9px;padding:12px 18px;font-size:12px}.league-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.league-tabs button{padding:14px 5px;border-radius:10px;background:#17201c;display:grid;gap:7px;justify-items:center;font-size:11px}.league-tabs button>span{font-size:24px}.league-tabs button[aria-pressed=true]{border-color:var(--lime);background:#26351c;color:var(--lime)}.league-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:18px 0 25px}.fixture{display:grid;grid-template-columns:1fr 45px 1fr;gap:12px;align-items:center;text-align:center}.fixture .eyebrow{justify-content:center;margin-bottom:12px}.fixture select{text-align:center}.team-crest{clip-path:polygon(0 0,100% 0,95% 70%,50% 100%,5% 70%);margin:0 auto 18px;width:90px;height:105px;display:grid;place-items:center;font-family:'Barlow Condensed',sans-serif;font-size:28px;font-weight:800;border:4px solid #fff8;color:white;text-shadow:0 2px 5px #000b;background:linear-gradient(90deg,var(--team),var(--team) 50%,#e4e9e4 50%)}.versus{font-family:'Barlow Condensed',sans-serif;font-size:25px;color:#6c7c73}.swap{display:block;margin:22px auto}.sides{padding:5px 0 20px}.sides>label{display:inline-flex;align-items:center;gap:8px;font-size:12px;margin:8px 20px 16px 0}.sides input{accent-color:var(--lime)}.mini-pitch{display:flex;align-items:center;justify-content:space-between;border:1px solid #bfefb64a;background:repeating-linear-gradient(90deg,#1e4b32 0 12%,#20412e 12% 25%);border-radius:9px;padding:20px;position:relative;overflow:hidden}.mini-pitch i{position:absolute;top:0;bottom:0;left:50%;width:1px;background:#ffffff50}.mini-pitch i:after{content:'';position:absolute;border:1px solid #ffffff50;border-radius:50%;width:40px;height:40px;top:50%;left:50%;transform:translate(-50%,-50%)}.mini-pitch span{font-size:10px;max-width:40%;position:relative;z-index:1}.sources{font-size:11px;color:#879d90}.sources a{display:block;padding:7px}.sources summary{cursor:pointer}.settings-panel{max-width:440px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.setting-row b{display:block;font-size:16px}.setting-row small{display:block;font-size:11px;color:var(--muted);max-width:240px;margin-top:5px;line-height:1.6}.setting-row input{width:40px;height:24px;accent-color:var(--lime)}.language-label{font-size:14px}.match-mode .scene-shade{display:none}.match-mode .top-caption{display:none}.match-mode .edge-lights{opacity:.35}.match-mode .topbar{pointer-events:none}.match-mode .topbar a,.match-mode .topbar button{pointer-events:auto}.scoreboard{position:fixed;top:25px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:18px;background:#101914ed;border:1px solid #a6d49544;border-radius:12px;padding:12px 20px;z-index:4;font-size:12px;max-width:65vw;text-align:center}.scoreboard b{font-size:20px;white-space:nowrap;color:var(--lime)}.scoreboard small{background:#ffffff12;padding:7px;border-radius:5px;white-space:nowrap}.match-status{position:fixed;top:112px;left:5vw;background:#09120ce0;border:1px solid #ffffff20;padding:20px;border-radius:14px;width:300px;pointer-events:none}.match-status h2{font-size:25px}.match-status p{font-size:12px;color:#b2c5b6;line-height:1.6;margin:8px 0 12px}.round-progress{display:flex;gap:5px}.round-progress i{width:25px;height:4px;background:#4e5f51;border-radius:3px}.round-progress i.done{background:var(--lime)}.match-tools{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);display:flex;gap:8px;padding:9px;background:#0b130eea;border:1px solid #bdd6b52a;border-radius:18px;z-index:3;max-width:94vw}.match-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:11px;padding:10px 15px;background:#1a291d;min-width:77px;min-height:65px}.match-tools b{font-size:10px;font-weight:500;white-space:nowrap}.match-tools button>span{font-size:23px;line-height:23px}.match-tools .tool-primary{background:var(--lime);color:#102000}.card-icon{width:14px;height:21px;border-radius:2px;display:block;transform:rotate(-8deg)}.yellow{background:#ffe04a}.red{background:#ff525a}.match-help{position:fixed;bottom:125px;left:50%;transform:translateX(-50%);font-size:10px;background:#09110ac7;padding:8px 15px;border-radius:30px;text-align:center;max-width:90vw;color:#c6d9c7;pointer-events:none}.feedback{position:fixed;top:45%;left:50%;transform:translate(-50%,-50%);padding:20px 28px;min-width:280px;max-width:90vw;border:1px solid #baff3866;border-radius:16px;background:#0b1b13f5;text-align:center;color:#d4ffc1;z-index:4;pointer-events:none;font-size:15px;line-height:1.65}.result-panel{padding:32px;text-align:center;max-width:460px}.result-panel .eyebrow{justify-content:center}.result-ball{font-size:55px;color:var(--lime)}.result-panel strong{display:block;font-family:'Barlow Condensed',sans-serif;font-size:70px;color:var(--lime)}.result-panel p{color:#a8bfac;font-size:13px;line-height:1.7}.result-panel button{display:block;width:100%;margin-top:12px}.loading{position:fixed;bottom:25px;right:25px;display:flex;align-items:center;gap:10px;background:#16221df0;padding:14px 20px;border:1px solid #baff3844;border-radius:12px;font-size:12px;z-index:21}.loading-ring{border:2px solid #aaff3333;border-top-color:var(--lime);width:18px;height:18px;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-box{position:fixed;inset:25% 10%;background:#131d17;padding:30px;z-index:22;border:1px solid var(--lime);border-radius:20px;text-align:center}.error-box p{line-height:1.7}.error-box button,.error-box a{display:inline-block;padding:15px;background:#273d22;margin:10px;border-radius:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}[hidden]{display:none!important}html[dir=rtl] .scene-shade{background:linear-gradient(270deg,#040707 0%,#040707ed 22%,#0407076b 52%,transparent 75%)}html[dir=rtl] h1{direction:ltr;text-align:right}html[dir=rtl] .custom-panel{background:linear-gradient(270deg,#0a141900 42%,#0e1614 42%)}html[dir=rtl] .match-status{left:auto;right:5vw}
@media(max-width:760px){.topbar{padding:20px 6vw}.top-caption{display:none}.brand small{font-size:9px}.lobby{padding:270px 7vw 28px;min-height:100svh;display:block}.intro{max-width:none}h1{font-size:59px;line-height:.9;margin:15px 0;letter-spacing:-1px}.lead{font-size:12px;margin:15px 0 20px;max-width:290px}.eyebrow{font-size:9px;letter-spacing:2px}.scene-shade{background:linear-gradient(0deg,#040707 0%,#040707 30%,transparent 80%)!important}.menu-actions{max-width:none;gap:9px}.menu-button{padding:14px 16px}.menu-button b{font-size:14px}.menu-button small{font-size:10px;max-width:230px}.play-button{font-size:21px;padding:17px 20px}.avatar-caption{position:absolute;top:185px;right:7vw;min-width:0;width:145px;text-align:right}.avatar-caption .eyebrow,.avatar-caption>div{justify-content:flex-end}.avatar-caption strong{font-size:25px}.avatar-caption p{font-size:9px;line-height:1.5}.avatar-caption .badge{display:none}.panel{max-height:94svh;border-radius:18px}.panel-header{padding:17px 18px}.panel-header h2{font-size:26px}.panel-scroll{padding:18px;max-height:65svh}.custom-panel{background:#0e1614!important}.custom-layout{grid-template-columns:1fr;max-height:68svh}.custom-preview-space{display:none}.custom-form{padding:15px 18px}.panel-footer{padding:12px 18px}.custom-panel.previewing{background:#0e161400!important}.custom-panel.previewing .custom-form{visibility:hidden;height:50svh}.custom-panel.previewing .custom-preview-space{display:block;position:absolute;bottom:90px;left:0;width:100%}.confirm{padding:12px 18px}.league-tabs{gap:5px}.league-tabs button{font-size:10px}.league-meta{font-size:9px}.fixture{grid-template-columns:1fr 22px 1fr;gap:7px}.fixture select{font-size:11px;padding:10px 4px}.team-crest{width:70px;height:80px;font-size:23px}.sides>label{font-size:11px;margin-right:10px}.scoreboard{top:86px;max-width:94vw;width:max-content;gap:10px;font-size:10px;padding:9px 13px}.scoreboard b{font-size:17px}.scoreboard small{padding:5px;font-size:9px}.match-status{top:148px;left:4vw;width:230px;padding:13px}.match-status h2{font-size:22px}.match-status p{font-size:11px}.match-tools{bottom:max(12px,env(safe-area-inset-bottom));gap:5px;padding:7px;width:94vw;display:grid;grid-template-columns:repeat(6,1fr)}.match-tools button{min-width:0;min-height:58px;padding:7px 2px;gap:6px}.match-tools b{font-size:8px;white-space:normal}.match-help{bottom:92px;width:90vw;font-size:9px}.feedback{top:55%;font-size:13px;padding:16px}.save-note{margin-bottom:0}.custom-form .two-col{gap:9px}.loading{bottom:10px;right:10px;font-size:10px}.error-box{inset:15% 5%;height:max-content}.intro>.eyebrow{max-width:90%}}
@media(max-height:600px) and (min-width:761px){.lobby{padding-top:0;padding-bottom:20px}.topbar{padding-top:15px;padding-bottom:15px}h1{font-size:65px;margin:15px 0}.lead{margin:10px 0 15px}.menu-button{padding:10px 17px}.play-button{padding:12px 20px}.avatar-caption{margin-bottom:0}.match-status{top:90px}.panel-scroll{max-height:55svh}.custom-layout{max-height:55svh}}
@media(prefers-reduced-motion:reduce){.edge-lights,.play-button{animation:none}.menu-button{transition:none}}

body.customizing .lobby,body.customizing .scene-shade{visibility:hidden}.custom-panel::backdrop{background:#02050420}.custom-panel.previewing::backdrop{background:#02050410}.var-panel{background:transparent;width:94vw;max-width:1100px;height:90svh;display:none;flex-direction:column}.var-panel[open]{display:flex}.var-panel::backdrop{background:#03080622;backdrop-filter:none}.var-panel .panel-header,.var-controls{background:#0b1613f5}.var-screen{flex:1;position:relative;min-height:180px;pointer-events:none}.var-camera-label{position:absolute;top:20px;left:20px;background:#12251dc9;border:1px solid #baff38;padding:8px 14px;color:var(--lime);font-size:12px;font-weight:700;letter-spacing:2px}.var-watermark{position:absolute;bottom:18px;right:20px;font-size:10px;letter-spacing:3px;opacity:.7}.var-controls{padding:18px 24px}.var-timeline{display:flex;gap:15px;align-items:center;font-size:11px}.var-timeline input{flex:1;min-width:50px;accent-color:var(--lime)}.var-timeline output{white-space:nowrap}.var-buttons{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.var-buttons label{display:flex;gap:8px;align-items:center;font-size:11px}.var-buttons select{min-width:75px}.var-controls .field-note{margin:12px 0 0;font-size:10px}.var-mode #match-hud,.var-mode .topbar{visibility:hidden}.match-tools .var-button{border-color:#baff3870;color:var(--lime)}
@media(max-width:760px){.match-tools{grid-template-columns:repeat(7,1fr)}.match-tools b{font-size:7.5px}.var-panel{height:94svh;width:96vw}.var-controls{padding:14px}.var-buttons{display:grid;grid-template-columns:1fr 1fr}.var-buttons label{justify-content:center}.var-timeline{gap:7px;font-size:9px}.var-controls .field-note{font-size:9px}.var-panel .panel-header h2{font-size:24px}}

.custom-layout{height:64svh;grid-template-rows:minmax(0,1fr)}.custom-preview-space{min-height:0}.custom-form{height:100%}
@media(max-width:760px){.custom-layout{height:68svh}}

.topbar{position:sticky;top:0;direction:ltr}.match-mode .topbar{position:relative}.topbar .icon-button{box-shadow:0 0 20px #0008}
.duration-picker{border:0;padding:0;margin:10px 0 26px;display:flex;gap:8px;flex-wrap:wrap}.duration-picker legend{font-size:11px;color:var(--lime);margin-bottom:12px}.duration-picker label{display:flex;align-items:center;gap:8px;background:#17271c;border:1px solid #788f6644;border-radius:10px;padding:10px 13px;font-size:11px;cursor:pointer}.duration-picker label:has(input:checked){border-color:var(--lime);color:var(--lime)}.duration-picker input{accent-color:var(--lime)}.duration-picker b{font-size:20px}.duration-picker small{width:100%;font-size:10px;color:var(--muted);line-height:1.5}.squad-details{margin:18px 0;color:#bbccbd;font-size:12px}.squad-details summary{cursor:pointer;padding:12px;background:#17271d;border-radius:9px}.squad-details .field-note{margin-top:12px}#squad-list{display:grid;grid-template-columns:1fr 1fr;gap:15px}#squad-list h3{font-size:14px;color:var(--lime)}#squad-list ol{list-style:none;padding:0;line-height:1.9;font-size:11px}#squad-list a{font-size:10px}.call-tray{position:fixed;z-index:5;bottom:128px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:14px;border:1px solid #baff3866;background:#0c1b12f5;border-radius:16px;width:min(670px,94vw)}.call-tray button{min-height:45px;background:#263b24;border-radius:8px;font-size:12px;padding:8px}.round-progress{font-size:10px;letter-spacing:1px;color:var(--lime)}.scoreboard small{font-size:9px;line-height:1.5}.match-tools{max-width:96vw}.match-tools button{min-width:69px;padding:10px 12px}#half-dialog{border-color:#baff3880}.match-status{border-left:3px solid var(--lime)}.match-status h2{text-transform:uppercase;color:var(--lime);font-size:30px}.var-mode #match-hud{visibility:hidden}
@media(max-width:760px){.match-tools{grid-template-columns:repeat(4,1fr);width:94vw}.match-tools button{min-height:46px;min-width:0;padding:6px;flex-direction:row;gap:7px}.match-tools b{font-size:9px}.match-tools button>span{font-size:18px}.match-help{bottom:134px}.call-tray{bottom:170px;grid-template-columns:repeat(2,1fr)}.match-status{width:185px;top:155px;padding:11px}.match-status h2{font-size:24px}.match-status p{font-size:10px}.duration-picker label{padding:8px 10px}#squad-list{gap:10px}#squad-list ol{font-size:10px}}

.england-flag{display:block;width:30px;height:20px;border-radius:2px;box-shadow:0 0 0 1px #ffffff33;margin:4px 0}

#calls-open:not(:disabled){border-color:#baff38;color:var(--lime);box-shadow:0 0 14px #baff3822}
/* The shirt picker and the pitch share the same colors and pattern. */
.team-crest{clip-path:none;border:0;background:none;width:124px;height:126px;filter:drop-shadow(0 9px 10px #0006)}.team-crest canvas{width:100%;height:100%;clip-path:polygon(27% 0,39% 0,44% 8%,56% 8%,61% 0,73% 0,100% 19%,88% 44%,77% 37%,77% 100%,23% 100%,23% 37%,12% 44%,0 19%)}
.call-tray{left:auto;right:20px;bottom:122px;transform:none;width:430px;max-height:calc(100svh - 220px);overflow:auto;display:block;padding:18px;border-radius:18px;box-shadow:0 18px 60px #0009}.call-tray header{display:flex;justify-content:space-between;align-items:center;gap:12px}.call-tray h3{font-size:22px;margin:6px 0}.call-tray header button{width:32px;min-height:32px;font-size:24px;background:transparent}.call-tray #incident-players{font-size:11px;color:#afc4b5;line-height:1.5;margin:6px 0 12px}.call-tray fieldset{border:0;margin:0 0 12px;padding:0}.call-tray legend{font-size:11px;color:#d1e5cc;margin-bottom:8px}.restart-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.card-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.call-tray button{min-height:43px;font-size:11px;line-height:1.3;border:1px solid #78927a44}.call-tray button[aria-pressed=true]{background:#c0ff3e;color:#102406;border-color:#d9ff87;font-weight:800}.card-options button{display:flex;align-items:center;justify-content:center;gap:8px}.card-options .card-icon{width:11px;height:16px}.call-tray label{display:grid;gap:6px;font-size:11px}.call-tray select{font-size:11px}.call-tray #decision-summary{font-size:11px;line-height:1.5;min-height:18px;color:#d2e8b9}.call-tray .confirm{width:100%;background:var(--lime);color:#142a0e;font-size:13px}.call-tray .confirm:disabled{opacity:.4}.referee-radar{position:fixed;top:110px;right:24px;width:180px;background:#09150ee8;border:1px solid #accc9c55;border-radius:12px;padding:10px;z-index:2}.referee-radar>div{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--lime);margin-bottom:7px}.referee-radar button{font-size:9px;padding:7px;background:#223324;border-radius:7px}.referee-radar canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;border-radius:5px}.referee-radar small{display:block;font-size:9px;line-height:1.4;color:#b4c9b8;margin-top:6px}.match-help{max-width:700px;line-height:1.5}.match-status{width:235px}.match-status h2{font-size:25px}
@media(max-width:760px){.team-crest{width:95px;height:100px}.referee-radar{top:151px;right:4vw;width:130px;padding:7px}.referee-radar>div{font-size:8px}.referee-radar small{font-size:8px}.match-status{width:calc(92vw - 143px);max-width:185px}.match-status h2{font-size:20px}.match-status .eyebrow{font-size:7px;letter-spacing:1px}.call-tray{right:3vw;bottom:128px;width:94vw;max-height:55svh;padding:13px}.call-tray h3{font-size:19px}.call-tray button{min-height:41px;font-size:10px}.call-tray header{position:sticky;top:-13px;background:#0c1b12;z-index:1;padding-top:4px}.call-tray #incident-players{font-size:10px}.match-help{font-size:8px;bottom:125px;padding:5px 10px}.referee-radar button{padding:6px}.call-tray .confirm{min-height:44px}}
@media(max-height:560px) and (min-width:761px){.call-tray{max-height:68svh;bottom:100px}.referee-radar{top:90px;width:150px}.match-status{top:90px}}
@media(min-width:761px){.team-crest{width:100px;height:100px;margin-bottom:12px}.call-tray{max-height:calc(100svh - 180px)}.call-tray header{position:sticky;top:-18px;background:#0c1b12;z-index:1;padding:4px 0 8px}.restart-options{grid-template-columns:repeat(4,1fr)}}
.call-tray{display:flex;flex-direction:column;overflow:hidden}.call-tray header{position:static;flex-shrink:0;padding:0 0 10px}.decision-body{overflow:auto;min-height:0;padding:0 3px 0 0;scrollbar-color:#a5c37c #132217;scrollbar-width:thin}.decision-footer{flex-shrink:0;padding-top:7px;border-top:1px solid #b3d59a33}.decision-footer p{margin:4px 0 10px}.call-tray .decision-footer button{min-height:44px}.call-tray:has(.decision-body) .decision-body fieldset{margin-bottom:10px}
@media(max-width:760px){.call-tray{max-height:calc(100svh - 278px)}.call-tray header{padding-top:0}.decision-footer p{font-size:10px!important}.decision-body{padding-right:4px}}

/* Role selection and touch-friendly team controls. */
.role-picker{margin:18px 0;padding:16px;border:1px solid #baff3830;border-radius:20px;background:#0c1918e8;max-width:560px}.role-picker h2{font-size:15px;margin:0 0 10px}.role-picker button{min-height:46px;padding:10px 16px;border:1px solid #ffffff24;border-radius:12px;background:#172726;color:#f4fff6;font:inherit;font-weight:700;cursor:pointer}.role-picker button[aria-pressed="true"]{background:#c5ff39;color:#122017;border-color:#c5ff39;box-shadow:0 0 20px #baff3818}.role-picker p{font-size:12px;line-height:1.5;color:#b5c8be;margin:10px 0 0}.role-options,.team-options{display:flex;gap:8px}.role-options button,.team-options button{flex:1}#team-choice{margin-top:13px}#team-choice>span,#team-choice>b{display:block;margin-bottom:8px;font-size:12px}#team-tools button{min-width:72px}#team-tools button[aria-pressed="true"]{background:#c5ff39;color:#132119}#team-tools button:disabled{opacity:.38;cursor:default}
@media(max-width:760px){.role-picker{padding:12px;margin:12px 0}.role-picker button{padding:9px 12px;font-size:13px}.role-picker p{font-size:11px}#team-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:100%;width:100%}#team-tools button{min-width:0;min-height:43px;padding:8px 4px;font-size:11px}#team-tools[hidden]{display:none}.match-help{font-size:10px}}
