/* ========================================================================== 
   HOCKAI ORACLE LIVE V21.2 — TACTICAL PERFECT
   Additif : ne modifie pas les autres rubriques Oracle Live.
   ========================================================================== */

:root {
  --v211-bg: #041522;
  --v211-panel: #072238;
  --v211-panel2: #081a2b;
  --v211-line: rgba(76, 180, 229, .22);
  --v211-cyan: #55e7ff;
  --v211-blue: #4c9cff;
  --v211-green: #55efa9;
  --v211-violet: #b680ff;
  --v211-pink: #ff588c;
  --v211-yellow: #ffd45d;
  --v211-text: #effaff;
  --v211-muted: #85a2b9;
}

/* --------------------------------------------------------------------------
   ANTI-FLASH : uniquement la sous-vue Événements d'Ice Flow en pré-match.
   Le vrai Timeline LIVE reste totalement intact.
   -------------------------------------------------------------------------- */
html[data-oracle-tactical-phase="PREGAME"]
#oracle-ice-flow-root
.oracle-iceflow-body[data-iceflow-view="events"] > :not([data-oracle-v211-owned]) {
  display: none !important;
}

html[data-oracle-tactical-boot="pending"]
#oracle-ice-flow-root
.oracle-iceflow-body[data-iceflow-view="events"] {
  visibility: hidden;
}

html[data-oracle-tactical-boot="pending"]
#oracle-ice-flow-root
.oracle-iceflow-body[data-iceflow-view="events"] [data-oracle-v211-owned] {
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
.oracle-v211-addon {
  width: 100%;
  min-width: 0;
  margin-bottom: 14px;
  color: var(--v211-text);
  font-family: "Montserrat", sans-serif;
}

.oracle-v211-head,
.oracle-v211-live-head,
.oracle-v211-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 14px 15px;
  border: 1px solid var(--v211-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(182, 128, 255, .08), transparent 34%),
    linear-gradient(145deg, rgba(7, 34, 56, .98), rgba(4, 18, 31, .98));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}

.oracle-v211-head.compact { padding: 12px 14px; }

.oracle-v211-head small,
.oracle-v211-live-head small,
.oracle-v211-plan-head small {
  display: block;
  margin-bottom: 4px;
  color: var(--v211-violet);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.oracle-v211-head h3,
.oracle-v211-live-head h3,
.oracle-v211-plan-head h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.025em;
}

.oracle-v211-head p,
.oracle-v211-live-head p,
.oracle-v211-plan-head p {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--v211-muted);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
}

.oracle-v211-head > span,
.oracle-v211-live-head > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(85, 239, 169, .18);
  border-radius: 10px;
  color: #8af3c3;
  background: rgba(85, 239, 169, .05);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.oracle-v211-info,
.oracle-v211-period-read {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(85, 231, 255, .14);
  border-radius: 11px;
  color: #83a2b9;
  background: rgba(7, 28, 44, .62);
  font-size: 10px;
  line-height: 1.48;
}

.oracle-v211-info i,
.oracle-v211-period-read i { color: var(--v211-cyan); margin-top: 2px; }
.oracle-v211-info b,
.oracle-v211-period-read b { color: #c7f5ff; }
.oracle-v211-period-read span { display: flex; flex-direction: column; gap: 2px; }
.oracle-v211-period-read small { color: #728fa7; font-size: 9px; }

/* --------------------------------------------------------------------------
   Team summary
   -------------------------------------------------------------------------- */
.oracle-v211-teams,
.oracle-v211-duo-stack,
.oracle-v211-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.oracle-v211-team,
.oracle-v211-duo-team,
.oracle-v211-live-team,
.oracle-v211-h2h-team {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 162, 211, .18);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(7, 31, 51, .98), rgba(4, 20, 34, .98));
}

.oracle-v211-team__head,
.oracle-v211-duo-team > header,
.oracle-v211-live-team > header,
.oracle-v211-h2h-team > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.oracle-v211-team__head > div { min-width: 0; }
.oracle-v211-team__head small { display: block; color: #7698b1; font-size: 9px; font-weight: 900; }
.oracle-v211-team__head strong,
.oracle-v211-duo-team > header strong,
.oracle-v211-live-team > header strong,
.oracle-v211-h2h-team > header strong {
  color: var(--v211-cyan);
  font-size: 16px;
  font-weight: 950;
}

.oracle-v211-team__head > span,
.oracle-v211-duo-team > header span,
.oracle-v211-live-team > header span,
.oracle-v211-h2h-team > header span {
  color: #6f8da5;
  font-size: 9px;
  font-weight: 850;
}

.oracle-v211-team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 9px;
}

.oracle-v211-team__grid > div > small {
  display: block;
  min-height: 26px;
  margin: 0 2px 6px;
  color: #809db4;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Combination card
   -------------------------------------------------------------------------- */
.oracle-v211-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(78, 164, 214, .18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 231, 255, .05), transparent 35%),
    rgba(4, 20, 34, .88);
}

