
/* NHL ANALYSER V0.11 — PRESENTATION ONLY. V0.9.1 engine untouched. */
:root{--hot:#ff713c;--ice:#46bfff;--glass:#11151b;--amber:#ffbd68}
.mobile-bottom-nav{z-index:250}
.selection-preview{scroll-margin-top:20px}
@media(max-width:850px){
 html{scroll-padding-bottom:96px}
 body{background:#080b0f;color:#f5f6f8;padding-bottom:calc(77px + env(safe-area-inset-bottom,0px))}
 .layout{display:block}
 .sidebar{position:relative;background:transparent;padding:16px 15px 4px}
 .sidebar .identity{gap:10px}
 .identity-mark{background:linear-gradient(140deg,#322218,#ad6224);box-shadow:inset 0 0 12px #ffa34c37}
 .main{padding:8px 13px 28px;max-width:640px}
 .hero{padding:15px;border-radius:17px;min-height:100px;border-color:#57422d;
 background:radial-gradient(ellipse at 100% 0%,#753b1f78,transparent 70%),linear-gradient(120deg,#221811,#0d1015)}
 .hero .eyebrow{display:block;font-size:10px;margin-bottom:8px;letter-spacing:1.3px}
 .hero-time{display:none}
 .date-form{display:flex;gap:8px}
 .date-field{min-width:0}
 .date-form .primary-button{font-size:12px;min-height:46px}
 .night-window-label{color:#d3c3b5}
 .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}
 .kpi{min-height:76px;padding:10px;border-color:#444047}
 .kpi-red{background:linear-gradient(115deg,#371c19,#17191d)}
 .kpi-violet{background:linear-gradient(115deg,#292038,#17191d)}
 .kpi-green{background:linear-gradient(115deg,#163329,#17191d)}
 .kpi-icon{border-radius:9px}
 .section-head{margin:8px 0}
 .section-head h2,.players-topline h2{font-size:22px;margin:2px 0 3px}
 .segmented{display:flex;max-width:100%;margin:12px 0 10px;padding:4px;border-radius:13px}
 .segmented button{min-height:42px;font-weight:700}
 .game-grid{display:grid;grid-template-columns:1fr;gap:10px}
 .game{padding:0!important;overflow:hidden;min-width:0;position:relative;border-radius:15px!important;background:#151a20}
 .game:not([open]) .game-trigger{padding:12px 13px 10px;min-height:117px;display:grid;gap:3px}
 .game-head{align-items:center;gap:6px;color:#e2e5e9;font-size:11px}
 .game-head .game-state{background:#273039;color:#bacad3;border:1px solid #39434e;font-size:10px;padding:5px}
 .game .matchup{margin:7px 0 4px;gap:8px}
 .game .team{gap:7px}
 .game .team img{height:51px;width:51px;filter:drop-shadow(0 3px 6px #0007)}
 .game .team strong{font-size:17px;color:#fff}
 .game .team small{display:none}
 .game .versus{font-size:11px;color:#9da6b4}
 .game .game-foot{border:0;padding:0;justify-content:flex-start}
 .game .game-foot .sample-label{display:none}
 .game .offense-label,.game .visual-badge{border-radius:7px;font-weight:850;font-size:10px;letter-spacing:.2px}
 .game .game-preview{margin:4px 0 0;display:flex;align-items:center;gap:9px}
 .game .preview-figure{font-size:22px;color:#f4f4f6;font-weight:900}
 .game .preview-unit{font-size:10px;color:#aab2be}
 .game .preview-xg{font-size:11px;color:#b1c0c6;border:1px solid #3e5c57;border-radius:6px;padding:4px}
 .game .preview-hint{margin-left:auto;color:#d8dee4;font-size:11px}
 .game .game-trigger:before{position:absolute;right:11px;bottom:10px;margin:0!important;pointer-events:none;line-height:1}
 .game.tier-strong{border:1px solid #ff723d!important;
 box-shadow:0 0 0 1px #fe5a2b,0 0 20px #ff4e2559!important;
 background:radial-gradient(ellipse at 90% 110%,#a62a0d83,transparent 60%),linear-gradient(145deg,#2a1110,#11151b 75%)!important}
 .game.tier-strong .game-trigger:before{content:"🔥";font-size:22px}
 .game.tier-strong .preview-figure{color:#ffb15d}
 .game.tier-strong .visual-badge{color:#ffcb9e;border-color:#ff7a40;background:#6c2b1d}
 .game.tier-cautious{border:1px solid #3198cd!important;box-shadow:0 0 15px #11669b44!important;
 background:radial-gradient(ellipse at 100% 90%,#15547f87,transparent 70%),linear-gradient(145deg,#102337,#0d151b 75%)!important}
 .game.tier-cautious .game-trigger:before{content:"❄️";font-size:21px}
 .game.tier-cautious .preview-figure{color:#9dddfd}
 .game.tier-cautious .visual-badge{color:#a5e1ff;border-color:#2d87bc;background:#123c59}
 .game.tier-neutral{border:1px solid #626873!important;box-shadow:none!important;background:linear-gradient(135deg,#25292e,#14181d)!important}
 .game.tier-neutral .game-trigger:before{content:"";display:none}
 .game.tier-unknown{border-color:#454d58!important;background:#161a20!important}
 .game.tier-unknown .game-trigger:before{content:"";display:none}
 .game .game-trigger:after{content:"›";position:absolute;right:10px;top:44%;font-size:27px;color:#f1d6bb;line-height:1}
 .game[open]{position:fixed!important;z-index:400!important;inset:0!important;width:100vw;height:100dvh;border-radius:0!important;overflow-y:auto!important;overscroll-behavior:contain;background:#0c1016!important;padding:calc(env(safe-area-inset-top,0px) + 10px) 15px calc(30px + env(safe-area-inset-bottom,0px))!important;box-shadow:none!important}
 .game[open] .game-trigger{min-height:190px;display:block;padding:50px 12px 20px;background:radial-gradient(ellipse at 60% 0%,#a44b2077,transparent 70%);border-radius:14px}
 .game[open].tier-cautious .game-trigger{background:radial-gradient(ellipse at 65% 0%,#15577f77,transparent 70%)}
 .game[open] .game-trigger:before,.game[open] .game-trigger:after{display:none}
 .game[open] .matchup{margin:18px 0;justify-content:center}
 .game[open] .team img{height:75px;width:75px}
 .game[open] .team strong{font-size:21px}
 .game[open] .game-preview .preview-figure{font-size:30px}
 .game[open] .analysis-content{padding:15px 2px 10px;border:0}
 .game[open] .game-close{display:flex}
 .game-close{display:none;position:fixed;top:calc(env(safe-area-inset-top,0px) + 13px);left:15px;z-index:410;align-items:center;gap:6px;background:#202831;border:1px solid #64707e;color:#fff;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:750;cursor:pointer}
 .game[open] .overview-metrics{flex-wrap:wrap}
 .game[open] .signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .game[open] .technical-details{margin-bottom:50px}
 .game[open] .team-detail-grid{grid-template-columns:1fr}
 .players-section{margin-top:22px}
 .players-topline{display:grid;gap:8px}
 .player-load-button{min-height:44px!important}
 .player-grid{display:grid;grid-template-columns:1fr;gap:10px}
 .player-card{border:1px solid #4a5059!important;border-radius:14px!important;padding:0!important;background:linear-gradient(130deg,#1f242c,#101319)!important;position:relative;overflow:visible}
 .player-card[data-convergence="3"],.player-card[data-convergence="4"]{border-color:#ee6b38!important;box-shadow:0 0 14px #d947243f;background:radial-gradient(ellipse at 95% 0%,#822b195b,transparent 75%),#111820!important}
 .player-head{padding:11px 12px;display:flex!important;gap:11px;min-height:92px;align-items:center}
 .player-photo{width:65px!important;height:70px!important;object-fit:contain!important;border-radius:9px;background:#27303b}
 .player-identity{min-width:0;flex:1}
 .player-identity h3{font-size:17px!important;line-height:1.25;margin:4px 0}
 .player-rank{font-size:10px!important;letter-spacing:1px;color:#ffb76a}
 .player-team{font-size:11px!important;color:#afb8c4}
 .player-market{padding:6px!important;border-radius:9px;min-width:66px;text-align:center}
 .player-market span{font-size:9px!important}
 .player-market strong{font-size:13px!important}
 .player-bottom{margin:0 12px 10px!important;border:0!important;padding:0!important;display:flex;gap:9px;justify-content:space-between;align-items:center}
 .player-suggestion span{display:none!important}
 .player-suggestion strong{font-size:13px!important}
 .player-synergy{margin-left:auto;text-align:right}
 .player-synergy strong{font-size:19px!important}
 .player-synergy span{font-size:10px!important}
 .player-mobile-toggle{display:block;width:calc(100% - 24px);margin:0 12px 10px;border:1px solid #74503b;border-radius:9px;background:#2a211e;color:#ffd2a4;padding:10px;font-weight:750;font-size:12px}
 .player-card:not(.mobile-expanded) .player-body{display:none!important}
 .player-card.mobile-expanded{position:fixed!important;z-index:420;inset:0;overflow:auto;height:100dvh;background:#0a0f16!important;border-radius:0!important;padding:calc(env(safe-area-inset-top,0px) + 52px) 14px calc(28px + env(safe-area-inset-bottom,0px))!important}
 .player-card.mobile-expanded .player-head{min-height:160px;background:radial-gradient(ellipse at top right,#69331f88,transparent 80%),#131b26;border:1px solid #674737;border-radius:14px;margin-bottom:15px}
 .player-card.mobile-expanded .player-photo{width:100px!important;height:125px!important}
 .player-card.mobile-expanded .player-identity h3{font-size:23px!important}
 .player-card.mobile-expanded .player-body{display:grid!important;grid-template-columns:1fr;gap:11px}
 .player-card.mobile-expanded .player-info-panel{padding:14px!important;border:1px solid #3a4552;border-radius:12px;background:#111822}
 .player-card.mobile-expanded .player-metrics,.player-card.mobile-expanded .player-production{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .player-card.mobile-expanded .player-mobile-toggle{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);left:14px;width:auto;z-index:440;padding:10px 14px;background:#29303b;color:white}
 .player-card.mobile-expanded .player-bottom{margin:14px 0!important;padding-bottom:30px!important}
 .mobile-bottom-nav{background:#0b1017f5;backdrop-filter:blur(16px);border-top:1px solid #65452d;box-shadow:0 -10px 30px #0009}
 .mobile-tab{font-size:11px;gap:2px}
 .mobile-tab span{font-size:23px}
 .mobile-tab.is-active{color:#ffb85e}
 .selection-preview{margin:30px 0 22px;background:linear-gradient(120deg,#201c1a,#11151b)}
 }
@media(max-width:370px){.game .team img{width:39px;height:39px}.game .team strong{font-size:15px}.player-identity h3{font-size:15px!important}}
@media(min-width:851px){
 .game.tier-strong{border-color:#e26d36!important;box-shadow:0 0 18px #e95d2752}
 .game.tier-cautious{border-color:#307ab4!important}
 .game.tier-neutral{border-color:#5b626c!important}
 .game .game-trigger{cursor:pointer}
 .player-mobile-toggle{display:none!important}
}
