@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
:root{color-scheme:dark;--bg:#100e16;--panel:#191621;--line:#2b2637;--muted:#b1a8bf;--ink:#f8f5ff;--purple:#b695ff;--primary:#7b46e5;--lime:#d6ff69;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button{border:1px solid var(--line);border-radius:9px;background:#231e2f;padding:10px 14px;font-size:.88rem;font-weight:700}button:hover,.card-link:hover{border-color:var(--purple)}.primary{background:var(--primary);border-color:var(--primary);color:white}.lime{background:var(--lime);color:#181b0e;border-color:var(--lime)}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}aside{position:sticky;top:0;height:100vh;background:#15121c;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:25px 16px}.brand{display:flex;align-items:center;gap:10px;padding:0 7px;margin-bottom:46px;font-family:'Barlow Condensed',Impact,sans-serif;font-size:1.55rem;font-weight:800;line-height:1}.mark{display:grid;place-items:center;background:#8051eb;color:white;width:38px;height:38px;border-radius:10px;font:700 1.65rem system-ui}.brand small,.sidebar-foot small{display:block;color:var(--muted);font:600 .65rem Inter,sans-serif;margin-top:5px;letter-spacing:.08em}.accent{color:var(--purple)}nav{display:grid;gap:6px}nav a{padding:12px;border-radius:9px;color:var(--muted);font-size:.91rem;font-weight:600;display:flex;align-items:center;gap:10px}nav a.current{background:#2c2044;color:#e0ccff}nav a:hover{background:#262033}nav i{font-style:normal;width:20px;text-align:center;font-size:1.05rem}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:18px 4px 0;display:flex;gap:10px;align-items:center;font:700 .85rem Inter}.avatar{display:grid;place-items:center;background:#322447;color:#d5bfff;width:36px;height:36px;border-radius:50%;font-size:.73rem;font-weight:800;flex:none}.workspace{min-width:0}header{height:70px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 clamp(16px,3.4vw,48px);gap:12px;color:var(--muted);font-size:.88rem}main{max-width:1530px;margin:auto;padding:25px clamp(16px,3.4vw,48px) 48px}.hero{min-height:330px;padding:34px;display:flex;align-items:center;border:1px solid #422b58;border-radius:19px;overflow:hidden;background:linear-gradient(90deg,#100b17 1%,#100b1755 58%,transparent),url(pitch.webp) 60% center/cover}.hero h1{font-size:clamp(3.3rem,6vw,6.5rem);line-height:.84;letter-spacing:-.015em;margin:12px 0 15px}.hero h1 span{color:var(--lime)}.hero p{max-width:355px;margin-bottom:22px}.eyebrow{font-weight:800;letter-spacing:.13em;color:var(--purple);font-size:.75rem;text-transform:uppercase}h1,h2,h3{font-family:'Barlow Condensed',Impact,sans-serif;margin:0;line-height:1.04;font-weight:800}h1{font-size:clamp(2.7rem,6vw,4.5rem)}h2{font-size:2rem}h3{font-size:1.5rem}p{line-height:1.55;color:var(--muted);margin:9px 0 0}.flex,.section-head,.team,.actions{display:flex;align-items:center;gap:10px}.section-head{justify-content:space-between;margin:27px 0 12px}.actions{flex-wrap:wrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 3px}.metric,.panel,.card-link{border:1px solid var(--line);border-radius:13px;background:var(--panel);min-width:0}.metric{padding:15px;display:flex;align-items:center;gap:12px}.metric strong{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-size:1.95rem}.metric small,.muted,small{color:var(--muted)}.metric-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:10px;background:#2e2343;color:#d1b6ff;flex:none;font-size:1.2rem}.dashboard{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px}.panel{padding:16px}.card-link{padding:17px;display:block}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:12px}.list{display:grid;gap:9px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.row:first-child{padding-top:2px}.row:last-child{border-bottom:0;padding-bottom:2px}.row small{display:block;margin-top:4px}.badge{display:inline-flex;border-radius:99px;background:#33264a;color:#dfccff;padding:5px 9px;font-size:.73rem;font-weight:700;white-space:nowrap}.badge.green{background:#2a3521;color:#e0ffab}.crest{display:inline-grid;place-items:center;width:37px;height:41px;border-radius:10px 10px 15px 15px;background:color-mix(in srgb,var(--crest,#9d6be8) 20%,#211a2d);color:var(--crest,#d6b6ff);border:1px solid currentColor;font:800 .78rem Inter;flex:none}.page-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:19px}.tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:20px 0 14px;padding-bottom:8px}.tabs button[aria-selected=true]{background:#392556;border-color:#7853b2;color:#ebdcff}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:.9rem}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-size:.78rem}tr:last-child td{border-bottom:0}.score{font:800 1.5rem 'Barlow Condensed',Impact,sans-serif;color:var(--lime);white-space:nowrap}.fixture{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin:10px 0}.fixture .team:last-child{justify-content:flex-end;text-align:right}.fixture .team{overflow-wrap:anywhere}.page-actions{margin-top:14px}.search{max-width:340px;margin:0 0 14px}.empty{padding:20px;text-align:center;color:var(--muted)}dialog{width:min(640px,calc(100% - 24px));max-height:90vh;overflow:auto;background:var(--panel);color:var(--ink);border:1px solid #594076;border-radius:16px;padding:22px}dialog::backdrop{background:#080610bc}dialog h2{margin-bottom:14px}form{display:grid;gap:13px}label{display:grid;gap:6px;font-size:.88rem;font-weight:650}input,textarea,select{width:100%;min-width:0;background:#100e17;border:1px solid #463953;color:var(--ink);border-radius:8px;padding:9px 10px}input[type=checkbox]{width:auto;accent-color:var(--primary)}input[type=color]{height:40px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}fieldset{border:1px solid var(--line);border-radius:10px;padding:10px;min-width:0}legend{color:var(--muted);font-size:.88rem}.checks{display:grid;grid-template-columns:1fr 1fr;gap:7px}.checks label{display:flex;align-items:center;gap:6px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.error{color:#ffb5c8;margin:0}.event-table td,.event-table th{padding:7px 5px}.event-table input[type=number]{width:62px}.history{display:grid;gap:9px}.profile-hero{background:linear-gradient(110deg,#282039,#191621 75%);padding:23px}.notice{font-size:.82rem;color:var(--muted)}#toast{position:fixed;bottom:20px;right:20px;max-width:min(320px,90vw);background:#33254d;border-radius:9px;padding:10px 14px;visibility:hidden;z-index:3}#toast.show{visibility:visible}
@media(max-width:950px){.shell{grid-template-columns:165px minmax(0,1fr)}aside{padding:22px 9px}.brand{font-size:1.23rem}.mark{width:30px;height:30px}.dashboard{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.shell{display:block}aside{height:auto;position:sticky;z-index:2;padding:9px 12px;border-right:none;border-bottom:1px solid var(--line)}.brand{margin:0 0 8px;padding:0}.brand small,.sidebar-foot,nav i{display:none}nav{grid-template-columns:repeat(4,1fr);gap:3px}nav a{justify-content:center;font-size:.76rem;padding:8px 3px}header{height:53px}main{padding-top:15px}.hero{min-height:290px;padding:20px;background-position:62% center}.hero p{max-width:200px}.page-head{align-items:start;flex-direction:column}.metric{padding:10px;gap:8px}.metric-icon{width:31px;height:31px}.fixture{font-size:.85rem}.fixture .crest{display:none}}
[hidden]{display:none!important}.panel.row{padding:12px 16px}.profile-hero .crest{width:50px;height:57px}#search-empty{margin-bottom:10px}.row>a:hover,.row:hover strong,.section-head a:hover{color:var(--purple)}
.group-grid,.podium{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.podium{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0}.podium .panel div{margin-top:7px}.sample{background:#48371d;color:#ffe09b}.qualifier{display:block;color:var(--lime);font-size:.7rem;margin-left:47px}.leader a,.leader .score{display:block;margin-top:5px}.leader a{font-weight:700}.button-link{display:inline-block;border:1px solid var(--lime);border-radius:9px;padding:10px 14px;font-size:.88rem;font-weight:700}.button-link:hover{background:#edffbb}.actions .button-link:focus-visible{outline-offset:4px}.match-report{margin-top:12px;border-top:1px solid var(--line);padding-top:9px}.match-report summary{cursor:pointer;color:var(--purple);font-weight:700;font-size:.85rem}.group-grid th,.group-grid td{padding:9px 6px}.group-grid .crest{width:29px;height:32px;font-size:.66rem}@media(max-width:1040px){.group-grid{grid-template-columns:1fr}.podium{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.podium{grid-template-columns:repeat(2,minmax(0,1fr))}.podium .team{align-items:start;flex-direction:column}.group-grid .team{gap:5px}}
.reg-heading{margin:0 0 17px}.reg-state{margin:-8px 0 14px}.reg-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:13px}.reg-file{border-bottom:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.reg-file:last-child{border-bottom:0}.reg-file p{margin:3px 0 5px;font-size:.86rem}.reg-file a,.reg-file small{display:block;font-size:.84rem;overflow-wrap:anywhere}.reg-upload{position:relative;display:block;background:#2c2140;border:1px solid #51396b;border-radius:8px;padding:8px 11px;white-space:nowrap;cursor:pointer}.reg-upload:focus-within{outline:2px solid var(--lime);outline-offset:2px}.reg-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.reg-person>summary{cursor:pointer;font-weight:750}.reg-person>summary small{float:right;margin-left:8px;font-weight:600}.reg-person-body{margin-top:15px;display:grid;gap:11px}.reg-gap{font-size:.84rem;color:#ffd899}.reg-cover{display:grid;gap:8px}.reg-check{display:flex;align-items:center;gap:8px;margin:12px 0}.reg-note{margin-bottom:14px;border-color:#685035}.reg-missing{line-height:1.55;color:#ffd899}.reg-note p{white-space:pre-wrap}@media(max-width:650px){nav{grid-template-columns:repeat(5,1fr)}nav a{font-size:clamp(.59rem,2.05vw,.78rem)}.reg-heading{align-items:start;flex-direction:column}}
@media(max-width:650px){nav{display:flex;overflow-x:auto}nav a{flex:0 0 auto;padding:8px;font-size:.78rem}}
.portrait-link{display:inline-flex;align-items:center;gap:10px}.player-portrait{width:42px;height:48px;object-fit:cover;object-position:center 25%;border-radius:7px;background:var(--panel)}.player-portrait.large{width:108px;height:135px;float:left;margin-right:18px}.profile-hero:has(.player-portrait){display:flow-root}
:root{color-scheme:light;--bg:#f0f2f6;--panel:#fff;--ink:#121317;--line:#e0e3e9;--muted:#596170;--primary:#124cde;--purple:#164abb;--lime:#1857df;font-family:"DM Sans",system-ui,sans-serif}
body,button,input,select,textarea,.brand,.brand small,.sidebar-foot,.sidebar-foot small,.mark,.crest,.metric strong,.score,h1,h2,h3{font-family:"DM Sans",system-ui,sans-serif}
h1,h2,h3,.metric strong,.score{font-weight:500;letter-spacing:-.045em}h2{font-size:1.65rem}h3{font-size:1.18rem;line-height:1.25}
aside,header{background:#fff}.brand{font-size:1.22rem;letter-spacing:-.05em}.brand .accent{color:#15161a}.mark{background:#111;color:#fff;border-radius:50%}.brand small{letter-spacing:.09em}
nav a{color:#555d69}nav a.current{background:#121316;color:#fff}nav a:hover{background:#e5ebfa;color:#173b83}.avatar,.metric-icon{background:#eaf0ff;color:#194ac2}
button,.button-link{border-radius:99px;font-weight:600;background:#fff;color:#14151a;border-color:#d9dde5}.primary,.lime,.button-link.lime{background:#121316;color:white;border-color:#121316}.primary:hover,.lime:hover,.button-link:hover{background:#174bca;color:white}
.hero{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:26px;background:radial-gradient(ellipse at 78% 0%,#eef6ff 0%,#a2c6ff 11%,transparent 37%),radial-gradient(ellipse at 100% 80%,#4286ff 0%,transparent 49%),linear-gradient(120deg,#050915 0%,#123997 39%,#175ef2 73%,#72a2ff);min-height:325px;color:#fff}.hero::before,.hero::after{position:absolute;content:"";border-radius:50%;aspect-ratio:1;z-index:-1;pointer-events:none}.hero::before{width:22%;right:9%;top:12%;background:linear-gradient(130deg,#ffffff70,#c2deff1a);border:1px solid #ffffff52}.hero::after{width:14%;right:25%;top:47%;background:linear-gradient(125deg,#93bfff7d,#e2efff19);border:1px solid #ffffff38}
.hero h1{font-size:clamp(3.2rem,6vw,5.5rem);font-weight:450;letter-spacing:-.075em;line-height:.96}.hero h1 span,.hero .eyebrow{color:white}.hero p{color:#e2edff}.hero .actions button,.hero .button-link{background:white;color:#13141a;border-color:white}.hero .actions button{background:#09163573;color:white;border:1px solid #ffffff80}
.panel,.metric,.card-link{border-radius:19px}.metric{background:#101115;color:white;border:0}.metric small{color:#d0d3da}.metric-icon{background:#282a31;color:white}.metric strong{line-height:1.12}.profile-hero{background:linear-gradient(112deg,#fff 25%,#e7efff 85%,#c9dcff)}.badge,.badge.green,.badge.sample{background:#eaf0ff;color:#1543a4}.badge.sample{background:#eeeef1;color:#40434c}.tabs button[aria-selected=true]{background:#111318;color:white;border-color:#111318}.score,.qualifier{color:#194ac2}
input,select,textarea{background:#fff;color:var(--ink);border-color:#c6ccd6}dialog{border-color:#d8dde5}dialog::backdrop{background:#11182782}.reg-upload{background:#edf2ff;border-color:#c3d3ff}.reg-gap,.reg-missing,.error{color:#8d3420}.crest{background:#17191e}#toast{background:#101216;color:white}.metric .score{color:white}
@media(max-width:650px){aside{background:#fff}.hero{min-height:295px;border-radius:22px}.hero::before{width:34%;right:1%;top:10%}.hero::after{width:20%;right:13%;top:40%}.hero p{max-width:225px}.metrics{gap:8px}.metric{border-radius:15px}nav a.current{border-radius:99px}}
.crest.club-logo{object-fit:contain;background:transparent;border:none;border-radius:0;width:42px;height:44px}.profile-hero .crest.club-logo{width:78px;height:82px}
.match-desk{display:grid;gap:14px;max-width:760px}.lineup-input{padding:10px}.player-input{border-bottom:1px solid var(--line);padding:10px 4px}.player-input summary,.other-stats summary{cursor:pointer;font-weight:600}.player-input summary small{float:right;color:var(--primary)}.stat-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}.other-stats{padding:10px 0}.other-stats summary{font-size:.9rem}.other-stats>.fields{margin-top:10px}.lineup-input legend{font-weight:700}
.match-player-card{display:block;width:min(100%,360px);height:auto;margin:0 auto;border-radius:14px}