.oracle-v211-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.oracle-v211-kind {
  color: #86eaff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.oracle-v211-sample {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(126, 157, 181, .18);
  border-radius: 7px;
  color: #8ba5b8;
  background: rgba(255, 255, 255, .025);
  font-size: 8px;
  font-weight: 950;
}
.oracle-v211-sample.is-strong { color: #6bf1b1; border-color: rgba(85, 239, 169, .24); }
.oracle-v211-sample.is-medium { color: #7eeeff; border-color: rgba(85, 231, 255, .23); }
.oracle-v211-sample.is-weak { color: #f4c96c; border-color: rgba(255, 212, 93, .22); }

.oracle-v211-card > strong {
  display: block;
  margin: 7px 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 950;
}

.oracle-v211-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.oracle-v211-badges em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 7px;
  color: #98afc1;
  background: rgba(123, 151, 171, .07);
  border: 1px solid rgba(123, 151, 171, .14);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}
.oracle-v211-badges .is-positive,
.oracle-v211-badges .is-stable,
.oracle-v211-badges .is-rising { color: #68efb0; border-color: rgba(85, 239, 169, .23); background: rgba(85, 239, 169, .055); }
.oracle-v211-badges .is-negative,
.oracle-v211-badges .is-falling { color: #ff879e; border-color: rgba(255, 88, 140, .22); background: rgba(255, 88, 140, .055); }
.oracle-v211-badges .is-weak,
.oracle-v211-badges .is-new { color: #f2c96d; border-color: rgba(255, 212, 93, .2); background: rgba(255, 212, 93, .05); }
.oracle-v211-badges .is-h2h { color: #caa1ff; border-color: rgba(182, 128, 255, .22); background: rgba(182, 128, 255, .06); }

.oracle-v211-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.oracle-v211-kpis > div {
  min-width: 0;
  padding: 7px 5px;
  border-radius: 8px;
  border: 1px solid rgba(73, 143, 188, .12);
  background: rgba(2, 15, 26, .58);
  text-align: center;
}
.oracle-v211-kpis span { display: block; color: #6e8ba1; font-size: 8px; font-weight: 850; }
.oracle-v211-kpis b { display: block; margin-top: 2px; color: #f2fbff; font-size: 11px; font-weight: 950; }

.oracle-v211-why {
  margin-top: 8px;
  padding: 8px 9px;
  border-left: 2px solid rgba(85, 231, 255, .38);
  color: #7897ae;
  background: rgba(85, 231, 255, .035);
  font-size: 9px;
  line-height: 1.45;
}
.oracle-v211-why b { color: #bfeef8; }

.oracle-v211-period-tip,
.oracle-v211-live-alert {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(85, 239, 169, .16);
  border-radius: 9px;
  background: rgba(85, 239, 169, .045);
}
.oracle-v211-period-tip > i,
.oracle-v211-live-alert > i { color: #63efae; margin-top: 2px; }
.oracle-v211-period-tip span,
.oracle-v211-live-alert span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oracle-v211-period-tip b,
.oracle-v211-live-alert b { color: #baf8da; font-size: 9px; }
.oracle-v211-period-tip small,
.oracle-v211-live-alert small { color: #7693aa; font-size: 8px; line-height: 1.35; }
.oracle-v211-live-alert.is-warn { border-color: rgba(255, 212, 93, .19); background: rgba(255, 212, 93, .04); }
.oracle-v211-live-alert.is-warn > i { color: var(--v211-yellow); }
.oracle-v211-live-alert.is-warn b { color: #f4d98b; }

.oracle-v211-history {
  height: 82px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .045);
}
.oracle-v211-history > div {
  height: 58px;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.oracle-v211-history i {
  width: 100%;
  max-width: 18px;
  min-height: 2px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #55e7ff, #7155ef);
  opacity: .75;
}
.oracle-v211-history span { color: #bfeeff; font-size: 7px; font-weight: 900; }
.oracle-v211-history small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; color: #63839a; font-size: 7px; }

.oracle-v211-card details { margin-top: 8px; }
.oracle-v211-card summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7fc9dc;
  font-size: 9px;
  font-weight: 900;
}
.oracle-v211-card summary::-webkit-details-marker { display: none; }
.oracle-v211-card details p { margin: 6px 0 0; color: #708ea4; font-size: 9px; line-height: 1.42; }
.oracle-v211-card details p b { color: #a9d7e4; }

/* --------------------------------------------------------------------------
   Duos / H2H
   -------------------------------------------------------------------------- */
.oracle-v211-duo-team > div,
.oracle-v211-h2h-team > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 8px;
}

.oracle-v211-h2h {
  overflow: hidden;
  border: 1px solid rgba(182, 128, 255, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 28, 48, .95), rgba(6, 20, 33, .98));
}
.oracle-v211-h2h > summary {
  list-style: none;
  cursor: pointer;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
}
.oracle-v211-h2h > summary::-webkit-details-marker { display: none; }
.oracle-v211-h2h > summary > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.oracle-v211-h2h > summary > span > i { color: var(--v211-violet); }
.oracle-v211-h2h > summary b { display: block; color: #fff; font-size: 12px; }
.oracle-v211-h2h > summary small { display: block; margin-top: 2px; color: #7693aa; font-size: 9px; }
.oracle-v211-h2h > summary > i { color: #8f6cc0; transition: transform .2s ease; }
.oracle-v211-h2h[open] > summary > i { transform: rotate(180deg); }
.oracle-v211-h2h__body { padding: 0 9px 9px; }

.oracle-v211-h2h-games {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.oracle-v211-h2h-games::-webkit-scrollbar { display: none; }
.oracle-v211-h2h-games > div {
  flex: 0 0 145px;
  scroll-snap-align: start;
  padding: 8px 9px;
  border: 1px solid rgba(84, 150, 192, .14);
  border-radius: 9px;
  background: rgba(3, 18, 30, .6);
}
.oracle-v211-h2h-games time { display: block; color: #6f8da4; font-size: 8px; }
.oracle-v211-h2h-games strong { display: block; margin-top: 3px; color: #eaf8ff; font-size: 10px; }

.oracle-v211-h2h-loading,
.oracle-v211-empty-mini,
.oracle-v211-plan-loading {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px dashed rgba(81, 148, 190, .18);
  border-radius: 11px;
  color: #718da2;
  text-align: center;
  font-size: 10px;
}
.oracle-v211-h2h-loading i,
.oracle-v211-plan-loading i { color: var(--v211-cyan); font-size: 18px; }
.oracle-v211-plan-loading strong { color: #fff; font-size: 12px; }

/* --------------------------------------------------------------------------
   Pregame Plan
   -------------------------------------------------------------------------- */
.oracle-v211-plan-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
}
.oracle-v211-plan-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(182, 128, 255, .24);
  border-radius: 13px;
  color: #d2aeff;
  background: rgba(182, 128, 255, .08);
}

.oracle-v211-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.oracle-v211-plan-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 157, 207, .18);
  border-radius: 13px;
  background: linear-gradient(145deg, #072139, #051725);
}
.oracle-v211-plan-card > header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
}
.oracle-v211-plan-card > header > span {
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #3186df, #8658d8);
  font-size: 11px;
  font-weight: 950;
}
.oracle-v211-plan-card > header strong { display: block; color: #fff; font-size: 11px; }
.oracle-v211-plan-card > header small { display: block; margin-top: 2px; color: #6c899f; font-size: 8px; line-height: 1.3; }

.oracle-v211-plan-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 5px;
  align-items: stretch;
  padding: 7px;
}
.oracle-v211-plan-team {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(74, 146, 190, .13);
  border-radius: 9px;
  background: rgba(2, 16, 27, .55);
}
.oracle-v211-plan-team > header { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 8px; }
.oracle-v211-plan-team > header strong { color: var(--v211-cyan); font-size: 11px; }
.oracle-v211-plan-team > header span { color: #67849b; font-size: 8px; }
.oracle-v211-plan-team > div + div { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .045); }
.oracle-v211-plan-team small { display: block; color: #7190a7; font-size: 8px; font-weight: 900; }
.oracle-v211-plan-team b { display: block; margin: 3px 0; overflow-wrap: anywhere; color: #fff; font-size: 10px; line-height: 1.3; }
.oracle-v211-plan-team span { display: block; color: #7796ad; font-size: 8px; line-height: 1.35; }
.oracle-v211-plan-team em { display: block; margin-top: 4px; color: #cda8ff; font-size: 8px; font-style: normal; }
.oracle-v211-vs { display: grid; place-items: center; color: #48657b; font-size: 8px; font-weight: 950; }

/* --------------------------------------------------------------------------
   Live Tactical Pulse
   -------------------------------------------------------------------------- */
.oracle-v211-live-head > span { color: #88f0bc; }
.oracle-v211-live-head > span > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.oracle-v211-live-head > span.is-delayed { color: #ffd165; border-color: rgba(255, 209, 101, .2); background: rgba(255, 209, 101, .05); }
.oracle-v211-live-head > span.is-unavailable { color: #ff859d; border-color: rgba(255, 88, 140, .2); background: rgba(255, 88, 140, .05); }

.oracle-v211-live-team > div:not(.oracle-v211-live-alert) {
  margin: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(70, 143, 188, .13);
  border-radius: 10px;
  background: rgba(2, 17, 29, .55);
}
.oracle-v211-live-team > div > small { display: block; color: #7898af; font-size: 9px; font-weight: 950; }
.oracle-v211-live-team > div > b { display: block; margin: 4px 0; overflow-wrap: anywhere; color: #fff; font-size: 12px; line-height: 1.3; }
.oracle-v211-live-team > div > span { display: block; color: #7d9bb0; font-size: 9px; line-height: 1.4; }
.oracle-v211-live-team > div > em { display: block; margin-top: 5px; color: #77eab3; font-size: 9px; font-style: normal; font-weight: 850; }
.oracle-v211-live-team > div > em.is-new { color: #f2cb74; }
.oracle-v211-live-team .oracle-v211-live-alert { margin: 9px; }

/* --------------------------------------------------------------------------
   Responsive smartphone
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .oracle-v211-addon { margin-bottom: 10px; }

  .oracle-v211-head,
  .oracle-v211-live-head,
  .oracle-v211-plan-head {
    margin-bottom: 9px;
    padding: 11px;
    border-radius: 13px;
  }

  .oracle-v211-head,
  .oracle-v211-live-head {
    flex-direction: column;
    gap: 9px;
  }

  .oracle-v211-head small,
  .oracle-v211-live-head small,
  .oracle-v211-plan-head small { font-size: 9px; }

  .oracle-v211-head h3,
  .oracle-v211-live-head h3,
  .oracle-v211-plan-head h3 { font-size: 16px; }

  .oracle-v211-head p,
  .oracle-v211-live-head p,
  .oracle-v211-plan-head p { font-size: 10px; line-height: 1.45; }

  .oracle-v211-head > span,
  .oracle-v211-live-head > span {
    min-height: 32px;
    width: 100%;
    justify-content: center;
    font-size: 9px;
  }

  .oracle-v211-info,
  .oracle-v211-period-read { padding: 9px; font-size: 9px; }
  .oracle-v211-period-read small { font-size: 8px; }

  .oracle-v211-teams,
  .oracle-v211-duo-stack,
  .oracle-v211-live-grid { grid-template-columns: 1fr; gap: 9px; }

  .oracle-v211-team__head,
  .oracle-v211-duo-team > header,
  .oracle-v211-live-team > header,
  .oracle-v211-h2h-team > header { padding: 10px; }

  .oracle-v211-team__head strong,
  .oracle-v211-duo-team > header strong,
  .oracle-v211-live-team > header strong,
  .oracle-v211-h2h-team > header strong { font-size: 15px; }

  .oracle-v211-team__head > span,
  .oracle-v211-duo-team > header span,
  .oracle-v211-live-team > header span,
  .oracle-v211-h2h-team > header span { font-size: 9px; }

  .oracle-v211-team__grid { grid-template-columns: 1fr; gap: 7px; padding: 7px; }
  .oracle-v211-team__grid > div > small { min-height: 0; margin: 2px 2px 5px; font-size: 9px; }

  .oracle-v211-card { padding: 10px; }
  .oracle-v211-card > strong { font-size: 13px; }
  .oracle-v211-kind { font-size: 9px; }
  .oracle-v211-sample { font-size: 8px; }
  .oracle-v211-badges em { font-size: 8px; min-height: 26px; }
  .oracle-v211-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .oracle-v211-kpis > div { padding: 8px 5px; }
  .oracle-v211-kpis span { font-size: 8px; }
  .oracle-v211-kpis b { font-size: 12px; }
  .oracle-v211-why { font-size: 9px; }
  .oracle-v211-period-tip b,
  .oracle-v211-live-alert b { font-size: 9px; }
  .oracle-v211-period-tip small,
  .oracle-v211-live-alert small { font-size: 8px; }
  .oracle-v211-card summary,
  .oracle-v211-card details p { font-size: 9px; }

  .oracle-v211-duo-team > div,
  .oracle-v211-h2h-team > div { grid-template-columns: 1fr; gap: 7px; padding: 7px; }

  .oracle-v211-h2h > summary {
    min-height: 58px;
    padding: 10px;
  }
  .oracle-v211-h2h > summary b { font-size: 11px; }
  .oracle-v211-h2h > summary small { font-size: 8px; }
  .oracle-v211-h2h-games > div { flex-basis: 72%; }
  .oracle-v211-h2h-games time { font-size: 8px; }
  .oracle-v211-h2h-games strong { font-size: 10px; }

  .oracle-v211-plan-head { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; }
  .oracle-v211-plan-icon { width: 38px; height: 38px; border-radius: 10px; }
  .oracle-v211-plan-grid { grid-template-columns: 1fr; gap: 7px; }
  .oracle-v211-plan-card > header { padding: 8px; }
  .oracle-v211-plan-card > header strong { font-size: 11px; }
  .oracle-v211-plan-card > header small { font-size: 8px; }
  .oracle-v211-plan-matchup { grid-template-columns: 1fr; gap: 6px; padding: 7px; }
  .oracle-v211-vs {
    min-height: 24px;
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .oracle-v211-plan-team { padding: 9px; }
  .oracle-v211-plan-team > header strong { font-size: 12px; }
  .oracle-v211-plan-team small { font-size: 8px; }
  .oracle-v211-plan-team b { font-size: 11px; }
  .oracle-v211-plan-team span,
  .oracle-v211-plan-team em { font-size: 9px; }

  .oracle-v211-live-team > div:not(.oracle-v211-live-alert) { margin: 7px; padding: 9px; }
  .oracle-v211-live-team > div > small { font-size: 9px; }
  .oracle-v211-live-team > div > b { font-size: 12px; }
  .oracle-v211-live-team > div > span,
  .oracle-v211-live-team > div > em { font-size: 9px; }

  /* Touch targets : aucune action importante sous ~40 px. */
  #oracle-ice-flow-root .oracle-iceflow-subnav button,
  #oracle-ice-flow-root button[class*="period"],
  #oracle-ice-flow-root button[class*="filter"] {
    min-height: 40px;
  }
}

@media (max-width: 390px) {
  .oracle-v211-head h3,
  .oracle-v211-live-head h3,
  .oracle-v211-plan-head h3 { font-size: 15px; }
  .oracle-v211-card > strong { font-size: 12px; }
  .oracle-v211-h2h-games > div { flex-basis: 80%; }
}

@media (prefers-reduced-motion: reduce) {
  .oracle-v211-addon *,
  .oracle-v211-addon *::before,
  .oracle-v211-addon *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================== 
   HOCKAI ORACLE LIVE V21.2 — PERFECT CLARITY / MOBILE FIRST
   ========================================================================== */

.oracle-v212-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}

.oracle-v212-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(92px, auto));
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(82, 173, 220, .19);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(7, 34, 55, .96), rgba(8, 22, 40, .96));
}
.oracle-v212-snapshot header { min-width: 0; }
.oracle-v212-snapshot header strong { display: block; color: #fff; font-size: 15px; font-weight: 950; }
.oracle-v212-snapshot header span { display: block; margin-top: 2px; color: #6e8fa7; font-size: 9px; }
.oracle-v212-snapshot > div {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(2, 17, 29, .58);
  border: 1px solid rgba(71, 145, 190, .12);
}
.oracle-v212-snapshot small { display: block; color: #718fa6; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.oracle-v212-snapshot b { display: block; margin-top: 2px; color: #eaf9ff; font-size: 10px; font-weight: 950; }
.oracle-v212-snapshot b.is-positive { color: #67efb0; }
.oracle-v212-snapshot b.is-negative { color: #ff899f; }
.oracle-v212-snapshot b.is-weak { color: #f0ca76; }

.oracle-v212-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 7px 0 8px;
}
.oracle-v212-signal-grid > div {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 9px;
  border: 1px solid rgba(73, 145, 189, .13);
  background: rgba(3, 18, 30, .62);
}
.oracle-v212-signal-grid small { display: block; color: #718ea5; font-size: 8px; font-weight: 950; letter-spacing: .06em; }
.oracle-v212-signal-grid b { display: block; margin-top: 3px; font-size: 10px; font-weight: 950; }
.oracle-v212-signal-grid b.is-positive { color: #64efae; }
.oracle-v212-signal-grid b.is-negative { color: #ff879f; }
.oracle-v212-signal-grid b.is-weak { color: #f2c96e; }
.oracle-v212-signal-grid b.is-neutral { color: #9cd7e8; }
.oracle-v212-signal-grid span { display: block; margin-top: 3px; color: #7795ab; font-size: 8px; line-height: 1.42; }

.oracle-v212-h2h-confirm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  padding: 5px 7px;
  border: 1px solid rgba(188, 137, 255, .22);
  border-radius: 8px;
  color: #d1abff;
  background: rgba(182, 128, 255, .055);
  font-size: 8px;
  font-weight: 900;
}

.oracle-v211-kpis .is-low-sample b {
  color: #efcb77;
  font-size: 9px;
  line-height: 1.15;
}

.oracle-v212-sample-warning {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(246, 199, 92, .18);
  border-radius: 9px;
  background: rgba(246, 199, 92, .04);
}
.oracle-v212-sample-warning > i { margin-top: 2px; color: #f1c85f; }
.oracle-v212-sample-warning span { min-width: 0; }
.oracle-v212-sample-warning b { display: block; color: #f0d690; font-size: 9px; }
.oracle-v212-sample-warning small { display: block; margin-top: 2px; color: #7994a9; font-size: 8px; line-height: 1.4; }

.oracle-v212-h2h-discovery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 9px;
}
.oracle-v212-h2h-discovery > div {
  padding: 8px 7px;
  border: 1px solid rgba(72, 147, 193, .14);
  border-radius: 9px;
  background: rgba(3, 18, 30, .62);
  text-align: center;
}
.oracle-v212-h2h-discovery span { display: block; color: #718da3; font-size: 8px; font-weight: 850; }
.oracle-v212-h2h-discovery b { display: block; margin-top: 2px; color: #dff8ff; font-size: 15px; font-weight: 950; }

.oracle-v212-h2h-empty {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed rgba(90, 151, 190, .2);
  border-radius: 13px;
  background: rgba(3, 17, 29, .45);
}
.oracle-v212-h2h-empty > i { color: #5bdff8; font-size: 24px; }
.oracle-v212-h2h-empty strong { color: #fff; font-size: 13px; }
.oracle-v212-h2h-empty p { margin: 4px 0 0; max-width: 690px; color: #7897ad; font-size: 9px; line-height: 1.45; }
.oracle-v212-h2h-empty details { margin-top: 8px; }
.oracle-v212-h2h-empty summary { cursor: pointer; color: #83d9ea; font-size: 9px; font-weight: 900; }
.oracle-v212-h2h-empty ul { margin: 7px 0 0; padding: 0; list-style: none; }
.oracle-v212-h2h-empty li { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.05); }
.oracle-v212-h2h-empty li b { color: #cfeef6; font-size: 9px; }
.oracle-v212-h2h-empty li span { color: #718da3; font-size: 8px; }
.oracle-v211-h2h-games small { display: block; margin-top: 3px; color: #6d849b; font-size: 7px; text-transform: uppercase; }

.oracle-v212-plan-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 9px;
}
.oracle-v212-plan-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border: 1px solid rgba(72, 145, 190, .13);
  border-radius: 9px;
  color: #7897ad;
  background: rgba(3,18,30,.55);
  font-size: 9px;
}
.oracle-v212-plan-legend i { color: #58e1fb; }
.oracle-v212-plan-legend b { color: #bcecf6; }
.oracle-v211-plan-team span strong { color: #a9dce8; }

.oracle-v212-live-strip {
  position: sticky;
  top: 0;
  z-index: 14;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 7px;
  border: 1px solid rgba(74, 160, 207, .22);
  border-radius: 11px;
  background: rgba(3, 18, 30, .94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.oracle-v212-live-strip > div { min-width: 0; padding: 5px 7px; }
.oracle-v212-live-strip > div:last-child { text-align: right; }
.oracle-v212-live-strip small { display: block; color: #62e5fb; font-size: 8px; font-weight: 950; }
.oracle-v212-live-strip b { display: block; color: #fff; font-size: 10px; }
.oracle-v212-live-strip div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7795ab; font-size: 8px; }
.oracle-v212-live-strip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 31px;
  padding: 0 8px;
  border-radius: 8px;
  color: #77efb3;
  background: rgba(82, 239, 170, .055);
  border: 1px solid rgba(82, 239, 170, .17);
  font-size: 8px;
  font-weight: 950;
  text-align: center;
}
.oracle-v212-live-strip > span > i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.oracle-v212-live-strip > span.is-delayed { color: #ffd16d; border-color: rgba(255,209,109,.18); background: rgba(255,209,109,.05); }
.oracle-v212-live-strip > span.is-unavailable { color: #ff879e; border-color: rgba(255,135,158,.18); background: rgba(255,135,158,.05); }

.oracle-v212-live-performance {
  margin-top: 7px;
  padding: 7px 8px;
  border-left: 2px solid rgba(83, 227, 250, .4);
  background: rgba(83, 227, 250, .035);
}
.oracle-v212-live-performance b { display: block; color: #bfeef7; font-size: 9px; }
.oracle-v212-live-performance span { display: block; margin-top: 2px; color: #7897ad; font-size: 8px; line-height: 1.35; }

@media (max-width: 767px) {
  /* Hiérarchie mobile volontairement plus grande que V21.1. */
  .oracle-v212-snapshot-grid { grid-template-columns: 1fr; gap: 7px; }
  .oracle-v212-snapshot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 9px;
  }
  .oracle-v212-snapshot header { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .oracle-v212-snapshot header strong { font-size: 16px; }
  .oracle-v212-snapshot header span { font-size: 10px; }
  .oracle-v212-snapshot > div { padding: 7px 5px; text-align: center; }
  .oracle-v212-snapshot small { font-size: 9px; }
  .oracle-v212-snapshot b { font-size: 10px; }

  .oracle-v212-signal-grid { grid-template-columns: 1fr; gap: 5px; }
  .oracle-v212-signal-grid > div { padding: 9px; }
  .oracle-v212-signal-grid small { font-size: 9px; }
  .oracle-v212-signal-grid b { font-size: 11px; }
  .oracle-v212-signal-grid span { font-size: 10px; }
  .oracle-v212-h2h-confirm { font-size: 9px; }
  .oracle-v212-sample-warning b { font-size: 10px; }
  .oracle-v212-sample-warning small { font-size: 9px; }

  .oracle-v211-kpis span { font-size: 9px !important; }
  .oracle-v211-kpis b { font-size: 13px !important; }
  .oracle-v211-card > strong { font-size: 14px !important; }
  .oracle-v211-card summary,
  .oracle-v211-card details p,
  .oracle-v211-why { font-size: 10px !important; }

  .oracle-v212-h2h-discovery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .oracle-v212-h2h-discovery span { font-size: 9px; }
  .oracle-v212-h2h-discovery b { font-size: 16px; }
  .oracle-v212-h2h-empty { min-height: 130px; align-items: flex-start; padding: 12px; }
  .oracle-v212-h2h-empty > i { font-size: 20px; margin-top: 2px; }
  .oracle-v212-h2h-empty strong { font-size: 12px; }
  .oracle-v212-h2h-empty p,
  .oracle-v212-h2h-empty summary,
  .oracle-v212-h2h-empty li b,
  .oracle-v212-h2h-empty li span { font-size: 10px; }
  .oracle-v211-h2h-games > div { flex-basis: 82%; padding: 10px; }
  .oracle-v211-h2h-games time { font-size: 9px !important; }
  .oracle-v211-h2h-games strong { font-size: 11px !important; }
  .oracle-v211-h2h-games small { font-size: 8px; }

  .oracle-v212-plan-legend { grid-template-columns: 1fr; }
  .oracle-v212-plan-legend span { font-size: 10px; }
  .oracle-v211-plan-team small { font-size: 9px !important; }
  .oracle-v211-plan-team b { font-size: 12px !important; }
  .oracle-v211-plan-team span,
  .oracle-v211-plan-team em { font-size: 10px !important; }

  .oracle-v212-live-strip {
    top: env(safe-area-inset-top, 0px);
    grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
    margin: 0 0 8px;
    padding: 5px;
  }
  .oracle-v212-live-strip small { font-size: 9px; }
  .oracle-v212-live-strip b { font-size: 10px; }
  .oracle-v212-live-strip div span { font-size: 9px; }
  .oracle-v212-live-strip > span { padding: 0 5px; font-size: 8px; }
  .oracle-v212-live-performance b { font-size: 10px; }
  .oracle-v212-live-performance span { font-size: 9px; }

  /* Les sous-onglets Ice Flow restent accessibles au pouce sur petit écran. */
  #oracle-ice-flow-root .oracle-iceflow-subnav {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  #oracle-ice-flow-root .oracle-iceflow-subnav::-webkit-scrollbar { display: none; }
  #oracle-ice-flow-root .oracle-iceflow-subnav button {
    min-width: 116px;
    min-height: 44px !important;
    scroll-snap-align: start;
    font-size: 9px !important;
  }
}

@media (max-width: 390px) {
  .oracle-v212-snapshot { grid-template-columns: 1fr; }
  .oracle-v212-snapshot header { grid-column: auto; }
  .oracle-v212-snapshot > div { text-align: left; }
  .oracle-v212-live-strip { grid-template-columns: 1fr 76px 1fr; }
  .oracle-v212-live-strip b { font-size: 9px; }
  .oracle-v212-live-strip div span { font-size: 8px; }
}

/* ========================================================================== 
   V21.2.2 — LIVE HISTORY / STABLE REFRESH
   ========================================================================== */
.oracle-iceflow-v2122-period-tabs{
  display:flex; gap:7px; overflow-x:auto; padding:2px 0 10px; scrollbar-width:none;
}
.oracle-iceflow-v2122-period-tabs::-webkit-scrollbar{display:none}
.oracle-iceflow-v2122-period-tabs button{
  min-width:68px; min-height:40px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; gap:7px;
  border:1px solid rgba(70,160,210,.18); border-radius:10px; background:#061b2d; color:#7899b1;
  font-size:9px; font-weight:1000; letter-spacing:.04em; transition:.18s ease;
}
.oracle-iceflow-v2122-period-tabs button small{
  min-width:20px; height:20px; display:grid; place-items:center; border-radius:99px;
  color:#6e91aa; background:rgba(255,255,255,.035); font-size:7px;
}
.oracle-iceflow-v2122-period-tabs button.is-active{
  color:white; border-color:rgba(66,230,255,.48); background:linear-gradient(135deg,rgba(32,126,205,.30),rgba(125,69,202,.26));
  box-shadow:0 0 18px rgba(66,230,255,.08);
}
.oracle-iceflow-v2122-period-tabs button.is-active small{color:#7ff3c4;background:rgba(73,242,173,.08)}

.oracle-iceflow-v2122-history{
  margin-top:12px; padding:14px; border:1px solid rgba(58,151,201,.20); border-radius:15px;
  background:linear-gradient(145deg,rgba(5,28,45,.94),rgba(3,17,29,.94));
}
.oracle-iceflow-v2122-history>header{
  display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:10px;
}
.oracle-iceflow-v2122-history>header span,
.oracle-iceflow-v2122-events-toolbar span{
  display:block; color:#50e3ff; font-size:7px; font-weight:1000; letter-spacing:.09em; text-transform:uppercase;
}
.oracle-iceflow-v2122-history>header h3,
.oracle-iceflow-v2122-events-toolbar h3{
  margin:3px 0 3px; color:white; font-size:15px; line-height:1.16; font-weight:1000; letter-spacing:-.02em;
}
.oracle-iceflow-v2122-history>header p,
.oracle-iceflow-v2122-events-toolbar p{
  margin:0; color:#708fa7; font-size:8px; line-height:1.42;
}
.oracle-iceflow-v2122-history>header em{
  flex:0 0 auto; padding:6px 8px; border-radius:8px; color:#71efbd; border:1px solid rgba(73,242,173,.18);
  background:rgba(73,242,173,.045); font-size:7px; font-style:normal; font-weight:1000; text-transform:uppercase;
}
.oracle-iceflow-v2122-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.oracle-iceflow-v2122-history-team{
  min-width:0; overflow:hidden; border:1px solid rgba(57,146,195,.18); border-radius:12px; background:#061a2a;
}
.oracle-iceflow-v2122-history-team>header{
  display:flex; justify-content:space-between; align-items:center; padding:9px 11px; border-bottom:1px solid rgba(255,255,255,.045);
}
.oracle-iceflow-v2122-history-team>header strong{color:#7cecff;font-size:12px}
.oracle-iceflow-v2122-history-team>header span{color:#66879e;font-size:7px;font-weight:850}
.oracle-iceflow-v2122-history-team article{
  display:grid; grid-template-columns:92px minmax(0,1fr) auto; gap:9px; align-items:center;
  padding:9px 10px; border-bottom:1px solid rgba(255,255,255,.04); transition:background .18s ease,border-color .18s ease;
}
.oracle-iceflow-v2122-history-team article:last-child{border-bottom:0}
.oracle-iceflow-v2122-history-team article.is-latest{background:linear-gradient(90deg,rgba(66,230,255,.055),transparent)}
.oracle-iceflow-v2122-history-time strong{display:block;color:white;font-size:8px}
.oracle-iceflow-v2122-history-time span{display:block;margin-top:2px;color:#65dff5;font-size:8px;font-weight:900}
.oracle-iceflow-v2122-history-line{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 7px}
.oracle-iceflow-v2122-history-line small{color:#5f8198;font-size:6px;font-weight:1000}
.oracle-iceflow-v2122-history-line b{min-width:0;color:#dff7ff;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oracle-iceflow-v2122-history-impact{text-align:right}
.oracle-iceflow-v2122-history-impact span{display:block;color:#6f91aa;font-size:6.5px}
.oracle-iceflow-v2122-history-impact strong{display:block;margin-top:2px;color:#68efb7;font-size:7px}
.oracle-iceflow-v2122-history-empty{padding:22px 12px;color:#66879e;font-size:8px;text-align:center}

.oracle-iceflow-v2122-change-journal article{contain:layout paint}
.oracle-iceflow-v2122-change-journal article.is-latest{box-shadow:inset 3px 0 0 #42e6ff}

.oracle-iceflow-v2122-events-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:12px; padding:13px 14px;
  border:1px solid rgba(174,109,255,.24); border-radius:14px;
  background:radial-gradient(circle at 100% 0%,rgba(174,109,255,.09),transparent 36%),linear-gradient(145deg,#071e31,#051522);
}
.oracle-iceflow-v2122-events-toolbar button{
  flex:0 0 auto; min-height:42px; display:inline-flex; align-items:center; gap:8px; padding:0 13px;
  border:1px solid rgba(174,109,255,.38); border-radius:10px; color:#f0ddff;
  background:linear-gradient(135deg,rgba(109,58,184,.28),rgba(66,230,255,.09));
  font-size:8px; font-weight:1000; text-transform:uppercase; letter-spacing:.04em;
}
.oracle-iceflow-v2122-events-toolbar button i{color:#d18cff}
/* Le bouton Observatoire hérité peut être présent dans la copie de la Timeline.
   On garde un seul bouton stable, celui de V21.2.2. */
.oracle-iceflow-legacy-timeline [data-oracle-observatory-open]{display:none!important}

@media(max-width:767px){
  .oracle-iceflow-v2122-history{padding:10px;margin-top:9px;border-radius:13px}
  .oracle-iceflow-v2122-history>header{gap:8px;margin-bottom:8px}
  .oracle-iceflow-v2122-history>header h3,.oracle-iceflow-v2122-events-toolbar h3{font-size:13px}
  .oracle-iceflow-v2122-history>header p,.oracle-iceflow-v2122-events-toolbar p{font-size:8px;line-height:1.45}
  .oracle-iceflow-v2122-history>header em{display:none}
  .oracle-iceflow-v2122-period-tabs{position:sticky;top:0;z-index:8;padding:5px 0 8px;background:linear-gradient(#051725 78%,transparent)}
  .oracle-iceflow-v2122-period-tabs button{min-width:64px;min-height:44px;font-size:10px}
  .oracle-iceflow-v2122-history-grid{grid-template-columns:1fr;gap:7px}
  .oracle-iceflow-v2122-history-team article{grid-template-columns:74px minmax(0,1fr);gap:7px;padding:9px 8px}
  .oracle-iceflow-v2122-history-impact{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;text-align:left;padding-top:5px;border-top:1px solid rgba(255,255,255,.035)}
  .oracle-iceflow-v2122-history-time strong{font-size:8px}.oracle-iceflow-v2122-history-time span{font-size:9px}
  .oracle-iceflow-v2122-history-line small{font-size:6.5px}.oracle-iceflow-v2122-history-line b{font-size:8.5px}
  .oracle-iceflow-v2122-history-impact span,.oracle-iceflow-v2122-history-impact strong{font-size:7px}
  .oracle-iceflow-v2122-events-toolbar{align-items:stretch;flex-direction:column;padding:11px}
  .oracle-iceflow-v2122-events-toolbar button{width:100%;min-height:46px;justify-content:center;font-size:9px}
  .oracle-iceflow-v2122-change-journal article{scroll-margin-top:120px}
}


/* ========================================================================== 
   HOCKAI ORACLE LIVE V21.3 — MOBILE FINAL UX
   Fluidité, tri joueurs, compositions compactes, maillots, Ice Flow, modale.
   ========================================================================== */

/* -------- Performance / stabilité visuelle -------- */
#oracle-game-center .oracle-gc-panel{min-height:0;contain:layout style}
#oracle-game-center [data-gc-panel="timeline"]{contain:layout style}
#oracle-ice-flow-root [data-iceflow-live-current],
#oracle-ice-flow-root [data-iceflow-live-history]{contain:layout style paint}
#oracle-ice-flow-root .oracle-iceflow-v20-player,
#oracle-ice-flow-root .oracle-iceflow-v20-team,
#oracle-ice-flow-root .oracle-iceflow-v2122-change-journal article{transition-duration:.12s!important}
html.oracle-iceflow-modal-open,html.oracle-iceflow-modal-open body{overflow:hidden!important;overscroll-behavior:none}

/* -------- Player Center : filtres live -------- */
.oracle-player-live-sort{
  margin:0 0 14px;padding:12px;border:1px solid rgba(56,189,248,.20);border-radius:15px;
  background:linear-gradient(145deg,rgba(8,35,55,.92),rgba(4,20,34,.94));
  display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);gap:12px;align-items:center;
}
.oracle-player-live-sort__intro span{display:block;color:#48e5ff;font-size:7px;font-weight:1000;letter-spacing:.11em;text-transform:uppercase}
.oracle-player-live-sort__intro strong{display:block;margin-top:3px;color:#fff;font-size:13px;font-weight:1000;line-height:1.15}
.oracle-player-live-sort__intro small{display:block;margin-top:3px;color:#6f91aa;font-size:7px;line-height:1.35}
.oracle-player-live-sort__buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.oracle-player-live-sort__buttons button{
  min-height:42px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.025);
  color:#7896ad;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;
  font-size:7.5px;font-weight:950;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease;
}
.oracle-player-live-sort__buttons button i{color:#4bdff7}
.oracle-player-live-sort__buttons button.is-active{
  color:#fff;border-color:rgba(66,230,255,.48);background:linear-gradient(135deg,rgba(27,126,204,.30),rgba(126,69,205,.25));
  box-shadow:0 0 18px rgba(66,230,255,.08)
}
.oracle-player-live-sort__buttons button:active{transform:scale(.98)}

/* -------- Compositions : compact + sélecteur équipe -------- */
.oracle-lineup-v213-switcher{position:sticky;top:0;z-index:18;backdrop-filter:blur(16px)}
.oracle-lineup-v213-switcher .oracle-lineup-team-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px!important}
.oracle-lineup-switch-logo{width:26px;height:26px;object-fit:contain;filter:drop-shadow(0 3px 7px rgba(0,0,0,.35))}
.oracle-jersey-zone{filter:drop-shadow(0 10px 16px rgba(0,0,0,.32))}
.oracle-jersey-body{box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),0 10px 24px rgba(0,0,0,.32)!important}
.oracle-jersey-body::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 50% 26%,rgba(255,255,255,.16),transparent 29%),linear-gradient(180deg,transparent 70%,rgba(0,0,0,.20));
}
.oracle-jersey-team-mark{
  position:absolute;left:7px;top:15px;width:17px;height:17px;object-fit:contain;z-index:3;
  opacity:.92;filter:drop-shadow(0 1px 2px rgba(0,0,0,.75));
}
.oracle-lineup-production{position:absolute!important;z-index:40!important;right:-12px!important;top:-8px!important;display:flex!important;flex-direction:column;gap:4px!important;align-items:flex-end!important}
.oracle-lineup-production span{
  min-width:0!important;height:auto!important;padding:4px 6px!important;border-radius:8px!important;display:grid!important;
  grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:4px;align-items:center;justify-items:center;
  border:1px solid rgba(255,255,255,.25)!important;box-shadow:0 7px 18px rgba(0,0,0,.42)!important;backdrop-filter:blur(8px);
}
.oracle-lineup-production span i{grid-row:1/3;font-size:9px}
.oracle-lineup-production span b{font-size:10px;line-height:1;font-weight:1000}
.oracle-lineup-production span small{font-size:5.5px;line-height:1;font-weight:1000;letter-spacing:.04em}
.oracle-lineup-production__goal{background:linear-gradient(135deg,#ff315c,#9f1239)!important;color:#fff!important}
.oracle-lineup-production__assist{background:linear-gradient(135deg,#8b5cf6,#4c1d95)!important;color:#fff!important}

/* -------- Ice Flow : lecture immédiate -------- */
.oracle-iceflow-v213-quickread{
  margin:10px 0;padding:10px 12px;display:flex;align-items:flex-start;gap:9px;border:1px solid rgba(66,230,255,.18);
  border-radius:12px;background:linear-gradient(90deg,rgba(66,230,255,.055),rgba(174,109,255,.035));
}
.oracle-iceflow-v213-quickread>i{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:8px;color:#4be7ff;background:rgba(66,230,255,.075)}
.oracle-iceflow-v213-quickread strong{display:block;color:#eafcff;font-size:9px;font-weight:1000}
.oracle-iceflow-v213-quickread span{display:block;margin-top:2px;color:#7593aa;font-size:7px;line-height:1.4}

/* -------- Derniers matchs : vraie modale persistante -------- */
.oracle-iceflow-v213-modal-backdrop{
  position:fixed;inset:0;z-index:10050;background:rgba(0,5,13,.84);backdrop-filter:blur(12px);
  display:flex;align-items:center;justify-content:center;padding:18px;
}
.oracle-iceflow-v213-history-modal{
  width:min(760px,100%);max-height:min(86vh,850px);overflow:hidden;border:1px solid rgba(66,230,255,.28);border-radius:20px;
  background:radial-gradient(circle at 100% 0%,rgba(174,109,255,.12),transparent 34%),linear-gradient(155deg,#071d30,#04121f 70%);
  box-shadow:0 35px 90px rgba(0,0,0,.65),0 0 35px rgba(66,230,255,.06);display:flex;flex-direction:column;
}
.oracle-iceflow-v213-history-modal>header{
  padding:15px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.06);
}
.oracle-iceflow-v213-history-modal>header span{display:block;color:#55e6ff;font-size:7px;font-weight:1000;letter-spacing:.1em}
.oracle-iceflow-v213-history-modal>header h3{margin:3px 0;color:#fff;font-size:18px;line-height:1.15;font-weight:1000}
.oracle-iceflow-v213-history-modal>header p{margin:0;color:#7291a8;font-size:8px}
.oracle-iceflow-v213-history-modal>header button{width:40px;height:40px;flex:0 0 40px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.26);color:#dff8ff;font-size:15px}
.oracle-iceflow-v213-history-modal__body{overflow-y:auto;padding:12px;-webkit-overflow-scrolling:touch}
.oracle-iceflow-v213-modal-team{padding:11px;border:1px solid rgba(62,151,201,.17);border-radius:14px;background:rgba(3,20,33,.72);margin-bottom:9px}
.oracle-iceflow-v213-modal-team__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.oracle-iceflow-v213-modal-team__head strong{color:#67eaff;font-size:15px}.oracle-iceflow-v213-modal-team__head span{color:#66859c;font-size:7px;font-weight:900}
.oracle-iceflow-v213-modal-group{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:9px 0;border-top:1px solid rgba(255,255,255,.045)}
.oracle-iceflow-v213-modal-group__icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#bc82ff;background:rgba(174,109,255,.08);border:1px solid rgba(174,109,255,.15)}
.oracle-iceflow-v213-modal-group span{display:block;color:#718fa6;font-size:6.5px;font-weight:1000;letter-spacing:.05em;text-transform:uppercase}
.oracle-iceflow-v213-modal-group strong{display:block;margin-top:2px;color:#fff;font-size:10px;line-height:1.2}.oracle-iceflow-v213-modal-group small{display:block;margin-top:2px;color:#7797ad;font-size:7px}
.oracle-iceflow-v213-modal-proof{display:flex;gap:8px;align-items:flex-start;padding:10px;border:1px solid rgba(73,242,173,.14);border-radius:10px;background:rgba(73,242,173,.035);color:#7898ae;font-size:7px;line-height:1.4}
.oracle-iceflow-v213-modal-proof i{color:#57edb5;margin-top:2px}

@media(max-width:767px){
  /* Fluidité : aucune animation de scroll interne imposée par Oracle. */
  #oracle-game-center,.oracle-gc-panel{scroll-behavior:auto!important}
  #oracle-game-center .oracle-gc-panel{content-visibility:auto;contain-intrinsic-size:900px}

  .oracle-player-live-sort{grid-template-columns:1fr;gap:9px;margin-bottom:10px;padding:10px}
  .oracle-player-live-sort__intro strong{font-size:14px}.oracle-player-live-sort__intro small{font-size:8px}
  .oracle-player-live-sort__buttons{display:flex;overflow-x:auto;gap:6px;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .oracle-player-live-sort__buttons::-webkit-scrollbar{display:none}
  .oracle-player-live-sort__buttons button{flex:0 0 auto;min-height:44px;padding:7px 10px;font-size:8.5px}

  /* Compositions : on arrive directement au choix de l'équipe. */
  [data-gc-panel="roster"]{padding-top:8px!important}
  .oracle-lineup-v213-header{margin-bottom:8px!important;gap:6px!important}
  .oracle-lineup-v213-header p{max-width:330px}
  .oracle-lineup-v213-reliability{display:none!important}
  .oracle-lineup-v213-switcher{margin:0 0 9px!important;padding:5px!important;border-radius:13px!important}
  .oracle-lineup-v213-switcher .oracle-lineup-team-button{min-height:52px!important;font-size:11px!important;border-radius:10px!important}
  .oracle-lineup-switch-logo{width:29px;height:29px}
  .oracle-jersey-zone{width:88px!important;height:82px!important}
  .oracle-jersey-team-mark{width:18px;height:18px;left:6px;top:14px}
  .oracle-lineup-production{right:-8px!important;top:-7px!important}
  .oracle-lineup-production span{padding:4px 5px!important}

  /* Ice Flow : maintenant d'abord, analyse ensuite. */
  .oracle-iceflow-v213-livebar{margin-bottom:7px!important}
  .oracle-iceflow-v213-quickread{margin:7px 0 8px;padding:9px 10px}
  .oracle-iceflow-v213-quickread strong{font-size:10px}.oracle-iceflow-v213-quickread span{font-size:8px}
  .oracle-iceflow-v20-now-grid{gap:8px!important}
  .oracle-iceflow-v20-team{border-radius:13px!important}
  .oracle-iceflow-v20-team-head{padding:10px!important}
  .oracle-iceflow-v20-unit-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .oracle-iceflow-v20-role{padding:8px 9px!important}
  .oracle-iceflow-v20-player{min-height:46px!important}
  .oracle-iceflow-v20-pulse{margin-top:10px!important}

  /* Modale dernier match : bottom sheet lisible au pouce. */
  .oracle-iceflow-v213-modal-backdrop{align-items:flex-end;padding:0}
  .oracle-iceflow-v213-history-modal{width:100%;max-height:88dvh;border-radius:24px 24px 0 0;border-left:0;border-right:0;border-bottom:0}
  .oracle-iceflow-v213-history-modal>header{padding:14px 15px 12px;position:sticky;top:0;z-index:2;background:rgba(6,24,39,.97);backdrop-filter:blur(14px)}
  .oracle-iceflow-v213-history-modal>header h3{font-size:17px}.oracle-iceflow-v213-history-modal>header p{font-size:8px}
  .oracle-iceflow-v213-history-modal>header button{width:44px;height:44px;flex-basis:44px}
  .oracle-iceflow-v213-history-modal__body{padding:10px 10px calc(18px + env(safe-area-inset-bottom))}
  .oracle-iceflow-v213-modal-team{padding:10px}.oracle-iceflow-v213-modal-group strong{font-size:11px}.oracle-iceflow-v213-modal-group small{font-size:8px}
}


/* ========================================================================== 
   V21.3.2 — MATCH BOARD / ZERO CAROUSEL
   ========================================================================== */
.oracle-carousel-shell.oracle-v2132-shell{
  overflow:visible!important;
  background:rgba(3,16,29,.72)!important;
  border-color:rgba(70,173,226,.20)!important;
}
.oracle-v2132-shell > button{display:none!important}
#live-matches-mini-grid.oracle-v2132-board{
  display:block!important;
  overflow:visible!important;
  min-height:0!important;
  padding:10px!important;
  scroll-snap-type:none!important;
}
.oracle-v2132-day + .oracle-v2132-day{margin-top:12px}
.oracle-v2132-day>header{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:0 2px 7px;padding:2px 1px 7px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.oracle-v2132-day>header>div{display:flex;align-items:center;gap:7px;min-width:0}
.oracle-v2132-day>header i{color:#42e6ff;font-size:10px}
.oracle-v2132-day>header strong{color:#edfaff;font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em}
.oracle-v2132-day>header span{color:#63859d;font-size:7px;font-weight:850}
.oracle-v2132-day>header em{font-style:normal;color:#6a8aa1;font-size:7px;font-weight:900;text-transform:uppercase}
.oracle-v2132-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:8px!important;
}
.oracle-v2132-match{
  appearance:none;width:100%;min-width:0!important;min-height:112px!important;
  padding:10px 11px!important;text-align:left;cursor:pointer;
  border:1px solid rgba(73,158,211,.24);border-radius:13px;
  background:linear-gradient(145deg,#09243a,#061827 68%);
  color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.12);
  transition:border-color .16s ease,transform .16s ease,background .16s ease,box-shadow .16s ease;
}
.oracle-v2132-match:hover{border-color:rgba(66,230,255,.48);transform:translateY(-1px);box-shadow:0 10px 25px rgba(0,0,0,.18)}
.oracle-v2132-match:active{transform:scale(.99)}
.oracle-v2132-match.is-selected{border-color:#42e6ff;box-shadow:0 0 0 1px rgba(66,230,255,.18),0 10px 26px rgba(0,0,0,.20)}
.oracle-v2132-match.is-live{border-color:rgba(255,76,134,.46);background:linear-gradient(145deg,rgba(77,22,48,.52),#071b2d 62%)}
.oracle-v2132-match__top,.oracle-v2132-match__foot,.oracle-v2132-team{display:flex;align-items:center;justify-content:space-between;gap:8px}
.oracle-v2132-match__top{margin-bottom:8px}
.oracle-v2132-status{display:inline-flex;align-items:center;gap:5px;color:#819db0;font-size:6.5px;font-weight:1000;letter-spacing:.055em}
.oracle-v2132-status i{width:6px;height:6px;border-radius:50%;background:#6a8295}
.is-live .oracle-v2132-status{color:#ff8bac}.is-live .oracle-v2132-status i{background:#ff4c86;box-shadow:0 0 8px rgba(255,76,134,.7)}
.oracle-v2132-match__top time{color:#d9f7ff;font-size:8px;font-weight:1000}
.oracle-v2132-team{min-height:24px}
.oracle-v2132-team>span{display:flex;align-items:center;gap:8px;min-width:0}
.oracle-v2132-team img{width:22px;height:22px;object-fit:contain;flex:0 0 22px}
.oracle-v2132-team b{font-size:11px;font-weight:1000;letter-spacing:.015em}
.oracle-v2132-team strong{font-size:17px;font-weight:1000;font-variant-numeric:tabular-nums}
.oracle-v2132-match__foot{margin-top:8px;padding-top:7px;border-top:1px solid rgba(255,255,255,.055);color:#6f90a8;font-size:6.5px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.oracle-v2132-match__foot i{color:#42e6ff}
.oracle-v2132-empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;color:#6f91aa}
.oracle-v2132-empty i{font-size:18px;color:#4edff9}.oracle-v2132-empty strong{font-size:11px;color:#fff}.oracle-v2132-empty span{font-size:7px}
.oracle-v2132-open-error{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;margin:14px;padding:14px;border:1px solid rgba(245,194,67,.25);border-radius:14px;background:#071b2d;color:#fff}
.oracle-v2132-open-error>i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;color:#ffd34e;background:rgba(245,194,67,.08)}
.oracle-v2132-open-error strong,.oracle-v2132-open-error span{display:block}.oracle-v2132-open-error strong{font-size:11px}.oracle-v2132-open-error span{margin-top:3px;color:#7695ac;font-size:8px;line-height:1.4}
.oracle-v2132-open-error button{min-height:38px;padding:0 12px;border:1px solid rgba(66,230,255,.25);border-radius:10px;background:rgba(66,230,255,.06);color:#8cf1ff;font-size:7px;font-weight:1000;text-transform:uppercase}

@media (min-width:1280px){.oracle-v2132-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:900px) and (max-width:1279px){.oracle-v2132-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:600px) and (max-width:899px){.oracle-v2132-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){
  #live-matches-mini-grid.oracle-v2132-board{padding:8px!important}
  .oracle-v2132-day+ .oracle-v2132-day{margin-top:10px}
  .oracle-v2132-grid{grid-template-columns:1fr!important;gap:7px!important}
  .oracle-v2132-match{min-height:82px!important;padding:9px 10px!important;border-radius:12px}
  .oracle-v2132-match__top{margin-bottom:4px}
  .oracle-v2132-team{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:21px}
  .oracle-v2132-team img{width:20px;height:20px;flex-basis:20px}
  .oracle-v2132-team b{font-size:11px}.oracle-v2132-team strong{font-size:15px}
  .oracle-v2132-match__foot{margin-top:5px;padding-top:5px}
  .oracle-v2132-day>header strong{font-size:9px}
  .oracle-v2132-open-error{grid-template-columns:34px 1fr;padding:11px;margin:8px}.oracle-v2132-open-error>i{width:34px;height:34px}.oracle-v2132-open-error button{grid-column:1/-1;width:100%}
}

/* ========================================================================== 
   V21.3.3 — STABLE NAVIGATION / MOBILE NATURAL SCROLL / COMPACT MATCH BOARD
   ========================================================================== */
.oracle-v2133-day>header{margin:0!important;padding:0!important;border:0!important}
.oracle-v2133-day-toggle{
  appearance:none;width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 8px;border:0;border-bottom:1px solid rgba(255,255,255,.055);background:transparent;color:#fff;text-align:left;cursor:pointer
}
.oracle-v2133-day-toggle>span:first-child{display:flex;align-items:center;gap:7px;min-width:0}
.oracle-v2133-day-toggle>span:first-child>i{color:#42e6ff;font-size:10px}
.oracle-v2133-day-toggle strong{font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;color:#edfaff}
.oracle-v2133-day-toggle small{color:#63859d;font-size:7px;font-weight:850}
.oracle-v2133-day-meta{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.oracle-v2133-day-meta em{font-style:normal;color:#698aa2;font-size:7px;font-weight:900;text-transform:uppercase}
.oracle-v2133-day-meta b{color:#8defff;font-size:7px;font-weight:1000;text-transform:uppercase;letter-spacing:.035em}
.oracle-v2133-day-meta>i{color:#42e6ff;font-size:8px}
.oracle-v2133-day.is-folded{border:1px solid rgba(73,158,211,.12);border-radius:12px;background:rgba(5,25,41,.58)}
.oracle-v2133-day.is-folded+ .oracle-v2133-day{margin-top:7px}
.oracle-v2133-more{
  appearance:none;width:100%;min-height:40px;margin-top:8px;border:1px dashed rgba(66,230,255,.24);border-radius:10px;
  background:rgba(66,230,255,.035);color:#91efff;font-size:7.5px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;cursor:pointer
}
.oracle-v2133-more i{margin-right:6px}.oracle-v2133-more.is-less{color:#7898ae;border-color:rgba(120,152,174,.18);background:transparent}

@media(max-width:767px){
  /* Le document redevient la source de scroll. Plus de conteneur plein-écran bloquant. */
  html,body{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overscroll-behavior-y:auto!important}
  body{touch-action:pan-y!important}
  main{height:auto!important;min-height:100dvh!important;overflow:visible!important}
  main>.px-2,main>.px-2.py-4{height:auto!important;min-height:0!important;overflow:visible!important}
  #tab-live{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;overscroll-behavior-y:auto!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch}
  html.oracle-iceflow-modal-open:not(:has(.oracle-iceflow-v213-modal-backdrop)){overflow-y:auto!important;overscroll-behavior-y:auto!important}
  html.oracle-iceflow-modal-open:not(:has(.oracle-iceflow-v213-modal-backdrop)) body{overflow-y:auto!important;overscroll-behavior-y:auto!important}

  #live-matches-mini-grid.oracle-v2133-board{padding:7px!important}
  .oracle-v2133-day+ .oracle-v2133-day{margin-top:7px}
  .oracle-v2133-day-toggle{min-height:48px;padding:8px 6px}
  .oracle-v2133-day-toggle strong{font-size:9.5px}.oracle-v2133-day-toggle small{font-size:7.5px}
  .oracle-v2133-day-meta b{display:none}.oracle-v2133-day-meta em{font-size:7.5px}.oracle-v2133-day-meta>i{font-size:10px}
  .oracle-v2133-more{min-height:44px;font-size:8.5px;border-radius:11px}
}

/* ========================================================================== */
/* HOCKAI ORACLE LIVE V21.3.4 — NO AUTO SCROLL / PLAYER TOI / LINEUPS         */
/* ========================================================================== */

.oracle-score-return{
  position:fixed;right:14px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:9997;
  display:flex;align-items:center;gap:7px;min-height:42px;padding:0 13px;border-radius:999px;
  border:1px solid rgba(71,222,255,.28);background:rgba(4,20,34,.92);color:#dff9ff;
  font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;
  box-shadow:0 12px 34px rgba(0,0,0,.38),0 0 20px rgba(34,211,238,.08);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  opacity:0;transform:translateY(10px) scale(.96);pointer-events:none;transition:opacity .18s ease,transform .18s ease,border-color .18s ease;
}
.oracle-score-return i{font-size:10px;color:#4ee9ff}
.oracle-score-return.is-visible{opacity:1;transform:none;pointer-events:auto}
.oracle-score-return:active{transform:scale(.96)}
@media(min-width:768px){.oracle-score-return{bottom:24px;right:24px}}

.oracle-player-toi-context{
  margin-top:16px;padding:14px;border-radius:18px;border:1px solid rgba(83,213,255,.18);
  background:linear-gradient(135deg,rgba(8,44,66,.86),rgba(7,17,31,.92));
  box-shadow:0 14px 36px rgba(0,0,0,.2)
}
.oracle-player-toi-context.is-up{border-color:rgba(52,211,153,.30);background:linear-gradient(135deg,rgba(6,62,54,.68),rgba(7,17,31,.92))}
.oracle-player-toi-context.is-down{border-color:rgba(251,113,133,.26);background:linear-gradient(135deg,rgba(77,24,39,.56),rgba(7,17,31,.92))}
.oracle-player-toi-context__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.oracle-player-toi-context__head span{display:block;color:#68e7ff;font-size:9px;font-weight:950;letter-spacing:.14em}
.oracle-player-toi-context__head strong{display:block;margin-top:4px;color:#fff;font-size:12px}
.oracle-player-toi-context__head em{font-style:normal;max-width:48%;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.055);color:#b8d5e8;font-size:8px;font-weight:950;text-align:right}
.oracle-player-toi-context.is-up .oracle-player-toi-context__head em{color:#6ee7b7;background:rgba(16,185,129,.10)}
.oracle-player-toi-context.is-down .oracle-player-toi-context__head em{color:#fda4af;background:rgba(244,63,94,.10)}
.oracle-player-toi-context__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.oracle-player-toi-context__grid>div{min-width:0;padding:10px;border-radius:13px;border:1px solid rgba(255,255,255,.06);background:rgba(0,0,0,.18)}
.oracle-player-toi-context__grid span{display:block;color:#6f8da2;font-size:8px;font-weight:850;line-height:1.25}
.oracle-player-toi-context__grid strong{display:block;margin-top:5px;color:#fff;font-size:18px;font-weight:950;letter-spacing:-.02em}
.oracle-player-toi-context__grid small{display:block;margin-top:2px;color:#51738b;font-size:7.5px}
.oracle-player-toi-context__delta strong{color:#67e8f9}
.oracle-player-toi-context.is-up .oracle-player-toi-context__delta strong{color:#6ee7b7}
.oracle-player-toi-context.is-down .oracle-player-toi-context__delta strong{color:#fda4af}
.oracle-player-toi-context p{margin:11px 0 0;color:#a7c0d1;font-size:10px;line-height:1.55}
.oracle-player-toi-context p b{color:#fff}
.oracle-player-toi-context details{margin-top:10px;border-top:1px solid rgba(255,255,255,.06);padding-top:9px}
.oracle-player-toi-context summary{cursor:pointer;color:#68e7ff;font-size:8.5px;font-weight:900}
.oracle-player-toi-context__samples{display:grid;gap:5px;margin-top:8px}
.oracle-player-toi-context__samples span{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;color:#7f9fb5;font-size:8px}
.oracle-player-toi-context__samples strong{color:#dff7ff}
.oracle-player-toi-context__source{display:flex;align-items:center;gap:6px;margin-top:10px;color:#52758c;font-size:7.5px}
.oracle-player-toi-context__loading,.oracle-player-toi-context__empty{display:flex;align-items:center;gap:9px;color:#8ba8bb;font-size:10px}

.oracle-lineup-v2134-team-button{
  min-height:58px!important;display:grid!important;grid-template-columns:42px 1fr!important;align-items:center!important;gap:10px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--team-primary) 28%,#071727),rgba(5,18,31,.96))!important;
  border-color:color-mix(in srgb,var(--team-primary) 60%,rgba(255,255,255,.12))!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--team-secondary) 22%,transparent)!important;
}
.oracle-lineup-v2134-team-button .oracle-lineup-switch-logo{
  width:38px!important;height:38px!important;max-width:none!important;padding:5px!important;object-fit:contain!important;
  border-radius:12px!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(255,255,255,.72)!important;
  filter:drop-shadow(0 5px 9px rgba(0,0,0,.30))!important;opacity:1!important;
}
.oracle-lineup-v2134-team-button>span:last-child{font-size:13px!important;color:#fff!important;text-align:left!important;letter-spacing:.12em!important}
.oracle-lineup-v2134-team-panel>div{
  border-color:color-mix(in srgb,var(--team-primary) 42%,#233a4d)!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--team-primary) 10%,#0a1420),#050b12 26%,#05090f 100%)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.28),inset 0 2px 0 color-mix(in srgb,var(--team-primary) 65%,transparent)!important;
}
.oracle-jersey-body{
  box-shadow:0 12px 25px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.16)!important;
}
.oracle-jersey-team-mark{
  display:block!important;position:absolute!important;left:6px!important;top:15px!important;right:auto!important;bottom:auto!important;
  width:21px!important;height:21px!important;padding:2px!important;object-fit:contain!important;opacity:1!important;z-index:12!important;
  border-radius:50%!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(255,255,255,.75)!important;
  transform:none!important;filter:drop-shadow(0 3px 5px rgba(0,0,0,.42))!important;
}
.oracle-lineup-production{right:-5px!important;top:-5px!important;gap:4px!important}
.oracle-lineup-production span{height:23px!important;min-width:23px!important;padding:0 7px!important;border:2px solid rgba(255,255,255,.25)!important;box-shadow:0 7px 16px rgba(0,0,0,.42)!important}
.oracle-lineup-production span small{font-size:6px!important;font-weight:950!important;letter-spacing:.05em!important}
.oracle-lineup-production__goal{background:linear-gradient(135deg,#ff3b63,#c7193d)!important}
.oracle-lineup-production__assist{background:linear-gradient(135deg,#a855f7,#6d28d9)!important}

@media(max-width:600px){
  .oracle-player-toi-context{margin-top:13px;padding:12px}
  .oracle-player-toi-context__head{display:block}
  .oracle-player-toi-context__head em{display:inline-flex;max-width:100%;margin-top:8px;text-align:left}
  .oracle-player-toi-context__grid{grid-template-columns:1fr 1fr}
  .oracle-player-toi-context__delta{grid-column:1/-1}
  .oracle-lineup-v2134-team-button{min-height:54px!important;grid-template-columns:36px 1fr!important}
  .oracle-lineup-v2134-team-button .oracle-lineup-switch-logo{width:34px!important;height:34px!important}
  .oracle-jersey-zone{width:88px!important;height:83px!important}
  .oracle-jersey-team-mark{width:22px!important;height:22px!important;left:5px!important;top:14px!important}
}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V21.3.5 — MANUAL NAVIGATION / MOBILE SCROLL PERF        */
/* ========================================================================== */
html,body{scroll-behavior:auto!important}
#tab-live,#oracle-game-center,.oracle-gc-panel{scroll-behavior:auto!important;overflow-anchor:none}
@media(max-width:767px){
  /* Les blur fixes/sticky coûtent cher pendant le scroll Safari/iOS. */
  .oracle-score-return{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#061827!important;box-shadow:0 8px 22px rgba(0,0,0,.32)!important}
  .oracle-lineup-v213-switcher{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#061827!important}
  .oracle-lineup-production span{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  /* Empêche les transitions de layout pendant un geste tactile. */
  #oracle-game-center *{scroll-margin-top:0!important}
}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V21.3.6 — COMPOSITIONS SANS LOGOS / STABILITÉ MOBILE    */
/* ========================================================================== */
.oracle-lineup-switch-logo,.oracle-jersey-team-mark{display:none!important}
.oracle-lineup-v2134-team-button{
  grid-template-columns:1fr!important;
  justify-items:center!important;
  gap:0!important;
  min-height:52px!important;
}
.oracle-lineup-v2134-team-button>span:last-child{
  text-align:center!important;
  font-size:14px!important;
  letter-spacing:.16em!important;
}
@media(max-width:600px){
  .oracle-lineup-v2134-team-button{grid-template-columns:1fr!important;min-height:50px!important}
  .oracle-lineup-v2134-team-button>span:last-child{font-size:13px!important}
}

/* ==========================================================================\n   HOCKAI ORACLE LIVE V21.3.7 — STABLE GAME CENTER TABS\n   - every Game Center tab remains visible\n   - active tab is obvious without hiding/de-emphasising siblings\n   - no horizontal tab carousel on phone\n   ========================================================================== */
@media (max-width: 640px) {
  #oracle-game-center .oracle-gc-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
    overflow: visible !important;
    gap: 0 !important;
    background: #06101d !important;
    border-top: 1px solid rgba(69, 101, 135, .28) !important;
    border-bottom: 1px solid rgba(69, 101, 135, .42) !important;
  }

  #oracle-game-center .oracle-gc-tab {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 9px 3px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #8093aa !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
  }

  #oracle-game-center .oracle-gc-tab > i {
    display: block !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: currentColor !important;
  }

  #oracle-game-center .oracle-gc-tab > span {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 7.5px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    color: currentColor !important;
  }

  #oracle-game-center .oracle-gc-tab.is-active,
  #oracle-game-center .oracle-gc-tab.border-red-400,
  #oracle-game-center .oracle-gc-tab[aria-selected="true"] {
    color: #f8fbff !important;
    background: linear-gradient(180deg, rgba(50, 151, 224, .10), rgba(151, 52, 196, .09)) !important;
    border-bottom-color: #37dff5 !important;
    box-shadow: inset 0 -1px 0 rgba(55, 223, 245, .25) !important;
  }

  #oracle-game-center .oracle-gc-tab:not(.is-active):not(.border-red-400) {
    color: #7d91a9 !important;
    opacity: 1 !important;
  }

  /* Disable browser scroll anchoring inside the live-updating shell. The user
     owns the viewport; background data changes must not re-anchor the page. */
  #oracle-game-center,
  #oracle-game-center .oracle-gc-panel,
  #oracle-game-center [data-gc-panel="roster"] {
    overflow-anchor: none !important;
  }
}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V21.3.8 — FIRST PAINT TABS / VIEWPORT OWNERSHIP         */
/* ========================================================================== */
@media (max-width: 640px) {
  #oracle-game-center .oracle-gc-tabs {
    grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    min-height: 58px !important;
  }
  #oracle-game-center .oracle-gc-tab {
    display:flex !important;
    min-width:0 !important;
    width:100% !important;
    visibility:visible !important;
    opacity:1 !important;
    font-size:7.5px !important; /* neutralise l'ancien font-size:0 avant V16 */
    color:#7d91a9 !important;
  }
  #oracle-game-center .oracle-gc-tab > i,
  #oracle-game-center .oracle-gc-tab > span {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    color:currentColor !important;
  }
  #oracle-game-center .oracle-gc-tab.is-active,
  #oracle-game-center .oracle-gc-tab[aria-selected="true"],
  #oracle-game-center .oracle-gc-tab.border-red-400 {
    color:#fff !important;
    border-bottom-color:#37dff5 !important;
  }
}
/* Les mutations internes ne doivent jamais servir d'ancre au navigateur. */
#oracle-game-center,
#oracle-game-center > *,
#oracle-game-center .oracle-gc-panel,
#oracle-game-center .oracle-overview-dashboard,
#oracle-game-center [data-gc-panel] { overflow-anchor:none !important; }


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22 — ULTIMATE COCKPIT                                  */
/* Maquette Ultime: rapid comprehension, minimal scroll, smartphone-first.     */
/* ========================================================================== */
:root{
  --oracle-v22-bg:#03111e;
  --oracle-v22-card:#071d30;
  --oracle-v22-card2:#0a2137;
  --oracle-v22-cyan:#31e6ff;
  --oracle-v22-blue:#2488ff;
  --oracle-v22-pink:#ff3d79;
  --oracle-v22-purple:#9a43ff;
  --oracle-v22-green:#42e6a4;
  --oracle-v22-yellow:#ffd44d;
  --oracle-v22-line:rgba(85,190,245,.20);
}
#oracle-game-center{background:linear-gradient(180deg,#03111e,#041522)!important;border-color:rgba(63,170,225,.24)!important;box-shadow:0 22px 70px rgba(0,0,0,.32)!important}
#oracle-game-center .oracle-score-hero{border:1px solid rgba(71,205,255,.30)!important;background:radial-gradient(circle at 0% 0%,rgba(255,61,121,.20),transparent 38%),radial-gradient(circle at 100% 0%,rgba(36,136,255,.19),transparent 40%),linear-gradient(135deg,#07192b,#0b2340)!important}
#oracle-game-center .oracle-gc-tabs{background:#04111f!important;border-color:rgba(76,182,232,.18)!important;box-shadow:0 8px 25px rgba(0,0,0,.20)!important}
#oracle-game-center .oracle-gc-tab.is-active,#oracle-game-center .oracle-gc-tab[aria-selected="true"]{color:#fff!important;background:linear-gradient(180deg,rgba(48,145,224,.12),rgba(154,67,255,.10))!important;border-bottom-color:var(--oracle-v22-cyan)!important}

.oracle-ultimate-cockpit{display:grid;gap:10px;margin-bottom:10px}
.oracle-ultimate-summary-card,.oracle-ultimate-alerts,.oracle-ultimate-watch{position:relative;overflow:hidden;border:1px solid rgba(255,80,138,.32);border-radius:18px;background:radial-gradient(circle at 0 0,rgba(255,61,121,.14),transparent 44%),linear-gradient(145deg,#091a2d,#071a2b);box-shadow:0 12px 34px rgba(0,0,0,.22)}
.oracle-ultimate-summary-card:after{content:"";position:absolute;right:-45px;top:-70px;width:170px;height:170px;border-radius:50%;background:rgba(63,73,255,.12);filter:blur(30px);pointer-events:none}
.oracle-ultimate-summary-card{padding:14px}
.oracle-ultimate-summary-head,.oracle-ultimate-alerts>header,.oracle-ultimate-watch>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.oracle-ultimate-summary-head>span,.oracle-ultimate-alerts>header>span,.oracle-ultimate-watch>header>span{display:flex;align-items:center;gap:7px;color:#f5fbff;font-size:10px;font-weight:1000}
.oracle-ultimate-summary-head>span i{color:#ff4c86}.oracle-ultimate-summary-head>em{font-style:normal;color:#91edff;font-size:7px;font-weight:1000;letter-spacing:.08em}
.oracle-ultimate-summary-line{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:11px}
.oracle-ultimate-summary-line h2{margin:0;color:#fff;font-size:18px;line-height:1.04;font-weight:1000;max-width:280px}.oracle-ultimate-summary-line p{margin:5px 0 0;color:#7c9ab0;font-size:8px;line-height:1.4}.oracle-ultimate-summary-line>strong{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#ffd547;color:#1c1907;font-size:7px;font-weight:1000;text-transform:uppercase;box-shadow:0 0 18px rgba(255,213,71,.16)}
.oracle-ultimate-win{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:13px}.oracle-ultimate-win>span{color:#b9c8d5;font-size:8px;font-weight:900}.oracle-ultimate-win>span b{color:#fff;font-size:12px}.oracle-ultimate-win>div{height:8px;border-radius:999px;overflow:hidden;background:#0e263b;display:flex}.oracle-ultimate-win>div i,.oracle-ultimate-win>div em{height:100%;display:block}.oracle-ultimate-win>div i{background:linear-gradient(90deg,#ff356f,#ff567e)}.oracle-ultimate-win>div em{background:linear-gradient(90deg,#ffd746,#f3b94c)}
.oracle-ultimate-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}.oracle-ultimate-kpis button{min-height:86px;padding:12px;border:1px solid rgba(62,194,246,.22);border-radius:16px;background:linear-gradient(145deg,#072239,#061a2c);text-align:left}.oracle-ultimate-kpis button>span{display:flex;align-items:center;gap:6px;color:#dff8ff;font-size:8px;font-weight:900}.oracle-ultimate-kpis button>span i{color:var(--oracle-v22-cyan)}.oracle-ultimate-kpis b{display:block;margin-top:7px;color:#54e5ff;font-size:19px;font-weight:1000}.oracle-ultimate-kpis b em{color:#607c91;font-style:normal}.oracle-ultimate-kpis small{display:block;margin-top:2px;color:#638198;font-size:7px}
.oracle-ultimate-alerts,.oracle-ultimate-watch{padding:12px;border-color:rgba(75,178,226,.20);background:#061a2b}.oracle-ultimate-alerts>header small{color:#657f96;font-size:7px;font-weight:850}.oracle-ultimate-alerts>header>span i{color:#ff4f82}.oracle-ultimate-watch>header>span i{color:#44e7ff}.oracle-ultimate-watch>header button{border:0;background:none;color:#63e7ff;font-size:8px;font-weight:1000}.oracle-ultimate-alert-row,.oracle-ultimate-watch-row{width:100%;border:0;border-top:1px solid rgba(255,255,255,.055);background:transparent;color:#fff;min-height:43px;display:grid;align-items:center;text-align:left;margin-top:7px;padding:7px 0}.oracle-ultimate-alert-row{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.oracle-ultimate-alert-row>span{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:900}.oracle-ultimate-alert-row>span i{color:#ff4c80}.oracle-ultimate-alert-row>b{color:#ff7ea4;font-size:9px}.oracle-ultimate-alert-row>em{font-style:normal;padding:3px 6px;border-radius:999px;background:rgba(255,61,121,.10);color:#ff86a7;font-size:7px;font-weight:1000}.oracle-ultimate-alert-empty{display:flex;align-items:center;gap:7px;margin-top:8px;padding:9px;border-radius:10px;background:rgba(64,231,172,.04);color:#7797ad;font-size:8px}.oracle-ultimate-alert-empty i{color:#45e1a6}
.oracle-ultimate-watch-row{grid-template-columns:28px minmax(0,1fr) auto 12px;gap:7px}.oracle-ultimate-rank{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#0a3150;color:#7eeeff;font-size:9px;font-weight:1000}.oracle-ultimate-watch-main b,.oracle-ultimate-watch-main small{display:block}.oracle-ultimate-watch-main b{font-size:9px}.oracle-ultimate-watch-main small{margin-top:2px;color:#6e8ba1;font-size:7px}.oracle-ultimate-watch-row>em{font-style:normal;padding:4px 7px;border:1px solid rgba(255,65,111,.35);border-radius:999px;color:#ff7699;background:rgba(255,65,111,.08);font-size:6.5px;font-weight:1000}.oracle-ultimate-watch-row>i{color:#53e9ff;font-size:8px}
.oracle-ultimate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.oracle-ultimate-actions button{min-height:49px;border:0;border-radius:14px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(100deg,#247cff,#8a2df4);color:#fff;font-size:8px;font-weight:1000;box-shadow:0 8px 22px rgba(74,70,255,.18)}.oracle-ultimate-actions button.is-secondary{border:1px solid rgba(93,190,235,.18);background:#061a2b;color:#9bb2c3;box-shadow:none}.oracle-ultimate-deep-dive{display:block}.oracle-ultimate-deep-dive:not(.is-open){display:none}
.oracle-ultimate-ice-cta{width:100%;margin:0 0 10px;padding:10px 12px;border:1px solid rgba(56,227,255,.24);border-radius:14px;background:linear-gradient(90deg,rgba(21,111,158,.18),rgba(119,49,190,.14));color:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left}.oracle-ultimate-ice-cta>span{display:grid;grid-template-columns:28px 1fr;column-gap:8px}.oracle-ultimate-ice-cta>span>i{grid-row:1/3;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(49,230,255,.08);color:#46e7ff}.oracle-ultimate-ice-cta b{font-size:9px}.oracle-ultimate-ice-cta small{color:#718da2;font-size:7px;margin-top:2px}.oracle-ultimate-ice-cta>i{color:#4de9ff}

/* Match board: closer to the validated maquette, compact but instantly scannable. */
#live-matches-mini-grid.oracle-v2133-board{border:1px solid rgba(66,189,240,.18)!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(4,22,36,.94),rgba(3,17,30,.98))!important}
.oracle-v2132-match{border-radius:15px!important;border-color:rgba(74,178,225,.25)!important;background:linear-gradient(145deg,#071d30,#061826)!important}.oracle-v2132-match.is-live{border-color:rgba(255,61,121,.65)!important;background:radial-gradient(circle at 0 0,rgba(255,61,121,.15),transparent 48%),linear-gradient(145deg,#14182b,#071d30)!important;box-shadow:0 0 0 1px rgba(255,61,121,.08),0 12px 26px rgba(0,0,0,.18)}.oracle-v2133-more{border-color:rgba(54,225,255,.27)!important;color:#a9f5ff!important;background:rgba(12,40,58,.45)!important}

/* Player Center */
.oracle-ultimate-player-center>div{background:linear-gradient(180deg,#06243a,#071827)!important}.oracle-player-live-sort{border-radius:17px!important;border-color:rgba(59,219,248,.22)!important;background:#071b2d!important}.oracle-player-live-sort__intro strong{font-size:16px!important}.oracle-player-live-sort__buttons button{border-radius:12px!important}.oracle-player-live-sort__buttons button.is-active{background:linear-gradient(135deg,#133a5f,#3b246d)!important;border-color:#36dfff!important;color:#fff!important;box-shadow:0 0 0 1px rgba(54,223,255,.08)!important}

/* Stats */
.oracle-ultimate-stats .oracle-metric-card{border-color:rgba(70,185,235,.20)!important;background:linear-gradient(145deg,#071d30,#081a2b)!important;border-radius:16px!important}

/* Lineups */
.oracle-ultimate-lineups>div{background:linear-gradient(180deg,#06243a,#071827)!important}.oracle-ultimate-lineups .oracle-lineup-v213-switcher{border-radius:15px!important;background:#061421!important}.oracle-ultimate-lineups .oracle-lineup-team-button{font-size:14px!important;letter-spacing:.12em!important;border-radius:12px!important}.oracle-ultimate-lineups .oracle-lineup-team-panel>div{border-radius:20px!important;border-color:rgba(83,198,240,.18)!important;background:linear-gradient(180deg,#071a2b,#041422)!important}.oracle-ultimate-lineups .oracle-jersey{filter:drop-shadow(0 9px 14px rgba(0,0,0,.30))!important}

/* Ice Flow */
.oracle-ultimate-ice #oracle-ice-flow-root .oracle-iceflow-main-head{border-radius:20px 20px 0 0!important;background:radial-gradient(circle at 100% 0,rgba(145,53,255,.16),transparent 45%),linear-gradient(145deg,#072238,#111533)!important}.oracle-ultimate-ice #oracle-ice-flow-root .oracle-iceflow-subnav{background:#06182a!important}.oracle-ultimate-ice #oracle-ice-flow-root .oracle-iceflow-subnav button.is-active{background:rgba(37,148,217,.16)!important;color:#fff!important;border-bottom-color:#35e3ff!important}

@media (max-width:640px){
  #oracle-game-center{border-radius:0!important;border-left:0!important;border-right:0!important;margin-top:8px!important}
  #oracle-game-center .oracle-score-grid{margin-top:0!important;gap:0!important}
  #oracle-game-center .oracle-score-hero{border-radius:18px 18px 0 0!important;min-height:0!important;margin:0!important;box-shadow:none!important}
  #oracle-game-center .oracle-score-hero>div.relative{padding:12px 14px 10px!important}
  #oracle-game-center .oracle-score-main{gap:5px!important}.oracle-score-logo{width:34px!important;height:34px!important}.oracle-score-team-name{display:none!important}.oracle-score-team-abbrev{font-size:15px!important}.oracle-score-center{min-width:112px!important}.oracle-score-center .oracle-score-value{font-size:34px!important}.oracle-score-time{font-size:34px!important}.oracle-score-footer{margin-top:9px!important;padding-top:8px!important}.oracle-score-footer>div span:first-child{font-size:16px!important}
  #oracle-game-center .oracle-gc-tabs{position:sticky!important;top:0!important;z-index:40!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;min-height:54px!important}.oracle-gc-tab{min-height:54px!important;padding:7px 1px 6px!important;gap:4px!important}.oracle-gc-tab>i{font-size:15px!important}.oracle-gc-tab>span{font-size:7px!important;letter-spacing:.01em!important;text-transform:none!important}
  .oracle-overview-dashboard{padding:10px!important}.oracle-ultimate-cockpit{gap:8px}.oracle-ultimate-summary-card{padding:12px}.oracle-ultimate-summary-line h2{font-size:17px}.oracle-ultimate-actions{grid-template-columns:1fr}.oracle-ultimate-actions button{min-height:46px}.oracle-ultimate-kpis button{min-height:78px;padding:10px}.oracle-ultimate-kpis b{font-size:17px}
  .oracle-ultimate-deep-dive.is-open{display:block}.oracle-ultimate-deep-dive.is-open .oracle-overview-top,.oracle-ultimate-deep-dive.is-open .oracle-overview-bottom{margin-top:8px!important}.oracle-ultimate-deep-dive.is-open .oracle-feature-panel{min-height:0!important}
  .oracle-player-live-sort__buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important}.oracle-player-live-sort__buttons button{width:100%!important;min-width:0!important;min-height:42px!important;padding:7px 5px!important;font-size:7.5px!important}.oracle-player-live-sort__buttons button:last-child{grid-column:2/4}
  .oracle-ultimate-player-center>div{padding:13px!important}.oracle-ultimate-lineups>div{padding:12px!important}.oracle-lineup-v213-header{margin-bottom:9px!important}.oracle-lineup-v213-header h3{font-size:20px!important}.oracle-lineup-v213-header p{font-size:9px!important}.oracle-ultimate-lineups .oracle-lineup-v213-switcher{position:static!important;margin-bottom:8px!important}.oracle-ultimate-lineups .oracle-lineup-team-button{min-height:48px!important}
  #oracle-ice-flow-root .oracle-iceflow-main-head{padding:13px!important}#oracle-ice-flow-root .oracle-iceflow-title-row h2{font-size:28px!important}#oracle-ice-flow-root .oracle-iceflow-subnav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important}#oracle-ice-flow-root .oracle-iceflow-subnav button{min-width:0!important;padding:10px 2px!important;font-size:7px!important;white-space:normal!important}
  #live-matches-mini-grid.oracle-v2133-board{padding:9px!important}.oracle-v2133-day-toggle{min-height:52px!important}.oracle-v2132-match{min-height:92px!important;padding:10px 11px!important}.oracle-v2132-match__top{margin-bottom:5px!important}.oracle-v2132-team b{font-size:13px!important}.oracle-v2132-team strong{font-size:20px!important}.oracle-v2132-match__foot{font-size:7px!important}
}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22.1 — PERFECT STABLE / MAQUETTE ULTIME               */
/* ========================================================================== */
:root{
  --v221-cyan:#35e6ff;--v221-blue:#168fff;--v221-pink:#ff3974;--v221-purple:#9c42ff;
  --v221-bg:#03111e;--v221-panel:#061b2d;--v221-panel-2:#081f34;--v221-line:rgba(72,184,238,.22)
}
html,body,main,#tab-live,#oracle-game-center,.oracle-gc-panel{scroll-behavior:auto!important;overflow-anchor:none!important}
#oracle-game-center *{overflow-anchor:none!important}

/* Layout.js sidebar must sit ABOVE every Oracle Live layer. */
@media(max-width:767px){
  /* V22.1.1 : le CSS historique oracle-live-maquette.css masquait entièrement
     #sidebar-container. Le drawer doit rester monté pour que le hamburger fonctionne. */
  #sidebar-container{
    display:block!important;position:fixed!important;inset:0!important;width:0!important;height:0!important;
    z-index:2147483000!important;pointer-events:none!important;overflow:visible!important
  }
  #sidebar-container #sidebar{
    display:flex!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    z-index:2147483200!important;pointer-events:auto!important;will-change:transform!important;
    transform:translate3d(-105%,0,0);backface-visibility:hidden;-webkit-backface-visibility:hidden
  }
  #sidebar-container #sidebar.translate-x-0{transform:translate3d(0,0,0)!important}
  #sidebar-container #sidebar.-translate-x-full{transform:translate3d(-105%,0,0)!important}
  #sidebar-container #sidebar-overlay{
    display:none!important;position:fixed!important;inset:0!important;z-index:2147483100!important;
    pointer-events:none!important;touch-action:none!important
  }
  #sidebar-container #sidebar-overlay:not(.hidden){display:block!important;pointer-events:auto!important}

  /* Le header générique peut rester masqué : Oracle possède son propre header mobile.
     Tous les hamburgers visibles restent au-dessus des cartes du Game Center. */
  .oracle-mobile-icon-btn,
  #oracle-mobile-menu-toggle,
  .oracle-mobile-menu-toggle,
  button:has(> .fa-bars),
  button:has(> i.fa-bars){
    position:relative!important;z-index:2147483300!important;pointer-events:auto!important;
    touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important
  }
  html.oracle-sidebar-open,html.oracle-sidebar-open body{scroll-behavior:auto!important}
}

/* MAQUETTE: filters in one compact row on phones. */
@media(max-width:640px){
  #oracle-match-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;margin:10px 0 10px!important}
  #oracle-match-filters .oracle-match-filter{min-width:0!important;width:100%!important;padding:8px 3px!important;border-radius:11px!important;text-align:center!important;justify-content:center!important;font-size:7px!important;white-space:nowrap!important}
  #oracle-match-filters .oracle-match-filter [data-oracle-filter-count]{margin-left:3px!important;font-size:6.5px!important}
  #oracle-broadcast-hero{min-height:0!important;border-radius:16px!important}
  #oracle-broadcast-hero>.relative{padding:11px 10px 10px!important}
}

/* Match board closer to the reference: compact and highly scannable. */
.oracle-v2133-board{box-shadow:0 16px 46px rgba(0,0,0,.18)!important}
.oracle-v2132-match{transition:border-color .12s ease,background-color .12s ease!important}
.oracle-v2132-match.is-live{box-shadow:0 0 0 1px rgba(255,57,116,.08),0 10px 28px rgba(0,0,0,.22)!important}
@media(max-width:640px){
  .oracle-v2132-match{min-height:84px!important;padding:9px 10px!important;border-radius:14px!important}
  .oracle-v2132-match__top{margin-bottom:3px!important}.oracle-v2132-team{min-height:22px!important}.oracle-v2132-team b{font-size:12px!important}.oracle-v2132-team strong{font-size:19px!important}.oracle-v2132-match__foot{padding-top:5px!important}
  .oracle-v2133-day-toggle{min-height:48px!important}.oracle-v2133-more{min-height:44px!important}
}

/* Score + tabs: dimensions fixed from first paint to eliminate layout shifts. */
#oracle-game-center .oracle-score-grid{contain:layout style!important}
#oracle-game-center .oracle-score-hero{contain:layout paint style!important}
#oracle-game-center .oracle-gc-tabs{contain:layout paint style!important}
@media(max-width:640px){
  #oracle-game-center .oracle-score-hero{border-radius:18px 18px 0 0!important;background:radial-gradient(circle at 5% 0,rgba(255,57,116,.16),transparent 44%),radial-gradient(circle at 100% 30%,rgba(31,134,255,.17),transparent 48%),linear-gradient(145deg,#0a1930,#08172a)!important;border-color:rgba(255,78,131,.28)!important}
  #oracle-game-center .oracle-score-hero>div.relative{padding:11px 13px 9px!important}
  #oracle-game-center .oracle-gc-tabs{height:58px!important;min-height:58px!important;max-height:58px!important;background:#031322!important;border-top:1px solid rgba(67,168,224,.16)!important;border-bottom:1px solid rgba(67,168,224,.20)!important;box-shadow:none!important}
  #oracle-game-center .oracle-gc-tab{height:58px!important;min-height:58px!important;padding:7px 0 6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;opacity:1!important;visibility:visible!important}
  #oracle-game-center .oracle-gc-tab i{font-size:15px!important}#oracle-game-center .oracle-gc-tab span{display:block!important;font-size:7px!important;font-weight:950!important;color:#7f96aa!important}
  #oracle-game-center .oracle-gc-tab.is-active span,#oracle-game-center .oracle-gc-tab[aria-selected="true"] span{color:#fff!important}
}

/* Cockpit reference fidelity. */
.oracle-ultimate-cockpit{gap:9px!important}.oracle-ultimate-summary-card{border-color:rgba(255,71,126,.45)!important;background:radial-gradient(circle at 0 0,rgba(255,57,116,.17),transparent 46%),linear-gradient(145deg,#0a1d31,#07192a)!important}.oracle-ultimate-summary-head>span{font-size:11px!important}.oracle-ultimate-summary-line h2{letter-spacing:-.025em!important}.oracle-ultimate-kpis button{background:linear-gradient(145deg,#08253d,#061a2c)!important}.oracle-ultimate-actions button{background:linear-gradient(100deg,#168cff,#8e2eff)!important}
@media(max-width:640px){.oracle-overview-dashboard{padding:9px!important}.oracle-ultimate-summary-card{padding:12px!important}.oracle-ultimate-summary-line{margin-top:9px!important}.oracle-ultimate-summary-line h2{font-size:18px!important}.oracle-ultimate-win{margin-top:10px!important}.oracle-ultimate-kpis{gap:7px!important}.oracle-ultimate-kpis button{min-height:70px!important}.oracle-ultimate-alerts,.oracle-ultimate-watch{padding:10px!important;border-radius:15px!important}.oracle-ultimate-actions button{min-height:44px!important}}

/* Player Center like the mockup: dense, readable, no horizontal gesture required. */
@media(max-width:640px){
  .oracle-ultimate-player-center>div{padding:12px 11px!important}
  .oracle-player-live-sort{display:block!important;padding:10px!important;margin-bottom:10px!important}
  .oracle-player-live-sort__intro strong{font-size:17px!important}.oracle-player-live-sort__intro small{font-size:8px!important}
  .oracle-player-live-sort__buttons{margin-top:9px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.oracle-player-live-sort__buttons button{min-height:39px!important;border-radius:12px!important}.oracle-player-live-sort__buttons button:last-child{grid-column:auto!important}
}

/* Compositions: premium jerseys + clean production badges. */
.oracle-ultimate-lineups .oracle-lineup-v213-switcher{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:5px!important;border:1px solid rgba(78,177,228,.15)!important;background:#04121f!important}
.oracle-ultimate-lineups .oracle-lineup-team-button{min-height:45px!important;background:#071a2b!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important}
.oracle-ultimate-lineups .oracle-lineup-team-button.is-active{border-color:rgba(50,224,255,.48)!important;background:linear-gradient(135deg,rgba(28,139,205,.18),rgba(125,55,205,.18))!important;box-shadow:inset 0 -2px 0 #31e6ff!important}
.oracle-jersey-zone{overflow:visible!important}
.oracle-lineup-production{right:50%!important;top:-13px!important;transform:translateX(50%)!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:3px!important;z-index:50!important;white-space:nowrap!important}
.oracle-lineup-production span{height:20px!important;min-width:0!important;padding:0 6px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;border:1px solid rgba(255,255,255,.30)!important;box-shadow:0 5px 14px rgba(0,0,0,.42)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.oracle-lineup-production span i{font-size:7px!important;grid-row:auto!important}.oracle-lineup-production span b{font-size:8px!important;line-height:1!important}.oracle-lineup-production span small{font-size:5px!important;line-height:1!important;letter-spacing:.04em!important}.oracle-lineup-production__goal{background:linear-gradient(135deg,#ff3a70,#ce2050)!important}.oracle-lineup-production__assist{background:linear-gradient(135deg,#9d57ff,#6d35d8)!important}
.oracle-jersey-body{filter:saturate(1.08) contrast(1.04)!important}
@media(max-width:640px){
  .oracle-ultimate-lineups>div{padding:11px 10px!important}.oracle-ultimate-lineups .oracle-lineup-v213-switcher{position:static!important;margin:0 0 8px!important}.oracle-ultimate-lineups .oracle-lineup-team-button{font-size:12px!important;min-height:44px!important}
  .oracle-lineup-production{top:-10px!important}.oracle-lineup-production span{height:18px!important;padding:0 5px!important}.oracle-lineup-production span small{font-size:4.5px!important}
}

/* Ice Flow: mimic the reference's compact intelligence blocks. */
.oracle-ultimate-ice #oracle-ice-flow-root .oracle-iceflow-main-head{border-color:rgba(67,222,255,.25)!important}.oracle-ultimate-ice #oracle-ice-flow-root .oracle-iceflow-subnav{border-bottom:1px solid rgba(67,178,229,.17)!important}
@media(max-width:640px){
  #oracle-ice-flow-root .oracle-iceflow-main-head{padding:12px!important}#oracle-ice-flow-root .oracle-iceflow-title-row h2{font-size:29px!important;letter-spacing:-.04em!important}
  #oracle-ice-flow-root .oracle-iceflow-subnav{height:50px!important;min-height:50px!important}#oracle-ice-flow-root .oracle-iceflow-subnav button{height:50px!important;padding:7px 2px!important;font-size:6.5px!important}
}

/* Remove expensive visual effects during touch scroll, while keeping design. */
@media(max-width:767px){
  #header-container>div,.oracle-gc-tabs,.oracle-lineup-v213-switcher,.oracle-score-return{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .oracle-score-return{box-shadow:0 8px 24px rgba(0,0,0,.35)!important}
  .oracle-feature-panel,.oracle-events-panel,.oracle-tactical-panel,.oracle-v2132-match{transform:translateZ(0);backface-visibility:hidden}
}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22.1.2 — VIEWPORT LOCK / ZERO TILT                    */
/* ========================================================================== */
@media(max-width:767px){
  /* content-visibility + fake intrinsic height caused late relayouts on long
     mobile pages. Always use the real geometry of the active panel. */
  #oracle-game-center .oracle-gc-panel,
  #oracle-game-center [data-gc-panel],
  #oracle-game-center [data-gc-panel="timeline"]{
    content-visibility:visible!important;
    contain-intrinsic-size:none!important;
    contain:none!important;
  }

  /* Keep the useful sticky tab bar, but remove paint/layout containment around
     it: Safari can jitter when a sticky element is also paint-contained. */
  #oracle-game-center .oracle-gc-tabs{
    contain:none!important;
    will-change:auto!important;
  }

  /* Period selectors inside Ice Flow must not create a second nested sticky
     surface while the page itself is scrolling. */
  .oracle-iceflow-v2122-period-tabs{
    position:static!important;
    top:auto!important;
  }

  /* Do not force dozens of cards onto separate GPU layers. That improves
     desktop benchmarks but can cause iPhone compositing stalls on long pages. */
  .oracle-feature-panel,
  .oracle-events-panel,
  .oracle-tactical-panel,
  .oracle-v2132-match{
    transform:none!important;
    backface-visibility:visible!important;
    will-change:auto!important;
  }

  /* Native vertical touch scrolling. Oracle never needs to suppress the
     browser's vertical overscroll for the main page. */
  html,body,main,#tab-live{
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
  }

  /* While a finger/wheel is moving the viewport, freeze decorative transitions
     that can trigger extra compositing work. Geometry remains untouched. */
  html.oracle-viewport-moving #oracle-game-center .oracle-v2132-match,
  html.oracle-viewport-moving #oracle-game-center .oracle-feature-panel,
  html.oracle-viewport-moving #oracle-game-center .oracle-tactical-panel,
  html.oracle-viewport-moving #oracle-game-center .oracle-events-panel,
  html.oracle-viewport-moving #oracle-game-center .oracle-lineup-card,
  html.oracle-viewport-moving #oracle-game-center .oracle-player-card{
    transition:none!important;
    animation:none!important;
  }

  /* The live alert box may switch between zero and two alerts. Reserve enough
     room while the cockpit is visible so this cannot push the rest of the page. */
  .oracle-ultimate-alerts{min-height:116px!important}
}

/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22.2 — PREMIUM JERSEYS + OBSERVATORY RADAR            */
/* Additive only. Keeps V22.1.2 viewport-lock rules intact.                  */
/* ========================================================================== */

/* ---------- COMPOSITIONS : MAILLOTS PREMIUM, SANS LOGO ---------- */
.oracle-lineup-player{isolation:isolate}
.oracle-jersey-zone{
  width:94px!important;
  height:94px!important;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.36))!important;
}
.oracle-jersey-body{
  top:4px!important;
  bottom:16px!important;
  left:15px!important;
  right:15px!important;
  border-radius:19px 19px 13px 13px!important;
  border-width:1px!important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -10px 18px rgba(0,0,0,.18)!important;
  overflow:hidden!important;
  filter:saturate(1.12) contrast(1.04)!important;
}
.oracle-jersey-body::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  background:
    linear-gradient(90deg,transparent 0 8%,rgba(255,255,255,.12) 8% 9%,transparent 9% 91%,rgba(255,255,255,.12) 91% 92%,transparent 92%),
    linear-gradient(180deg,rgba(255,255,255,.12),transparent 26%,transparent 72%,rgba(0,0,0,.18)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 5px);
  mix-blend-mode:screen;
  opacity:.78;
}
.oracle-jersey-body::after{
  content:"";
  position:absolute;
  left:8%;right:8%;bottom:11px;height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,transparent,var(--team-accent),transparent);
  opacity:.72;
  box-shadow:0 0 8px color-mix(in srgb,var(--team-accent) 50%,transparent);
  pointer-events:none;
}
.oracle-jersey-sleeve{
  top:19px!important;
  width:27px!important;
  height:35px!important;
  border-width:1px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 8px 14px rgba(0,0,0,.30)!important;
  filter:saturate(1.1)!important;
}
.oracle-jersey-sleeve--left{left:0!important}
.oracle-jersey-sleeve--right{right:0!important}
.oracle-lineup-player .oracle-jersey-body span{
  text-shadow:0 2px 2px rgba(0,0,0,.88),0 0 8px rgba(255,255,255,.08)!important;
}

/* Production moved to a dedicated mini score-strip under the jersey itself. */
.oracle-lineup-production{
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  width:max-content!important;
  max-width:94px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  z-index:55!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}
.oracle-lineup-production span{
  height:22px!important;
  min-width:30px!important;
  padding:0 7px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:0 6px 14px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.14)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.oracle-lineup-production span i{font-size:7px!important;grid-row:auto!important}
.oracle-lineup-production span b{font-size:9px!important;line-height:1!important;font-weight:1000!important}
.oracle-lineup-production span small{font-size:5.4px!important;line-height:1!important;font-weight:950!important;letter-spacing:.045em!important}
.oracle-lineup-production__goal{
  color:#fff!important;
  background:linear-gradient(145deg,rgba(255,63,103,.96),rgba(166,18,58,.96))!important;
  border-color:rgba(255,144,166,.48)!important;
}
.oracle-lineup-production__assist{
  color:#fff!important;
  background:linear-gradient(145deg,rgba(169,92,255,.96),rgba(91,42,184,.96))!important;
  border-color:rgba(209,167,255,.45)!important;
}
.oracle-lineup-player>div:nth-of-type(2){
  border-color:color-mix(in srgb,var(--team-primary) 34%,rgba(255,255,255,.10))!important;
  box-shadow:0 7px 16px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04)!important;
}

/* ---------- OBSERVATOIRE V22.2 ---------- */
.oracle-observatory-v22{
  --obs-cyan:#45e4ff;
  --obs-violet:#b46cff;
  --obs-pink:#ff4e8b;
  --obs-green:#57ebb1;
}
.oracle-observatory-v22 .oracle-observatory-toolbar{
  border-bottom-color:rgba(92,188,232,.12)!important;
}
.oracle-observatory-v22-filters,
.oracle-observatory-v22-radar{
  margin:10px 14px 0;
  border:1px solid rgba(81,197,244,.18);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(7,27,45,.98),rgba(7,17,31,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  overflow:hidden;
}
.oracle-observatory-v22-filters summary{
  list-style:none;
  min-height:52px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  user-select:none;
}
.oracle-observatory-v22-filters summary::-webkit-details-marker{display:none}
.oracle-observatory-v22-filters summary>span{display:flex;align-items:center;gap:8px;min-width:0;color:#dff8ff}
.oracle-observatory-v22-filters summary i{color:var(--obs-cyan)}
.oracle-observatory-v22-filters summary b{font-size:10px;font-weight:950;letter-spacing:.02em}
.oracle-observatory-v22-filters summary em{
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;
  background:linear-gradient(135deg,#1eb9ff,#8b5cf6);color:#fff;font-size:8px;font-style:normal;font-weight:1000;
}
.oracle-observatory-v22-filters summary>strong{color:#6e92aa;font-size:8px;font-weight:900;white-space:nowrap}
.oracle-observatory-v22-filter-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  padding:0 12px 12px;
  border-top:1px solid rgba(255,255,255,.045);
  padding-top:11px;
}
.oracle-observatory-v22-filter-grid label{min-width:0;display:grid;gap:4px}
.oracle-observatory-v22-filter-grid label>span{color:#63839a;font-size:6.6px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.oracle-observatory-v22-filter-grid select{
  width:100%;min-width:0;height:36px;padding:0 25px 0 9px;border:1px solid rgba(73,181,228,.16);border-radius:10px;
  background:#061423;color:#eafaff;font-size:8px;font-weight:850;outline:none;appearance:auto;
}
.oracle-observatory-v22-filter-grid select:focus{border-color:rgba(69,228,255,.52);box-shadow:0 0 0 2px rgba(69,228,255,.07)}
.oracle-observatory-v22-sort{grid-column:span 1}
.oracle-observatory-v22-filter-foot{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px 11px;border-top:1px solid rgba(255,255,255,.045)
}
.oracle-observatory-v22-check{display:flex;align-items:center;gap:7px;min-width:0;color:#80a0b5;font-size:7px;font-weight:800;line-height:1.25}
.oracle-observatory-v22-check input{accent-color:#26d9f4}
.oracle-observatory-v22-check span{display:flex;align-items:center;gap:6px}
.oracle-observatory-v22-check i{color:#55e8ff}
.oracle-observatory-v22-filter-foot button{
  min-height:31px;padding:0 9px;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:rgba(255,255,255,.025);
  color:#8fb0c4;font-size:6.7px;font-weight:950;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap
}
.oracle-observatory-v22-filter-foot button i{margin-right:5px;color:#b48aff}

.oracle-observatory-v22-radar{border-color:rgba(193,91,255,.26);background:radial-gradient(circle at 100% 0,rgba(177,79,255,.09),transparent 35%),linear-gradient(145deg,#071b2d,#07111f)}
.oracle-observatory-v22-radar>header{min-height:78px;padding:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.oracle-observatory-v22-radar>header>div{min-width:0}
.oracle-observatory-v22-radar>header span{display:flex;align-items:center;gap:6px;color:#d28cff;font-size:6.5px;font-weight:1000;letter-spacing:.12em}
.oracle-observatory-v22-radar>header h3{margin:5px 0 2px;color:#fff;font-size:14px;font-weight:1000;letter-spacing:-.02em}
.oracle-observatory-v22-radar>header p{margin:0;color:#7898ad;font-size:7.2px;line-height:1.35}
.oracle-observatory-v22-radar>header>button{width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(192,103,255,.22);border-radius:10px;background:rgba(133,60,211,.08);color:#c895ff}
.oracle-observatory-v22-radar-body{padding:0 10px 10px}
.oracle-observatory-v22-candidates{display:grid;gap:8px}
.oracle-observatory-v22-candidate{
  position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) 48px;gap:8px;align-items:center;
  padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(0,8,18,.28);overflow:hidden
}
.oracle-observatory-v22-candidate::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#557589}
.oracle-observatory-v22-candidate.is-hot::before{background:linear-gradient(#ff4f87,#9b51ff)}
.oracle-observatory-v22-candidate.is-warm::before{background:linear-gradient(#48e4ff,#8b6cff)}
.oracle-observatory-v22-candidate-rank{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:#09223a;color:#5ce9ff;font-size:10px;font-weight:1000}
.oracle-observatory-v22-candidate-main{min-width:0}
.oracle-observatory-v22-candidate-main>span{display:block;color:#66889e;font-size:6px;font-weight:950;letter-spacing:.08em}
.oracle-observatory-v22-candidate-main>strong{display:block;margin-top:2px;color:#fff;font-size:11px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oracle-observatory-v22-candidate-main>small{display:block;margin-top:2px;color:#82a5bb;font-size:6.8px;font-weight:800}
.oracle-observatory-v22-score{width:46px;height:46px;display:grid;place-content:center;text-align:center;border-radius:50%;border:2px solid rgba(76,228,255,.42);background:radial-gradient(circle,rgba(38,205,235,.13),rgba(2,11,20,.45));box-shadow:0 0 18px rgba(49,221,255,.08)}
.oracle-observatory-v22-score b{color:#68f0cf;font-size:14px;line-height:1;font-weight:1000}.oracle-observatory-v22-score small{margin-top:1px;color:#5f8398;font-size:5.5px;font-weight:900}
.oracle-observatory-v22-candidate.is-hot .oracle-observatory-v22-score{border-color:rgba(103,239,193,.64);box-shadow:0 0 20px rgba(61,233,172,.10)}
.oracle-observatory-v22-factors{grid-column:2/4;display:flex;flex-wrap:wrap;gap:4px;margin-top:1px}
.oracle-observatory-v22-factors span{display:inline-flex;align-items:center;gap:4px;min-height:22px;padding:0 7px;border:1px solid rgba(255,255,255,.06);border-radius:999px;background:rgba(255,255,255,.025);color:#82a4ba;font-size:6px;font-weight:850}
.oracle-observatory-v22-factors span i{font-size:6px}.oracle-observatory-v22-factors .is-hot{color:#ff9bb8;border-color:rgba(255,79,135,.17);background:rgba(255,79,135,.055)}.oracle-observatory-v22-factors .is-good{color:#78e9bc;border-color:rgba(82,232,177,.17);background:rgba(82,232,177,.05)}.oracle-observatory-v22-factors .is-violet{color:#c69aff;border-color:rgba(177,111,255,.17);background:rgba(177,111,255,.05)}.oracle-observatory-v22-factors .is-cyan{color:#75e9fb}
.oracle-observatory-v22-candidate footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px solid rgba(255,255,255,.045)}
.oracle-observatory-v22-candidate footer>span{color:#4f7188;font-size:5.8px;line-height:1.25}.oracle-observatory-v22-candidate footer button{border:0;background:none;color:#64e8ff;font-size:6.5px;font-weight:950;white-space:nowrap}.oracle-observatory-v22-candidate footer button i{margin-left:4px}
.oracle-observatory-v22-method{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px 9px;border-radius:10px;background:rgba(65,199,232,.035);color:#52768d;font-size:6px;line-height:1.4}.oracle-observatory-v22-method i{margin-top:1px;color:#52e4fb}
.oracle-observatory-v22-radar-empty{min-height:76px;display:flex;align-items:center;justify-content:center;gap:8px;color:#7896aa;font-size:8px}.oracle-observatory-v22-radar-empty i{color:#a86cff}

/* Existing player cards: slightly stronger hierarchy after filters/radar. */
.oracle-observatory-v22 .oracle-observatory-mobile-list{padding-top:10px!important}
.oracle-observatory-v22 .oracle-observatory-mobile-card{border-color:rgba(86,182,229,.14)!important;background:linear-gradient(145deg,rgba(8,26,43,.98),rgba(5,16,29,.98))!important}
.oracle-observatory-v22 .oracle-observatory-mobile-card[hidden],
.oracle-observatory-v22 .oracle-observatory-table tr[hidden]{display:none!important}

@media(max-width:640px){
  .oracle-jersey-zone{width:92px!important;height:91px!important}
  .oracle-jersey-body{bottom:15px!important}
  .oracle-lineup-production{max-width:92px!important}
  .oracle-lineup-production span{height:20px!important;min-width:28px!important;padding:0 6px!important}
  .oracle-lineup-production span small{font-size:5px!important}

  .oracle-observatory-v22-filters,.oracle-observatory-v22-radar{margin-left:10px;margin-right:10px;border-radius:14px}
  .oracle-observatory-v22-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px}
  .oracle-observatory-v22-filter-grid select{height:38px;font-size:8.2px}
  .oracle-observatory-v22-sort{grid-column:1/-1}
  .oracle-observatory-v22-filter-foot{align-items:flex-start;padding:9px 10px 10px}
  .oracle-observatory-v22-check{font-size:6.5px}
  .oracle-observatory-v22-radar>header{padding:11px 10px;min-height:74px}
  .oracle-observatory-v22-radar>header h3{font-size:13px}
  .oracle-observatory-v22-candidate{grid-template-columns:26px minmax(0,1fr) 44px;padding:9px;gap:7px}
  .oracle-observatory-v22-score{width:42px;height:42px}.oracle-observatory-v22-score b{font-size:13px}
  .oracle-observatory-v22-factors{grid-column:1/-1;margin-top:3px}
  .oracle-observatory-v22-candidate footer{grid-column:1/-1}
}

/* Never re-introduce viewport tricks in this layer. */
@media(max-width:767px){
  .oracle-observatory-v22,
  .oracle-observatory-v22 *{
    scroll-behavior:auto!important;
  }
  .oracle-observatory-v22-filters,
  .oracle-observatory-v22-radar,
  .oracle-observatory-v22-candidate{
    contain:none!important;
    content-visibility:visible!important;
    will-change:auto!important;
    transform:none!important;
  }
}

/* V22.2 compact radar score on every Observatory player card. */
.oracle-observatory-v22 .oracle-v6-player-scoreline{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.oracle-observatory-v22-mini-signal{margin-left:auto;display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:22px;padding:0 7px;border:1px solid rgba(87,205,239,.16);border-radius:999px;background:rgba(45,182,222,.05);color:#76dbef;font-size:6px!important;font-style:normal!important;font-weight:900!important;white-space:nowrap}
.oracle-observatory-v22-mini-signal i{font-size:6px}.oracle-observatory-v22-mini-signal b{color:#8ee8f6!important;font-size:7px!important}.oracle-observatory-v22-mini-signal.is-warm{border-color:rgba(176,111,255,.20);background:rgba(142,82,225,.06);color:#c89aff}.oracle-observatory-v22-mini-signal.is-warm b{color:#d5b1ff!important}.oracle-observatory-v22-mini-signal.is-hot{border-color:rgba(76,232,173,.22);background:rgba(76,232,173,.065);color:#77e9bd}.oracle-observatory-v22-mini-signal.is-hot b{color:#8ff0c8!important}

/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22.3 — UNIFIED LINES / CLARITY / TEAM IDENTITY        */
/* ========================================================================== */

/* ---------- 4 onglets : Joueurs fusionné dans Lignes ---------- */
#oracle-game-center .oracle-gc-tab[data-gc-tab="players"],
#oracle-game-center [data-gc-panel="players"]{display:none!important}
#oracle-game-center .oracle-gc-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#oracle-game-center .oracle-gc-tabs[data-v223-four-tabs="true"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* ---------- menu universel Oracle Live ---------- */
.oracle-sidebar-close{
  position:absolute!important;top:12px!important;right:12px!important;z-index:2147483600!important;
  width:38px!important;height:38px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;
  background:#07111f!important;color:#d8f8ff!important;font-size:16px!important;
  box-shadow:0 8px 20px rgba(0,0,0,.3)!important;cursor:pointer!important
}
.oracle-sidebar-close:hover{border-color:rgba(65,226,255,.45)!important;color:#49e7ff!important}
#header-container button[data-oracle-menu-toggle]{display:flex!important;pointer-events:auto!important;touch-action:manipulation!important}

/* ---------- vue d'ensemble : aucune carte rognée ---------- */
.oracle-v223-overview-polish,
.oracle-v223-overview-polish *{min-width:0}
.oracle-v223-overview-polish .oracle-v223-safe-card{max-width:100%;overflow:hidden}
.oracle-v223-overview-polish .oracle-ultimate-summary-line>div{min-width:0}
.oracle-v223-overview-polish .oracle-ultimate-summary-line h2,
.oracle-v223-overview-polish .oracle-ultimate-summary-line p{overflow-wrap:anywhere}
.oracle-v223-overview-polish .oracle-ultimate-kpis button{min-width:0;overflow:hidden}
.oracle-v223-overview-polish .oracle-ultimate-kpis b,
.oracle-v223-overview-polish .oracle-ultimate-kpis small{overflow-wrap:anywhere}
.oracle-v223-overview-polish .oracle-ultimate-watch-main{min-width:0}
.oracle-v223-overview-polish .oracle-ultimate-watch-main b,
.oracle-v223-overview-polish .oracle-ultimate-watch-main small{white-space:normal;overflow-wrap:anywhere}

/* ---------- player hub intégré à Lignes ---------- */
.oracle-v223-player-hub{
  margin:0 0 12px;padding:12px;border:1px solid rgba(59,214,250,.22);border-radius:18px;
  background:radial-gradient(circle at 0 0,rgba(38,214,255,.09),transparent 38%),linear-gradient(145deg,#071c2e,#071524);
  box-shadow:0 12px 32px rgba(0,0,0,.18)
}
.oracle-v223-player-hub__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:2px 2px 10px;border-bottom:1px solid rgba(255,255,255,.055)}
.oracle-v223-player-hub__head>div:first-child{min-width:0}
.oracle-v223-player-hub__head span{display:flex;align-items:center;gap:6px;color:#68eaff;font-size:7px;font-weight:1000;letter-spacing:.12em}
.oracle-v223-player-hub__head h4{margin:5px 0 3px;color:#fff;font-size:17px;line-height:1.08;font-weight:1000;letter-spacing:-.025em}
.oracle-v223-player-hub__head p{margin:0;max-width:700px;color:#7897ac;font-size:8px;line-height:1.45}
.oracle-v223-source{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:7px 9px!important;border:1px solid rgba(91,235,183,.24)!important;border-radius:999px!important;background:rgba(62,230,171,.05)!important;color:#75e9bd!important}
.oracle-v223-source span{font-size:6.5px!important;letter-spacing:.05em!important;color:#75e9bd!important}
.oracle-v223-player-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:10px}
.oracle-v223-player-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.oracle-v223-player-metrics button,.oracle-v223-player-teams button{
  min-height:36px;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:#061524;color:#7392a7;
  font-size:7px;font-weight:950;cursor:pointer;transition:border-color .12s ease,background-color .12s ease,color .12s ease
}
.oracle-v223-player-metrics button{display:flex;align-items:center;justify-content:center;gap:5px;padding:0 7px}
.oracle-v223-player-metrics button i{color:#50dff6}
.oracle-v223-player-metrics button.is-active{border-color:rgba(59,224,255,.5);background:linear-gradient(135deg,rgba(28,139,205,.20),rgba(126,58,205,.18));color:#fff;box-shadow:inset 0 -2px 0 #35e5ff}
.oracle-v223-player-teams{display:flex;align-items:center;gap:6px}
.oracle-v223-player-teams button{min-width:62px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:5px}
.oracle-v223-player-teams button img{width:18px;height:18px;object-fit:contain}
.oracle-v223-player-teams button.is-active{border-color:rgba(177,108,255,.45);color:#fff;background:rgba(127,68,208,.14)}
.oracle-v223-player-list{display:grid;gap:6px;margin-top:10px}
.oracle-v223-player-row{
  width:100%;min-height:54px;display:grid;grid-template-columns:28px 36px minmax(0,1fr) 76px 12px;gap:8px;align-items:center;
  padding:7px 9px;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:rgba(2,12,22,.34);color:#fff;text-align:left;cursor:pointer;
  transition:border-color .12s ease,background-color .12s ease
}
.oracle-v223-player-row:hover{border-color:rgba(69,220,251,.27);background:rgba(8,34,53,.58)}
.oracle-v223-player-row.is-alert{border-color:rgba(255,83,126,.22);background:linear-gradient(90deg,rgba(255,62,111,.055),rgba(2,12,22,.34) 45%)}
.oracle-v223-player-rank{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#09263e;color:#68e9ff;font-size:8px;font-weight:1000}
.oracle-v223-player-badge{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,var(--team-primary),var(--team-secondary));border:1px solid rgba(255,255,255,.15);color:#fff;font-size:9px;font-weight:1000;text-shadow:0 1px 3px rgba(0,0,0,.75)}
.oracle-v223-player-main{min-width:0}
.oracle-v223-player-main strong{display:block;color:#fff;font-size:10px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oracle-v223-player-main small{display:block;margin-top:2px;color:#698ba1;font-size:6.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oracle-v223-player-row>em{grid-column:3/5;grid-row:2;justify-self:start;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid rgba(255,87,128,.27);border-radius:999px;background:rgba(255,67,110,.07);color:#ff8aaa;font-size:6px;font-style:normal;font-weight:950;white-space:nowrap}
.oracle-v223-player-metric{text-align:right;min-width:0}
.oracle-v223-player-metric small{display:block;color:#577990;font-size:5.8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.oracle-v223-player-metric strong{display:block;margin-top:1px;color:#71e8fb;font-size:12px;font-weight:1000}
.oracle-v223-player-chevron{color:#3edff6;font-size:7px}
.oracle-v223-player-more{width:100%;min-height:38px;margin-top:8px;border:1px dashed rgba(62,207,241,.22);border-radius:11px;background:rgba(27,142,186,.035);color:#71def1;font-size:7px;font-weight:950;letter-spacing:.03em}
.oracle-v223-player-more i{margin-right:6px}
.oracle-v223-player-note{display:flex;align-items:flex-start;gap:6px;margin-top:8px;padding:8px 9px;border-radius:10px;background:rgba(56,201,231,.035);color:#587a90;font-size:6.5px;line-height:1.35}
.oracle-v223-player-note i{margin-top:1px;color:#54def4}
.oracle-v223-player-empty{min-height:58px;display:flex;align-items:center;justify-content:center;gap:8px;color:#7896a9;font-size:8px}
.oracle-v223-player-empty i{color:#59dff4}

/* ---------- explication des écarts statistiques ---------- */
.oracle-v223-gap-method{margin:9px 0 0;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}
.oracle-v223-gap-method summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;color:#7fe7f7;font-size:7px;font-weight:950}
.oracle-v223-gap-method summary::-webkit-details-marker{display:none}
.oracle-v223-gap-method summary i{color:#b98cff}
.oracle-v223-gap-method>div{margin-top:8px;padding:9px 10px;border:1px solid rgba(111,194,235,.12);border-radius:10px;background:rgba(4,17,29,.48);color:#7798ad;font-size:7px;line-height:1.45}
.oracle-v223-gap-method p{margin:0 0 7px}
.oracle-v223-gap-method ol{margin:0;padding-left:14px;display:grid;gap:4px}
.oracle-v223-gap-method code{display:inline-block;margin-top:7px;padding:4px 6px;border-radius:7px;background:#04101c;color:#b996ff;font-size:6.5px}

/* ---------- Sur la glace : davantage de peps, identité équipe immédiate ---------- */
.oracle-iceflow-v223-pep .oracle-iceflow-main-head{
  background:radial-gradient(circle at 0 0,rgba(41,226,255,.17),transparent 36%),radial-gradient(circle at 100% 0,rgba(185,73,255,.18),transparent 40%),linear-gradient(145deg,#07243a,#121636)!important;
  border-color:rgba(72,223,255,.34)!important
}
.oracle-iceflow-v223-pep .oracle-iceflow-kicker{color:#78efff!important}
.oracle-iceflow-v223-pep .oracle-iceflow-kicker span{box-shadow:0 0 14px #51edba!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav{background:linear-gradient(90deg,#061727,#0b1430)!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav button{position:relative;color:#6d8aa3!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav button:nth-child(1) i{color:#50e7ff!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav button:nth-child(2) i{color:#b682ff!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav button:nth-child(3) i{color:#64e7b4!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav button:nth-child(4) i{color:#ff75a2!important}
.oracle-iceflow-v223-pep .oracle-iceflow-subnav button.is-active{color:#fff!important;background:linear-gradient(180deg,rgba(29,145,211,.18),rgba(137,54,207,.11))!important;box-shadow:inset 0 -2px 0 #3ae7ff!important}
.oracle-iceflow-v223-pep .oracle-iceflow-body{background:radial-gradient(circle at 8% 8%,rgba(30,183,224,.04),transparent 26%),radial-gradient(circle at 94% 20%,rgba(163,75,242,.045),transparent 30%)}
.oracle-iceflow-v223-pep .oracle-v223-team-accent{
  position:relative!important;overflow:hidden!important;border-color:color-mix(in srgb,var(--ice-team-primary) 45%,rgba(66,181,230,.16))!important;
  background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--ice-team-primary) 14%,transparent),transparent 42%),linear-gradient(145deg,#071d2e,#061523)!important
}
.oracle-iceflow-v223-pep .oracle-v223-team-accent::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--ice-team-primary),var(--ice-team-accent));opacity:.95;pointer-events:none}
.oracle-iceflow-v223-pep .oracle-v223-team-accent header img,
.oracle-iceflow-v223-pep .oracle-v223-team-accent .oracle-iceflow-v20-team-id img{width:34px!important;height:34px!important;padding:4px!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;border:1px solid color-mix(in srgb,var(--ice-team-primary) 45%,rgba(255,255,255,.08))!important;object-fit:contain!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3))!important}
.oracle-iceflow-v223-pep .oracle-v223-team-accent header strong,
.oracle-iceflow-v223-pep .oracle-v223-team-accent .oracle-iceflow-v20-team-id strong{color:#fff!important;text-shadow:0 0 18px color-mix(in srgb,var(--ice-team-primary) 35%,transparent)!important}
.oracle-v223-team-ribbon{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:4px 7px!important;border-radius:9px!important;background:color-mix(in srgb,var(--ice-team-primary) 12%,#061423)!important;border:1px solid color-mix(in srgb,var(--ice-team-primary) 35%,rgba(255,255,255,.08))!important}
.oracle-v223-team-ribbon img{width:20px!important;height:20px!important;object-fit:contain!important}.oracle-v223-team-ribbon b{font-size:8px!important;color:#fff!important}
.oracle-iceflow-v223-pep .is-positive,.oracle-iceflow-v223-pep .is-pos{color:#68efb9!important}
.oracle-iceflow-v223-pep .is-negative,.oracle-iceflow-v223-pep .is-neg{color:#ff718f!important}
.oracle-iceflow-v223-pep .oracle-iceflow-v20-evidence.is-high{background:rgba(73,232,173,.09)!important;border-color:rgba(73,232,173,.28)!important;color:#7cf0c0!important}
.oracle-iceflow-v223-pep .oracle-iceflow-v20-evidence.is-medium{background:rgba(77,219,255,.08)!important;border-color:rgba(77,219,255,.24)!important;color:#79e7fa!important}
.oracle-iceflow-v223-pep .oracle-iceflow-v20-evidence.is-low{background:rgba(255,184,65,.08)!important;border-color:rgba(255,184,65,.22)!important;color:#ffd37a!important}
.oracle-v223-attempt-legend{display:flex;align-items:flex-start;gap:9px;margin:8px 0 10px;padding:9px 10px;border:1px solid rgba(68,219,247,.14);border-radius:11px;background:linear-gradient(90deg,rgba(30,170,215,.045),rgba(145,72,226,.035));color:#6d8fa5;font-size:7px;line-height:1.42}
.oracle-v223-attempt-legend>i{margin-top:2px;color:#56e4fa}.oracle-v223-attempt-legend span{display:block}.oracle-v223-attempt-legend b{display:block;margin-bottom:2px;color:#b9eef7;font-size:7.2px}
.oracle-iceflow-v223-pep .oracle-iceflow-v20-pre-metrics small{line-height:1.35!important}
.oracle-iceflow-v223-pep .oracle-iceflow-v20-why p{color:#8aaabd!important;line-height:1.5!important}

/* ---------- mobile ---------- */
@media(max-width:767px){
  #oracle-game-center .oracle-gc-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  #oracle-game-center .oracle-gc-tab{min-width:0!important}
  .oracle-v223-overview-polish .oracle-ultimate-summary-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  .oracle-v223-overview-polish .oracle-ultimate-summary-line>strong{align-self:start!important;max-width:90px!important;text-align:center!important;white-space:normal!important}
  .oracle-v223-overview-polish .oracle-ultimate-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .oracle-v223-overview-polish .oracle-ultimate-alert-row{grid-template-columns:minmax(0,1fr) auto!important}.oracle-v223-overview-polish .oracle-ultimate-alert-row>em{display:none!important}
  .oracle-v223-overview-polish .oracle-ultimate-watch-row{grid-template-columns:26px minmax(0,1fr) auto 10px!important}
  .oracle-v223-overview-polish .oracle-ultimate-actions{grid-template-columns:1fr!important}
  .oracle-v223-overview-polish .oracle-feature-panel--metrics .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .oracle-v223-overview-polish .oracle-feature-panel--metrics .grid>*{min-width:0!important;padding:10px!important}

  .oracle-v223-player-hub{margin:0 0 10px;padding:10px;border-radius:15px}
  .oracle-v223-player-hub__head{display:block;padding-bottom:9px}.oracle-v223-source{margin-top:8px!important}
  .oracle-v223-player-hub__head h4{font-size:16px}.oracle-v223-player-hub__head p{font-size:7.4px}
  .oracle-v223-player-controls{display:block}
  .oracle-v223-player-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.oracle-v223-player-metrics button{min-height:38px;padding:0 4px;font-size:6.6px}.oracle-v223-player-metrics button:nth-child(4),.oracle-v223-player-metrics button:nth-child(5){grid-column:span 1}
  .oracle-v223-player-teams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:6px}.oracle-v223-player-teams button{min-width:0;height:37px;padding:0 5px}
  .oracle-v223-player-row{grid-template-columns:25px 32px minmax(0,1fr) 58px 9px;gap:6px;min-height:58px;padding:7px}
  .oracle-v223-player-row>em{grid-column:3/5;justify-self:start;margin-top:-2px}
  .oracle-v223-player-main strong{font-size:9.5px}.oracle-v223-player-main small{font-size:5.9px}.oracle-v223-player-metric strong{font-size:11px}.oracle-v223-player-metric small{font-size:5.2px}
  .oracle-v223-player-badge{width:31px;height:31px;font-size:8px}.oracle-v223-player-rank{width:23px;height:23px;font-size:7px}

  .oracle-v223-gap-method>div{font-size:6.6px}
  .oracle-iceflow-v223-pep .oracle-iceflow-subnav button{font-size:6.3px!important;letter-spacing:0!important}
  .oracle-iceflow-v223-pep .oracle-v223-team-accent header img,
  .oracle-iceflow-v223-pep .oracle-v223-team-accent .oracle-iceflow-v20-team-id img{width:30px!important;height:30px!important}
  .oracle-v223-attempt-legend{font-size:6.6px}
}

@media(max-width:390px){
  .oracle-v223-player-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.oracle-v223-player-metrics button:last-child{grid-column:1/-1}
  .oracle-v223-player-row{grid-template-columns:24px 30px minmax(0,1fr) 54px 8px}
  .oracle-v223-player-row>em{font-size:5.5px}
  .oracle-v223-overview-polish .oracle-ultimate-summary-line h2{font-size:16px!important}
  .oracle-v223-overview-polish .oracle-ultimate-kpis b{font-size:15px!important}
}

/* Stability invariant: this version adds no sticky surface, transforms or scroll tricks. */
html,body,#oracle-game-center,.oracle-v223-player-hub,.oracle-iceflow-v223-pep{scroll-behavior:auto!important;overflow-anchor:none!important}
.oracle-v223-player-hub,.oracle-v223-player-row,.oracle-iceflow-v223-pep .oracle-v223-team-accent{will-change:auto!important;transform:none!important;contain:none!important}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22.4 — ZERO TAB JUMP + ICE TEAM FOCUS                */
/* ========================================================================== */

/* Le navigateur ne doit jamais ré-ancrer la page pendant un changement d'onglet. */
html.oracle-v224-switching-tab,
html.oracle-v224-switching-tab body,
html.oracle-v224-switching-tab #oracle-game-center,
html.oracle-v224-switching-tab #oracle-game-center *{scroll-behavior:auto!important;overflow-anchor:none!important}

/* Sélecteur A/B commun à toutes les vues Sur la glace qui comparent 2 équipes. */
.oracle-v224-team-switch{
  margin:10px 0 12px;padding:8px;border:1px solid rgba(66,223,255,.18);border-radius:14px;
  background:linear-gradient(135deg,rgba(14,53,76,.82),rgba(18,29,58,.9));
  box-shadow:0 10px 24px rgba(0,0,0,.16)
}
.oracle-v224-team-switch__label{display:flex;align-items:center;gap:6px;margin:0 4px 7px;color:#7d9db2;font-size:7px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.oracle-v224-team-switch__label i{color:#5de7fb}
.oracle-v224-team-switch__buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.oracle-v224-team-switch button{
  min-width:0;min-height:42px;display:flex;align-items:center;justify-content:center;gap:9px;padding:6px 10px;
  border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#061523;color:#718fa3;
  font-size:9px;font-weight:1000;cursor:pointer;transition:border-color .12s ease,background-color .12s ease,color .12s ease,box-shadow .12s ease
}
.oracle-v224-team-switch button img{width:25px;height:25px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.28))}
.oracle-v224-team-switch button.is-active{
  border-color:rgba(59,226,255,.55);color:#fff;
  background:linear-gradient(135deg,rgba(19,112,151,.32),rgba(117,56,183,.22));
  box-shadow:inset 0 -2px 0 #40e5ff,0 0 20px rgba(55,218,255,.08)
}

/* Dès qu'un tableau A/B est détecté, une seule équipe occupe toute la largeur. */
.oracle-v224-team-focus-container{grid-template-columns:minmax(0,1fr)!important}
.oracle-v224-team-focus-container>.oracle-v224-team-hidden,
.oracle-v224-team-hidden{display:none!important}
.oracle-v224-team-focus-container>.oracle-v211-vs{display:none!important}
.oracle-v224-team-selected{width:100%!important;max-width:none!important;grid-column:1/-1!important}

/* Les cartes sélectionnées gagnent légèrement en présence sans ajouter de repaint coûteux. */
#oracle-ice-flow-root .oracle-v224-team-selected{border-color:rgba(72,225,255,.24)!important}
#oracle-ice-flow-root .oracle-v211-team.oracle-v224-team-selected,
#oracle-ice-flow-root .oracle-v211-duo-team.oracle-v224-team-selected,
#oracle-ice-flow-root .oracle-v211-h2h-team.oracle-v224-team-selected,
#oracle-ice-flow-root .oracle-v211-plan-team.oracle-v224-team-selected,
#oracle-ice-flow-root .oracle-v211-live-team.oracle-v224-team-selected{background:linear-gradient(145deg,rgba(7,34,52,.98),rgba(7,22,38,.98))!important}

@media(max-width:767px){
  .oracle-v224-team-switch{margin:8px 0 10px;padding:7px;border-radius:12px}
  .oracle-v224-team-switch__label{font-size:6.2px;margin-bottom:6px}
  .oracle-v224-team-switch button{min-height:40px;font-size:8.2px;gap:7px;padding:5px 8px}
  .oracle-v224-team-switch button img{width:23px;height:23px}
}


/* ========================================================================== */
/* HOCKAI ORACLE LIVE V22.5 — LIVE LINES + CLEAR ICE DIRECT                  */
/* ========================================================================== */
.oracle-v225-player-statsline{display:block!important;margin-top:3px!important;color:#78a7bf!important;font-size:6.5px!important;line-height:1.35!important;font-weight:800!important}
.oracle-v223-player-row.is-alert .oracle-v225-player-statsline{color:#d7a0a6!important}

.oracle-iceflow-v225-express{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;margin:10px 0;padding:11px 12px;border:1px solid rgba(71,226,255,.22);border-radius:14px;background:linear-gradient(135deg,rgba(6,53,74,.88),rgba(20,29,63,.88))}
.oracle-iceflow-v225-express.is-mixed{border-color:rgba(208,114,255,.33);background:linear-gradient(135deg,rgba(52,24,73,.62),rgba(10,42,62,.9))}
.oracle-iceflow-v225-express__icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(45,226,255,.1);color:#46e6ff;font-size:15px}
.oracle-iceflow-v225-express.is-mixed .oracle-iceflow-v225-express__icon{background:rgba(209,111,255,.12);color:#df8cff}
.oracle-iceflow-v225-express span{display:block;color:#5ee8ff;font-size:6.5px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}
.oracle-iceflow-v225-express strong{display:block;margin-top:2px;color:#fff;font-size:10px;line-height:1.2;font-weight:1000}
.oracle-iceflow-v225-express p{margin:3px 0 0;color:#8fb0c4;font-size:7.3px;line-height:1.4;font-weight:700}
.oracle-iceflow-v225-source-note{display:flex;gap:7px;align-items:flex-start;margin:-1px 0 10px;padding:7px 9px;border:1px solid rgba(89,215,255,.12);border-radius:10px;background:rgba(4,20,32,.66);color:#7395aa;font-size:6.6px;line-height:1.45}
.oracle-iceflow-v225-source-note i{color:#43e3c0;margin-top:1px}
.oracle-iceflow-v20-unit-strip>div:first-child strong{white-space:normal!important;line-height:1.25!important}
.oracle-iceflow-v20-unit-strip>div small{display:block;margin-top:2px;color:#587b91;font-size:5.8px;line-height:1.3}
.oracle-iceflow-v20-player-name small{white-space:normal!important;line-height:1.25!important}
.oracle-iceflow-v225-quickread span{line-height:1.45!important}

@media(max-width:767px){
  #oracle-ice-flow-root .oracle-iceflow-v20-main-head{padding-bottom:10px!important}
  #oracle-ice-flow-root .oracle-iceflow-body{padding:8px!important}
  #oracle-ice-flow-root .oracle-v224-team-switch{margin:6px 0 8px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-mobile-dock{margin:0 0 7px!important;min-height:42px!important}
  #oracle-ice-flow-root .oracle-iceflow-v213-livebar{grid-template-columns:minmax(0,1fr) 40px!important;gap:6px!important}
  #oracle-ice-flow-root .oracle-iceflow-v213-livebar>div:nth-child(2){display:none!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-live-help{grid-column:1/-1!important;order:3!important;min-height:0!important;padding:6px 8px!important}
  #oracle-ice-flow-root .oracle-iceflow-v225-express{grid-template-columns:34px minmax(0,1fr);gap:8px;margin:8px 0;padding:9px;border-radius:12px}
  #oracle-ice-flow-root .oracle-iceflow-v225-express__icon{width:32px;height:32px;border-radius:10px;font-size:13px}
  #oracle-ice-flow-root .oracle-iceflow-v225-express span{font-size:5.8px}
  #oracle-ice-flow-root .oracle-iceflow-v225-express strong{font-size:9px}
  #oracle-ice-flow-root .oracle-iceflow-v225-express p{font-size:6.5px}
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip>div{min-height:51px!important;padding:8px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip>div:first-child{grid-column:1/-1!important;min-height:55px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip span{font-size:5.4px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip strong{font-size:8.4px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip>div:first-child strong{font-size:8.7px!important}
  #oracle-ice-flow-root .oracle-iceflow-v225-source-note{font-size:6.1px;margin-bottom:8px}
  #oracle-ice-flow-root .oracle-iceflow-v20-role{margin-top:8px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-player{min-height:56px!important;padding:7px 8px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-player-name strong{font-size:9.2px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-player-name small{font-size:6.2px!important;color:#7899ad!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-shift b{font-size:9.5px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-shift small{font-size:5.2px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-memory-grid{gap:6px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-team-footer{grid-template-columns:1fr!important;gap:6px!important}
  #oracle-ice-flow-root .oracle-iceflow-v20-team-footer>div{min-height:0!important;padding:8px!important}
  .oracle-v223-player-main small.oracle-v225-player-statsline{font-size:5.7px!important;line-height:1.35!important}
}

@media(max-width:390px){
  #oracle-ice-flow-root .oracle-iceflow-v20-unit-strip{grid-template-columns:1fr 1fr!important}
  #oracle-ice-flow-root .oracle-iceflow-v225-express strong{font-size:8.6px}
  #oracle-ice-flow-root .oracle-iceflow-v225-express p{font-size:6.2px}
}

/* Pas de transform/sticky/will-change : la stabilité de scroll V22.4 reste prioritaire. */
.oracle-iceflow-v225-express,.oracle-iceflow-v225-source-note{transform:none!important;will-change:auto!important;contain:none!important}
