/* Match detail skin only. Existing engine values and categories are preserved. */
@media(max-width:850px){
 .game[open]{--detail-accent:#ced3db;--detail-glow:#7d85954d;padding:0 13px calc(85px + env(safe-area-inset-bottom,0px))!important;background:#070b10!important;scroll-padding-top:55px}
 .game[open].tier-strong{--detail-accent:#ffb05b;--detail-glow:#ff531b66}
 .game[open].tier-cautious{--detail-accent:#8ddfff;--detail-glow:#1498ec55}
 .game[open]>.game-trigger{position:relative;isolation:isolate;min-height:318px;padding:78px 12px 25px!important;margin:0 -13px;border-radius:0;background:linear-gradient(180deg,#05080c99,#05080c22 45%,#070b10),url('/assets/home-hockey-v12.webp') center 40%/cover!important;display:flex!important;flex-direction:column;align-items:center;gap:12px}
 .game[open]>.game-trigger:after{content:'Détail du match'!important;display:block!important;position:absolute;top:24px;left:65px;right:65px;text-align:center;font-size:17px;font-weight:750;color:#f5f5f5;pointer-events:none}
 .game[open]>.game-trigger:before{display:none!important}
 .game[open] .game-close{top:calc(12px + env(safe-area-inset-top,0px));left:13px;font-size:0;padding:8px 13px;background:#080c139c;border-color:#82715e80;box-shadow:0 3px 10px #0005}
 .game[open] .game-close:before{content:'‹';font-size:28px;line-height:24px}
 .game[open] .matchup{order:0;width:100%;margin:0!important;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:6px}
 .game[open] .team{gap:8px;text-align:left!important;justify-content:flex-start!important}
 .game[open] .team:last-child{flex-direction:row-reverse}
 .game[open] .team img{width:64px!important;height:74px!important;filter:drop-shadow(0 5px 10px #000)}
 .game[open] .team strong{font-size:22px!important}
 .game[open] .team small{display:block!important;font-size:10px;max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .game[open] .game-head{order:1;display:block;text-align:center;font-size:11px;color:#e4e6eb}
 .game[open] .game-head .game-state{display:none}
 .game[open] .game-preview{order:2;margin:0!important;display:flex;justify-content:center;flex-wrap:wrap;gap:8px;border:1px solid var(--detail-accent);border-radius:13px;padding:10px 16px;background:#080a10d9;box-shadow:0 0 17px var(--detail-glow)}
 .game[open] .preview-figure{font-size:30px!important;color:var(--detail-accent)!important}
 .game[open] .preview-unit{display:inline!important;font-size:12px;color:#e5e7eb}
 .game[open] .preview-xg,.game[open] .preview-hint{display:none!important}
 .game[open] .game-foot{order:3;border:0!important;padding:0!important;margin:0!important}
 .game[open] .game-foot .visual-badge{color:var(--detail-accent);border-color:var(--detail-accent);background:#11151cd9;border-radius:20px;padding:6px 13px}
 .game[open] .sample-label{display:none}
 .game[open] .analysis-content{margin:0!important;padding:0!important;border:0!important}
 .detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #3d4148;border-radius:13px;overflow:hidden;background:#0b1015;margin:0 0 20px}
 .detail-tab{border:0;border-right:1px solid #30343a;background:transparent;color:#aeb6c3;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:10px;cursor:pointer;padding:8px 2px}
 .detail-tab:last-child{border-right:0}
 .detail-tab-icon{font-size:23px;line-height:24px}
 .detail-tab[aria-selected=true]{color:#ffd18a;background:linear-gradient(135deg,#76502c6b,#39281755);box-shadow:inset 0 0 0 1px #efb36b,inset 0 0 15px #ed9c3944;border-radius:11px}
 .detail-panel[hidden]{display:none!important}
 .detail-panel h2{font-size:18px;margin:0 0 13px}
 .detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
 .detail-heading h2{margin:0;font-size:17px}
 .detail-see-all{background:#11161d;border:1px solid #4e525b;color:#e6e8ec;border-radius:10px;min-height:38px;padding:6px 12px;font-size:11px}
 .detail-player-list,.detail-keeper-list{display:grid;gap:9px}
 .detail-player-row{width:100%;display:flex;align-items:center;gap:9px;text-align:left;min-height:79px;padding:5px 10px 0 5px;overflow:hidden;border:1px solid #575e69;border-radius:12px;background:linear-gradient(120deg,#252b33,#0c1118);color:#edf0f4;cursor:pointer}
 .detail-player-row[data-convergence='3'],.detail-player-row[data-convergence='4']{border-color:#ff7b3d;background:radial-gradient(ellipse at right bottom,#af330e66,transparent 70%),linear-gradient(120deg,#4f1d14,#100e12);box-shadow:0 0 10px #e95e2644}
 .detail-player-row .player-photo{width:60px!important;height:73px!important;object-fit:contain!important;background:transparent!important;align-self:flex-end;border-radius:0}
 .detail-player-identity{flex:1;min-width:0;display:grid;gap:7px;padding:7px 0}
 .detail-player-identity strong{font-size:13px;line-height:1.25}
 .detail-player-identity small{font-size:9px;color:#b6bfcc;line-height:1.4}
 .detail-player-score{display:grid;gap:6px;text-align:right;color:#efc18a}
 .detail-player-score strong{font-size:19px;letter-spacing:1px}
 .detail-player-score small{font-size:10px}
 .detail-chevron{border:1px solid #61646c;border-radius:50%;width:22px;height:22px;text-align:center;font-size:21px;line-height:18px;margin-left:2px}
 .detail-note,.detail-empty{font-size:11px;line-height:1.6;color:#aeb8c7}
 .detail-empty{padding:16px;border:1px solid #3b434f;border-radius:12px;background:#121922}
 .detail-keeper-list>.player-goalie-panel{padding:14px;border:1px solid #4c5664;border-radius:12px;background:#111923}
 .detail-history .technical-details{margin:0!important;padding:0!important;border:0}
 .detail-history .technical-details>summary{font-size:13px;padding:10px}
 body.detail-visible .mobile-bottom-nav{display:grid!important;z-index:450}
 @media(max-width:370px){.game[open] .team img{width:47px!important;height:62px!important}.game[open] .team strong{font-size:18px!important}.detail-player-row{gap:6px}.detail-player-identity strong{font-size:12px}}
}

/* Match the home reference icon; goalkeeper uses a cage mask silhouette. */
@media(max-width:850px){
 .detail-tab:nth-child(2) .detail-tab-icon,.detail-tab:nth-child(3) .detail-tab-icon{font-size:0;display:grid;place-items:center;width:28px;height:28px}
 .detail-tab:nth-child(2) .detail-tab-icon:before{content:"";display:block;width:20px;height:22px;background:linear-gradient(#cbd0d7,#cbd0d7) left bottom/5px 9px no-repeat,linear-gradient(#d8dce2,#d8dce2) center bottom/5px 15px no-repeat,linear-gradient(#edf0f4,#edf0f4) right bottom/5px 22px no-repeat}
 .detail-tab:nth-child(3) .detail-tab-icon:before{content:"";display:block;width:27px;height:30px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2036%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2017V12C5%205%209%202%2016%202s11%203%2011%2010v5l-3%2012-8%205-8-5Z%22%2F%3E%3Cpath%20d%3D%22m6%2012%207%202h6l7-2M7%2016l5%203h8l5-3M9%2021h14M10%2025h12M12%2029h8M13%2015l-1%2010%204%205%204-5-1-10M16%2019v11%22%2F%3E%3Cpath%20d%3D%22M11%208h2m6%200h2M15%206h2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2036%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2017V12C5%205%209%202%2016%202s11%203%2011%2010v5l-3%2012-8%205-8-5Z%22%2F%3E%3Cpath%20d%3D%22m6%2012%207%202h6l7-2M7%2016l5%203h8l5-3M9%2021h14M10%2025h12M12%2029h8M13%2015l-1%2010%204%205%204-5-1-10M16%2019v11%22%2F%3E%3Cpath%20d%3D%22M11%208h2m6%200h2M15%206h2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
}

/* Four presentation levels map directly to existing data-convergence values.
   No scores, selection, ranking, data requests or thresholds are changed. */
@media(max-width:850px){
 :is(.detail-player-list,.player-grid) > :is(.detail-player-row,.player-card:not(.mobile-expanded))[data-convergence="1"]{
  border:1px solid #69adc9!important;
  background:linear-gradient(138deg,transparent 0 18%,#b6e7ff0a 18.3% 18.6%,transparent 19% 76%,#c2eeff10 76.3% 76.6%,transparent 77%),radial-gradient(ellipse at 0% 100%,#2963854d,transparent 65%),linear-gradient(120deg,#152733,#0d151d)!important;
  box-shadow:inset 0 0 12px #a2dfff12,0 0 7px #5eadd51c!important;
 }
 :is(.detail-player-list,.player-grid) > :is(.detail-player-row,.player-card:not(.mobile-expanded))[data-convergence="2"]{
  border:1px solid #727985!important;
  background:linear-gradient(145deg,#bfc7d00a,transparent 38%),linear-gradient(120deg,#262c34,#10151c)!important;
  box-shadow:inset 0 1px 0 #e2e8f01a!important;
 }
 :is(.detail-player-list,.player-grid) > :is(.detail-player-row,.player-card:not(.mobile-expanded))[data-convergence="3"]{
  border:1px solid #7ceba3!important;
  background:radial-gradient(ellipse at 100% 100%,#28624738,transparent 65%),linear-gradient(120deg,#172d24,#0d1715)!important;
  box-shadow:0 0 0 1px #48d985b3,0 0 7px #51e38d80,0 0 19px #3bcd7952,inset 0 0 10px #60de8d1f!important;
 }
 :is(.detail-player-list,.player-grid) > :is(.detail-player-row,.player-card:not(.mobile-expanded))[data-convergence="4"]{
  border:1px solid #ff9652!important;
  background:radial-gradient(ellipse at 8% 115%,#ef5a1766,transparent 48%),radial-gradient(ellipse at 95% 120%,#ff8e263d,transparent 48%),linear-gradient(120deg,#3b2016,#170f10)!important;
  box-shadow:0 0 13px #ff6b2d55,0 0 3px #ffc07a55,inset 0 -5px 15px #ed59251a!important;
 }
 :is(.detail-player-row,.player-card)[data-convergence="1"] :is(.detail-player-score,.player-synergy>strong){color:#a3daef!important}
 :is(.detail-player-row,.player-card)[data-convergence="2"] :is(.detail-player-score,.player-synergy>strong){color:#d1d6de!important}
 :is(.detail-player-row,.player-card)[data-convergence="3"] :is(.detail-player-score,.player-synergy>strong){color:#8ed8ad!important}
 :is(.detail-player-row,.player-card)[data-convergence="4"] :is(.detail-player-score,.player-synergy>strong){color:#ffbd76!important}
 :is(.detail-player-row .detail-player-score>strong,.player-card .player-synergy>strong){display:inline-flex;align-items:center;justify-content:flex-end;gap:5px}
 :is(.detail-player-row,.player-card)[data-convergence="1"] :is(.detail-player-score>strong,.player-synergy>strong):before{content:"❄";font-size:19px;line-height:1;font-weight:400}
 :is(.detail-player-row,.player-card)[data-convergence="2"] :is(.detail-player-score>strong,.player-synergy>strong):before,
 :is(.detail-player-row,.player-card)[data-convergence="3"] :is(.detail-player-score>strong,.player-synergy>strong):before{content:"";display:inline-block;width:16px;height:18px;flex:none;background:linear-gradient(currentColor,currentColor) left bottom/4px 8px no-repeat,linear-gradient(currentColor,currentColor) center bottom/4px 13px no-repeat,linear-gradient(currentColor,currentColor) right bottom/4px 18px no-repeat}
 :is(.detail-player-row,.player-card)[data-convergence="4"] :is(.detail-player-score>strong,.player-synergy>strong):before{content:"🔥";font-size:19px;line-height:1;filter:drop-shadow(0 0 3px #ff7c364d)}
 .detail-player-score>strong{white-space:nowrap;font-size:18px;letter-spacing:0}
 @media(max-width:370px){.detail-player-score>strong{font-size:15px;gap:3px}.detail-player-score>strong:before{max-width:14px;font-size:16px!important}}
}
