:root{color-scheme:light;--page:#f4f7fb;--surface:#fff;--surface-alt:#f8fafc;--ink:#122038;--muted:#718198;--border:#e5ebf2;--accent:#007fae;--cyan:#35bdd2;--blue:#5578e9;--gold:#e4a83b;--green:#159c77;--red:#e36170;--shadow:0 8px 32px rgba(22,44,76,.045);--radius:18px;--sidebar:#0c1528;--sidebar-muted:#8b9dbb;--max:1536px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--page);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;font-feature-settings:'tnum' 1}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(63,190,225,.55);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}svg{display:block}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.035em}small{font-size:12px}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}::selection{background:rgba(66,188,211,.28)}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:var(--sidebar);color:#e8f0fc;z-index:100;overflow:auto;overscroll-behavior:contain;border-right:1px solid #20304a}.sidebar:before{content:"";position:absolute;top:-110px;right:-170px;width:350px;height:350px;background:radial-gradient(circle,#22b0d713,transparent 65%);pointer-events:none}.sidebar-inner{min-height:100%;padding:26px 15px 22px;display:flex;flex-direction:column;position:relative}.brand{display:flex;align-items:center;gap:12px;padding:2px 9px 35px}.brand-icon{width:43px;height:43px;flex:0 0 43px;background:linear-gradient(145deg,#243858,#121f37);border:1px solid #2d4963;border-radius:13px;display:grid;place-items:center;box-shadow:0 8px 20px #0003}.brand-icon svg{width:35px;height:35px}.brand-copy strong{display:block;font-size:18px;line-height:1.1;letter-spacing:-.045em;white-space:nowrap}.brand-copy strong em{font-style:normal;color:#63dcf1}.brand-copy small{display:block;color:#718ba6;font-size:8px;font-weight:800;letter-spacing:.105em;margin-top:6px;white-space:nowrap}.nav-caption{color:#6f839f;font-size:10px;font-weight:800;letter-spacing:.17em;margin:5px 16px 13px}.nav-link{display:flex;align-items:center;gap:13px;color:#9aacc7;min-height:47px;margin:3px 0;padding:12px 13px;border-radius:11px;font-weight:650;transition:background .18s,color .18s}.nav-link:hover{color:#fff;background:#ffffff0b}.nav-link.active{background:linear-gradient(95deg,#174361,#12304d);color:#fff;box-shadow:inset 3px 0 #46cee6}.nav-link svg{width:19px;height:19px;flex-shrink:0;opacity:.92}.nav-link.active svg{color:#61d7e8}.nav-link small{margin-left:auto;border-radius:6px;background:#ffffff13;padding:2px 6px;font-size:10px;color:#c1cbdb}.sidebar-spacer{flex:1;min-height:45px}.sidebar-bottom{padding:0 7px}.sidebar-data{display:flex;align-items:flex-start;gap:11px;padding:15px 11px;border:1px solid #2a3952;border-radius:13px;background:#18263b;min-width:0}.sidebar-data strong{display:block;font-size:12px;line-height:1.45}.sidebar-data small{display:block;color:#91a0b8;line-height:1.5;margin-top:4px;font-size:11px}.live-pulse{width:8px;height:8px;border-radius:50%;background:#52d4ae;box-shadow:0 0 0 4px #52d4ae13;margin-top:4px;flex:0 0 8px}.sidebar-foot{font-size:10px;color:#6a7c95;line-height:1.9;letter-spacing:.04em;padding:21px 7px 0}.sidebar-foot span{color:#94a7be}.main-area{margin-left:256px;min-width:0;flex:1;min-height:100vh;display:flex;flex-direction:column}.topbar{height:79px;flex:0 0 79px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 clamp(18px,3.5vw,48px);position:sticky;top:0;z-index:45}.topbar-left,.topbar-right{display:flex;align-items:center;gap:16px;min-width:0}.crumb{font-size:12px;color:var(--muted);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crumb strong{color:var(--ink)}.crumb-sep{padding:0 10px;color:#adb8c5}.season-pill{font-size:11px;color:#165775;font-weight:800;background:#e4f5fa;border:1px solid #cdebf4;border-radius:8px;white-space:nowrap;padding:8px 11px;letter-spacing:.04em}.global-search-wrap{position:relative;width:clamp(200px,25vw,340px)}.global-search-wrap input{border:1px solid var(--border);height:39px;width:100%;border-radius:10px;padding:0 38px 0 38px;color:var(--ink);background:var(--surface-alt);outline:none;font-size:12px;font-weight:550}.global-search-wrap input:focus{background:var(--surface);border-color:#88cce2;box-shadow:0 0 0 4px #2eb8da14}.global-search-wrap .search-glyph{position:absolute;left:12px;top:11px;width:17px;height:17px;color:#91a0b1;pointer-events:none}.search-shortcut{position:absolute;right:11px;top:10px;color:#a7b3c2;font-size:11px;border:1px solid var(--border);line-height:17px;border-radius:5px;min-width:18px;text-align:center;pointer-events:none}.search-suggestions{position:absolute;top:calc(100% + 9px);left:0;right:0;z-index:110;background:var(--surface);border:1px solid var(--border);border-radius:13px;box-shadow:0 20px 60px #07152b30;padding:7px;max-height:390px;overflow-y:auto}.search-suggestions[hidden]{display:none}.search-suggestions button{border:0;background:transparent;text-align:left;width:100%;padding:8px 9px;display:flex;gap:11px;align-items:center;border-radius:9px;color:var(--ink)}.search-suggestions button:hover,.search-suggestions button.active{background:var(--surface-alt)}.search-suggestions strong,.search-suggestions small{display:block}.search-suggestions strong{font-size:12px}.search-suggestions small{font-size:10px;color:var(--muted)}.icon-btn{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--border);background:var(--surface);color:var(--ink);display:grid;place-items:center;border-radius:10px;transition:background .2s}.icon-btn:hover{background:var(--surface-alt)}.icon-btn svg{width:18px;height:18px}.mobile-menu{display:none}.page-content{width:100%;max-width:var(--max);padding:30px clamp(18px,3.5vw,48px) 48px;margin:0 auto;flex:1}.site-footer{padding:0 clamp(18px,3.5vw,48px) 25px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px;color:#8b9bb1;max-width:var(--max);width:100%;margin:auto}.page-eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:850;color:var(--accent);display:flex;align-items:center;gap:8px}.page-eyebrow:before{content:"";width:17px;height:2px;background:var(--cyan);border-radius:3px}.page-heading{margin:0 0 23px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap}.page-heading h1{font-size:clamp(27px,3.3vw,36px);line-height:1.13;font-weight:800;margin:10px 0 7px}.page-heading p{color:var(--muted);font-size:13px;max-width:680px}.heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid var(--border);background:var(--surface);border-radius:10px;color:var(--ink);font-weight:750;font-size:12px;white-space:nowrap;line-height:1.3;transition:transform .18s,box-shadow .18s,border-color .18s}.btn:hover{transform:translateY(-1px);box-shadow:0 5px 18px #07152b12;border-color:#bfccd9}.btn svg{width:15px;height:15px}.btn-primary{background:#0d2a47;color:#fff;border-color:#0d2a47}.btn-primary:hover{background:#164166;border-color:#164166}.btn-accent{background:#15a8be;border-color:#15a8be;color:#fff}.btn-small{padding:8px 11px;font-size:11px}.btn-quiet{background:transparent;border:1px solid var(--border)}.btn-noborder{border-color:transparent;background:transparent}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panel-pad{padding:22px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.panel-head h2,.panel-head h3{font-size:17px;line-height:1.28;font-weight:800}.panel-head p{color:var(--muted);font-size:12px;margin-top:5px}.panel-link{font-size:11px;font-weight:800;color:var(--accent);border:0;background:transparent;white-space:nowrap;padding:4px 0;display:inline-flex;align-items:center;gap:4px}.panel-link:hover{text-decoration:underline}.panel-link svg{width:14px;height:14px}.text-muted{color:var(--muted)}.text-sm{font-size:12px}.text-xs{font-size:10px}.num{font-variant-numeric:tabular-nums}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill{border:1px solid var(--border);background:var(--surface-alt);padding:5px 8px;border-radius:8px;font-size:10px;font-weight:750;display:inline-flex;align-items:center;gap:5px;color:var(--muted);white-space:nowrap}.pill-cyan{background:#e7f7fa;border-color:#cdeef3;color:#07748c}.pill-gold{background:#fffae9;border-color:#f4e5b8;color:#95731f}.pill-green{background:#e9f9f2;border-color:#d0efdf;color:#16815e}.pill-red{background:#fff1f3;border-color:#f4d3d8;color:#ba5260}.score-pill{border-radius:6px;font-size:9px;font-weight:800;padding:3px 6px}.score-W{background:#e4f6ec;color:#158454}.score-L{background:#fcecef;color:#c65a6b}
/* HERO */
.hero{border-radius:22px;position:relative;overflow:hidden;background:linear-gradient(108deg,#0c1d33 0%,#123850 64%,#0b5268 100%);color:#fff;min-height:257px;padding:36px 38px;margin-bottom:19px;border:1px solid #2b596c;box-shadow:0 16px 36px #10374a1d}.hero:before{content:"";position:absolute;right:-145px;top:-188px;width:600px;height:500px;opacity:.27;transform:rotate(-18deg);border-radius:50%;border:2px solid #a0dbeb}.hero:after{content:"";position:absolute;right:-90px;bottom:-175px;width:470px;height:350px;opacity:.2;transform:rotate(15deg);border-radius:50%;border:2px solid #a0dbeb}.hero-rink{position:absolute;right:1.5%;top:2%;height:96%;width:47%;opacity:.23;pointer-events:none}.hero-copy{position:relative;z-index:2;max-width:570px}.hero-eyebrow{display:flex;align-items:center;gap:8px;color:#79e5eb;letter-spacing:.16em;text-transform:uppercase;font-size:10px;font-weight:850}.hero-eyebrow span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#65e6e4}.hero h1{font-size:clamp(32px,4vw,52px);line-height:1.08;margin:17px 0 12px;font-weight:830;letter-spacing:-.055em}.hero h1 em{font-style:normal;color:#6bdded}.hero p{color:#c0d9e6;line-height:1.65;font-size:13px;max-width:480px}.hero-bottom{display:flex;align-items:center;gap:15px;margin-top:25px;flex-wrap:wrap}.hero-chip{font-size:11px;font-weight:750;color:#d1f5fc;border:1px solid #ffffff2c;border-radius:8px;padding:7px 10px;background:#ffffff0d}.hero .btn{background:#eefcff;border-color:#eefcff;color:#0e334d}.hero .btn:hover{background:#fff}.hero-player{position:absolute;right:8%;bottom:0;width:180px;height:224px;display:flex;justify-content:center;align-items:flex-end;opacity:.95;z-index:1}.hero-player img{max-height:100%;max-width:100%;width:auto;object-fit:contain;filter:drop-shadow(0 14px 20px #07132b66)}.hero-player .hero-ghost{width:145px;height:150px;border-radius:80px 80px 0 0;background:#f1faff12;display:grid;place-items:center;color:#ffffff44;font-size:62px;font-weight:900}.hero-player-name{position:absolute;right:23px;bottom:18px;font-size:11px;font-weight:800;color:#def8fc;z-index:3;max-width:160px;text-align:right;text-shadow:0 2px 6px #07152b}
/* STATS & OVERVIEW */
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 19px}.kpi{padding:20px 22px;min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;position:relative;overflow:hidden}.kpi .kpi-label{font-size:11px;color:var(--muted);font-weight:700}.kpi .kpi-value{display:block;font-size:31px;line-height:1.14;letter-spacing:-.055em;font-weight:840;margin-top:10px}.kpi .kpi-sub{font-size:10px;color:var(--muted);margin-top:6px;display:block}.kpi-icon{width:41px;height:41px;border-radius:13px;background:#e7f8fa;color:#168caa;display:grid;place-items:center;flex:0 0 41px}.kpi-icon svg{width:20px;height:20px}.kpi:nth-child(2) .kpi-icon{background:#eff0fe;color:#7282df}.kpi:nth-child(3) .kpi-icon{background:#fff5e5;color:#c28e3a}.kpi:nth-child(4) .kpi-icon{background:#e8f8f0;color:#24a074}.dash-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(320px,1fr);gap:17px;margin-bottom:17px}.dash-grid.equal{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.chart-wrap{width:100%;position:relative;min-width:0}.chart-wrap svg{width:100%;height:auto;display:block}.chart-notes{margin-top:12px;color:var(--muted);font-size:11px}.legend-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.leader-list{display:flex;flex-direction:column;gap:2px}.leader-item{display:flex;align-items:center;gap:13px;border-radius:11px;padding:9px 7px;background:transparent;border:0;color:var(--ink);text-align:left;width:100%}.leader-item:hover{background:var(--surface-alt)}.rank{width:21px;text-align:center;color:#9da9b7;font-weight:850;font-size:12px;flex:0 0 21px}.rank.top{color:#e0a32f}.player-pic{display:grid;place-items:center;flex:0 0 auto;border-radius:12px;overflow:hidden;position:relative;background:linear-gradient(160deg,#d7eaf1,#bdcbd9);color:#497086;font-weight:850;letter-spacing:-.04em;border:1px solid #cddde5}.player-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;background:#d7e4ed}.player-pic.tiny{width:34px;height:37px;border-radius:9px;font-size:10px}.player-pic.small{width:41px;height:45px;font-size:12px}.player-pic.medium{width:54px;height:60px;font-size:16px}.player-pic.large{width:132px;height:152px;font-size:37px;border-radius:17px}.leader-name{min-width:0;flex:1}.leader-name strong{display:block;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-name small{display:block;color:var(--muted);margin-top:3px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-value{display:flex;align-items:baseline;gap:5px;font-size:21px;font-weight:850;letter-spacing:-.045em;min-width:49px;justify-content:flex-end}.leader-value small{font-size:9px;color:var(--muted);font-weight:750;letter-spacing:0}.goal-breakdown{display:flex;flex-direction:column;gap:19px;margin-top:2px}.meter-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:650;margin-bottom:7px}.meter-row-head small{color:var(--muted);font-weight:750}.meter{height:9px;background:var(--surface-alt);border-radius:20px;overflow:hidden;display:flex}.meter span{height:100%;display:block;transition:width .3s}.meter.cyan span{background:linear-gradient(90deg,#37abc4,#17bcd1)}.meter.blue span{background:linear-gradient(90deg,#547be1,#88a4f2)}.meter.green span{background:linear-gradient(90deg,#20ad83,#83d6b8)}.meter.gold span{background:linear-gradient(90deg,#cf9a47,#e8bc70)}.meter.pink span{background:linear-gradient(90deg,#d75e7b,#eaa8ad)}.split-meter{display:flex;overflow:hidden;border-radius:7px;height:17px;background:var(--surface-alt)}.split-meter .goals{background:#39bdd0}.split-meter .assists{background:#6583db}.state-legend{display:flex;gap:13px;font-size:10px;color:var(--muted);margin-top:14px}.state-legend i{display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:3px}.state-row{margin:13px 0}.state-row-label{font-size:11px;font-weight:750;display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.recent-games{display:flex;flex-direction:column;gap:7px}.mini-game{width:100%;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:var(--surface);text-align:left;color:var(--ink)}.mini-game:hover{background:var(--surface-alt);border-color:#b3d6e3}.mini-game .team-side{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.mini-game .team-side.away{justify-content:flex-end;text-align:right}.mini-game .team-side .team-compact{font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-game .score{font-size:18px;font-weight:850;min-width:48px;text-align:center;letter-spacing:-.05em}.mini-game .game-date{font-size:9px;color:var(--muted);display:block;text-align:center}.team-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;flex:0 0 34px;background:var(--mark-bg,#dceff4);border:1px solid var(--mark-border,#c6dfe7);color:var(--mark-ink,#146e84);font-size:10px;font-weight:900;letter-spacing:-.04em}.team-mark.sm{width:28px;height:28px;border-radius:9px;flex-basis:28px;font-size:9px}.team-mark.lg{width:70px;height:70px;border-radius:18px;flex-basis:70px;font-size:21px}.team-mark.xl{width:98px;height:98px;border-radius:24px;flex-basis:98px;font-size:25px}
/* TABLES */
.filter-bar{display:flex;gap:11px;align-items:flex-end;flex-wrap:wrap;margin:18px 0 17px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.filter{display:flex;flex-direction:column;gap:6px;min-width:105px;flex:1}.filter.wide{flex:2.2;min-width:185px}.filter label{font-size:10px;letter-spacing:.045em;font-weight:800;color:var(--muted)}.field,.select{background:var(--surface-alt);color:var(--ink);border:1px solid var(--border);border-radius:9px;height:39px;width:100%;padding:0 10px;outline:none;font-size:12px;min-width:0}.field:focus,.select:focus{border-color:#82c4d8;box-shadow:0 0 0 3px #28bcd11a}.filter-end{display:flex;align-items:center;gap:9px}.switch-label{height:39px;display:flex;align-items:center;gap:7px;white-space:nowrap;color:var(--muted);font-size:11px;font-weight:700}.switch-label input{accent-color:#1399b0}.table-panel{overflow:hidden}.table-top{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid var(--border)}.table-top h2{font-size:16px}.table-top p{font-size:11px;color:var(--muted);margin-top:4px}.data-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.data-table th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.075em;font-weight:800;background:var(--surface-alt);border-bottom:1px solid var(--border);padding:13px 12px;white-space:nowrap}.data-table td{padding:11px 12px;font-size:12px;border-bottom:1px solid var(--border);vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:var(--surface-alt)}.data-table th:first-child,.data-table td:first-child{padding-left:21px}.data-table th:last-child,.data-table td:last-child{padding-right:21px}.data-table .right{text-align:right}.data-table .highlight{color:var(--accent);font-weight:850}.data-table .muted-col{color:var(--muted)}.data-table .name-cell{display:flex;align-items:center;gap:11px;min-width:160px;text-align:left}.data-table .name-cell a,.name-button{border:0;background:none;color:var(--ink);font-weight:800;text-align:left;padding:0;line-height:1.2}.data-table .name-cell a:hover,.name-button:hover{color:var(--accent)}.data-table .name-cell small{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:500}.data-table .team-cell{display:flex;align-items:center;gap:8px;white-space:nowrap;max-width:190px}.data-table .team-cell span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.data-table .rankcell{font-weight:850;color:var(--muted);width:30px}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:14px 20px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.empty-results{text-align:center;padding:44px 15px;color:var(--muted)}.empty-results h3{font-size:16px;color:var(--ink);margin-bottom:5px}.segment{display:inline-flex;align-items:center;background:var(--surface-alt);border:1px solid var(--border);border-radius:10px;padding:3px;gap:2px}.segment button{padding:7px 11px;font-size:11px;font-weight:750;border:0;color:var(--muted);background:transparent;border-radius:7px}.segment button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 7px #00000013}.fav-btn{background:transparent;border:0;color:#c4ceda;padding:6px;display:inline-grid;place-items:center;vertical-align:middle;border-radius:8px}.fav-btn:hover,.fav-btn.saved{color:#d5a138}.fav-btn svg{height:17px;width:17px}
/* TEAMS */
.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.team-card{padding:20px;border-radius:16px;display:flex;flex-direction:column;align-items:stretch;gap:16px;text-align:left;color:var(--ink);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);transition:transform .18s,border-color .18s,box-shadow .18s;min-width:0}.team-card:hover{transform:translateY(-3px);border-color:#b5d9e4;box-shadow:0 12px 35px #0b385618}.team-card-top{display:flex;align-items:center;gap:12px}.team-card-top h3{font-size:13px;font-weight:800;line-height:1.35}.team-card-top small{font-size:10px;color:var(--muted)}.team-record{display:flex;align-items:flex-end;justify-content:space-between;gap:6px}.team-record strong{font-size:26px;font-weight:850;letter-spacing:-.045em;line-height:1}.team-record small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.team-record .pct{font-size:12px;font-weight:800;color:var(--accent)}.team-card-foot{border-top:1px solid var(--border);padding-top:12px;display:flex;justify-content:space-between;gap:9px;color:var(--muted);font-size:10px}.team-card-foot strong{color:var(--ink);display:block;font-size:12px}.team-detail-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;background:linear-gradient(125deg,#11253f,#164b61);border-radius:20px;padding:29px 33px;color:white;position:relative;overflow:hidden;margin-bottom:18px}.team-detail-hero:before{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff13;border-radius:50%;right:-80px;top:-165px}.team-title-row{display:flex;align-items:center;gap:19px;position:relative;z-index:1}.team-detail-hero h1{font-size:clamp(25px,3vw,38px);line-height:1.15;margin:8px 0 5px}.team-detail-hero p{font-size:12px;color:#c0d9e9}.team-hero-stat{text-align:right;position:relative;z-index:1}.team-hero-stat strong{display:block;font-size:35px;letter-spacing:-.06em;line-height:1.05}.team-hero-stat span{color:#bbd1e0;font-size:11px}.team-headline-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:17px}
/* PROFILE */
.back-link{background:transparent;color:var(--accent);border:0;font-size:11px;font-weight:800;display:flex;align-items:center;gap:8px;margin-bottom:18px;padding:2px 0}.back-link svg{width:14px;height:14px}.profile-hero{position:relative;background:linear-gradient(114deg,#0c1c33,#16445e);color:white;border:1px solid #284960;border-radius:20px;overflow:hidden;padding:27px 30px;display:flex;align-items:center;gap:24px;margin-bottom:17px;min-height:204px}.profile-hero:after{content:"";position:absolute;right:-100px;bottom:-165px;width:370px;height:370px;border:1px solid #ffffff19;border-radius:50%}.profile-hero .player-pic.large{border:1px solid #ffffff2d;background:#d8eaf0;flex-shrink:0;z-index:1}.profile-hero-main{z-index:1;min-width:0;flex:1}.profile-hero .page-eyebrow{color:#8ae9f0}.profile-hero h1{font-size:clamp(26px,3.5vw,42px);font-weight:850;line-height:1.15;margin:9px 0}.profile-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;color:#cce3e9}.profile-meta .profile-sep{opacity:.4}.profile-hero-actions{display:flex;gap:8px;align-items:center;margin-top:16px;flex-wrap:wrap}.profile-hero-actions .btn{background:#ffffff16;border-color:#ffffff34;color:white}.profile-hero-actions .btn:hover{background:#ffffff2d}.profile-watermark{position:absolute;right:16px;top:4px;font-size:145px;font-weight:900;line-height:1;letter-spacing:-.1em;opacity:.05;user-select:none}.profile-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-bottom:17px}.profile-kpi{padding:20px 18px}.profile-kpi span{display:block;font-size:10px;letter-spacing:.04em;color:var(--muted);font-weight:750;text-transform:uppercase}.profile-kpi strong{display:block;font-size:32px;line-height:1.1;letter-spacing:-.055em;font-weight:850;margin-top:9px}.profile-kpi small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.profile-kpi.featured{border-color:#bbdfe9;background:linear-gradient(130deg,#e8f9fb,#fff)}.profile-kpi.featured strong{color:#117c9f}.profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(285px,1fr);gap:17px;margin-bottom:17px}.table-canvas{overflow-x:auto;max-width:100%}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mini-stat{background:var(--surface-alt);border-radius:11px;padding:15px}.mini-stat strong{font-size:19px;font-weight:850;display:block}.mini-stat span{color:var(--muted);font-size:10px}.team-history{display:flex;gap:9px;flex-wrap:wrap}.history-chip{background:var(--surface-alt);border:1px solid var(--border);border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:9px;min-width:0}.history-chip strong{font-size:11px;display:block}.history-chip small{font-size:10px;color:var(--muted)}.profile-section-title{margin-bottom:16px}.profile-section-title h3{font-size:16px}.profile-section-title p{font-size:11px;color:var(--muted);margin-top:3px}
/* GAMES */
.games-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:13px}.game-list-group{margin-bottom:20px}.game-group-title{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;margin:17px 0 9px}.game-result{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:15px 20px;display:flex;align-items:center;gap:16px;width:100%;text-align:left;color:var(--ink);margin-bottom:8px;transition:border-color .15s,background .15s}.game-result:hover{border-color:#a7d6e5;background:var(--surface-alt)}.game-result .game-day{font-size:10px;color:var(--muted);width:61px;flex-shrink:0}.game-result .game-matchup{flex:1;display:flex;align-items:center;justify-content:center;gap:15px;min-width:0}.game-result .game-team{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.game-result .game-team.right{flex-direction:row-reverse;text-align:right}.game-result .game-team strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-result .game-team small{display:block;color:var(--muted);font-size:10px}.game-result .game-scores{font-weight:850;font-size:24px;letter-spacing:-.04em;white-space:nowrap;min-width:80px;text-align:center}.game-result .game-scores b{font-weight:800;color:var(--muted)}.game-result .view-arrow{color:#a7b9c5;width:17px}.game-detail-score{display:flex;align-items:center;justify-content:center;gap:22px;margin-bottom:17px;padding:32px 15px;background:linear-gradient(120deg,#0d1e36,#18516a);border:1px solid #25495d;color:white;border-radius:19px}.game-detail-score .club{flex:1;display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;max-width:270px;min-width:0}.game-detail-score .club strong{font-size:14px}.game-detail-score .club small{color:#c5d4e4;font-size:11px}.game-detail-score .big-score{font-size:clamp(43px,8vw,76px);font-weight:900;line-height:1;letter-spacing:-.07em;white-space:nowrap}.game-detail-score .big-score span{color:#658398;margin:0 5px}.game-detail-score .mid-label{font-size:9px;color:#7ce7ed;letter-spacing:.16em;font-weight:900;text-align:center;margin-top:8px}.timeline{display:flex;flex-direction:column;gap:0}.timeline-event{display:grid;grid-template-columns:72px 14px minmax(0,1fr) auto;gap:13px;align-items:start;border-bottom:1px solid var(--border);padding:16px 0}.timeline-event:last-child{border:0}.timeline-time{font-weight:800;font-size:11px;color:var(--muted);padding-top:2px}.timeline-node{height:12px;width:12px;border-radius:50%;border:3px solid var(--surface);box-shadow:0 0 0 2px #79cde0;background:#24b6cf;margin-top:4px}.timeline-body strong{font-weight:850;font-size:12px}.timeline-body small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.5}.timeline-event .goal-type{color:#177b93;background:#e7f8fa;padding:4px 7px;border-radius:6px;font-size:9px;font-weight:850;white-space:nowrap}.coverage-note{border:1px solid var(--border);border-radius:11px;background:var(--surface-alt);padding:13px 15px;color:var(--muted);font-size:11px;line-height:1.6}
/* COMPARE */
.compare-selector{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:15px;align-items:end;margin-bottom:20px}.compare-versus{text-align:center;font-size:11px;font-weight:900;color:var(--muted);padding-bottom:13px}.compare-box{display:flex;flex-direction:column;gap:7px}.compare-box label{font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:850;letter-spacing:.08em}.compare-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:17px}.compare-card{padding:21px;display:flex;align-items:center;gap:14px;position:relative;overflow:hidden}.compare-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#22b0c9}.compare-card.second:before{background:#637ee7}.compare-card h3{font-size:19px}.compare-card small{color:var(--muted);display:block;margin-top:3px}.compare-card .compare-big{font-size:25px;margin-left:auto;font-weight:900;letter-spacing:-.05em}.compare-bar-row{display:grid;grid-template-columns:85px minmax(0,1fr) 85px;gap:12px;align-items:center;margin:21px 0}.compare-bar-row .metric-label{font-size:11px;font-weight:800;text-align:center;color:var(--muted)}.compare-bar-row strong{text-align:right;font-size:13px;font-weight:850}.compare-bar-row strong.last{text-align:left}.compare-tracks{display:grid;grid-template-columns:1fr 1fr;gap:4px;height:14px;align-items:center}.compare-track-left,.compare-track-right{height:11px;border-radius:6px;background:var(--surface-alt);display:flex;align-items:center}.compare-track-left{justify-content:flex-end}.compare-track-left span{height:100%;background:#2db7cd;border-radius:6px 2px 2px 6px}.compare-track-right span{height:100%;background:#7586dd;border-radius:2px 6px 6px 2px}.compare-caption{font-size:11px;color:var(--muted);margin-top:15px;text-align:center}
/* DATA & UTILITY */
.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.info-panel h3{font-size:17px;margin-bottom:10px}.info-panel p,.info-panel li{font-size:12px;line-height:1.75;color:var(--muted)}.info-panel ol,.info-panel ul{padding-left:18px;margin:11px 0 0}.file-item{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--border);gap:10px;font-size:11px;font-weight:750}.file-item:last-child{border-bottom:0}.file-item span:last-child{color:var(--green);font-weight:800}.kicker{letter-spacing:.14em;font-size:10px;font-weight:900;color:var(--accent);text-transform:uppercase;margin-bottom:7px}.callout{background:#e9f8fc;border:1px solid #c4ebf3;border-radius:12px;padding:14px 16px;color:#236179;font-size:11px;line-height:1.7;margin:16px 0}.loading-panel{text-align:center;padding:100px 20px}.loading-panel h1{font-size:22px;margin-top:18px}.loading-panel p{font-size:12px;color:var(--muted);margin-top:8px}.loading-mark{width:46px;height:46px;border:4px solid #c8e4ee;border-top-color:#269bb5;display:inline-block;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;right:23px;bottom:22px;z-index:300;border-radius:12px;padding:12px 17px;background:#12344b;color:white;box-shadow:0 16px 50px #0b253f4d;font-size:12px;font-weight:700;opacity:0;transform:translateY(14px);pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translateY(0)}.mobile-scrim{display:none}.note{font-size:11px;color:var(--muted);line-height:1.6}.inline-link{color:var(--accent);font-weight:700}.inline-link:hover{text-decoration:underline}.headline-small{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin:18px 0 9px}
/* DARK MODE */
body[data-theme="dark"]{color-scheme:dark;--page:#0e1727;--surface:#142135;--surface-alt:#1a2a41;--ink:#edf5fe;--muted:#91a5bd;--border:#2a3b50;--accent:#55d3e4;--shadow:0 8px 30px rgba(0,0,0,.14)}body[data-theme="dark"] .season-pill{background:#143c4f;color:#8ce8f4;border-color:#285468}body[data-theme="dark"] .kpi-icon{background:#193f4b;color:#73d5e9}body[data-theme="dark"] .kpi:nth-child(2) .kpi-icon{background:#2c3154;color:#a1aefd}body[data-theme="dark"] .kpi:nth-child(3) .kpi-icon{background:#453623;color:#e2b963}body[data-theme="dark"] .kpi:nth-child(4) .kpi-icon{background:#1b4436;color:#6cdbad}body[data-theme="dark"] .pill-cyan{background:#164354;border-color:#265968;color:#76dce9}body[data-theme="dark"] .pill-gold{background:#473c20;border-color:#69552d;color:#edca71}body[data-theme="dark"] .pill-green{background:#164333;border-color:#30664b;color:#8ce2b4}body[data-theme="dark"] .pill-red{background:#442631;border-color:#5d3742;color:#eb95aa}body[data-theme="dark"] .profile-kpi.featured{background:linear-gradient(120deg,#183c4e,#142135);border-color:#285b6a}body[data-theme="dark"] .profile-kpi.featured strong{color:#69ddea}body[data-theme="dark"] .callout{background:#173446;border-color:#2c5765;color:#b6dbe7}body[data-theme="dark"] .score-W{background:#193d31;color:#69d6a7}body[data-theme="dark"] .score-L{background:#4d2b35;color:#eea3ad}body[data-theme="dark"] .player-pic{color:#45697e;background:linear-gradient(160deg,#c1d4da,#9db3c7)}
/* ADAPTIVE */
@media(max-width:1350px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi{padding:17px}.kpi .kpi-value{font-size:27px}.hero-player{right:3%}}
@media(max-width:1100px){.sidebar{width:222px}.main-area{margin-left:222px}.sidebar-inner{padding-left:11px;padding-right:11px}.brand{gap:9px}.brand-copy strong{font-size:16px}.brand-copy small{font-size:7px}.dash-grid{grid-template-columns:minmax(0,1.2fr) minmax(285px,1fr)}.hero-player{opacity:.58}.data-table .hide-md{display:none}}
@media(max-width:920px){.sidebar{transform:translateX(-105%);width:270px;box-shadow:12px 0 50px #0713264d;transition:transform .23s}.sidebar.open{transform:translateX(0)}.mobile-scrim{position:fixed;inset:0;background:#09162c8c;z-index:90;display:block}.mobile-scrim[hidden]{display:none}.main-area{margin-left:0}.mobile-menu{display:grid}.topbar{height:66px;flex-basis:66px}.page-content{padding-top:23px}.hero{min-height:234px}.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.topbar{padding:0 16px}.topbar-left,.topbar-right{gap:9px}.crumb>span:first-child{display:none}.crumb-sep{display:none}.global-search-wrap{width:clamp(132px,38vw,250px)}.global-search-wrap input{padding-right:11px}.search-shortcut{display:none}.season-pill{padding:7px 8px;font-size:10px}.page-content{padding:20px 15px 40px}.site-footer{padding:0 16px 22px}.page-heading{margin-bottom:17px}.page-heading h1{font-size:27px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:16px;min-height:119px}.kpi .kpi-value{font-size:29px}.dash-grid,.dash-grid.equal,.profile-grid{grid-template-columns:1fr;gap:13px;margin-bottom:13px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.team-card{padding:15px;gap:14px}.hero{padding:28px 24px;min-height:242px}.hero h1{max-width:420px}.hero-player{right:-36px;opacity:.23;width:145px;height:200px}.hero-player-name{display:none}.profile-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.profile-kpi{grid-column:span 2;padding:15px 14px}.profile-kpi:nth-child(4),.profile-kpi:nth-child(5){grid-column:span 3}.profile-kpi strong{font-size:28px}.profile-hero{padding:21px;gap:14px;min-height:175px}.profile-hero .player-pic.large{width:96px;height:122px;flex-basis:96px;font-size:26px}.profile-hero h1{font-size:27px}.team-headline-stats{grid-template-columns:repeat(2,1fr)}.compare-bar-row{grid-template-columns:47px minmax(0,1fr) 47px;gap:7px}.compare-card{padding:14px}.compare-card h3{font-size:14px}.compare-card .compare-big{font-size:19px}.compare-card .player-pic{width:45px;height:49px;flex-basis:45px}.info-grid{grid-template-columns:1fr}.data-table th,.data-table td{padding:11px 8px}.data-table th:first-child,.data-table td:first-child{padding-left:12px}.data-table th:last-child,.data-table td:last-child{padding-right:12px}.data-table .hide-sm{display:none}.data-table .name-cell{gap:7px;min-width:150px}.data-table .name-cell .player-pic{width:32px;height:35px;flex-basis:32px}.filter-bar{gap:10px;padding:12px}.panel-pad{padding:17px}.game-result{padding:12px 10px;gap:6px}.game-result .game-matchup{gap:5px}.game-result .game-team{gap:6px}.game-result .game-team strong{font-size:10px}.game-result .game-team .team-mark{width:26px;height:26px;flex-basis:26px;font-size:8px}.game-result .game-scores{font-size:19px;min-width:55px}.game-result .game-day{width:46px;font-size:9px}}
@media(max-width:480px){.crumb{font-size:11px;max-width:115px}.topbar-right{gap:6px}.global-search-wrap{width:39px;transition:width .15s}.global-search-wrap input{width:39px;padding:0 0 0 38px;cursor:pointer}.global-search-wrap:focus-within{width:48vw}.global-search-wrap:focus-within input{width:100%;padding:0 9px 0 36px;cursor:text}.global-search-wrap:not(:focus-within) input::placeholder{color:transparent}.global-search-wrap:focus-within .search-suggestions{left:auto;right:-85px;width:min(330px,92vw)}.hero{min-height:248px;padding:24px 20px}.hero h1{font-size:33px}.hero p{font-size:12px}.hero-bottom{gap:8px}.hero-chip{font-size:10px;padding:6px 8px}.kpi .kpi-value{font-size:27px}.kpi-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px}.kpi-icon svg{width:17px;height:17px}.team-grid{gap:9px}.team-card{padding:13px}.team-card-top{gap:8px}.team-card-top h3{font-size:11px}.team-card-top .team-mark{width:31px;height:31px;flex-basis:31px}.team-record strong{font-size:22px}.team-card-foot{font-size:9px}.team-detail-hero{padding:21px;align-items:flex-start}.team-title-row{gap:10px}.team-title-row .team-mark{width:55px;height:55px;flex-basis:55px;font-size:17px}.team-detail-hero h1{font-size:24px}.team-hero-stat strong{font-size:24px}.profile-hero{padding:15px}.profile-hero .player-pic.large{width:79px;height:105px;flex-basis:79px}.profile-hero h1{font-size:24px}.profile-hero-actions{gap:5px}.profile-hero-actions .btn{padding:7px 9px;font-size:10px}.profile-kpi{padding:14px 11px}.profile-kpi strong{font-size:25px}.profile-kpi span{font-size:9px}.game-detail-score{gap:9px;padding:22px 8px}.game-detail-score .club strong{font-size:10px}.game-detail-score .club .team-mark{width:55px;height:55px;flex-basis:55px}.game-detail-score .big-score{font-size:45px}.timeline-event{grid-template-columns:48px 12px minmax(0,1fr) auto;gap:7px}.timeline-event .goal-type{font-size:8px}.compare-selector{gap:5px;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.compare-versus{font-size:9px}.compare-card{gap:8px;flex-wrap:wrap}.compare-card .compare-big{margin-left:0}.site-footer{flex-direction:column;align-items:flex-start;gap:3px}.data-table .hide-xs{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.sidebar,.topbar,.site-footer,.back-link,.btn,.filter-bar,.table-footer,.fav-btn{display:none!important}.main-area{margin:0}.page-content{max-width:none;padding:5mm}.panel,.profile-hero,.team-detail-hero{break-inside:avoid;box-shadow:none}.dash-grid,.profile-grid{grid-template-columns:1fr 1fr}.profile-kpis{grid-template-columns:repeat(5,1fr)}.hero{min-height:180px}body{background:white!important;color:#132138!important}}
.chart-microstats{border-top:1px solid var(--border);margin-top:19px;padding-top:17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chart-microstats>span{display:flex;flex-direction:column;gap:4px}.chart-microstats small{color:var(--muted);font-weight:800;letter-spacing:.1em;font-size:9px}.chart-microstats strong{font-size:18px;letter-spacing:-.035em;font-weight:850}
@media(max-width:360px){.game-detail-score{gap:3px;padding:18px 5px}.game-detail-score .big-score{font-size:34px}.game-detail-score .big-score span{margin:0 1px}.game-detail-score .club .team-mark{width:43px;height:43px;flex-basis:43px;border-radius:12px;font-size:13px}.game-detail-score .club strong{font-size:9px;overflow-wrap:anywhere}.game-detail-score .club{gap:6px}}
@media(max-width:720px){.dash-grid,.dash-grid.equal,.profile-grid{grid-template-columns:minmax(0,1fr)}.timeline-event .timeline-body{min-width:0;overflow-wrap:anywhere}}

/* BCHL INSIGHT — IDENTIFIED & PLAYER-FIRST EXPERIENCE
   These enhancements intentionally extend the original light/dark design. */
.initials-only{background:linear-gradient(155deg,#e2f3f8,#c9dde9);border:1px solid #c1d6e1;color:#26627b}
.profile-hero .initials-only{background:linear-gradient(145deg,#2e6377,#15516a);color:#e9fbff;border:1px solid #ffffff54;box-shadow:0 12px 30px #05172a33}
body[data-theme="dark"] .initials-only{background:linear-gradient(155deg,#284d61,#183047);border-color:#39556a;color:#c3f5ff}
body[data-theme="dark"] .profile-hero .initials-only{background:linear-gradient(155deg,#386a7a,#17546f);border-color:#5ca1ac;color:white}
.hero .btn.hero-secondary{background:#ffffff12;border-color:#ffffff49;color:white}
.hero .btn.hero-secondary:hover{background:#ffffff23}
.hero-analytics{right:4%;bottom:24px;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:180px;height:190px}
.hero-analytics .hero-ghost{width:124px;height:124px;border-radius:32px;background:#ffffff14;border:1px solid #ffffff38;color:#cbf7ff;font-size:42px;box-shadow:0 12px 30px #04152440}
.hero-analytics small{color:#e6faff;text-align:center;font-weight:800;font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.04em}
.leader-select-row{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--border)}
.leader-select-row:last-of-type{border-bottom:0}
.leader-select-row .leader-item{min-width:0;flex:1}
.leader-select-row .fav-btn{flex-shrink:0;margin-right:2px}
.home-panel-footer{border-top:1px solid var(--border);padding-top:16px;margin-top:13px}
.identified-mini-list{display:flex;flex-direction:column;gap:8px}
.identified-mini{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid var(--border);border-radius:12px;transition:background .2s}
.identified-mini:hover{background:var(--surface-alt)}
.identified-mini>span:nth-child(2){flex:1;min-width:0}
.identified-mini strong,.identified-mini small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.identified-mini strong{font-size:12px}
.identified-mini small{font-size:10px;color:var(--muted);margin-top:3px}
.identified-mini b{font-size:17px;font-weight:850;white-space:nowrap}
.identified-mini b small{font-weight:600;display:inline;font-size:10px}
.home-empty{padding:34px 16px}
.home-empty svg{margin:0 auto 9px;color:var(--accent)}
.home-empty p{font-size:12px;max-width:290px;margin:8px auto 17px;line-height:1.7}
.home-cta-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}
.home-cta{padding:17px;display:flex;align-items:center;gap:12px;transition:border-color .2s,transform .2s}
.home-cta:hover{border-color:#88c9db;transform:translateY(-2px)}
.home-cta>svg:first-child{color:var(--accent);width:22px;height:22px;flex-shrink:0}
.home-cta>span{flex:1;min-width:0}
.home-cta strong,.home-cta small{display:block}
.home-cta strong{font-size:13px}
.home-cta small{font-size:10px;color:var(--muted);margin-top:3px;line-height:1.5}
.home-cta>svg:last-child{color:var(--muted);flex-shrink:0}
.individual-picker{margin-bottom:17px}
.player-picker-grid{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(220px,1.4fr);gap:13px;align-items:end}
.picker-help{margin-top:10px;color:var(--muted);font-size:10px}
.identified-on{color:var(--accent);background:var(--surface-alt);border-color:#63c6db}
.season-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.season-kpis .profile-kpi{padding:18px 15px}
.season-kpis .profile-kpi strong{font-size:29px}
.season-kpis .profile-kpi small{font-size:10px}
.stat-details-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.stat-details-list>div{background:var(--surface);display:flex;gap:12px;align-items:center;justify-content:space-between;padding:13px 12px;min-width:0}
.stat-details-list span{font-size:11px;color:var(--muted)}
.stat-details-list strong{font-size:13px;font-weight:850;text-align:right;overflow-wrap:anywhere}
.state-detail-table{min-width:300px}
.state-detail-table tfoot{background:var(--surface-alt)}
.compare-card-action{display:block;margin-top:9px}
.compare-card-action .btn{padding:6px 9px;font-size:10px}
.compare-card>span:nth-child(2){min-width:0;flex:1}
.compare-card h3{overflow-wrap:anywhere}
.compare-card .compare-big{flex-shrink:0}
.compare-progression{margin:0 0 17px}
.compare-chart-legend{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:6px 0 0;color:var(--muted);font-size:12px;font-weight:750}
.compare-chart-legend span{display:flex;align-items:center;gap:8px}
.compare-chart-legend i{height:9px;width:23px;border-radius:999px}
.identified-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:17px}
.identified-summary .panel{min-width:0}
.identified-add-panel{margin-bottom:17px}
.identified-picker-box{position:relative;max-width:650px;margin-top:6px}
.identified-picker-box>label{display:block;font-size:11px;color:var(--muted);font-weight:800;margin-bottom:9px}
.identified-picker-shell{position:relative}
.identified-picker-shell input{height:44px;padding:0 15px}
.identified-picker-results{max-height:290px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:5px;padding:8px;margin-top:7px;background:var(--surface-alt);border:1px solid var(--border);border-radius:13px}
.identified-picker-option{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:var(--surface);border:1px solid transparent;color:var(--ink);border-radius:10px;padding:8px 10px;min-width:0;transition:border-color .17s,background .17s}
.identified-picker-option:hover,.identified-picker-option:focus-visible{border-color:#84c8d8;background:var(--surface)}
.identified-picker-option>span:nth-child(2){flex:1;min-width:0}
.identified-picker-option strong,.identified-picker-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.identified-picker-option strong{font-size:12px}
.identified-picker-option small{font-size:10px;color:var(--muted);margin-top:3px}
.identified-picker-option .picker-add{font-size:10px;color:var(--accent);font-weight:850;display:inline-flex;align-items:center;gap:6px;flex-shrink:0}
.picker-empty{color:var(--muted);padding:14px;font-size:12px}
.identified-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px}
.identified-store-note{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);flex:1;min-width:180px}
.identified-store-note svg{color:var(--accent);flex:0 0 15px}
.identified-tool-actions{display:flex;gap:7px;flex-wrap:wrap}
.identified-filters{display:flex;flex-wrap:wrap;gap:11px;padding:12px 17px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface)}
.identified-filters .filter{min-width:150px}
.identified-filters .filter.wide{flex:2}
.identified-scroll-hint{color:var(--muted);font-size:10px;padding:10px 18px;display:flex;align-items:center;gap:6px}
.identified-table-wrap{overflow:auto;max-width:100%;max-height:none;border-top:1px solid var(--border);scrollbar-width:thin;scrollbar-color:#7b9ca5 transparent}
.identified-table{min-width:1340px;width:max-content;min-width:max(100%,1340px)}
.identified-table th,.identified-table td{padding:12px 12px;white-space:nowrap}
.identified-table th{font-size:10px}
.identified-table .sticky-player{position:sticky;left:0;z-index:2;background:var(--surface);min-width:220px;box-shadow:1px 0 0 var(--border)}
.identified-table thead .sticky-player{background:var(--surface-alt);z-index:4}
.identified-actions{display:flex;align-items:center;gap:6px}
.identified-remove{background:var(--surface-alt);color:var(--muted)}
.identified-remove:hover{color:var(--red)}
.identified-detail-row td{white-space:normal!important;background:var(--surface-alt)!important;padding:18px!important;position:static!important}
.identified-detail-grid{display:grid;grid-template-columns:1fr .9fr;gap:16px;align-items:start}
.identified-detail-grid>div{min-width:0;padding:17px;background:var(--surface);border-radius:13px;border:1px solid var(--border)}
.identified-detail-grid .identified-detail-chart{grid-column:1/-1}
.identified-detail-title{color:var(--ink);font-size:12px;font-weight:850;margin-bottom:13px}
.identified-detail-grid .history-title{margin-top:25px}
.identified-detail-chart .btn{margin-top:12px}
.identified-mobile-list{display:none}
.identified-empty-state{text-align:center;padding:50px 20px 57px}
.identified-empty-icon{margin:0 auto 17px;width:60px;height:60px;border-radius:19px;background:var(--surface-alt);color:var(--accent);display:grid;place-items:center}
.identified-empty-state h3{font-size:18px}
.identified-empty-state p{max-width:430px;margin:12px auto 20px;color:var(--muted);font-size:12px;line-height:1.75}
.identified-unmatched,.identified-method{margin-top:13px;font-size:11px}
body[data-theme="dark"] .identified-table .sticky-player{background:var(--surface)}
body[data-theme="dark"] .identified-table thead .sticky-player{background:var(--surface-alt)}
body[data-theme="dark"] .identified-on{background:#163e4d;border-color:#357d92;color:#a1f1fa}
body[data-theme="dark"] .profile-kpi.featured{background:linear-gradient(135deg,#193b4b,#182b3a);border-color:#2c6473}
body[data-theme="dark"] .profile-kpi.featured strong{color:#74dff0}
@media(max-width:1350px){.season-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.identified-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.home-cta-row{grid-template-columns:1fr}}
@media(max-width:920px){.hero-analytics{opacity:.65}.identified-detail-grid{grid-template-columns:1fr}}
@media(max-width:720px){
  .hero-analytics{display:none}
  .player-picker-grid{grid-template-columns:1fr}
  .season-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .season-kpis .profile-kpi{padding:15px 12px}
  .season-kpis .profile-kpi strong{font-size:26px}
  .stat-details-list{grid-template-columns:1fr}
  .identified-table-wrap{display:none}
  .identified-scroll-hint{display:none}
  .identified-mobile-list{display:grid;gap:11px;padding:13px}
  .identified-mobile-card{padding:15px}
  .identified-mobile-top{display:flex;align-items:center;gap:11px;min-width:0}
  .identified-mobile-top>span:nth-child(2){flex:1;min-width:0}
  .identified-mobile-top strong,.identified-mobile-top small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .identified-mobile-top strong{font-size:15px}
  .identified-mobile-top small{font-size:11px;color:var(--muted);margin-top:4px}
  .identified-mobile-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:15px 0;border-bottom:1px solid var(--border);margin-top:6px}
  .identified-mobile-stats>div{text-align:center;min-width:0}
  .identified-mobile-stats strong,.identified-mobile-stats small{display:block}
  .identified-mobile-stats strong{font-size:18px;letter-spacing:-.045em;font-weight:850}
  .identified-mobile-stats small{font-size:9px;color:var(--muted);margin-top:3px}
  .identified-mobile-actions{display:flex;gap:7px;flex-wrap:wrap;padding-top:12px}
  .identified-mobile-detail{border-top:1px solid var(--border);padding-top:14px;margin-top:14px}
  .identified-mobile-detail .identified-detail-grid{display:flex;flex-direction:column}
  .identified-mobile-detail .identified-detail-grid>div{width:100%}
  .identified-filters{gap:8px;padding:12px}
  .identified-filters .filter{flex:1 1 42%;min-width:0}
  .identified-filters .filter.wide{flex:1 1 100%}
  .identified-summary{gap:10px}
  .identified-add-panel{padding:16px}
  .compare-cards{grid-template-columns:1fr}
  .compare-card{padding:13px}
  .compare-card .player-pic.medium{width:43px;height:50px;flex:0 0 43px}
  .compare-card h3{font-size:16px}
  .compare-card .compare-big{font-size:22px}
  .profile-hero{gap:12px}
  .profile-hero .player-pic.large{width:76px;height:94px;font-size:26px;flex:0 0 76px}
  .profile-hero .profile-hero-main h1{font-size:clamp(23px,7vw,34px)}
}
@media(max-width:430px){
  .season-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .identified-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .identified-tools{align-items:stretch}
  .identified-tool-actions{width:100%}
  .identified-tool-actions .btn{flex:1}
  .identified-mobile-stats strong{font-size:16px}
  .profile-hero{flex-wrap:wrap}
  .compare-selector{grid-template-columns:1fr;gap:8px}
  .compare-versus{padding:0;text-align:center}
  .compare-bar-row{grid-template-columns:45px minmax(0,1fr) 45px;gap:6px}
  .compare-bar-row strong{font-size:11px}
  .compare-card-action .btn{font-size:10px}
}
@media print{
  .identified-add-panel,.identified-filters,.identified-tool-actions,.identified-scroll-hint,.identified-actions,.identified-mobile-actions,.picker-help,.player-picker-grid{display:none!important}
  .identified-table-wrap{display:block!important;overflow:visible}
  .identified-mobile-list{display:none!important}
  .identified-table{font-size:9px;min-width:0;width:100%}
  .identified-table th,.identified-table td{font-size:8px;padding:4px}
  .identified-table th:last-child,.identified-table td:last-child{display:none}
}

/* Quick-access tabs on phones; original desktop sidebar remains unchanged. */
.mobile-bottom-nav{display:none}
@media(max-width:920px){
  .mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;position:fixed;z-index:70;bottom:0;left:0;right:0;padding:8px max(9px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-right));background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -10px 25px #06152915}
  .mobile-tab{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;gap:3px;min-height:47px;border-radius:12px;padding:6px 2px;color:var(--muted);font-size:10px;font-weight:800;transition:background .15s}
  .mobile-tab svg{width:19px;height:19px;flex-shrink:0}
  .mobile-tab span{display:block;white-space:nowrap}
  .mobile-tab.active{background:var(--surface-alt);color:var(--accent)}
  .mobile-tab i{position:absolute;top:0;right:11%;font-style:normal;color:#fff;background:#0d93b5;padding:0 5px;border-radius:999px;min-width:14px;font-size:9px;line-height:15px;text-align:center}
  .main-area .site-footer{padding-bottom:calc(93px + env(safe-area-inset-bottom))}
}
@media print{.mobile-bottom-nav{display:none!important}.main-area .site-footer{padding-bottom:0}}

/* ──────────────────────────────────────────────────────────────────────────
   BCHL Insight v1.3 — publication-grade player-first layout
   Carefully layered over original light/dark theme.
   ────────────────────────────────────────────────────────────────────────── */
html{min-width:0}
body{overflow-x:clip}
.page-content,.main-area,.profile-grid,.dash-grid,.profile-kpis,.season-kpis,.stat-sheet{min-width:0;max-width:100%}
.page-content{overflow:clip}
.panel{min-width:0}

/* Curated read-only status; not a visitor-editable favorite control. */
.identified-status{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-size:10px;font-weight:850;letter-spacing:.1em;
  color:#c3f6ff;background:rgba(90,219,235,.12);
  border:1px solid rgba(127,232,241,.32);border-radius:10px;
  padding:10px 12px;white-space:nowrap
}
.identified-status svg{height:14px;width:14px;flex-shrink:0}
.compare-card .identified-status{padding:5px 8px;font-size:9px;color:var(--accent);background:var(--surface-alt);border-color:var(--border);margin-top:8px}

/* Profiles: hero stays aligned at all widths, controls use their own row. */
.profile-hero{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:22px;row-gap:15px;align-items:center;padding:26px 28px;min-height:0}
.profile-hero>.player-pic.large{grid-column:1;grid-row:1;align-self:center;width:90px;height:100px;flex-basis:auto;font-size:30px}
.profile-hero .profile-hero-main{grid-column:2;grid-row:1;min-width:0}
.profile-hero .profile-hero-actions{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:0;min-width:0}
.profile-hero .profile-hero-actions .btn{min-height:39px;padding:10px 14px;font-size:11px}
.profile-hero .profile-meta{gap:8px;line-height:1.5}
.profile-hero .profile-meta .pill{white-space:normal}
.profile-hero .profile-watermark{pointer-events:none}

/* Six stats, six visible cards. Never allow inherited grid-column spans to create implicit columns. */
.season-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin:0 0 17px}
.season-kpis>.profile-kpi{grid-column:auto!important;min-width:0;min-height:107px;display:flex;flex-direction:column;justify-content:center;padding:15px 15px!important;border-radius:15px}
.season-kpis .profile-kpi span{font-size:11px;letter-spacing:.09em;font-weight:800}
.season-kpis .profile-kpi strong{font-size:clamp(23px,2.5vw,36px);line-height:1.05;margin-top:12px;white-space:nowrap;letter-spacing:-.05em}
.season-kpis .profile-kpi.featured{background:linear-gradient(135deg,#e4f7fb,#f9fdff);border-color:#95d4e1}
body[data-theme="dark"] .season-kpis .profile-kpi.featured{background:linear-gradient(135deg,#1b4d61,#172d40);border-color:#357185}

/* Compact professional stat sheet, grouped rather than 20 enormous rows. */
.stat-sheet{display:grid;grid-template-columns:1fr;gap:13px}
.stat-sheet-group{min-width:0;background:var(--surface-alt);border:1px solid var(--border);border-radius:14px;padding:12px}
.stat-sheet-group h3{font-size:10px;font-weight:850;letter-spacing:.15em;color:var(--accent);margin:0 0 10px}
.stat-sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.stat-sheet-cell{min-width:0;min-height:62px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:9px 8px;display:flex;flex-direction:column;justify-content:space-between;gap:4px}
.stat-sheet-cell small{display:block;font-size:10px;letter-spacing:.035em;color:var(--muted);font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.stat-sheet-cell strong{display:block;color:var(--ink);font-size:19px;line-height:1.12;letter-spacing:-.04em;font-weight:850;overflow-wrap:anywhere}
.stat-sheet-group:last-child .stat-sheet-cell strong{font-size:14px;letter-spacing:0}

/* Public curated database, predictable across visitors and devices. */
.identified-config-banner{display:flex;align-items:center;gap:14px;padding:17px 20px;margin-bottom:17px}
.identified-config-banner .config-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#e5f7fa;color:#117f99}
body[data-theme="dark"] .identified-config-banner .config-mark{background:#16475c;color:#85e8f4}
.identified-config-banner>div{min-width:0;flex:1}
.identified-config-banner strong{font-size:13px;font-weight:850}
.identified-config-banner p{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}
.identified-config-banner code{font-size:11px;color:var(--accent);font-weight:800}
.identified-config-banner .pill{flex-shrink:0}
.identified-table .name-cell{max-width:245px}
.identified-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.identified-table th,.identified-table td{font-size:11px}
.identified-table th{font-size:10px}
.identified-table tr:hover td{background:var(--surface-alt)}
.identified-table tr:hover .sticky-player{background:var(--surface-alt)}
body[data-theme="dark"] .identified-table tr:hover .sticky-player{background:var(--surface-alt)}
.identified-mobile-card{min-width:0}
.identified-mobile-top{min-width:0}
.identified-card-rank{display:grid;place-items:center;width:24px;height:28px;flex:0 0 24px;border-radius:8px;background:var(--surface-alt);font-size:10px;font-weight:850;color:var(--accent)}
.identified-card-label{margin-left:auto;font-size:10px;color:var(--muted);font-weight:850}
.identified-mobile-stats strong{font-variant-numeric:tabular-nums}
.identified-mobile-actions .btn{min-height:40px}
.identified-mobile-detail .identified-detail-grid>div{min-width:0}
.identified-mobile-detail .identified-detail-chart{width:100%}
.identified-mobile-detail .chart-wrap{min-width:0;width:100%;max-width:100%}

/* Better content width on large workstations. */
@media(min-width:1450px){
  .profile-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
  .season-kpis{gap:13px}
  .season-kpis>.profile-kpi{padding:19px!important}
}
@media(max-width:1180px){
  .season-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .season-kpis>.profile-kpi{min-height:99px}
  .season-kpis .profile-kpi strong{font-size:29px}
  .profile-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:720px){
  .page-content{padding:17px 14px calc(98px + env(safe-area-inset-bottom));overflow:clip}
  .topbar{padding:0 13px}
  .profile-hero{grid-template-columns:66px minmax(0,1fr);column-gap:13px;row-gap:13px;align-items:start;padding:19px 17px;min-height:0;border-radius:17px}
  .profile-hero>.player-pic.large{width:62px;height:66px;font-size:22px;flex-basis:auto;border-radius:15px}
  .profile-hero .profile-hero-main h1{font-size:clamp(23px,6.6vw,30px);line-height:1.1;margin:6px 0 7px;overflow-wrap:anywhere}
  .profile-hero .page-eyebrow{font-size:9px;letter-spacing:.12em}
  .profile-hero .profile-meta{font-size:11px;gap:5px 7px}
  .profile-hero .profile-meta .pill{padding:3px 7px;font-size:9px}
  .profile-hero .profile-hero-actions{grid-column:1/-1;grid-row:2;align-items:stretch;gap:8px;margin-top:0}
  .profile-hero .profile-hero-actions .btn{min-height:42px;font-size:12px;flex:1 1 110px;padding:9px 12px}
  .profile-hero .identified-status{flex:0 0 auto;padding:9px 10px;font-size:10px}
  .season-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}
  .season-kpis>.profile-kpi{grid-column:auto!important;min-height:90px;padding:13px 12px!important;border-radius:13px}
  .season-kpis .profile-kpi span{font-size:10px;letter-spacing:.1em}
  .season-kpis .profile-kpi strong{font-size:27px;line-height:1.07;margin-top:9px}
  .profile-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;margin-bottom:13px}
  .profile-grid>.panel{min-width:0;padding:16px}
  .stat-sheet{grid-template-columns:1fr;gap:11px}
  .stat-sheet-group{padding:11px}
  .stat-sheet-grid{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat-sheet-cell{padding:9px 8px;min-height:58px}
  .stat-sheet-cell strong{font-size:18px}
  .identified-config-banner{padding:14px;align-items:flex-start;gap:10px}
  .identified-config-banner .config-mark{width:32px;height:32px;flex-basis:32px}
  .identified-config-banner .pill{display:none}
  .identified-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .identified-mobile-list{gap:10px;padding:12px}
  .identified-mobile-card{padding:14px}
  .identified-mobile-top{gap:9px}
  .identified-mobile-top .player-pic.medium{width:42px;height:46px;flex:0 0 42px}
  .identified-mobile-top>span:nth-of-type(3){min-width:0;flex:1}
  .identified-card-label{display:none}
  .identified-mobile-top strong{font-size:14px}
  .identified-mobile-top small{font-size:10px}
  .identified-mobile-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:14px 0;margin-top:7px}
  .identified-mobile-stats strong{font-size:clamp(14px,4vw,18px)}
  .identified-mobile-stats small{font-size:9px}
  .identified-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .identified-mobile-actions .btn{width:100%;min-width:0;white-space:normal;font-size:10px;padding:9px 6px}
  .identified-filters{gap:8px;padding:12px}
  .identified-filters .filter{flex:1 1 39%;min-width:0}
  .identified-filters .filter.wide{flex:1 1 100%}
  .compare-card .player-pic.medium{width:44px;height:48px;flex:0 0 44px}
  .compare-card .compare-big{font-size:25px}
  .panel-pad{padding:17px}
  .panel-head{margin-bottom:15px}
  .panel-head h2,.panel-head h3{font-size:16px}
  .chart-wrap{min-width:0;max-width:100%}
  .chart-wrap svg{max-width:100%}
  .state-detail-table{min-width:0;width:100%}
  .state-detail-table td,.state-detail-table th{padding:10px 7px}
}
@media(max-width:370px){
  .page-content{padding-inline:11px}
  .profile-hero{padding:15px 13px;grid-template-columns:53px minmax(0,1fr);gap:10px}
  .profile-hero>.player-pic.large{width:51px;height:57px;font-size:18px}
  .profile-hero .profile-hero-main h1{font-size:22px}
  .profile-hero .profile-hero-actions .btn{font-size:10.5px;padding:8px 6px}
  .season-kpis>.profile-kpi{min-height:82px;padding:11px 9px!important}
  .season-kpis .profile-kpi strong{font-size:23px}
  .stat-sheet-group{padding:9px}
  .stat-sheet-cell{padding:8px 7px}
  .stat-sheet-cell strong{font-size:17px}
  .identified-mobile-card{padding:11px}
}
@media print{
  .identified-config-banner,.profile-hero-actions{display:none!important}
  .season-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .season-kpis>.profile-kpi{min-height:64px;padding:8px!important}
  .stat-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-sheet-group,.stat-sheet-cell{break-inside:avoid}
}

/* Final phone-fit adjustments after visual inspection. */
@media(max-width:720px){
  .identified-summary .kpi-icon{display:none}
  .identified-summary .kpi{min-height:108px;padding:15px}
  .identified-summary .kpi .kpi-value{font-size:clamp(24px,6.4vw,31px);white-space:nowrap}
  .profile-hero .identified-status{flex:1 1 100%;justify-content:flex-start}
  .profile-hero .profile-hero-actions .btn{flex:1 1 0;min-width:0;white-space:nowrap}
}
/* Decorative rink rings must never block touch targets. */
.profile-hero::after,.hero::before,.hero::after{pointer-events:none}
.profile-hero .profile-hero-actions{position:relative;z-index:3}
/* BCHL Insight v1.4 — Ontario Tech-inspired, single, fixed theme.
 * Official Ontario Tech palette: Future Blue #003C71, Simcoe Blue #0077CA,
 * Tech Tangerine #E75D2A and Spirit Navy #00283C.
 * This is an independent data tool; no official logo or wordmark is reproduced.
 */
:root,body[data-theme="ridgebacks"]{
  color-scheme:light;
  --page:#f1f5f9;
  --surface:#ffffff;
  --surface-alt:#f4f8fc;
  --ink:#00283C;
  --muted:#506779;
  --border:#d9e3ed;
  --accent:#0077CA;
  --cyan:#0077CA;
  --blue:#003C71;
  --gold:#E75D2A;
  --green:#126d58;
  --red:#b33a35;
  --sidebar:#00283C;
  --sidebar-muted:#a9c2d9;
  --shadow:0 8px 30px rgba(0,40,60,.055);
}
body{background:var(--page);color:var(--ink)}
.sidebar{background:#00283C;border-right-color:#1a4b67}
.sidebar:before{background:radial-gradient(circle,rgba(0,119,202,.17),transparent 65%)}
.brand-icon{background:linear-gradient(140deg,#003C71,#00283C);border-color:#235c7b}
.brand-copy strong em{color:#79cfff}
.brand-copy small{color:#a2c1d7;letter-spacing:.065em}
.nav-link{color:#b5c9dc}
.nav-link:hover{color:white;background:#0b4364}
.nav-link.active{color:white;background:linear-gradient(100deg,#005793,#003C71);box-shadow:inset 3px 0 #E75D2A}
.nav-link.active svg{color:#fff}
.sidebar-data{background:#07354d;border-color:#28546e}
.sidebar-data small{color:#b6ccdb}
.live-pulse{background:#7cd6ad;box-shadow:0 0 0 4px #7cd6ad23}
.topbar{background:#fff;border-bottom:2px solid #e2eaf2}
.season-pill{background:#e3f0fa;color:#003C71;border-color:#c6e2f6}
.global-search-wrap input:focus{border-color:#0077CA;box-shadow:0 0 0 3px #0077CA22}
.btn-primary{background:#003C71;color:#fff;border-color:#003C71}
.btn-primary:hover{background:#005793;border-color:#005793}
.pill-cyan{background:#e6f3fb;color:#003C71;border-color:#b5ddf4}
.kpi .kpi-value{color:#003C71}
.kpi:nth-child(2) .kpi-icon,.kpi:nth-child(3) .kpi-icon{color:#005793;background:#e9f3fa}
.profile-kpi.featured,.season-kpis .profile-kpi.featured{background:linear-gradient(120deg,#e2f2fc,#f7fbfe);border-color:#a5d7f3}
.profile-kpi.featured strong,.season-kpis .profile-kpi.featured strong{color:#003C71}
.profile-hero,.ridgebacks-hero{background:linear-gradient(120deg,#00283C 0%,#003C71 65%,#005793 100%);border-color:#195a85}
.profile-hero .initials-only{background:linear-gradient(155deg,#006ea8,#003C71);border-color:#5799bd;color:white}
.profile-hero .page-eyebrow{color:#a5dfff}
.profile-hero .profile-watermark{opacity:.065}
.profile-hero-actions .btn{background:#fff;color:#00283C;border-color:#fff}
.identified-status{background:#dceff9!important;color:#003C71!important;border-color:#afd7ed!important}
.rank.top{color:#df592b}
.meter.cyan span,.split-meter .goals{background:#0077CA}
.meter.blue span,.split-meter .assists{background:#E75D2A}
.meter.green span{background:#168977}
.meter.gold span{background:#d8951d}
.meter.pink span{background:#c4607b}
.state-legend i[style*="#39bdd0"]{background:#0077CA!important}
.state-legend i[style*="#6583db"]{background:#E75D2A!important}
.compare-card:before{background:#0077CA}
.compare-card.second:before{background:#E75D2A}
.compare-track-left span{background:#0077CA}
.compare-track-right span{background:#E75D2A}
.mobile-bottom-nav{border-top-color:#d2e0ec}
.mobile-tab.active{color:#003C71}
.mobile-tab.active svg{color:#0077CA}
/* Crisp but slightly condensed home */
.page-heading{margin-bottom:18px}
.page-heading h1{font-size:clamp(25px,2.4vw,36px)}
.page-heading p{font-size:13px;line-height:1.5}
.ridgebacks-hero{min-height:246px;padding:30px 34px;margin-bottom:14px;display:flex;align-items:center}
.ridgebacks-hero .hero-copy{max-width:620px}
.ridgebacks-hero .hero-eyebrow{font-size:10px;color:#b2dffa;letter-spacing:.11em}
.ridgebacks-hero .hero-eyebrow span{background:#E75D2A}
.ridgebacks-hero h1{font-size:clamp(30px,3.5vw,50px);margin:13px 0 10px}
.ridgebacks-hero h1 em{color:#a9dcff}
.ridgebacks-hero p{color:#dbebf8;font-size:13px;max-width:580px;line-height:1.6}
.ridgebacks-hero .hero-bottom{margin-top:19px;gap:10px}
.ridgebacks-hero .hero-chip{color:#fff}
.ridgebacks-hero .hero-rink{opacity:.085}
.ridgebacks-hero .btn{background:#fff;color:#003C71;border-color:#fff}
.ridgebacks-hero .btn.hero-secondary{background:#E75D2A;border-color:#E75D2A;color:#00283C}
.ridgebacks-hero-mark{position:absolute;right:35px;top:50%;transform:translateY(-50%) rotate(-6deg);display:flex;flex-direction:column;text-align:center;gap:3px;align-items:center;padding:26px 28px;border:1px solid #83b7df60;border-radius:15px;background:#00283C8a;box-shadow:0 12px 24px #001a2a77;pointer-events:none;min-width:225px;z-index:1}
.ridgebacks-hero-mark span{color:#add3ef;font-size:10px;letter-spacing:.22em;font-weight:850}
.ridgebacks-hero-mark strong{font-size:23px;color:white;letter-spacing:-.035em;font-style:italic;font-weight:1000}
.ridgebacks-hero-mark i{width:95px;height:4px;background:#E75D2A;display:block;transform:skewX(-25deg);margin:4px 0}
.ridgebacks-hero-mark small{font-size:9px;color:#b3cedd;font-weight:800;letter-spacing:.1em}
.kpi-grid{margin-bottom:14px;gap:12px}
.kpi{padding:16px 17px}
.home-leaders{margin-bottom:14px}
.home-leaders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}
.home-leaders .leader-item{padding:10px 12px;border-radius:12px;border-bottom:1px solid var(--border);gap:13px;min-width:0}
.home-leaders .leader-name strong{font-size:15px;font-weight:800;line-height:1.25}
.home-leaders .leader-name small{font-size:11.5px}
.home-leaders .leader-value{font-size:27px;color:#003C71;min-width:64px}
.home-leaders .leader-value small{font-size:10px;color:var(--muted)}
.home-leaders .player-pic{background:#e5f1f9;color:#003C71;border-color:#bcdbee}
.home-leaders .rank{font-size:13px;width:25px;flex-basis:25px}
.home-league-charts .panel-pad{padding:21px 23px}
.home-league-charts .goal-breakdown{gap:13px}
.home-league-charts .panel-head{margin-bottom:15px}
.home-league-charts .meter-row-head{font-size:13px}
.home-cta-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.home-cta{padding:13px 16px}
.home-cta strong{font-size:14px}
.home-cta small{font-size:11px}
/* Autocomplete: single searchable input per selection, first tap selects player */
.individual-picker{padding:16px 18px;margin-bottom:14px;position:relative;z-index:15;overflow:visible}
.quick-search{position:relative;min-width:0;isolation:isolate}
.quick-search label{display:block;font-size:12px;font-weight:800;color:var(--ink);margin-bottom:7px;letter-spacing:.01em}
.quick-search-field{position:relative}
.quick-search-field>svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);pointer-events:none;color:#006db0;width:18px;height:18px;z-index:1}
.quick-search-input{height:48px;min-width:0;width:100%;padding:0 64px 0 40px;border-radius:12px;font-size:14px;font-weight:650;background:#f8fbfe;border-color:#c9dae8}
.quick-search-input:focus{background:#fff;border-color:#0077CA;box-shadow:0 0 0 4px #0077CA16}
.quick-search-hint{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:10px;color:#7992a7;pointer-events:none;text-transform:uppercase;font-weight:900;letter-spacing:.08em}
.quick-search-results{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:90;max-height:min(372px,62vh);overflow:auto;overscroll-behavior:contain;background:white;padding:6px;border:1px solid #bfd5e6;border-radius:14px;box-shadow:0 20px 55px rgba(0,40,60,.19)}
.quick-search-results[hidden]{display:none!important}
.quick-search-option{appearance:none;width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:10px 10px;border:0;border-radius:10px;background:transparent;color:var(--ink);min-width:0}
.quick-search-option:hover,.quick-search-option.is-active{background:#eaf4fb}
.quick-search-option.is-active{box-shadow:inset 3px 0 #E75D2A}
.quick-player-id{flex:0 0 37px;width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#dceefa;color:#003C71;font-size:12px;font-weight:900}
.quick-player-name{display:block;min-width:0;flex:1}
.quick-player-name strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
.quick-player-name small{display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.quick-player-pts{flex:0 0 auto;font-size:18px;font-weight:900;color:#003C71}
.quick-player-pts small{font-size:10px;font-weight:800;color:var(--muted)}
.quick-no-results{padding:16px 12px;font-size:13px;color:var(--muted)}
.compare-search-selector{position:relative;z-index:12;gap:16px;margin-bottom:18px;align-items:end}
.compare-search-selector .compare-box{min-width:0}
.compare-search-selector .compare-versus{font-size:12px;color:#E75D2A;padding-bottom:16px}
.compare-search-selector .quick-search{width:100%}
.compare-search-selector .quick-search-results{z-index:91}
.compare-card{min-width:0}
.compare-card h3{font-size:19px}
.compare-card .compare-big{color:#003C71;font-size:27px}
/* Team splits in profile, only shown for multi-team players */
.profile-hero{margin-bottom:14px}
.club-split-toggle{appearance:none;background:#ffffff20;border:1px solid #ffffff65;color:white;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;gap:8px;min-height:34px}
.club-split-toggle:hover{background:#ffffff30}
.club-split-toggle[aria-expanded="true"]{background:#E75D2A;border-color:#E75D2A;color:#00283C}
.club-split-toggle svg{transition:transform .18s}
.club-split-toggle[aria-expanded="true"] svg{transform:rotate(90deg)}
.club-split-panel{margin:0 0 14px;padding:17px 20px}
.club-split-panel[hidden]{display:none!important}
.club-split-panel .panel-head{margin-bottom:12px}
.club-splits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
.club-split-card{padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-alt);min-width:0}
.club-split-name{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.club-split-name strong{font-size:14px;font-weight:850}
.club-split-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.club-split-stats>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.club-split-stats strong{font-size:19px;color:#003C71;letter-spacing:-.03em;white-space:nowrap}
.club-split-stats small{font-size:10px;color:var(--muted);font-weight:800}
/* One tight report frame for scoring state, exact totals & season sheet */
.profile-primary-grid{margin-bottom:14px}
.state-report-panel{margin-bottom:16px;padding:21px 23px}
.state-report-panel>.panel-head{margin-bottom:14px}
.state-report-grid{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:20px;align-items:start}
.state-report-grid>div{min-width:0}
.state-report-left{padding:13px 16px 14px;border:1px solid var(--border);background:#fbfdff;border-radius:14px}
.state-report-right{padding:13px 16px 14px;border:1px solid var(--border);background:#fbfdff;border-radius:14px}
.state-report-left>h3,.state-report-right>h3,.state-report-exact>h3{font-size:13px;letter-spacing:.015em;font-weight:850;color:#003C71;margin-bottom:12px}
.state-report-left .goal-breakdown{gap:11px}
.state-report-left .state-legend{margin:9px 0 2px}
.state-report-exact{margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}
.state-report-exact h3{margin-bottom:11px}
.state-report-exact .data-table{min-width:0}
.state-report-exact .data-table th,.state-report-exact .data-table td{padding:9px 9px;font-size:12px}
.state-report-right .stat-sheet{margin:0}
.state-report-right .stat-sheet-group{padding:10px 0}
.state-report-right .stat-sheet-group:first-child{padding-top:0}
.state-report-right .stat-sheet-cell{padding:11px 12px}
.state-report-right .stat-sheet-cell small{font-size:10px}
.state-report-right .stat-sheet-cell strong{font-size:17px}
.complete-game-log{margin-bottom:16px}
/* 54-game comparison outlook (actual solid + remainder striped) */
.projection-panel{margin-bottom:17px}
.projection-panel .panel-head{margin-bottom:16px}
.projection-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px;color:#003C71;font-size:11px;font-weight:850;letter-spacing:.1em}
.projection-tag{font-size:11px;letter-spacing:0;background:#e7f2fa;border:1px solid #c8dfef;border-radius:999px;padding:6px 11px}
.projection-rows{display:grid;gap:17px}
.projection-row{display:grid;gap:9px}
.projection-names{display:flex;justify-content:space-between;align-items:baseline;gap:15px;flex-wrap:wrap}
.projection-names strong{font-size:16px;color:#003C71}
.projection-names span{font-size:12px;color:var(--muted)}
.projection-names b{color:#003C71;font-size:22px}
.projection-track{height:20px;background:#eaf1f7;border-radius:999px;overflow:hidden;position:relative}
.projection-track span{position:absolute;top:0;bottom:0}
.projection-actual{background:#0077CA;left:0}
.projection-actual.second{background:#E75D2A}
.projection-remaining{background:repeating-linear-gradient(125deg,#8ccbf2 0,#8ccbf2 7px,#d9ebf7 7px,#d9ebf7 12px)}
.projection-remaining.second{background:repeating-linear-gradient(125deg,#f1a389 0,#f1a389 7px,#f9d5c8 7px,#f9d5c8 12px)}
.projection-footnote{font-size:11px;margin-top:14px;max-width:800px}
/* predictable responsive rhythm */
@media(max-width:1350px){
  .home-cta-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ridgebacks-hero-mark{right:23px;min-width:180px;padding:23px 18px}
  .ridgebacks-hero-mark strong{font-size:20px}
  .ridgebacks-hero .hero-copy{max-width:560px}
}
@media(max-width:1110px){
  .ridgebacks-hero-mark{display:none}
  .home-cta-row{grid-template-columns:1fr}
  .home-leaders-grid{grid-template-columns:1fr 1fr;gap:3px 12px}
  .state-report-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:920px){
  .ridgebacks-hero{padding:24px 22px}
  .state-report-grid{grid-template-columns:1fr 1fr;gap:12px}
}
@media(max-width:720px){
  .page-content{padding-bottom:105px}
  .ridgebacks-hero{min-height:0;padding:24px 18px}
  .ridgebacks-hero h1{font-size:clamp(29px,8vw,42px)}
  .ridgebacks-hero p{font-size:13px}
  .ridgebacks-hero .hero-bottom{align-items:flex-start;gap:8px}
  .ridgebacks-hero .hero-bottom .btn{min-height:41px}
  .home-leaders-grid{grid-template-columns:1fr}
  .home-leaders .leader-item{padding:10px 6px;gap:10px}
  .home-leaders .leader-name strong{font-size:15px}
  .home-leaders .leader-value{font-size:25px}
  .home-league-charts .panel-pad{padding:16px}
  .compare-search-selector{grid-template-columns:minmax(0,1fr);gap:9px}
  .compare-search-selector .compare-versus{padding:0;min-height:0;line-height:1;font-size:11px}
  .quick-search-input{font-size:16px}
  .quick-search-results{max-height:52vh}
  .state-report-grid{grid-template-columns:minmax(0,1fr)}
  .state-report-panel{padding:15px;margin-bottom:13px}
  .state-report-left,.state-report-right{padding:14px 11px}
  .state-report-left .goal-breakdown{gap:13px}
  .state-report-right .stat-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .state-report-right .stat-sheet-cell{padding:10px 9px}
  .state-report-right .stat-sheet-cell strong{font-size:17px}
  .profile-primary-grid{gap:13px}
  .club-split-panel{padding:14px}
  .projection-names strong{font-size:15px}
  .projection-names span{font-size:11px}
}
@media(max-width:430px){
  .home-leaders .leader-name small{font-size:11px}
  .home-leaders .leader-value small{font-size:9px}
  .ridgebacks-hero .hero-eyebrow{font-size:9px;letter-spacing:.085em}
  .ridgebacks-hero h1{font-size:clamp(27px,9vw,36px)}
  .ridgebacks-hero .hero-bottom .btn{padding:9px 10px;font-size:11px}
  .quick-player-name strong{font-size:13px}
  .quick-player-name small{font-size:10px}
  .quick-player-pts{font-size:16px}
  .state-report-right .stat-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .club-split-stats{gap:4px}
  .club-split-stats strong{font-size:17px}
  .projection-names{gap:5px;align-items:flex-start}
  .projection-names span{width:100%}
}
@media print{
  .ridgebacks-hero-mark,.quick-search-results,.quick-search,.club-split-toggle{display:none!important}
  .club-split-panel{display:block!important}
  .state-report-grid{grid-template-columns:1fr 1fr}
  .state-report-left,.state-report-right{break-inside:avoid}
  .projection-track{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
/* Search popovers must layer above the second compare selector on phones. */
.quick-search{isolation:auto}
.compare-search-selector{z-index:55}
.compare-search-selector .compare-box{position:relative}
.compare-search-selector .compare-box:first-child{z-index:4}
.compare-search-selector .compare-box:last-child{z-index:3}
.compare-search-selector .quick-search-results{z-index:200}
@media(max-width:540px){
  /* Names stay readable at 320px: no unnecessary initials columns. */
  .home-leaders .leader-item>.player-pic{display:none}
  .home-leaders .leader-name strong{white-space:normal;overflow:visible;line-height:1.2;font-size:15px}
  .home-leaders .leader-name small{white-space:normal;overflow:visible;line-height:1.4}
  .home-leaders .leader-value{font-size:27px;min-width:52px}
}
.club-split-substats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 6px;margin-top:14px;padding-top:13px;border-top:1px solid #d4e2ec}
.club-split-substats>span{min-width:0;display:flex;flex-direction:column;gap:2px}
.club-split-substats b{font-size:15px;color:#003C71}
.club-split-substats small{font-size:9px;letter-spacing:.025em;color:var(--muted);font-weight:850;white-space:normal}
