:root{--navy:#112b49;--blue:#215d98;--sky:#e8f2fc;--gold:#d4ad56;--ink:#172e44;--mut:#61758a;--line:#dce5ef;--bg:#f2f6fa;--green:#157958}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,Segoe UI,sans-serif}header{background:linear-gradient(115deg,#10253e,#1d4d7e);color:white;padding:28px max(24px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;align-items:center;border-bottom:4px solid var(--gold);gap:16px}.brand{display:flex;gap:20px;align-items:center}.brand img{width:74px;height:82px;object-fit:contain}.brand small{letter-spacing:2px;color:#c3d8ed;font-weight:700;font-size:11px}h1{font-size:35px;line-height:1.1;margin:5px 0;letter-spacing:-1px}h1 span{color:#e7c779}header p{margin:0;color:#c3d8ed}.local{font-size:12px;border:1px solid #ffffff44;border-radius:24px;padding:7px 13px;white-space:nowrap}nav{display:flex;justify-content:center;gap:8px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;flex-wrap:wrap;padding:8px}button{font:inherit;cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 15px;font-weight:650}button:hover{background:var(--sky)}button:disabled{opacity:.45;cursor:not-allowed}nav button{display:flex;align-items:center;gap:8px;border:0;color:var(--mut);padding:12px 18px}nav button.active{background:var(--sky);color:var(--blue)}svg{width:20px;height:20px;vertical-align:middle;flex-shrink:0}main{max-width:1180px;margin:auto;padding:28px 24px;min-height:65vh}h2{font-size:27px;letter-spacing:-.6px;margin:0 0 4px}h3{font-size:17px;margin:0 0 14px}p{margin:0 0 14px}.mut{color:var(--mut)}.heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:22px}.heading h2 svg{width:26px;height:26px;color:var(--blue);margin-right:8px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 3px 10px #142c4907;margin-bottom:16px;min-width:0}.grid .card{margin:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;color:var(--mut);font-size:13px}.metric strong{display:block;color:var(--navy);font-size:30px;line-height:1.3}.metric svg{float:right;color:var(--blue)}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{background:var(--navy)}.danger{color:#a82939}.row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}label{display:block;font-size:13px;font-weight:700;margin:12px 0 5px}input,select{font:inherit;width:100%;min-width:0;padding:11px;border:1px solid #bdccdb;border-radius:8px;background:#fbfdff;color:var(--ink)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.roster{margin:14px 0;padding:0;list-style:none}.roster li,.event{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:8px 0}.roster button,.event button{padding:5px 10px}.empty{text-align:center;padding:34px;color:var(--mut)}.empty svg{width:38px;height:38px;color:#91abc4;display:block;margin:0 auto 12px}.pill{display:inline-block;background:#eaf0f6;color:#536c83;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:700}.pill.live{background:#dff4e9;color:#157958}.pill.done{background:#dceaf8;color:#234e79}.score{background:linear-gradient(120deg,#102b49,#24588a);color:white;border-radius:14px;padding:24px;margin:16px 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;gap:14px;overflow-wrap:anywhere}.score strong{font-size:44px;white-space:nowrap;letter-spacing:2px}.score b{font-size:18px}.matchscore{font-size:32px;font-weight:800;color:var(--navy)}.match{border-top:3px solid var(--blue)}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:12px;text-align:center;border-bottom:1px solid var(--line)}th{background:#eaf2fa;color:#375674;font-size:12px;text-transform:uppercase}td:nth-child(2),th:nth-child(2){text-align:left}td:last-child{font-weight:800;color:var(--blue)}tr:first-child td{background:#f7fbff}.bar{height:6px;background:#e5edf5;border-radius:6px;overflow:hidden;margin:10px 0}.bar i{display:block;height:100%;background:var(--blue)}.subnav{display:flex;gap:10px;margin-bottom:18px}.subnav .active{background:var(--navy);color:white}.callout{background:#e8f2fc;border-left:3px solid var(--blue);padding:12px 16px;border-radius:6px;margin-bottom:16px}.yellow{color:#9b7000}.red{color:#b22c39}footer{text-align:center;color:var(--mut);font-size:12px;padding:20px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--navy);color:white;border-radius:10px;padding:12px 20px;display:none;z-index:10}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #79b3ec;outline-offset:2px}@media(max-width:640px){header{padding:18px 16px}.brand{gap:10px}.brand img{width:48px;height:58px}h1{font-size:25px}.brand small{font-size:9px;letter-spacing:1px}.local{display:none}nav{gap:2px;padding:5px}nav button{font-size:12px;padding:8px;gap:4px}nav svg{width:16px;height:16px}main{padding:18px 12px}.metrics{grid-template-columns:1fr 1fr}.fields{grid-template-columns:1fr}.card{padding:15px}.score{padding:16px 8px;gap:7px}.score strong{font-size:32px}.score b{font-size:14px}h2{font-size:23px}}
nav{background:#e1edf5;gap:9px;padding:11px}nav button{background:linear-gradient(135deg,#266489,#16475f);color:#fff;border:1px solid #ffffff38;box-shadow:0 3px 7px #16384f20}nav button:nth-child(2n){background:linear-gradient(135deg,#357da7,#215a80)}nav button:hover,nav button.active{background:linear-gradient(135deg,#12354e,#167d9a);color:white;box-shadow:inset 0 -3px #e3bd69,0 3px 8px #16384f30}.registration{padding:0;overflow:hidden;background:#e6f1f6}.formbanner,.teamhero{background:linear-gradient(115deg,#103b50,#176b83,#388eb5);color:white;padding:23px;display:flex;align-items:center;gap:16px}.formbanner>svg{width:40px;height:40px}.formbanner h3{font-size:24px;margin:0}.formbanner span{color:#d4eaf5}.formbody{padding:22px}.editorgrid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin:18px 0;align-items:start}.editorpanel{background:#f2f9fc;border:1px solid #b9d5e4;border-radius:12px;padding:17px;min-width:0}.editorpanel h3{margin:0;color:#164e68}.coachpanel{background:#deedf4}.manual{margin:14px 0;background:#d8eaf3;border:1px solid #b1d0e0;border-radius:9px;padding:12px}.manual summary{cursor:pointer;font-weight:700;color:#174e69}.manual button{margin-top:12px}.hits{max-height:240px;overflow:auto}.hit,.resultline{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;margin-top:5px;background:white}.hit:hover,.resultline:hover{background:#d5ebf5}.coachname{margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.teamtile{background:linear-gradient(145deg,#e8f5fb,#d1e5ef);border:1px solid #aacbdc;border-radius:16px;padding:22px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:9px;box-shadow:0 4px 13px #123b5010}.teamtile:hover{background:#c2deed}.teamtile h3{font-size:20px;margin:0;overflow-wrap:anywhere}.teamtile>span:not(.emblem){font-size:13px;color:#365d72}.teamtile .tilelink{border-top:1px solid #aacbdc;width:100%;padding-top:12px;color:#145779;font-weight:800}.emblem{position:relative;display:grid;place-items:center;width:92px;height:100px;color:white;background:linear-gradient(140deg,hsl(var(--h),55%,41%),#102c49);clip-path:polygon(5% 0,95% 0,100% 50%,84% 77%,50% 100%,16% 77%,0 50%);flex-shrink:0}.emblem svg{position:absolute;width:82px;height:90px;color:#cce8f0}.emblem span{font-size:28px;font-weight:800;z-index:1}.teamhero{border-radius:14px;margin-bottom:18px}.teamhero p{margin:0;color:#d8edf6}.resultline small{display:block;color:#61758a;font-weight:400}.resultline strong{white-space:nowrap;font-size:20px}@media(max-width:700px){.editorgrid{grid-template-columns:1fr}.formbody{padding:12px}.formbanner{padding:16px}nav{gap:4px;padding:6px}nav button{padding:9px 8px}.teamhero{padding:16px}.teamhero h2{overflow-wrap:anywhere}}
/* V003: mobile-first navigation, match cards and discipline */
body{background:linear-gradient(165deg,#e0eef5 0,#f4f8fb 55%);overflow-wrap:anywhere}nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:none;gap:7px;padding:9px max(12px,calc((100vw - 1180px)/2));background:#c5dce8}nav button{justify-content:center;min-width:0;min-height:48px;padding:9px 6px}.metric{background:linear-gradient(145deg,#f7fcff,#dceef6);border-color:#b9d5e3}.filterbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:22px}.filterbar button{background:#e5f2f8;border-color:#bad4e2;color:#184b65;min-height:48px;padding:8px 4px}.filterbar button.active{background:linear-gradient(135deg,#123b55,#217d98);color:white}.filterbar span{display:inline-block;margin-left:3px;font-size:12px}.fixturegroup{margin-bottom:24px}.fixturegroup>h3,.discipline>h3{display:flex;align-items:center;gap:8px;color:white;background:linear-gradient(120deg,#174a65,#267f99);padding:12px 15px;border-radius:10px}.fixturegroup>h3 .pill,.discipline>h3 .pill{margin-left:auto}.matchtile{background:linear-gradient(150deg,#fff,#e3f1f7);border:1px solid #accbdc;border-top:4px solid #267d9a;text-align:left;padding:15px;min-width:0;width:100%}.matchtile:hover{background:#d5eaf4}.matchtime{font-size:12px;color:#355b70}.versus{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;margin:18px 0;text-align:center}.versusteam{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.versusteam .emblem,.managedteam .emblem{width:53px;height:59px}.versusteam .emblem svg,.managedteam .emblem svg{width:48px;height:53px}.versusteam .emblem span,.managedteam .emblem span{font-size:18px}.resultscore{font-size:25px;color:#123b55;white-space:nowrap}.matchtile .tilelink{display:block;border-top:1px solid #bfd6e2;padding-top:10px;text-align:center;color:#145779}.cardmark{display:inline-block;width:13px;height:19px;border-radius:2px;vertical-align:-4px;margin-right:4px;box-shadow:0 1px 2px #0003;border:1px solid #0002;transform:rotate(-7deg)}.cardmark.yellow{background:#f5c842}.cardmark.red{background:#d84b52}.discipline{margin-bottom:20px}.discipline.yellow>h3{background:linear-gradient(120deg,#765917,#a98125)}.discipline.red>h3{background:linear-gradient(120deg,#85323c,#b94b55)}.medal{display:inline-block;color:#d9ae48}.medal1{color:#bfcbd5}.medal2{color:#c88e60}.medal svg{width:30px;height:34px}.managementhero{background:linear-gradient(115deg,#11394f,#176b83,#459ec1);color:white;padding:20px;border-radius:14px;margin-bottom:14px}.managementhero strong{font-size:21px}.managementhero p{margin:8px 0 0;color:#e0f2f8}.subnav{display:grid;grid-template-columns:1fr 1fr}.subnav button{background:#d2e8f2;border-color:#b3d2e1;color:#15455e;min-height:52px}.subnav .active{background:linear-gradient(135deg,#123b55,#247a96);color:white}.managedteam{background:#e9f5fa}.summarymatch h4{margin:12px 0 5px;color:#215d78}.summarymatch .grid>div{padding:13px;background:#eaf5fa;border-radius:10px}.lineup summary{font-weight:700;cursor:pointer}.lineup details p{margin-top:10px}.tablewrap{max-width:100%;overscroll-behavior-inline:contain}button,input,select,summary{min-height:44px}summary{padding:8px 0}button:focus-visible{outline-offset:2px}.heading>div{min-width:0}.heading .mut{font-size:14px}
@media(max-width:700px){nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px 8px}nav button{font-size:12px;min-height:43px;gap:5px}header{padding:14px 12px}main{padding:15px 10px 24px}.heading{margin-bottom:15px}.heading h2{font-size:22px}.heading>button{width:100%}.metrics{gap:7px;margin-bottom:16px}.metric{padding:10px;font-size:12px}.metric strong{font-size:25px}.filterbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.grid{gap:10px}.card{padding:12px}.registration{padding:0}.editorpanel{padding:12px}.formbody{padding:10px}.score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:16px 7px}.score strong{font-size:28px}.row{gap:7px}.event span,.roster li span{min-width:0;overflow-wrap:anywhere}.tablewrap{padding:5px}th,td{padding:9px 5px;font-size:12px}td:nth-child(2),td:nth-child(3){white-space:normal;overflow-wrap:anywhere}.discipline table,.discipline table td{white-space:normal}.discipline table{table-layout:fixed}.discipline th:first-child{width:25px}.discipline th:last-child{width:76px}.managementhero{padding:15px}.managementhero strong{font-size:18px}.matchtile{padding:12px}.resultscore{font-size:23px}input,select{font-size:16px}.hit{min-height:46px}.teamgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.teamtile{padding:12px 7px}.teamtile h3{font-size:16px}.teamtile .emblem{width:66px;height:74px}.teamtile .emblem svg{width:60px;height:68px}.teamtile .emblem span{font-size:20px}.teamtile>span:not(.emblem){font-size:12px}}
@media(max-width:350px){nav button{font-size:11px;gap:3px}.teamgrid{grid-template-columns:1fr}.score strong{font-size:24px}.brand img{width:40px}.brand h1{font-size:21px}}
/* V004: mobile-first match operations */
.quickpanel{background:linear-gradient(145deg,#e5f2f8,#c9e4ef);border:1px solid #b3d2e1;padding:14px;border-radius:14px;margin:14px 0}.quickteam{background:#fff;border-radius:12px;padding:12px;min-width:0}.quickteam h3,.quickscore b{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.quickscore b{flex-direction:column;text-align:center}.quickteam .emblem,.quickscore .emblem{width:38px;height:42px;flex:none}.quickteam .emblem svg,.quickscore .emblem svg{width:36px;height:40px}.quickactions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.quickactions button{min-height:66px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:7px 3px;font-size:13px}.quickactions button svg{width:23px;height:23px}.quickpicker{margin-top:12px;padding:12px;background:#fff;border-radius:12px;border:2px solid #247a96;scroll-margin-top:120px}.quickplayers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.quickplayers button{min-height:50px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:9px}.quickfooter{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}.quickfooter button{flex:1;min-height:50px}.quickscore strong{white-space:nowrap}@media(max-width:700px){.quickpanel{padding:9px}.quickpanel>.grid{grid-template-columns:1fr}.quickteam{padding:10px}.quickactions button{min-height:65px}.quickscore .emblem{width:42px;height:47px}.quickplayers button{font-size:14px}.quickfooter{padding-bottom:env(safe-area-inset-bottom,0px)}}@media(max-width:350px){.quickplayers{grid-template-columns:1fr}}

/* V006 */
.storagepanel{margin-top:24px;background:#e6f2f8;border-color:#b4d2df}.storagepanel .row>*{flex:1;min-width:0}.importlabel{display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}.importlabel input{width:100%;min-width:0;font-size:14px}.heading>div{min-width:0}.heading h2,.teamhero h2,.quickteam h3,.versusteam b{overflow-wrap:anywhere}.grid>*,.editorgrid>*,.fields>*{min-width:0}@media(max-width:600px){.storagepanel .row{flex-direction:column;align-items:stretch}.storagepanel button{min-height:48px}.storagepanel .row>*{width:100%}.heading{flex-wrap:wrap}.tablewrap{max-width:100%;overflow-x:auto}}
/* V007: compact fixture, full-width touch targets, decorative header */
.banner-art{display:flex;align-items:center;justify-content:flex-end;gap:18px;color:#a8d9ee;flex-shrink:0}.turtle-mark{display:flex;flex-direction:column;align-items:center;gap:2px}.turtle-mark svg{width:74px;height:49px;opacity:.78}.turtle-mark span{font-size:11px;font-weight:700;white-space:nowrap}.football-mark{width:70px;height:70px;opacity:.64;align-self:flex-start}.fixture-list{display:flex;flex-direction:column;border:1px solid #c2d8e5;border-radius:12px;overflow:hidden;background:white}.fixture-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #dce7ee;border-radius:0;padding:5px 12px 7px;min-height:54px;background:white}.fixture-row:last-child{border-bottom:0}.fixture-row:hover{background:#eaf5fa}.fixture-row:focus-visible{outline:2px solid #247a96;outline-offset:-3px}.fixture-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#587084;font-size:11px;font-weight:500}.fixture-meta .pill{font-size:10px;padding:2px 7px;white-space:nowrap}.fixture-line{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr) 12px;align-items:center;gap:8px}.fixture-team{display:flex;align-items:center;gap:7px;min-width:0;font-size:13px;line-height:1.2}.fixture-team b{overflow-wrap:anywhere;min-width:0}.fixture-team.away{justify-content:flex-end;text-align:right}.fixture-team .emblem{width:25px;height:28px}.fixture-team .emblem svg{width:23px;height:25px}.fixture-team .emblem span{font-size:8px}.fixture-score{font-size:19.5px;text-align:center;white-space:nowrap;color:#164b66}.fixture-arrow{font-size:19px;color:#6b8fa5;text-align:right}.fixturegroup{margin-bottom:17px}.fixturegroup h3{margin-bottom:6px}.fixturegroup .empty{padding:12px}.brand{min-width:0}.brand>div{min-width:0}
@media(max-width:700px){header{gap:7px}.brand{gap:8px}.brand img{width:42px;height:48px}.brand small{font-size:8px;letter-spacing:.4px}.brand h1{font-size:23px}.brand p{font-size:11px}.banner-art{gap:5px}.turtle-mark svg{width:45px;height:30px}.turtle-mark span{font-size:8px}.football-mark{width:36px;height:36px}.fixture-row{padding:4px 7px 6px;min-height:52px}.fixture-line{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr) 8px;gap:5px}.fixture-team{font-size:11px;gap:4px}.fixture-team .emblem{width:21px;height:24px}.fixture-team .emblem svg{width:19px;height:22px}.fixture-team .emblem span{font-size:7px}.fixture-score{font-size:16.9px}.fixture-meta{font-size:10px}.fixture-arrow{font-size:15px}}
@media(max-width:380px){header{padding:10px 8px}.brand h1{font-size:19px}.brand img{width:35px;height:42px}.banner-art{gap:3px}.turtle-mark svg{width:37px;height:25px}.turtle-mark span{font-size:7px}.football-mark{width:29px;height:29px}}
/* V008: outline artwork and compact standings */
header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}.banner-art{display:grid;grid-template-columns:1fr auto;justify-items:center;align-items:center;gap:12px;color:#b2e0f3}.turtle-mark{gap:1px;line-height:1.1;text-align:center}.turtle-mark svg{width:94px;height:65px;opacity:1}.turtle-mark span{font-size:11px;font-weight:500;white-space:normal}.turtle-mark strong{font-size:15px}.football-mark{width:94px;height:94px;opacity:.95;align-self:center;justify-self:end}.standings-v8 .tablewrap{padding:0;overflow-x:auto}.standings-v8 table{table-layout:auto;min-width:620px;white-space:nowrap}.standings-v8 th{background:#195570;color:white;padding:10px 6px}.standings-v8 td{padding:8px 6px}.standings-v8 tbody tr:nth-child(even) td{background:#eef6fb}.standings-v8 tbody tr:nth-child(-n/**/+3) td:first-child{border-left:3px solid #d5ad50}.standings-v8 tbody tr:nth-child(2) td:first-child{border-color:#aebbc6}.standings-v8 tbody tr:nth-child(3) td:first-child{border-color:#b67b49}.standing-team{display:flex;gap:7px;align-items:center;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:100px}.standing-team .emblem{width:24px;height:28px;flex:none}.standing-team .emblem svg{width:24px;height:27px}.standing-team .emblem span{font-size:7px}.standing-points{display:inline-block;min-width:28px;background:#dcecf5;color:#164c68;border-radius:6px;padding:4px}.goal-diff{font-weight:700}.goal-diff.negative{color:#b42332}.goal-diff.positive{color:#157958}.goal-diff.neutral{color:#52677a}
@media(max-width:700px){header{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:6px}.banner-art{gap:3px}.turtle-mark svg{width:54px;height:39px}.turtle-mark span{font-size:8px}.turtle-mark strong{font-size:10px}.football-mark{width:48px;height:48px}.standings-v8 table{min-width:540px}.standings-v8 td,.standings-v8 th{padding:6px 4px;font-size:11px}.standings-v8 .medal svg{width:25px;height:29px}}
@media(max-width:380px){header{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.brand h1{font-size:18px}.turtle-mark svg{width:46px;height:34px}.football-mark{width:39px;height:39px}.turtle-mark span{font-size:7px}.turtle-mark strong{font-size:9px}}

/* V009: valid inline shield markup, explicit row geometry and responsive rankings */
.fixture-row{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:8px 12px;text-align:left;min-height:60px}
.fixture-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;line-height:1.3}
.fixture-meta>span:first-child{min-width:0;overflow-wrap:anywhere}
.fixture-meta .pill{justify-self:end;align-self:start;line-height:1.4}
.fixture-line{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) minmax(40px,auto) minmax(0,1fr) 10px;gap:6px;align-items:center}
.fixture-team .emblem{position:relative;display:grid;place-items:center;flex:none;align-self:center;isolation:isolate}
.fixture-team .emblem svg{inset:0;margin:auto;max-width:100%;max-height:100%}
.fixture-team b{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere}
.fixture-arrow{line-height:1}
.discipline tbody td:nth-child(2),.discipline tbody td:nth-child(3){color:#111;font-weight:600}
.scorers-v9 .tablewrap,.discipline .tablewrap{padding:0;overflow-x:auto}
.scorers-v9 table,.discipline table{table-layout:fixed;white-space:normal;width:100%}
.scorers-v9 th,.discipline th{white-space:normal;overflow-wrap:normal;background:#eaf2fa}
.scorers-v9 td,.discipline td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.scorers-v9 th:first-child,.discipline th:first-child{width:48px}
.scorers-v9 th:last-child,.discipline th:last-child{width:85px}
.scorers-v9 td:nth-child(3),.discipline td:nth-child(3){text-align:left}
.scorers-v9 th:nth-child(3),.discipline th:nth-child(3){text-align:left}
.scorers-v9 td:nth-child(2){font-weight:650;color:#172e44}
.scorers-v9 tbody tr:nth-child(even),.discipline tbody tr:nth-child(even){background:#eef6fb}
.brand,.banner-art,.turtle-mark,.metric,.teamhero>div,.quickscore b,.event>span,.roster li>span{min-width:0}
.score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.metric svg{float:none;display:block;margin-bottom:3px}
.subnav>*{min-width:0;flex:1}
@media(max-width:700px){
 .fixture-row{padding:7px 7px 8px;gap:6px;min-height:60px}
 .fixture-line{grid-template-columns:minmax(0,1fr) minmax(34px,auto) minmax(0,1fr) 8px;gap:4px}
 .fixture-team{font-size:12px;gap:4px}.fixture-team .emblem{width:19px;height:22px}
 .fixture-team .emblem svg{width:19px;height:22px}.fixture-score{font-size:15.6px}
 .scorers-v9 td,.scorers-v9 th,.discipline td,.discipline th{padding:8px 4px;font-size:12px}
 .scorers-v9 th:first-child,.discipline th:first-child{width:33px}
 .scorers-v9 th:last-child{width:48px}.discipline th:last-child{width:68px}
 .scorers-v9 .medal svg{width:25px;height:29px}
 .discipline th:last-child .cardmark{display:block;margin:0 auto 3px}
 .standings-v8 .tablewrap{padding:0}.standings-v8 table{min-width:540px}
 .filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.filterbar button{min-width:0}
 .metrics{gap:8px}.metric{padding:10px}.metric strong{font-size:25px}
 .quickteam h3,.score b,.teamhero h2{overflow-wrap:anywhere}
 .row>button,.quickfooter button{max-width:100%;white-space:normal}
 .quickscore strong{font-size:clamp(24px,7vw,32px)}
}
@media(max-width:380px){.fixture-team{font-size:11px}.fixture-team .emblem{width:17px;height:20px}.fixture-team .emblem svg{width:17px;height:20px}.scorers-v9 td,.scorers-v9 th,.discipline td,.discipline th{font-size:11px;padding:7px 3px}.discipline th:last-child{width:60px}.brand p{font-size:10px}}

/* V010: isolated shield initials and subtle fixture status backgrounds */
.emblem .emblem-initials{color:#fff;line-height:1;position:relative;text-shadow:0 1px 2px #102c4970}
.fixturegroup[data-status="live"]{--fixture-bg:#edf8f0;--fixture-hover:#dff1e5;--fixture-border:#c6e3ce;--fixture-ink:#235d3d;--fixture-head:#dcefe1}
.fixturegroup[data-status="pending"]{--fixture-bg:#fff9e7;--fixture-hover:#fff0c9;--fixture-border:#ebdfb3;--fixture-ink:#725419;--fixture-head:#f8edc9}
.fixturegroup[data-status="done"]{--fixture-bg:#edf5fc;--fixture-hover:#dfedf9;--fixture-border:#c5dbed;--fixture-ink:#244f76;--fixture-head:#deebf8}
.fixturegroup[data-status] > h3{background:var(--fixture-head);color:var(--fixture-ink);border:1px solid var(--fixture-border)}
.fixturegroup[data-status] > h3 .pill{background:var(--fixture-bg);color:var(--fixture-ink)}
.fixturegroup[data-status] .fixture-list{background:var(--fixture-bg);border-color:var(--fixture-border)}
.fixturegroup[data-status] .fixture-row{background:var(--fixture-bg);border-bottom-color:var(--fixture-border)}
.fixturegroup[data-status] .fixture-row:hover,.fixturegroup[data-status] .fixture-row:focus-visible{background:var(--fixture-hover)}
.fixturegroup[data-status] .empty{background:var(--fixture-bg);border-color:var(--fixture-border)}
.pill.pending{background:#f8edc9;color:#725419}
/* V011: search availability and narrow screen tables */
.hit{min-width:0;min-height:44px}.hit>span{min-width:0;overflow-wrap:anywhere}.hit small{flex:0 1 43%;text-align:right;font-size:11px;color:#17634d;overflow-wrap:anywhere}.hit.assigned{background:#fff8e8;border-color:#e5d6ac}.hit.assigned small{color:#725419}.discipline-label{display:inline-flex;align-items:center;justify-content:center;gap:3px;max-width:100%;white-space:nowrap}.discipline-label .cardmark{flex:none;margin:0}.discipline .tablewrap,.scorers-v9 .tablewrap{min-width:0;max-width:100%}#toast{width:max-content;max-width:calc(100% - 24px);overflow-wrap:anywhere;text-align:center;bottom:calc(16px + env(safe-area-inset-bottom,0px))}
@media(max-width:700px){
 .discipline th,.scorers-v9 th{font-size:10px;letter-spacing:0;padding:7px 2px;line-height:1.25}.discipline td,.scorers-v9 td{font-size:11px;padding:7px 3px;line-height:1.35}.discipline th:last-child{width:76px}.discipline th:first-child{width:24px}.discipline th:last-child .cardmark{display:inline-block;width:8px;height:12px;margin:0}.discipline-label{gap:3px}.discipline>h3{font-size:15px;gap:6px;padding:10px}.discipline>h3 .pill{flex:none}
 .scorers-v9 th:first-child{width:29px}.scorers-v9 th:last-child{width:42px}.scorers-v9 th:nth-child(2),.discipline th:nth-child(2){width:38%}.scorers-v9 .medal svg{max-width:23px}.heading>div,.heading>button,.fields>div,.editorgrid>*,.quickteam,.quickscore>*,.resultline>span{min-width:0;max-width:100%}.heading h2{font-size:21px}.hit{padding:9px 7px;font-size:13px}.roster li>button,.event>button{flex:none}.row>button{min-height:44px}.score strong{font-size:clamp(23px,7vw,32px)}
 .standings-v8 table{min-width:0;width:100%;table-layout:fixed;white-space:normal}.standings-v8 th,.standings-v8 td{font-size:9px;padding:6px 1px;overflow-wrap:anywhere}.standings-v8 th:first-child{width:25px}.standings-v8 th:nth-child(2){width:28%}.standing-team{min-width:0;gap:3px;display:block;font-size:10px}.standing-team .emblem{display:inline-grid;width:17px;height:19px;vertical-align:middle;margin-right:2px}.standing-team .emblem svg{width:17px;height:19px}.standings-v8 .medal svg{width:20px;height:24px}.standing-points{min-width:0;padding:2px}.standings-v8 tbody tr:nth-child(-n/**/+3) td:first-child{border-left-width:2px}
}
@media(max-width:380px){.discipline th:last-child{width:68px}.discipline th{font-size:9px}.discipline-label{gap:2px}.discipline th:last-child .cardmark{width:7px;height:11px}.scorers-v9 td,.discipline td{font-size:10px}.standing-team{font-size:9px}.standings-v8 th,.standings-v8 td{font-size:8px}}

/* V012 access */
header{position:relative;padding-top:58px}.access{position:absolute;top:10px;right:max(12px,calc((100vw - 1180px)/2));display:flex;gap:6px}.access button{background:#286786;color:white;border:1px solid #82b2cc;font-size:13px;padding:7px 11px;min-height:38px}.access button:hover{background:#19445f}.access svg{width:15px;height:15px}dialog{width:min(92vw,420px);max-height:90vh;border:1px solid #c2d7e4;border-radius:16px;padding:22px;color:var(--ink);background:white}dialog::backdrop{background:#10253eb0}#loginError{color:#a82939;margin:12px 0;overflow-wrap:anywhere}#loginDialog input{font-size:16px}#loginDialog .row button{flex:1;min-height:44px}@media(max-width:600px){header{padding-top:54px}.access{right:10px;top:8px}nav button{min-width:0}}
/* V013: categories and responsive directory */
.genderfilters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:6px 12px;margin:16px 0;align-items:center}.genderfilters label{margin:0}.genderfilters label:nth-of-type(2){grid-column:2;grid-row:1}.genderfilters select,.genderfilters input{min-width:0;width:100%;grid-row:2}.gendergrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.gendergroup{min-width:0;border:1px solid #ccdde7;border-radius:14px;overflow:hidden;background:#edf5fa}.gendergroup.female{background:#f5edf6;border-color:#dfcfe4}.gendergroup.unknown{background:#f2f3f5;grid-column:1/-1}.gendergroup>h3{margin:0;padding:12px;display:flex;align-items:center;gap:8px;background:#d6e8f4;color:#214e70;font-size:15px}.gendergroup.female>h3{background:#e9d9ef;color:#674475}.gendergroup.unknown>h3{background:#e0e3e7;color:#465569}.gendergroup>h3 svg,.genderbadge svg{width:18px;height:18px;flex:none}.gendergroup>h3 span{margin-left:auto}.genderitems{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:9px;padding:10px}.genderitems>*{min-width:0;overflow-wrap:anywhere}.genderitems .teamtile{width:100%;min-width:0}.genderbadge{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:4px 9px;background:#d6e8f4;color:#214e70;font-size:12px}.genderbadge.female{background:#e9d9ef;color:#674475}.genderbadge.unknown{background:#e0e3e7;color:#465569}.genderitems .managedteam .row{flex-wrap:wrap}.genderitems .managedteam h3{overflow-wrap:anywhere}.genderitems .managedteam .emblem{flex:none}@media(max-width:600px){.gendergrid{grid-template-columns:1fr}.genderitems{grid-template-columns:repeat(2,minmax(0,1fr))}.genderitems .managedteam{padding:10px}.genderitems .managedteam button{width:100%}.genderitems .teamtile{padding:12px 6px}}@media(max-width:360px){.genderitems{grid-template-columns:1fr}.genderfilters{grid-template-columns:1fr}.genderfilters label:nth-of-type(2),.genderfilters input,.genderfilters select{grid-column:auto;grid-row:auto}}
/* V014: independent category statistics */
.statsgroups{display:grid;gap:14px;min-width:0}.statsgroups.split{grid-template-columns:repeat(2,minmax(0,1fr))}.statgroup{min-width:0;border:1px solid #d6e8f4;border-radius:12px;padding:8px;background:#edf5fa}.statgroup.female{background:#f5edf6;border-color:#e9d9ef}.statgroup.unknown{background:#f2f3f4;border-color:#ddd;grid-column:1/-1}.stathead{display:flex;align-items:center;gap:6px;background:#d6e8f4;color:#214e70;padding:9px;border-radius:7px;margin:0 0 8px;font-size:15px}.female .stathead{background:#e9d9ef;color:#674475}.unknown .stathead{background:#e4e7ea;color:#455462}.statgroup .tablewrap{padding:4px;margin:0 0 8px}.statgroup .discipline{min-width:0}.split .statgroup table{width:100%;table-layout:fixed;font-size:12px}.split .statgroup th,.split .statgroup td{padding:5px 3px;overflow-wrap:anywhere}.split .statgroup th:first-child{width:28px}.split .statgroup th:last-child{width:65px}.split .statgroup .medal{width:23px}.split .statgroup .discipline-label{font-size:10px;gap:2px}.split .statgroup .discipline-label .cardmark{width:7px;height:11px;flex-shrink:0}.split .statgroup .discipline h3{font-size:13px}.split .statgroup .empty{padding:12px}
@media(max-width:700px){.statsgroups.split{grid-template-columns:minmax(0,1fr)}.statgroup{padding:5px}.stathead{font-size:14px}.split .statgroup table{font-size:11px}}

/* V015: independent fixture filters and reset */
.fixturegender{margin-bottom:8px}.fixturegender button.male:not(.active){background:#e1edf7;color:#214e70}.fixturegender button.female:not(.active){background:#f0e5f4;color:#674475}.fixture-tags{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end;min-width:0}.fixture-tags .genderbadge{font-size:10px;padding:2px 5px}.fixture-tags svg{width:12px;height:12px}.resetzone{border-top:1px solid #d8e3eb;margin-top:16px;padding-top:12px}.resetzone h4{margin:0 0 6px}.resetzone p{font-size:13px;color:#526678}.fixturegender button svg{width:14px;height:14px}@media(max-width:430px){.fixturegender{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fixturegender button{font-size:12px;min-width:0}.fixture-meta{flex-wrap:wrap}.fixture-tags{margin-left:auto}.fixture-tags .genderbadge{font-size:9px}}

.championship-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.championship-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:88px;border:1px solid #c1d5e4;background:#e1edf7;color:#214e70;border-radius:12px;padding:10px;text-align:center}.championship-switch button.female{background:#f0e5f4;color:#674475;border-color:#dcc6e5}.championship-switch button.active{background:#214e70;color:white;border-color:#214e70}.championship-switch button.female.active{background:#674475;color:white;border-color:#674475}.championship-switch svg{width:24px;height:24px}.championship-switch small{font-size:11px;color:inherit}.championship-panel{min-width:0}.championship-panel>.stathead{padding:9px 12px;border-radius:9px;background:#d6e8f4;color:#214e70;margin:0 0 10px;display:flex;align-items:center;gap:7px}.championship-panel.female>.stathead{background:#e9d9ef;color:#674475}.championship-panel>.stathead svg{width:19px;height:19px}@media(max-width:430px){.championship-switch{gap:6px}.championship-switch button{font-size:12px;padding:8px 4px;min-height:78px}.championship-panel .filterbar button{font-size:11px}}

.captainbadge{display:inline-block;background:#d4ad56;color:#172e44;border-radius:4px;padding:0 5px;font-size:11px;font-weight:700} .coachpanel select{width:100%;margin-bottom:12px}
#rosterDialog{max-width:min(580px,94vw);max-height:90vh;overflow:auto;box-sizing:border-box}#rosterDialog textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px;border:1px solid #c7d7e2;border-radius:8px;resize:vertical}#rosterDialog .reviewcheck{display:flex;align-items:flex-start;gap:8px;font-size:13px;margin:14px 0}#rosterDialog .reviewcheck input{width:auto;flex:none;margin-top:3px}#re{color:#a52e3c;font-size:13px;overflow-wrap:anywhere}#ocrStatus{font-size:13px;margin-top:8px;overflow-wrap:anywhere}.championship-switch button{min-height:92px}.championship-panel .filterbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.championship-panel .filterbar button{width:100%}

/* V019: three states inside the selected championship, with semantic soft colors. */
.championship-panel .filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}
.championship-panel .filterbar button{min-width:0;font-size:clamp(10px,2.7vw,13px);padding:8px 3px}
.championship-panel .filterbar button:nth-child(1){background:#edf8f0;color:#235d3d;border-color:#c6e3ce}
.championship-panel .filterbar button:nth-child(2){background:#fff9e7;color:#725419;border-color:#ebdfb3}
.championship-panel .filterbar button:nth-child(3){background:#edf5fc;color:#244f76;border-color:#c5dbed}
.championship-panel .filterbar button.active{box-shadow:inset 0 0 0 2px currentColor;font-weight:700}
.pill.live{background:#dcefe1;color:#235d3d}
.roster-preview{background:#edf5fa;border:1px solid #c4d8e5;border-radius:12px;padding:12px;margin:12px 0}.preview-list{max-height:220px;overflow:auto;padding-left:24px}.preview-list li{padding:5px 0;overflow-wrap:anywhere}.preview-list small,.people-list small{display:block;color:#526579;font-size:12px}.preview-list .danger-text{color:#a52e3c}.padron-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.padron-kpis div{background:#e4eef5;padding:10px;border-radius:8px;overflow-wrap:anywhere}.padron-kpis strong{display:block;font-size:24px;color:#174e69}.people-list>div{padding:8px 0;border-bottom:1px solid #d6e1e9;overflow-wrap:anywhere}.people-list strong{font-size:14px}@media(max-width:480px){.padron-kpis div{padding:7px}.padron-kpis small{font-size:11px}.padron-kpis strong{font-size:19px}}

/* V022: compact administrative directories, isolated tools and crest selector. */
.admin-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:12px}.admin-groups .genderitems,.adminrows{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.admin-groups .gendergroup{padding:10px 12px}.admin-groups .gendergroup>h3{margin:0 0 6px}.adminline{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid #cbd8e2;background:transparent}.adminline:last-child{border-bottom:0}.adminline .emblem{width:34px;height:39px}.adminline .emblem svg{width:30px;height:35px}.admininfo{min-width:0;overflow-wrap:anywhere}.admininfo strong{display:block;font-size:14px;color:#183e59}.admininfo small,.matchmeta small{display:block;font-size:11px;color:#52687a;line-height:1.45}.adminactions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.adminactions button{font-size:12px;padding:7px 10px;min-height:34px;margin:0}.matchline{grid-template-columns:minmax(105px,145px) minmax(0,1fr) auto}.matchmeta .pill{font-size:10px;padding:4px 7px;margin-bottom:3px}.adminscore{display:inline-block;color:#27668b;font-variant-numeric:tabular-nums;white-space:nowrap;margin:0 4px}.importpanel{margin-top:14px}.crest-field{border:1px solid #c9d9e4;border-radius:10px;padding:10px;margin:14px 0;min-width:0}.crest-field legend{font-weight:700;color:#214e70;padding:0 5px}.crest-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.crest-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;padding:10px 4px;background:#fff;border:1px solid #b9cbd8;border-radius:8px;color:#24465c}.crest-choice.selected{outline:2px solid #24688b;outline-offset:-2px;background:#e5f0f7}.crest-choice small{font-size:11px;text-align:center;white-space:normal}.crest-choice .emblem{width:53px;height:59px}.crest-choice .emblem svg{width:48px;height:53px}.emblem.crest-round{clip-path:ellipse(49% 49%);background:linear-gradient(145deg,#277c72,#143e43)}.emblem.crest-diamond{clip-path:polygon(50% 0,100% 35%,87% 75%,50% 100%,13% 75%,0 35%);background:linear-gradient(145deg,#88344f,#461d32);color:#f2d294}.emblem.crest-classic{clip-path:polygon(0 0,100% 0,94% 70%,50% 100%,6% 70%);background:linear-gradient(145deg,#70568e,#35284d);color:#e8e0f0}.emblem.crest-shield{background:linear-gradient(145deg,#377eae,#163e60)}
@media(max-width:650px){.adminline{grid-template-columns:34px minmax(0,1fr);gap:6px;padding:8px 0}.adminactions{grid-column:2;justify-content:flex-start}.matchline{grid-template-columns:minmax(0,1fr)}.matchline .adminactions{grid-column:1}.matchmeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-groups .gendergroup{padding:8px}.adminactions button{min-height:36px;font-size:11px;padding:6px 8px}.crest-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.crest-choice{min-height:85px}}
/* Administrative navigation and compact import controls. */
.subnav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:14px}.subnav button{min-height:42px;padding:8px;font-size:13px}.importpanel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:8px;padding:12px 14px;margin:12px 0 0}.import-heading h4{margin:0 0 5px}.import-heading small{color:#52687a;font-size:12px}.import-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.import-actions .importlabel{min-width:0;flex:1 1 180px;margin:0}.import-actions input{min-width:0;width:100%;font-size:12px}.import-actions button{font-size:12px;padding:8px 10px;min-height:38px}.importpanel #textStatus{grid-column:1/-1;font-size:12px}.importpanel #textStatus:empty{display:none}.crest-field{margin:8px 0}.crest-choice .emblem{width:53px;height:59px}.crest-choice .emblem svg{width:48px;height:53px}.crest-choice small{color:#21465e}.roster-preview .preview-list{max-height:150px}
@media(max-width:650px){.subnav{grid-template-columns:repeat(2,minmax(0,1fr))}.subnav button{min-height:40px;font-size:12px}.importpanel{grid-template-columns:minmax(0,1fr);padding:10px}.import-actions{display:grid;grid-template-columns:minmax(0,1fr)}.import-actions button{width:100%;white-space:normal}.crest-choice{min-height:80px}.crest-choice .emblem{width:45px;height:50px}.crest-choice .emblem svg{width:41px;height:45px}}

/* V023 compact directories and bounded badge geometry. */
.gendergrid:not(.admin-groups) .genderitems{grid-template-columns:minmax(0,1fr);gap:0;padding:4px 9px 7px}
.gendergrid:not(.admin-groups) .teamtile{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;gap:9px;align-items:center;text-align:left;padding:7px 5px;min-height:49px;border:0;border-bottom:1px solid #cbdce6;border-radius:0;background:transparent;box-shadow:none;color:#183e59}
.gendergrid:not(.admin-groups) .teamtile:last-child{border-bottom:0}.gendergrid:not(.admin-groups) .teamtile:hover{background:#dcecf5}.teamtile h3{font-size:14px;line-height:1.3;margin:0}.teamtile .tilelink{width:auto;border:0;padding:0;font-size:20px;line-height:1;text-align:center}.teamname-link{border:0;background:transparent;padding:0;text-align:left;color:#183e59;font-weight:700;min-height:34px;overflow-wrap:anywhere}.teamname-link:hover{text-decoration:underline}
.emblem{container-type:inline-size;overflow:hidden;isolation:isolate;align-self:center;justify-self:center}.emblem svg{inset:0;margin:auto;max-width:100%;max-height:100%;color:inherit;pointer-events:none}.emblem .emblem-initials{font-size:clamp(5px,calc(66cqw / var(--letters,2)),28px);line-height:1;max-width:80%;white-space:nowrap;justify-self:center;align-self:center;position:relative;z-index:1;color:#fff;letter-spacing:-.03em}.emblem.crest-diamond svg{width:82%;height:82%}.emblem.crest-classic svg{width:85%;height:85%}
.gendergrid .teamtile .emblem,.adminline.teamline .emblem{width:30px;height:34px;min-width:0;flex:none}.gendergrid .teamtile .emblem svg,.adminline.teamline .emblem svg{width:27px;height:30px}.gendergrid .teamtile .emblem.crest-diamond svg,.adminline.teamline .emblem.crest-diamond svg{width:24px;height:27px}.adminline.teamline{grid-template-columns:34px minmax(0,1fr) auto;padding:6px 2px;gap:8px;min-height:45px}
@media(max-width:650px){.adminline.teamline{grid-template-columns:30px minmax(0,1fr) auto;gap:5px}.adminline.teamline .adminactions{grid-column:3;flex-wrap:nowrap;gap:3px}.adminline.teamline .adminactions button{font-size:10px;padding:5px 4px;min-height:34px}.teamname-link{font-size:12px}.gendergrid:not(.admin-groups) .teamtile{min-height:46px}.teamtile h3{font-size:13px}}
/* Document styling is shared by the live preview, HTML export and print. */
.seven-report{box-sizing:border-box;background:#fff;color:#162e45;font:13px/1.45 system-ui,Segoe UI,sans-serif;max-width:1020px;margin:0 auto;padding:24px;border:1px solid #d8e4ed;border-radius:12px;overflow-wrap:anywhere;color-scheme:light;text-align:left}
.seven-report *{box-sizing:border-box}.seven-report .report-cover{display:flex;align-items:center;gap:16px;background:linear-gradient(115deg,#10253e,#205b81);color:#fff;padding:18px 20px;border-bottom:4px solid #d4ad56;border-radius:8px;position:relative;overflow:hidden}.seven-report .report-cover img{width:56px;height:65px;object-fit:contain;flex:none}.seven-report .report-cover h1{font-size:clamp(19px,3.8vw,32px);line-height:1.05;margin:5px 0;color:white;letter-spacing:-.5px}.seven-report .report-cover h1 span{color:#e7c779}.seven-report .report-cover p,.seven-report .report-kicker{font-size:10px;letter-spacing:.8px;color:#cce4f2;margin:0}.seven-report .report-number{margin-left:auto;font-size:56px;font-weight:900;font-style:italic;line-height:1;color:#b7d9ef;opacity:.45}.seven-report .report-title{padding:20px 0 10px;border-bottom:1px solid #c7d6e2;margin-bottom:16px}.seven-report .report-title h2{font-size:23px;line-height:1.2;margin:0 0 4px;color:#143b5a}.seven-report .report-title p,.seven-report .report-note{color:#526a7f;font-size:12px;margin:0}.seven-report .report-section{margin:0 0 19px}.seven-report .report-section h3{background:#e2eef5;border-left:4px solid #287a9b;padding:8px 10px;font-size:15px;color:#143b5a;margin:0 0 9px;border-radius:2px}.seven-report h4{font-size:12px;margin:12px 0 6px;color:#143b5a}.seven-report .report-teamline{font-size:12px;margin:8px 0}.seven-report .report-tablewrap{overflow-x:auto;width:100%}.seven-report table{border-collapse:collapse;width:100%;table-layout:auto;font-size:11px;min-width:0;color:#162e45}.seven-report th,.seven-report td{border-bottom:1px solid #d9e3eb;padding:6px 7px;text-align:left;vertical-align:middle;overflow-wrap:anywhere;white-space:normal}.seven-report th{background:#1d526f;color:#fff;font-size:10px;font-weight:700;letter-spacing:0;text-transform:none}.seven-report tbody tr:nth-child(odd) td{background:#f3f8fc}.seven-report tbody tr:nth-child(even) td{background:#fff}.seven-report td:last-child{font-weight:600;color:#162e45}.seven-report .report-empty{padding:10px;background:#f3f8fc;color:#526a7f}.seven-report .report-score{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;text-align:center;background:#edf5fa;border:1px solid #c8dce7;padding:14px;font-weight:700;margin-bottom:10px}.seven-report .report-score strong{font-size:26px;white-space:nowrap;color:#174c6e}.seven-report .report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:18px}.seven-report .report-kpis div{background:#edf5fa;border-top:3px solid #287a9b;padding:10px}.seven-report .report-kpis b{display:block;font-size:24px;color:#174c6e}.seven-report .report-kpis span{font-size:11px}.seven-report .report-footer{border-top:2px solid #d4ad56;color:#526a7f;font-size:10px;letter-spacing:1px;padding-top:9px;margin-top:18px}.report-export{margin:0;padding:18px;background:#edf3f7;font-family:system-ui,sans-serif}.report-export-actions{max-width:1020px;margin:0 auto 12px;text-align:right}.report-export-actions button{background:#195570;color:#fff;border:0;border-radius:6px;padding:10px 15px;font:inherit;cursor:pointer}
@media(max-width:480px){.seven-report{padding:10px}.seven-report .report-cover{padding:12px;gap:8px}.seven-report .report-cover img{width:39px;height:48px}.seven-report .report-number{display:none}.seven-report .report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.seven-report .report-tablewrap table{font-size:10px}.seven-report th,.seven-report td{padding:4px 3px}.report-export{padding:6px}}
@media print{@page{size:A4 portrait;margin:15mm 15mm 15mm 20mm}html,body,.report-export{background:white!important;color:#162e45!important;margin:0!important;padding:0!important;overflow:visible!important}body:has(#reportPreview) > :not(main),body:has(#reportPreview) main > :not(#reportPreview){display:none!important}body:has(#reportPreview) main{max-width:none!important;width:auto!important;margin:0!important;padding:0!important;min-height:0!important}#reportPreview{margin:0!important;padding:0!important;border:0!important;background:white!important}.report-export-actions{display:none!important}.seven-report{max-width:none!important;width:100%!important;border:0!important;border-radius:0!important;padding:0!important;font-size:10pt!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.seven-report .report-cover{break-inside:avoid}.seven-report .report-cover h1{font-size:22pt}.seven-report .report-tablewrap{overflow:visible!important}.seven-report table{font-size:8.5pt!important;min-width:0!important;width:100%!important}.seven-report th,.seven-report td{padding:4px 7px!important}.seven-report thead{display:table-header-group}.seven-report tr,.seven-report .report-score,.seven-report .report-kpis{break-inside:avoid}.seven-report h3,.seven-report h4{break-after:avoid}.seven-report .report-title{break-after:avoid}.seven-report .report-footer{break-inside:avoid}}
/* V024 event countdown and report controls */
header{flex-wrap:wrap}.event-countdown{display:flex;flex:1 0 100%;min-width:0;justify-content:center;align-items:center;gap:14px;border-top:1px solid #ffffff38;padding-top:9px;color:#e5f2fa}.count-label{font-size:10px;font-weight:750;letter-spacing:.8px}.count-values{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.count-values>span{display:flex;align-items:baseline;gap:4px}.count-values b{font-size:20px;color:#f2d38c;line-height:1}.count-values small{font-size:9px;letter-spacing:.4px}.count-values i{font-style:normal;color:#b4cfe0}.report-actions{margin-top:14px}.report-preview{margin-top:16px;min-width:0}.report-controls .fields{align-items:end}.report-controls p{margin-bottom:3px}.subnav{flex-wrap:wrap}.subnav button{min-width:0}
@media(max-width:700px){.event-countdown{gap:6px;flex-direction:column;padding-top:7px}.count-values b{font-size:18px}.count-values{gap:6px}.count-label{font-size:9px}.access button{min-height:30px}header{padding-top:48px!important}.report-controls .fields{grid-template-columns:1fr}.report-actions button{flex:1 1 auto;font-size:12px}}



.header-controls{position:absolute;top:10px;right:max(12px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:6px}.header-controls .access{position:static}@media(max-width:700px){.header-controls{top:8px;right:10px}}
@media(min-width:651px){.subnav{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:650px){.subnav>button:last-child:nth-child(5){grid-column:1/-1}}

/* The mobile banner uses a two-column grid: the countdown must span both. */
.event-countdown{grid-column:1/-1;width:100%;overflow-wrap:normal}.count-values{flex-shrink:0;white-space:nowrap}.count-values>span{flex-shrink:0;white-space:nowrap}.count-values b,.count-values small{white-space:nowrap}.count-label{text-align:center;overflow-wrap:normal}@media(max-width:350px){.count-values{gap:4px}.count-values b{font-size:17px}.count-values small{font-size:8px}.count-values>span{gap:3px}}

/* V025 category report styles */
.seven-report .report-male h3{background:#d6e8f4;border-left-color:#287a9b;color:#214e70}.seven-report .report-female h3{background:#e9d9ef;border-left-color:#805990;color:#674475}.seven-report .report-female th{background:#674475;color:#fff}.seven-report .report-female tbody tr:nth-child(odd) td,.seven-report .report-female .report-score,.seven-report .report-female .report-empty{background:#f5edf6}.seven-report .report-female .report-score strong{color:#674475}.seven-report .report-male th{background:#214e70;color:#fff}.seven-report .report-male tbody tr:nth-child(odd) td{background:#edf5fa}

/* V026: compact, touch-friendly and narrow-screen layout. */
@media screen {main, .card, .formbody, .editorpanel, .championship-panel, .gendergroup, .statgroup, .report-controls {min-width:0} input,select,textarea{max-width:100%} button{max-width:100%} .header-controls .access button{min-height:44px} .tablewrap{max-width:100%;-webkit-overflow-scrolling:touch} dialog{max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto} .teamtile,.teamline,.matchline{min-width:0;overflow-wrap:anywhere} .count-values{max-width:100%} }
@media screen and (max-width:700px){header{padding-top:56px!important}.header-controls{top:7px;right:10px}nav button,.subnav button{min-height:44px}input,select,textarea{font-size:16px} .heading{gap:8px;margin-bottom:14px} .card{max-width:100%} .row>input,.row>select{min-width:0} .report-actions button{min-height:44px} .crest-choice{min-width:0} .teamtile{min-height:44px} .filterbar button{min-height:40px} }
@media screen and (max-width:350px){.count-values{gap:3px}.count-values>span{gap:2px}.count-values b{font-size:16px}.count-values small{font-size:8px}main{padding-inline:8px}.card{padding:10px}nav button{padding-inline:5px}}
/* A short landscape viewport must not be consumed by sticky navigation. */
@media screen and (max-height:450px) and (orientation:landscape){nav{position:static}header{padding-bottom:12px}dialog{max-height:85dvh}}

.team-mark{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;max-width:100%;overflow-wrap:anywhere}.team-mark .emblem{width:24px;height:27px;flex:0 0 24px;display:inline-grid;place-items:center;position:relative;color:#244d6c}.team-mark .emblem svg{width:24px;height:27px;position:static}.team-mark .emblem-initials{position:absolute;font-size:8px}.seven-report .team-mark .emblem{color:hsl(var(--h,205) 55% 35%)}

.emblem.crest-shield,.emblem.crest-round,.emblem.crest-diamond,.emblem.crest-classic{background:transparent;clip-path:none}.emblem.crest-diamond svg,.emblem.crest-classic svg{max-width:100%;max-height:100%}.seven-report .team-mark .emblem{background:transparent;clip-path:none}.team-mark .emblem svg{display:block}.team-mark .emblem .emblem-initials{color:#fff}

/* V029: edición directa y adaptable del padrón */
.editable-roster li{display:grid;grid-template-columns:2em minmax(0,1fr) auto;align-items:center;gap:6px}.editable-roster .roster-number{font-size:12px;color:#526579}.person-name-edit{width:100%;min-width:0;box-sizing:border-box;font-size:16px!important;padding:9px 8px!important}.coachname{display:flex;gap:8px;align-items:center}.coachname input{flex:1;min-width:0}.editable-roster button{min-height:44px;padding:6px 9px}@media(max-width:360px){.editable-roster li{grid-template-columns:1.4em minmax(0,1fr) auto;gap:4px}.editable-roster button{padding:5px 6px;font-size:12px}}

#rosterDialog .import-resolution{width:100%;max-width:100%;min-width:0;font-size:14px;margin:5px 0 8px}#rosterDialog .preview-list{max-height:360px}#rosterDialog #re{color:#a52828;overflow-wrap:anywhere}

/* Torneos y zonas */
.competition-editor,.competition-picker,.competition-list,.competition-table{min-width:0;margin:0 0 14px}
.competition-editor .subnav{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}
.competition-zones{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:12px;margin:12px 0}
.competition-zone{min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;margin:0}
.competition-zone legend{font-weight:700;color:var(--blue);padding:0 6px}
.competition-zone h4{margin:12px 0 4px}
.competition-reference,.competition-entry{padding:7px 0;border-top:1px solid var(--line);gap:8px}
.competition-reference span,.competition-entry strong{overflow-wrap:anywhere}
.competition-reference button{padding:4px 8px}
.competition-entry p{margin:3px 0}
.competition-table{border:1px solid var(--line);border-radius:12px;background:#f5fafd;padding:10px}
.competition-table h4{margin:0 0 6px}
.competition-table p{margin:8px 0 0}
.competition-table .tablewrap{padding:0;max-width:100%;overflow-x:auto}
.competition-table table{min-width:560px}
.cup-icon,.cup-mark{display:inline-flex;align-items:center;gap:4px}
.cup-mark{white-space:nowrap;border:1px solid currentColor;border-radius:999px;padding:2px 7px;font-size:12px;font-weight:700}
.cup-icon svg,.cup-mark svg{width:16px;height:16px}
.cup-mark.gold{background:#fff3d1;color:#785406}.cup-icon.gold{color:#926701}
.cup-mark.silver{background:#e9eef5;color:#35465b}.cup-icon.silver{color:#4d627a}
@media(max-width:460px){.competition-editor .subnav{grid-template-columns:repeat(2,minmax(0,1fr))}.competition-table{padding:7px}}
/* V036: consulta publica por fases y zonas */
.public-phase{min-width:0;border:1px solid #cddce8;border-radius:14px;background:#fff;margin:0 0 16px;overflow:hidden}.public-phase>h2{display:flex;align-items:center;gap:8px;margin:0;padding:12px 15px;background:#dbe9f4;color:#173e60;font-size:18px}.public-phase.gold>h2{background:#f5e6bd;color:#74531a}.public-phase.silver>h2{background:#e5e8ec;color:#485565}.public-phase.unlinked>h2{background:#f1eee7;color:#645840}.public-categories{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px}.public-category{min-width:0;border:1px solid var(--line);border-radius:10px;padding:9px}.public-category .stathead{margin:0 0 10px}.public-tournament h4{margin:9px 0;font-size:14px;overflow-wrap:anywhere}.public-zone{border:1px solid var(--line);border-radius:9px;margin:7px 0;min-width:0;overflow:hidden}.public-zone-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;gap:10px;min-height:52px;background:#f1f6fa;border:0;border-radius:0;padding:10px 12px;color:var(--ink)}.public-zone-toggle>span:first-child{min-width:0;overflow-wrap:anywhere}.public-zone-toggle small{display:block;color:var(--mut);font-size:12px;margin-top:4px}.public-zone-toggle[aria-expanded=true]{background:#dceaf5}.public-zone-body{padding:8px;min-width:0}.public-status{display:flex;flex-wrap:wrap;gap:6px}.public-status button{flex:1 1 90px;min-height:42px}.public-phase-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.public-phase-selector button{min-width:0;min-height:48px;padding:8px;white-space:normal}.public-phase-selector .gold{background:#f5e6bd;color:#74531a}.public-phase-selector .silver{background:#e5e8ec;color:#485565}.public-phase-selector button.active{outline:2px solid #215d98;outline-offset:-2px;font-weight:800}.public-phase-selector .general.active{background:#215d98;color:white}.public-phase.unlinked{padding-bottom:10px}.public-phase.unlinked>.public-category,.public-phase.unlinked>p{margin:10px}.public-category .competition-table{max-width:100%;overflow:hidden}.public-category .competition-table .row{flex-wrap:wrap}.public-category .competition-table .tablewrap{overflow-x:auto}.public-category .fixture-row{max-width:100%}@media(max-width:460px){.public-categories{padding:6px}.public-category{padding:6px}.public-zone-body{padding:4px}.public-phase>h2{font-size:16px;padding:10px}.public-phase-selector{gap:4px}.public-phase-selector button{font-size:12px;padding:6px}.public-status button{flex-basis:40%}}

.tournament-toolbar39{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.tournament-toolbar39 h3{margin:0}.tournament-actions39{display:flex;gap:8px;flex-wrap:wrap;min-width:0}.tournament-actions39 button{max-width:100%;white-space:normal}@media(max-width:600px){.tournament-actions39{width:100%;display:grid;grid-template-columns:1fr}.tournament-actions39 button{width:100%}}

/* V040 */
.fixture-score{font-weight:900;font-variant-numeric:tabular-nums}.zone-badge40{display:inline-flex;align-items:center;background:#d6e6f3;color:#17466a;border-radius:12px;padding:2px 7px;font-size:11px;font-weight:800;white-space:normal}.fixture-tags{flex-wrap:wrap;justify-content:flex-end}.fixture-meta{flex-wrap:wrap;gap:3px}.cup-legend40{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;font-size:12px}.cup-mark.bronze{background:#f2dfd1;color:#854623}.cup-mark.milk{background:#f0f3f5;color:#425463}.adminscore{font-weight:900;font-size:1.3em}

/* V041: same compact row, no grouping by status or zone. */
.flat-phase41{padding:10px;min-width:0}.phase-count41{margin-left:auto;font-size:12px;opacity:.8}.flat-fixture41{background:#eaf2f8;border:1px solid #c5d9e8;gap:0}.flat-fixture41 .fixture-row{background:#eaf2f8;border:1px solid #c5d9e8;border-radius:10px;min-width:0}.flat-fixture41 .fixture-row:last-child{border-bottom:1px solid #c5d9e8}.flat-fixture41 .fixture-row:hover,.flat-fixture41 .fixture-row:focus-visible{background:#dceaf5}.flat-fixture41 .fixture-meta .pill{font-weight:700}.cup-results41{margin-top:16px!important}.cup-table41 .tablewrap{margin-top:10px}.cup-table41 .flat-fixture41{margin-top:8px}@media(max-width:460px){.flat-phase41{padding:5px}}

/* V042 mobile */
@media(max-width:600px){main, #view,.card,.public-category,.public-tournament,.competition-table,.competition-editor,.fixture-list,.fields,.row,.subnav{min-width:0;max-width:100%;box-sizing:border-box}.row{flex-wrap:wrap}.row>*{min-width:0;max-width:100%}.fields{grid-template-columns:minmax(0,1fr)}.public-phase-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.public-phase-selector button,.subnav button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.tablewrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.competition-table table{min-width:620px}.competition-table th,.competition-table td{padding:7px 5px}.competition-table .standing-team{min-width:120px}.cup-legend40{gap:5px}.cup-legend40>span{white-space:normal}.fixture-meta,.fixture-tags{flex-wrap:wrap}.fixture-row{max-width:100%;min-width:0}.competition-editor input,.competition-editor select,dialog input,dialog select{max-width:100%;width:100%;min-width:0;font-size:16px;box-sizing:border-box}dialog{width:min(520px,calc(100vw - 20px));max-height:90dvh;overflow:auto} .storagepanel .row>*{flex:1 1 100%;white-space:normal}.competition-entry,.competition-zones{min-width:0;max-width:100%}button{overflow-wrap:anywhere}.team-mark{white-space:normal}.flat-phase41{padding:4px}}
