@import url('data:text/css,');
:root{--nav:#102c43;--ink:#152d41;--muted:#6f8090;--blue:#207aa5;--orange:#ef8245;--line:#e3eaf0;--bg:#f3f6f9}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}aside{width:232px;background:var(--nav);color:#c4d5e2;position:fixed;inset:0 auto 0 0;padding:30px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white;letter-spacing:2px;font-size:11px;line-height:1.5;padding:0 12px}.brand b{font-size:15px;letter-spacing:1.4px}.mark{display:grid;place-items:center;background:#214760;border:1px solid #436078;width:43px;height:46px;font-size:31px;font-weight:900;border-radius:12px;position:relative}.mark span{position:absolute;font-size:24px;right:1px;bottom:-6px;color:var(--orange)}.season{font-size:10px;letter-spacing:1.7px;margin:35px 12px 21px;color:#8ba8bd}.season b{display:block;font-size:15px;color:#dce8f0;margin-top:5px;letter-spacing:1px}nav{display:grid;gap:5px}nav a{display:flex;gap:13px;padding:11px 14px;text-decoration:none;border-radius:8px;color:#a9c0d2;font-size:13px}nav a:hover{background:#1a3c55;color:white}nav a.active{color:white;background:#244b65;box-shadow:inset 3px 0 var(--orange)}nav .nicon{width:18px;font-size:16px;text-align:center;color:#a4bfcf}.sidefoot{margin-top:auto;padding:20px 12px 0;font-size:11px;border-top:1px solid #28485d;color:#9db5c7}.sidefoot small{padding-left:16px}.dot{display:inline-block;width:6px;height:6px;background:#52bca8;border-radius:50%;margin-right:7px}.shell{margin-left:232px}header{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}.crumb{font-size:10px;letter-spacing:1.4px;color:var(--muted)}.crumb strong{color:var(--ink);font-weight:600;letter-spacing:0;font-size:12px}.crumb span{margin:0 12px;color:#b9c4cd}.headright{display:flex;align-items:center;gap:16px}.headright>span{font-size:11px;color:var(--muted)}.button{border:0;border-radius:7px;background:var(--nav);color:white;padding:10px 16px;font-weight:600;font-size:12px;display:inline-flex;align-items:center;gap:7px;text-decoration:none}.button.soft{background:#edf3f7;color:var(--ink)}.button:hover{filter:brightness(.94)}.iconbtn{background:transparent;border:0;font-size:24px;color:var(--ink)}#menu{display:none}main{max-width:1600px;padding:32px 36px 50px;margin:auto;min-height:calc(100vh - 138px)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--blue);margin:0 0 9px}h1{margin:0;font-size:30px;letter-spacing:-1.1px;line-height:1.25}h2{font-size:16px;letter-spacing:-.3px;margin:0}h3{font-size:14px;margin:0}.sub{color:var(--muted);font-size:13px;margin:10px 0 0}.titlebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.pill{font-size:10px;border:1px solid var(--line);background:white;color:var(--muted);border-radius:20px;padding:6px 12px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:24px 0}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 22px;position:relative}.stat .label{color:var(--muted);font-size:11px}.stat .value{display:block;font-size:30px;line-height:1.2;font-weight:750;letter-spacing:-1px;margin:8px 0}.stat small{color:var(--muted);font-size:10px}.stat:before{content:'';position:absolute;width:4px;height:30px;background:var(--orange);left:-1px;top:25px;border-radius:0 4px 4px 0}.grid2{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:20px}.panelhead{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line);gap:15px}.panelhead a{font-size:11px;text-decoration:none;color:var(--blue);font-weight:600}.panelbody{padding:20px 22px}.filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 20px}input,select{padding:10px 12px;border:1px solid #dce4eb;border-radius:7px;background:white;color:var(--ink);min-width:130px;max-width:100%}input:focus,select:focus{outline:2px solid #8dbad0;outline-offset:1px}input[type=search]{min-width:240px}.count{margin-left:auto;font-size:11px;color:var(--muted)}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-size:10px;font-weight:650;color:#7b8c99;background:#fafbfd;text-transform:uppercase;letter-spacing:.5px;padding:13px 16px;border-bottom:1px solid var(--line)}td{padding:13px 16px;border-bottom:1px solid #eef2f5}tr:last-child td{border-bottom:none}tbody tr:hover{background:#f5f9fc}th.sortable{cursor:pointer}th.sortable:hover{color:var(--blue)}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}.team{display:flex;align-items:center;gap:10px;font-weight:600}.badge{width:29px;height:29px;background:#edf3f8;display:inline-grid;place-items:center;flex-shrink:0;font-size:9px;border:1px solid #dce7ed;border-radius:7px;color:#376077;font-weight:800}.badge.kom{background:#e3f0ff;color:#1268a2}.rank{color:#98a7b4}.points{font-weight:750;color:var(--blue)}.score{font-size:17px;font-weight:800;letter-spacing:2px;text-align:center}.matchrow{display:grid;grid-template-columns:1fr 64px 1fr;gap:10px;align-items:center;padding:18px 22px;border-bottom:1px solid #eef2f5}.matchrow:last-child{border:0}.matchrow .away{justify-content:flex-end;text-align:right}.matchmeta{font-size:10px;color:var(--muted);padding:14px 22px 0}.empty{padding:35px;text-align:center;color:var(--muted)}.chip{font-size:10px;border-radius:5px;padding:4px 7px;display:inline-block;background:#eef4f7;color:#476b80}.chip.good{background:#e4f3ee;color:#297f65}.chip.warn{background:#fff1e6;color:#a65d24}.formdots{display:flex;gap:4px}.formdot{font-size:10px;padding:3px 6px;border-radius:4px;background:#ecf1f5;color:#708393}.formdot.win{color:#257862;background:#def1e9}.formdot.loss{color:#a05b60;background:#f8e9eb}.bar{height:5px;background:#eaf0f5;border-radius:4px;overflow:hidden;margin-top:5px;min-width:60px}.bar i{height:100%;background:var(--blue);display:block;border-radius:4px}.leadrow{display:flex;align-items:center;gap:13px;padding:14px 22px;border-bottom:1px solid #eef2f5}.leadrow:last-child{border:0}.avatar{width:36px;height:36px;border-radius:50%;background:#e8f0f7;color:#33637e;display:grid;place-items:center;font-size:11px;font-weight:750}.leadrow .info{flex:1}.leadrow small{display:block;font-size:10px;color:var(--muted)}.leadrow b{font-size:12px}.leadrow strong{font-size:20px;color:var(--blue)}.linkbtn{border:0;background:transparent;padding:0;color:var(--blue);text-align:left;font-weight:650;cursor:pointer}.note{font-size:11px;color:var(--muted);background:#eaf1f6;padding:12px 16px;border-radius:7px;margin:18px 0}.linegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:17px 20px}.slot label{font-size:9px;color:var(--muted);display:block;margin-bottom:5px;text-transform:uppercase;letter-spacing:.8px}.slot select{width:100%;font-size:12px;min-width:0}.linecard .panelhead{padding:13px 20px}.linemetrics{display:flex;gap:26px;padding:12px 20px;background:#f8fafc;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.linemetrics b{color:var(--ink);margin-right:5px}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.tab{border:1px solid var(--line);border-radius:6px;background:white;color:var(--muted);padding:9px 14px;font-size:12px}.tab.active{background:var(--nav);color:white;border-color:var(--nav)}details summary{cursor:pointer;font-size:12px;color:var(--blue)}details p{font-size:12px;color:var(--muted)}.archive table{font-size:11px}.archive td{max-width:340px;overflow:hidden;text-overflow:ellipsis}.archive th{position:sticky;top:0}.archive .scroll{max-height:70vh}.pager{display:flex;justify-content:center;align-items:center;gap:18px;padding:18px;font-size:12px}.rawcol{font:10px monospace;color:#98a8b6}.loading{padding:100px;text-align:center;color:var(--muted)}footer{font-size:10px;color:#8595a2;max-width:1600px;padding:0 36px 24px;margin:auto}footer a{float:right;color:#587b93;text-decoration:none}dialog{border:1px solid var(--line);border-radius:14px;padding:30px;max-width:820px;width:90%;max-height:85vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#0b213b80}.close{position:absolute;right:12px;top:8px}.detailgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.detailitem{padding:12px;border:1px solid var(--line);border-radius:7px}.detailitem small{display:block;color:var(--muted);font-size:10px}.detailitem b{display:block;margin-top:3px}#toast{position:fixed;bottom:25px;right:25px;background:var(--nav);color:white;padding:13px 20px;border-radius:9px;display:none;z-index:100;font-size:12px}.feature{display:flex;gap:18px;align-items:center;background:linear-gradient(120deg,#14364e,#21526e);color:white;border-radius:11px;padding:25px 28px;margin:0 0 24px}.feature h2{font-size:21px;letter-spacing:-.5px}.feature p{font-size:12px;color:#bfd3e0;margin:5px 0 0}.feature .puck{font-size:35px}.feature a{margin-left:auto;background:#fff;color:#163e57}.widebutton{margin-left:auto}.error{color:#ac4747}.clickrow{cursor:pointer}.helptext{max-width:700px;line-height:1.8}.sectiontop{margin:26px 0 13px}.small{font-size:11px;color:var(--muted)}@media(min-width:1600px){main{padding-top:40px}.stats{gap:23px}}@media(max-width:1050px){aside{width:200px}.shell{margin-left:200px}header,main{padding-left:23px;padding-right:23px}.grid2{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.headright>span{display:none}}@media(max-width:720px){aside{transform:translateX(-100%);transition:.2s}body.menuopen aside{transform:translateX(0)}.shell{margin-left:0}#menu{display:block}header{height:65px;padding:0 16px}.crumb{flex:1}.crumb>span,.crumb>strong{display:none}main{padding:23px 15px 35px}h1{font-size:25px}.titlebar{align-items:flex-start}.stats{grid-template-columns:repeat(2,1fr)}.stat .value{font-size:26px}.filters input[type=search]{width:100%;min-width:0}.filters select{flex:1;min-width:0}.count{width:100%}.feature{padding:20px}.feature .puck{display:none}.feature a{display:none}.linegrid{grid-template-columns:1fr}.linemetrics{flex-wrap:wrap;gap:12px}.matchrow{padding:14px;grid-template-columns:1fr 55px 1fr;font-size:11px}.matchrow .badge{display:none}.detailgrid{grid-template-columns:repeat(2,1fr)}footer{padding:0 15px 20px}footer a{display:block;float:none;margin-top:8px}.pill{display:none}th,td{padding:11px 12px}.headright{gap:0}.button{padding:9px 11px}}

.adminfields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.adminfields label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.brand div{letter-spacing:1px;font-size:15px;font-weight:750;max-width:130px}.headright{gap:10px}.headright #import{font-size:11px}.panelbody>p{font-size:12px;color:var(--muted);line-height:1.8}@media(max-width:800px){.adminfields{grid-template-columns:1fr}.headright #import{display:none}.headright #refresh{font-size:10px;padding:9px}}
.formation-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:20px;align-items:start}.rink-side{position:sticky;top:18px}.rink-panel .panelhead{padding:16px}.rink-panel .panelhead .chip{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rink-controls{display:flex;gap:7px;flex-wrap:wrap;padding:12px 13px 0}.rink-controls select{font-size:10px;min-width:0;padding:7px;flex:1}.hockey-rink{width:100%;height:auto;display:block;max-height:500px}.rink-player circle{fill:#176c9a;stroke:white;stroke-width:5}.rink-player.goalie circle{fill:#e78547}.rink-player rect{fill:#fff;stroke:#dbe8ee;stroke-width:1}.rink-position{font:700 14px Arial,sans-serif;fill:white}.rink-name{font:600 13px Arial,sans-serif;fill:#21465e}.rink-caption{font-size:10px;color:var(--muted);line-height:1.6;margin:0;padding:0 17px 16px}.line-comment{padding:15px 20px 18px;border-top:1px solid var(--line)}.comment-label{font-size:9px;font-weight:750;color:#43809e;letter-spacing:1.4px}.line-comment p{margin:7px 0 0;font-size:12px;line-height:1.75;color:#526b7d}.line-actions{display:flex;align-items:center;gap:12px}.line-actions .linkbtn{font-size:10px}.selection-hint{font-size:11px;color:var(--muted);margin:-6px 0 21px}.slot small{display:block;font-size:9px;color:#8b9daa;margin-top:5px}.formation-layout .linegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.formation-layout .linegrid .slot:only-child{grid-column:1/-1}.formation-layout .linemetrics{gap:16px;flex-wrap:wrap}.formation-layout .linecard{margin-bottom:17px}@media(min-width:1450px){.formation-layout{grid-template-columns:minmax(0,1fr) 350px}.formation-layout .linegrid{grid-template-columns:repeat(3,minmax(0,1fr))}.hockey-rink{max-height:545px}}@media(max-width:1050px){.formation-layout{grid-template-columns:1fr}.rink-side{position:static;order:-1}.rink-panel{max-width:600px;margin:0 auto 20px}.hockey-rink{max-height:440px}.rink-panel .panelhead{padding:14px 20px}.rink-controls{padding:12px 20px 0}}@media(max-width:500px){.formation-layout .linegrid{grid-template-columns:1fr}.line-actions{gap:7px}.hockey-rink{max-height:430px}.formation-layout .panelhead{padding:13px 15px}.line-comment{padding:13px 15px}.formation-layout .linemetrics{padding:12px 15px}}
/* A brighter, more readable personal hockey dashboard. */
body{font-size:16px;background:#f2f5fc;color:#20344c}main{max-width:1600px;margin:auto;padding:34px}aside{background:linear-gradient(165deg,#17365e,#252c68 60%,#42357a)}header{background:#ffffffed}.brand .mark{background:#ffbf47;color:#233459}nav a{font-size:15px;padding:13px 16px}nav a.active{background:linear-gradient(100deg,#4275e9,#7162de);color:white}.pagehead h1,h1{font-size:34px;letter-spacing:-1px}.pagehead p,.subtitle{font-size:17px;line-height:1.65}.panel{border:1px solid #e0e6f2;border-radius:18px;box-shadow:0 5px 20px #283a6b08;margin-bottom:26px;overflow:hidden}.panelhead{padding:20px 24px;background:#fafbff}.panelhead h2{font-size:19px}.panelbody{padding:24px}th{font-size:13px;padding:16px}td{font-size:15px;padding:16px;line-height:1.5}tbody tr:nth-child(even){background:#f7f9fe}tbody tr:hover{background:#edf2ff}.small,small{font-size:13px;line-height:1.65}.stat{border-radius:18px;border-top:4px solid #5478e9}.stat:nth-child(2){border-top-color:#edaa32;background:#fffcf5}.stat:nth-child(3){border-top-color:#13a894;background:#f3fcf9}.stat:nth-child(4){border-top-color:#9762d4;background:#fbf7ff}.stat .value{font-size:32px}.button,select,input{font-size:15px;border-radius:10px;min-height:42px}.button{background:#4268d7}.button.soft{background:#ebefff;color:#3558ba}.filters{gap:14px;flex-wrap:wrap}details{padding:16px 20px;border:1px solid #dfe6f2;background:#f8faff;border-radius:12px;margin:20px 0}summary{cursor:pointer;font-weight:600}.prediction-picker{display:flex;align-items:end;gap:16px;margin-bottom:24px}.prediction-picker label{display:grid;gap:9px;flex:1;font-weight:600}.prediction-picker select{width:100%;max-width:100%;padding:12px}.match-hero{background:linear-gradient(115deg,#1c447b,#554bb6);color:white;padding:32px;border-radius:20px;margin:22px 0 28px;box-shadow:0 8px 24px #34478820}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:700;color:#c2d6ff}.match-hero h2{font-size:30px;margin:15px 0;line-height:1.3}.match-hero h2 span{font-size:17px;color:#c4c5ef;padding:0 12px}.match-hero p{color:#e1eaff;font-size:16px}.prediction-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px}.prediction-panels .panel{min-width:0}.probability-bar{height:22px;border-radius:12px;overflow:hidden;display:flex;background:#e9edf5;gap:3px;margin:16px 0}.probability-bar span{display:block;min-width:0;transition:width .5s}.home-color{background:#3878eb}.away-color{background:#ef9550}.draw-color{background:#9c7bd3}.home-text{color:#286add}.away-text{color:#d97a2d}.probability-legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:14px}.probability-legend span{display:flex;align-items:center;gap:7px}.probability-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.duel-numbers{display:flex;justify-content:space-between;font-size:36px;margin-top:20px}.three-probs{display:flex;justify-content:space-between;font-size:26px;margin-top:28px}.three-probs b:first-child{color:#286add}.three-probs b:nth-child(2){color:#9166c4}.three-probs b:last-child{color:#d97a2d}.chart-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center}.chart-toolbar label{display:flex;align-items:center;gap:10px}.score-svg{width:100%;max-height:620px;display:block;margin:auto}.score-svg text,.accuracy-svg text{fill:#53657e;font-family:inherit}.score-svg g:hover{filter:brightness(1.2)}.accuracy-svg{width:100%;display:block;margin-top:22px}.accuracy-heading{display:flex;align-items:center;gap:24px}.accuracy-heading strong{font-size:40px;color:#079579}.accuracy-heading span{line-height:1.6;color:#53657e}.history-prob{min-width:230px;max-width:340px}.history-prob .probability-bar{height:10px;margin:4px 0 7px}.history-prob .probability-legend{font-size:12px}#detail:has(.score-svg){width:min(1200px,95vw);max-width:95vw}.model-help{font-size:14px}.model-help p{line-height:1.8}.rink-layout,.rink-card{border-radius:18px}@media(max-width:900px){main{padding:20px}.prediction-panels{grid-template-columns:1fr;gap:0}.match-hero h2{font-size:25px}.prediction-picker{align-items:stretch;flex-direction:column}.chart-toolbar{flex-wrap:wrap}.chart-toolbar input{max-width:140px}.duel-numbers{font-size:30px}td{padding:13px}.headright{flex-wrap:wrap}}
/* Club edition: saturated sports colours, real crests and clear date groups. */
:root{--blue:#1264df;--orange:#f18028;--line:#d5e1f0;--ink:#162d4d;--muted:#536982;--nav:#102c54}body{background:radial-gradient(ellipse at 95% 0,#ceeaff 0,transparent 35%),radial-gradient(ellipse at 10% 75%,#e8ddff 0,transparent 35%),#edf3fb}aside{background:linear-gradient(155deg,#102953 0%,#173e85 53%,#34226d 100%);border-right:3px solid #299aeb}.brand .mark{background:#ffbd32;box-shadow:0 0 0 5px #ffffff0e}.season{color:#b8d6ff}.sidefoot{color:#c3dbff}nav a{color:#dce9ff;border-radius:11px;transition:background .15s,transform .15s}nav a:hover{background:#ffffff17;transform:translateX(3px)}nav a.active{background:linear-gradient(110deg,#1476eb,#6a4fe3);box-shadow:0 5px 18px #050b3333}nav .nicon{font-size:21px;color:#67d9ff}nav a.active .nicon{color:#fff}.sports-title{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#102c58 5%,#164e9c 65%,#126eb5);border-radius:22px;padding:30px 34px;margin-bottom:30px;color:white;min-height:185px;border-bottom:5px solid #31c4e7;box-shadow:0 12px 30px #173c7b17}.sports-title:before{content:'';position:absolute;z-index:-1;width:320px;height:320px;border:28px solid #ffffff0c;border-radius:50%;right:35px;top:-80px}.sports-title:after{content:'';position:absolute;z-index:-1;inset:0;background:repeating-linear-gradient(120deg,transparent 0 70px,#ffffff04 71px 73px)}.sports-title h1{font-size:clamp(26px,3vw,38px);line-height:1.15;margin:12px 0;font-weight:800}.sports-title .sub{font-size:16px;line-height:1.7;color:#d9e9ff;max-width:770px;margin:0}.sports-title .eyebrow{font-size:11px;color:#85e8ff;letter-spacing:1.3px}.hero-dot{display:inline-block;width:5px;height:5px;background:#ffbd32;border-radius:50%;margin:0 8px 2px}.hero-club{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:125px;margin-left:20px;font-size:12px;font-weight:700;color:#fff}.club-badge{width:44px;height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:11px;box-shadow:0 2px 8px #1c345b10;border:1px solid var(--club-soft,#e4ecfa);vertical-align:middle}.club-badge img{width:36px;height:36px;object-fit:contain}.club-badge.large{width:94px;height:94px;flex-basis:94px;border-radius:20px;box-shadow:0 7px 25px #001e5930;border:3px solid #ffffff90}.club-badge.large img{width:76px;height:76px}.team{gap:10px;font-size:14px;font-weight:650;line-height:1.3;white-space:normal}.team>span:last-child{max-width:210px}.matchrow .team{font-size:14px}.club-section{margin:0 0 30px}.club-section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px;gap:12px}.club-section-heading h2{font-size:21px;margin:0;color:#163969}.club-section-heading>span{font-size:13px;color:#536982}.club-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.club-tile{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:flex-start;gap:8px;border:1px solid #d5e1ef;border-top:4px solid var(--club);border-radius:13px;padding:14px 6px 12px;background:linear-gradient(#fff 20%,var(--club-soft));text-decoration:none;transition:transform .15s,box-shadow .15s}.club-tile:hover{transform:translateY(-4px);box-shadow:0 8px 15px #153d781a}.club-tile>span:last-child{font-size:12px;font-weight:700;line-height:1.35;color:var(--club)}.club-tile .club-badge{width:48px;height:48px;flex-basis:48px;box-shadow:none;border:0;background:transparent}.club-tile img{width:46px;height:46px}.stats{gap:18px;margin-bottom:28px}.stats>.stat{border:0;color:white;padding:23px;background:linear-gradient(120deg,#086fd9,#2145ad);box-shadow:0 6px 16px #1e52a51a}.stats>.stat:nth-child(2){background:linear-gradient(120deg,#b84a12,#dc7423)}.stats>.stat:nth-child(3){background:linear-gradient(120deg,#067960,#119d83)}.stats>.stat:nth-child(4){background:linear-gradient(120deg,#6534b8,#9251cb)}.stat .label,.stat small{color:#ffffffde}.stat .value{font-size:34px;color:#fff;font-weight:800}.feature{background:linear-gradient(110deg,#e76b1e,#bd3b14);border-radius:18px;padding:28px 30px;border:0;box-shadow:0 8px 22px #d66b2320}.feature h2{font-size:24px}.feature p{font-size:15px;color:#fff3e3}.feature .puck{background:#ffffff20;border-radius:50%;height:64px;width:64px;display:grid;place-items:center;flex-shrink:0}.feature .button{color:#923b10;font-weight:750}.panel{border-color:#d4e2f1;box-shadow:0 5px 20px #224a7b09}.panelhead{background:linear-gradient(100deg,#e2efff,#f5f9ff);border-bottom:1px solid #cedff3;border-left:5px solid #1d78de}.panelhead h2,.panelhead h3{color:#173f76;font-weight:750}.grid2>div:nth-child(2) .panelhead{background:linear-gradient(100deg,#eee4ff,#faf7ff);border-left-color:#8854d3}.panelbody>p{font-size:15px}.panel th{background:#173e72;color:#fff;font-size:12px;font-weight:650;letter-spacing:.3px}.panel tbody tr:nth-child(even){background:#f0f6ff}.panel tbody tr:hover{background:#e1edff}.rank{background:#e0eaff;color:#214fa1}.points{color:#075bcd;font-size:20px}.chip.good{background:#d5f4e6;color:#086449}.chip.warn{background:#ffead5;color:#9a4717}.tabs{gap:8px;flex-wrap:wrap}.tab{padding:12px 18px;border-radius:10px;background:#e1ebfa;color:#27518e;font-size:14px}.tab.active{background:#1d65cb;color:white;box-shadow:0 4px 10px #2367c633}.line-comment{background:#f1f7ff}.line-comment p{font-size:14px;color:#3e5774}.comment-label{color:#1264b7;font-size:10px}.slot label{font-size:12px}.slot small,.selection-hint,.rink-caption{font-size:12px}.rink-controls select{font-size:13px}.linemetrics{background:#edf6ff}.linemetrics span{font-size:12px}.linemetrics b{color:#1354a8}.match-hero{background:linear-gradient(110deg,#103d78,#2c3d9e 65%,#6738ad);border-bottom:5px solid #ffb640}.club-matchup{display:flex;justify-content:center;gap:28px;align-items:center}.matchup-club{display:flex!important;align-items:center;gap:18px;padding:0!important;color:white!important;font-size:clamp(18px,2vw,28px)!important;flex:1}.matchup-club:last-child{flex-direction:row-reverse;text-align:right}.club-matchup em{font-size:17px;font-style:normal;color:#c7d9ff}.match-hero>p{text-align:center}.prediction-panels>.panel:first-child .panelhead{background:#deedff;border-left-color:#2675e5}.prediction-panels>.panel:nth-child(2) .panelhead{background:#fff0dc;border-left-color:#ef963b}.home-color{background:linear-gradient(90deg,#1168dd,#419aff)}.away-color{background:linear-gradient(90deg,#e37721,#ffb348)}.draw-color{background:#9163c9}.result-score{font-size:22px;color:#183f76;white-space:nowrap}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:34px 0 20px}.history-heading h2{font-size:27px;margin:4px 0}.history-heading .eyebrow{color:#2369b5}.history-order{background:#d9efea;color:#12624e;border-radius:30px;padding:10px 18px;font-size:13px;font-weight:750}.history-day .panelhead{background:linear-gradient(110deg,#165fbb,#21438a);border:0;color:#d4e8ff;padding:15px 22px}.history-day .panelhead h3{color:white;font-size:19px;margin:0}.history-day .panelhead>span{font-size:13px}.history-day th{background:#e6effb;color:#294e7e}.history-day td:first-child{min-width:250px}.history-day .team{font-size:13px}.history-vs{display:block;padding:1px 0 1px 55px;font-size:10px;line-height:1;color:#627c9c}.history-day .club-badge{width:34px;height:34px;flex-basis:34px}.history-day .club-badge img{width:29px;height:29px}.history-prob .probability-legend{font-size:12px}.eyebrow{color:#2665ab}.sports-title .eyebrow,.match-hero .eyebrow{color:#8ce4ff}.button{background:#1669d6}.button.soft{background:#e2edff;color:#215ba5}.linkbtn{color:#1359b7}footer{font-size:12px;color:#4d6582}@media(max-width:1100px){.club-rail{grid-template-columns:repeat(7,minmax(0,1fr))}.club-tile>span:last-child{font-size:10px}.matchup-club{flex-direction:column!important;text-align:center!important}.sports-title{padding:26px}.hero-club{min-width:96px}.stats .value{font-size:28px}}@media(max-width:720px){.sports-title{padding:24px 20px;min-height:170px;gap:8px}.sports-title h1{font-size:27px}.sports-title .sub{font-size:14px}.sports-title .eyebrow{font-size:9px}.sports-title .hero-club{display:none}.club-rail{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.club-tile{padding:10px 4px}.club-section-heading{display:block}.club-section-heading h2{font-size:20px}.club-section-heading>span{font-size:12px}.stats>.stat{padding:18px 14px}.stat .label{font-size:12px}.stat small{font-size:11px}.stat .value{font-size:28px}.feature{padding:22px}.feature .puck{display:none}.feature h2{font-size:21px}.feature p{font-size:14px}.club-matchup{gap:14px}.club-matchup .large{width:74px;height:74px;flex-basis:74px}.club-matchup .large img{width:60px;height:60px}.matchup-club{font-size:17px!important;gap:10px}.match-hero{padding:23px 16px}.history-heading{align-items:flex-start;flex-direction:column;gap:8px}.history-heading h2{font-size:25px}.history-order{padding:7px 12px}.history-day td:first-child{min-width:220px}.matchrow .club-badge{display:inline-flex;width:30px;height:30px;flex-basis:30px}.matchrow .club-badge img{width:25px;height:25px}.matchrow .team{font-size:11px;gap:5px}.matchrow{grid-template-columns:1fr 45px 1fr}.matchrow .score{font-size:20px}}
.match-hero .club-badge{padding:0}.titlebar.sports-title>div:first-child{min-width:0}.sports-title .hero-club{flex-shrink:0}.history-day .scroll{overflow-x:auto}.club-section-heading h2{line-height:1.3}
.prediction-mode-tabs{display:flex;gap:6px;padding:6px;background:#dfeafa;border-radius:14px;width:fit-content;margin-bottom:18px}.prediction-mode-tabs button{border:0;border-radius:10px;background:transparent;color:#355c91;font-weight:700;padding:12px 21px;font-size:15px}.prediction-mode-tabs button.active{background:#1769d2;color:white;box-shadow:0 3px 10px #175bb733}.duel-picker{display:grid;grid-template-columns:1fr 50px 1fr auto;align-items:end;gap:16px;padding:24px;background:white;border:1px solid #ccdcf0;border-radius:18px;box-shadow:0 5px 20px #173e7809}.duel-picker label{display:flex;flex-direction:column;gap:9px;min-width:0}.duel-picker label>span{font-size:11px;font-weight:800;letter-spacing:1.2px;color:#2365b7}.duel-picker label:nth-of-type(2)>span{color:#bb601a}.duel-picker select{width:100%;border:2px solid #bdd4f3;padding:12px;font-size:16px;font-weight:650;background:#f5f9ff}.duel-picker label:nth-of-type(2) select{border-color:#f3d3ab;background:#fff9f1}.swap-teams{height:48px;width:48px;border-radius:50%;background:#e7f0fc;border:1px solid #c6d9ef;color:#1a62b6;font-size:28px;line-height:1}.shared-model-label{grid-column:1/-1;margin:0;font-size:13px;color:#536e90}.shared-settings{padding:18px 22px;margin:-8px 0 26px;border:1px solid #c7e1de;background:#effaf6;border-radius:15px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.shared-settings>span{font-size:12px;color:#407062}.shared-settings>p{flex-basis:100%;font-size:14px;color:#466c62;margin:0}.shared-settings details{width:100%;margin:0;padding:0;background:transparent;border:0}.shared-settings summary{font-size:13px;color:#12654e}.shared-inputs{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.shared-inputs>div{display:grid;gap:5px;font-size:14px}.shared-inputs b{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#467367}.shared-settings .linkbtn{font-size:13px}@media(max-width:1100px){.duel-picker{grid-template-columns:1fr 44px 1fr}.duel-picker>.button{grid-column:1/-1}.swap-teams{width:42px;height:46px}}@media(max-width:600px){.duel-picker{padding:18px;grid-template-columns:1fr;gap:12px}.duel-picker>.button,.shared-model-label{grid-column:1}.swap-teams{justify-self:center;transform:rotate(90deg);height:36px;width:36px;font-size:24px}.duel-picker select{font-size:15px}.prediction-mode-tabs{width:100%}.prediction-mode-tabs button{flex:1;padding:11px 9px;font-size:14px}.shared-settings{padding:17px}.shared-inputs{grid-template-columns:1fr}}
.team-link{border:0;background:transparent;text-align:left;padding:4px 2px;font:inherit;color:inherit;cursor:pointer;border-radius:9px;min-height:40px;display:inline-flex;align-items:center}.team-link:hover{color:#135dc6;background:#dceaff}.team-link:focus-visible,[data-team-detail]:focus-visible{outline:3px solid #f4ad28;outline-offset:3px}[data-team-detail]{cursor:pointer}.club-tile{font-family:inherit}.hero-club:hover .club-badge,.matchup-club:hover .club-badge{box-shadow:0 0 0 4px #ffbe48;transform:translateY(-2px)}#detail:has(.team-profile-heading){width:min(1250px,96vw);max-width:96vw;max-height:92vh;padding:30px;background:#f1f6fd;border-radius:22px}.team-profile-heading{display:flex;align-items:center;gap:22px;padding:22px 26px;margin:4px 0 20px;background:linear-gradient(115deg,#123463,#285db1);border-radius:17px;color:white}.team-profile-heading h1{margin:7px 0;font-size:32px;line-height:1.2}.team-profile-heading p{margin:0;color:#d9e9ff;font-size:14px}.team-profile-heading .eyebrow{color:#8de6ff;font-size:11px}.team-profile-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.team-profile-toolbar>.small{margin-left:auto}.team-profile-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.team-profile-tabs button{border:1px solid #c8d9ef;border-radius:10px;padding:12px 17px;background:white;color:#315b91;font-weight:650;font-size:14px}.team-profile-tabs button.active{background:#1a6cce;color:white;border-color:#1a6cce}.team-kpis .value{font-size:29px}.team-rate-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.team-rate{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 12px;background:white;border-radius:16px;border:1px solid #d9e5f2;text-align:center;font-size:13px;font-weight:650;color:#3b5779}.rate-ring{height:108px;width:108px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--rate-color) 0 var(--rate),#e9eef7 var(--rate) 100%);position:relative}.rate-ring:before{content:'';position:absolute;inset:10px;border-radius:50%;background:white}.rate-ring b{position:relative;font-size:20px;color:#183d6e}.period-bars{padding:22px}.period-key{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#4a6382;margin-bottom:20px}.period-key span{display:flex;align-items:center;gap:6px}.period-key i{width:10px;height:10px;border-radius:3px}.period-bar-row{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:12px;margin:17px 0}.period-bar-row>b{font-size:12px;color:#4b6381}.period-bar-row>div{padding-right:28px}.period-bar-row span{display:block;height:15px;min-width:1px;border-radius:4px;margin:5px 0;position:relative}.period-bar-row em{font-style:normal;position:absolute;left:calc(100% + 7px);top:-3px;color:#23456f;font-weight:700;font-size:12px}.team-profile-heading~.grid2 .panel{min-width:0}.team-profile-heading~.grid2 table{min-width:0}.team-profile-heading~.grid2 td{font-size:13px}.team-profile-heading~.grid2 th{font-size:11px}.away>.team-link{flex-direction:row-reverse;text-align:right}.matchrow .team-link{font-size:14px}@media(max-width:720px){#detail:has(.team-profile-heading){padding:18px 12px}.team-profile-heading{padding:22px 16px;gap:14px}.team-profile-heading h1{font-size:24px}.team-profile-heading .large{width:70px;height:70px;flex-basis:70px}.team-profile-heading .large img{width:56px;height:56px}.team-profile-toolbar>.small{margin-left:0;flex-basis:100%}.team-rate-grid{grid-template-columns:repeat(2,1fr);gap:10px}.team-kpis .value{font-size:23px}.team-profile-tabs{gap:6px}.team-profile-tabs button{padding:10px 12px;font-size:12px}.matchrow .team-link{font-size:11px}}
.detail-match-teams{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.detail-match-teams .team-link{font-size:20px}
.team-profile-jumps{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:-30px;z-index:4;background:#f1f6fdf5;padding:12px 0;border-bottom:1px solid #c8d9ed;margin-bottom:12px;backdrop-filter:blur(10px)}.team-profile-jumps button{border:1px solid #c2d6f1;background:#fff;border-radius:30px;padding:10px 15px;color:#24558f;font-size:13px;font-weight:700;white-space:nowrap}.team-profile-jumps button:hover{background:#1b6bcf;color:#fff}.team-profile-jumps button[data-team-jump=faceoffs]{background:#e0f5ee;color:#12634e;border-color:#add8ca}.team-profile-jumps button[data-team-jump=radegast]{background:#fff0d7;color:#97560e;border-color:#edca94}.team-profile-jumps button[data-team-jump=goalies]{background:#ece3ff;color:#673aa1;border-color:#d3b9f5}.full-profile-intro{font-size:13px;color:#54708e;margin:0 0 22px}.full-team-section{scroll-margin-top:115px;margin:32px 0 44px}.team-section-heading{margin-bottom:20px;padding:18px 22px;background:linear-gradient(105deg,#164b91,#2b71bc);border-radius:14px;border-left:5px solid #41d2e6;color:white}.team-section-heading>span{display:block;font-size:25px;font-weight:800;line-height:1.3}.team-section-heading p{margin:6px 0 0;font-size:14px;color:#d9eaff}#team-section-faceoffs .team-section-heading{background:linear-gradient(105deg,#096952,#129580);border-left-color:#60e0b4}#team-section-radegast .team-section-heading{background:linear-gradient(105deg,#9d4e11,#cd8324);border-left-color:#ffd05a}#team-section-goalies .team-section-heading{background:linear-gradient(105deg,#552c94,#8d51bf);border-left-color:#cbb0ff}.team-count-chart{padding:23px}.team-count-track{display:flex;height:24px;border-radius:10px;overflow:hidden;background:#e6edf6;gap:2px}.team-count-track span{display:block}.team-count-legend{display:flex;flex-wrap:wrap;gap:14px 20px;margin-top:15px;font-size:12px}.team-count-legend>span{display:flex;align-items:center;gap:6px;color:#526986}.team-count-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.team-count-legend b{font-size:15px;color:#1b436f}.team-season-progress{padding:18px 22px;border-radius:14px;background:#e2eefc;margin:0 0 24px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.team-season-progress>b{font-size:14px;color:#1a518f}.team-season-progress>span{font-size:12px;color:#4b6c91}.team-season-progress>div{height:8px;background:#c9daf0;border-radius:6px;overflow:hidden;flex-basis:100%}.team-season-progress i{display:block;height:100%;background:#2774d1}.faceoff-summary{display:flex;align-items:center;gap:28px;padding:22px;background:white;border-radius:15px;border:1px solid #d8e7e0;margin-bottom:24px}.faceoff-summary .team-rate{padding:0;border:0}.faceoff-summary>div:last-child>b{font-size:26px;color:#176b57}.faceoff-summary p{font-size:15px;color:#4f7468}.roster-counts{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:20px}.roster-counts span{display:flex;gap:10px;align-items:center;background:white;padding:14px 20px;border:1px solid #d6e4f3;border-radius:12px;font-size:14px;color:#52708f}.roster-counts b{color:#1b5597}.full-team-section .grid2{align-items:start}.full-team-section .grid2>div{min-width:0}@media(max-width:720px){.team-profile-jumps{top:-18px;gap:6px}.team-profile-jumps button{font-size:11px;padding:8px 10px}.full-team-section{scroll-margin-top:170px}.team-section-heading{padding:17px}.team-section-heading>span{font-size:22px}.team-section-heading p{font-size:12px}.faceoff-summary{gap:15px;padding:18px}.faceoff-summary>div:last-child>b{font-size:20px}.faceoff-summary p{font-size:12px}.roster-counts{gap:8px}.roster-counts span{padding:10px 12px;font-size:12px}}
.sports-title.intro-title{min-height:0;padding:30px 34px}.intro-title h1{max-width:900px;margin:0;font-size:clamp(25px,3vw,36px);line-height:1.3}@media(max-width:720px){.sports-title.intro-title{padding:23px 20px}}
/* Readable source charts and a full-width rink. */
#detail:has(.team-profile-heading){width:min(1380px,97vw);padding:28px}.team-profile-jumps{flex-wrap:nowrap;overflow-x:auto;top:-28px;padding:11px 0;gap:8px;scrollbar-width:thin}.team-profile-jumps button{flex-shrink:0;font-size:14px}.full-team-section{scroll-margin-top:85px}.full-team-section td{font-size:16px;line-height:1.65;padding:15px 18px}.full-team-section th{font-size:13px;padding:15px 18px}.team-section-heading{margin-bottom:22px}.data-block-title{font-size:20px;margin:30px 0 17px;color:#214e83;border-bottom:2px solid #d8e4f3;padding-bottom:12px}.source-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 28px;align-items:start}.source-chart.panel{margin:0;border:1px solid #cfdeef;background:white;border-radius:16px;overflow:hidden}.source-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid #e1eaf5;background:#f5f9ff}.source-chart-heading h3{font-size:18px;line-height:1.4;margin:0;color:#204979}.source-chart-heading button{font-size:13px;white-space:nowrap;padding:5px}.source-pie-content{display:grid;grid-template-columns:minmax(140px,210px) minmax(0,1fr);align-items:center;gap:15px;padding:20px}.source-pie{display:block;width:100%;max-width:230px;margin:auto}.source-pie .pie-total{font:800 34px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;fill:#173e6b}.source-pie .pie-total-label{font:600 17px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;fill:#58718f}.source-chart-legend>div{display:grid;grid-template-columns:11px minmax(0,1fr) auto;align-items:center;column-gap:9px;padding:10px 0;border-bottom:1px solid #edf2f8}.source-chart-legend>div:last-child{border-bottom:0}.source-chart-legend i{width:11px;height:11px;border-radius:3px;grid-row:1/3}.source-chart-legend span{font-size:15px;line-height:1.4;grid-row:1/3}.source-chart-legend b{font-size:20px;color:#173e6b;text-align:right}.source-chart-legend small{font-size:13px;grid-column:3;color:#68809b;text-align:right}.source-bars{padding:23px}.source-series-legend{display:flex;flex-wrap:wrap;gap:17px;margin-bottom:23px;font-size:14px;color:#496686}.source-series-legend span{display:flex;align-items:center;gap:7px}.source-series-legend i{width:12px;height:12px;border-radius:3px}.source-bar-group{margin:20px 0}.source-bar-group>b{display:block;font-size:14px;font-weight:650;color:#486789;margin:0 0 8px}.source-bar-line{display:grid;grid-template-columns:minmax(0,1fr) 85px;align-items:center;gap:12px;margin:6px 0}.source-bar-track{height:18px;background:#edf2fa;border-radius:5px;overflow:hidden}.source-bar-track span{display:block;height:100%;border-radius:5px}.source-bar-line strong{font-size:15px;font-weight:750;color:#1c4677;text-align:right}.source-chart.expanded{grid-column:1/-1}.source-chart.expanded .source-pie-content{grid-template-columns:minmax(220px,340px) minmax(0,1fr);max-width:850px;margin:auto;padding:30px}.source-chart.expanded .source-pie{max-width:320px}.source-chart.expanded .source-chart-legend span{font-size:18px}.source-chart.expanded .source-chart-legend b{font-size:24px}.source-chart.expanded .source-bars{max-width:1000px;margin:auto}.source-chart.expanded .source-bar-track{height:26px}.source-chart.expanded .source-bar-line strong{font-size:18px}.source-chart.expanded .source-bar-group>b{font-size:17px}.formation-layout{display:flex;flex-direction:column;gap:28px;align-items:stretch}.formation-layout>div{width:100%;min-width:0}.formation-layout>.formation-cards{display:grid;grid-template-columns:1fr;gap:22px}.formation-layout .linecard{margin:0}.formation-layout .rink-side{order:-1;position:static;scroll-margin-top:25px}.formation-layout .rink-panel{max-width:none;margin:0}.formation-layout .panelhead{padding:21px 24px}.formation-layout .panelhead h3{font-size:23px}.formation-layout .panelhead h2{font-size:24px}.formation-layout .linegrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px}.formation-layout .slot label{font-size:15px;font-weight:700;margin-bottom:10px}.formation-layout .slot select{font-size:18px;line-height:1.5;min-height:56px;padding:14px 12px;width:100%}.formation-layout .slot small{font-size:14px;margin-top:8px}.formation-layout .linemetrics{gap:28px;padding:18px 24px}.formation-layout .linemetrics span{font-size:16px}.formation-layout .linemetrics b{font-size:26px}.formation-layout .line-comment{padding:20px 24px}.formation-layout .line-comment p{font-size:17px;line-height:1.8}.formation-layout .comment-label{font-size:12px}.formation-layout .line-actions .linkbtn{font-size:16px}.formation-layout .chip{font-size:14px;padding:7px 12px}.selection-hint{font-size:15px;line-height:1.7}.rink-heading-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.rink-panel .panelhead .chip{max-width:none;font-size:15px}.rink-controls{padding:19px 24px;gap:14px;border-bottom:1px solid #dbe6f3;background:#f6faff}.rink-controls select{font-size:17px;font-weight:600;min-height:52px;padding:12px;min-width:170px;flex:1}.rink-canvas{overflow-x:auto;overscroll-behavior-x:contain;padding:12px;background:#edf5fc;border-radius:0 0 14px 14px}.hockey-rink{display:block;width:100%;height:auto;min-width:850px;max-height:none}.rink-position{font:800 20px Arial,sans-serif;fill:#fff}.rink-name-first{font:500 17px Arial,sans-serif;fill:#416782}.rink-name{font-family:Arial,sans-serif;font-weight:750;fill:#153e60}.rink-player circle{stroke-width:4;fill:#146bba}.rink-player rect{fill:white;stroke:#acc8e2;stroke-width:1.5}.rink-player.goalie circle{fill:#d87c29}.rink-caption{font-size:14px;line-height:1.7;padding:16px 24px;margin:0}.rink-heading-actions .button{font-size:16px;min-height:44px}#line-team{font-size:18px;min-height:52px;padding:12px;min-width:240px}.tabs:has([data-kind]) .tab{font-size:17px;padding:14px 20px}#detail:has(.rink-zoom){width:min(1500px,98vw);max-width:98vw;max-height:96vh;padding:20px}.rink-zoom h2{font-size:24px;margin:6px 30px 15px 0}.rink-zoom .hockey-rink{min-width:1100px}.formation-layout .rink-canvas:focus-visible{outline:3px solid #f4b449;outline-offset:2px}@media(max-width:1100px){.source-pie-content{grid-template-columns:1fr;padding:15px 22px}.source-pie{max-width:200px}.source-chart-legend{width:100%}.source-chart-legend>div{padding:8px 0}.formation-layout .linegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.rink-panel .panelhead{align-items:flex-start;flex-wrap:wrap;gap:15px}}@media(max-width:720px){#detail:has(.team-profile-heading){padding:17px 12px}.team-profile-jumps{top:-17px}.team-profile-jumps button{font-size:13px}.full-team-section{scroll-margin-top:70px}.source-chart-grid{grid-template-columns:1fr;gap:17px}.source-chart-heading{padding:16px 18px}.source-chart-heading h3{font-size:18px}.source-pie-content{grid-template-columns:minmax(120px,165px) minmax(0,1fr);padding:17px 13px;gap:10px}.source-chart-legend span{font-size:14px}.source-chart-legend b{font-size:18px}.source-chart-legend small{font-size:12px}.source-bar-line{grid-template-columns:minmax(0,1fr) 76px;gap:10px}.source-chart.expanded .source-pie-content{grid-template-columns:1fr;padding:22px}.source-chart.expanded .source-pie{max-width:260px}.source-chart.expanded .source-chart-legend span{font-size:16px}.formation-layout .linegrid{grid-template-columns:1fr!important;padding:20px;gap:22px}.formation-layout .slot select{font-size:18px}.formation-layout .panelhead{padding:18px 20px;flex-wrap:wrap;gap:12px}.formation-layout .panelhead h3{font-size:22px}.formation-layout .linemetrics{padding:17px 20px;gap:20px}.formation-layout .linemetrics b{font-size:24px}.formation-layout .line-comment{padding:18px 20px}.formation-layout .line-comment p{font-size:16px}.rink-controls{padding:16px;gap:10px}.rink-controls select{font-size:16px;min-width:140px}.rink-heading-actions{gap:8px}.rink-caption{padding:14px 18px}.tabs:has([data-kind]) .tab{font-size:16px;padding:13px 16px}.rink-zoom h2{font-size:20px}}

/* Personal profile: readable cards, explicit club choice and delivery status. */
.account-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(400px,2fr);gap:24px;align-items:start}.account-card{padding:28px;background:#fff;border:1px solid #dce5ef;border-radius:20px;box-shadow:0 8px 28px #153e6810;font-size:17px;line-height:1.55}.account-card h2{font-size:28px;line-height:1.2;margin:8px 0 16px}.account-eyebrow{font-size:13px;font-weight:800;letter-spacing:1.5px;color:#1765a7}.account-card form{display:grid;gap:18px;margin:22px 0}.account-card label{display:grid;gap:7px;font-weight:600}.account-card input:not([type=checkbox]),.account-card select{width:100%;font-size:17px;padding:12px;border:1px solid #b9cbdc;border-radius:10px;background:#fff;color:#153047;box-sizing:border-box}.account-card input[readonly]{background:#f1f5f9;color:#4c6072}.account-clubs{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.account-club{min-height:120px;border:2px solid #e2e9f2;border-radius:14px;padding:14px 8px;background:#f7faff;cursor:pointer;color:#153047;font-family:inherit;font-size:16px;font-weight:600;line-height:1.25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.account-club img{width:52px;height:52px;object-fit:contain}.account-club:hover{border-color:#4c97d1;background:#edf7ff}.account-club.selected{border-color:#087fb5;background:#dff5ff;box-shadow:0 0 0 2px #087fb520}.account-club:focus-visible{outline:3px solid #ec9b23;outline-offset:3px}.account-mail{grid-column:1/-1;border-top:5px solid #edaf3e}.account-mail form{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}.account-mail-status{display:inline-block;background:#fff0c7;color:#74501b;padding:8px 14px;border-radius:10px;font-weight:700}.account-card .account-check{display:flex;align-items:center;grid-column:1/-1;gap:12px}.account-check input{width:22px;height:22px;accent-color:#087fb5}.account-preview{background:#f3f7fb;padding:18px;border-radius:12px;margin-top:22px}.account-preview summary{cursor:pointer;font-weight:700}.account-home{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;background:linear-gradient(120deg,#124a79,#176c96);color:white;border-radius:18px;padding:26px;font-size:18px}.account-home p{margin:7px 0 0}.account-home .button{background:white;color:#154b73;white-space:nowrap}.account-save-state{color:#28654a;font-size:15px}.account-favorite{border-top:5px solid #17a5b8}@media(max-width:900px){.account-layout{grid-template-columns:1fr}.account-mail{grid-column:auto}.account-card{padding:20px}}@media(max-width:550px){.account-mail form{grid-template-columns:1fr}.account-home{align-items:flex-start;flex-direction:column}.account-clubs{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* All clubs share a single weekly timeline. */
.form-controls{display:flex;align-items:end;gap:20px;flex-wrap:wrap;margin:22px 0}.form-controls label,.form-chart-tools label{display:grid;gap:8px;font-size:16px;font-weight:700}.form-controls select,.form-chart-tools select{font:inherit;min-height:48px;padding:10px 36px 10px 14px;border:1px solid #b9cddd;border-radius:10px;background:white;color:#163c58}.form-week-buttons{display:flex;gap:10px}.form-awards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0 28px}.form-award{border-radius:18px;padding:24px;border:1px solid #c5e5d6;background:linear-gradient(130deg,#edfbf3,#fff);box-shadow:0 5px 18px #173c5d08}.form-worst{border-color:#f1c9cf;background:linear-gradient(130deg,#fff0f2,#fff)}.form-award .team{font-size:23px;font-weight:800;white-space:normal}.form-award .badge,.form-award .club-logo{width:52px;height:52px}.form-award-score{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin-top:18px}.form-award-score strong{font-size:30px;color:#17734e}.form-worst .form-award-score strong{color:#ad3449}.form-award-score span,.form-award p{font-size:17px}.form-chart-tools{padding:20px 24px 6px;display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap}.form-chart-scroll{overflow-x:auto;padding:8px 16px 0}.form-timeline{display:block;width:100%;min-width:1050px;height:auto}.form-timeline text{font-size:15px;font-family:inherit;fill:#466177}.form-timeline g[role=button]{cursor:pointer}.form-timeline circle:focus{outline:none;stroke:#102c43;stroke-width:4}.form-legend{display:flex;gap:9px 14px;flex-wrap:wrap;padding:12px 24px 22px}.form-legend button,.form-legend>span{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;background:#f3f7fb;border:1px solid #dce5ed;border-radius:9px;color:#24415c;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;cursor:pointer}.form-legend button[aria-pressed=false]{opacity:.45;background:#fff}.form-legend button:focus-visible{outline:3px solid #e9a82b;outline-offset:2px}.form-legend button>span,.form-legend>span>i{width:22px;height:4px;border-radius:3px;background:var(--line-color)}.form-chart-note{padding:0 24px 20px;font-size:15px;color:#557087}.form-method{padding:20px;background:#f0f5f9;border-radius:12px;line-height:1.65;font-size:16px;margin:22px 0}.form-method summary{cursor:pointer;font-weight:700}.form-chart-zoom{width:min(1500px,90vw)}.form-chart-zoom .form-timeline{min-width:1200px}.button[disabled]{opacity:.4;cursor:default}@media(max-width:700px){.form-awards{grid-template-columns:1fr}.form-award{padding:20px}.form-controls label{width:100%}.form-controls select{max-width:100%;width:100%}.form-chart-tools{padding:18px}.form-legend{padding:10px 18px 18px}.form-award .team{font-size:21px}}

.form-timeline .form-logo-name{font-size:13px;font-weight:700;fill:#173b54}.form-timeline .form-logo-value{font-size:12px;fill:#537086}.form-legend img{width:28px;height:28px;object-fit:contain}.form-size-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:15px 24px;background:#f2f7fb;border-block:1px solid #e0e8ef;margin-top:15px}.form-size-controls label{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600}.form-size-controls input{width:160px;accent-color:#176d9c}.form-size-controls output{min-width:58px;font-size:16px;font-weight:800;color:#17486a}.form-chart-scroll{max-height:850px;overflow:auto;scrollbar-gutter:stable}.form-chart-zoom .form-chart-scroll{max-height:68vh}.form-chart-zoom .form-size-controls{position:sticky;top:0;z-index:2;border-radius:10px}.form-chart-zoom .form-timeline{min-width:1050px}#detail:has(.form-chart-zoom){width:96vw;max-width:1800px;max-height:96vh}.form-chart-zoom{width:100%}@media(max-width:600px){.form-size-controls{padding:14px;gap:9px}.form-size-controls input{width:110px}.form-size-controls .button{padding:10px 12px}.form-chart-scroll{max-height:65vh}.form-legend img{width:25px;height:25px}}
.form-logo-tip{cursor:help;filter:drop-shadow(0 2px 2px #143b5725)}.form-logo-tip:focus{outline:none}.form-logo-tip:focus circle{stroke-width:4}
.form-playback{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:18px 24px;background:#eaf5fd;border-block:1px solid #cce3f2;margin-top:18px}.form-playback .button{font-size:16px;min-height:44px}.form-playback label{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:600}.form-playback select{font:inherit;background:white;border:1px solid #abc9dc;border-radius:8px;padding:8px}.form-playback [data-form-play-status]{font-size:16px;font-weight:700;color:#225f85}.form-playback+.form-size-controls{margin-top:0}@media(max-width:600px){.form-playback{padding:15px}.form-playback [data-form-play-status]{width:100%}}
.player-filter-card{background:white;border:1px solid #d6e4ef;border-top:4px solid #1394b0;border-radius:16px;padding:24px;margin:18px 0;font-size:16px}.player-quick{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.player-quick button{background:#eff5fb;color:#235371;border:1px solid #d2e2ef;border-radius:24px;padding:10px 16px;font-weight:700}.player-quick button.active{background:#176ca0;border-color:#176ca0;color:white}.player-filter-controls{display:grid;grid-template-columns:2fr 2fr 1fr;gap:18px}.player-filter-card label{display:grid;gap:7px;font-weight:600}.player-filter-card input,.player-filter-card select{width:100%;font:inherit;background:#fbfdff;border:1px solid #bed1df;border-radius:9px;padding:11px;color:#173c56;min-height:46px}.player-rules{display:grid;gap:12px;margin:22px 0}.player-rule{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:end;padding:16px;background:#f1f7fb;border-radius:12px}.player-rule>.button{min-height:46px;font-size:22px}.player-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px}.player-filter-actions>span{color:#58738a;font-size:14px}.player-result-count{font-size:17px;margin:22px 0}.player-result-count strong{color:#176ca0}.player-selected-value{font-weight:800;color:#126993}.player-sort{font:inherit;font-weight:700;background:none;border:0;color:inherit;padding:4px;white-space:nowrap}.player-sort.active{color:#0c71a5}.player-sort:focus-visible{outline:2px solid #138bb2;border-radius:3px}@media(max-width:750px){.player-filter-card{padding:17px}.player-filter-controls{grid-template-columns:1fr}.player-rule{grid-template-columns:1fr 1fr auto;gap:10px;padding:13px}.player-rule>label:first-child{grid-column:1/-1}.player-rule>.button{grid-column:3}.player-quick button{font-size:15px}}

/* Readable scorebook: category colours, compact charts, clear values. */
.tone-blue{--section-accent:#146bb8;--section-soft:#edf5ff}.tone-teal{--section-accent:#087f72;--section-soft:#e9f8f3}.tone-orange{--section-accent:#b65d0c;--section-soft:#fff4e4}.tone-purple{--section-accent:#7547b4;--section-soft:#f5effc}
.full-team-section .team-section-heading{background:var(--section-soft);border:0;border-left:6px solid var(--section-accent);border-radius:6px;padding:13px 18px;color:var(--section-accent);margin-bottom:16px;box-shadow:none}
.full-team-section .team-section-heading span{color:var(--section-accent);font-size:23px}.full-team-section .team-section-heading p{color:#536575;margin:3px 0 0;font-size:15px}
.full-team-section th{background:var(--section-soft);color:var(--section-accent);font-size:14px;text-transform:none;letter-spacing:0}.full-team-section td{padding:11px 16px;font-variant-numeric:tabular-nums}.full-team-section tbody tr:nth-child(even){background:#f5f8fb}.full-team-section tbody tr:hover{background:var(--section-soft)}.full-team-section td:not(:first-child){font-weight:650}.full-team-section .panelhead{background:#fff;border-bottom:2px solid var(--section-soft)}
#detail .team-profile-heading{padding:18px 22px;background:#123450;border-radius:12px;min-height:0}#detail .team-profile-heading h1{font-size:32px;margin:2px 0}#detail .team-profile-heading .club-badge{width:70px;height:70px}.team-profile-toolbar{margin:14px 0;gap:10px}.full-profile-intro{font-size:14px;margin:8px 0 16px}.team-profile-jumps button{border-radius:6px;padding:9px 12px}.team-kpis .stat{padding:16px 18px;min-height:0;background:#fff!important;color:#183b59!important;border-top:4px solid #267be0;box-shadow:none}.team-kpis .stat:nth-child(2){border-color:#0a947c}.team-kpis .stat:nth-child(3){border-color:#e18c24}.team-kpis .stat:nth-child(4){border-color:#8d5bbe}.team-kpis .stat .value{font-size:29px;color:#183b59}.team-kpis .stat .label,.team-kpis .stat small{color:#596d80!important}.team-season-progress{margin:12px 0}
.source-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 22px}.source-chart-heading{padding:12px 14px;gap:8px}.source-chart-heading h3{font-size:16px}.source-pie-content{grid-template-columns:110px minmax(0,1fr);gap:12px;padding:14px}.source-pie{max-width:110px}.source-chart-legend>div{padding:6px 0}.source-chart-legend span{font-size:14px}.source-chart-legend b{font-size:18px}.source-chart-legend small{font-size:12px}.source-chart.expanded .source-pie-content{grid-template-columns:300px minmax(0,1fr)}
.player-profile-title{display:flex;align-items:center;gap:18px;padding:12px 0 22px;border-bottom:2px solid #dce6ef;margin-bottom:22px}.player-profile-title h1{margin:2px 0 8px;font-size:32px}.player-profile-title .club-badge{width:80px;height:80px}.player-stat-group{margin-bottom:24px;border:1px solid #dce5ed;border-top:4px solid var(--section-accent);border-radius:10px;overflow:hidden;background:white}.player-stat-group h2{font-size:20px;margin:0;padding:13px 18px;background:var(--section-soft);color:var(--section-accent)}.player-stat-group .detailgrid{padding:8px 18px;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px}.player-stat-group .detailitem{background:white;border:0;border-bottom:1px solid #e5ebf1;border-radius:0;padding:14px 0;min-width:0}.player-stat-group .detailitem small{font-size:14px;line-height:1.4;color:#536575;display:block}.player-stat-group .detailitem b{font-size:25px;color:#173b57;font-variant-numeric:tabular-nums;display:block;margin-top:5px}
@media(max-width:1150px){.source-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.player-stat-group .detailgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.source-chart-grid{grid-template-columns:1fr}.source-pie-content{grid-template-columns:110px minmax(0,1fr)}.player-stat-group .detailgrid{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 14px;gap:0 14px}.player-profile-title h1{font-size:26px}.source-chart.expanded .source-pie-content{grid-template-columns:1fr}.team-kpis .stat .value{font-size:26px}}

/* Keep wide tables and zoomed hockey graphics inside their own scrollers.
   Grid/flex children otherwise retain their min-content width on phones. */
.shell,main,#main,#detailbody{min-width:0}
.grid2,.stats,.prediction-panels,.formation-layout,.source-chart-grid,.account-layout,.form-awards{min-width:0}
.grid2>*,.stats>*,.prediction-panels>*,.formation-layout>*,.source-chart-grid>*,.account-layout>*,.form-awards>*{min-width:0}
.panel,.scroll,.rink-canvas,.form-chart-scroll,.team-profile-jumps{min-width:0;max-width:100%}
.scroll,.rink-canvas,.form-chart-scroll{overscroll-behavior-x:contain}
@media(max-width:720px){
 main{width:100%;padding:22px 14px 32px}
 .shell{width:100%;margin-left:0}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .grid2,.prediction-panels{grid-template-columns:minmax(0,1fr)}
 header{gap:8px;padding-inline:12px}.headright{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:6px}.crumb{min-width:0}
 .titlebar,.panelhead,.source-chart-heading{flex-wrap:wrap}
 .titlebar>*,.panelhead>*,.source-chart-heading>*,.leadrow .info{min-width:0}
 h1,h2,h3,.sub,.small,.note,.stat,.detailitem,.team-section-heading,.account-card,.form-award{overflow-wrap:anywhere}
 .stat{padding:14px 12px}.stat .value{font-size:26px}
 .loading{padding:70px 18px}
 .prediction-picker{flex-direction:column;align-items:stretch;gap:12px}.prediction-picker label{min-width:0;width:100%}
 .match-hero{padding:22px 14px}.club-matchup{gap:8px}.matchup-club{min-width:0;overflow-wrap:anywhere}
 .matchrow{grid-template-columns:minmax(0,1fr) 45px minmax(0,1fr);padding-inline:12px;gap:6px}.matchrow>*,.matchrow .team-link,.matchrow .team-link>span{min-width:0}.matchrow .team-link{white-space:normal;overflow-wrap:anywhere}
 .leadrow{gap:10px;padding-inline:15px}.leadrow .avatar,.leadrow strong{flex-shrink:0}
 .club-tile{min-width:0;overflow-wrap:anywhere}
 dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);padding:24px 14px}
 #detail:has(.team-profile-heading),#detail:has(.rink-zoom),#detail:has(.form-chart-zoom){width:calc(100% - 16px);max-width:calc(100% - 16px);padding:24px 12px 14px}
 #detail .team-profile-heading{padding:16px 12px;gap:12px}#detail .team-profile-heading>div{min-width:0}#detail .team-profile-heading>div:first-child{flex-shrink:0}#detail .team-profile-heading h1{font-size:25px}
 .team-profile-jumps{flex-wrap:wrap;overflow:visible;position:static}.team-profile-jumps button{white-space:normal;max-width:100%;text-align:left}
 .team-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-rate{min-width:0;padding:16px 8px}
 .source-chart-legend{min-width:0}.source-chart-legend span{overflow-wrap:anywhere}.source-chart-legend>div{column-gap:6px}
 .source-pie-content{grid-template-columns:90px minmax(0,1fr);padding:12px;gap:10px}.source-pie{max-width:90px}
 .source-chart.expanded .source-pie-content{grid-template-columns:minmax(0,1fr);padding:16px}
 .source-bars,.period-bars{padding:16px}.period-bar-row{grid-template-columns:75px minmax(0,1fr)}
 .player-profile-title{gap:12px}.player-profile-title>div{min-width:0}.player-profile-title>.club-badge{flex-shrink:0;width:60px;height:60px}
 .player-filter-controls,.player-rule,.player-filter-card label,.account-card label,.form-controls label,.form-chart-tools label{min-width:0}
 .player-rule{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.player-filter-card input,.player-filter-card select{min-width:0}
 .form-controls,.form-chart-tools,.form-size-controls,.form-playback,.rink-controls{min-width:0;max-width:100%}.form-controls label,.form-chart-tools label{max-width:100%}.form-week-buttons{flex-wrap:wrap}
 .form-size-controls label{flex-wrap:wrap;max-width:100%}.form-size-controls input{min-width:0;max-width:100%}
 .rink-controls select{min-width:0;flex-basis:130px}#line-team{min-width:0;width:100%}
 .account-card{min-width:0;padding:18px}.account-home .button{white-space:normal}.account-card input:not([type=checkbox]),.account-card select{min-width:0}
 #toast{left:14px;right:14px;bottom:14px;max-width:calc(100% - 28px)}
}
@media(max-width:360px){.club-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.team-rate-grid{grid-template-columns:minmax(0,1fr)}.source-pie-content{grid-template-columns:minmax(0,1fr)}.source-pie{max-width:120px}}

/* The metric navigation is a sibling of filters so it stays sticky through
   the complete player table, rather than stopping at the filter card. */
.player-stat-nav{position:sticky;top:0;z-index:10;display:flex;flex-wrap:wrap;gap:8px;padding:12px;margin:0 0 18px;background:#f2f5fcf5;border:1px solid #d5e2ef;border-radius:12px;box-shadow:0 4px 12px #17345412;min-width:0;max-width:100%}
.player-stat-nav button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.3;min-height:42px;padding:9px 13px}
.player-stat-nav button:focus-visible{outline:3px solid #eaa52c;outline-offset:2px}
@media(max-width:720px){
 .player-stat-nav{top:0;padding:8px;gap:6px;border-radius:0 0 10px 10px}
 .player-stat-nav button{font-size:13px;padding:8px 10px;min-height:38px}
 .team-profile-jumps{position:sticky;top:-24px;z-index:10;flex-wrap:wrap;padding:8px 0;background:#f1f6fdf7}
 .team-profile-jumps button{font-size:12px;padding:7px 9px;min-height:34px}
}
