*{box-sizing:border-box}html{color-scheme:light}:root{--bg:#f4f6f3;--paper:#fff;--ink:#182822;--muted:#606d65;--green:#236348;--lime:#bbef74;--line:#dce3dc;--dark:#112e26;--display:"Barlow Condensed","Arial Narrow",Impact,sans-serif}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 Barlow,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:wait}button,a,select,input,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #39975e}h1,h2,h3,p{margin:0}button{border:0}svg{flex-shrink:0;vertical-align:middle}#sidebar{width:222px;position:fixed;inset:0 auto 0 0;background:var(--dark);color:#e8f3eb;z-index:12;display:flex;flex-direction:column;padding:34px 18px 20px}.brand{display:flex;align-items:center;gap:11px;margin:0 8px 47px;font:700 27px/.85 var(--display);letter-spacing:.15px;text-transform:uppercase}.brand b{display:block;color:var(--lime);font:inherit;letter-spacing:1.4px;margin-top:4px}.brandmark{width:47px;height:51px;border:1px solid #608365;border-radius:11px;display:grid;place-items:center;background:#173e31;transform:skew(-5deg)}.brandmark img{width:43px;transform:skew(5deg)}.navlabel{font-size:12px;letter-spacing:1.7px;font-weight:700;color:#a5b9aa;padding-left:13px;margin-bottom:13px}.navlabel.second{margin-top:32px;padding-top:24px;border-top:1px solid #314b40}nav{display:grid;gap:5px}nav a{display:flex;gap:13px;align-items:center;padding:12px 14px;border-radius:7px;font-weight:600;color:#cfdbd2}nav a:hover{background:#1e4236}nav a.active{background:var(--lime);color:#183422}nav a.active svg{stroke-width:2}.sidefoot{margin-top:auto;padding:16px 5px 0;border-top:1px solid #314b40;display:flex;align-items:center;gap:11px;color:#cee0d1;font-size:14px;font-weight:600}.sidefoot svg{color:var(--lime)}.sidefoot small,.adminlist small,.managecards small,.roster small{display:block;color:var(--muted);font-size:14px;font-weight:400}.sidefoot small{color:#a5b9aa}.shell{margin-left:222px}#top{height:70px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(18px,3vw,54px);display:flex;align-items:center;justify-content:space-between;gap:12px}.crumb,.topright,.account,.season,.kicker,.hero-foot span,.textlink,.secondary,.primary,.danger,.teamcell,.actions,.icon,.choose,.modalfoot{display:flex;align-items:center}.crumb{gap:12px;font-size:14px;color:#6b766f}.crumb>svg{color:#416653}.crumb i{font-style:normal;color:#a4aea8}.crumb b{color:#27382c}.topright{gap:16px}.demo-tag{padding:3px 9px;border:1px dashed #bfcabe;color:#5b6b5c;border-radius:4px;font-size:12px;font-weight:600}.account,.primary,.secondary,.danger,.icon{justify-content:center;gap:8px;font-weight:600}.account{border:1px solid var(--line);border-radius:7px;padding:7px 12px;font-size:14px;background:#fafcf9}.account:hover,.secondary:hover,.icon:hover{background:#eff5ef}main{max-width:1550px;margin:auto;padding:32px clamp(18px,3vw,54px) 54px}.page-title{margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}h1,h2,h3{line-height:1.05;color:var(--ink)}h1{font:700 clamp(39px,3.5vw,57px)/1 var(--display);letter-spacing:-.6px}.page-title p{color:var(--muted);margin-top:8px}.season{gap:8px;padding:7px 10px;background:white;border:1px solid var(--line);border-radius:7px;color:#365342;font-size:14px}.season select{background-color:transparent;border:0;padding-left:0;color:inherit;font-weight:600;font-size:14px}select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23445d4d' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 7px center;background-size:15px;padding-right:28px!important}.dashboard{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:20px}.col{display:flex;flex-direction:column;gap:20px;min-width:0}.panel,.teamcard{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden}.panelhead{padding:19px 21px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px}.panelhead>svg{color:var(--green)}h2{font:700 28px/1.05 var(--display);letter-spacing:-.25px}.textlink{display:inline-flex;color:var(--green);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#adbfad}.textlink:hover{text-decoration-color:currentColor}.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:292px;border-radius:13px;background:#102c24;color:#f5faed}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(8,33,24,.9) 4%,rgba(7,32,24,.52) 54%,rgba(10,30,17,.6)),linear-gradient(0deg,rgba(3,18,11,.7),transparent 58%),url('/pitch.jpg') center 46%/cover;z-index:-1}.hero-cap{display:flex;align-items:center;justify-content:space-between;padding:21px 24px}.kicker{gap:8px;color:#d8efc2;font-size:12px;font-weight:700;letter-spacing:1.65px}.kicker i{display:inline-block;width:15px;height:3px;background:#c6ee77;transform:skewX(-24deg)}.round{border:1px solid #8a9a8277;border-radius:5px;color:#e2edda;padding:2px 9px;font-size:13px;font-weight:600}.scoreboard{padding:0 18px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;text-align:center;gap:9px}.hero-team{min-width:0;display:flex;flex-direction:column;gap:8px;align-items:center}.hero-team strong{font:700 clamp(22px,2.5vw,36px)/1.08 var(--display);overflow-wrap:anywhere}.hero-team .crest{filter:drop-shadow(0 5px 8px #0007)}.hero-score{display:flex;flex-direction:column;align-items:center}.hero-score small{color:#d8f3bc;font-size:11px;letter-spacing:1.35px;font-weight:700;background:#26432fe6;border:1px solid #6d8c566b;padding:3px 7px;border-radius:4px}.hero-score strong{white-space:nowrap;font:700 clamp(54px,5.4vw,82px)/1.1 var(--display);font-variant-numeric:tabular-nums;letter-spacing:1px}.hero-score i{font-style:normal;color:#aabc9f;margin:0 9px;font-size:.75em;vertical-align:6%}.hero-foot{margin:0 23px;display:flex;flex-wrap:wrap;gap:18px;align-items:center;border-top:1px solid #9fb49a44;padding:14px 0;color:#e5ece3;font-size:13px;font-weight:600}.hero-foot span{gap:7px}.hero-foot svg{color:#b6c6a9}.hero-empty{padding:22px 24px 45px}.hero-empty h2{font-size:40px;color:white}.hero-empty p{margin-top:8px}.minticon{display:inline-grid;place-items:center;width:32px;height:32px;flex-shrink:0;background:#eaf2e6;color:#38623e;border-radius:7px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:center;font-variant-numeric:tabular-nums}th{font-size:13px;color:#617064;background:#f2f5f1;text-transform:uppercase;letter-spacing:.6px;padding:8px 6px;text-align:center}th:nth-child(2),td:nth-child(2){text-align:left}.compact th,.compact td{padding-left:5px;padding-right:5px}.compact td{height:39px}.compact th:first-child{width:38px}.compact th:last-child{width:58px}td{border-bottom:1px solid #e7ece5;font-size:15px;padding:5px 8px}.full td{height:55px}.teamcell{gap:8px;font-weight:600;color:#21392b}.teamcell:hover{text-decoration:underline}.rank{font-size:14px;color:var(--muted)}.rank.leader{color:var(--green);font-weight:700}.compact tbody tr:first-child,.full tbody tr:first-child{background:#f3f8ee}.cardbottom{padding:11px 19px}.metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.metrics>div{display:grid;grid-template-columns:1fr auto;align-items:start;padding:16px 18px;border-bottom:1px solid var(--line)}.metrics>div:nth-child(odd){border-right:1px solid var(--line)}.metrics>div:nth-last-child(-n+2){border-bottom:0}.metrics svg{grid-column:2;grid-row:1;color:#739477}.metrics b{grid-row:1;grid-column:1;color:#24583a;font:700 34px/1 var(--display)}.metrics span{grid-column:1/3;margin-top:4px;font-size:14px;color:var(--muted)}.filterbar{padding:0 20px 14px}.tabs,.admintabs{display:inline-flex;gap:3px;border:1px solid #dce3da;border-radius:6px;background:#f2f5f0;padding:3px}.tabs button,.admintabs button{background:transparent;border-radius:4px;color:#536357;font-size:14px;font-weight:600;padding:4px 10px}.tabs .on,.admintabs .on{background:white;color:#1b5431;box-shadow:0 1px 3px #17351e2b}.games{border-top:1px solid var(--line)}.game{display:grid;grid-template-columns:40px minmax(0,1fr) 36px;width:100%;align-items:center;text-align:left;gap:8px;padding:14px 17px;background:#fff;border-bottom:1px solid #e3eae1}.game:last-child{border-bottom:0}.game:hover,.teamcard:hover{background:#f5f9f2}.day{display:grid;text-align:center;width:36px;background:#f1f5ef;border:1px solid #e1e8de;border-radius:5px;padding:3px 0;color:#354d38}.day b{font-size:17px;line-height:1.1}.day small{font-size:11px;text-transform:uppercase;line-height:1.2;letter-spacing:.5px}.pair{display:grid;align-items:center;grid-template-columns:minmax(0,1fr) 49px minmax(0,1fr);gap:10px}.side{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600;overflow-wrap:anywhere;line-height:1.15}.home-side{justify-content:flex-end;text-align:right}.score{text-align:center;font-size:15px;line-height:1.4;background:#e9f1e5;color:#264a31;border-radius:5px;padding:2px 2px;white-space:nowrap}.score.upcoming{color:#52665a;background:#f0f2ef;font-weight:600}.matchend{color:#6a776c;text-align:right;font-size:13px;white-space:nowrap}.note,.loading,.empty{color:var(--muted)}.note{font-size:14px;margin-top:13px}.loading{padding:40px}.empty{text-align:center;padding:32px 20px}.empty svg{color:#92a88e}.empty p{margin:8px auto 0;max-width:480px}.teamgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px}.teamcard{display:flex;align-items:center;padding:22px;gap:14px}.teamcard small{color:var(--muted);font-size:14px}.profile-head{border-radius:13px;padding:27px 30px;margin-bottom:20px;display:flex;align-items:center;gap:20px;background:#193a2d;color:#dce8da}.profile-head h1{color:white;margin:3px 0 6px}.profile-head p{color:var(--lime);font-size:12px;font-weight:700;letter-spacing:1.4px}.prose{padding:0 20px 20px;white-space:pre-line;overflow-wrap:anywhere}.ribbon{border-top:1px solid var(--line);display:flex}.ribbon>div{flex:1;padding:12px;text-align:center;color:var(--muted);font-size:14px}.ribbon b{display:block;color:var(--green);font:700 29px var(--display)}.roster{padding:0 18px 14px}.roster>div{display:flex;gap:12px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}.roster b{width:28px;text-align:center;background:#edf4e7;border-radius:4px;color:var(--green)}.gallerypanel{margin-top:20px}.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;padding:18px}.photos button{background:#f1f6ef;padding:0 0 9px;border-radius:6px;overflow:hidden;text-align:left}.photos strong{display:block;padding:5px 10px}.photos img,.thumbs img{width:100%;aspect-ratio:4/3;object-fit:cover}.primary,.secondary,.danger,.icon{border-radius:6px;min-height:36px;padding:7px 12px;font-size:14px}.primary{background:var(--green);color:white}.primary:hover{background:#174a34}.secondary,.icon{background:white;border:1px solid var(--line)}.icon{width:35px;padding:6px}.danger{background:#8c3038;color:white}.access{max-width:640px;padding:26px}.access h2{margin:12px 0}.access p{margin:12px 0}.access .textlink,.access .primary{width:fit-content;margin-top:14px}.admintabs{margin-bottom:18px;max-width:100%;flex-wrap:wrap}.adminlist>div,.managecards>button{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:14px 20px}.adminlist>div>span{min-width:0;overflow-wrap:anywhere}.actions{gap:5px}.choose{gap:12px;margin:0 0 12px}.choose select{padding:6px;border:1px solid var(--line);border-radius:5px}.managecards{padding:0 18px 15px}.managecards>button{background:white;width:100%;padding:14px 2px;text-align:left}.managecards>button>span:nth-child(2){flex:1}.thumbs{display:flex;flex-wrap:wrap;padding:14px;gap:10px}.thumbs>div{width:120px;position:relative}.thumbs .icon{position:absolute;top:3px;right:3px}.bigphoto{max-width:100%;max-height:75vh;display:block;margin:auto}.modalhead,.formfoot,.modalfoot{display:flex;align-items:center;justify-content:space-between;gap:12px}.modalhead{padding-bottom:16px}.formfoot,.modalfoot{justify-content:flex-end;margin-top:20px;flex-wrap:wrap}dialog{border:1px solid var(--line);color:var(--ink);border-radius:13px;width:min(530px,94vw);padding:21px;max-height:90dvh;box-shadow:0 15px 70px #071a1945}dialog::backdrop{background:#0b211bd1}.field{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600;margin-bottom:13px}.field input,.field textarea,.field select,.playerrow input,.playerrow select{width:100%;min-width:0;border:1px solid #bac9bc;border-radius:5px;font-size:16px;padding:8px;color:var(--ink)}.field textarea{resize:vertical}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formerror{color:#9d3030;margin:7px 0;font-size:14px}.playerrow{display:grid;grid-template-columns:50px 1fr 1fr 32px;gap:5px;margin-bottom:8px}#toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%,20px);background:#153c2c;color:white;padding:8px 18px;border-radius:6px;z-index:30;opacity:0;pointer-events:none;transition:.16s}#toast.visible{opacity:1;transform:translate(-50%,0)}.mobiletoggle{display:none;background:none}.skip{position:fixed;top:-100px;left:10px;z-index:50;background:#fff;padding:8px}.skip:focus{top:0}[hidden]{display:none!important}
@media(min-width:1550px){.hero{min-height:335px}.scoreboard{padding:12px 34px 26px}.hero-team .crest{width:72px;height:80px}.game{padding:15px 22px}.compact td{height:44px}}
@media(max-width:1120px){#sidebar{width:195px;padding-inline:13px}.shell{margin-left:195px}main{padding-inline:23px}.dashboard{grid-template-columns:minmax(0,1.55fr) minmax(238px,1fr);gap:14px}.col{gap:14px}.game{grid-template-columns:33px minmax(0,1fr);gap:4px;padding:12px 9px}.matchend{display:none}.pair{gap:5px}.panelhead{padding:17px 15px 14px}.hero-cap{padding:18px}.hero-foot{margin-inline:17px}.side{font-size:14px;gap:4px}.hero-team .crest{width:51px;height:59px}.metrics>div{padding:15px 13px}}
@media(max-width:890px){#sidebar{width:179px}.shell{margin-left:179px}.dashboard{grid-template-columns:minmax(0,1.5fr) minmax(212px,1fr)}.brand{margin-left:3px}nav a{padding:10px;font-size:15px;gap:9px}main{padding:23px 16px}#top{padding-inline:18px}.hero-cap{padding:15px}.scoreboard{padding:3px 8px 17px;gap:3px}.hero-score i{margin-inline:5px}.hero-team strong{font-size:24px}.game .side svg{display:none}.panelhead h2{font-size:24px}.compact td{font-size:14px}.cardbottom{padding:10px 14px}}
@media(max-width:760px){#sidebar{transform:translateX(-103%);transition:transform .15s ease;width:215px;box-shadow:5px 0 20px #122a201c}.menu-open #sidebar{transform:translateX(0)}.menu-open .shell:after{content:"";position:fixed;inset:0;background:#10251e55;z-index:11}.shell{margin:0}.mobiletoggle{display:grid;place-items:center;padding:5px}.mobiletoggle svg{width:21px;height:21px}#top{height:55px}.crumb{gap:8px}.crumb>svg{display:none}.topright{gap:8px}.dashboard{grid-template-columns:minmax(0,1.55fr) minmax(210px,1fr)}.page-title{margin-bottom:18px}.hero{min-height:254px}}
@media(max-width:610px){.dashboard{display:flex;flex-direction:column;gap:14px}.dashboard>.col{display:contents}.dashboard .hero{order:0}.dashboard .standings{order:2}.dashboard .stats{order:3}.dashboard .panel:not(.stats):not(.standings){order:1}.page-title{align-items:flex-start;gap:6px}.page-title p{font-size:14px;max-width:270px}.page-title h1{font-size:39px}.season{padding:4px 6px;gap:5px;flex-shrink:0;margin-top:4px}.season select{font-size:13px;padding-right:20px!important;background-position:right center}.hero{min-height:246px}.scoreboard{padding:0 9px 11px}.hero-score strong{font-size:58px}.hero-team .crest{width:50px;height:56px}.hero-team strong{font-size:25px}.hero-foot{font-size:12px;padding:10px 0}.hero-cap{padding:15px 17px}.game .side svg{display:inline}.game{padding:12px 10px}.game .side{font-size:14px}.pair{grid-template-columns:minmax(0,1fr) 45px minmax(0,1fr)}.panelhead{padding:16px}.sidefoot{padding-bottom:12px}.full{min-width:555px}.modalfoot{justify-content:flex-start}.adminlist>div{align-items:flex-start;flex-wrap:wrap}.adminlist small{word-break:break-word}.profile-head{padding:20px;gap:12px}.formgrid{gap:7px}.playerrow{grid-template-columns:48px 1fr 31px}.playerrow select{grid-column:2;grid-row:2}.playerrow button{grid-column:3;grid-row:1}.demo-tag{font-size:11px}.account{padding:5px 7px}.hero-score small{font-size:10px}.panelhead .primary{font-size:13px;padding:6px 8px}.tabs button{min-height:31px}.thumbs>div{width:100px}.brand{margin-bottom:28px}}
.fixture-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 18px}.fixture-select{display:grid;gap:4px;font-size:14px;color:var(--muted);font-weight:600}.fixture-select select{min-height:36px;max-width:100%;border:1px solid var(--line);border-radius:6px;padding:5px 12px;color:var(--ink)}.fixture-round{margin-bottom:16px}.fixture-round .panelhead>span{font-size:14px;color:var(--muted)}.fixture-round .game{min-height:54px}
@media(max-width:610px){.fixture-tools{gap:8px}.fixture-tools .tabs{width:100%;justify-content:space-between}.fixture-select{flex:1;min-width:0}.fixture-round .game{min-height:52px}}
.fixture-edit-row{display:flex;align-items:center;gap:10px;padding-right:14px;border-bottom:1px solid var(--line)}.fixture-edit-row:last-child{border-bottom:0}.fixture-edit-row .game{flex:1;min-width:0;border:0}.fixture-edit-row>.secondary{flex:none}.kickoff-teams{margin:0 0 15px;color:var(--muted)}.adminlist .actions{flex-wrap:wrap}
@media(max-width:610px){.fixture-edit-row{display:grid;gap:0;padding:0 0 8px}.fixture-edit-row>.secondary{justify-self:end;margin-right:10px}.fixture-edit-row .game{width:100%}}

/* League identity and management workspaces */
.brand{gap:9px;margin-inline:2px}.brand .brandmark{width:39px;height:46px;flex-shrink:0;border:0;background:none;transform:none}.brandmark img{width:39px;height:43px;transform:none}.brand .league-wordmark{font:700 23px/.96 var(--display);letter-spacing:.1px;white-space:nowrap}.brand .league-wordmark b{font:600 13px/1.2 Barlow,Arial,sans-serif;letter-spacing:.7px;text-transform:none;margin-top:5px}.clubdesk{--desk-accent:#c4ed84}.deskhead{border-radius:14px;background:linear-gradient(99deg,#0d3029 8%,#173b2fe8 55%,#16332699),url('/pitch.jpg') center 48%/cover;color:#eff7ee;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:clamp(22px,3vw,38px);margin-bottom:17px;min-height:132px}.desk-identity{display:flex;align-items:center;gap:18px;min-width:0}.desk-identity>img{object-fit:contain}.desk-identity p{font-size:14px;font-weight:600;color:var(--desk-accent);margin-bottom:5px}.desk-identity h1{color:#fff;font-size:clamp(37px,3.8vw,55px)}.desk-identity span{display:block;margin-top:6px;color:#d6e3d7;font-size:14px;overflow-wrap:anywhere}.deskhead .actions{flex-wrap:wrap}.deskhead .secondary{background:#12372ce8;border-color:#adc2a96b;color:#f1f5eb}.deskhead .secondary:hover{background:#335b44}
.desk-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#fff;margin-bottom:19px}.desk-metrics>div{padding:13px 17px;display:grid;grid-template-columns:auto 1fr;gap:1px 12px;align-items:center}.desk-metrics>div+div{border-left:1px solid var(--line)}.desk-metrics svg{grid-row:span 2;color:#517452}.desk-metrics b{font:700 29px/1.1 var(--display);color:#204831}.desk-metrics span,.club-tile header span,.portfolio-banner span,.desk-round summary span,.desk-when,.portfolio-action small,.desk-empty{font-size:14px;color:var(--muted)}
.desk-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 16px;border-bottom:1px solid #cbd8cc}.desk-tabs a{display:flex;align-items:center;gap:8px;color:#46604f;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;padding:10px 16px}.desk-tabs a:hover{background:#e9f0e5}.desk-tabs a[aria-current]{background:#e4eddd;color:#1a5137;border-bottom-color:#2f6844}
.desk-section>.fixture-tools{padding:0 18px;margin-bottom:15px}.desk-section .panelhead{min-height:62px}.club-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:12px;padding:0 18px 18px}.club-tile{border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0;display:flex;flex-direction:column;background:#fff}.club-tile header{display:flex;align-items:center;gap:12px;padding:16px;background:linear-gradient(125deg,#f0f5ed,#f8faf7);border-bottom:1px solid #e4eae0}.club-tile h3{font:700 26px/1.05 var(--display);overflow-wrap:anywhere;margin-bottom:4px}.club-contact{display:flex;gap:9px;align-items:flex-start;padding:13px 15px;flex:1;font-size:14px;color:#344c3b;overflow-wrap:anywhere}.club-contact svg{color:#6d856d;margin-top:2px}.club-contact small{display:block;color:#617265;font-size:13px}.club-tile footer{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:0 12px 12px}
.desk-round{border-top:1px solid var(--line)}.desk-round summary{cursor:pointer;display:flex;gap:12px;align-items:center;padding:13px 18px;background:#f0f5ed;color:#234a34;list-style:none}.desk-round summary::-webkit-details-marker{display:none}.desk-round summary:after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid #507459;border-bottom:2px solid #507459;transform:rotate(45deg)}.desk-round[open] summary:after{transform:rotate(225deg)}.desk-round summary strong{font:700 22px var(--display)}.desk-fixture{padding:14px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 16px;border-top:1px solid #e4ece1}.desk-gamepair{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0;font-weight:600}.desk-gamepair>span{display:inline-flex;align-items:center;gap:6px;overflow-wrap:anywhere}.desk-gamepair .score{padding:2px 8px;font-size:13px}.desk-when{display:flex;align-items:center;gap:6px}.desk-fixture>.actions{grid-column:2;grid-row:1/3;flex-wrap:wrap;justify-content:flex-end}.desk-empty-action{padding:0 18px 18px}.desk-empty{padding:0 18px 20px}
.portfolio-banner{display:flex;align-items:center;gap:15px;padding:20px;background:#e9f1e2;border:1px solid #d1dfcb;border-radius:10px}.portfolio-banner .textlink{margin-left:auto}.portfolio-banner h2{font-size:32px}.portfolio-actions,.cabinet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.portfolio-actions{margin:14px 0}.portfolio-action{display:grid;gap:7px;justify-items:start;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px}.portfolio-action:hover{border-color:#87a787}.portfolio-action strong{font-size:17px}.portfolio-content{display:grid;grid-template-columns:1fr 1fr;gap:14px}.desk-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:9px;padding:0 15px 15px}.desk-photos figure{margin:0;position:relative;min-width:0}.desk-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:5px}.desk-photos figcaption{font-size:13px;overflow-wrap:anywhere}.desk-photos button{position:absolute;top:3px;right:3px}.cabinet-grid{align-items:start}.cabinet-card{padding:19px;min-width:0}.cabinet-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px}.cabinet-heading h2{font-size:26px}.cabinet-card p{color:var(--muted);margin-bottom:14px}.cabinet-card .primary,.cabinet-card a.secondary{width:fit-content}.cabinet-shortcut{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:11px 1px;color:var(--green);font-weight:600}.cabinet-shortcut:hover{text-decoration:underline}.clubdesk .desk-round summary:focus-visible{outline:3px solid #39975e;outline-offset:-3px}dialog .modalhead{border-bottom:1px solid var(--line);margin-bottom:16px}
@media(max-width:1060px){.desk-fixture>.actions{grid-column:1/-1;grid-row:auto;justify-content:flex-start}.desk-fixture{grid-template-columns:1fr}.cabinet-grid{grid-template-columns:1fr 1fr}.brand .league-wordmark{font-size:21px}}
@media(max-width:760px){.deskhead{align-items:flex-start;flex-wrap:wrap}.desk-metrics>div{padding:11px;gap:1px 6px}.desk-tabs a{padding:9px 10px}.brand .league-wordmark{font-size:23px}.desk-tabs{display:flex}}
@media(max-width:610px){.brand .league-wordmark{font-size:23px}.crumb .crumb-league{display:none}.crumb .crumb-league+i{display:none}.deskhead{padding:18px;gap:12px}.desk-identity{gap:11px}.desk-identity>img{width:44px}.desk-metrics>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px}.desk-metrics svg{display:none}.desk-metrics span{font-size:13px}.desk-tabs a{font-size:14px;gap:4px;padding:8px 6px}.desk-tabs a svg{width:15px}.club-tiles{padding:0 12px 12px}.portfolio-content,.cabinet-grid{grid-template-columns:1fr}.portfolio-actions{grid-template-columns:1fr}.portfolio-action{grid-template-columns:32px 1fr;align-items:center;gap:1px 10px}.portfolio-action .minticon{grid-row:span 2}.portfolio-banner{flex-wrap:wrap}.portfolio-banner .textlink{margin-left:0}.desk-round summary,.desk-fixture{padding-inline:12px}.cabinet-card{padding:16px}.desk-fixture .secondary{padding:6px 8px}.desk-section>.fixture-tools{padding:0 12px}}
.mobile-install main{max-width:960px;padding-top:28px}.mobile-install .deskhead{margin:18px 0}.install-platforms{display:grid;grid-template-columns:1fr 1fr;gap:16px}.install-platforms h2{margin-bottom:13px}@media(max-width:610px){.install-platforms{grid-template-columns:1fr}}
.crest{object-fit:contain;flex:none;vertical-align:middle}
.club-tile footer{flex-wrap:wrap;justify-content:flex-start}
.club-tile footer .icon{margin-left:auto}
.logo-preview{display:flex;gap:18px;align-items:center;margin-bottom:18px}
.logo-preview h3{font:700 29px/1.1 var(--display);overflow-wrap:anywhere}
.logo-preview span,.logo-hint{color:var(--muted);font-size:14px}
.logo-swatch{width:108px;height:108px;flex:none;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;background:#f3f6f2}
.logo-swatch canvas{max-width:88px;max-height:88px;width:auto;height:auto}
.logo-hint{margin:-6px 0 16px}
.captain-alt{margin-top:16px;color:var(--muted);font-size:14px}
.captain-alt summary{cursor:pointer}
.captain-alt p{margin:8px 0}
.code-revoke{margin-top:14px}
#issued-code{font-family:ui-monospace,monospace;letter-spacing:.06em;font-size:18px;font-weight:700}
#dialog p+.field:has(#issued-code){margin-top:16px}
.telegram-card{max-width:660px;padding:22px}
.telegram-card form{margin:16px 0 8px}
.telegram-card hr{border:0;border-top:1px solid var(--line);margin:20px 0}
.telegram-card h3{font:700 25px/1.2 var(--display)}
#bot-code input{font-family:ui-monospace,monospace;user-select:all}

.ledger-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:16px 0}.ledger-metrics .panel{padding:16px}.ledger-metrics span,#expense-list td small{display:block}.ledger-metrics strong{display:block;font-size:1.25rem;margin-top:6px}#expense-list .desk-section{margin:16px 0}#expense-list td:not(:first-child){font-variant-numeric:tabular-nums}#expense-list .tablewrap{overflow-x:auto}#expense-list th{text-align:left}#expense-list td small{color:var(--muted)}
/* Stadium lighting supplies the background for the translucent surfaces. */
:root {
  --bg:#e4f0ed;
  --ink:#102f31;
  --muted:#415f60;
  --green:#115944;
  --lime:#cdff77;
  --line:rgba(28,81,72,.17);
  --glass:linear-gradient(130deg,rgba(255,255,255,.93),rgba(246,255,252,.78) 52%,rgba(222,244,242,.87));
  --glass-edge:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(139,196,189,.28);
  --glass-shadow:0 12px 34px -18px rgba(15,68,60,.38);
}
body {
  min-height:100vh;
  background:radial-gradient(ellipse at 16% 6%,#afdcd4 0,transparent 35%),
    radial-gradient(ellipse at 97% 5%,#b4d3ee 0,transparent 35%),
    radial-gradient(ellipse at 90% 83%,#c7e7c1 0,transparent 32%),var(--bg);
  background-attachment:fixed;
}
main {padding-top:24px}
#sidebar {
  inset:12px auto 12px 12px;
  width:210px;
  padding:26px 13px 19px;
  border:1px solid #518078;
  border-radius:25px;
  overflow:auto;
  background:radial-gradient(ellipse at 5% 0%,#30645b 0,transparent 40%),
    linear-gradient(155deg,#102f30,#082725 63%,#174337);
  box-shadow:inset 0 1px 0 #b8e4d866,var(--glass-shadow);
}
#sidebar .brand {margin:2px 7px 36px}
#sidebar nav a {min-height:46px;border:1px solid transparent;border-radius:14px;color:#e7f3ef}
#sidebar nav a.active {background:linear-gradient(115deg,#e0ff95,#b4ed76);color:#15392a;border-color:#efffbc;box-shadow:0 3px 15px #a9ed7822}
#sidebar nav a:not(.active):hover {background:#ffffff17}
#top {
  height:66px;
  border:0;
  background:transparent;
}
.account,.season,.tabs,.admintabs,.primary,.secondary,.icon,.desk-tabs,.portfolio-action,.portfolio-banner,.desk-metrics {
  border-radius:14px;
}
.account,.season,.secondary,.icon,.tabs,.admintabs,.desk-tabs {
  border:1px solid rgba(57,108,98,.27);
  background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(224,243,239,.84));
  box-shadow:var(--glass-edge);
}
.account,.primary,.secondary,.icon,.danger,.tabs button,.desk-tabs a,.fixture-select select,.field input,.field select,.season {
  min-height:44px;
}
.account {padding:9px 17px}
.primary,.fixture-link {background:linear-gradient(145deg,#206750,#104635);color:white}
.primary:hover {background:#124c3a}
.game,.game:last-child {background:transparent}
.game:hover,.club-tile header {background:rgba(223,246,232,.82)}
.panel,.teamcard,.fixture-tools,.desk-metrics,.portfolio-action,.portfolio-banner,dialog {
  border:1px solid rgba(87,145,135,.38);
  border-top-color:rgba(255,255,255,.96);
  background:var(--glass);
  box-shadow:var(--glass-edge),var(--glass-shadow);
}
.panel,.teamcard,.portfolio-banner,.desk-metrics,dialog {border-radius:21px}
.fixture-tools {border-radius:18px;padding:13px 16px}
.desk-section>.fixture-tools {margin-inline:16px;padding:12px}
.portfolio-action:hover,.teamcard:hover {background:linear-gradient(120deg,#fff,#dbf6e8);border-color:#87afa5}
.teamcard {position:relative;min-height:100px}
.teamcard .crest {filter:drop-shadow(0 5px 5px #18463824)}
.club-tile {background:#f9fffcbd;border-radius:17px}
.desk-tabs {padding:4px;gap:4px}
.desk-tabs a,.tabs button {border:0;border-radius:10px}
.desk-tabs a[aria-current],.tabs button.on {color:#13322a;background:#d3f4b7;box-shadow:inset 0 1px 0 white,0 2px 5px #24482d21}
.tabs button {min-width:68px;padding-inline:12px}
.panelhead {min-height:62px}
.panelhead h2,.cabinet-heading h2 {letter-spacing:-.035em}
.textlink {min-height:40px;text-decoration-thickness:1px}
.game {min-height:58px}
.score,.day,.minticon {border-radius:10px}
.score {background:#d7eee3;color:#13452f;font-variant-numeric:tabular-nums}
.day,.score.upcoming {background:#e4efec;color:#304d46}
th {background:#daebe6;color:#355246}
td,.game {border-bottom-color:#d2e2dc}
.compact tbody tr:first-child,.full tbody tr:first-child {background:#dcf1d49e}
.teamcell,.league-wordmark,.game .side {font-weight:700}
.compact td {height:43px}
.account:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {outline:3px solid #16866c}
.profile-head,.deskhead {
  border:1px solid #71968f;border-top-color:#c4deda;border-radius:23px;
  background:linear-gradient(100deg,#052b27f5,#0c3735d6 47%,#03242235),url('/stadion-tun.jpg') center 58%/cover;
  box-shadow:inset 0 1px 0 #ffffff4a,var(--glass-shadow);
}
.profile-head h1,.deskhead h1 {color:white}
.formgrid input,.field input,.field textarea,.field select,.fixture-select select,.choose select {
  border-radius:10px;border-color:#9ab8ac;background-color:#fbfffc;color:#193b30;
}
dialog {background:linear-gradient(135deg,#fbfffd,#e3f4ed)}
dialog::backdrop {background:rgba(7,30,29,.66)}

/* Full-width matchday photograph and the floating scoreboard. */
.matchday-masthead {
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(290px,.92fr);
  align-items:end;gap:clamp(16px,3vw,52px);min-height:clamp(345px,30vw,455px);
  padding:clamp(24px,3.1vw,52px);
  margin-bottom:22px;border:1px solid #64837b;border-top-color:#b4d9ca;border-radius:28px;
  color:#f8fff9;background:#102f2b;
  box-shadow:inset 0 1px 0 #ffffff44,0 22px 45px -27px #143d36b5;
}
.matchday-masthead::before {
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(92deg,#031a17cf 0,#06232155 42%,transparent 76%),
    linear-gradient(0deg,#03201c91,transparent 52%),url('/stadion-tun.jpg') center 54%/cover;
}
.masthead-intro {align-self:stretch;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:20px}
.masthead-intro .season,.clubs-link,.matchday-masthead .hero {
  color:#f3fff9;border:1px solid #bcf0df61;border-top-color:#edfff1ae;
  background:linear-gradient(130deg,#c9ffe82b,#103830cf 50%,#244d46c9);
  box-shadow:inset 0 1px 1px #f2fffa63,0 8px 24px #001b203b;
}
.masthead-intro .season {border-radius:24px;padding:4px 12px;min-height:36px}
.masthead-intro .season select {color:white;min-height:27px;background-image:none;padding-right:4px!important;cursor:pointer}
.masthead-intro .season::after {content:"";border:solid #d6f6e0;border-width:0 1.5px 1.5px 0;width:6px;height:6px;transform:rotate(45deg);margin:-3px 3px 0 -5px;pointer-events:none}
.masthead-intro option {color:#17372e;background:#f8fff9}
.masthead-intro h1 {
  margin:0;color:white;font:700 clamp(48px,5.1vw,91px)/.96 var(--display);
  letter-spacing:-.035em;text-shadow:0 2px 16px #00151166;
}
.masthead-intro h1 span {display:block;color:var(--lime)}
.masthead-actions {display:flex;flex-wrap:wrap;gap:9px}
.fixture-link,.clubs-link {display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;min-height:46px;border-radius:15px;font-size:16px;font-weight:700}
.fixture-link {color:#143a2a;background:linear-gradient(160deg,#e3ffab,#b9ee72);border:1px solid #dcff9e;box-shadow:inset 0 1px 0 #f4ffce,0 4px 16px #071d204d}
.fixture-link:hover {background:#ddff9b}
.clubs-link:hover {background:#315b4f}
.matchday-masthead .hero {
  width:100%;max-width:442px;justify-self:end;min-height:0;
  background:linear-gradient(135deg,#173b36ef,#1d433edb 52%,#153932ed);
  border-radius:23px;
}
.matchday-masthead .hero::before {display:none}
.matchday-masthead .hero-cap {padding:15px 19px 12px}
.matchday-masthead .kicker {letter-spacing:.1em;color:#eaffde}
.matchday-masthead .round {border-radius:20px;background:#c9ffb71c;color:#f2ffe8}
.matchday-masthead .scoreboard {padding:6px 12px 16px}
.matchday-masthead .hero-team .crest {width:clamp(42px,4.5vw,72px);height:clamp(42px,4.5vw,72px)}
.matchday-masthead .hero-team strong {font-size:clamp(23px,2.1vw,34px)}
.matchday-masthead .hero-score strong {font:700 clamp(42px,4.25vw,67px)/1.1 var(--display);letter-spacing:-.025em}
.matchday-masthead .hero-score small {font-size:11px;letter-spacing:.035em;background:#14332ce8;color:#e6ffd5}
.matchday-masthead .hero-foot {margin-inline:16px;padding:10px 0;gap:3px 14px;color:#f5fff7}
.masthead-empty {align-self:end;color:white;padding:15px;background:#142e27d9;border-radius:14px}
.home-grid {grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);align-items:start}
.home-grid+.stats {margin-top:20px}
.home-grid+.stats .metrics {grid-template-columns:repeat(4,minmax(0,1fr))}
.home-grid+.stats .metrics>div {border:0;border-left:1px solid var(--line)}
.home-grid+.stats .metrics>div:first-child {border:0}
.home-grid+.stats .metrics b {font-size:38px}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))) {
  #sidebar,.matchday-masthead .hero,.masthead-intro .season,.clubs-link,dialog::backdrop {
    -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  }
  .matchday-masthead .hero {background:linear-gradient(125deg,#c7ffdc35,#1439349c 38%,#0d302bbd)}
  .home-grid>.panel,.teamcard {backdrop-filter:blur(8px)}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .teamcard,.portfolio-action,.masthead-actions a {transition:transform .18s,box-shadow .18s}
  .teamcard:hover,.portfolio-action:hover,.masthead-actions a:hover {transform:translateY(-2px);box-shadow:var(--glass-edge),0 9px 18px #173c3526}
}
@media(max-width:1120px) and (min-width:761px){#sidebar{width:177px;left:8px}.shell{margin-left:186px}#sidebar .brand{margin-inline:0}.brand .league-wordmark{font-size:20px}}
@media(max-width:990px){.matchday-masthead{grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:14px;padding:22px}.masthead-intro h1{font-size:clamp(42px,5vw,60px)}.masthead-actions{gap:6px}.fixture-link,.clubs-link{padding:9px 12px}}
@media(max-width:760px){#sidebar{width:226px;left:0;top:0;bottom:0;border-radius:0 20px 20px 0}#top{height:59px}.account,.mobiletoggle{min-height:44px}.mobiletoggle{min-width:44px}main{padding-top:12px}.hero-foot span{font-size:13px}}
@media(max-width:640px){
  .matchday-masthead {grid-template-columns:minmax(0,1fr);padding:20px;gap:22px;border-radius:23px;min-height:0}
  .matchday-masthead::before {background-position:64% center}
  .masthead-intro {gap:12px}
  .masthead-intro h1 {font-size:clamp(46px,11vw,65px)}
  .matchday-masthead .hero {max-width:none;border-radius:17px}
  .matchday-masthead .hero-cap {padding:12px 14px 8px}
  .matchday-masthead .scoreboard {padding:3px 7px 10px}
  .matchday-masthead .hero-foot {margin-inline:13px}
  .home-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
  .home-grid+.stats .metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-grid+.stats .metrics>div {border-top:1px solid var(--line)}
  .fixture-tools {padding:10px}.field input,.field select,.secondary,.icon,.panelhead .primary,.desk-tabs a,.desk-fixture .secondary {min-height:44px}
  .season {padding-inline:9px}.page-title h1{font-size:clamp(33px,8.5vw,43px)}
}
@media(max-width:370px){.matchday-masthead{padding:14px}.masthead-intro h1{font-size:43px}.matchday-masthead .hero-score small{font-size:10px}.masthead-actions a{font-size:15px}}
@media(prefers-reduced-transparency:reduce){
  .panel,.teamcard,.portfolio-action,.fixture-tools,.desk-metrics,dialog {background:#f4faf6;backdrop-filter:none}
  .matchday-masthead .hero {background:#153e34;backdrop-filter:none}
}
.fixture-actions {display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.fixture-actions button {white-space:nowrap}
.fixture-login {margin-bottom:12px;gap:6px}
.join-card {max-width:620px}
.join-row {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid var(--line)}
.join-row span {overflow-wrap:anywhere}
.join-row small {display:block;color:var(--muted)}
.join-inbox {margin:6px 12px 14px;box-shadow:none}
.team-join {width:fit-content;margin-top:14px}
.report-preview{white-space:pre-line;overflow-wrap:anywhere;margin:1rem;font-size:1rem;line-height:1.55}
.poster-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}
.poster-options button{display:grid;align-content:start;gap:8px;border:1px solid var(--line);border-radius:12px;padding:5px 5px 12px;background:white;color:var(--ink)}
.poster-options img,.poster-large{width:100%;height:auto;border-radius:8px}
.poster-large{display:block;max-width:440px;margin:12px auto}
@media(max-width:480px){.poster-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bot-profile{padding:1rem 0;margin-block:1rem;border-block:1px solid var(--line)}
.bot-profile img{border-radius:50%}
.club-contact button {margin-top:7px}
.home-grid > .standings{align-self:stretch}
@media(max-width:920px){.fixture-edit-row{display:grid;padding:0 0 10px}.fixture-edit-row .game{width:100%}.fixture-actions{padding:0 12px;justify-content:flex-end}}
.fixture-clock{border-top:1px solid #ffffff30;display:grid;gap:.25rem;padding:.7rem 1rem;color:#eff8e9;font-size:.9rem;font-variant-numeric:tabular-nums}
.fixture-clock strong{color:#d6ff95}
.league-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr));gap:1rem;padding:1rem}.gallery-item{border:1px solid #d4e3dc;border-radius:14px;overflow:hidden;background:#f8fcfa}.gallery-image{width:100%;text-align:left;background:transparent;padding:0}.gallery-image img{width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-image strong{display:block;padding:.6rem .8rem}.gallery-actions{display:flex;flex-wrap:wrap;gap:.4rem;padding:.2rem .7rem .7rem}.expense-summary{padding:.6rem 1rem;display:flex;gap:1rem;align-items:center}.expense-summary strong{font-size:1.35rem}.expense-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.expense-note{display:block;color:#436159;white-space:pre-wrap;overflow-wrap:anywhere}#expense-list>.actions{padding:.7rem 1rem}
.report-pair{display:grid;gap:.5rem;padding:1rem;margin:.5rem 0 1rem;background:#edf5ef;border-radius:.85rem}.report-pair p{margin:0}.report-pair input{width:100%;min-width:0;padding:.6rem;border:1px solid #92b5a3;border-radius:.5rem}.report-pair button{justify-self:start}

.fixture-order-note {margin:0 0 16px;padding:14px 18px;border-inline-start:4px solid #267151;border-radius:12px;background:#f2faf1;color:#173b32}
.fixture-order-note strong {font-size:1.05rem}
.fixture-order-note p {margin:.3rem 0 0;line-height:1.5}
