/* ========================================================================== 
   HockAI — PRONOS ÉQUIPES / DUEL HockAI V2
   Premium mobile-first visual layer. Scoped to this page and its modal.
   ========================================================================== */

#tab-predictions.duel-page {
  --duel-bg:#020913;
  --duel-panel:#061426;
  --duel-panel-2:#081a30;
  --duel-line:rgba(111,214,255,.22);
  --duel-line-strong:rgba(94,220,255,.52);
  --duel-cyan:#48d8ff;
  --duel-cyan-2:#9eefff;
  --duel-text:#f7fbff;
  --duel-muted:#8aa9bf;
  --duel-green:#54e98c;
  --duel-red:#ff6170;
  --duel-gold:#ffd15b;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid rgba(91,190,236,.15);
  border-radius:24px;
  background:
    radial-gradient(circle at 50% -20%,rgba(43,171,231,.22),transparent 36%),
    radial-gradient(circle at 0 42%,rgba(0,130,214,.08),transparent 35%),
    linear-gradient(180deg,#03101e 0%,#020a13 66%,#04101d 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 18px 60px rgba(0,0,0,.24);
  scrollbar-gutter:stable;
}
#tab-predictions.duel-page::before,
#tab-predictions.duel-page::after{
  content:"";position:absolute;pointer-events:none;z-index:-1;
}
#tab-predictions.duel-page::before{
  inset:0;
  opacity:.38;
  background:
    linear-gradient(115deg,transparent 0 24%,rgba(105,220,255,.035) 24.2% 24.5%,transparent 24.7% 75%,rgba(105,220,255,.035) 75.2% 75.5%,transparent 75.7%),
    repeating-linear-gradient(90deg,transparent 0 72px,rgba(255,255,255,.008) 73px);
}
#tab-predictions.duel-page::after{
  left:5%;right:5%;bottom:-90px;height:180px;border-radius:50%;
  border:1px solid rgba(87,209,255,.1);
  box-shadow:0 -18px 55px rgba(44,178,232,.07),inset 0 0 70px rgba(38,156,218,.05);
}

.duel-shell{width:min(100%,1280px);margin:0 auto;padding:14px 10px 96px;}
.duel-heading{position:relative;text-align:center;padding:8px 8px 16px;}
.duel-kicker{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid rgba(81,208,255,.18);border-radius:999px;background:rgba(5,25,40,.7);color:var(--duel-cyan);font-size:9px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;box-shadow:0 0 24px rgba(46,199,255,.08)}
.duel-heading h2{margin:9px 0 4px;color:#fff;font-size:clamp(25px,7vw,49px);font-weight:900;letter-spacing:.02em;line-height:1.02;text-transform:uppercase;text-shadow:0 8px 25px rgba(0,0,0,.32)}
.duel-heading h2 span{display:inline;color:#7be0ff;text-shadow:0 0 24px rgba(68,214,255,.24)}
.duel-heading p{max-width:760px;margin:0 auto;color:#a7bed1;font-size:clamp(9px,2.7vw,13px);font-weight:700;line-height:1.45}

.duel-commandbar{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:0 auto 10px;padding:7px;border:1px solid rgba(95,204,250,.18);border-radius:16px;background:linear-gradient(180deg,rgba(6,22,39,.88),rgba(4,15,28,.9));box-shadow:0 10px 35px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025)}
.duel-command-meta{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden}
.duel-meta-pill{display:flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;border:1px solid rgba(99,202,244,.14);border-radius:11px;background:rgba(3,12,22,.62);color:#b9cfdf;font-size:8px;font-weight:900;white-space:nowrap}
.duel-meta-pill i{color:#64ddff}
.duel-meta-pill strong{color:#fff}
.duel-meta-pill.season{display:none}
.duel-toolbar{display:flex;align-items:center;gap:7px;margin:0}
.duel-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border:1px solid rgba(111,212,255,.16);border-radius:12px;background:#03101d}
.duel-mode-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;min-width:102px;padding:7px 11px;border:1px solid transparent;border-radius:9px;color:#91a9bd;font-size:8px;font-weight:900;letter-spacing:.02em;transition:.2s ease;white-space:nowrap}
.duel-mode-btn:hover{color:#dff7ff;background:rgba(69,194,239,.07)}
.duel-mode-btn.active{color:#04111b;border-color:rgba(163,242,255,.7);background:linear-gradient(180deg,#a6f0ff 0%,#54d6f8 55%,#2bbbe5 100%);box-shadow:0 0 18px rgba(62,207,255,.28),inset 0 1px 0 rgba(255,255,255,.5)}
.duel-help-btn{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(111,212,255,.18);border-radius:11px;background:#04111f;color:#9edbf1;transition:.2s ease}
.duel-help-btn:hover{border-color:rgba(111,212,255,.5);color:#fff;box-shadow:0 0 18px rgba(62,207,255,.14)}

#team-predictions-container.duel-stage{display:block;min-height:300px}
.duel-loading,.duel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:260px;padding:34px 15px;border:1px dashed rgba(111,212,255,.2);border-radius:18px;color:#7edfff;font-size:10px;font-weight:900;letter-spacing:.08em;text-align:center;text-transform:uppercase}
.duel-loading i{font-size:22px}.duel-empty.error{color:#ff8790;border-color:rgba(255,105,118,.22)}

/* Match selector */
.duel-match-rail-wrap{margin:8px 0 11px}
.duel-match-rail-title{display:flex;align-items:center;gap:7px;margin:0 3px 6px;color:#7d9bb1;font-size:7px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.duel-match-rail-title i{color:#54d7ff}
.duel-match-rail{display:flex;gap:7px;overflow-x:auto;padding:1px 2px 5px;scroll-snap-type:x proximity;scrollbar-width:none}.duel-match-rail::-webkit-scrollbar{display:none}
.duel-match-pill{position:relative;flex:0 0 auto;display:grid;grid-template-columns:auto minmax(82px,1fr) auto;gap:8px;align-items:center;min-width:224px;min-height:52px;padding:7px 9px;border:1px solid rgba(105,194,232,.14);border-radius:13px;background:linear-gradient(105deg,color-mix(in srgb,var(--away-primary) 10%,#05111f),#061525 48%,color-mix(in srgb,var(--home-primary) 10%,#05111f));color:#d9eaf4;scroll-snap-align:start;transition:.2s ease;overflow:hidden}
.duel-match-pill::after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,var(--away-primary),#72ddff,var(--home-primary));opacity:0;transition:.2s ease}
.duel-match-pill:hover,.duel-match-pill.active{border-color:rgba(95,215,255,.45);box-shadow:0 8px 28px rgba(0,0,0,.18),inset 0 0 20px rgba(57,188,238,.04)}
.duel-match-pill.active::after{opacity:1}.duel-pill-logos{display:flex;align-items:center}.duel-pill-logos img{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 4px 7px rgba(0,0,0,.3))}.duel-pill-logos img+img{margin-left:-5px}
.duel-pill-copy{min-width:0;text-align:left}.duel-pill-copy b{display:block;color:#fff;font-size:9px;font-weight:900}.duel-pill-copy b em{color:#6f8da3;font-size:7px;font-style:normal}.duel-pill-copy small{display:block;margin-top:2px;color:#7897ad;font-size:6px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.duel-pill-fav{display:flex;align-items:center;gap:4px;color:#f5cf63;font-size:7px;font-weight:900}.duel-pill-fav i{font-size:7px}

/* Featured duel */
.duel-featured{position:relative}.duel-feature-grid{display:grid;grid-template-columns:1fr;gap:10px}
.duel-hero{position:relative;overflow:hidden;border:1px solid rgba(96,212,255,.28);border-radius:20px;background:#04101e;box-shadow:0 20px 60px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.03);isolation:isolate}
.duel-hero::before{content:"";position:absolute;inset:0;z-index:-3;background:linear-gradient(100deg,color-mix(in srgb,var(--away-primary) 34%,#04101e) 0%,rgba(4,16,30,.84) 39%,rgba(3,13,25,.92) 50%,rgba(4,16,30,.84) 61%,color-mix(in srgb,var(--home-primary) 34%,#04101e) 100%)}
.duel-hero::after{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 17% 40%,color-mix(in srgb,var(--away-primary) 28%,transparent),transparent 29%),radial-gradient(circle at 83% 40%,color-mix(in srgb,var(--home-primary) 28%,transparent),transparent 29%),linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,4,12,.38) 62%,rgba(2,9,17,.82))}
.duel-hero-ice{position:absolute;z-index:-1;left:50%;top:14%;width:170px;height:170px;transform:translateX(-50%) rotate(45deg);border:1px solid rgba(111,222,255,.08);box-shadow:0 0 50px rgba(58,210,255,.08);opacity:.7}.duel-hero-ice::before,.duel-hero-ice::after{content:"";position:absolute;background:linear-gradient(90deg,transparent,#86e9ff,transparent);opacity:.25}.duel-hero-ice::before{left:-80px;right:-80px;top:50%;height:1px}.duel-hero-ice::after{top:-80px;bottom:-80px;left:50%;width:1px}
.duel-hero-date{width:max-content;max-width:calc(100% - 28px);margin:9px auto 0;padding:5px 9px;border:1px solid rgba(133,208,239,.18);border-radius:8px;background:rgba(2,11,20,.72);color:#c5dae8;font-size:7px;font-weight:900;box-shadow:0 5px 20px rgba(0,0,0,.15)}.duel-hero-date i{margin-right:5px;color:#68ddff}
.duel-faceoff{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);align-items:center;min-height:184px;padding:5px 10px 2px}
.duel-team-side{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center}.duel-logo-halo{position:relative;display:grid;place-items:center;width:86px;height:86px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.07),rgba(0,0,0,.06) 63%,transparent 65%);filter:drop-shadow(0 14px 18px rgba(0,0,0,.28))}.duel-logo-halo::before{content:"";position:absolute;inset:8px;border:1px solid rgba(255,255,255,.09);border-radius:50%}.duel-away .duel-logo-halo{box-shadow:0 0 34px color-mix(in srgb,var(--away-primary) 28%,transparent)}.duel-home .duel-logo-halo{box-shadow:0 0 34px color-mix(in srgb,var(--home-primary) 28%,transparent)}.duel-logo-halo img{width:70px;height:70px;object-fit:contain}.duel-team-side>b{margin-top:4px;color:#fff;font-size:17px;font-weight:900;letter-spacing:.04em}.duel-team-side>span{color:#8ba8bc;font-size:7px;font-weight:900;text-transform:uppercase}
.duel-center-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;text-align:center}.duel-center-mark>span{color:#9bdff2;font-size:8px;font-weight:900;letter-spacing:.08em}.duel-center-mark strong{margin:-1px 0;color:#fff;font-size:25px;font-weight:900;font-style:italic;text-shadow:0 0 20px rgba(78,218,255,.45)}.duel-center-mark small{margin-top:5px;color:#66859c;font-size:5.7px;font-weight:900;line-height:1.3;text-transform:uppercase}
.duel-verdict-row{position:relative;display:grid;grid-template-columns:1fr minmax(132px,1.1fr) 1fr;align-items:center;gap:0;margin:0 8px}.duel-prob{min-height:67px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:9px 4px;border:1px solid rgba(255,255,255,.13);background:rgba(1,9,17,.58);box-shadow:inset 0 0 26px rgba(255,255,255,.015)}.duel-prob.left{border-color:color-mix(in srgb,var(--away-primary) 58%,#fff 8%);border-radius:13px 0 0 13px;background:linear-gradient(90deg,color-mix(in srgb,var(--away-primary) 28%,rgba(5,15,28,.9)),rgba(4,14,26,.7))}.duel-prob.right{border-color:color-mix(in srgb,var(--home-primary) 58%,#fff 8%);border-radius:0 13px 13px 0;background:linear-gradient(270deg,color-mix(in srgb,var(--home-primary) 28%,rgba(5,15,28,.9)),rgba(4,14,26,.7))}.duel-prob span{color:#a3bed0;font-size:6px;font-weight:900}.duel-prob b{margin-top:2px;color:#fff;font-size:clamp(24px,8vw,38px);font-weight:900;line-height:1;text-shadow:0 4px 12px rgba(0,0,0,.26)}
.duel-verdict{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:76px;margin:0 -9px;padding:8px 10px;border:1px solid rgba(255,211,92,.78);border-radius:12px;background:linear-gradient(180deg,#0b1b2f 0%,#071423 100%);box-shadow:0 0 22px rgba(255,196,52,.1),inset 0 1px 0 rgba(255,255,255,.04);text-align:center}.duel-verdict::before,.duel-verdict::after{content:"";position:absolute;top:50%;width:14px;height:14px;background:#091827;border-top:1px solid rgba(255,211,92,.6);transform:translateY(-50%) rotate(45deg)}.duel-verdict::before{left:-7px;border-left:1px solid rgba(255,211,92,.6)}.duel-verdict::after{right:-7px;border-right:1px solid rgba(255,211,92,.6)}.duel-verdict-label{position:relative;z-index:2;color:#f7d46d;font-size:6px;font-weight:900;text-transform:uppercase}.duel-verdict-label i{margin-right:4px}.duel-verdict strong{position:relative;z-index:2;margin-top:2px;color:#fff;font-size:15px;font-weight:900;letter-spacing:.03em}.duel-confidence{position:relative;z-index:2;margin-top:2px;font-size:6px;font-weight:900;text-transform:uppercase}.duel-confidence.high{color:#5ce994}.duel-confidence.medium{color:#f6cf69}.duel-confidence.low{color:#ff8f96}
.duel-tie-pill{width:max-content;margin:6px auto 0;padding:4px 8px;border:1px solid rgba(246,208,105,.2);border-radius:99px;background:rgba(100,79,26,.15);color:#f4cf6d;font-size:7px;font-weight:900}
.duel-quick-label{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 0 6px;color:#b7eefe;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.duel-quick-label i{color:#61dcff}
.duel-quick-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:0 8px 9px}.duel-signal{position:relative;min-width:0;min-height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 3px;border:1px solid rgba(101,202,241,.16);border-radius:10px;background:rgba(3,15,27,.68);text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.015)}.duel-signal i{color:#55d8ff;font-size:11px}.duel-signal strong{display:block;max-width:100%;margin-top:3px;color:#f4fbff;font-size:7px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.duel-signal span{display:block;margin-top:1px;color:#7593a9;font-size:5.6px;font-weight:800;line-height:1.1}.duel-signal em{position:absolute;top:3px;right:4px;color:#5ce994;font-size:5px;font-style:normal;font-weight:900}.duel-signal.balanced em{color:#f5cf69}
.duel-primary-cta{display:flex;align-items:center;justify-content:center;gap:10px;width:calc(100% - 16px);min-height:42px;margin:0 8px 9px;border:1px solid rgba(124,231,255,.66);border-radius:12px;background:linear-gradient(180deg,#22bfe8,#0d8fc0);color:#fff;font-size:9px;font-weight:900;letter-spacing:.02em;box-shadow:0 0 22px rgba(27,192,235,.22),inset 0 1px 0 rgba(255,255,255,.34);transition:.2s ease}.duel-primary-cta:hover{filter:brightness(1.08);box-shadow:0 0 30px rgba(42,210,255,.32)}.duel-primary-cta i{font-size:8px}

/* Right-side summary panels */
.duel-side-insights{display:none;grid-template-columns:1fr;gap:10px}
.duel-insight-card{border:1px solid rgba(99,204,244,.22);border-radius:17px;background:linear-gradient(180deg,rgba(8,27,47,.92),rgba(5,17,31,.94));box-shadow:0 16px 42px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.025);overflow:hidden}.duel-panel-heading{display:flex;align-items:center;gap:9px;padding:10px 11px 8px}.duel-panel-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border:1px solid rgba(105,214,255,.2);border-radius:9px;background:rgba(64,196,240,.09);color:#62ddff}.duel-panel-heading h3{color:#fff;font-size:11px;font-weight:900}.duel-panel-heading p{margin-top:1px;color:#7797ad;font-size:6px;font-weight:700}.duel-compare-head{display:grid;grid-template-columns:1fr auto 1fr;gap:7px;align-items:center;margin:0 10px 6px;padding:5px 7px;border-radius:7px;background:rgba(51,151,204,.08);font-size:7px}.duel-compare-head b:last-child{text-align:right}.duel-compare-head span{color:#66859d;font-size:6px;font-weight:900}.duel-compare-rows{display:grid;gap:7px;padding:0 10px 10px}.duel-compare-values{display:grid;grid-template-columns:52px 1fr 52px;gap:6px;align-items:end}.duel-compare-values b{color:#fff;font-size:8px;font-weight:900}.duel-compare-values b:last-child{text-align:right}.duel-compare-values span{color:#a7bdcc;font-size:6px;font-weight:800;text-align:center}.duel-split-bar{display:flex;gap:3px;height:5px;margin-top:3px;border-radius:999px;background:#0c2133;overflow:hidden}.duel-split-bar i{height:100%;border-radius:999px}.duel-split-bar .away{background:linear-gradient(90deg,color-mix(in srgb,var(--away-primary) 65%,#fff),var(--away-primary))}.duel-split-bar .home{margin-left:auto;background:linear-gradient(90deg,var(--home-primary),color-mix(in srgb,var(--home-primary) 65%,#fff))}.duel-compare-row.unavailable{display:flex;justify-content:space-between;gap:10px;padding:6px 7px;border-radius:7px;background:rgba(255,255,255,.025);color:#7f9aae;font-size:6px}.duel-compare-row.unavailable small{color:#667e90}
.duel-edge-layout{display:grid;grid-template-columns:1fr 94px;gap:8px;align-items:center;padding:2px 10px 11px}.duel-edge-list{display:grid;gap:6px}.duel-edge-list>div{display:grid;grid-template-columns:14px 1fr auto;gap:5px;align-items:center;color:#c8dbe8;font-size:7px;font-weight:700}.duel-edge-list i{color:#55e795}.duel-edge-list b{font-size:6px}.duel-edge-list b.away{color:var(--away-primary)}.duel-edge-list b.home{color:var(--home-primary)}.duel-edge-orb{position:relative;display:grid;place-items:center;width:86px;height:86px;border-radius:50%;background:radial-gradient(circle,#0d3657 0%,#08233d 58%,#03111e 60%);box-shadow:0 0 28px rgba(57,192,255,.2),inset 0 0 0 5px rgba(67,197,255,.08),inset 0 0 0 6px rgba(93,219,255,.3)}.duel-edge-orb::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid transparent;border-top-color:#5ce5ff;border-right-color:#2589ff;transform:rotate(28deg)}.duel-edge-orb span{display:flex;flex-direction:column;align-items:center;color:#d9f5ff;font-size:6px;font-weight:900;text-align:center;text-transform:uppercase}.duel-edge-orb i{margin-bottom:3px;color:#ffd15f}.duel-edge-orb b{display:block;margin-top:1px;color:#fff;font-size:9px}

/* Analysis launcher */
.duel-analysis-launcher{margin-top:10px;padding:10px;border:1px solid rgba(99,204,244,.2);border-radius:18px;background:linear-gradient(180deg,rgba(8,25,43,.88),rgba(5,16,29,.94));box-shadow:0 16px 42px rgba(0,0,0,.18)}.duel-section-heading{display:flex;align-items:center;gap:9px;margin-bottom:8px}.duel-section-heading>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(92,216,255,.25);border-radius:9px;background:rgba(51,192,240,.09);color:#63dcff}.duel-section-heading h3{color:#fff;font-size:11px;font-weight:900}.duel-section-heading p{color:#718fa4;font-size:6px;font-weight:700}.duel-analysis-grid{display:grid;grid-template-columns:1fr;gap:5px}.duel-analysis-link{display:grid;grid-template-columns:29px minmax(0,1fr) 12px;gap:7px;align-items:center;min-height:46px;padding:7px 9px;border:1px solid rgba(105,199,235,.15);border-radius:10px;background:rgba(2,12,22,.5);text-align:left;transition:.18s ease}.duel-analysis-link:hover{border-color:rgba(89,218,255,.35);background:rgba(30,116,159,.08);transform:translateY(-1px)}.duel-analysis-link>i:first-child{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:rgba(70,197,242,.08);color:#61ddff}.duel-analysis-link span{min-width:0}.duel-analysis-link b{display:block;color:#f5fbff;font-size:8px;font-weight:900}.duel-analysis-link small{display:block;margin-top:1px;color:#6f8ca0;font-size:5.8px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.duel-analysis-link>i:last-child{color:#6f93a9;font-size:7px}

/* Lexicon */
.duel-lexicon-strip{margin-top:10px;padding:10px;border:1px solid rgba(69,216,255,.27);border-radius:18px;background:linear-gradient(90deg,rgba(8,40,58,.88),rgba(5,20,36,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 15px 38px rgba(0,0,0,.18)}.duel-lexicon-intro{display:flex;align-items:center;gap:9px}.duel-lexicon-intro>i{font-size:22px;color:#6ee7ff;text-shadow:0 0 18px rgba(86,219,255,.35)}.duel-lexicon-intro h3{color:#fff;font-size:11px;font-weight:900}.duel-lexicon-intro p{color:#7694a8;font-size:6px;font-weight:700}.duel-lexicon-cards{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.duel-lexicon-cards>div{min-width:0;padding:7px;border:1px solid rgba(113,205,239,.14);border-radius:9px;background:rgba(2,13,23,.5)}.duel-lexicon-cards i{margin-right:4px;color:#63ddff}.duel-lexicon-cards b{color:#fff;font-size:7px}.duel-lexicon-cards span{display:block;margin-top:2px;color:#718ca0;font-size:5.7px;line-height:1.3}

/* Modal / full duel */
.duel-modal{background:rgba(0,6,12,.78);backdrop-filter:blur(10px)}.duel-modal-panel{position:relative;width:min(100%,1060px);min-height:100dvh;margin:0 auto;background:linear-gradient(180deg,#03101e,#020a13);box-shadow:0 0 90px rgba(0,0,0,.66);overflow:visible}.duel-close-wrap{position:sticky;top:0;z-index:50;height:0}.duel-close{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(114,213,249,.24);border-radius:50%;background:rgba(2,12,22,.86);color:#d5ebf8;box-shadow:0 8px 24px rgba(0,0,0,.3);backdrop-filter:blur(8px)}.duel-close:hover{color:#fff;border-color:rgba(117,222,255,.55)}.duel-modal-content{padding:0 7px 36px}.duel-detail{padding-top:7px}.duel-detail-hero{position:relative;overflow:hidden;border:1px solid rgba(99,207,247,.25);border-radius:18px;background:#04101e;isolation:isolate}.duel-detail-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(100deg,color-mix(in srgb,var(--away-primary) 33%,#04101e),rgba(3,15,28,.92) 47% 53%,color-mix(in srgb,var(--home-primary) 33%,#04101e))}.duel-detail-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 46%,rgba(78,212,255,.12),transparent 30%),linear-gradient(180deg,transparent,rgba(2,9,18,.64))}.duel-detail-date{width:max-content;max-width:calc(100% - 60px);margin:9px auto 0;padding:5px 9px;border:1px solid rgba(123,209,242,.17);border-radius:8px;background:rgba(2,12,22,.7);color:#bed4e2;font-size:7px;font-weight:900}.duel-detail-date i{margin-right:5px;color:#62ddff}.duel-detail-faceoff{display:grid;grid-template-columns:1fr 56px 1fr;align-items:center;padding:6px 10px 2px}.duel-detail-faceoff>div{display:flex;flex-direction:column;align-items:center}.duel-detail-faceoff img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.32))}.duel-detail-faceoff b{color:#fff;font-size:15px;font-weight:900}.duel-detail-faceoff span{color:#829fb4;font-size:6px;font-weight:900;text-transform:uppercase}.duel-detail-faceoff>strong{color:#fff;font-size:23px;font-weight:900;font-style:italic;text-align:center;text-shadow:0 0 18px rgba(80,213,255,.35)}.duel-detail-hero .duel-verdict-row{margin-bottom:0}.duel-detail-hero .duel-quick-strip{padding-bottom:10px}.duel-modal-topgrid{display:grid;grid-template-columns:1fr;gap:8px;margin:8px 0}.duel-ev{display:grid;grid-template-columns:1fr 86px;gap:6px;align-items:center;margin:8px 0;padding:8px;border:1px solid rgba(91,226,157,.2);border-radius:13px;background:linear-gradient(90deg,rgba(12,46,33,.5),rgba(4,18,20,.54))}.duel-ev label{display:flex;align-items:center;gap:7px;color:#d4f5e3;font-size:7px;font-weight:900}.duel-ev label>i{color:#64e6a0}.duel-ev label span{display:flex;flex-direction:column}.duel-ev label small{margin-top:2px;color:#6c9b82;font-size:5.5px;font-weight:700;line-height:1.25}.duel-ev input{width:100%;min-width:0;padding:9px;border:1px solid rgba(99,220,159,.22);border-radius:8px;background:#03110d;color:#fff;font-size:10px;font-weight:900;text-align:center;outline:none}.duel-ev input:focus{border-color:#5adf99;box-shadow:0 0 0 3px rgba(90,223,153,.08)}.duel-ev-result{grid-column:1/-1;min-height:32px;display:grid;place-items:center;border:1px solid rgba(112,174,141,.14);border-radius:8px;background:rgba(2,13,10,.62);color:#7d9d8e;font-size:7px;font-weight:900}.duel-ev-result.good{color:#62e89d;border-color:rgba(92,232,154,.28)}.duel-ev-result.bad{color:#ff7d86;border-color:rgba(255,102,114,.28)}
.duel-modal-analysis{margin-top:8px;padding:9px;border:1px solid rgba(100,202,240,.18);border-radius:15px;background:rgba(5,18,32,.78)}.duel-accordion-list{display:grid;grid-template-columns:1fr;gap:5px}.duel-accordion{overflow:hidden;border:1px solid rgba(103,197,233,.15);border-radius:10px;background:rgba(2,12,22,.48)}.duel-accordion summary{list-style:none;display:grid;grid-template-columns:29px minmax(0,1fr) 13px;gap:7px;align-items:center;min-height:47px;padding:7px 9px;cursor:pointer}.duel-accordion summary::-webkit-details-marker{display:none}.duel-accordion-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:rgba(67,191,235,.09);color:#60dcff}.duel-accordion-copy strong{display:block;color:#f7fbff;font-size:8px;font-weight:900}.duel-accordion-copy span{display:block;margin-top:1px;color:#6d899e;font-size:5.7px;font-weight:700}.duel-accordion-chevron{color:#7090a5;font-size:7px;transition:.18s ease}.duel-accordion[open]{border-color:rgba(91,214,255,.3);background:rgba(5,21,35,.7)}.duel-accordion[open] .duel-accordion-chevron{transform:rotate(90deg)}.duel-accordion-body{padding:0 9px 10px 45px;color:#b5cbd9;font-size:7.5px;line-height:1.55}.duel-accordion-body p+p{margin-top:6px}.duel-modal-comparison .duel-insight-card,.duel-accordion-body>.duel-insight-card{box-shadow:none}.duel-accordion-body>.duel-insight-card{margin-left:-36px}
.duel-verdict-explain{padding:9px;border-left:3px solid #61dcff;border-radius:0 8px 8px 0;background:rgba(70,186,230,.07)}.duel-verdict-explain strong{color:#fff;font-size:10px}.duel-verdict-explain p{margin-top:4px;color:#9cb8ca}.duel-mini-signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.duel-mini-signal{display:grid;grid-template-columns:20px 1fr auto;gap:5px;align-items:center;padding:7px;border:1px solid rgba(100,199,235,.12);border-radius:8px;background:rgba(3,13,23,.45)}.duel-mini-signal i{color:#59d9ff}.duel-mini-signal span{color:#8ba8bc;font-size:6px}.duel-mini-signal b{color:#fff;font-size:7px}.duel-reasons{display:grid;gap:5px}.duel-reason{display:grid;grid-template-columns:24px 1fr;gap:7px;align-items:start;padding:8px;border:1px solid rgba(102,195,231,.12);border-radius:8px;background:rgba(2,12,22,.44)}.duel-reason>b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(81,203,246,.1);color:#68ddff;font-size:8px}.duel-reason strong{color:#fff;font-size:7.5px}.duel-reason p{margin-top:2px;color:#809caf;font-size:6.7px}.duel-callout{display:flex;gap:7px;align-items:flex-start;padding:8px;border-left:3px solid #5bd8ff;border-radius:0 8px 8px 0;background:rgba(63,180,225,.07)}.duel-callout>i{margin-top:2px;color:#62dbff}.duel-callout.warning{border-left-color:#f4ca67;background:rgba(244,202,103,.06)}.duel-callout.warning>i{color:#f4ca67}.duel-scenarios{display:grid;grid-template-columns:1fr;gap:5px}.duel-scenario{display:grid;grid-template-columns:26px 1fr;gap:5px;align-items:center;padding:8px;border:1px solid rgba(103,197,233,.12);border-radius:8px;background:rgba(2,12,22,.44)}.duel-scenario i{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(74,197,240,.08);color:#5fdcff}.duel-scenario strong{color:#fff;font-size:7.5px}.duel-scenario span{color:#809daf;font-size:6.5px}.duel-risk-list{display:grid;gap:5px}.duel-risk-list li{display:flex;gap:7px;padding:7px;border:1px solid rgba(255,180,83,.13);border-radius:8px;background:rgba(97,61,13,.08)}.duel-risk-list i{color:#ffca67}.duel-trend{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-radius:8px;background:rgba(3,14,24,.55)}.duel-trend strong{display:block;color:#fff;font-size:8px}.duel-trend span{display:block;color:#718fa2;font-size:6px}.duel-trend>div:last-child{font-size:9px;font-weight:900}.duel-trend .up{color:#5de49a}.duel-trend .down{color:#ff7d87}.duel-trend .flat{color:#f3c967}.duel-modal-lexicon .duel-lexicon-strip{margin-bottom:0}

@media (min-width:768px){
  .duel-shell{padding:18px 18px 105px}.duel-meta-pill.season{display:flex}.duel-side-insights{display:grid}.duel-commandbar{grid-template-columns:1fr auto;width:min(100%,860px)}.duel-feature-grid{grid-template-columns:minmax(0,1.45fr) minmax(290px,.78fr);align-items:stretch}.duel-side-insights{grid-template-rows:1fr 1fr}.duel-insight-card{height:100%}.duel-faceoff{min-height:238px}.duel-logo-halo{width:110px;height:110px}.duel-logo-halo img{width:89px;height:89px}.duel-team-side>b{font-size:20px}.duel-center-mark strong{font-size:34px}.duel-center-mark>span{font-size:9px}.duel-verdict-row{grid-template-columns:1fr minmax(165px,1.05fr) 1fr;margin:0 12px}.duel-prob{min-height:78px}.duel-prob b{font-size:40px}.duel-verdict{min-height:86px;margin:0 -11px}.duel-verdict strong{font-size:18px}.duel-quick-strip{padding:0 12px 12px}.duel-signal{min-height:62px}.duel-signal i{font-size:13px}.duel-signal strong{font-size:8px}.duel-signal span{font-size:6px}.duel-primary-cta{width:calc(100% - 24px);margin:0 12px 12px}.duel-analysis-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.duel-analysis-launcher{padding:11px 12px}.duel-analysis-link b{font-size:8.5px}.duel-lexicon-strip{display:grid;grid-template-columns:220px 1fr;gap:10px;align-items:center}.duel-lexicon-cards{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0}.duel-lexicon-cards>div{min-height:62px}.duel-modal-panel{min-height:0;margin:20px auto;border:1px solid rgba(94,210,252,.24);border-radius:22px;overflow:visible}.duel-modal-content{padding:8px 16px 24px}.duel-detail-faceoff img{width:105px;height:105px}.duel-detail-faceoff b{font-size:18px}.duel-detail-faceoff>strong{font-size:30px}.duel-modal-topgrid{grid-template-columns:1fr 1fr}.duel-ev{grid-template-columns:1fr 115px 135px}.duel-ev-result{grid-column:auto}.duel-accordion-list{grid-template-columns:1fr 1fr;gap:6px}.duel-accordion summary{min-height:52px}.duel-accordion-copy strong{font-size:8.5px}.duel-accordion-body{font-size:8px}.duel-scenarios{grid-template-columns:repeat(3,1fr)}.duel-scenario{display:flex;flex-direction:column;text-align:center}.duel-scenario i{grid-row:auto}.duel-close{top:10px;right:10px}
}
@media (min-width:1100px){
  .duel-shell{padding-left:22px;padding-right:22px}.duel-heading{padding-top:10px;padding-bottom:17px}.duel-match-pill{min-width:238px}.duel-analysis-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.duel-feature-grid{grid-template-columns:minmax(0,1.5fr) minmax(330px,.72fr)}.duel-panel-heading h3{font-size:12px}.duel-compare-values b{font-size:9px}.duel-compare-values span{font-size:6.5px}
}
@media (max-width:767px){
  #tab-predictions.duel-page{border-left:0;border-right:0;border-radius:0}.duel-shell{padding-left:7px;padding-right:7px}.duel-commandbar{grid-template-columns:1fr}.duel-command-meta{justify-content:center}.duel-toolbar{justify-content:center}.duel-mode-switch{flex:1;max-width:330px}.duel-mode-btn{min-width:0;width:100%}.duel-help-btn{flex:0 0 38px}.duel-heading h2 span{display:block;margin-top:2px}.duel-match-rail-wrap{margin-top:3px}.duel-match-pill{min-width:210px}.duel-faceoff{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);min-height:162px}.duel-logo-halo{width:74px;height:74px}.duel-logo-halo img{width:61px;height:61px}.duel-team-side>b{font-size:15px}.duel-verdict-row{grid-template-columns:1fr 120px 1fr}.duel-prob b{font-size:24px}.duel-verdict{margin:0 -8px}.duel-verdict strong{font-size:13px}.duel-quick-strip{gap:4px}.duel-signal{padding-left:2px;padding-right:2px}.duel-analysis-launcher{padding:8px}.duel-analysis-link{min-height:44px}.duel-lexicon-strip{padding:9px}.duel-detail-hero .duel-verdict-row{grid-template-columns:1fr 118px 1fr}.duel-accordion-body{padding-left:10px}.duel-accordion-body>.duel-insight-card{margin-left:0}.duel-close{position:fixed;top:max(8px,env(safe-area-inset-top));right:8px}.duel-modal-panel{padding-top:1px}
}
@media (max-width:390px){
  .duel-heading h2{font-size:23px}.duel-heading p{font-size:8.5px}.duel-meta-pill{padding:0 8px}.duel-mode-btn{font-size:7.4px}.duel-match-pill{min-width:196px}.duel-faceoff{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)}.duel-logo-halo{width:67px;height:67px}.duel-logo-halo img{width:55px;height:55px}.duel-team-side>b{font-size:14px}.duel-center-mark strong{font-size:22px}.duel-verdict-row{grid-template-columns:1fr 112px 1fr}.duel-prob{min-height:62px}.duel-prob b{font-size:22px}.duel-verdict{min-height:70px}.duel-verdict strong{font-size:12px}.duel-confidence{font-size:5.4px}.duel-signal i{font-size:9px}.duel-signal strong{font-size:6.3px}.duel-signal span{font-size:5px}.duel-analysis-link b{font-size:7.5px}.duel-detail-faceoff img{width:72px;height:72px}.duel-detail-hero .duel-verdict-row{grid-template-columns:1fr 108px 1fr}.duel-mini-signal-grid{grid-template-columns:1fr}
}


/* ========================================================================== 
   HockAI — DUEL HockAI V3 FINAL
   - vraie navigation mobile (sidebar fermée par défaut)
   - ambiance aréna / glace plus vivante
   - finitions visuelles proches de la maquette finale
   ========================================================================== */

body.duel-body{
  background:
    radial-gradient(ellipse at 50% -12%,rgba(13,190,255,.18),transparent 38%),
    radial-gradient(circle at 15% 75%,rgba(0,113,255,.08),transparent 30%),
    radial-gradient(circle at 88% 78%,rgba(56,220,255,.07),transparent 28%),
    #020812;
}
body.duel-body > main{position:relative;isolation:isolate}
body.duel-body > main::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(ellipse at 50% 5%,rgba(49,212,255,.10),transparent 34%),
    linear-gradient(118deg,transparent 0 18%,rgba(78,211,255,.025) 18.2% 18.45%,transparent 18.7% 81%,rgba(78,211,255,.025) 81.2% 81.45%,transparent 81.7%);
}
#tab-predictions.duel-page{
  border-color:rgba(93,214,255,.32);
  background:
    radial-gradient(ellipse at 50% -8%,rgba(65,218,255,.24),transparent 34%),
    radial-gradient(circle at 7% 30%,rgba(0,146,255,.12),transparent 27%),
    radial-gradient(circle at 93% 32%,rgba(0,212,255,.10),transparent 27%),
    linear-gradient(180deg,rgba(2,16,29,.96) 0%,rgba(1,8,17,.98) 55%,rgba(3,15,27,.98) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 0 0 1px rgba(29,178,241,.06),0 24px 80px rgba(0,0,0,.42),0 0 70px rgba(0,180,255,.07);
}
#tab-predictions.duel-page::before{
  inset:0;opacity:.26;
  background-image:
    linear-gradient(180deg,rgba(0,13,25,.30),rgba(0,8,18,.82)),
    url("../assets/background-pronos-equipes.png");
  background-size:cover,cover;
  background-position:center top,center center;
  background-repeat:no-repeat;
  filter:saturate(1.18) contrast(1.04) brightness(.86);
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.78) 34%,transparent 78%);
}
#tab-predictions.duel-page::after{
  left:-8%;right:-8%;bottom:-118px;height:255px;border-radius:50%;
  border:1px solid rgba(100,222,255,.18);
  background:
    radial-gradient(ellipse at 50% 0%,rgba(77,218,255,.14),transparent 56%),
    repeating-linear-gradient(90deg,transparent 0 84px,rgba(125,229,255,.025) 85px 86px),
    linear-gradient(180deg,rgba(86,216,255,.03),rgba(5,43,66,.15));
  box-shadow:0 -22px 80px rgba(31,190,255,.11),inset 0 22px 70px rgba(44,196,255,.05);
}
.duel-shell{position:relative;z-index:1}
.duel-heading::before{
  content:"";position:absolute;left:50%;top:-2px;width:min(720px,92vw);height:90px;transform:translateX(-50%);z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse,rgba(42,204,255,.18),transparent 66%);filter:blur(12px)
}
.duel-kicker{border-color:rgba(92,221,255,.35);background:linear-gradient(180deg,rgba(9,41,65,.88),rgba(2,16,30,.9));box-shadow:0 0 28px rgba(38,205,255,.17),inset 0 1px 0 rgba(255,255,255,.08)}
.duel-heading h2 span{background:linear-gradient(180deg,#b9f6ff 0%,#54ddff 55%,#2fb7ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 0 18px rgba(44,204,255,.24))}
.duel-commandbar,.duel-analysis-launcher,.duel-lexicon-strip,.duel-insight-card{
  backdrop-filter:blur(14px) saturate(1.25);
  -webkit-backdrop-filter:blur(14px) saturate(1.25);
}
.duel-commandbar{border-color:rgba(99,220,255,.29);background:linear-gradient(180deg,rgba(7,31,52,.88),rgba(3,15,29,.92));box-shadow:0 15px 42px rgba(0,0,0,.28),0 0 24px rgba(53,205,255,.05),inset 0 1px 0 rgba(255,255,255,.055)}
.duel-match-pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 9px 20px rgba(0,0,0,.18)}
.duel-match-pill.active{transform:translateY(-1px);border-color:rgba(126,233,255,.62);box-shadow:0 10px 30px rgba(0,0,0,.25),0 0 19px rgba(47,206,255,.13),inset 0 0 24px rgba(66,208,255,.05)}
.duel-hero{
  border-color:rgba(99,225,255,.50);
  box-shadow:0 24px 70px rgba(0,0,0,.40),0 0 34px rgba(34,193,255,.10),inset 0 1px 0 rgba(255,255,255,.075);
}
.duel-hero::before{
  background-image:
    linear-gradient(100deg,color-mix(in srgb,var(--away-primary) 46%,rgba(2,10,19,.86)) 0%,rgba(2,13,25,.70) 39%,rgba(2,10,20,.62) 50%,rgba(2,13,25,.70) 61%,color-mix(in srgb,var(--home-primary) 46%,rgba(2,10,19,.86)) 100%),
    url("../assets/background-pronos-equipes.png");
  background-size:cover,cover;background-position:center,center 44%;background-repeat:no-repeat;
  filter:saturate(1.1) contrast(1.02) brightness(.9);
}
.duel-hero::after{
  background:
    radial-gradient(circle at 15% 34%,color-mix(in srgb,var(--away-primary) 34%,transparent),transparent 30%),
    radial-gradient(circle at 85% 34%,color-mix(in srgb,var(--home-primary) 34%,transparent),transparent 30%),
    linear-gradient(180deg,rgba(1,8,15,.10),rgba(1,8,16,.25) 40%,rgba(1,8,16,.82) 100%);
}
.duel-logo-halo{background:radial-gradient(circle,rgba(255,255,255,.12),rgba(0,0,0,.08) 62%,transparent 66%)}
.duel-logo-halo::before{border-color:rgba(190,244,255,.16)}
.duel-center-mark strong{filter:drop-shadow(0 0 14px rgba(87,224,255,.45))}
.duel-verdict{border-color:#f0c95e;box-shadow:0 0 26px rgba(242,199,76,.14),inset 0 1px 0 rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(12,28,45,.97),rgba(4,16,29,.98))}
.duel-prob.left{box-shadow:inset 0 0 30px color-mix(in srgb,var(--away-primary) 11%,transparent)}
.duel-prob.right{box-shadow:inset 0 0 30px color-mix(in srgb,var(--home-primary) 11%,transparent)}
.duel-signal{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;background:linear-gradient(180deg,rgba(7,27,43,.88),rgba(2,14,25,.92))}
.duel-signal:hover{transform:translateY(-2px);border-color:rgba(105,224,255,.36);box-shadow:0 8px 20px rgba(0,0,0,.22),0 0 16px rgba(49,201,255,.07)}
.duel-primary-cta{box-shadow:0 0 24px rgba(46,208,255,.24),inset 0 1px 0 rgba(255,255,255,.40)}
.duel-primary-cta:hover{box-shadow:0 0 36px rgba(46,208,255,.38),0 8px 22px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.45)}
.duel-insight-card{border-color:rgba(91,210,252,.27);background:linear-gradient(180deg,rgba(7,26,44,.90),rgba(2,15,27,.94));box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 28px rgba(0,0,0,.18)}
.duel-analysis-launcher{border-color:rgba(93,216,255,.25);background:linear-gradient(180deg,rgba(6,25,43,.89),rgba(2,14,26,.94));box-shadow:0 14px 35px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.045)}
.duel-analysis-link{position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(8,31,50,.82),rgba(3,17,29,.90));transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.duel-analysis-link::before{content:"";position:absolute;left:0;top:12%;bottom:12%;width:2px;border-radius:2px;background:linear-gradient(#6ce7ff,#2aaaff);opacity:.65}
.duel-analysis-link:hover{transform:translateY(-1px);border-color:rgba(111,223,255,.44);box-shadow:0 7px 18px rgba(0,0,0,.20),0 0 14px rgba(55,206,255,.06)}
.duel-lexicon-strip{border-color:rgba(91,220,255,.34);background:linear-gradient(90deg,rgba(5,31,49,.94),rgba(3,18,31,.94));box-shadow:0 0 26px rgba(45,202,255,.07),inset 0 1px 0 rgba(255,255,255,.05)}
.duel-lexicon-cards>div{background:linear-gradient(180deg,rgba(9,35,55,.84),rgba(2,17,30,.90));border-color:rgba(104,216,255,.19)}
.duel-hero-actions{display:flex;align-items:center;justify-content:center;gap:7px;margin:9px auto 0;width:max-content;max-width:calc(100% - 28px)}
.duel-hero-actions .duel-hero-date{margin:0;max-width:none}
.duel-hero-share,.duel-modal-share,.duel-mobile-share,.duel-mobile-menu-toggle{
  display:grid;place-items:center;border:1px solid rgba(114,224,255,.30);background:rgba(3,17,30,.88);color:#9eeeff;transition:.18s ease
}
.duel-hero-share{width:29px;height:29px;border-radius:9px;font-size:9px}
.duel-hero-share:hover,.duel-modal-share:hover,.duel-mobile-share:hover,.duel-mobile-menu-toggle:hover{color:#fff;border-color:rgba(139,237,255,.66);box-shadow:0 0 18px rgba(54,210,255,.18)}
.duel-hero-share.copied,.duel-modal-share.copied,.duel-mobile-share.copied{color:#64e69b;border-color:rgba(100,230,155,.62)}
.duel-close-wrap{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.duel-modal-share{width:34px;height:34px;border-radius:50%;font-size:10px}
.duel-modal{background:rgba(0,6,13,.86);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.duel-modal-panel{border-color:rgba(103,224,255,.39);box-shadow:0 32px 100px rgba(0,0,0,.58),0 0 46px rgba(29,196,255,.08),inset 0 1px 0 rgba(255,255,255,.055)}
.duel-detail-hero{overflow:hidden;background:linear-gradient(100deg,color-mix(in srgb,var(--away-primary) 30%,#04101e),rgba(2,12,23,.92) 49%,color-mix(in srgb,var(--home-primary) 30%,#04101e))}
.duel-detail-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:url("../assets/background-pronos-equipes.png") center 42%/cover no-repeat;opacity:.18;filter:saturate(1.35) contrast(1.08)}
.duel-accordion{background:linear-gradient(180deg,rgba(5,24,40,.78),rgba(2,14,24,.82));transition:border-color .18s ease,box-shadow .18s ease}
.duel-accordion:hover{border-color:rgba(107,220,255,.32)}
.duel-accordion[open]{box-shadow:0 7px 22px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025)}

/* Barre mobile fidèle à la maquette : hamburger + logo + partage. */
.duel-mobile-topbar,.duel-mobile-nav-overlay{display:none}

@media (max-width:767px){
  html{background:#020812;width:100%;overflow-x:hidden}
  body.duel-body{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;overflow-y:auto!important;background:#020812}
  body.duel-body #sidebar-container{width:0!important;min-width:0!important;flex:0 0 0!important;overflow:visible!important}
  body.duel-body > main{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
  body.duel-body > main > .p-0{padding:0!important;height:auto!important;min-height:100svh!important}
  #header-container{display:none!important}
  #sidebar-container{
    display:block!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;z-index:1001!important;
    width:min(84vw,310px)!important;max-width:310px!important;height:100svh!important;overflow-y:auto!important;overflow-x:hidden!important;
    transform:translateX(-104%)!important;transition:transform .24s cubic-bezier(.22,.8,.25,1)!important;box-shadow:18px 0 55px rgba(0,0,0,.46);background:#06101f;
  }
  #sidebar-container>*{min-height:100%!important}
  body.duel-mobile-nav-open #sidebar-container{transform:translateX(0)!important}
  .duel-mobile-nav-overlay{display:block;position:fixed;inset:0;z-index:1000;border:0;background:rgba(0,6,13,.72);opacity:0;pointer-events:none;transition:opacity .22s ease;backdrop-filter:blur(4px)}
  body.duel-mobile-nav-open .duel-mobile-nav-overlay{opacity:1;pointer-events:auto}
  .duel-mobile-topbar{
    display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:7px;position:sticky;top:0;z-index:80;height:58px;padding:7px 9px;
    border-bottom:1px solid rgba(98,221,255,.22);background:linear-gradient(180deg,rgba(5,22,39,.98),rgba(2,10,20,.95));
    box-shadow:0 12px 30px rgba(0,0,0,.26),inset 0 -1px 0 rgba(255,255,255,.025);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)
  }
  .duel-mobile-menu-toggle,.duel-mobile-share{width:40px;height:40px;border-radius:12px;font-size:15px}
  .duel-mobile-brand{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;color:#f7fbff;font-size:10px;font-weight:900;letter-spacing:.04em}
  .duel-mobile-brand img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(44,211,255,.22))}
  .duel-mobile-brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #tab-predictions.duel-page{height:auto!important;min-height:calc(100svh - 58px)!important;overflow:visible!important;border:0!important;border-radius:0!important;scrollbar-gutter:auto}
  #tab-predictions.duel-page::before{opacity:.19;background-position:center top,center 10%;mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.65) 34%,transparent 68%)}
  .duel-shell{width:100%;padding:8px 7px 72px}
  .duel-heading{padding-top:4px;padding-bottom:11px}
  .duel-kicker{font-size:7px;padding:4px 8px}
  .duel-heading h2{margin-top:7px;font-size:clamp(23px,8vw,31px);line-height:.98}
  .duel-heading p{max-width:360px;font-size:8.2px;line-height:1.38}
  .duel-commandbar{margin-bottom:7px;border-radius:13px;padding:5px}
  .duel-command-meta{display:none}
  .duel-toolbar{width:100%}
  .duel-mode-switch{max-width:none;width:100%}
  .duel-help-btn{width:36px;height:36px}
  .duel-match-rail-wrap{margin:5px 0 7px}
  .duel-match-rail-title{font-size:6px;margin-left:2px}
  .duel-match-pill{min-width:184px;min-height:46px;padding:6px 7px;border-radius:11px}
  .duel-pill-logos img{width:21px;height:21px}.duel-pill-copy b{font-size:8px}.duel-pill-copy small{font-size:5.5px}.duel-pill-fav{font-size:6px}
  .duel-feature-grid{gap:7px}
  .duel-hero{border-radius:17px}
  .duel-hero-actions{margin-top:7px}
  .duel-hero-date{font-size:6.2px}
  .duel-hero-share{width:27px;height:27px}
  .duel-faceoff{min-height:156px;padding-top:2px}
  .duel-logo-halo{width:72px;height:72px}.duel-logo-halo img{width:59px;height:59px}
  .duel-team-side>b{font-size:14px}.duel-team-side>span{font-size:6px}.duel-center-mark>span{font-size:6px}.duel-center-mark strong{font-size:24px}.duel-center-mark small{font-size:5px}
  .duel-verdict-row{grid-template-columns:1fr 112px 1fr;margin:0 5px}.duel-prob{min-height:62px}.duel-prob b{font-size:23px}.duel-prob span{font-size:5.7px}.duel-verdict{min-height:69px;margin:0 -7px}.duel-verdict-label{font-size:5px}.duel-verdict strong{font-size:12px}.duel-confidence{font-size:5px}
  .duel-quick-label{font-size:6.2px;margin-top:7px}.duel-quick-strip{padding:0 5px 7px;gap:3px}.duel-signal{min-height:49px;border-radius:8px}.duel-signal i{font-size:9px}.duel-signal strong{font-size:6px}.duel-signal span{font-size:4.5px}.duel-signal em{font-size:4.5px}
  .duel-primary-cta{width:calc(100% - 10px);margin:0 5px 8px;min-height:39px;border-radius:10px;font-size:7.5px}
  .duel-side-insights{display:none!important}
  .duel-analysis-launcher{margin-top:7px;padding:7px;border-radius:14px}.duel-section-heading{margin-bottom:6px}.duel-section-heading h3{font-size:9px}.duel-section-heading p{font-size:5.5px}
  .duel-analysis-grid{grid-template-columns:1fr;gap:4px}.duel-analysis-link{min-height:43px;padding:6px 8px;border-radius:9px}.duel-analysis-link>b{font-size:7px}.duel-analysis-link b{font-size:7.5px}.duel-analysis-link small{font-size:5.2px}
  .duel-lexicon-strip{margin-top:7px;border-radius:14px;padding:8px}.duel-lexicon-intro h3{font-size:9px}.duel-lexicon-intro p{font-size:5.6px}.duel-lexicon-cards{grid-template-columns:repeat(5,minmax(74px,1fr));overflow-x:auto;scrollbar-width:none}.duel-lexicon-cards::-webkit-scrollbar{display:none}.duel-lexicon-cards>div{min-width:74px;min-height:57px}.duel-lexicon-cards b{font-size:7px}.duel-lexicon-cards span{font-size:4.5px}
  .duel-modal{padding:0!important;align-items:stretch!important;justify-content:flex-start!important}
  .duel-modal-panel{width:100%!important;max-width:none!important;min-height:100svh!important;margin:0!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#03111f,#020914)!important;box-shadow:none!important}
  .duel-close-wrap{position:sticky;top:0;z-index:25;padding:7px 8px;background:linear-gradient(180deg,rgba(2,12,22,.96),rgba(2,12,22,.72),transparent)}
  .duel-modal-share,.duel-close{position:static!important;width:38px!important;height:38px!important}
  .duel-modal-content{padding:0 7px 28px!important}
  .duel-detail-hero{border-radius:15px}.duel-detail-faceoff{grid-template-columns:1fr 48px 1fr}.duel-detail-faceoff img{width:72px;height:72px}.duel-detail-faceoff b{font-size:14px}.duel-detail-faceoff>strong{font-size:23px}
  .duel-modal-topgrid{grid-template-columns:1fr!important}.duel-modal-topgrid .duel-insight-card{min-height:0}
  .duel-ev{grid-template-columns:1fr 84px}.duel-ev-result{grid-column:1/-1}
  .duel-modal-analysis{padding:7px;border-radius:13px}.duel-accordion-list{grid-template-columns:1fr!important;gap:4px}.duel-accordion summary{min-height:48px}.duel-accordion-copy strong{font-size:7.8px}.duel-accordion-copy span{font-size:5.4px}.duel-accordion-body{font-size:7px}
}


.duel-betting-focus{display:grid;gap:8px;margin:8px 0;padding:10px;border:1px solid rgba(106,223,255,.24);border-radius:14px;background:linear-gradient(90deg,rgba(6,35,56,.68),rgba(4,18,26,.84));box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 10px 26px rgba(0,0,0,.18)}
.duel-betting-focus-head{display:flex;align-items:center;gap:8px;color:#e9fbff}
.duel-betting-focus-head i{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(0,190,255,.12);color:#6fe7ff}
.duel-betting-focus-head b{display:block;font-size:8.5px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.duel-betting-focus-head span{display:block;color:#8eb4c8;font-size:6.2px;font-weight:700;line-height:1.35}
.duel-betting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.duel-betting-card{padding:9px 8px;border:1px solid rgba(116,219,255,.16);border-radius:11px;background:linear-gradient(180deg,rgba(8,31,49,.86),rgba(3,16,29,.88));min-height:73px}
.duel-betting-card small{display:block;margin-bottom:4px;color:#7eb8cf;font-size:5.7px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.duel-betting-card strong{display:block;color:#fff;font-size:8.5px;font-weight:900;line-height:1.25}
.duel-betting-card p{margin-top:4px;color:#a7c5d5;font-size:6px;font-weight:700;line-height:1.45}
.duel-betting-card .good{color:#67f0a7}
.duel-betting-card .warn{color:#ffd769}
.duel-betting-card .risk{color:#ff8997}
@media (min-width:768px){.duel-betting-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.duel-betting-grid{grid-template-columns:1fr}}


/* ======================================================================
   HockAI DUEL V5 — Layout & legibility hardening (scoped to Pronos Equipes)
   Breakpoint 768px matches existing shared Tailwind md sidebar in layout.js.
   ====================================================================== */
html:has(body.duel-body){width:100%;min-height:100%;height:auto!important;overflow-x:clip!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
body.duel-body{position:relative!important;display:flex!important;min-height:100dvh!important;height:auto!important;overflow-x:clip!important;overflow-y:visible!important;overscroll-behavior-y:auto!important}
body.duel-body > main{flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:100%!important;min-height:100dvh!important;height:auto!important;overflow:visible!important}
body.duel-body > main > .p-0{height:auto!important;min-height:100dvh!important;overflow:visible!important}
body.duel-body #tab-predictions.duel-page{height:auto!important;min-height:calc(100dvh - 110px)!important;max-height:none!important;overflow:visible!important;scrollbar-gutter:auto}
body.duel-body #tab-predictions.duel-page::before{
  background-image:linear-gradient(180deg,rgba(0,13,25,.36),rgba(0,8,18,.76)),url("../assets/background-pronos-equipes.png");
  background-size:cover; background-position:center top; opacity:.36; filter:saturate(1.18) brightness(.88);mask-image:linear-gradient(to bottom,black 0 42%,transparent 90%);
}
body.duel-body > main::before{background:radial-gradient(ellipse at 45% 10%,rgba(30,148,209,.14),transparent 50%)}
.duel-heading{padding-top:14px}
.duel-heading h2{letter-spacing:-.017em}
.duel-mode-description{display:flex;align-items:center;justify-content:center;gap:8px;max-width:850px;margin:-2px auto 12px;padding:7px 12px;color:#a6d1e5;background:rgba(1,11,21,.54);border:1px solid rgba(99,207,250,.12);border-radius:10px;font-weight:700;font-size:11px;line-height:1.5;text-align:center}
.duel-mode-description i{color:#83e0ff;font-size:14px;flex-shrink:0}
.duel-hero::before{background-image:linear-gradient(105deg,color-mix(in srgb,var(--away-primary) 38%,rgba(2,12,25,.73)) 0%,rgba(2,13,26,.68) 37%,rgba(2,10,22,.77) 53%,rgba(2,13,26,.68) 67%,color-mix(in srgb,var(--home-primary) 38%,rgba(2,12,25,.73)) 100%),url("../assets/background-pronos-equipes.png");background-position:center,center 30%;filter:saturate(1.3) contrast(1.07)}
.duel-insight-card,.duel-analysis-launcher,.duel-lexicon-strip{box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 32px rgba(0,0,0,.23)}
.duel-primary-cta,.duel-mode-btn.active{background-image:linear-gradient(180deg,#a7f2ff 0%,#3cdbff 50%,#1484d7 100%);color:#011322}
.duel-match-pill,.duel-analysis-link,.duel-signal,.duel-accordion{outline-offset:3px}
.duel-match-pill:focus-visible,.duel-analysis-link:focus-visible,.duel-mode-btn:focus-visible,.duel-accordion summary:focus-visible,.duel-mobile-menu-toggle:focus-visible,.duel-primary-cta:focus-visible{outline:2px solid #83edff}
.duel-match-pill,.duel-mode-btn,.duel-primary-cta,.duel-analysis-link{touch-action:manipulation}
.duel-lexicon-intro p{line-height:1.4}
.duel-accordion summary{min-height:54px}
.duel-accordion-copy strong{font-size:clamp(11px,1.1vw,13px);line-height:1.3}
.duel-accordion-copy span{font-size:clamp(9px,.83vw,11px);line-height:1.35}
.duel-accordion-body{font-size:12px;line-height:1.65;color:#c2d9e8}
.duel-reason strong,.duel-scenario strong{font-size:12px}
.duel-reason p,.duel-scenario span{font-size:11px;line-height:1.5}
.duel-callout{font-size:12px;line-height:1.55}
.duel-verdict-explain p{font-size:12px;line-height:1.6}
.duel-lexicon-cards span{line-height:1.45}
.duel-betting-card{min-height:110px}
.duel-betting-card small{font-size:10px}
.duel-betting-card strong{font-size:13px}
.duel-betting-card p{font-size:11px;line-height:1.5}
.duel-betting-focus-head b{font-size:13px}
.duel-betting-focus-head span{font-size:11px}
.duel-betting-focus-head i{width:38px;height:38px;font-size:18px}
.duel-close-wrap{height:44px}
.duel-modal{max-width:100vw;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.duel-modal-panel{width:min(calc(100% - 32px),1060px);max-width:100%;min-width:0}
.duel-modal-content{min-width:0}
html.duel-modal-visible,html.duel-modal-visible body.duel-body{overflow-y:hidden!important;height:100dvh!important}
/* Keep the full-screen modal scroll independent of the background page. */
body.duel-modal-visible .duel-modal{overflow-y:auto!important;touch-action:pan-y!important}
@media (min-width:768px){
  body.duel-body #sidebar-container{position:sticky!important;top:0!important;left:0!important;align-self:flex-start!important;display:block!important;flex:0 0 256px!important;width:256px!important;min-width:256px!important;height:100dvh!important;transform:none!important;overflow:visible!important;z-index:60}
  body.duel-body #sidebar-container #sidebar{position:relative!important;display:flex!important;transform:none!important;left:0!important;top:0!important;width:256px!important;height:100dvh!important;max-width:none!important;overflow-y:auto!important;pointer-events:auto!important}
  body.duel-body .duel-mobile-topbar,body.duel-body .duel-mobile-nav-overlay{display:none!important}
  .duel-hero-date{font-size:11px}
  .duel-team-side>span{font-size:10px}
  .duel-match-rail-title{font-size:10px}
  .duel-match-pill{min-height:58px}
  .duel-pill-copy b{font-size:11px}
  .duel-pill-copy small{font-size:9px}
  .duel-pill-fav{font-size:9px}
  .duel-mode-btn{font-size:12px;min-height:44px}
  .duel-compare-values b{font-size:12px}
  .duel-compare-values span{font-size:10px}
  .duel-panel-heading h3{font-size:14px}
  .duel-panel-heading p{font-size:10px}
  .duel-analysis-link{min-height:56px}
  .duel-analysis-link b{font-size:12px}
  .duel-analysis-link small{font-size:9px}
  .duel-lexicon-cards b{font-size:12px}
  .duel-lexicon-cards span{font-size:9px}
  .duel-accordion-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:768px) and (max-width:1120px){
  .duel-feature-grid{grid-template-columns:1fr!important}
  .duel-side-insights{display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:none!important;align-items:stretch}
  .duel-shell{padding:14px 12px 100px}
  .duel-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  html:has(body.duel-body){width:100%;overflow-x:hidden!important}
  body.duel-body{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
  body.duel-body > main{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}
  body.duel-body > main > .p-0{min-height:0!important;padding:0!important;height:auto!important;overflow:visible!important}
  body.duel-body #header-container{display:none!important}
  /* Off-canvas menu: hide the injected aside itself, never reserve layout width. */
  body.duel-body #sidebar-container{
    position:fixed!important;left:0!important;top:0!important;bottom:auto!important;
    display:block!important;width:0!important;min-width:0!important;max-width:0!important;height:0!important;
    padding:0!important;margin:0!important;flex:none!important;transform:none!important;
    overflow:visible!important;pointer-events:none!important;z-index:1200!important;
  }
  body.duel-body #sidebar-container #sidebar-overlay{display:none!important;pointer-events:none!important}
  body.duel-body #sidebar-container #sidebar{
    position:fixed!important;top:0!important;left:0!important;bottom:0!important;
    display:flex!important;flex-direction:column!important;
    width:min(85vw,320px)!important;max-width:min(85vw,320px)!important;height:100dvh!important;
    margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    transform:translate3d(-110%,0,0)!important;opacity:1!important;
    transition:transform .27s cubic-bezier(.22,.8,.25,1)!important;
    pointer-events:none!important;z-index:1201!important;box-shadow:15px 0 50px rgba(0,0,0,.42);
  }
  body.duel-body.duel-mobile-nav-open #sidebar-container #sidebar{
    transform:translate3d(0,0,0)!important;pointer-events:auto!important;
  }
  body.duel-body .duel-mobile-nav-overlay{z-index:1190!important;position:fixed!important;inset:0!important;display:block!important;pointer-events:none!important;opacity:0!important;transition:opacity .2s ease!important;background:rgba(0,6,14,.73)!important;backdrop-filter:blur(4px)}
  body.duel-body.duel-mobile-nav-open .duel-mobile-nav-overlay{pointer-events:auto!important;opacity:1!important}
  body.duel-body .duel-mobile-topbar{position:sticky!important;top:0!important;z-index:100!important;display:grid!important;height:62px!important;padding:9px 12px!important;border-bottom:1px solid rgba(110,228,255,.25)!important;background:linear-gradient(180deg,rgba(2,18,37,.99),rgba(2,14,27,.95))!important}
  .duel-mobile-menu-toggle,.duel-mobile-share{width:44px!important;height:44px!important;font-size:19px!important;cursor:pointer}
  .duel-mobile-brand{font-size:13px!important}
  .duel-mobile-brand img{width:48px!important;height:48px!important}
  body.duel-body #tab-predictions.duel-page{min-height:calc(100dvh - 62px)!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0!important;scrollbar-gutter:auto}
  body.duel-body #tab-predictions.duel-page::before{opacity:.27;mask-image:linear-gradient(to bottom,#000 0%,transparent 80%);background-position:center top}
  .duel-shell{width:100%!important;max-width:100%!important;padding:13px 12px max(96px,env(safe-area-inset-bottom))!important}
  .duel-heading{padding:6px 0 15px!important}
  .duel-heading h2{font-size:clamp(23px,7vw,31px)!important;line-height:1.1!important;letter-spacing:-.02em!important}
  .duel-heading p{max-width:360px;font-size:11px!important;line-height:1.45!important}
  .duel-kicker{font-size:10px!important;padding:5px 11px!important}
  .duel-commandbar{padding:6px!important;margin-bottom:9px!important}
  .duel-mode-switch{max-width:none!important;width:100%!important}
  .duel-mode-btn{min-height:44px!important;font-size:12px!important}
  .duel-help-btn{width:44px!important;height:44px!important;flex:0 0 44px!important;font-size:15px}
  .duel-mode-description{font-size:10px!important;line-height:1.4!important;margin:0 0 10px;padding:7px 10px}
  .duel-match-rail-wrap{margin:7px 0 11px!important}
  .duel-match-rail-title{font-size:10px!important;margin-bottom:5px!important}
  .duel-match-pill{min-width:210px!important;min-height:58px!important;padding:7px 9px!important}
  .duel-pill-logos img{width:25px!important;height:25px!important}
  .duel-pill-copy b{font-size:11px!important}.duel-pill-copy small{font-size:9px!important}.duel-pill-fav{font-size:9px!important}
  .duel-hero{border-radius:17px!important;border-color:rgba(112,223,255,.52)!important}
  .duel-hero-actions{margin-top:8px!important}
  .duel-hero-date{font-size:10px!important;padding:6px 9px!important}
  .duel-hero-share{width:35px!important;height:35px!important;font-size:12px!important}
  .duel-faceoff{grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr)!important;min-height:170px!important;padding:8px 7px 5px!important}
  .duel-logo-halo{width:80px!important;height:80px!important}.duel-logo-halo img{width:69px!important;height:69px!important}
  .duel-team-side>b{font-size:17px!important}.duel-team-side>span{font-size:9px!important}
  .duel-center-mark>span{font-size:9px!important}.duel-center-mark strong{font-size:29px!important}.duel-center-mark small{font-size:8px!important;line-height:1.2}
  .duel-verdict-row{grid-template-columns:minmax(0,1fr) 126px minmax(0,1fr)!important;margin:0 6px!important}
  .duel-prob{min-height:76px!important;padding:7px 2px!important}.duel-prob b{font-size:clamp(23px,7.3vw,31px)!important}.duel-prob span{font-size:9px!important}
  .duel-verdict{min-height:83px!important;margin:0 -7px!important;padding:7px 3px!important}.duel-verdict-label{font-size:8px!important}.duel-verdict strong{font-size:15px!important;line-height:1.1}.duel-confidence{font-size:8px!important}
  .duel-tie-pill{font-size:12px!important;padding:8px 12px!important;margin:7px auto!important;max-width:max-content}
  .duel-quick-label{font-size:11px!important;margin:10px 0 6px!important}
  .duel-quick-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:0 6px 10px!important;gap:4px!important}
  .duel-signal{min-width:0!important;min-height:77px!important;padding:6px 1px!important;border-radius:10px!important}.duel-signal i{font-size:15px!important}.duel-signal strong{font-size:10px!important;overflow-wrap:anywhere}.duel-signal span{font-size:8px!important;line-height:1.16!important;overflow-wrap:anywhere}.duel-signal em{font-size:8px!important}
  .duel-primary-cta{min-height:48px!important;font-size:13px!important;margin:0 6px 9px!important;width:calc(100% - 12px)!important;border-radius:12px!important}
  .duel-side-insights{display:none!important}
  .duel-analysis-launcher{margin-top:13px!important;padding:12px!important;border-radius:14px}
  .duel-section-heading{margin-bottom:9px!important}.duel-section-heading h3{font-size:15px!important}.duel-section-heading p{font-size:11px!important}
  .duel-analysis-grid{grid-template-columns:1fr!important;gap:6px!important}.duel-analysis-link{min-height:59px!important;padding:9px 11px!important;border-radius:10px!important}.duel-analysis-link>i:first-child{font-size:18px!important}.duel-analysis-link b{font-size:13px!important;line-height:1.3}.duel-analysis-link small{font-size:10px!important;line-height:1.25}
  .duel-lexicon-strip{margin-top:12px!important;padding:12px!important;border-radius:14px}.duel-lexicon-intro h3{font-size:14px!important}.duel-lexicon-intro p{font-size:11px!important}
  .duel-lexicon-cards{grid-template-columns:repeat(5,minmax(134px,1fr))!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:4px}.duel-lexicon-cards>div{min-width:134px!important;min-height:88px!important;scroll-snap-align:start;padding:8px!important}.duel-lexicon-cards b{font-size:12px!important}.duel-lexicon-cards span{font-size:10px!important;line-height:1.35}
  .duel-modal{z-index:2000!important;inset:0!important;max-height:100dvh!important;padding:0!important;align-items:stretch!important;overflow-y:auto!important}
  .duel-modal-panel{min-height:100dvh!important;max-height:none!important;width:100%!important;max-width:100%!important;margin:0!important;border:0!important;border-radius:0!important;overflow:visible!important}
  .duel-close-wrap{position:sticky!important;top:0!important;height:54px!important;padding:7px 13px!important;background:rgba(2,14,28,.98)!important;border-bottom:1px solid rgba(81,199,241,.2);z-index:50!important}
  .duel-close,.duel-modal-share{position:static!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;font-size:17px!important}
  .duel-modal-content{padding:8px 10px 44px!important}
  .duel-detail-date{font-size:10px!important;padding:8px!important}.duel-detail-faceoff img{width:78px!important;height:78px!important}.duel-detail-faceoff b{font-size:17px!important}.duel-detail-faceoff span{font-size:9px!important}.duel-detail-faceoff>strong{font-size:27px!important}
  .duel-modal-topgrid{grid-template-columns:1fr!important}.duel-compare-values b{font-size:12px!important}.duel-compare-values span{font-size:10px!important}.duel-panel-heading h3{font-size:15px!important}.duel-panel-heading p{font-size:11px!important}
  .duel-betting-grid{grid-template-columns:1fr!important}.duel-betting-card{min-height:0!important}.duel-betting-card small{font-size:10px!important}.duel-betting-card strong{font-size:14px!important}.duel-betting-card p{font-size:12px!important}
  .duel-modal-analysis{padding:11px!important}.duel-accordion-list{grid-template-columns:1fr!important;gap:7px!important}.duel-accordion summary{min-height:60px!important;padding:9px 10px!important}.duel-accordion-icon{width:35px!important;height:35px!important;font-size:16px!important}.duel-accordion-copy strong{font-size:13px!important}.duel-accordion-copy span{font-size:10px!important}.duel-accordion-body{font-size:12px!important;line-height:1.6!important;padding:2px 12px 14px!important}
}
@media (max-width:360px){
 .duel-shell{padding-left:8px!important;padding-right:8px!important}
 .duel-faceoff{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)!important}
 .duel-logo-halo{width:66px!important;height:66px!important}.duel-logo-halo img{width:57px!important;height:57px!important}
 .duel-verdict-row{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr)!important}
 .duel-verdict strong{font-size:12px!important}
 .duel-prob b{font-size:22px!important}
 .duel-signal strong{font-size:9px!important}.duel-signal span{font-size:7px!important}
}
@media (prefers-reduced-motion:reduce){
 .duel-mobile-nav-overlay,.duel-primary-cta,.duel-match-pill,.duel-analysis-link,.duel-signal{transition:none!important;animation:none!important}
}

/* V5 final guards: Tailwind preflight fallback and independent desktop modal scroll. */
html:has(body.duel-body),body.duel-body{margin:0!important;padding:0;box-sizing:border-box}
body.duel-body *,body.duel-body *::before,body.duel-body *::after{box-sizing:border-box}
body.duel-body .duel-modal{position:fixed!important;inset:0!important;z-index:2000!important;max-width:100vw!important;max-height:100dvh!important;width:100%!important;height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}
body.duel-body .duel-modal.hidden{display:none!important}
body.duel-body .duel-modal:not(.hidden){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important}
body.duel-body .duel-modal-panel{position:relative!important;max-width:1060px!important;min-height:0!important;flex:0 0 auto!important;box-sizing:border-box!important}
@media(max-width:767px){
 body.duel-body .duel-modal:not(.hidden){align-items:stretch!important}
 body.duel-body .duel-modal-panel{max-width:100%!important;min-height:100dvh!important}
}
/* Modal must sit above the sticky navigation even when main creates its own stacking context. */
body.duel-body.duel-modal-visible > main{z-index:1250!important}
body.duel-body.duel-modal-visible .duel-mobile-topbar{pointer-events:none!important}

/* ============================================================================
   HockAI — DUEL V6 ARENA PREMIUM
   Fidélité à la maquette : héros de glace, contraste, prélecture, états mobiles.
   Tous les sélecteurs sont propres à la page DUEL ; aucun layout partagé modifié.
   ============================================================================ */
html:has(body.duel-body){scrollbar-color:#1eb5eb #020b16}
body.duel-body{background:#020d1b!important}
body.duel-body > main{position:relative;isolation:isolate}
body.duel-body > main::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(1,12,23,.86),rgba(1,12,23,.70) 40%,rgba(1,12,23,.82)),url("../assets/background-pronos-equipes.png") center top / cover no-repeat;opacity:.38}
#tab-predictions.duel-page{--duel-text:#f7fcff;--duel-muted:#bfd5e6;border:1px solid rgba(96,208,255,.52)!important;box-shadow:0 0 0 1px rgba(79,202,255,.08),0 12px 64px rgba(0,5,19,.7),0 0 38px rgba(23,170,255,.13),inset 0 0 24px rgba(18,150,245,.06)!important;background:linear-gradient(175deg,rgba(1,19,34,.96),rgba(0,9,23,.98) 54%,rgba(0,16,32,.97))!important}
body.duel-body #tab-predictions.duel-page::before{opacity:.30!important;filter:saturate(1.4) brightness(1.12);background-image:linear-gradient(180deg,rgba(0,14,27,.32),rgba(0,9,21,.90)),url("../assets/background-pronos-equipes.png");background-size:cover;background-position:center top;mask-image:linear-gradient(to bottom,#000 0 48%,transparent 97%)}
.duel-shell{max-width:1330px!important;padding-bottom:88px}
.duel-heading{text-align:left;padding:14px 4px 14px}
.duel-heading h2{font-size:clamp(27px,3vw,37px);font-weight:900;letter-spacing:-.03em;text-transform:uppercase;text-shadow:0 2px 14px rgba(0,0,0,.38)}
.duel-heading p{margin:6px 0 0;max-width:950px;color:#c9e4f4!important;font-size:12px!important;line-height:1.55}
.duel-kicker{font-size:10px}
.duel-commandbar{width:100%!important;border-color:rgba(93,213,255,.40)!important;padding:9px 12px!important;background:linear-gradient(180deg,rgba(2,32,54,.97),rgba(1,14,28,.95))!important;box-shadow:0 8px 24px rgba(0,0,0,.32),inset 0 1px rgba(150,241,255,.13)!important}
.duel-meta-pill{font-size:10px!important;color:#e1f3fd!important}
.duel-mode-btn{font-size:12px!important;min-height:43px!important}
.duel-mode-btn:not(.active){color:#e0eefe!important}
.duel-help-btn{color:#bfefff!important}
.duel-mode-description{font-size:11px!important;color:#bfe6f7!important;border-color:rgba(93,208,253,.28)!important}
.duel-match-rail-title{font-size:10px!important;color:#a9e4ff!important;letter-spacing:.12em}
.duel-match-pill{min-height:61px!important;border:1px solid rgba(117,202,242,.35)!important;background:linear-gradient(120deg,rgba(5,32,56,.93),rgba(3,15,29,.96))!important}
.duel-match-pill.active{border-color:#70dcff!important;box-shadow:0 0 0 1px rgba(109,228,255,.25),0 0 16px rgba(22,178,255,.25)!important}
.duel-pill-copy b{font-size:12px!important}.duel-pill-copy small{font-size:9px!important;color:#c4ddeb!important}.duel-pill-fav{font-size:10px!important}
.duel-hero{border:1px solid rgba(113,223,255,.62)!important;background:#041325;box-shadow:0 0 0 1px rgba(77,209,255,.09),0 14px 32px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08)!important}
.duel-hero::before{background-image:linear-gradient(90deg,color-mix(in srgb,var(--away-primary) 42%,rgba(3,13,31,.50)),rgba(2,13,29,.52) 43%,rgba(2,13,29,.52) 57%,color-mix(in srgb,var(--home-primary) 40%,rgba(3,13,31,.5))),url("../assets/background-pronos-equipes.png")!important;background-size:cover,cover!important;background-position:center,center 48%!important;filter:contrast(1.2) saturate(1.55) brightness(1.42)!important}
.duel-hero::after{background:radial-gradient(circle at 16% 42%,color-mix(in srgb,var(--away-primary) 31%,transparent),transparent 33%),radial-gradient(circle at 83% 42%,color-mix(in srgb,var(--home-primary) 29%,transparent),transparent 34%),linear-gradient(180deg,rgba(0,0,0,.10),transparent 30%,rgba(0,8,21,.50) 75%,rgba(0,8,21,.92))!important}
.duel-hero-date{font-size:10px!important;border-color:rgba(112,222,255,.32)!important;color:#e2f7ff!important}
.duel-faceoff{min-height:212px}
.duel-logo-halo{background:radial-gradient(circle,rgba(216,244,255,.10),rgba(0,12,26,.25) 60%,transparent 67%)!important}
.duel-team-side>b{color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.45)}
.duel-team-side>span{color:#e3f3fd!important;text-transform:uppercase;border:1px solid rgba(174,225,255,.14);border-radius:5px;padding:2px 7px;background:rgba(0,15,35,.55)}
.duel-center-mark strong{font-size:clamp(27px,3.4vw,42px);color:#fff!important;text-shadow:0 0 17px rgba(75,220,255,.64)}
.duel-center-mark small,.duel-center-mark>span{color:#c2e5f4!important}
.duel-verdict-row{grid-template-columns:minmax(0,1fr) minmax(130px,29%) minmax(0,1fr)!important;gap:4px!important;margin:0 11px!important}
.duel-prob{position:relative;min-width:0!important;overflow:hidden!important;min-height:84px!important;padding:8px 4px!important;border-radius:10px!important;z-index:1}
.duel-prob.left{border-color:color-mix(in srgb,var(--away-primary) 65%,#83c9fd)!important;background:linear-gradient(125deg,color-mix(in srgb,var(--away-primary) 25%,#07101f),rgba(1,17,37,.94))!important}
.duel-prob.right{border-color:color-mix(in srgb,var(--home-primary) 62%,#83c9fd)!important;background:linear-gradient(230deg,color-mix(in srgb,var(--home-primary) 28%,#07101f),rgba(1,17,37,.94))!important}
.duel-prob b{max-width:100%;font-size:clamp(25px,2.95vw,39px)!important;line-height:1.07!important;white-space:nowrap!important;letter-spacing:-.045em;overflow:visible!important;text-overflow:clip!important;text-shadow:0 1px 16px rgba(0,0,0,.48)}
.duel-prob span{font-size:10px!important;color:#d9f1ff!important;font-weight:900}
.duel-verdict{z-index:2;margin:0!important;min-width:0;min-height:89px!important;padding:7px 6px!important;border:1.5px solid #f7d561!important;border-radius:11px!important;background:linear-gradient(180deg,#11253b,#061527)!important;box-shadow:0 0 22px rgba(247,205,72,.2),inset 0 1px rgba(255,255,255,.10)!important}
.duel-verdict-label{font-size:9px!important;color:#ffe088!important}.duel-verdict strong{font-size:clamp(16px,1.9vw,22px)!important;color:#fff!important}.duel-confidence{color:#75f8b4!important;font-size:10px!important}
.duel-tie-pill{font-size:12px!important;color:#f1f8ff!important}
.duel-quick-label{font-size:11px!important;color:#b8ebff!important}
.duel-quick-strip{gap:7px!important}
.duel-signal{border:1px solid rgba(124,210,248,.34)!important;background:linear-gradient(180deg,rgba(4,30,52,.95),rgba(1,16,32,.95))!important}
.duel-signal i{color:#66e5ff!important}.duel-signal strong{color:#fff!important}.duel-signal span{color:#d2ecfb!important}.duel-signal em{color:#59f19b!important}
.duel-primary-cta{min-height:52px!important;font-size:13px!important;color:#031222!important;background:linear-gradient(180deg,#aff7ff 0%,#49d8ff 54%,#14a9e7 100%)!important;box-shadow:0 0 20px rgba(37,203,255,.28),inset 0 1px rgba(255,255,255,.75)!important}
.duel-insight-card,.duel-analysis-launcher,.duel-lexicon-strip,.duel-pregame{border:1px solid rgba(97,207,252,.43)!important;background:linear-gradient(180deg,rgba(3,32,56,.97),rgba(1,16,31,.98))!important;box-shadow:inset 0 1px rgba(155,231,255,.06),0 12px 34px rgba(0,0,0,.20)!important}
.duel-panel-heading h3{font-size:16px!important;color:#fff!important}.duel-panel-heading p{color:#c0dceb!important;font-size:10px!important}
.duel-compare-head{background:rgba(38,128,188,.12);border-radius:5px;padding:4px 7px}
.duel-compare-head b{color:#c5efff!important;font-size:11px!important}.duel-compare-head span{color:#a8d8ec!important}
.duel-compare-values{grid-template-columns:60px minmax(0,1fr) 60px!important;gap:8px!important;align-items:center!important}
.duel-compare-values b{color:#fff!important;font-size:14px!important}
.duel-compare-values span{color:#d3e9f6!important;font-size:10px!important;line-height:1.3;text-align:center}
.duel-split-bar{height:9px!important;margin-top:6px!important;background:#0a1d39!important;gap:4px!important;box-shadow:inset 0 1px rgba(255,255,255,.08)}
.duel-split-bar .away{background:linear-gradient(90deg,#ff546e,#fa7993)!important}.duel-split-bar .home{background:linear-gradient(90deg,#236de7,#5b9cff)!important}
.duel-chart-note{margin:9px 0 0;padding-top:7px;border-top:1px solid rgba(111,202,246,.16);font-size:10px!important;line-height:1.55;color:#a7d4ec}
.duel-edge-list>div{gap:7px}.duel-edge-list i{color:#63f5a1!important}.duel-edge-list span{color:#e5f5fe!important;font-size:11px!important}.duel-edge-list b{font-size:11px!important;color:#a4e5ff!important}
.duel-edge-orb{border-color:rgba(92,217,255,.68)!important;box-shadow:0 0 18px rgba(34,212,255,.18)}
.duel-analysis-launcher{margin-top:11px!important}
.duel-section-heading h3{font-size:16px!important;color:#fff!important}.duel-section-heading p{font-size:11px!important;color:#c1dff0!important}
.duel-analysis-grid{gap:8px!important}
.duel-analysis-link{background:linear-gradient(180deg,#0a2842,#061629)!important;border-color:rgba(93,185,227,.43)!important;min-height:56px!important}
.duel-analysis-link b{color:#fff!important;font-size:12px!important}.duel-analysis-link small{color:#c5dded!important;font-size:10px!important}.duel-analysis-link>i:first-child{color:#6edfff!important}
.duel-lexicon-intro h3{font-size:14px!important}.duel-lexicon-intro p,.duel-lexicon-cards span{color:#c9e3f2!important;font-size:10px!important;line-height:1.45!important}.duel-lexicon-cards b{color:#f8fdff!important;font-size:12px!important}
/* New scenario strip: present on homepage, not hidden inside a modal. */
.duel-pregame{margin:12px 0 0;border-radius:15px;padding:12px 14px}
.duel-pregame-title{display:flex;gap:9px;align-items:center;margin-bottom:10px;color:#e9f9ff}
.duel-pregame-title>i{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;color:#62eaff;background:rgba(50,177,247,.16);font-size:17px}
.duel-pregame-title h3{margin:0;font-size:16px;font-weight:900;color:#fff}
.duel-pregame-title p{margin:2px 0 0;font-size:11px;line-height:1.4;color:#c1e3f4}
.duel-pregame-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid rgba(74,170,211,.25);border-radius:12px;background:rgba(0,10,24,.42)}
.duel-pregame-item{padding:12px 13px;min-width:0;min-height:125px;border-right:1px solid rgba(81,200,248,.24)}
.duel-pregame-item:last-child{border-right:0}
.duel-pregame-label{display:flex;gap:6px;align-items:center;color:#bdeaff;font-size:10px;font-weight:900;line-height:1.4;text-transform:uppercase;letter-spacing:.04em}
.duel-pregame-label i{color:#65dfff}
.duel-pregame-item strong,.duel-pregame-item [data-regulation-forecast]>strong{display:block;margin:9px 0 5px;color:#eefbff;font-size:clamp(15px,1.5vw,20px);font-weight:900;line-height:1.2;overflow-wrap:anywhere}
.duel-pregame-item strong.duel-positive{color:#70f6a6!important}.duel-pregame-item strong.duel-caution{color:#ffe085!important}
.duel-pregame-item p{margin:0;color:#d2e5f2;font-size:11px;line-height:1.45;font-weight:600}
.duel-pregame-switch{display:inline-flex;align-items:center;gap:5px;margin-top:7px;padding:7px 9px;color:#a6ebff;border:1px solid rgba(119,218,255,.34);border-radius:8px;font-size:10px;font-weight:900;background:rgba(5,42,70,.8)}
.duel-pregame-switch:hover{color:#fff;border-color:#99edff}
.duel-accordion summary{color:#fff!important}.duel-accordion-copy strong{color:#f8fcff!important;font-size:13px!important}.duel-accordion-copy span{color:#b5d3e6!important;font-size:11px!important}
.duel-accordion-body,.duel-accordion-body p,.duel-accordion-body span{color:#d8ebf6!important;line-height:1.57}
.duel-reasons strong,.duel-betting-card strong{color:#fff!important}
.duel-betting-card p,.duel-betting-focus-head span{color:#d1e7f4!important}
.duel-modal-panel{background:linear-gradient(180deg,#04172b,#020f20)!important}
.duel-detail-hero::before{opacity:.37!important;filter:contrast(1.25) saturate(1.4) brightness(1.14)}
@media(min-width:768px){
 .duel-shell{padding-left:18px!important;padding-right:18px!important}
 .duel-faceoff{min-height:226px!important}
 .duel-logo-halo{width:112px!important;height:112px!important}.duel-logo-halo img{width:94px!important;height:94px!important}
 .duel-team-side>b{font-size:22px!important}.duel-team-side>span{font-size:12px!important}
 .duel-side-insights .duel-insight-card{min-height:0}
 .duel-feature-grid{grid-template-columns:minmax(0,1.43fr) minmax(310px,.77fr)!important}
 .duel-prob b{font-size:clamp(27px,3vw,43px)!important}
 .duel-verdict strong{font-size:clamp(16px,1.8vw,23px)!important}
 .duel-quick-strip{padding:0 10px 11px!important}
}
@media(max-width:1023px){
 .duel-pregame-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .duel-pregame-item:nth-child(2){border-right:0}
 .duel-pregame-item:nth-child(-n+2){border-bottom:1px solid rgba(81,200,248,.24)}
}
@media(max-width:767px){
 body.duel-body .duel-mobile-topbar{border-color:rgba(86,218,255,.64)!important;box-shadow:0 9px 25px rgba(0,0,0,.54),0 1px 16px rgba(0,197,255,.12)!important}
 .duel-shell{padding:10px 10px max(84px,env(safe-area-inset-bottom))!important}
 .duel-heading{text-align:center;padding:2px 2px 12px!important}
 .duel-heading h2{font-size:clamp(22px,6vw,27px)!important;line-height:1.12!important}
 .duel-heading p{font-size:11px!important;line-height:1.4!important;margin:5px auto 0!important}
 .duel-commandbar{padding:6px!important}
 .duel-mode-btn{font-size:12px!important}
 .duel-match-pill{min-width:206px!important}
 .duel-hero::before{background-position:center,center 46%!important;filter:contrast(1.18) saturate(1.4) brightness(1.33)!important}
 .duel-faceoff{min-height:165px!important}
 .duel-verdict-row{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)!important;margin:0 4px!important;gap:3px!important}
 .duel-prob{min-height:73px!important;padding:4px 2px!important;overflow:visible!important}
 .duel-prob b{font-size:clamp(23px,6.35vw,28px)!important;letter-spacing:-.055em!important}
 .duel-prob span{font-size:9px!important}
 .duel-verdict{min-height:79px!important;padding:6px 2px!important;margin:0!important}
 .duel-verdict strong{font-size:14px!important}.duel-verdict-label{font-size:8px!important}.duel-confidence{font-size:8px!important}
 .duel-signal{min-height:78px!important;padding:7px 2px!important}.duel-signal i{font-size:15px!important}.duel-signal strong{font-size:10px!important}.duel-signal span{font-size:8px!important}.duel-signal em{font-size:8px!important}
 .duel-quick-strip{gap:4px!important;padding:0 5px 9px!important}
 .duel-pregame{margin-top:10px;padding:11px;border-radius:12px}
 .duel-pregame-title h3{font-size:14px!important}.duel-pregame-title p{font-size:11px!important}
 .duel-pregame-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .duel-pregame-item{padding:10px 9px;min-height:117px}
 .duel-pregame-label{font-size:9px!important}
 .duel-pregame-item strong,.duel-pregame-item [data-regulation-forecast]>strong{font-size:15px!important}
 .duel-pregame-item p{font-size:10px!important}
 .duel-analysis-launcher{margin-top:10px!important}
 .duel-compare-values b{font-size:13px!important}.duel-compare-values span{font-size:11px!important}
 .duel-modal .duel-verdict-row{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)!important}
 .duel-modal .duel-prob b{font-size:clamp(22px,6.2vw,28px)!important}
 .duel-accordion-body{font-size:12px!important}
}
@media(max-width:365px){
 .duel-verdict-row,.duel-modal .duel-verdict-row{grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr)!important;gap:2px!important}
 .duel-prob b,.duel-modal .duel-prob b{font-size:22px!important}
 .duel-confidence{font-size:7px!important}
 .duel-pregame-item{min-height:128px}
}


/* ============================================================================
   HockAI — DUEL V7 : correction ciblée du défilement sur smartphone

   En V6, le document, le body et les panneaux pouvaient être des scrollers
   concurrents. Sur téléphone, un seul élément défile : <main>.
   Le header mobile reste visible, la sidebar conserve son comportement et
   la fenêtre d'analyse possède toujours son propre défilement indépendant.
   Aucun style de carte / probabilité / couleur n'est modifié.
   ============================================================================ */
@media screen and (max-width: 767px) {
  html:has(> body.duel-body) {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.duel-body {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100vh !important; /* repli WebView ancien */
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  /* Une seule surface de défilement, sous la barre HockAI de 62px. */
  body.duel-body > main {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: calc(100vh - 62px) !important;
    height: calc(100dvh - 62px) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 62px) !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    scroll-padding-top: 10px;
    scroll-padding-bottom: max(80px, env(safe-area-inset-bottom));
  }

  body.duel-body > main > .p-0 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.duel-body #tab-predictions.duel-page {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Suffisamment d'espace sous le dernier encart sur iOS/Android. */
  body.duel-body #tab-predictions .duel-shell {
    padding-bottom: max(120px, calc(env(safe-area-inset-bottom) + 96px)) !important;
  }

  /* La modale doit défiler séparément et ne pas déplacer le fond. */
  body.duel-body .duel-modal:not(.hidden) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
  }
  body.duel-body .duel-modal-panel {
    min-height: 100dvh !important;
    height: auto !important;
    max-height: none !important;
  }
  body.duel-body.duel-modal-visible > main {
    overflow-y: hidden !important;
  }
}

/* V8 — suivi des rencontres NHL, aucun changement des cartes principales */
.duel-game-state{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;max-width:100%;border:1px solid rgba(118,192,231,.35);background:rgba(14,34,54,.86);padding:3px 6px;border-radius:6px;color:#c2def2;font-size:9px;letter-spacing:.02em;font-weight:900;line-height:1.2}
.duel-game-state.live{color:#72ffe3;border-color:rgba(53,241,188,.68);background:rgba(4,61,52,.81);box-shadow:0 0 12px rgba(53,241,188,.19)}
.duel-game-state.final{color:#d6e4ef;border-color:rgba(184,205,221,.27);background:rgba(38,49,66,.75)}
.duel-match-pill .duel-game-state{margin-top:3px;max-width:max-content;font-size:8px;padding:2px 5px}
.duel-pill-copy{min-width:0}
.duel-match-notice{display:flex;gap:6px;align-items:center;justify-content:center;margin:5px 10px 3px;padding:6px 9px;color:#d0f3ff;border:1px solid rgba(100,221,255,.2);background:rgba(0,18,34,.84);border-radius:9px;font-size:10px;font-weight:700;line-height:1.4;text-align:center}
.duel-match-notice i{color:#60dffd}
.duel-unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 16px;border-radius:18px;border:1px solid rgba(98,212,252,.38);background:linear-gradient(110deg,color-mix(in srgb,var(--away-primary) 14%,#04101e),#061629 50%,color-mix(in srgb,var(--home-primary) 14%,#04101e));gap:12px}
.duel-unavailable-teams{display:grid;grid-template-columns:1fr 60px 1fr;align-items:center;width:min(100%,380px);gap:10px}
.duel-unavailable-teams>div{display:flex;flex-direction:column;align-items:center;gap:5px}
.duel-unavailable-teams img{width:72px;height:72px;object-fit:contain}
.duel-unavailable-teams b{font-size:16px}
.duel-unavailable-teams>span{color:#c7f5ff;font-weight:900;font-size:24px}
.duel-unavailable h3{font-size:18px;font-weight:900;color:#eaf9ff}
.duel-unavailable p{font-size:13px;color:#b2d2e4;line-height:1.55;max-width:520px}
.duel-unavailable a{font-weight:800;font-size:13px;color:#061521;background:linear-gradient(180deg,#98f3ff,#23baf5);padding:12px 18px;border-radius:12px}
@media(max-width:719px){.duel-game-state{font-size:9px}.duel-hero-actions{flex-wrap:wrap}.duel-match-notice{font-size:10px}.duel-unavailable h3{font-size:17px}}
