/* ==========================================================
   HOCKAI — ORACLE LIVE / MAQUETTE FINALE
   Couche visuelle uniquement : aucun calcul prédictif ici.
   ========================================================== */

:root {
  --oracle-bg: #020a14;
  --oracle-surface: #061625;
  --oracle-surface-2: #082039;
  --oracle-surface-3: #0a2742;
  --oracle-line: rgba(65, 156, 219, 0.34);
  --oracle-line-strong: rgba(52, 211, 255, 0.58);
  --oracle-cyan: #24ddff;
  --oracle-blue: #3796ff;
  --oracle-pink: #ff2f68;
  --oracle-purple: #b453ff;
  --oracle-green: #27f5a3;
  --oracle-yellow: #ffc93d;
  --oracle-text: #f8fbff;
  --oracle-muted: #7f9fbd;
}

body {
  background:
    radial-gradient(circle at 72% 12%, rgba(18, 104, 190, 0.12), transparent 28%),
    radial-gradient(circle at 18% 70%, rgba(149, 43, 255, 0.055), transparent 26%),
    linear-gradient(180deg, #050d19 0%, #020812 100%) !important;
}

#tab-live {
  max-width: 1580px !important;
  padding-bottom: 96px !important;
}

/* ========================= HERO ========================= */
#oracle-broadcast-hero {
  min-height: 360px !important;
  border: 1px solid rgba(55, 196, 255, 0.34) !important;
  background: #04111f !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.52),
    0 0 46px rgba(0, 196, 255, 0.045),
    inset 0 1px 0 rgba(255,255,255,0.045) !important;
}

#oracle-broadcast-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,10,20,.18) 0%, rgba(2,10,20,.02) 52%, rgba(1,8,18,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,8,18,.56));
}

#oracle-broadcast-hero > img {
  opacity: .70 !important;
  filter: saturate(1.55) contrast(1.12) brightness(.90) !important;
  object-position: center 43% !important;
  transform: scale(1.035);
}

#oracle-broadcast-hero > .relative {
  z-index: 3 !important;
}

.oracle-live-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.oracle-live-broadcast-icon {
  color: var(--oracle-pink);
  font-size: 34px;
  filter: drop-shadow(0 0 18px rgba(255,47,104,.60));
}

.oracle-live-title {
  color: transparent !important;
  background: linear-gradient(90deg, #fff 0%, #dff8ff 30%, #65dcff 58%, #d07aff 80%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none !important;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.48));
}

.oracle-live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(39,245,163,.58);
  background: rgba(18,126,84,.18);
  color: #83ffd0;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .06em;
  box-shadow: 0 0 20px rgba(39,245,163,.16);
}

.oracle-live-status-pill > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oracle-green);
  box-shadow: 0 0 10px var(--oracle-green);
}

.oracle-hero-slogan {
  margin-left: auto;
  margin-right: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #d7f7ff;
  font-size: 12px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: .025em;
  text-align: right;
  text-shadow: 0 0 18px rgba(36,221,255,.22);
}
.oracle-hero-slogan strong { color: var(--oracle-cyan); }

#oracle-match-filters {
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

.oracle-match-filter {
  min-width: 126px;
  min-height: 38px !important;
  border-color: rgba(86, 142, 190, .38) !important;
  background: rgba(4, 18, 33, .70) !important;
  color: #d7e9f8 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.oracle-match-filter.bg-blue-500\/15,
.oracle-match-filter.border-blue-400\/40 {
  border-color: rgba(53, 218, 255, .88) !important;
  background: linear-gradient(90deg, rgba(22,185,255,.52), rgba(147,67,255,.52)) !important;
  color: white !important;
  box-shadow: 0 0 22px rgba(38,210,255,.30), inset 0 1px 0 rgba(255,255,255,.20) !important;
}

#oracle-broadcast-hero .relative.rounded-xl.border.border-white\/10 {
  border-color: rgba(74, 154, 209, .28) !important;
  background: rgba(2, 15, 28, .78) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

#live-matches-mini-grid {
  min-height: 126px !important;
  gap: 10px !important;
}

[data-oracle-match-card] {
  min-width: 230px !important;
  width: 230px !important;
  min-height: 114px !important;
  border-color: rgba(55, 126, 179, .62) !important;
  background: linear-gradient(145deg, rgba(8,40,68,.98), rgba(4,19,34,.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 25px rgba(0,0,0,.16);
}
[data-oracle-match-card]:hover {
  border-color: rgba(36,221,255,.86) !important;
  box-shadow: 0 0 24px rgba(36,221,255,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
[data-oracle-match-card].oracle-finished-card { opacity: .90; }

/* ===================== GAME CENTER ===================== */
#oracle-game-center {
  max-width: 1580px !important;
  margin-top: 12px !important;
}

.oracle-modern-gc {
  background:
    radial-gradient(circle at 10% 0%, rgba(71,70,203,.09), transparent 28%),
    linear-gradient(180deg, #041423 0%, #020d18 100%) !important;
  border-color: rgba(58, 149, 207, .38) !important;
  border-radius: 14px !important;
}

.oracle-score-grid {
  grid-template-columns: minmax(0, 1.52fr) minmax(330px, .80fr) !important;
  gap: 10px !important;
}

.oracle-score-hero {
  min-height: 205px !important;
  border-color: rgba(76, 162, 220, .48) !important;
  box-shadow: 0 15px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
.oracle-score-hero--live {
  background:
    radial-gradient(circle at 0% 50%, rgba(255,35,111,.26), transparent 42%),
    radial-gradient(circle at 100% 45%, rgba(24,122,255,.25), transparent 40%),
    linear-gradient(120deg, #15203d 0%, #06223f 100%) !important;
  border-color: rgba(255,47,104,.68) !important;
}
.oracle-score-hero--pregame {
  background:
    radial-gradient(circle at 0% 60%, rgba(168,85,247,.14), transparent 38%),
    radial-gradient(circle at 100% 45%, rgba(29,123,255,.20), transparent 40%),
    linear-gradient(120deg, #151d35 0%, #082743 100%) !important;
}

.oracle-momentum-panel {
  display: flex !important;
  background: linear-gradient(145deg, #08223a, #061727) !important;
  border-color: rgba(70, 151, 207, .44) !important;
}

.oracle-gc-tabs {
  background: rgba(2, 15, 27, .96) !important;
  border-color: rgba(52, 104, 145, .42) !important;
}
.oracle-gc-tab {
  min-width: 116px !important;
  padding: 15px 14px !important;
  font-size: 9px !important;
  letter-spacing: .02em !important;
}
.oracle-gc-tab.border-red-400::after {
  background: linear-gradient(90deg, var(--oracle-pink), #ff5da6) !important;
  box-shadow: 0 0 18px rgba(255,47,104,.70) !important;
}

/* ===================== OVERVIEW GRID ===================== */
.oracle-overview-dashboard {
  padding: 12px !important;
}

@media (min-width: 1280px) {
  .oracle-overview-dashboard {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(360px, .92fr) !important;
    gap: 10px !important;
    align-items: stretch;
  }

  .oracle-overview-dashboard > .oracle-overview-top,
  .oracle-overview-dashboard > .oracle-overview-spotlights,
  .oracle-overview-dashboard > .oracle-overview-bottom {
    display: contents !important;
  }

  .oracle-feature-panel--analysis { grid-column: 1; grid-row: 1; }
  .oracle-feature-panel--metrics  { grid-column: 2; grid-row: 1; }
  .oracle-feature-panel--signals  { grid-column: 3; grid-row: 1; }
  .oracle-feature-panel--players  { grid-column: 1; grid-row: 2; }
  .oracle-events-panel            { grid-column: 2; grid-row: 2; }
  .oracle-tactical-panel          { grid-column: 3; grid-row: 2; }

  .oracle-feature-panel--analysis,
  .oracle-feature-panel--metrics,
  .oracle-feature-panel--signals,
  .oracle-feature-panel--players,
  .oracle-events-panel,
  .oracle-tactical-panel {
    margin: 0 !important;
    min-width: 0;
    height: 100%;
  }

  .oracle-feature-panel--analysis,
  .oracle-feature-panel--metrics,
  .oracle-feature-panel--signals {
    min-height: 280px;
  }

  .oracle-feature-panel--players,
  .oracle-events-panel,
  .oracle-tactical-panel {
    min-height: 194px;
  }
}

.oracle-feature-panel,
.oracle-events-panel,
.oracle-tactical-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(32,161,255,.055), transparent 34%),
    linear-gradient(145deg, #082039, #051525) !important;
  border: 1px solid rgba(62, 137, 192, .42) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028), 0 10px 26px rgba(0,0,0,.14) !important;
}

.oracle-feature-panel--signals {
  border-color: rgba(255,47,104,.36) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028), 0 0 32px rgba(255,47,104,.035) !important;
}
.oracle-tactical-panel {
  border-color: rgba(36,221,255,.46) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028), 0 0 28px rgba(36,221,255,.045) !important;
}

.oracle-modern-gc h3,
.oracle-modern-gc .text-white.font-black {
  letter-spacing: -.015em;
}

.oracle-modern-gc .text-slate-600 { color: #64819d !important; }
.oracle-modern-gc .text-slate-500 { color: #7d99b4 !important; }
.oracle-modern-gc .text-blue-300 { color: #47d7ff !important; }
.oracle-modern-gc .text-red-400 { color: #ff3d72 !important; }

/* Internal player cards */
.oracle-feature-panel--signals .grid > div,
.oracle-feature-panel--players .grid > div {
  background: linear-gradient(160deg, #0a243d, #061522) !important;
  border-color: rgba(79, 150, 204, .40) !important;
}

.oracle-feature-panel--signals img,
.oracle-feature-panel--players img {
  background: radial-gradient(circle at 50% 20%, rgba(43,142,255,.22), rgba(3,15,27,.95));
}

/* Rink tactical */
.oracle-tactical-panel .rounded-\[42px\] {
  min-height: 168px !important;
  border-color: rgba(154, 204, 237, .85) !important;
  box-shadow: 0 0 22px rgba(58,177,255,.08), inset 0 0 35px rgba(56,140,211,.10) !important;
}

/* scrollbar */
#tab-live::-webkit-scrollbar { width: 5px; }
#tab-live::-webkit-scrollbar-track { background: transparent; }
#tab-live::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--oracle-cyan), #0e7cff);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(36,221,255,.45);
}

/* ======================= TABLET ======================= */
@media (min-width: 768px) and (max-width: 1279px) {
  .oracle-score-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr) !important;
  }

  .oracle-momentum-panel { display: flex !important; }

  .oracle-overview-dashboard {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .oracle-overview-dashboard > .oracle-overview-top,
  .oracle-overview-dashboard > .oracle-overview-spotlights,
  .oracle-overview-dashboard > .oracle-overview-bottom { display: contents !important; }

  .oracle-feature-panel--analysis { grid-column: 1; }
  .oracle-feature-panel--metrics  { grid-column: 2; }
  .oracle-feature-panel--signals,
  .oracle-feature-panel--players,
  .oracle-events-panel,
  .oracle-tactical-panel { min-width: 0; }

  .oracle-feature-panel--signals { grid-column: 1; }
  .oracle-feature-panel--players { grid-column: 2; }
  .oracle-events-panel { grid-column: 1; }
  .oracle-tactical-panel { grid-column: 2; }

  .oracle-hero-slogan { display: none; }
}

/* ======================= MOBILE ======================= */
@media (max-width: 767px) {
  main { padding-left: 0 !important; padding-right: 0 !important; }
  #tab-live { padding-left: 6px !important; padding-right: 6px !important; }

  #oracle-broadcast-hero {
    min-height: 310px !important;
    border-radius: 12px !important;
  }
  #oracle-broadcast-hero > img {
    opacity: .52 !important;
    object-position: 64% center !important;
  }

  .oracle-live-title-row { gap: 8px; flex-wrap: wrap; }
  .oracle-live-broadcast-icon { font-size: 23px; }
  #oracle-broadcast-hero .oracle-live-title { font-size: clamp(34px, 11vw, 48px) !important; }
  .oracle-live-status-pill { padding: 4px 7px; font-size: 7px; }
  .oracle-hero-slogan { display: none; }
  .oracle-hero-actions { position: absolute; right: 12px; top: 12px; }

  #oracle-match-filters {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
  }
  .oracle-match-filter {
    min-width: auto;
    min-height: 32px !important;
    padding-left: 13px !important;
    padding-right: 13px !important;
    font-size: 8px !important;
    scroll-snap-align: start;
  }

  #live-matches-mini-grid {
    min-height: 112px !important;
    padding-inline: 0 !important;
    scroll-padding-inline: 4px;
  }
  [data-oracle-match-card] {
    min-width: min(78vw, 245px) !important;
    width: min(78vw, 245px) !important;
    min-height: 106px !important;
  }

  #oracle-game-center { margin-top: 8px !important; }
  .oracle-modern-gc { border-radius: 11px !important; }

  .oracle-score-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .oracle-momentum-panel {
    display: flex !important;
    min-height: 210px;
  }
  .oracle-score-hero {
    min-height: 170px !important;
    border-radius: 11px !important;
  }
  .oracle-score-hero img {
    width: 54px !important;
    height: 54px !important;
  }

  .oracle-gc-tabs {
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    scroll-snap-type: x mandatory;
  }
  .oracle-gc-tab {
    min-width: 104px !important;
    padding: 13px 10px !important;
    font-size: 8px !important;
    scroll-snap-align: start;
  }

  .oracle-overview-dashboard {
    display: block !important;
    padding: 8px 0 12px !important;
  }
  .oracle-overview-top,
  .oracle-overview-spotlights,
  .oracle-overview-bottom {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
  }

  .oracle-feature-panel,
  .oracle-events-panel,
  .oracle-tactical-panel {
    border-radius: 11px !important;
    min-height: 0 !important;
  }

  .oracle-feature-panel--signals .grid,
  .oracle-feature-panel--players .grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 8px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .oracle-feature-panel--signals .grid::-webkit-scrollbar,
  .oracle-feature-panel--players .grid::-webkit-scrollbar { display: none; }
  .oracle-feature-panel--signals .grid > div,
  .oracle-feature-panel--players .grid > div {
    min-width: 78% !important;
    max-width: 78% !important;
    scroll-snap-align: start;
  }

  .oracle-events-panel button { white-space: nowrap; }

  .oracle-tactical-panel > div:last-child {
    grid-template-columns: 1fr !important;
  }
  .oracle-tactical-panel .rounded-\[42px\] {
    min-height: 132px !important;
    height: 132px !important;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  #oracle-broadcast-hero .oracle-live-title { font-size: 32px !important; }
  .oracle-live-broadcast-icon { font-size: 20px; }
  [data-oracle-match-card] {
    min-width: 82vw !important;
    width: 82vw !important;
  }
  .oracle-feature-panel--signals .grid > div,
  .oracle-feature-panel--players .grid > div {
    min-width: 86% !important;
    max-width: 86% !important;
  }
}

/* ==========================================================
   ORACLE LIVE V3 — RESPONSIVE / ANTI-OVERFLOW / APP MOBILE
   ========================================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

#oracle-player-watch {
  display: none !important;
}

#oracle-game-center,
.oracle-modern-gc,
.oracle-overview-dashboard,
.oracle-overview-top,
.oracle-overview-spotlights,
.oracle-overview-bottom,
.oracle-feature-panel,
.oracle-events-panel,
.oracle-tactical-panel {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* --- Compact spotlight cards: never overflow their 1/3 desktop panel --- */
.oracle-feature-panel--signals,
.oracle-feature-panel--players {
  overflow: hidden !important;
}

.oracle-feature-panel--signals .grid,
.oracle-feature-panel--players .grid {
  min-width: 0 !important;
  width: 100% !important;
  align-items: stretch !important;
}

.oracle-feature-panel--signals .grid > *,
.oracle-feature-panel--players .grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.oracle-feature-panel--signals .grid > div,
.oracle-feature-panel--players .grid > button {
  padding: 10px !important;
  border-radius: 11px !important;
}

.oracle-feature-panel--signals .grid img,
.oracle-feature-panel--players .grid img {
  object-fit: cover !important;
  object-position: top center !important;
}

.oracle-feature-panel--signals .grid > div > .relative.mt-3.flex,
.oracle-feature-panel--players .grid > button > .flex.items-center {
  gap: 7px !important;
}

.oracle-feature-panel--players .grid > button > .flex.items-center > div:first-child {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
}

.oracle-feature-panel--players .grid > button .text-\[13px\],
.oracle-feature-panel--players .grid > button .md\:text-\[14px\] {
  font-size: 11px !important;
}

.oracle-feature-panel--players .grid > button > .mt-3.grid {
  gap: 4px !important;
  margin-top: 8px !important;
  padding-top: 8px !important;
}

.oracle-feature-panel--players .grid > button > .mt-3.grid .text-base,
.oracle-feature-panel--players .grid > button > .mt-3.grid .md\:text-lg {
  font-size: 13px !important;
}

/* The long explanation made the cards huge and is already available in player detail. */
@media (min-width: 1280px) {
  .oracle-feature-panel--players .grid > button > .mt-3.pt-2.border-t > div:first-child {
    display: none !important;
  }

  .oracle-feature-panel--players .grid > button > .mt-3.pt-2.border-t {
    margin-top: 7px !important;
    padding-top: 6px !important;
  }

  .oracle-feature-panel--signals .grid,
  .oracle-feature-panel--players .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .oracle-feature-panel--signals .grid > div,
  .oracle-feature-panel--players .grid > button {
    min-height: 158px !important;
  }

  .oracle-feature-panel--signals .grid > div .text-\[11px\],
  .oracle-feature-panel--signals .grid > div .md\:text-\[12px\],
  .oracle-feature-panel--players .grid > button .text-\[13px\],
  .oracle-feature-panel--players .grid > button .md\:text-\[14px\] {
    font-size: 10px !important;
  }

  .oracle-feature-panel--signals .grid > div .w-11.h-11 {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
}

/* --- Desktop proportions closer to the supplied mockup --- */
@media (min-width: 1280px) {
  #tab-live {
    max-width: 1500px !important;
  }

  #oracle-broadcast-hero {
    min-height: 336px !important;
  }

  #oracle-broadcast-hero .oracle-live-title {
    font-size: clamp(54px, 4.1vw, 76px) !important;
  }

  #oracle-match-filters {
    margin-top: 20px !important;
  }

  .oracle-score-grid {
    grid-template-columns: minmax(0, 1.58fr) minmax(320px, .82fr) !important;
  }

  .oracle-overview-dashboard {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.02fr) minmax(370px, .94fr) !important;
    gap: 10px !important;
  }

  .oracle-feature-panel--analysis,
  .oracle-feature-panel--metrics,
  .oracle-feature-panel--signals {
    min-height: 260px !important;
  }

  .oracle-feature-panel--players,
  .oracle-events-panel,
  .oracle-tactical-panel {
    min-height: 205px !important;
  }

  .oracle-feature-panel--signals,
  .oracle-feature-panel--players,
  .oracle-events-panel,
  .oracle-tactical-panel {
    align-self: stretch !important;
  }
}

/* ==========================================================
   MOBILE APP SHELL
   ========================================================== */
#oracle-mobile-header,
#oracle-mobile-bottom-nav,
#oracle-mobile-menu,
#oracle-mobile-menu-backdrop {
  display: none;
}

@media (max-width: 767px) {
  :root {
    --oracle-mobile-header-h: 62px;
    --oracle-mobile-nav-h: 67px;
  }

  body {
    background: #020b15 !important;
    padding: 0 !important;
  }

  #sidebar-container,
  #header-container {
    display: none !important;
  }

  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: calc(var(--oracle-mobile-header-h) + 8px) 0 calc(var(--oracle-mobile-nav-h) + 18px) !important;
    overflow: visible !important;
  }

  main > .px-2,
  main > .md\:px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #tab-live {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    padding: 0 10px calc(var(--oracle-mobile-nav-h) + 22px) !important;
  }

  /* top app bar */
  #oracle-mobile-header {
    display: flex !important;
    position: fixed;
    z-index: 1500;
    top: 0;
    left: 0;
    right: 0;
    height: var(--oracle-mobile-header-h);
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid rgba(49, 151, 211, .34);
    background: rgba(2, 14, 27, .94);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 10px 32px rgba(0,0,0,.32);
  }

  .oracle-mobile-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: white;
    text-decoration: none;
  }

  .oracle-mobile-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 11px rgba(36,221,255,.28));
  }

  .oracle-mobile-brand span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.02;
  }

  .oracle-mobile-brand strong {
    font-size: 15px;
    font-weight: 1000;
    letter-spacing: -.02em;
  }

  .oracle-mobile-brand small {
    margin-top: 3px;
    color: #5fdcff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .oracle-mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .oracle-mobile-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid rgba(39,245,163,.30);
    border-radius: 999px;
    background: rgba(16, 101, 73, .14);
    color: #63f5bb;
    font-size: 7px;
    font-weight: 1000;
    letter-spacing: .08em;
  }

  .oracle-mobile-live-dot i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--oracle-green);
    box-shadow: 0 0 10px var(--oracle-green);
  }

  .oracle-mobile-icon-btn,
  .oracle-mobile-menu-head button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    border: 1px solid rgba(87, 150, 197, .34);
    background: #071a2c;
    color: #d9f6ff;
  }

  /* hero */
  #oracle-broadcast-hero {
    min-height: 326px !important;
    border-radius: 16px !important;
    margin-top: 0 !important;
    overflow: hidden !important;
  }

  #oracle-broadcast-hero > img {
    opacity: .58 !important;
    object-position: 59% center !important;
    transform: scale(1.06) !important;
  }

  #oracle-broadcast-hero > .relative {
    padding: 17px 12px 11px !important;
  }

  .oracle-live-title-row {
    gap: 7px !important;
    padding-right: 74px;
    flex-wrap: nowrap !important;
  }

  .oracle-live-broadcast-icon {
    font-size: 23px !important;
  }

  #oracle-broadcast-hero .oracle-live-title {
    min-width: 0;
    font-size: clamp(34px, 10.5vw, 43px) !important;
    white-space: nowrap;
  }

  .oracle-live-status-pill {
    flex: 0 0 auto;
    padding: 4px 6px !important;
    font-size: 6px !important;
  }

  .oracle-hero-actions {
    top: 11px !important;
    right: 10px !important;
    gap: 5px !important;
  }

  .oracle-hero-actions button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
  }

  #oracle-broadcast-hero .mt-2\.5.flex.flex-wrap {
    max-width: calc(100% - 10px);
    margin-top: 8px !important;
    gap: 5px 7px !important;
    font-size: 8px !important;
  }

  /* four filters always visible */
  #oracle-match-filters {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 5px !important;
    margin: 14px 0 8px !important;
    overflow: visible !important;
  }

  .oracle-match-filter {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 31px !important;
    padding: 5px 3px !important;
    justify-content: center;
    font-size: 7px !important;
    overflow: hidden;
  }

  .oracle-match-filter [data-oracle-filter-count] {
    font-size: 6px !important;
    margin-left: 2px !important;
  }

  /* mobile carousel mirrors the mockup: ~2 cards visible */
  #live-matches-mini-grid {
    min-height: 111px !important;
    gap: 7px !important;
    padding: 0 2px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  [data-oracle-match-card] {
    flex: 0 0 148px !important;
    width: 148px !important;
    min-width: 148px !important;
    min-height: 104px !important;
    padding: 8px 9px !important;
    scroll-snap-align: start;
  }

  [data-oracle-match-card] img {
    width: 20px !important;
    height: 20px !important;
  }

  /* game center */
  #oracle-game-center {
    margin-top: 9px !important;
    border-radius: 14px !important;
  }

  .oracle-modern-gc {
    overflow: visible !important;
  }

  .oracle-score-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .oracle-score-hero {
    min-height: 158px !important;
  }

  .oracle-score-hero > .relative {
    padding: 14px 12px !important;
  }

  .oracle-score-hero img {
    width: 44px !important;
    height: 44px !important;
  }

  .oracle-score-hero .grid.grid-cols-\[1fr_auto_1fr\] {
    gap: 5px !important;
  }

  .oracle-score-hero .min-w-\[105px\] {
    min-width: 84px !important;
  }

  .oracle-score-hero .text-\[52px\] {
    font-size: 40px !important;
  }

  .oracle-score-hero .text-\[44px\] {
    font-size: 38px !important;
  }

  .oracle-momentum-panel {
    min-height: 154px !important;
    max-height: none !important;
  }

  .oracle-gc-tabs {
    position: sticky !important;
    top: var(--oracle-mobile-header-h) !important;
    z-index: 120 !important;
    width: 100% !important;
    display: flex !important;
    overflow-x: auto !important;
    background: rgba(2, 15, 27, .96) !important;
    backdrop-filter: blur(14px);
    -webkit-overflow-scrolling: touch;
  }

  .oracle-gc-tab {
    flex: 0 0 auto !important;
    min-width: 96px !important;
    padding: 12px 9px !important;
    font-size: 7px !important;
    letter-spacing: .03em !important;
  }

  .oracle-overview-dashboard {
    display: block !important;
    padding: 8px 0 4px !important;
  }

  .oracle-overview-top,
  .oracle-overview-spotlights,
  .oracle-overview-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
  }

  .oracle-feature-panel,
  .oracle-events-panel,
  .oracle-tactical-panel {
    width: 100% !important;
    min-width: 0 !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }

  /* Signals and monitored players become swipe rails on phone. */
  .oracle-feature-panel--signals .grid,
  .oracle-feature-panel--players .grid {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .oracle-feature-panel--signals .grid::-webkit-scrollbar,
  .oracle-feature-panel--players .grid::-webkit-scrollbar {
    display: none;
  }

  .oracle-feature-panel--signals .grid > *,
  .oracle-feature-panel--players .grid > * {
    flex: 0 0 82% !important;
    width: 82% !important;
    min-width: 82% !important;
    max-width: 82% !important;
    scroll-snap-align: start;
  }

  .oracle-feature-panel--players .grid > button > .flex.items-center > div:first-child {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  .oracle-events-panel .px-4,
  .oracle-events-panel .py-2 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .oracle-events-panel button {
    font-size: 7px !important;
    white-space: nowrap;
  }

  .oracle-tactical-panel > div:last-child {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .oracle-tactical-panel .rounded-\[42px\] {
    width: 100% !important;
    min-height: 132px !important;
    height: 132px !important;
    border-radius: 30px !important;
  }

  /* players / stats / roster / timeline panels */
  [data-gc-panel="players"],
  [data-gc-panel="stats"],
  [data-gc-panel="roster"],
  [data-gc-panel="timeline"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  [data-gc-panel="players"] .grid-cols-2,
  [data-gc-panel="roster"] .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* app bottom navigation */
  #oracle-mobile-bottom-nav {
    display: grid !important;
    position: fixed;
    z-index: 1500;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: var(--oracle-mobile-nav-h);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 7px 6px max(7px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(56, 158, 218, .34);
    background: rgba(2, 14, 27, .96);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 -12px 32px rgba(0,0,0,.34);
  }

  #oracle-mobile-bottom-nav a,
  #oracle-mobile-bottom-nav button {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #748ea7;
    font-size: 8px;
    font-weight: 900;
    text-decoration: none;
  }

  #oracle-mobile-bottom-nav i {
    font-size: 17px;
  }

  #oracle-mobile-bottom-nav .is-active {
    color: #ff3f72;
    text-shadow: 0 0 13px rgba(255,47,104,.35);
  }

  /* drawer */
  #oracle-mobile-menu-backdrop {
    display: block;
    position: fixed;
    z-index: 1600;
    inset: 0;
    background: rgba(0, 4, 10, .66);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    backdrop-filter: blur(4px);
  }

  #oracle-mobile-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  #oracle-mobile-menu {
    display: flex;
    position: fixed;
    z-index: 1610;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 330px);
    flex-direction: column;
    padding: max(16px, env(safe-area-inset-top, 0px)) 14px max(20px, env(safe-area-inset-bottom, 0px));
    border-left: 1px solid rgba(58, 164, 226, .35);
    background:
      radial-gradient(circle at 100% 0%, rgba(158, 60, 255, .17), transparent 32%),
      linear-gradient(180deg, #071727, #020b15);
    transform: translateX(105%);
    transition: transform .25s cubic-bezier(.22,.72,.2,1);
    box-shadow: -22px 0 60px rgba(0,0,0,.44);
  }

  #oracle-mobile-menu.is-open {
    transform: translateX(0);
  }

  .oracle-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 2px 14px;
    border-bottom: 1px solid rgba(72, 127, 169, .24);
  }

  .oracle-mobile-menu-head > div {
    display: flex;
    flex-direction: column;
  }

  .oracle-mobile-menu-head small {
    color: #27dfff;
    font-size: 8px;
    font-weight: 1000;
    letter-spacing: .16em;
  }

  .oracle-mobile-menu-head strong {
    margin-top: 3px;
    font-size: 20px;
    font-weight: 1000;
  }

  #oracle-mobile-menu nav {
    display: grid;
    gap: 7px;
    margin-top: 14px;
  }

  #oracle-mobile-menu nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid rgba(72, 127, 169, .20);
    border-radius: 12px;
    background: rgba(8, 29, 48, .72);
    color: #bfd0e0;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
  }

  #oracle-mobile-menu nav a i {
    width: 18px;
    text-align: center;
    color: #4ddfff;
  }

  #oracle-mobile-menu nav a.is-active {
    border-color: rgba(255, 47, 104, .44);
    color: white;
    background: linear-gradient(90deg, rgba(255,47,104,.14), rgba(18,89,143,.20));
  }

  .oracle-mobile-menu-open,
  .oracle-mobile-menu-open body {
    overflow: hidden !important;
  }
}

@media (max-width: 390px) {
  #oracle-broadcast-hero .oracle-live-title {
    font-size: 32px !important;
  }

  .oracle-live-broadcast-icon {
    font-size: 20px !important;
  }

  .oracle-live-title-row {
    padding-right: 66px;
  }

  .oracle-hero-actions button {
    width: 29px !important;
    height: 29px !important;
  }

  [data-oracle-match-card] {
    flex-basis: 142px !important;
    width: 142px !important;
    min-width: 142px !important;
  }

  .oracle-feature-panel--signals .grid > *,
  .oracle-feature-panel--players .grid > * {
    flex-basis: 88% !important;
    width: 88% !important;
    min-width: 88% !important;
    max-width: 88% !important;
  }
}

/* Semantic card hooks added by live.js V10. */
.oracle-signals-grid,
.oracle-watch-grid {
  min-width: 0 !important;
  width: 100% !important;
}

.oracle-signal-card,
.oracle-watch-card {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.oracle-signal-card * ,
.oracle-watch-card * {
  min-width: 0;
}

.oracle-signal-card .truncate,
.oracle-watch-card .truncate {
  max-width: 100%;
}

@media (min-width: 1280px) {
  .oracle-signals-grid,
  .oracle-watch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .oracle-signal-card,
  .oracle-watch-card {
    padding: 9px !important;
  }

  .oracle-signal-card .w-11.h-11 {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .oracle-watch-card > div:first-of-type > div:first-child {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  .oracle-watch-card > div:nth-of-type(3) > div:first-child {
    display: none !important;
  }

  .oracle-watch-card > div:nth-of-type(3) > .mt-2.flex {
    margin-top: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  .oracle-watch-card > div:nth-of-type(3) > .mt-2.flex span:last-child {
    font-size: 7px !important;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .oracle-signals-grid,
  .oracle-watch-grid {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    gap: 8px !important;
    scrollbar-width: none;
  }

  .oracle-signals-grid::-webkit-scrollbar,
  .oracle-watch-grid::-webkit-scrollbar {
    display: none;
  }

  .oracle-signal-card,
  .oracle-watch-card {
    flex: 0 0 82% !important;
    min-width: 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    scroll-snap-align: start;
  }
}

@media (min-width: 1280px) {
  .oracle-signal-card .truncate,
  .oracle-watch-card .truncate {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.05 !important;
  }
}

/* ==========================================================
   ORACLE LIVE V4 — DATA CLARITY + MOBILE FIRST POLISH
   Fixes: metrics overflow, momentum, rink, player columns.
   ========================================================== */

/* ---------- key metrics: no numeric collision ---------- */
.oracle-feature-panel--metrics,
.oracle-feature-panel--metrics > .grid,
.oracle-feature-panel--metrics > .grid > * {
  min-width: 0 !important;
}

.oracle-feature-panel--metrics > .grid > * {
  overflow: hidden;
}

.oracle-metric-card {
  min-width: 0 !important;
  overflow: hidden !important;
}

.oracle-metric-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: end;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.oracle-metric-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.oracle-metric-side--right {
  align-items: flex-end;
  text-align: right;
}

.oracle-metric-value {
  max-width: 100%;
  color: #fff;
  font-size: clamp(17px, 1.45vw, 26px);
  line-height: .95;
  font-weight: 1000;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.oracle-metric-team {
  margin-top: 6px;
  color: #607d99;
  font-size: 7px;
  line-height: 1;
  font-weight: 1000;
}

.oracle-metric-vs {
  align-self: end;
  padding-bottom: 7px;
  text-align: center;
  color: #29445d;
  font-size: 6px;
  font-weight: 1000;
}

/* ---------- momentum: chart looks alive from the first snapshot ---------- */
.oracle-momentum-panel svg polyline {
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.08));
}

.oracle-momentum-panel svg circle {
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px currentColor);
}

.oracle-momentum-panel .relative.h-\[92px\] {
  background:
    radial-gradient(circle at 75% 40%, rgba(27,122,205,.09), transparent 40%),
    linear-gradient(180deg, #071728, #04101d) !important;
}

/* ---------- tactical rink: true hockey-rink proportions ---------- */
.oracle-rink-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 34px;
  background: #dff2ff;
  box-shadow:
    0 0 0 1px rgba(139,205,247,.82),
    0 12px 34px rgba(0,0,0,.20),
    0 0 28px rgba(36,221,255,.09);
}

.oracle-rink-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.oracle-rink-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 7px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.oracle-rink-badge--away {
  top: 10px;
  right: 10px;
  color: white;
  background: linear-gradient(135deg, #ff265e, #d70d48);
}

.oracle-rink-badge--home {
  left: 10px;
  bottom: 10px;
  color: #07111f;
  background: linear-gradient(135deg, #ffd751, #ffb817);
}

/* ---------- players: headers and values share exactly one geometry ---------- */
.oracle-player-position-section {
  min-width: 0;
}

.oracle-player-columns {
  min-width: 0;
}

@media (min-width: 1280px) {
  [data-gc-panel="players"] .grid.lg\:grid-cols-2 {
    gap: 12px !important;
  }

  .oracle-player-position-section button > .grid {
    grid-template-columns: 44px minmax(135px,1fr) 92px minmax(245px,.95fr) 24px !important;
    column-gap: 8px !important;
  }

  .oracle-player-columns {
    grid-template-columns: 44px minmax(135px,1fr) 92px minmax(245px,.95fr) 24px !important;
    column-gap: 8px !important;
  }

  .oracle-player-position-section button {
    overflow: hidden !important;
  }

  .oracle-player-position-section button .grid-cols-5 {
    min-width: 0 !important;
    width: 100% !important;
  }

  .oracle-player-position-section button .grid-cols-5 > div {
    min-width: 0 !important;
  }
}

/* ---------- overview cards: richer, cleaner and closer to mockup ---------- */
.oracle-feature-panel,
.oracle-events-panel,
.oracle-tactical-panel {
  backdrop-filter: blur(10px);
}

.oracle-feature-panel--analysis {
  background:
    radial-gradient(circle at 0% 0%, rgba(44,135,255,.12), transparent 34%),
    linear-gradient(145deg, #09233c, #061729) !important;
}

.oracle-feature-panel--metrics {
  background:
    radial-gradient(circle at 100% 0%, rgba(36,221,255,.08), transparent 35%),
    linear-gradient(145deg, #08243d, #061727) !important;
}

.oracle-feature-panel--signals {
  background:
    radial-gradient(circle at 0% 0%, rgba(255,47,104,.10), transparent 36%),
    linear-gradient(145deg, #0a2038, #071523) !important;
}

.oracle-tactical-panel {
  background:
    radial-gradient(circle at 100% 100%, rgba(36,221,255,.08), transparent 38%),
    linear-gradient(145deg, #082039, #061522) !important;
}

/* keep the 3 spotlight cards readable without overlap */
@media (min-width: 1280px) {
  .oracle-signals-grid,
  .oracle-watch-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    overflow: hidden !important;
  }

  .oracle-signal-card,
  .oracle-watch-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 9px !important;
  }

  .oracle-signal-card .truncate,
  .oracle-watch-card .truncate {
    overflow-wrap: anywhere;
  }
}

/* ==========================================================
   PHONE — designed as an app, not a shrunk desktop page
   ========================================================== */
@media (max-width: 767px) {
  :root {
    --oracle-mobile-header-h: 58px;
    --oracle-mobile-nav-h: 64px;
  }

  #tab-live {
    padding-left: 8px !important;
    padding-right: 8px !important;
    scroll-behavior: smooth;
  }

  #oracle-mobile-header {
    height: var(--oracle-mobile-header-h) !important;
    padding-inline: 10px !important;
  }

  .oracle-mobile-brand img {
    width: 34px !important;
    height: 34px !important;
  }

  .oracle-mobile-brand strong {
    font-size: 14px !important;
  }

  .oracle-mobile-brand small {
    font-size: 7px !important;
  }

  .oracle-mobile-icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
  }

  /* Hero: preserve enough screen for actual match data. */
  #oracle-broadcast-hero {
    min-height: 300px !important;
    border-radius: 14px !important;
  }

  #oracle-broadcast-hero > .relative {
    padding: 14px 10px 10px !important;
  }

  #oracle-broadcast-hero .oracle-live-title {
    font-size: clamp(31px, 10vw, 40px) !important;
  }

  .oracle-live-broadcast-icon {
    font-size: 20px !important;
  }

  .oracle-live-title-row {
    padding-right: 66px !important;
  }

  #oracle-match-filters {
    gap: 4px !important;
    margin-top: 12px !important;
  }

  .oracle-match-filter {
    min-height: 34px !important;
    border-radius: 10px !important;
    font-size: 7px !important;
  }

  [data-oracle-match-card] {
    flex-basis: 145px !important;
    width: 145px !important;
    min-width: 145px !important;
  }

  /* Game center card: score first, momentum directly after it. */
  .oracle-score-hero {
    min-height: 148px !important;
  }

  .oracle-score-hero > .relative {
    padding: 11px 9px !important;
  }

  .oracle-score-hero img {
    width: 40px !important;
    height: 40px !important;
  }

  .oracle-momentum-panel {
    min-height: 178px !important;
    padding: 12px !important;
  }

  .oracle-momentum-panel .relative.h-\[92px\] {
    height: 104px !important;
  }

  .oracle-gc-tabs {
    top: var(--oracle-mobile-header-h) !important;
    scroll-padding-inline: 8px;
  }

  .oracle-gc-tab {
    min-width: 92px !important;
    min-height: 44px;
  }

  /* Metrics: 2 columns, every number fits without collision. */
  .oracle-feature-panel--metrics > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .oracle-feature-panel--metrics > .grid > * {
    padding: 10px !important;
    min-height: 102px;
  }

  .oracle-metric-value {
    font-size: clamp(16px, 5.5vw, 22px) !important;
  }

  .oracle-metric-compare {
    grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr) !important;
  }

  /* Signals / monitored players: one generous swipe card + preview. */
  .oracle-signals-grid,
  .oracle-watch-grid {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    gap: 8px !important;
    padding-bottom: 2px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .oracle-signals-grid::-webkit-scrollbar,
  .oracle-watch-grid::-webkit-scrollbar {
    display: none;
  }

  .oracle-signal-card,
  .oracle-watch-card {
    flex: 0 0 86% !important;
    width: 86% !important;
    min-width: 86% !important;
    max-width: 86% !important;
    scroll-snap-align: start;
    border-radius: 13px !important;
  }

  /* Tactical area: rink is visually dominant and keeps 2:1 geometry. */
  .oracle-tactical-panel > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  .oracle-rink-shell {
    aspect-ratio: 2 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 26px !important;
  }

  .oracle-rink-badge {
    min-width: 36px;
    padding: 4px 6px;
    font-size: 6px;
  }

  /* Full Players tab: no horizontal table, cards remain thumb-friendly. */
  [data-gc-panel="players"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  [data-gc-panel="players"] > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .oracle-player-position-section button > .grid {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 10px !important;
  }

  .oracle-player-position-section button .col-start-2 {
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
  }

  .oracle-player-position-section button .grid-cols-5 {
    gap: 3px !important;
    border-radius: 10px !important;
    padding: 7px 4px !important;
  }

  .oracle-player-position-section button .grid-cols-5 > div {
    padding-inline: 2px !important;
  }

  .oracle-player-position-section button .grid-cols-5 .text-\[12px\],
  .oracle-player-position-section button .grid-cols-5 .md\:text-\[13px\] {
    font-size: 12px !important;
  }

  /* Bottom nav: larger hit areas, iOS safe area. */
  #oracle-mobile-bottom-nav {
    min-height: calc(var(--oracle-mobile-nav-h) + env(safe-area-inset-bottom, 0px)) !important;
  }

  #oracle-mobile-bottom-nav a,
  #oracle-mobile-bottom-nav button {
    min-height: 48px;
    touch-action: manipulation;
  }
}

@media (max-width: 390px) {
  #oracle-broadcast-hero .oracle-live-title {
    font-size: 30px !important;
  }

  [data-oracle-match-card] {
    flex-basis: 136px !important;
    width: 136px !important;
    min-width: 136px !important;
  }

  .oracle-feature-panel--metrics > .grid > * {
    padding: 9px !important;
  }

  .oracle-metric-value {
    font-size: 17px !important;
  }

  .oracle-signal-card,
  .oracle-watch-card {
    flex-basis: 90% !important;
    width: 90% !important;
    min-width: 90% !important;
    max-width: 90% !important;
  }
}

/* ==========================================================
   HOCKAI ORACLE LIVE V5 — OBSERVATOIRE / MOBILE FIRST POLISH
   ========================================================== */

:root {
  --oracle-v5-cyan: #24ddff;
  --oracle-v5-blue: #168cff;
  --oracle-v5-pink: #ff2f68;
  --oracle-v5-magenta: #c94cff;
  --oracle-v5-gold: #ffc83d;
  --oracle-v5-panel: #071a2d;
  --oracle-v5-panel-2: #061421;
  --oracle-v5-border: rgba(67, 157, 216, .34);
}

/* ---------- 1. HERO / CAROUSEL: spacing sans trou mort ---------- */
#oracle-broadcast-hero {
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 10px !important;
}

#oracle-broadcast-hero > .relative.z-10 {
  padding-top: 30px !important;
  padding-bottom: 16px !important;
}

#oracle-match-filters {
  margin-top: 22px !important;
  margin-bottom: 12px !important;
}

.oracle-carousel-shell {
  margin-top: 2px !important;
  padding: 13px 10px 10px !important;
  border-color: rgba(71, 164, 219, .34) !important;
  background:
    linear-gradient(180deg, rgba(7, 29, 49, .90), rgba(3, 15, 27, .90)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 34px rgba(0,0,0,.18) !important;
}

#live-matches-mini-grid {
  min-height: 108px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  align-items: stretch !important;
}

#oracle-game-center {
  margin-top: 10px !important;
}

/* No legacy module should create a second large block below the carousel. */
#oracle-player-watch:not([data-gc-panel]) {
  display: none !important;
}

/* ---------- 2. MOMENTUM: bigger, readable and visibly live ---------- */
.oracle-momentum-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,47,104,.09), transparent 36%),
    radial-gradient(circle at 10% 90%, rgba(255,200,61,.055), transparent 34%),
    linear-gradient(145deg, #08253f 0%, #061523 100%) !important;
}

.oracle-momentum-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36,221,255,.42), rgba(255,47,104,.35), transparent);
  pointer-events: none;
}

.oracle-momentum-panel .relative.h-\[92px\] {
  height: 126px !important;
  border-color: rgba(76, 154, 207, .24) !important;
  background:
    linear-gradient(180deg, rgba(9, 35, 57, .94), rgba(4, 16, 29, .98)) !important;
  box-shadow: inset 0 0 28px rgba(28, 117, 184, .06);
}

.oracle-momentum-panel svg polyline {
  stroke-width: 3.4 !important;
  filter: drop-shadow(0 0 6px currentColor);
}

.oracle-momentum-panel svg circle {
  r: 4.5px;
}

/* ---------- KEY METRICS: faceoffs can never overflow ---------- */
.oracle-feature-panel--metrics > .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.oracle-feature-panel--metrics > .grid > * {
  min-width: 0 !important;
  overflow: hidden !important;
}

.oracle-metric-card--faceoffs {
  min-width: 0 !important;
}

.oracle-metric-card--faceoffs .oracle-metric-compare {
  grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) !important;
  gap: 3px !important;
}

.oracle-metric-card--faceoffs .oracle-metric-side {
  min-width: 0 !important;
}

.oracle-metric-card--faceoffs .oracle-metric-value {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: clamp(15px, 1.25vw, 22px) !important;
  letter-spacing: -.055em !important;
}

.oracle-metric-card--faceoffs .oracle-metric-side--right .oracle-metric-value {
  text-align: right !important;
}

.oracle-metric-card--faceoffs .oracle-metric-vs {
  font-size: 6px !important;
  padding-bottom: 5px !important;
}

/* ---------- 3. STATS TAB: premium comparison dashboard ---------- */
.oracle-stats-panel-v5 {
  background:
    radial-gradient(circle at 15% 0%, rgba(36,221,255,.055), transparent 30%),
    radial-gradient(circle at 95% 15%, rgba(201,76,255,.055), transparent 32%),
    linear-gradient(180deg, #041422, #020c16) !important;
}

.oracle-stats-dashboard-v5 {
  max-width: 1440px;
  margin: 0 auto;
}

.oracle-stats-dashboard-v5 > div:nth-child(2) {
  border: 1px solid rgba(74, 160, 216, .28) !important;
  background:
    linear-gradient(90deg, rgba(36,221,255,.055), transparent 38%, transparent 62%, rgba(201,76,255,.055)),
    rgba(5, 20, 34, .92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 18px 38px rgba(0,0,0,.17);
}

.oracle-stats-dashboard-v5 > .grid {
  gap: 10px !important;
}

.oracle-stats-dashboard-v5 > .grid > div {
  border-color: rgba(71, 145, 197, .28) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(36,221,255,.06), transparent 40%),
    linear-gradient(155deg, #091f34, #061421) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 24px rgba(0,0,0,.12);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.oracle-stats-dashboard-v5 > .grid > div:hover {
  transform: translateY(-2px);
  border-color: rgba(36,221,255,.42) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.18), 0 0 22px rgba(36,221,255,.045);
}

.oracle-stats-dashboard-v5 .text-cyan-300 {
  color: #55eaff !important;
  text-shadow: 0 0 14px rgba(36,221,255,.15);
}

.oracle-stats-dashboard-v5 .text-purple-300 {
  color: #e08cff !important;
  text-shadow: 0 0 14px rgba(201,76,255,.14);
}

.oracle-stats-dashboard-v5 .h-1\.5 {
  height: 7px !important;
  box-shadow: inset 0 1px 4px rgba(0,0,0,.32);
}

.oracle-stats-dashboard-v5 .bg-cyan-400 {
  background: linear-gradient(90deg, #1fd6f8, #53ecff) !important;
  box-shadow: 0 0 10px rgba(36,221,255,.18);
}

.oracle-stats-dashboard-v5 .bg-purple-400 {
  background: linear-gradient(90deg, #a45cff, #ed78ff) !important;
  box-shadow: 0 0 10px rgba(201,76,255,.16);
}

/* ---------- 4. COMPOSITIONS: jerseys that read as actual team identities ---------- */
.oracle-lineup-player {
  isolation: isolate;
}

.oracle-lineup-player::before {
  content: attr(data-lineup-team);
  position: absolute;
  z-index: 25;
  top: 3px;
  right: max(2px, calc(50% - 53px));
  min-width: 25px;
  padding: 3px 5px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--team-accent) 55%, transparent);
  background: color-mix(in srgb, var(--team-secondary) 86%, #02060c 14%);
  color: var(--team-accent);
  font-size: 6px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .12em;
  box-shadow: 0 5px 14px rgba(0,0,0,.24);
  pointer-events: none;
}

.oracle-jersey-zone {
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.28));
}

.oracle-jersey-body {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 -9px 0 color-mix(in srgb, var(--team-secondary) 82%, transparent),
    0 10px 22px rgba(0,0,0,.30) !important;
}

.oracle-jersey-body::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 15px;
  height: 7px;
  border-top: 2px solid var(--team-accent);
  border-bottom: 2px solid var(--team-secondary);
  opacity: .95;
  z-index: 2;
}

.oracle-jersey-body::after {
  content: attr(data-team);
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 2px 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--team-secondary) 82%, #000 18%);
  color: var(--team-accent);
  border: 1px solid color-mix(in srgb, var(--team-accent) 30%, transparent);
  font-size: 5px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .12em;
}

.oracle-jersey-sleeve {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 6px 16px rgba(0,0,0,.25) !important;
}

.oracle-lineup-player:hover .oracle-jersey-body {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.11),
    inset 0 -9px 0 color-mix(in srgb, var(--team-secondary) 82%, transparent),
    0 12px 30px color-mix(in srgb, var(--team-primary) 20%, rgba(0,0,0,.4)) !important;
}

/* ---------- 5. OBSERVATOIRE ---------- */
.oracle-observatory-launch {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201,76,255,.45);
  background: linear-gradient(100deg, rgba(96,46,190,.38), rgba(255,47,104,.16));
  color: #f4d7ff;
  font-size: 8px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 18px rgba(201,76,255,.08);
  transition: .18s ease;
}
.oracle-observatory-launch:hover {
  transform: translateY(-1px);
  border-color: rgba(230,138,255,.72);
  box-shadow: 0 0 24px rgba(201,76,255,.16);
}
.oracle-observatory-launch b {
  padding: 3px 5px;
  border-radius: 5px;
  background: var(--oracle-v5-pink);
  color: white;
  font-size: 6px;
  letter-spacing: .05em;
}

#oracle-observatory-root {
  display: none;
}
#oracle-observatory-root.is-open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.oracle-observatory-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 12, .82);
  backdrop-filter: blur(11px);
}
.oracle-observatory-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1500px, calc(100vw - 48px));
  max-height: min(88vh, 940px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(81, 163, 221, .38);
  background:
    radial-gradient(circle at 100% 0%, rgba(201,76,255,.09), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(36,221,255,.06), transparent 33%),
    linear-gradient(160deg, #071a2d 0%, #040f1d 72%);
  box-shadow: 0 40px 120px rgba(0,0,0,.56), 0 0 55px rgba(36,221,255,.055);
}
.oracle-observatory-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.oracle-observatory-kicker {
  color: #bc7cff;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.oracle-observatory-header h2 {
  margin-top: 5px;
  color: white;
  font-size: 28px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.035em;
}
.oracle-observatory-header p {
  margin-top: 7px;
  color: #6f8da8;
  font-size: 10px;
  font-weight: 700;
}
.oracle-observatory-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  color: #8ba5bd;
  transition: .18s ease;
}
.oracle-observatory-close:hover {
  color: white;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}
.oracle-observatory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(2, 10, 18, .36);
}
.oracle-observatory-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.oracle-observatory-period {
  min-width: 54px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid rgba(82, 139, 181, .24);
  background: rgba(7, 29, 49, .8);
  color: #7592ad;
  font-size: 8px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.oracle-observatory-period.is-active {
  color: white;
  border-color: rgba(201,76,255,.65);
  background: linear-gradient(90deg, rgba(94,48,194,.62), rgba(255,47,104,.42));
  box-shadow: 0 0 18px rgba(201,76,255,.12);
}
.oracle-observatory-freshness {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5b7893;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.oracle-observatory-freshness span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37ef88;
  box-shadow: 0 0 10px rgba(55,239,136,.65);
}
.oracle-observatory-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 16px 16px;
}
.oracle-observatory-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0 6px;
  color: #dcecff;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.oracle-observatory-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 10px 8px;
  background: #071421;
  color: #5f7c97;
  font-size: 7px;
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.oracle-observatory-table thead th:first-child { text-align: left; }
.oracle-observatory-table tbody tr {
  background: linear-gradient(90deg, rgba(9, 31, 51, .92), rgba(5, 20, 34, .92));
}
.oracle-observatory-table tbody td {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.045);
  border-bottom: 1px solid rgba(255,255,255,.045);
  text-align: center;
  font-weight: 850;
}
.oracle-observatory-table tbody td:first-child {
  border-left: 1px solid rgba(255,255,255,.045);
  border-radius: 11px 0 0 11px;
}
.oracle-observatory-table tbody td:last-child {
  border-right: 1px solid rgba(255,255,255,.045);
  border-radius: 0 11px 11px 0;
}
.oracle-observatory-player-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 205px;
  text-align: left !important;
}
.oracle-observatory-number {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(36,221,255,.07);
  border: 1px solid rgba(36,221,255,.15);
  color: #8feeff;
  font-weight: 1000;
}
.oracle-observatory-player-cell strong { display: block; color: white; font-size: 10px; }
.oracle-observatory-player-cell small { display: block; margin-top: 2px; color: #5e7a93; font-size: 7px; font-weight: 900; }
.oracle-observatory-team {
  display: inline-flex;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255,200,61,.09);
  border: 1px solid rgba(255,200,61,.16);
  color: #ffd95a;
  font-size: 8px;
  font-weight: 1000;
}
.oracle-trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 76px;
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 7px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.oracle-trend--up { color: #63f3a2; background: rgba(47,220,127,.08); border: 1px solid rgba(47,220,127,.15); }
.oracle-trend--down { color: #ff6c83; background: rgba(255,47,104,.08); border: 1px solid rgba(255,47,104,.16); }
.oracle-trend--stable { color: #83a1ba; background: rgba(116,147,174,.07); border: 1px solid rgba(116,147,174,.12); }
.oracle-observatory-mobile-list { display: none; }
.oracle-observatory-footer {
  padding: 11px 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  background: rgba(0,0,0,.14);
  color: #557189;
  font-size: 8px;
  line-height: 1.5;
}
.oracle-observatory-footer i { color: var(--oracle-v5-cyan); margin-right: 5px; }
.oracle-observatory-empty {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}
.oracle-observatory-empty i { color: #77559f; font-size: 30px; }
.oracle-observatory-empty strong { margin-top: 12px; color: white; font-size: 14px; }
.oracle-observatory-empty p { margin-top: 6px; max-width: 440px; color: #5f7b94; font-size: 10px; line-height: 1.6; }
.oracle-observatory-open { overflow: hidden !important; }

/* ---------- PLAYERS: headers line up with values ---------- */
@media (min-width: 1280px) {
  .oracle-player-position-section button > .grid,
  .oracle-player-columns {
    grid-template-columns: 44px minmax(132px,1fr) 86px minmax(220px,.95fr) 24px !important;
    column-gap: 10px !important;
  }

  .oracle-player-position-section button .grid-cols-5,
  .oracle-player-columns > .grid-cols-5 {
    grid-template-columns: 42px 42px 50px 50px minmax(72px,1fr) !important;
    gap: 0 !important;
  }

  .oracle-player-position-section button .grid-cols-5 > div,
  .oracle-player-columns > .grid-cols-5 > span {
    min-width: 0 !important;
    text-align: center !important;
  }
}

/* ---------- RESPONSIVE / PHONE ---------- */
@media (max-width: 767px) {
  body {
    background: #020b15 !important;
  }

  #tab-live {
    padding-left: 7px !important;
    padding-right: 7px !important;
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #oracle-broadcast-hero {
    border-radius: 15px !important;
    margin-top: 5px !important;
    margin-bottom: 8px !important;
  }

  #oracle-broadcast-hero > .relative.z-10 {
    padding: 18px 10px 11px !important;
  }

  #oracle-match-filters {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(max-content, 1fr));
    width: 100%;
    gap: 5px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    overflow-x: auto !important;
  }

  .oracle-match-filter {
    min-width: 78px !important;
    padding: 8px 9px !important;
    border-radius: 999px !important;
    justify-content: center;
  }

  .oracle-carousel-shell {
    margin-top: 0 !important;
    padding: 10px 8px 8px !important;
    border-radius: 13px !important;
  }

  #live-matches-mini-grid {
    min-height: 103px !important;
    gap: 7px !important;
  }

  [data-oracle-match-card] {
    flex-basis: min(78vw, 248px) !important;
    width: min(78vw, 248px) !important;
    min-width: min(78vw, 248px) !important;
    min-height: 101px !important;
    scroll-snap-align: center !important;
  }

  #oracle-game-center {
    margin-top: 8px !important;
  }

  .oracle-score-grid {
    gap: 7px !important;
  }

  .oracle-momentum-panel {
    min-height: 198px !important;
  }

  .oracle-momentum-panel .relative.h-\[92px\] {
    height: 126px !important;
  }

  .oracle-overview-dashboard {
    padding: 8px !important;
    gap: 8px !important;
  }

  .oracle-feature-panel,
  .oracle-events-panel,
  .oracle-tactical-panel {
    border-radius: 14px !important;
  }

  .oracle-feature-panel--metrics > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .oracle-feature-panel--metrics > .grid > * {
    min-height: 104px !important;
    padding: 10px !important;
  }

  .oracle-metric-card--faceoffs .oracle-metric-value {
    font-size: clamp(15px, 5vw, 20px) !important;
  }

  .oracle-metric-card--faceoffs .oracle-metric-compare {
    grid-template-columns: minmax(0, 1fr) 9px minmax(0, 1fr) !important;
  }

  /* Stats become stacked comparison strips, much easier to scan with one thumb. */
  [data-gc-panel="stats"] {
    padding: 13px 9px 18px !important;
  }

  .oracle-stats-dashboard-v5 > .grid {
    grid-template-columns: 1fr !important;
  }

  .oracle-stats-dashboard-v5 > .grid > div {
    padding: 14px !important;
    min-height: 128px;
  }

  .oracle-stats-dashboard-v5 .text-2xl,
  .oracle-stats-dashboard-v5 .md\:text-3xl {
    font-size: 24px !important;
  }

  /* Lineups: larger identity difference on small screens. */
  .oracle-lineup-player::before {
    right: max(0px, calc(50% - 47px));
    top: 2px;
  }

  .oracle-jersey-zone {
    transform: scale(.94);
    transform-origin: center bottom;
  }

  /* Observatory is a native-feeling bottom sheet on phone. */
  .oracle-observatory-modal {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .oracle-observatory-header {
    padding: 18px 15px 13px;
  }

  .oracle-observatory-header::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 44px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
  }

  .oracle-observatory-header h2 { font-size: 23px; }
  .oracle-observatory-header p { font-size: 8px; max-width: 255px; }
  .oracle-observatory-close { width: 38px; height: 38px; }

  .oracle-observatory-toolbar {
    align-items: flex-start;
    padding: 10px 12px;
    overflow: hidden;
  }

  .oracle-observatory-periods {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .oracle-observatory-periods::-webkit-scrollbar { display: none; }
  .oracle-observatory-period { min-width: 55px; flex: 0 0 auto; }
  .oracle-observatory-freshness { display: none; }
  .oracle-observatory-table-wrap { display: none; }

  .oracle-observatory-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 10px 14px;
    overflow-y: auto;
    min-height: 0;
  }

  .oracle-observatory-mobile-card {
    border-radius: 15px;
    border: 1px solid rgba(75, 151, 205, .26);
    background:
      radial-gradient(circle at 100% 0%, rgba(201,76,255,.055), transparent 38%),
      linear-gradient(145deg, #09223a, #061522);
    padding: 12px;
  }

  .oracle-observatory-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255,255,255,.055);
  }
  .oracle-observatory-mobile-head > div { min-width: 0; }
  .oracle-observatory-mobile-head > div span {
    display: block;
    color: #66839d;
    font-size: 7px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .oracle-observatory-mobile-head > div strong {
    display: block;
    margin-top: 3px;
    color: white;
    font-size: 12px;
    font-weight: 1000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .oracle-observatory-mobile-head .oracle-trend { min-width: 68px; }

  .oracle-observatory-mobile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-top: 9px;
  }
  .oracle-observatory-mobile-metric {
    min-width: 0;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.045);
    background: rgba(0,0,0,.16);
    padding: 7px 4px;
    text-align: center;
  }
  .oracle-observatory-mobile-metric span {
    display: block;
    min-height: 17px;
    color: #58738d;
    font-size: 6px;
    line-height: 1.25;
    font-weight: 950;
    text-transform: uppercase;
  }
  .oracle-observatory-mobile-metric strong {
    display: block;
    margin-top: 4px;
    color: white;
    font-size: 12px;
    font-weight: 1000;
    font-variant-numeric: tabular-nums;
  }
  .oracle-observatory-mobile-metric.is-accent strong { color: #68e9ff; }

  .oracle-observatory-footer {
    padding: 9px 12px;
    font-size: 7px;
  }

  .oracle-observatory-launch {
    width: 100%;
    min-height: 42px;
    margin-top: 2px;
  }

  /* Timeline cards retain breathing room above the bottom navigation. */
  [data-gc-panel="timeline"] > div {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 390px) {
  #oracle-broadcast-hero > .relative.z-10 { padding-inline: 8px !important; }
  .oracle-match-filter { min-width: 72px !important; font-size: 6.5px !important; }
  [data-oracle-match-card] {
    flex-basis: 82vw !important;
    width: 82vw !important;
    min-width: 82vw !important;
  }
  .oracle-feature-panel--metrics > .grid > * { padding: 9px !important; }
  .oracle-metric-card--faceoffs .oracle-metric-value { font-size: 16px !important; }
  .oracle-observatory-mobile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ======================================================================
   HOCKAI ORACLE LIVE V6 — VISUAL INTELLIGENCE / MOBILE FIRST
   ====================================================================== */
:root {
  --oracle-v6-ink: #03101d;
  --oracle-v6-panel: #061828;
  --oracle-v6-panel-2: #082039;
  --oracle-v6-line: rgba(91, 185, 255, .18);
  --oracle-v6-cyan: #27e4ff;
  --oracle-v6-blue: #2c8cff;
  --oracle-v6-pink: #ff356f;
  --oracle-v6-violet: #b75cff;
  --oracle-v6-green: #38f08f;
  --oracle-v6-yellow: #ffd13d;
}

/* Carousel: less dead air, clearer categories, premium swipe surface */
.oracle-carousel-shell {
  position: relative;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 219, 255, .08), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(184, 91, 255, .06), transparent 38%),
    linear-gradient(180deg, rgba(5, 24, 40, .92), rgba(3, 15, 27, .96)) !important;
  border-color: rgba(62, 172, 239, .22) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 18px 48px rgba(0,0,0,.18);
}
#live-matches-mini-grid:empty { min-height: 0 !important; }
.oracle-v6-empty-carousel {
  width: 100%; min-height: 88px; display: flex; align-items: center; justify-content: center;
  gap: 10px; color: #6686a4; font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em;
}
.oracle-v6-empty-carousel i { color: #4e6d88; font-size: 15px; }
.oracle-finished-card { opacity: .96; }
.oracle-finished-card:hover { box-shadow: 0 12px 35px rgba(39,228,255,.08); }

/* ========================= STATS CENTER V6 ========================== */
[data-gc-panel="stats"].oracle-stats-panel-v6 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 4%, rgba(39, 228, 255, .07), transparent 28%),
    radial-gradient(circle at 98% 8%, rgba(183, 92, 255, .08), transparent 30%),
    linear-gradient(180deg, #041321 0%, #03101b 100%) !important;
}
[data-gc-panel="stats"].oracle-stats-panel-v6::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: linear-gradient(rgba(107,180,231,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(107,180,231,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}
.oracle-stats-dashboard-v5 { position: relative; z-index: 1; }

.oracle-v6-stats-intelligence {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr); gap: 18px;
  align-items: center; margin-bottom: 18px; padding: 20px 22px; border-radius: 22px;
  border: 1px solid rgba(66, 188, 255, .24);
  background:
    radial-gradient(circle at 8% 40%, rgba(39, 228, 255, .11), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(183, 92, 255, .10), transparent 36%),
    linear-gradient(135deg, rgba(8, 38, 62, .95), rgba(6, 22, 41, .98));
  box-shadow: 0 18px 55px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
}
.oracle-v6-stats-intelligence-copy > span {
  display: inline-flex; align-items: center; gap: 8px; color: #61eaff; font-size: 8px;
  font-weight: 1000; letter-spacing: .16em; text-transform: uppercase;
}
.oracle-v6-stats-intelligence-copy > span i { color: #c266ff; }
.oracle-v6-stats-intelligence-copy h4 {
  margin-top: 7px; color: white; font-size: clamp(18px, 2vw, 26px); line-height: 1.05;
  font-weight: 1000; letter-spacing: -.03em;
}
.oracle-v6-stats-intelligence-copy p { margin-top: 7px; max-width: 680px; color: #7f9db8; font-size: 10px; line-height: 1.55; font-weight: 650; }
.oracle-v6-pressure-dial { display: grid; grid-template-columns: 72px 1fr 72px; gap: 10px; align-items: center; }
.oracle-v6-pressure-dial > div { text-align: center; }
.oracle-v6-pressure-dial strong { display: block; color: white; font-size: 20px; line-height: 1; font-weight: 1000; font-variant-numeric: tabular-nums; }
.oracle-v6-pressure-dial > div:first-child strong { color: #55e9ff; }
.oracle-v6-pressure-dial > div:last-child strong { color: #df7aff; }
.oracle-v6-pressure-dial small { display: block; margin-top: 5px; color: #5e7a94; font-size: 7px; font-weight: 1000; letter-spacing: .1em; }
.oracle-v6-pressure-dial > span { position: relative; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.oracle-v6-pressure-dial > span i { position: absolute; inset: 3px; border-radius: inherit; background: linear-gradient(90deg, #21dff8 0 var(--away), #27384b var(--away) calc(100% - var(--home)), #ce63ff calc(100% - var(--home)) 100%); box-shadow: 0 0 20px rgba(44,140,255,.13); }

/* Main score slab */
.oracle-stats-dashboard-v5 > div:nth-child(3) {
  border-color: rgba(83, 180, 245, .2) !important;
  background:
    radial-gradient(circle at 0% 50%, rgba(39,228,255,.09), transparent 35%),
    radial-gradient(circle at 100% 50%, rgba(214,84,255,.10), transparent 35%),
    linear-gradient(90deg, #071b2c, #081223 50%, #13112b) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.03);
}

/* Four primary metric cards */
.oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div {
  min-height: 184px;
  border-color: rgba(80, 164, 223, .18) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 155, 255, .07), transparent 38%),
    linear-gradient(155deg, rgba(8,35,57,.96), rgba(5,20,35,.98)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 10px 32px rgba(0,0,0,.12);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div:hover {
  transform: translateY(-2px); border-color: rgba(56, 214, 255, .38) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.22), 0 0 26px rgba(39,228,255,.04);
}
.oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div:nth-child(2) { background: radial-gradient(circle at 100% 0%, rgba(255,209,61,.07), transparent 38%), linear-gradient(155deg, rgba(8,35,57,.96), rgba(5,20,35,.98)) !important; }
.oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div:nth-child(3) { background: radial-gradient(circle at 100% 0%, rgba(183,92,255,.10), transparent 38%), linear-gradient(155deg, rgba(9,31,56,.96), rgba(13,18,42,.98)) !important; }
.oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div:nth-child(4) { background: radial-gradient(circle at 100% 0%, rgba(255,53,111,.08), transparent 38%), linear-gradient(155deg, rgba(8,31,52,.96), rgba(31,14,32,.98)) !important; }
.oracle-stats-dashboard-v5 .text-2xl, .oracle-stats-dashboard-v5 .md\:text-3xl { font-variant-numeric: tabular-nums; letter-spacing: -.045em; }

/* Territorial pressure block */
.oracle-stats-dashboard-v5 > div.mt-4.relative.overflow-hidden.rounded-2xl {
  border-color: rgba(49, 218, 255, .20) !important;
  background: linear-gradient(120deg, rgba(4,28,45,.98), rgba(10,20,41,.98)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}

/* Secondary stat strips */
.oracle-stats-dashboard-v5 > div.mt-4.grid.grid-cols-1.md\:grid-cols-2 > div {
  padding: 14px 16px !important; border-radius: 14px !important;
  border: 1px solid rgba(82, 151, 201, .13) !important;
  background: linear-gradient(90deg, rgba(6,29,47,.92), rgba(8,20,36,.95)) !important;
}

.oracle-mini-help {
  width: 17px; height: 17px; margin-left: 6px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(84, 202, 255, .28); background: rgba(39,228,255,.07);
  color: #72deff; font-size: 8px; line-height: 1; font-weight: 1000; vertical-align: middle; cursor: pointer;
  transition: .15s ease;
}
.oracle-mini-help:hover, .oracle-mini-help:focus-visible { color: white; border-color: rgba(95,220,255,.6); background: rgba(39,228,255,.14); box-shadow: 0 0 15px rgba(39,228,255,.12); outline: none; }

/* ========================= OBSERVATORY V6 ========================== */
.oracle-observatory-v6 { max-width: 1680px; }
.oracle-v6-period-explainer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 24px; border-bottom: 1px solid rgba(255,255,255,.045);
  background: linear-gradient(90deg, rgba(39,228,255,.045), rgba(183,92,255,.035));
}
.oracle-v6-period-explainer > div { display: flex; align-items: center; gap: 8px; color: #7997b1; font-size: 9px; font-weight: 750; }
.oracle-v6-period-explainer > div i { color: #5edff7; }
.oracle-v6-period-explainer > strong { color: #e4c7ff; font-size: 9px; font-weight: 1000; text-transform: uppercase; letter-spacing: .07em; }
.oracle-observatory-period { display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.oracle-observatory-period i { font-size: 6px; opacity: .75; }
.oracle-observatory-period.is-active { background: linear-gradient(100deg, rgba(41,181,255,.45), rgba(174,67,255,.56), rgba(255,53,111,.34)); border-color: rgba(122,206,255,.5); }
.oracle-observatory-table { min-width: 1320px; }
.oracle-observatory-table tbody tr { transition: transform .14s ease, filter .14s ease; }
.oracle-observatory-table tbody tr:hover { filter: brightness(1.12); }
.oracle-observatory-table tbody td.oracle-toi-cell { color: #66f0aa; font-weight: 1000; }
.oracle-v6-player-scoreline { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding: 7px 9px; border-radius: 10px; background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.04); }
.oracle-v6-player-scoreline b { color: white; font-size: 10px; }
.oracle-v6-player-scoreline span { color: #7895ae; font-size: 8px; font-weight: 850; }
.oracle-v6-player-scoreline em { margin-left: auto; color: #62efab; font-size: 9px; font-style: normal; font-weight: 1000; }

/* ========================= HOCKEY GLOSSARY ========================== */
#oracle-term-help-root { position: fixed; inset: 0; z-index: 10080; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
#oracle-term-help-root.is-open { pointer-events: auto; opacity: 1; }
.oracle-term-backdrop { position: absolute; inset: 0; background: rgba(0,5,12,.73); backdrop-filter: blur(8px); }
.oracle-term-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(92vw, 470px);
  border-radius: 22px; border: 1px solid rgba(69,197,255,.28); padding: 24px;
  background: radial-gradient(circle at 100% 0%, rgba(183,92,255,.12), transparent 38%), linear-gradient(145deg, #08233a, #061421 72%);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 45px rgba(39,228,255,.07);
}
.oracle-term-close { position: absolute; top: 13px; right: 13px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); color: #8ba5bd; background: rgba(0,0,0,.18); }
.oracle-term-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: rgba(39,228,255,.08); border: 1px solid rgba(39,228,255,.18); color: #49e7ff; }
.oracle-term-card small { display: block; margin-top: 15px; color: #b96bff; font-size: 8px; font-weight: 1000; letter-spacing: .16em; }
.oracle-term-card h3 { margin-top: 5px; color: white; font-size: 22px; line-height: 1.05; font-weight: 1000; }
.oracle-term-card p { margin-top: 11px; color: #8aa6be; font-size: 11px; line-height: 1.7; font-weight: 650; }

/* Driver V6 */
.driver-popover.oracle-live-tutorial-v6 { border: 1px solid rgba(55,199,255,.27); background: linear-gradient(145deg, #082039, #071321) !important; color: white; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.driver-popover.oracle-live-tutorial-v6 .driver-popover-title { color: white; font-weight: 1000; }
.driver-popover.oracle-live-tutorial-v6 .driver-popover-description { color: #9bb2c7; line-height: 1.6; }
.driver-popover.oracle-live-tutorial-v6 button { border-radius: 9px !important; font-weight: 900 !important; }

@media (max-width: 900px) {
  .oracle-v6-stats-intelligence { grid-template-columns: 1fr; padding: 16px; }
  .oracle-v6-pressure-dial { max-width: 460px; width: 100%; }
}

@media (max-width: 767px) {
  #oracle-broadcast-hero { margin-top: 10px !important; }
  #oracle-match-filters { margin-top: 14px !important; }
  .oracle-carousel-shell { padding-top: 11px !important; padding-bottom: 10px !important; }
  #live-matches-mini-grid { min-height: 98px !important; }

  [data-gc-panel="stats"].oracle-stats-panel-v6 { padding: 9px 8px 20px !important; }
  .oracle-v6-stats-intelligence { margin-bottom: 10px; border-radius: 17px; padding: 14px; gap: 14px; }
  .oracle-v6-stats-intelligence-copy h4 { font-size: 18px; }
  .oracle-v6-stats-intelligence-copy p { font-size: 9px; }
  .oracle-v6-pressure-dial { grid-template-columns: 60px 1fr 60px; gap: 7px; }
  .oracle-v6-pressure-dial strong { font-size: 17px; }

  .oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 7px !important; }
  .oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div { min-height: 154px !important; padding: 12px !important; border-radius: 15px !important; }
  .oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div .text-2xl { font-size: 20px !important; }
  .oracle-stats-dashboard-v5 > div.mt-4.grid.grid-cols-1.md\:grid-cols-2 { gap: 6px !important; }
  .oracle-stats-dashboard-v5 > div.mt-4.grid.grid-cols-1.md\:grid-cols-2 > div { padding: 11px 12px !important; }

  .oracle-v6-period-explainer { align-items: flex-start; flex-direction: column; gap: 6px; padding: 9px 12px; }
  .oracle-v6-period-explainer > div { font-size: 8px; line-height: 1.45; }
  .oracle-v6-period-explainer > strong { font-size: 7px; }
  .oracle-observatory-toolbar { padding-block: 8px; }
  .oracle-observatory-period { min-width: 61px; min-height: 34px; }
  .oracle-v6-player-scoreline { margin-top: 8px; }

  .oracle-term-card { top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); border-radius: 22px; padding: 20px 18px 22px; }
  .oracle-term-card h3 { font-size: 19px; }
  .oracle-term-card p { font-size: 10px; }
}

@media (max-width: 390px) {
  .oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] { grid-template-columns: 1fr 1fr !important; }
  .oracle-stats-dashboard-v5 > div[class*="xl:grid-cols-4"] > div { min-height: 148px !important; padding: 10px !important; }
  .oracle-v6-pressure-dial { grid-template-columns: 52px 1fr 52px; }
  .oracle-v6-pressure-dial strong { font-size: 15px; }
  .oracle-observatory-mobile-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ============================================================================
   ORACLE LIVE V7 — HISTORY / TEAM STATS / ICE VISION
   ============================================================================ */

/* ---------- History date navigator ---------- */
.oracle-history-tools {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 9px 18px 0;
  padding: 10px 12px;
  border: 1px solid rgba(73, 193, 255, .16);
  border-radius: 15px;
  background:
    radial-gradient(circle at 8% 0%, rgba(49, 217, 255, .08), transparent 34%),
    linear-gradient(115deg, rgba(5, 27, 45, .92), rgba(7, 17, 31, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.oracle-history-tools.is-visible { display: flex; animation: oracleV7Reveal .18s ease both; }
.oracle-history-tools.is-loading { opacity: .7; pointer-events: none; }
.oracle-history-tools__copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.oracle-history-tools__copy > i {
  width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 10px; color: #61e9ff; background: rgba(34, 208, 255, .08);
  border: 1px solid rgba(57, 216, 255, .17); box-shadow: 0 0 18px rgba(42, 207, 255, .06);
}
.oracle-history-tools__copy div { min-width: 0; }
.oracle-history-tools__copy strong { display: block; color: #eefaff; font-size: 9px; font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; }
.oracle-history-tools__copy span { display: block; margin-top: 2px; color: #6689a5; font-size: 8px; font-weight: 800; text-transform: capitalize; }
.oracle-history-tools__actions { display: flex; align-items: center; gap: 6px; }
.oracle-history-quick, .oracle-history-icon, .oracle-history-date-wrap {
  height: 34px; border-radius: 10px; border: 1px solid rgba(92, 150, 191, .16);
  background: rgba(2, 13, 24, .72); color: #87a7c0; font-size: 8px; font-weight: 950;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.oracle-history-quick { display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; text-transform: uppercase; letter-spacing: .04em; }
.oracle-history-quick.is-active { color: white; border-color: rgba(67, 219, 255, .36); background: linear-gradient(100deg, rgba(22, 174, 238, .22), rgba(143, 72, 255, .22)); box-shadow: 0 0 20px rgba(45, 183, 255, .07); }
.oracle-history-icon { width: 34px; display: grid; place-items: center; }
.oracle-history-icon:hover, .oracle-history-quick:hover { transform: translateY(-1px); color: white; border-color: rgba(82, 210, 255, .34); }
.oracle-history-date-wrap { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 9px; cursor: pointer; }
.oracle-history-date-wrap > i { color: #c77aff; }
.oracle-history-date-wrap input { width: 118px; color: #dcefff; background: transparent; border: 0; outline: 0; font: inherit; color-scheme: dark; cursor: pointer; }
@keyframes oracleV7Reveal { from { opacity:0; transform: translateY(-5px); } to { opacity:1; transform:none; } }

/* ---------- Dynamic team identity inside MATCH STATS ---------- */
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 > .bg-cyan-400,
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 .bg-cyan-400 {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--oracle-away-primary) 74%, white 26%),
    var(--oracle-away-primary)) !important;
  box-shadow: 0 0 12px rgba(var(--oracle-away-rgb), .24) !important;
}
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 > .bg-purple-400,
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 .bg-purple-400 {
  background: linear-gradient(90deg,
    var(--oracle-home-primary),
    color-mix(in srgb, var(--oracle-home-primary) 74%, white 26%)) !important;
  box-shadow: 0 0 12px rgba(var(--oracle-home-rgb), .24) !important;
}
.oracle-stats-panel-v7 .oracle-v6-pressure-dial > div:first-child strong { color: var(--oracle-away-primary) !important; text-shadow: 0 0 15px rgba(var(--oracle-away-rgb), .16); }
.oracle-stats-panel-v7 .oracle-v6-pressure-dial > div:last-child strong { color: var(--oracle-home-primary) !important; text-shadow: 0 0 15px rgba(var(--oracle-home-rgb), .16); }
.oracle-stats-panel-v7 .oracle-v6-pressure-dial > span i {
  background: linear-gradient(90deg,
    var(--oracle-away-primary) 0 var(--away),
    #27384b var(--away) calc(100% - var(--home)),
    var(--oracle-home-primary) calc(100% - var(--home)) 100%) !important;
}
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 > div:nth-child(3) {
  background:
    radial-gradient(circle at 0% 50%, rgba(var(--oracle-away-rgb), .14), transparent 34%),
    radial-gradient(circle at 100% 50%, rgba(var(--oracle-home-rgb), .14), transparent 34%),
    linear-gradient(90deg, #071725, #071321 50%, #0a1323) !important;
}
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 > div.mt-4.relative.overflow-hidden.rounded-2xl {
  border-color: color-mix(in srgb, var(--oracle-away-primary) 50%, var(--oracle-home-primary) 50%) !important;
}

/* ---------- ICE VISION small rink ---------- */
.oracle-rink-shell-v7 {
  position: relative;
  aspect-ratio: 200 / 85 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(104, 210, 255, .28) !important;
  background: linear-gradient(145deg, #061625, #071c2c) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.25), 0 0 35px rgba(63, 201, 255, .045), inset 0 1px rgba(255,255,255,.04);
  cursor: zoom-in;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.oracle-rink-shell-v7:hover { transform: translateY(-2px); border-color: rgba(98, 225, 255, .5) !important; box-shadow: 0 22px 55px rgba(0,0,0,.3), 0 0 40px rgba(62, 217, 255, .08); }
.oracle-rink-shell-v7:focus-visible { outline: 2px solid #4ceaff; outline-offset: 3px; }
.oracle-rink-v7-svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.15)); }
.oracle-rink-v7-overlay {
  position: absolute; left: 10px; right: 10px; top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  pointer-events: none; color: #dff7ff; font-size: 7px; font-weight: 1000; letter-spacing: .05em; text-transform: uppercase;
}
.oracle-rink-v7-overlay > div { display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 999px; background: rgba(2,13,24,.54); backdrop-filter: blur(6px); }
.oracle-rink-v7-overlay > div > span { width: 7px; height: 7px; border-radius: 50%; background: var(--team); box-shadow: 0 0 10px var(--team); }
.oracle-rink-v7-overlay > strong { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: rgba(5,18,31,.72); border: 1px solid rgba(255,255,255,.12); color: white; }
.oracle-rink-v7-live { position: absolute; right: 10px; bottom: 8px; display: flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 999px; background: rgba(3,14,25,.68); color: #6e8ca6; font-size: 6px; font-weight: 900; pointer-events: none; }
.oracle-rink-v7-live i, .oracle-rink-auto i { width: 5px; height: 5px; border-radius: 50%; background: #35f59c; box-shadow: 0 0 10px #35f59c; animation: oracleRinkStatus 1.8s ease-in-out infinite; }
@keyframes oracleRinkStatus { 0%,100%{ opacity:.45; transform:scale(.8);} 50%{opacity:1; transform:scale(1.25);} }
.oracle-rink-event { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: filter .15s ease, opacity .15s ease; }
.oracle-rink-event:hover, .oracle-rink-event.is-focus { filter: drop-shadow(0 0 11px rgba(255,255,255,.9)); }
.oracle-rink-event.is-focus circle:nth-child(2) { stroke-width: 5; }
.oracle-rink-event.is-latest circle:first-child { animation: oracleRinkPulse 1.5s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.oracle-rink-event--goal circle:first-child { animation: oracleGoalPulse 1.35s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes oracleRinkPulse { 0%{opacity:.28; transform:scale(.7)} 70%{opacity:.02; transform:scale(2.05)} 100%{opacity:0; transform:scale(2.25)} }
@keyframes oracleGoalPulse { 0%{opacity:.4; transform:scale(.8)} 80%{opacity:.02; transform:scale(2.4)} 100%{opacity:0; transform:scale(2.5)} }

/* ---------- Fullscreen rink modal ---------- */
html.oracle-rink-modal-open, html.oracle-rink-modal-open body { overflow: hidden !important; }
#oracle-rink-v7-root { position: fixed; inset: 0; z-index: 10150; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
#oracle-rink-v7-root.is-open { opacity: 1; pointer-events: auto; }
.oracle-rink-modal-backdrop { position: absolute; inset: 0; background: rgba(0,5,12,.82); backdrop-filter: blur(13px) saturate(1.25); }
.oracle-rink-modal {
  position: absolute; inset: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 26px;
  border: 1px solid rgba(71, 200, 255, .3);
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 211, 255, .09), transparent 30%),
    radial-gradient(circle at 96% 8%, rgba(181, 83, 255, .09), transparent 30%),
    linear-gradient(145deg, #061727, #050e19 72%);
  box-shadow: 0 35px 110px rgba(0,0,0,.64), 0 0 80px rgba(31, 196, 255, .06);
}
.oracle-rink-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px 14px; border-bottom: 1px solid rgba(255,255,255,.055); }
.oracle-rink-modal-head small { display: flex; align-items: center; gap: 7px; color: #56eaff; font-size: 7px; font-weight: 1000; letter-spacing: .15em; }
.oracle-rink-modal-head h2 { margin-top: 4px; color: white; font-size: clamp(22px, 3vw, 38px); line-height: 1; font-weight: 1000; letter-spacing: -.045em; }
.oracle-rink-modal-head h2 span { color: #587188; font-size: .45em; text-transform: uppercase; letter-spacing: .06em; }
.oracle-rink-modal-head p { margin-top: 7px; color: #6987a0; font-size: 9px; font-weight: 650; }
.oracle-rink-modal-head > button { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); color: #9bb2c6; background: rgba(0,0,0,.2); transition: .15s ease; }
.oracle-rink-modal-head > button:hover { color: white; border-color: rgba(255,80,116,.38); background: rgba(255,50,91,.09); }
.oracle-rink-modal-toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,.045); background: rgba(0,0,0,.08); }
.oracle-rink-team-key { display: flex; align-items: center; gap: 6px; color: #91abc0; font-size: 8px; font-weight: 1000; }
.oracle-rink-team-key span { width: 8px; height: 8px; border-radius: 50%; margin-left: 5px; background: var(--team); box-shadow: 0 0 10px var(--team); }
.oracle-rink-filters { display: flex; align-items: center; gap: 5px; margin: 0 auto; }
.oracle-rink-filters button { min-height: 31px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(101,146,179,.15); background: rgba(4,17,29,.72); color: #7895ad; font-size: 7px; font-weight: 1000; text-transform: uppercase; letter-spacing: .05em; }
.oracle-rink-filters button.is-active { color: white; border-color: rgba(84,212,255,.38); background: linear-gradient(105deg, rgba(30,181,245,.24), rgba(165,72,255,.25)); box-shadow: 0 0 20px rgba(49,194,255,.06); }
.oracle-rink-auto { display: flex; align-items: center; gap: 6px; color: #6687a1; font-size: 7px; font-weight: 900; white-space: nowrap; }
.oracle-rink-modal-grid { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .55fr); gap: 12px; padding: 12px; }
.oracle-rink-stage { min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 20px; border: 1px solid rgba(80,179,229,.14); background: radial-gradient(circle at 50% 50%, rgba(33,179,238,.07), transparent 50%), #04111d; }
.oracle-rink-v7-svg.is-large { width: min(100%, 1280px); height: auto; max-height: 100%; }
.oracle-rink-stage-hint { position: absolute; left: 12px; bottom: 11px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; background: rgba(2,12,21,.7); color: #6f8ba3; font-size: 7px; font-weight: 850; pointer-events: none; }
.oracle-rink-feed { min-height: 0; display: flex; flex-direction: column; border-radius: 20px; border: 1px solid rgba(86,159,206,.13); background: rgba(5,18,31,.8); overflow: hidden; }
.oracle-rink-feed-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; border-bottom: 1px solid rgba(255,255,255,.05); }
.oracle-rink-feed-head strong { color: white; font-size: 9px; font-weight: 1000; text-transform: uppercase; letter-spacing: .07em; }
.oracle-rink-feed-head span { min-width: 23px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: #65e6ff; background: rgba(35,198,255,.08); border: 1px solid rgba(54,205,255,.13); font-size: 7px; font-weight: 1000; }
.oracle-rink-feed-scroll { overflow-y: auto; padding: 7px; scrollbar-width: thin; scrollbar-color: #1edfff transparent; }
.oracle-rink-feed-item { width: 100%; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 9px; padding: 10px 9px; border-radius: 11px; text-align: left; border: 1px solid transparent; background: transparent; transition: .15s ease; }
.oracle-rink-feed-item:hover, .oracle-rink-feed-item.is-focus { background: rgba(43,157,217,.07); border-color: rgba(74,189,242,.14); }
.oracle-rink-feed-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--event-color); box-shadow: 0 0 10px var(--event-color); }
.oracle-rink-feed-item strong { display: block; overflow: hidden; color: #e8f6ff; font-size: 8px; font-weight: 950; white-space: nowrap; text-overflow: ellipsis; }
.oracle-rink-feed-item small { display: block; margin-top: 3px; color: #58748c; font-size: 7px; font-weight: 750; }
.oracle-rink-feed-item > b { color: #d6e9f7; font-size: 8px; font-weight: 1000; font-variant-numeric: tabular-nums; }
.oracle-rink-feed-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #536e85; text-align: center; }
.oracle-rink-feed-empty i { font-size: 20px; color: #35566e; }
.oracle-rink-feed-empty strong { font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.oracle-rink-modal-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(88vw, 360px); padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; border-radius: 20px; border: 1px solid rgba(71,194,249,.25); background: #061727; color: white; box-shadow: 0 25px 80px rgba(0,0,0,.5); text-align: center; }
.oracle-rink-modal-loading > i { color: #54e8ff; font-size: 25px; animation: oraclePuckSpin 1.1s linear infinite; }
.oracle-rink-modal-loading strong { font-size: 10px; font-weight: 1000; text-transform: uppercase; letter-spacing: .07em; }
.oracle-rink-modal-loading button { margin-top: 3px; padding: 8px 13px; border-radius: 9px; background: rgba(255,255,255,.06); color: white; font-size: 8px; font-weight: 900; }
@keyframes oraclePuckSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .oracle-rink-modal-grid { grid-template-columns: 1fr; grid-template-rows: minmax(250px, 1.2fr) minmax(190px, .8fr); }
  .oracle-rink-feed { min-height: 180px; }
}

@media (max-width: 767px) {
  .oracle-history-tools { margin: 7px 8px 0; padding: 8px; flex-direction: column; align-items: stretch; gap: 8px; border-radius: 13px; }
  .oracle-history-tools__copy > i { width: 28px; height: 28px; }
  .oracle-history-tools__actions { display: grid; grid-template-columns: auto 34px minmax(0,1fr) 34px; gap: 5px; }
  .oracle-history-date-wrap { min-width: 0; }
  .oracle-history-date-wrap input { min-width: 0; width: 100%; font-size: 8px; }
  .oracle-history-quick { padding-inline: 9px; justify-content: center; }

  .oracle-rink-shell-v7 { border-radius: 16px !important; }
  .oracle-rink-v7-overlay { left: 7px; right: 7px; top: 6px; }
  .oracle-rink-v7-overlay > strong span { display: none; }
  .oracle-rink-v7-live { display: none; }

  .oracle-rink-modal { inset: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .oracle-rink-modal-head { padding: calc(12px + env(safe-area-inset-top, 0px)) 13px 10px; }
  .oracle-rink-modal-head p { display: none; }
  .oracle-rink-modal-head h2 { font-size: 22px; }
  .oracle-rink-modal-head > button { width: 37px; height: 37px; }
  .oracle-rink-modal-toolbar { padding: 8px 9px; gap: 7px; overflow-x: auto; scrollbar-width: none; }
  .oracle-rink-modal-toolbar::-webkit-scrollbar { display:none; }
  .oracle-rink-team-key { display:none; }
  .oracle-rink-filters { margin: 0; flex: 0 0 auto; }
  .oracle-rink-filters button { min-height: 32px; padding-inline: 11px; }
  .oracle-rink-auto { margin-left: auto; }
  .oracle-rink-modal-grid { padding: 7px; gap: 7px; grid-template-rows: minmax(220px, .95fr) minmax(250px, 1.05fr); }
  .oracle-rink-stage { border-radius: 15px; }
  .oracle-rink-stage-hint { display:none; }
  .oracle-rink-feed { border-radius: 15px; }
}

@media (max-width: 390px) {
  .oracle-history-tools__copy strong { font-size: 8px; }
  .oracle-history-tools__copy span { font-size: 7px; }
  .oracle-history-quick span { display:none; }
  .oracle-history-quick { width: 36px; padding: 0; }
  .oracle-rink-filters button { padding-inline: 9px; font-size: 6.5px; }
  .oracle-rink-auto { font-size: 6px; }
  .oracle-rink-modal-grid { grid-template-rows: minmax(190px, .8fr) minmax(270px, 1.2fr); }
}

.oracle-rink-legend-v7 { display: grid !important; grid-template-columns: 1fr 1fr !important; align-content: start; gap: 7px !important; }
.oracle-rink-legend-team {
  position: relative; min-width: 0; padding: 9px 10px 8px 13px; overflow: hidden;
  border-radius: 12px; border: 1px solid color-mix(in srgb, var(--team) 28%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--team) 13%, #07111f 87%), rgba(5,17,29,.96));
}
.oracle-rink-legend-team > span { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--team); box-shadow: 0 0 12px var(--team); }
.oracle-rink-legend-team strong { display:block; color:white; font-size:9px; font-weight:1000; }
.oracle-rink-legend-team b { display:block; margin-top:4px; color:var(--team); font-size:18px; line-height:1; font-weight:1000; font-variant-numeric:tabular-nums; }
.oracle-rink-legend-team small { display:block; margin-top:3px; color:#617f97; font-size:6px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.oracle-rink-legend-team em { display:block; margin-top:5px; color:#93adc1; font-size:7px; font-style:normal; font-weight:800; }
.oracle-rink-legend-last { grid-column:1/-1; min-width:0; display:flex; align-items:center; gap:8px; padding:8px 9px; border-radius:11px; border:1px solid rgba(83,175,222,.12); background:rgba(4,18,31,.72); }
.oracle-rink-legend-last > i { color:#55e8ff; font-size:11px; }
.oracle-rink-legend-last div { min-width:0; }
.oracle-rink-legend-last small { display:block; color:#53748d; font-size:6px; font-weight:900; text-transform:uppercase; letter-spacing:.07em; }
.oracle-rink-legend-last strong { display:block; margin-top:2px; color:#deeffa; font-size:7px; font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:767px){ .oracle-rink-legend-v7{grid-template-columns:1fr 1fr !important;} .oracle-rink-legend-team{padding:8px 8px 7px 11px;} .oracle-rink-legend-team b{font-size:15px;} }
.oracle-v7-history-empty { min-width:100%; min-height:112px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; color:#56748d; text-align:center; }
.oracle-v7-history-empty > i { font-size:18px; color:#365c78; }
.oracle-v7-history-empty > strong { color:#9ab2c5; font-size:8px; font-weight:1000; text-transform:uppercase; letter-spacing:.08em; }
.oracle-v7-history-empty > span { font-size:7px; font-weight:800; text-transform:capitalize; }
.oracle-v7-history-empty > button { margin-top:5px; display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:0 10px; border-radius:9px; border:1px solid rgba(74,201,255,.2); background:rgba(39,202,255,.07); color:#68e7ff; font-size:7px; font-weight:950; text-transform:uppercase; letter-spacing:.04em; }


/* ==========================================================================
   ORACLE LIVE V8 — LAYOUT.JS MOBILE NAV + ROBUST SCROLL + TEAM CONTRAST
   ========================================================================== */
#oracle-mobile-header,
#oracle-mobile-bottom-nav,
#oracle-mobile-menu,
#oracle-mobile-menu-backdrop { display:none !important; }

.oracle-v8-analysis-unavailable {
  display:flex; align-items:flex-start; gap:14px; margin:16px; padding:18px;
  border:1px solid rgba(56,189,248,.25); border-radius:16px;
  background:linear-gradient(135deg,rgba(8,40,64,.92),rgba(8,20,37,.96)); color:#d8efff;
}
.oracle-v8-analysis-unavailable i { color:#43d8ff; margin-top:2px; }
.oracle-v8-analysis-unavailable strong { display:block; font-size:14px; font-weight:950; }
.oracle-v8-analysis-unavailable p { margin-top:4px; color:#8299ad; font-size:11px; line-height:1.55; }

/* Stats comparison lines use the JS-resolved team pair. */
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 > .bg-cyan-400,
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 .bg-cyan-400,
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 > .bg-ice,
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 .bg-ice {
  background:linear-gradient(90deg,color-mix(in srgb,var(--oracle-away-primary) 68%,white 32%),var(--oracle-away-primary)) !important;
  box-shadow:0 0 13px rgba(var(--oracle-away-rgb),.24) !important;
}
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 > .bg-purple-400,
.oracle-stats-panel-v7 .oracle-stats-dashboard-v5 .h-1\.5 .bg-purple-400 {
  background:linear-gradient(90deg,var(--oracle-home-primary),color-mix(in srgb,var(--oracle-home-primary) 70%,white 30%)) !important;
  box-shadow:0 0 13px rgba(var(--oracle-home-rgb),.24) !important;
}

/* Carousel: preserve touch scrolling and never let an overlay steal the gesture. */
#live-matches-mini-grid { touch-action:pan-x pan-y; overscroll-behavior-inline:contain; }
#oracle-game-center { touch-action:pan-y; }

@media (max-width:767px) {
  :root { --oracle-mobile-header-h:0px !important; --oracle-mobile-nav-h:0px !important; }
  body { padding:0 !important; overflow-x:hidden !important; }
  #sidebar-container, #header-container { display:block !important; }
  main {
    width:100% !important; max-width:100% !important; margin:0 !important;
    padding:.5rem !important; padding-top:1rem !important;
    overflow:hidden !important; min-height:100dvh !important;
  }
  main > .px-2, main > .md\:px-4 { padding-left:0 !important; padding-right:0 !important; min-height:0 !important; flex:1 1 auto !important; }
  #tab-live {
    width:100% !important; max-width:100% !important; height:100% !important;
    overflow-y:auto !important; overflow-x:hidden !important; -webkit-overflow-scrolling:touch !important;
    overscroll-behavior-y:contain; touch-action:pan-y !important;
    padding:0 4px max(22px,env(safe-area-inset-bottom,0px)) !important;
  }
  #oracle-broadcast-hero { margin-top:8px !important; }
  .oracle-gc-tabs { top:0 !important; }
  #oracle-game-center, .oracle-modern-gc { overflow:visible !important; }
  [data-gc-panel="overview"], [data-gc-panel="players"], [data-gc-panel="stats"], [data-gc-panel="roster"], [data-gc-panel="timeline"] {
    overflow-x:hidden !important; touch-action:pan-y !important;
  }
  .oracle-v7-history-tools { position:relative !important; z-index:2 !important; }
}

@media (max-width:430px) {
  #oracle-broadcast-hero { min-height:330px !important; }
  #live-matches-mini-grid { min-height:112px !important; }
  [data-oracle-match-card] { flex-basis:calc(100vw - 88px) !important; width:calc(100vw - 88px) !important; min-width:calc(100vw - 88px) !important; max-width:330px !important; }
}

/* ==========================================================
   ORACLE LIVE V9 — FINAL GAME LOADING / ERROR STATES
   ========================================================== */
.oracle-v9-final-loading,
.oracle-v9-final-unavailable {
    margin: 18px;
    min-height: 120px;
    border: 1px solid rgba(46, 223, 247, .22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 20%, rgba(46,223,247,.12), transparent 30%),
        linear-gradient(135deg, rgba(8,29,49,.96), rgba(8,17,33,.98));
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 50px rgba(0,0,0,.18);
}
.oracle-v9-final-loading__orb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #67e8f9;
    background: linear-gradient(145deg, rgba(34,211,238,.18), rgba(168,85,247,.14));
    border: 1px solid rgba(103,232,249,.26);
    box-shadow: 0 0 28px rgba(34,211,238,.12);
    animation: oracleV9Pulse 1.35s ease-in-out infinite;
}
.oracle-v9-final-loading strong,
.oracle-v9-final-unavailable strong {
    display: block;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.02em;
}
.oracle-v9-final-loading span,
.oracle-v9-final-unavailable p {
    display: block;
    margin: 5px 0 0;
    color: #7f9ab2;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 650;
}
.oracle-v9-final-unavailable > i {
    color: #67e8f9;
    font-size: 24px;
}
@keyframes oracleV9Pulse {
    0%,100% { transform: scale(.96); opacity: .72; }
    50% { transform: scale(1.04); opacity: 1; }
}
@media (max-width: 640px) {
    .oracle-v9-final-loading,
    .oracle-v9-final-unavailable {
        margin: 10px;
        min-height: 104px;
        border-radius: 17px;
        padding: 16px;
        gap: 12px;
    }
    .oracle-v9-final-loading__orb {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 14px;
    }
}

/* ==========================================================
   ORACLE LIVE V10.2 — SCOREBOARD CONTAINER-RESPONSIVE
   Le viewport n'est pas une mesure fiable avec la sidebar HockAI.
   On dimensionne maintenant le score selon la largeur REELLE du composant.
   ========================================================== */
.oracle-score-hero {
  container-type: inline-size;
  container-name: oracle-scoreboard;
}
.oracle-score-hero .oracle-score-main {
  grid-template-columns:minmax(0,1fr) minmax(138px,auto) minmax(0,1fr) !important;
  width:100%;
}
.oracle-score-hero .oracle-score-team { min-width:0; }
.oracle-score-hero .oracle-score-team > div { min-width:0; }
.oracle-score-hero .oracle-score-logo {
  width:clamp(42px,7.2cqw,82px) !important;
  height:clamp(42px,7.2cqw,82px) !important;
}
.oracle-score-hero .oracle-score-team-abbrev {
  font-size:clamp(18px,2.45cqw,27px) !important;
  white-space:nowrap;
}
.oracle-score-hero .oracle-score-team-name {
  font-size:clamp(7px,1.05cqw,10px) !important;
  max-width:13ch;
}
.oracle-score-hero .oracle-score-center {
  min-width:clamp(118px,21cqw,190px) !important;
}
.oracle-score-hero .oracle-score-value {
  font-size:clamp(40px,7.2cqw,70px) !important;
  letter-spacing:-.045em;
}
.oracle-score-hero .oracle-score-time {
  font-size:clamp(34px,6.6cqw,58px) !important;
  letter-spacing:-.055em !important;
  white-space:nowrap;
}

@container oracle-scoreboard (max-width: 760px) {
  .oracle-score-hero > .relative { padding:16px 15px !important; }
  .oracle-score-hero .oracle-score-main {
    grid-template-columns:minmax(0,1fr) minmax(118px,auto) minmax(0,1fr) !important;
    gap:8px !important;
  }
  .oracle-score-hero .oracle-score-team { gap:8px !important; }
  .oracle-score-hero .oracle-score-logo { width:46px !important; height:46px !important; }
  .oracle-score-hero .oracle-score-team-abbrev { font-size:20px !important; }
  .oracle-score-hero .oracle-score-team-name { font-size:8px !important; max-width:10ch; }
  .oracle-score-hero .oracle-score-center { min-width:118px !important; }
  .oracle-score-hero .oracle-score-value { font-size:48px !important; }
  .oracle-score-hero .oracle-score-time { font-size:42px !important; }
}

@container oracle-scoreboard (max-width: 580px) {
  .oracle-score-hero { min-height:164px !important; }
  .oracle-score-hero > .relative { padding:13px 11px !important; }
  .oracle-score-hero .oracle-score-main {
    grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr) !important;
    gap:5px !important;
  }
  .oracle-score-hero .oracle-score-team { gap:5px !important; }
  .oracle-score-hero .oracle-score-logo { width:34px !important; height:34px !important; }
  .oracle-score-hero .oracle-score-team-abbrev { font-size:17px !important; }
  .oracle-score-hero .oracle-score-team-name { display:none !important; }
  .oracle-score-hero .oracle-score-center { min-width:108px !important; }
  .oracle-score-hero .oracle-score-value { font-size:38px !important; }
  .oracle-score-hero .oracle-score-time { font-size:34px !important; }
  .oracle-score-center .mb-2 { margin-bottom:5px !important; }
  .oracle-score-footer { margin-top:12px !important; padding-top:9px !important; }
  .oracle-score-footer > div:first-child,
  .oracle-score-footer > div:last-child { white-space:nowrap; }
  .oracle-score-footer > div:nth-child(2) { font-size:6px !important; letter-spacing:.08em !important; }
}

@container oracle-scoreboard (max-width: 420px) {
  .oracle-score-hero .oracle-score-main { grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr) !important; }
  .oracle-score-hero .oracle-score-logo { width:30px !important; height:30px !important; }
  .oracle-score-hero .oracle-score-team-abbrev { font-size:15px !important; }
  .oracle-score-hero .oracle-score-center { min-width:92px !important; }
  .oracle-score-hero .oracle-score-value { font-size:34px !important; }
  .oracle-score-hero .oracle-score-time { font-size:29px !important; }
  .oracle-score-footer span.text-xl,
  .oracle-score-footer span.md\:text-2xl { font-size:16px !important; }
  .oracle-score-footer span.text-\[7px\],
  .oracle-score-footer span.md\:text-\[8px\] { font-size:6px !important; }
}

/* Medium desktop/tablet: sidebar reduces the Game Center width even when
   window.innerWidth remains > 768px. Keep momentum below the score until
   there is genuinely enough component space. */
@media (min-width:768px) and (max-width:1279px) {
  .oracle-score-grid { grid-template-columns:minmax(0,1fr) !important; }
  .oracle-score-hero { min-height:190px !important; }
}
/* ==========================================================
   ORACLE LIVE V10.4 — MOBILE GAME CENTER TABS
   Navigation tactile fluide et sans débordement
   ========================================================== */

@media (max-width: 767px) {

    /*
     * Barre principale :
     * swipe horizontal uniquement.
     */
    .oracle-gc-tabs {
        width: 100% !important;

        display: flex !important;
        flex-wrap: nowrap !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch;

        overscroll-behavior-x: contain;

        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 12px;

        touch-action: pan-x;

        scrollbar-width: none;

        position: sticky !important;
        top: 0 !important;
        z-index: 120 !important;
    }


    /*
     * Chrome / Safari :
     * scrollbar invisible.
     */
    .oracle-gc-tabs::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }


    /*
     * Chaque onglet garde une taille confortable.
     * Ils peuvent défiler horizontalement au lieu
     * d'être écrasés sur téléphone.
     */
    .oracle-gc-tab {
        flex: 0 0 auto !important;

        min-width: 92px !important;

        padding: 12px 9px !important;

        font-size: 7px !important;

        white-space: nowrap !important;

        scroll-snap-align: center;
        scroll-snap-stop: normal;

        touch-action: manipulation;
    }


    /*
     * Petite marge virtuelle au début et à la fin
     * pour éviter que le premier/dernier onglet
     * colle au bord de l'écran.
     */
    .oracle-gc-tabs::before,
    .oracle-gc-tabs::after {
        content: "";
        flex: 0 0 4px;
    }
}


/*
 * Téléphones très étroits :
 * 88 px reste suffisamment grand pour être tactile,
 * tout en montrant davantage l'onglet suivant.
 */
@media (max-width: 390px) {

    .oracle-gc-tab {
        min-width: 88px !important;

        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}
/* ==========================================================
   ORACLE LIVE V10.5 — OBSERVATOIRE MOBILE SCROLL FIX
   Header / périodes fixes + liste joueurs scrollable
   ========================================================== */

@media (max-width: 767px) {

    /*
     * L'Observatoire occupe une vraie hauteur mobile.
     * On évite que Flexbox écrase ses éléments internes.
     */
    .oracle-observatory-modal {
        height: 92dvh !important;
        max-height: 92dvh !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;
    }


    /*
     * Ces parties doivent toujours conserver leur hauteur.
     */
    .oracle-observatory-header,
    .oracle-v6-period-explainer,
    .oracle-observatory-toolbar,
    .oracle-observatory-footer {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
    }


    /*
     * NE PLUS couper la rangée Toutes / P1 / P2 / P3.
     */
    .oracle-observatory-toolbar {
        min-height: 52px !important;

        padding: 8px 12px !important;

        overflow: visible !important;

        align-items: center !important;
    }


    /*
     * Ligne des périodes :
     * toujours visible et scrollable si nécessaire.
     */
    .oracle-observatory-periods {
        display: flex !important;
        flex: 1 1 auto !important;

        min-width: 0 !important;

        flex-wrap: nowrap !important;

        overflow-x: auto !important;
        overflow-y: visible !important;

        gap: 6px !important;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .oracle-observatory-periods::-webkit-scrollbar {
        display: none !important;
    }


    /*
     * Chaque bouton conserve réellement sa hauteur.
     */
    .oracle-observatory-period {
        flex: 0 0 auto !important;

        min-width: 61px !important;
        min-height: 34px !important;
        height: 34px !important;

        padding: 6px 10px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }


    /*
     * C'est UNIQUEMENT la liste des joueurs
     * qui doit utiliser l'espace restant et défiler.
     */
    .oracle-observatory-mobile-list {
        display: grid !important;

        flex: 1 1 auto !important;

        min-height: 0 !important;
        height: auto !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        overscroll-behavior-y: contain;

        -webkit-overflow-scrolling: touch;

        padding: 10px 10px 14px !important;
    }


    /*
     * Le footer reste au bas de la fenêtre,
     * il ne doit jamais être écrasé par la liste.
     */
    .oracle-observatory-footer {
        position: relative;

        z-index: 3;

        padding: 8px 12px !important;

        background: #04111e !important;
    }
}


/* Très petits téléphones */
@media (max-width: 390px) {

    .oracle-observatory-toolbar {
        min-height: 50px !important;
        padding-inline: 9px !important;
    }

    .oracle-observatory-period {
        min-width: 57px !important;
        height: 33px !important;
        min-height: 33px !important;

        padding-inline: 8px !important;
    }
}
/* ==========================================================
   ORACLE LIVE V10.6 — MOBILE NATURAL PAGE SCROLL
   Supprime le double scroll vertical du Game Center
   ========================================================== */

@media (max-width: 767px) {

    /*
     * Sur mobile, c'est la page entière qui défile.
     * On neutralise le height:100vh + overflow:hidden
     * provenant du style global.
     */
    html {
        height: auto !important;
        min-height: 100% !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body {
        height: auto !important;
        min-height: 100dvh !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        overscroll-behavior-y: auto !important;

        -webkit-overflow-scrolling: touch;
    }


    /*
     * Le contenu principal ne doit plus devenir
     * une seconde fenêtre de défilement.
     */
    main {
        height: auto !important;
        min-height: 100dvh !important;

        overflow: visible !important;
    }


    /*
     * IMPORTANT :
     * #tab-live ne possède plus son propre scroll vertical.
     */
    #tab-live {
        height: auto !important;
        min-height: 0 !important;

        overflow-x: hidden !important;
        overflow-y: visible !important;

        overscroll-behavior: auto !important;

        touch-action: pan-y !important;
    }


    /*
     * Game Center :
     * hauteur naturelle selon son contenu.
     */
    #oracle-game-center,
    .oracle-modern-gc {
        height: auto !important;
        max-height: none !important;

        overflow: visible !important;
    }


    /*
     * Les panneaux du Game Center suivent eux aussi
     * la hauteur naturelle de leur contenu.
     */
    [data-gc-panel="overview"],
    [data-gc-panel="players"],
    [data-gc-panel="stats"],
    [data-gc-panel="roster"],
    [data-gc-panel="timeline"] {
        height: auto !important;
        max-height: none !important;

        overflow-y: visible !important;
    }


    /*
     * Suppression visuelle de l'ancienne scrollbar cyan
     * propre à #tab-live.
     */
    #tab-live::-webkit-scrollbar {
        display: none !important;
    }
}

/* ==========================================================
   HOCKAI ORACLE LIVE V12 — FINAL POLISH / ACCESSIBILITY
   Ajout non destructif : focus clavier, motion réduite,
   contrastes interactifs et stabilité mobile.
   ========================================================== */

#oracle-broadcast-hero button,
.oracle-gc-tab,
.oracle-match-filter,
[data-oracle-match-card],
.oracle-player-team-btn,
.oracle-observatory-close,
.oracle-observatory-period {
  -webkit-tap-highlight-color: transparent;
}

#oracle-broadcast-hero button:focus-visible,
.oracle-gc-tab:focus-visible,
.oracle-match-filter:focus-visible,
[data-oracle-match-card]:focus-visible,
.oracle-player-team-btn:focus-visible,
.oracle-observatory-close:focus-visible,
.oracle-observatory-period:focus-visible {
  outline: 2px solid var(--oracle-cyan) !important;
  outline-offset: 3px !important;
  box-shadow:
    0 0 0 4px rgba(36, 221, 255, .13),
    0 0 24px rgba(36, 221, 255, .18) !important;
}

[data-oracle-match-card] {
  content-visibility: auto;
  contain-intrinsic-size: 230px 114px;
}

.oracle-gc-tabs,
#live-matches-mini-grid,
.oracle-observatory-periods {
  overscroll-behavior-inline: contain;
}

.oracle-modern-gc img,
#oracle-broadcast-hero img,
[data-oracle-match-card] img {
  user-select: none;
  -webkit-user-drag: none;
}

@media (hover: hover) and (pointer: fine) {
  [data-oracle-match-card]:hover,
  .oracle-match-filter:hover,
  .oracle-gc-tab:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 767px) {
  #oracle-broadcast-hero,
  #oracle-game-center,
  .oracle-modern-gc {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .oracle-gc-tabs,
  #live-matches-mini-grid {
    scrollbar-width: none;
  }

  .oracle-gc-tabs::-webkit-scrollbar,
  #live-matches-mini-grid::-webkit-scrollbar {
    display: none;
  }

  button,
  [role="button"],
  .oracle-gc-tab,
  .oracle-match-filter,
  [data-oracle-match-card] {
    touch-action: manipulation;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto !important;
  }

  #tab-live *,
  #tab-live *::before,
  #tab-live *::after,
  #oracle-observatory-root *,
  #oracle-observatory-root *::before,
  #oracle-observatory-root *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   HOCKAI ORACLE LIVE V13 — MOBILE FAST UX / COMPARATIVE STATS
   ========================================================== */

.oracle-v13-pregame-stats {
  display: grid;
  gap: 10px;
}

.oracle-v13-edge-card,
.oracle-v13-compare-card,
.oracle-v13-insights,
.oracle-v13-team-column {
  border: 1px solid rgba(70, 151, 207, .28);
  background: linear-gradient(145deg, rgba(8, 31, 53, .94), rgba(4, 17, 30, .96));
  border-radius: 14px;
}

.oracle-v13-edge-card { padding: 14px; }
.oracle-v13-kicker {
  display: flex; align-items: center; gap: 7px;
  color: #5fe7ff; font-size: 8px; font-weight: 950; letter-spacing: .12em;
}
.oracle-v13-edge-line {
  display: grid; grid-template-columns: 74px minmax(0,1fr) 74px;
  align-items: center; gap: 8px; margin-top: 10px;
}
.oracle-v13-edge-line > div {
  min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 11px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055);
}
.oracle-v13-edge-line > div:first-child strong { color: #57ddff; }
.oracle-v13-edge-line > div:last-child strong { color: #d78cff; }
.oracle-v13-edge-line span { color: #c9d8e6; font-size: 10px; font-weight: 950; }
.oracle-v13-edge-line strong { font-size: 20px; line-height: 1; }
.oracle-v13-edge-line p { margin: 0; text-align: center; color: #fff; font-size: 11px; font-weight: 900; line-height: 1.25; }
.oracle-v13-edge-card > small { display:block; margin-top:8px; color:#607c98; font-size:7px; line-height:1.45; text-align:center; }

.oracle-v13-player-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.oracle-v13-team-column { padding: 11px; min-width: 0; }
.oracle-v13-team-column header { display:flex; align-items:flex-end; justify-content:space-between; gap:6px; margin-bottom:8px; }
.oracle-v13-team-column header span { font-size:15px; font-weight:1000; }
.oracle-v13-team-column.is-away header span { color:#53ddff; }
.oracle-v13-team-column.is-home header span { color:#d58bff; }
.oracle-v13-team-column header small { color:#5e7891; font-size:6px; font-weight:800; text-align:right; }
.oracle-v13-player-chip {
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 6px;
  padding:8px 9px; margin-top:6px; border-radius:10px; background:rgba(0,0,0,.23); border:1px solid rgba(255,255,255,.055); min-width:0;
}
.oracle-v13-player-chip-meta { grid-column:1; color:#7088a1; font-size:6px; font-weight:950; letter-spacing:.11em; }
.oracle-v13-player-chip-name { grid-column:1; color:#eef8ff; font-size:9px; font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.oracle-v13-player-chip strong { grid-column:2; grid-row:1 / span 2; align-self:center; font-size:14px; color:#fff; }
.oracle-v13-player-chip.is-goal strong { color:#ff6f8f; }
.oracle-v13-player-chip.is-assist strong { color:#c58cff; }
.oracle-v13-player-chip.is-point strong { color:#5fe7ff; }
.oracle-v13-player-chip.is-empty { display:block; text-align:center; color:#50667b; }

.oracle-v13-compare-card { padding: 8px 10px 10px; }
.oracle-v13-compare-head { display:grid; grid-template-columns:64px 1fr 64px; align-items:center; gap:6px; padding:5px 2px 9px; }
.oracle-v13-compare-head span { font-size:10px; font-weight:1000; }
.oracle-v13-compare-head span:first-child { color:#53ddff; text-align:left; }
.oracle-v13-compare-head span:last-child { color:#d58bff; text-align:right; }
.oracle-v13-compare-head b { color:#7088a1; font-size:7px; text-align:center; letter-spacing:.10em; }
.oracle-v13-metric-row {
  display:grid; grid-template-columns:62px minmax(0,1fr) 62px; align-items:center; gap:6px;
  min-height:35px; padding:5px 2px; border-top:1px solid rgba(255,255,255,.045);
}
.oracle-v13-metric-value { font-size:11px; font-weight:950; color:#d6e4ef; font-variant-numeric:tabular-nums; }
.oracle-v13-metric-away { text-align:left; }
.oracle-v13-metric-home { text-align:right; }
.oracle-v13-metric-label { color:#718ba4; font-size:7px; font-weight:850; text-align:center; line-height:1.2; }
.oracle-v13-metric-row.is-away .oracle-v13-metric-away { color:#54e4ff; }
.oracle-v13-metric-row.is-home .oracle-v13-metric-home { color:#d98cff; }
.oracle-v13-more-stats { margin-top:5px; border-top:1px solid rgba(255,255,255,.05); }
.oracle-v13-more-stats summary { cursor:pointer; list-style:none; padding:9px 2px 4px; color:#5dcce5; text-align:center; font-size:7px; font-weight:950; letter-spacing:.06em; }
.oracle-v13-more-stats summary::-webkit-details-marker { display:none; }
.oracle-v13-more-stats summary::after { content:'  +'; }
.oracle-v13-more-stats[open] summary::after { content:'  –'; }

.oracle-v13-insights { padding:10px 12px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.oracle-v13-insights > div { width:100%; color:#ffc95a; font-size:7px; font-weight:950; letter-spacing:.09em; }
.oracle-v13-insights > div i { margin-right:6px; }
.oracle-v13-insights span { padding:6px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.025); color:#8299af; font-size:7px; }
.oracle-v13-insights span b { color:#fff; }
.oracle-v13-insights span strong { color:#ccefff; }

@media (max-width: 767px) {
  /* Header hero plus court : priorité aux matchs et au Game Center. */
  #oracle-broadcast-hero { min-height: 0 !important; }
  #oracle-broadcast-hero > .relative { padding: 12px 9px 8px !important; }
  #oracle-broadcast-hero .oracle-live-title { font-size: 30px !important; }
  .oracle-live-broadcast-icon { font-size: 19px !important; }
  .oracle-live-status-pill { padding: 3px 5px !important; font-size: 6px !important; }
  #oracle-broadcast-hero .mt-2\.5.flex.flex-wrap { margin-top:5px!important; font-size:7px!important; }
  #oracle-match-filters { margin:10px 0 7px!important; gap:4px!important; }
  .oracle-match-filter { min-height:28px!important; padding:4px 2px!important; font-size:6.5px!important; }
  .oracle-carousel-shell { padding:6px 5px!important; }
  #oracle-broadcast-hero .flex.items-center.justify-end.gap-2.mt-2 { margin-top:5px!important; font-size:6px!important; }

  /* Environ trois rencontres visibles sur un écran 393 px. */
  #live-matches-mini-grid { gap:6px!important; min-height:82px!important; padding:0!important; }
  #live-matches-mini-grid [data-oracle-match-card] {
    flex:0 0 108px!important; width:108px!important; min-width:108px!important;
    min-height:78px!important; height:78px!important; padding:6px 7px!important; border-radius:11px!important;
  }
  #live-matches-mini-grid [data-oracle-match-card] img { width:15px!important; height:15px!important; max-width:15px!important; max-height:15px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .mb-2\.5 { margin-bottom:4px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .mb-1\.5 { margin-bottom:2px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .mt-2\.5 { margin-top:4px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .pt-2 { padding-top:3px!important; }
  #live-matches-mini-grid [data-oracle-match-card] span { line-height:1.05!important; }
  #live-matches-mini-grid [data-oracle-match-card] .text-\[11px\],
  #live-matches-mini-grid [data-oracle-match-card] .md\:text-xs { font-size:8px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .text-\[9px\],
  #live-matches-mini-grid [data-oracle-match-card] .md\:text-\[10px\] { font-size:7px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .text-\[7px\],
  #live-matches-mini-grid [data-oracle-match-card] .md\:text-\[8px\] { font-size:5.5px!important; }
  #live-matches-mini-grid [data-oracle-match-card] .border-t { border-top-color:rgba(255,255,255,.04)!important; }

  /* Avant-match : le panneau Momentum vide ne prend plus un écran entier. */
  #oracle-game-center.oracle-v13-pregame .oracle-score-grid { grid-template-columns:1fr!important; }
  #oracle-game-center.oracle-v13-pregame .oracle-momentum-panel { display:none!important; }
  #oracle-game-center.oracle-v13-pregame .oracle-score-hero { min-height:132px!important; }

  /* Navigation Game Center : 5 onglets visibles simultanément, zéro swipe obligatoire. */
  .oracle-gc-tabs { top:95px!important; display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; overflow:visible!important; }
  .oracle-gc-tab { min-width:0!important; width:100%!important; padding:10px 2px!important; font-size:0!important; letter-spacing:0!important; white-space:nowrap!important; }
  .oracle-gc-tab::after { content:attr(data-short-label); font-size:7px; font-weight:950; letter-spacing:.02em; }

  [data-gc-panel="stats"] { padding:8px!important; }
  .oracle-v13-edge-card { padding:11px; }
  .oracle-v13-edge-line { grid-template-columns:58px minmax(0,1fr) 58px; }
  .oracle-v13-edge-line > div { min-height:39px; gap:4px; }
  .oracle-v13-edge-line strong { font-size:17px; }
  .oracle-v13-edge-line span { font-size:8px; }
  .oracle-v13-edge-line p { font-size:9px; }
  .oracle-v13-team-column { padding:8px; }
  .oracle-v13-player-chip { padding:7px; }
  .oracle-v13-player-chip-name { font-size:8px; }
  .oracle-v13-player-chip strong { font-size:12px; }
  .oracle-v13-metric-row { min-height:31px; }

  /* LIVE/FINAL : quatre cartes principales sur 2 colonnes au lieu d'une longue pile. */
  #oracle-game-center.oracle-v13-live .oracle-stats-dashboard-v5 > div > .grid.grid-cols-1,
  #oracle-game-center.oracle-v13-final .oracle-stats-dashboard-v5 > div > .grid.grid-cols-1 {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  #oracle-game-center.oracle-v13-live .oracle-stats-dashboard-v5 > div > .grid.grid-cols-1 > div,
  #oracle-game-center.oracle-v13-final .oracle-stats-dashboard-v5 > div > .grid.grid-cols-1 > div {
    padding:10px!important;
  }
}

@media (max-width: 390px) {
  #live-matches-mini-grid [data-oracle-match-card] { flex-basis:104px!important; width:104px!important; min-width:104px!important; }
  .oracle-v13-player-grid { gap:7px; }
  .oracle-v13-team-column header small { display:none; }
}

/* ==========================================================
   HOCKAI ORACLE LIVE V14 — MOBILE SCOREBOARD / APP-LIKE UX
   ========================================================== */
@media (max-width: 767px) {
  /* --- Global mobile density --- */
  #tab-live { padding-inline: 7px !important; }
  #oracle-broadcast-hero {
    border-radius: 15px !important;
    background: linear-gradient(180deg,#061728 0%,#03101d 100%) !important;
  }
  #oracle-broadcast-hero > img { opacity: .22 !important; object-position: 63% 20% !important; }
  #oracle-broadcast-hero > .relative { padding: 12px 9px 9px !important; }
  #oracle-broadcast-hero .oracle-live-title { font-size: 31px !important; }
  #oracle-broadcast-hero .oracle-live-title-row { padding-right: 68px !important; }
  #oracle-broadcast-hero .mt-2\.5.flex.flex-wrap { margin-top: 4px !important; font-size: 6.5px !important; }
  .oracle-hero-actions { top: 9px !important; right: 8px !important; }
  .oracle-hero-actions button { width: 30px !important; height: 30px !important; }

  /* Filters behave like an app segmented control. */
  #oracle-match-filters {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 4px !important;
    margin: 10px 0 7px !important;
  }
  .oracle-match-filter {
    min-height: 34px !important;
    border-radius: 11px !important;
    padding: 4px 2px !important;
    font-size: 7px !important;
  }

  /* Desktop carousel shell becomes a true mobile scoreboard. */
  .oracle-carousel-shell {
    padding: 6px !important;
    border-radius: 13px !important;
    overflow: visible !important;
    background: rgba(2,15,27,.94) !important;
  }
  #live-matches-mini-grid.oracle-v14-matchboard {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 6px !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
  }
  #live-matches-mini-grid.oracle-v14-matchboard.is-dense-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  .oracle-v14-score-row {
    width: 100% !important;
    min-width: 0 !important;
    height: 66px !important;
    min-height: 66px !important;
    display: grid !important;
    grid-template-rows: 17px 1fr 4px !important;
    gap: 3px !important;
    padding: 6px 8px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(73,151,205,.34) !important;
    background: linear-gradient(145deg,#092139,#051522) !important;
    color: #fff !important;
    text-align: left !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
    touch-action: manipulation;
  }
  .oracle-v14-score-row.is-live { border-color: rgba(255,49,104,.46) !important; }
  .oracle-v14-score-row.is-selected {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 1px rgba(34,211,238,.28), 0 0 18px rgba(34,211,238,.10) !important;
  }
  .oracle-v14-score-row.is-live.is-selected {
    border-color: #ff315f !important;
    box-shadow: 0 0 0 1px rgba(255,49,95,.28), 0 0 18px rgba(255,49,95,.12) !important;
  }
  .oracle-v14-score-top { display:flex; align-items:center; justify-content:space-between; gap:4px; min-width:0; }
  .oracle-v14-state-badge {
    display:inline-flex; align-items:center; gap:4px; min-width:0;
    color:#9db4c9; font-size:6px; font-weight:1000; letter-spacing:.04em; white-space:nowrap;
  }
  .oracle-v14-state-badge i { width:5px; height:5px; border-radius:50%; background:#5d7890; flex:0 0 auto; }
  .oracle-v14-score-row.is-live .oracle-v14-state-badge { color:#ff6686; }
  .oracle-v14-score-row.is-live .oracle-v14-state-badge i { background:#ff315f; box-shadow:0 0 8px #ff315f; }
  .oracle-v14-score-row.is-upcoming .oracle-v14-state-badge { color:#7cb8e8; }
  .oracle-v14-score-row.is-upcoming .oracle-v14-state-badge i { background:#56b7ff; }
  .oracle-v14-clock { color:#e8f6ff; font-size:7px; font-weight:950; font-variant-numeric:tabular-nums; white-space:nowrap; }

  .oracle-v14-match-line {
    display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 8px; align-items:center; gap:5px; min-width:0;
  }
  .oracle-v14-team { display:flex; align-items:center; gap:5px; min-width:0; }
  .oracle-v14-team.is-home { justify-content:flex-end; }
  .oracle-v14-team img { width:18px !important; height:18px !important; object-fit:contain; flex:0 0 18px; }
  .oracle-v14-team span { color:#f3f8fc; font-size:9px !important; font-weight:1000; letter-spacing:.01em; white-space:nowrap; }
  .oracle-v14-score { display:grid; grid-template-columns:16px 7px 16px; align-items:center; justify-items:center; color:#fff; }
  .oracle-v14-score b { font-size:14px; line-height:1; font-weight:1000; font-variant-numeric:tabular-nums; }
  .oracle-v14-score span { color:#5d7183; font-size:9px; }
  .oracle-v14-score.is-future b { color:#647d92; font-size:11px; }
  .oracle-v14-chevron { color:#4e6a81; font-size:7px; }
  .oracle-v14-pressure { display:flex; width:100%; height:3px; overflow:hidden; border-radius:999px; background:#0b1b28; }
  .oracle-v14-pressure .is-away { background:linear-gradient(90deg,#25d8ff,#168cff); }
  .oracle-v14-pressure .is-home { background:linear-gradient(90deg,#ff4c82,#ff315f); }

  /* When many games exist, two compact columns show the whole slate quickly. */
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-score-row {
    height: 70px !important;
    min-height: 70px !important;
    padding: 6px !important;
  }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-match-line {
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
    gap:3px !important;
  }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-chevron { display:none; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-team { gap:3px; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-team img { width:15px !important; height:15px !important; flex-basis:15px; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-team span { font-size:7.5px !important; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-score { grid-template-columns:13px 5px 13px; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-score b { font-size:11px; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-clock,
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-state-badge { font-size:5.5px; }
  .oracle-v14-no-games { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; gap:7px; padding:20px 8px; color:#60788f; font-size:8px; font-weight:900; }

  #oracle-broadcast-hero .flex.items-center.justify-end.gap-2.mt-2 { margin-top:5px!important; }

  /* --- Selected game hero: one compact broadcast card --- */
  #oracle-game-center { margin-top: 8px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-score-grid { gap:6px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-score-hero {
    min-height: 118px !important;
    border-radius: 13px !important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-score-hero > .relative { padding:10px 10px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-score-hero img { width:37px !important; height:37px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-score-hero .text-\[52px\] { font-size:32px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-score-hero .text-\[44px\] { font-size:31px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-momentum-panel { min-height:110px !important; padding:10px !important; }
  #oracle-game-center.oracle-v14-game-center.oracle-v13-pregame .oracle-momentum-panel { display:none !important; }

  /* Five destinations always visible and sticky, exactly like a mobile app. */
  #oracle-game-center.oracle-v14-game-center .oracle-gc-tabs {
    top: 95px !important;
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    border-radius:0 !important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-gc-tab {
    min-width:0 !important; width:100% !important; padding:11px 1px !important;
    font-size:0 !important; letter-spacing:0 !important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-gc-tab::after {
    content:attr(data-short-label); font-size:7px; font-weight:950; letter-spacing:.01em;
  }

  /* Overview becomes a single-screen decision surface. */
  #oracle-game-center.oracle-v14-game-center .oracle-overview-dashboard {
    display:flex !important; flex-direction:column !important; padding:8px 0 4px !important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-overview-spotlights { order:1 !important; margin:0 !important; display:block !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-overview-top { order:2 !important; margin:7px 0 0 !important; display:block !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-overview-bottom { order:3 !important; display:none !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--players { display:none !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--metrics { display:none !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--analysis {
    min-height:0 !important; padding:11px !important; margin:0 !important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--analysis p { font-size:9px !important; line-height:1.45 !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--analysis .mt-5 { margin-top:9px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--analysis .pt-4 { padding-top:8px !important; }

  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--signals {
    padding:11px !important; margin:0 !important; border-color:rgba(255,47,104,.28)!important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--signals > .flex { margin-bottom:8px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-feature-panel--signals h3 { font-size:12px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-signals-grid {
    display:grid !important; grid-template-columns:1fr !important; gap:6px !important; overflow:visible !important;
  }
  #oracle-game-center.oracle-v14-game-center .oracle-signals-grid > * {
    width:100% !important; min-width:0 !important; max-width:none !important; min-height:0 !important;
  }
  .oracle-v14-stats-cta {
    width:100%; min-height:42px; margin-top:9px; display:flex; align-items:center; justify-content:center; gap:10px;
    border:1px solid rgba(153,77,255,.45); border-radius:11px;
    background:linear-gradient(90deg,#2f73ff,#8a35e8); color:#fff;
    font-size:9px; font-weight:1000; letter-spacing:.01em; box-shadow:0 8px 24px rgba(94,51,210,.18);
  }

  /* Remove redundant section labels and excess vertical air. */
  #oracle-game-center.oracle-v14-game-center [data-gc-panel="overview"] > .text-\[7px\],
  #oracle-game-center.oracle-v14-game-center [data-gc-panel="timeline"] .text-slate-600.uppercase { display:none !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-gc-panel { min-height:0 !important; }

  /* V13 comparative stats remain, but are tightened to fit an iPhone viewport. */
  #oracle-game-center.oracle-v14-game-center [data-gc-panel="stats"] { padding:7px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-pregame-stats { gap:7px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-edge-card { padding:9px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-player-grid { gap:6px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-team-column { padding:7px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-player-chip { margin-top:4px !important; padding:6px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-compare-card { padding:6px 8px 8px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-metric-row { min-height:29px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-v13-insights { padding:8px !important; }
}

@media (max-width: 390px) {
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-score-row { padding:5px !important; }
  .oracle-v14-matchboard.is-dense-grid .oracle-v14-team span { font-size:7px !important; }
  #oracle-game-center.oracle-v14-game-center .oracle-gc-tab::after { font-size:6.6px; }
}

@media (max-width: 767px) {
  .oracle-v14-day-nav {
    grid-column:1/-1; display:grid; grid-template-columns:32px minmax(0,1fr) 32px;
    align-items:center; gap:6px; min-height:34px; padding:2px 0 5px;
  }
  .oracle-v14-day-nav > button {
    width:32px; height:30px; display:grid; place-items:center; border-radius:9px;
    border:1px solid rgba(77,147,197,.28); background:#071a2c; color:#ccecff; font-size:8px;
  }
  .oracle-v14-day-nav > button:disabled { opacity:.28; }
  .oracle-v14-day-nav > div {
    min-width:0; display:flex; align-items:center; justify-content:center; gap:6px;
    color:#dff8ff; font-size:8px; font-weight:950; text-transform:uppercase;
  }
  .oracle-v14-day-nav > div i { color:#4edfff; }
  .oracle-v14-day-nav > div span { color:#56738d; font-size:6px; }
}

/* ========================================================================== 
   HOCKAI ORACLE LIVE V16 — MOBILE APP FINAL CONTRACT
   Single final authority for <= 767px. Desktop remains untouched.
   ========================================================================== */
@media (max-width: 767px) {
  :root { --oracle-v16-header: 64px; }

  html, body {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
  }
  body { display: block !important; background:#020b15 !important; }
  #sidebar-container { display:none !important; }

  main {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:auto !important;
    min-height:100dvh !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }

  #header-container {
    display:block !important;
    position:sticky !important;
    top:0 !important;
    z-index:900 !important;
    width:100% !important;
    background:rgba(2,14,27,.97) !important;
    backdrop-filter:blur(18px) saturate(145%) !important;
  }
  #header-container > div {
    position:relative !important;
    min-height:var(--oracle-v16-header) !important;
    padding-top:max(env(safe-area-inset-top), 0px) !important;
    background:rgba(2,14,27,.97) !important;
    border-bottom:1px solid rgba(57,162,220,.24) !important;
  }
  .oracle-v16-header-brand {
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    pointer-events:none !important;
    white-space:nowrap !important;
  }
  .oracle-v16-header-brand span {
    color:#f7fbff !important;
    font-size:19px !important;
    line-height:1 !important;
    font-weight:1000 !important;
    letter-spacing:-.045em !important;
  }
  .oracle-v16-header-brand strong {
    color:transparent !important;
    background:linear-gradient(90deg,#66e8ff,#d978ff) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
  }
  .oracle-v16-header-brand em {
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    padding:3px 5px !important;
    border:1px solid rgba(36,245,163,.42) !important;
    border-radius:999px !important;
    color:#65f3bc !important;
    background:rgba(22,119,82,.13) !important;
    font-size:5.5px !important;
    font-style:normal !important;
    font-weight:1000 !important;
  }
  .oracle-v16-header-brand em i { width:4px !important; height:4px !important; border-radius:50% !important; background:#27f5a3 !important; box-shadow:0 0 7px #27f5a3 !important; }

  main > .px-2, main > .md\:px-4, main > div.px-2 {
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:6px 0 22px !important;
    overflow:visible !important;
  }
  #tab-live {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 8px 28px !important;
    overflow:visible !important;
    touch-action:pan-y !important;
  }

  /* The mobile page header owns the title; the hero becomes a functional match hub. */
  #oracle-broadcast-hero {
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  #oracle-broadcast-hero::after, #oracle-broadcast-hero > img,
  #oracle-broadcast-hero > .absolute { display:none !important; }
  #oracle-broadcast-hero > .relative, #oracle-broadcast-hero > .relative.z-10 {
    padding:0 !important;
  }
  #oracle-broadcast-hero .oracle-live-title-row,
  #oracle-broadcast-hero .oracle-hero-slogan,
  #oracle-broadcast-hero .oracle-hero-actions,
  #oracle-broadcast-hero .mt-2\.5.flex.flex-wrap { display:none !important; }

  #oracle-match-filters {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
    width:100% !important;
    margin:3px 0 8px !important;
    padding:0 !important;
    overflow:visible !important;
  }
  #oracle-match-filters [data-oracle-match-filter="finished"] { display:none !important; }
  #oracle-match-filters .oracle-match-filter {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:44px !important;
    padding:6px 4px !important;
    border-radius:13px !important;
    border:1px solid rgba(70,145,199,.30) !important;
    background:#07192b !important;
    color:#dbefff !important;
    font-size:9px !important;
    line-height:1 !important;
    font-weight:950 !important;
  }
  #oracle-match-filters .oracle-match-filter.bg-blue-500\/15,
  #oracle-match-filters .oracle-match-filter.border-blue-400\/40 {
    border-color:#24cfff !important;
    background:linear-gradient(135deg,#0e93f6,#6f42ff) !important;
    color:#fff !important;
    box-shadow:0 0 18px rgba(36,207,255,.18) !important;
  }
  #oracle-match-filters [data-oracle-filter-count] { font-size:7px !important; color:inherit !important; opacity:.75 !important; }

  .oracle-carousel-shell {
    width:100% !important;
    margin:0 !important;
    padding:7px !important;
    border-radius:15px !important;
    border:1px solid rgba(58,151,207,.32) !important;
    background:#03111e !important;
    overflow:hidden !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
  }
  .oracle-carousel-shell > button { display:none !important; }
  #oracle-broadcast-hero #live-matches-mini-grid.oracle-v16-matchboard {
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-height:337px !important;
    gap:6px !important;
    padding:0 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    scroll-snap-type:none !important;
    overscroll-behavior-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
  }
  #live-matches-mini-grid.oracle-v16-matchboard::-webkit-scrollbar { display:none !important; }

  .oracle-v16-day-nav {
    position:sticky !important;
    top:0 !important;
    z-index:20 !important;
    flex:0 0 40px !important;
    display:grid !important;
    grid-template-columns:38px minmax(0,1fr) 38px !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    padding:2px 0 5px !important;
    background:#03111e !important;
  }
  .oracle-v16-day-nav button {
    width:38px !important; height:34px !important;
    display:grid !important; place-items:center !important;
    border-radius:11px !important;
    border:1px solid rgba(75,154,209,.34) !important;
    background:#071c30 !important; color:#e0f7ff !important;
  }
  .oracle-v16-day-nav button:disabled { opacity:.25 !important; }
  .oracle-v16-day-nav > div { display:flex !important; align-items:center !important; justify-content:center !important; gap:6px !important; min-width:0 !important; color:#ecfaff !important; font-size:9px !important; font-weight:1000 !important; text-transform:uppercase !important; }
  .oracle-v16-day-nav > div i { color:#37dcff !important; }
  .oracle-v16-day-nav > div span { color:#5f7d98 !important; font-size:7px !important; }

  #oracle-broadcast-hero #live-matches-mini-grid.oracle-v16-matchboard > button[data-oracle-match-card].oracle-v16-score-row {
    box-sizing:border-box !important;
    flex:0 0 61px !important;
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) 48px !important;
    grid-template-rows:1fr 4px !important;
    align-items:center !important;
    column-gap:7px !important;
    row-gap:5px !important;
    width:100% !important; min-width:100% !important; max-width:100% !important;
    height:61px !important; min-height:61px !important;
    margin:0 !important; padding:7px 8px !important;
    border-radius:13px !important;
    border:1px solid rgba(65,145,204,.34) !important;
    background:linear-gradient(145deg,#09223a,#061521) !important;
    color:#fff !important;
    overflow:hidden !important;
    text-align:left !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
  }
  #live-matches-mini-grid.oracle-v16-matchboard > .oracle-v16-score-row.is-live { border-color:rgba(255,47,104,.52) !important; background:linear-gradient(145deg,#251429,#071827 65%) !important; }
  #live-matches-mini-grid.oracle-v16-matchboard > .oracle-v16-score-row.is-selected { border-color:#24ddff !important; box-shadow:0 0 0 1px rgba(36,221,255,.25),0 0 16px rgba(36,221,255,.09) !important; }
  #live-matches-mini-grid.oracle-v16-matchboard > .oracle-v16-score-row.is-live.is-selected { border-color:#ff315f !important; box-shadow:0 0 0 1px rgba(255,49,95,.30),0 0 18px rgba(255,49,95,.12) !important; }

  .oracle-v16-row-head { display:flex !important; flex-direction:column !important; align-items:flex-start !important; justify-content:center !important; gap:2px !important; min-width:0 !important; }
  .oracle-v16-badge { display:inline-flex !important; align-items:center !important; gap:4px !important; color:#9fb8cb !important; font-size:6.5px !important; line-height:1 !important; font-weight:1000 !important; white-space:nowrap !important; }
  .oracle-v16-badge i { width:5px !important; height:5px !important; border-radius:50% !important; background:#668096 !important; }
  .is-live .oracle-v16-badge { color:#ff6d8c !important; }
  .is-live .oracle-v16-badge i { background:#ff315f !important; box-shadow:0 0 8px rgba(255,49,95,.75) !important; }
  .oracle-v16-clock { color:#c9e9fa !important; font-size:7px !important; line-height:1 !important; font-weight:950 !important; white-space:nowrap !important; }
  .is-live .oracle-v16-clock { color:#ff6f90 !important; }

  .oracle-v16-matchup { min-width:0 !important; display:grid !important; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important; align-items:center !important; gap:6px !important; }
  .oracle-v16-team { min-width:0 !important; display:flex !important; align-items:center !important; gap:5px !important; color:#f8fbff !important; font-size:10px !important; font-weight:1000 !important; white-space:nowrap !important; }
  .oracle-v16-team.is-home { justify-content:flex-end !important; }
  .oracle-v16-team img { flex:0 0 21px !important; width:21px !important; height:21px !important; object-fit:contain !important; }
  .oracle-v16-score { display:flex !important; align-items:center !important; justify-content:center !important; gap:5px !important; min-width:50px !important; color:#fff !important; font-size:15px !important; font-weight:1000 !important; line-height:1 !important; font-variant-numeric:tabular-nums !important; }
  .oracle-v16-score span { color:#718ba2 !important; font-size:9px !important; }
  .oracle-v16-score.is-future { color:#7f99af !important; }
  .oracle-v16-trend { min-width:0 !important; display:flex !important; align-items:center !important; justify-content:flex-end !important; color:#6d8ca7 !important; font-size:9px !important; }
  .oracle-v16-shot-mini { display:grid !important; grid-template-columns:auto auto auto !important; align-items:center !important; gap:3px !important; color:#72f0c5 !important; font-size:7px !important; font-weight:950 !important; }
  .oracle-v16-shot-mini i { color:#27f5a3 !important; font-size:8px !important; }
  .oracle-v16-pressure { grid-column:1/-1 !important; display:flex !important; width:100% !important; height:4px !important; overflow:hidden !important; border-radius:999px !important; background:#0b2943 !important; }
  .oracle-v16-pressure.is-muted { opacity:.18 !important; }
  .oracle-v16-pressure .is-away { background:linear-gradient(90deg,#17c7ff,#22e2ff) !important; }
  .oracle-v16-pressure .is-home { background:linear-gradient(90deg,#ff315f,#ff698a) !important; }
  .oracle-v16-no-games { padding:18px 10px !important; display:flex !important; align-items:center !important; justify-content:center !important; gap:8px !important; color:#7190aa !important; font-size:9px !important; font-weight:850 !important; text-align:center !important; }
  #oracle-broadcast-hero .flex.items-center.justify-end.gap-2.mt-2 { margin-top:5px !important; font-size:6px !important; }

  #oracle-game-center { width:100% !important; max-width:100% !important; margin-top:9px !important; border-radius:15px !important; overflow:visible !important; }
  #oracle-game-center .oracle-modern-gc { width:100% !important; max-width:100% !important; overflow:visible !important; border-radius:15px !important; }
  #oracle-game-center .oracle-score-grid { display:block !important; }
  #oracle-game-center .oracle-momentum-panel { display:none !important; }
  #oracle-game-center .oracle-score-hero { min-height:122px !important; height:auto !important; border-radius:15px !important; }
  #oracle-game-center .oracle-score-hero > .relative { padding:10px 10px !important; }
  #oracle-game-center .oracle-score-hero img { width:40px !important; min-width:40px !important; height:40px !important; }
  #oracle-game-center .oracle-score-hero .min-w-\[105px\] { min-width:72px !important; }
  #oracle-game-center .oracle-score-hero .text-\[52px\] { font-size:32px !important; }
  #oracle-game-center .oracle-score-hero .text-\[44px\] { font-size:31px !important; }

  #oracle-game-center .oracle-gc-tabs {
    position:sticky !important;
    top:var(--oracle-v16-header) !important;
    z-index:650 !important;
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    width:100% !important;
    height:50px !important;
    min-height:50px !important;
    margin:0 !important;
    padding:0 2px !important;
    overflow:hidden !important;
    border-top:1px solid rgba(70,140,190,.18) !important;
    border-bottom:1px solid rgba(70,140,190,.25) !important;
    background:rgba(2,15,27,.985) !important;
    backdrop-filter:blur(15px) !important;
  }
  #oracle-game-center .oracle-gc-tabs::before,#oracle-game-center .oracle-gc-tabs::after { display:none !important; content:none !important; }
  #oracle-game-center .oracle-gc-tab {
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    width:100% !important; min-width:0 !important; max-width:100% !important;
    height:50px !important; min-height:50px !important;
    padding:4px 2px !important;
    border:0 !important; border-bottom:2px solid transparent !important;
    background:transparent !important;
    color:#7891a7 !important;
    font-size:8.5px !important; line-height:1 !important; letter-spacing:0 !important; text-transform:none !important; white-space:nowrap !important;
  }
  #oracle-game-center .oracle-gc-tab::before,#oracle-game-center .oracle-gc-tab::after { content:none !important; display:none !important; }
  #oracle-game-center .oracle-gc-tab i { display:inline-block !important; flex:0 0 auto !important; font-size:9px !important; color:currentColor !important; }
  #oracle-game-center .oracle-gc-tab span { display:inline-block !important; min-width:0 !important; color:currentColor !important; font:inherit !important; }
  #oracle-game-center .oracle-gc-tab.border-red-400,#oracle-game-center .oracle-gc-tab.is-active { color:#fff !important; border-bottom-color:#ff315f !important; background:linear-gradient(180deg,rgba(255,49,95,.08),transparent) !important; }

  #oracle-game-center .oracle-gc-panel { width:100% !important; min-width:0 !important; max-width:100% !important; min-height:0 !important; overflow:visible !important; }
  #oracle-game-center [data-gc-panel="overview"] .oracle-overview-dashboard { padding:9px 0 12px !important; }
  #oracle-game-center [data-gc-panel="stats"] { padding:7px !important; }
  #oracle-game-center [data-gc-panel="players"] { padding-inline:7px !important; }
  #oracle-game-center [data-gc-panel="roster"] { padding:8px !important; }
  #oracle-game-center [data-gc-panel="timeline"] { overflow:visible !important; }
  #oracle-game-center [data-gc-panel="timeline"] > div { padding:12px 9px 28px !important; overflow:visible !important; }

  .oracle-v16-quick-signals {
    width:100% !important;
    margin:0 0 8px !important;
    padding:11px !important;
    border:1px solid rgba(65,143,201,.38) !important;
    border-radius:14px !important;
    background:linear-gradient(145deg,#082039,#051421) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03) !important;
  }
  .oracle-v16-quick-head { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:8px !important; margin-bottom:7px !important; }
  .oracle-v16-quick-head > div { display:flex !important; align-items:center !important; gap:7px !important; color:#fff !important; font-size:12px !important; font-weight:1000 !important; }
  .oracle-v16-quick-head i { color:#ff315f !important; }
  .oracle-v16-quick-head > span { padding:4px 7px !important; border-radius:999px !important; background:#0b2943 !important; color:#5cdfff !important; font-size:6px !important; font-weight:1000 !important; }
  .oracle-v16-quick-list { display:grid !important; gap:5px !important; }
  .oracle-v16-quick-row { display:grid !important; grid-template-columns:34px minmax(0,1fr) auto 46px !important; align-items:center !important; gap:7px !important; min-height:47px !important; padding:6px 7px !important; border:1px solid rgba(255,255,255,.055) !important; border-radius:11px !important; background:#051522 !important; }
  .oracle-v16-player-dot { width:32px !important; height:32px !important; display:grid !important; place-items:center !important; border-radius:50% !important; border:1px solid rgba(88,174,230,.30) !important; background:#0b2943 !important; color:#d9f8ff !important; font-size:8px !important; font-weight:1000 !important; }
  .oracle-v16-quick-name { min-width:0 !important; display:flex !important; flex-direction:column !important; gap:2px !important; }
  .oracle-v16-quick-name strong { overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; color:#fff !important; font-size:9.5px !important; font-weight:1000 !important; }
  .oracle-v16-quick-name span { color:#7592aa !important; font-size:6.5px !important; font-weight:800 !important; }
  .oracle-v16-signal-pill { padding:5px 6px !important; border-radius:8px !important; font-size:6px !important; line-height:1 !important; font-weight:1000 !important; font-style:normal !important; white-space:nowrap !important; }
  .oracle-v16-signal-pill.is-strong { color:#fff !important; background:#f52660 !important; box-shadow:0 0 12px rgba(245,38,96,.22) !important; }
  .oracle-v16-signal-pill.is-signal { color:#111827 !important; background:#ffc83d !important; }
  .oracle-v16-signal-pill.is-watch { color:#b9d9ef !important; background:#0b2943 !important; }
  .oracle-v16-quick-row > em { color:#73e9ff !important; font-size:12px !important; font-weight:1000 !important; font-style:normal !important; text-align:right !important; }
  .oracle-v16-stats-cta { width:100% !important; min-height:42px !important; margin-top:8px !important; display:flex !important; align-items:center !important; justify-content:center !important; gap:8px !important; border:0 !important; border-radius:11px !important; background:linear-gradient(90deg,#176ee8,#7f32df) !important; color:#fff !important; font-size:9px !important; font-weight:1000 !important; }

  #oracle-game-center .oracle-feature-panel,#oracle-game-center .oracle-events-panel,#oracle-game-center .oracle-tactical-panel { width:100% !important; min-width:0 !important; max-width:100% !important; padding:11px !important; border-radius:13px !important; }
  #oracle-game-center .oracle-feature-panel--analysis { min-height:0 !important; }
  #oracle-game-center .oracle-overview-top,#oracle-game-center .oracle-overview-spotlights,#oracle-game-center .oracle-overview-bottom { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:7px !important; margin:0 0 7px !important; }
  #oracle-game-center .oracle-feature-panel--signals { display:none !important; }
  #oracle-game-center .oracle-feature-panel--players .grid { display:flex !important; overflow-x:auto !important; gap:7px !important; scrollbar-width:none !important; }
  #oracle-game-center .oracle-feature-panel--players .grid::-webkit-scrollbar { display:none !important; }
  #oracle-game-center .oracle-feature-panel--players .grid > * { flex:0 0 78% !important; width:78% !important; min-width:78% !important; max-width:78% !important; }

  #oracle-game-center .oracle-v13-pregame-stats { gap:7px !important; }
  #oracle-game-center .oracle-v13-edge-card { padding:9px !important; }
  #oracle-game-center .oracle-v13-player-grid { gap:6px !important; }
  #oracle-game-center .oracle-v13-team-column { padding:7px !important; }
  #oracle-game-center .oracle-v13-player-chip { margin-top:4px !important; padding:6px !important; }
  #oracle-game-center .oracle-v13-compare-card { padding:6px 8px 8px !important; }
  #oracle-game-center .oracle-v13-metric-row { min-height:29px !important; }
  #oracle-game-center .oracle-v13-insights { padding:8px !important; }

  #oracle-mobile-header,#oracle-mobile-bottom-nav,#oracle-mobile-menu,#oracle-mobile-menu-backdrop { display:none !important; }
}

@media (max-width:390px) {
  .oracle-v16-header-brand span { font-size:18px !important; }
  #oracle-game-center .oracle-gc-tab { font-size:8px !important; gap:3px !important; }
  #oracle-game-center .oracle-gc-tab i { font-size:8px !important; }
  #oracle-broadcast-hero #live-matches-mini-grid.oracle-v16-matchboard > button[data-oracle-match-card].oracle-v16-score-row { grid-template-columns:67px minmax(0,1fr) 43px !important; padding-inline:7px !important; }
  .oracle-v16-team { font-size:9px !important; }
  .oracle-v16-quick-row { grid-template-columns:32px minmax(0,1fr) auto 43px !important; gap:5px !important; }
  .oracle-v16-signal-pill { padding-inline:5px !important; }
}

/* ========================================================================== 
   HOCKAI ORACLE LIVE V17 — PHASE-AWARE MOBILE OVERVIEW / SCROLL FINAL
   ========================================================================== */
@media (max-width:767px) {
  html { scroll-padding-top:122px !important; }
  body { padding-bottom:max(18px,env(safe-area-inset-bottom,0px)) !important; }
  #tab-live { padding-bottom:120px !important; overflow:visible !important; }
  #oracle-game-center { scroll-margin-top:116px !important; overflow:visible !important; }
  #oracle-game-center .oracle-gc-panel { scroll-margin-top:116px !important; overflow:visible !important; }
  #oracle-game-center .oracle-v17-scroll-end { display:block !important; width:100% !important; height:96px !important; pointer-events:none !important; }

  /* PREGAME: one useful briefing instead of empty live modules. */
  #oracle-game-center.oracle-v17-pregame [data-gc-panel="overview"] .oracle-overview-dashboard {
    display:block !important; padding:8px 0 2px !important;
  }
  #oracle-game-center.oracle-v17-pregame [data-gc-panel="overview"] .oracle-overview-dashboard > .oracle-v16-quick-signals,
  #oracle-game-center.oracle-v17-pregame [data-gc-panel="overview"] .oracle-overview-dashboard > .oracle-overview-top,
  #oracle-game-center.oracle-v17-pregame [data-gc-panel="overview"] .oracle-overview-dashboard > .oracle-overview-spotlights,
  #oracle-game-center.oracle-v17-pregame [data-gc-panel="overview"] .oracle-overview-dashboard > .oracle-overview-bottom {
    display:none !important;
  }

  .oracle-v17-pregame-brief {
    width:100%; display:grid; gap:8px; padding:0; color:#fff;
  }
  .oracle-v17-brief-head {
    display:flex; align-items:flex-end; justify-content:space-between; gap:10px;
    padding:11px 12px; border:1px solid rgba(60,155,215,.30); border-radius:14px;
    background:linear-gradient(145deg,#09233a,#061521);
  }
  .oracle-v17-brief-head > div > span { display:flex; align-items:center; gap:6px; color:#5de8ff; font-size:6.5px; font-weight:1000; letter-spacing:.10em; }
  .oracle-v17-brief-head > div > span i { color:#c76cff; }
  .oracle-v17-brief-head h3 { margin-top:5px; color:#fff; font-size:18px; line-height:1; font-weight:1000; letter-spacing:-.035em; }
  .oracle-v17-brief-head h3 b { color:#617f98; font-size:10px; text-transform:uppercase; }
  .oracle-v17-brief-head em { padding:5px 7px; border-radius:999px; border:1px solid rgba(46,216,255,.18); background:#08253b; color:#5de8ff; font-size:6px; font-style:normal; font-weight:1000; }

  .oracle-v17-win-card {
    display:grid; grid-template-columns:74px minmax(0,1fr) 74px; align-items:center; gap:7px;
    padding:10px 9px; border:1px solid rgba(73,154,208,.28); border-radius:14px; background:#061522;
  }
  .oracle-v17-team-side { min-width:0; display:grid; grid-template-columns:26px 1fr; align-items:center; gap:4px; }
  .oracle-v17-team-side.is-home { grid-template-columns:1fr 26px; text-align:right; }
  .oracle-v17-team-side.is-home img { grid-column:2; grid-row:1; }
  .oracle-v17-team-side.is-home strong { grid-column:1; grid-row:1; }
  .oracle-v17-team-side img { width:25px; height:25px; object-fit:contain; }
  .oracle-v17-team-side strong { color:#f5fbff; font-size:10px; font-weight:1000; }
  .oracle-v17-team-side b { grid-column:1/-1; color:#71eaff; font-size:16px; line-height:1; font-weight:1000; font-variant-numeric:tabular-nums; }
  .oracle-v17-team-side.is-home b { color:#e277ff; }
  .oracle-v17-win-mid { min-width:0; text-align:center; }
  .oracle-v17-win-mid > span { display:block; color:#698aa4; font-size:5.7px; font-weight:1000; letter-spacing:.07em; }
  .oracle-v17-win-track { display:flex; width:100%; height:6px; margin:6px 0; overflow:hidden; border-radius:999px; background:#102538; }
  .oracle-v17-win-track i { display:block; height:100%; background:linear-gradient(90deg,#21d6ff,#168cff); }
  .oracle-v17-win-track b { display:block; height:100%; background:linear-gradient(90deg,#bc59ff,#ff4a87); }
  .oracle-v17-win-mid small { display:block; overflow:hidden; color:#8ba5ba; font-size:6.5px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }

  .oracle-v17-section-title { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:2px; padding:2px 3px; }
  .oracle-v17-section-title > span { display:flex; align-items:center; gap:6px; color:#dff5ff; font-size:9px; font-weight:1000; }
  .oracle-v17-section-title > span i { color:#ffc83d; }
  .oracle-v17-section-title > small { color:#7d9bb2; font-size:6.5px; font-weight:900; }
  .oracle-v17-section-title > button { border:0; background:transparent; color:#62e5ff; font-size:7px; font-weight:1000; }

  .oracle-v17-edges { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .oracle-v17-edges article { min-width:0; min-height:96px; display:flex; flex-direction:column; align-items:flex-start; padding:9px 8px; border:1px solid rgba(71,151,204,.24); border-radius:12px; background:linear-gradient(150deg,#071c30,#05131f); }
  .oracle-v17-edges article > i { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; background:#0a2942; color:#5de8ff; font-size:10px; }
  .oracle-v17-edges article > div { min-width:0; margin-top:7px; }
  .oracle-v17-edges article strong { display:block; color:#fff; font-size:9px; font-weight:1000; }
  .oracle-v17-edges article span { display:block; margin-top:2px; color:#6d89a0; font-size:6.2px; line-height:1.3; font-weight:800; }
  .oracle-v17-edges article > b { margin-top:auto; padding-top:7px; color:#7cecff; font-size:11px; line-height:1; font-weight:1000; }

  .oracle-v17-opportunities { display:grid; gap:5px; }
  .oracle-v17-opportunities article { display:grid; grid-template-columns:25px minmax(0,1fr) auto 46px; align-items:center; gap:6px; min-height:50px; padding:6px 7px; border:1px solid rgba(255,255,255,.06); border-radius:11px; background:#051522; }
  .oracle-v17-rank { width:24px; height:24px; display:grid; place-items:center; border-radius:8px; background:#0b2943; color:#6feaff; font-size:8px; font-weight:1000; }
  .oracle-v17-op-name { min-width:0; }
  .oracle-v17-op-name strong { display:block; overflow:hidden; color:#fff; font-size:9px; font-weight:1000; text-overflow:ellipsis; white-space:nowrap; }
  .oracle-v17-op-name small { display:block; margin-top:2px; overflow:hidden; color:#6f8aa2; font-size:6.2px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
  .oracle-v17-opportunities article > em { padding:5px 6px; border-radius:7px; background:#f52660; color:#fff; font-size:5.5px; font-style:normal; font-weight:1000; white-space:nowrap; }
  .oracle-v17-opportunities article > b { color:#75eaff; font-size:12px; font-weight:1000; text-align:right; }

  .oracle-v17-shortcuts { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:6px; margin-top:1px; }
  .oracle-v17-shortcuts button { min-width:0; min-height:43px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:5px; padding:7px; border:1px solid rgba(74,151,204,.26); border-radius:11px; background:#071a2c; color:#dff5ff; text-align:left; }
  .oracle-v17-shortcuts button:first-child { border-color:rgba(136,76,255,.38); background:linear-gradient(135deg,rgba(30,111,232,.20),rgba(126,51,225,.20)); }
  .oracle-v17-shortcuts i { color:#63e6ff; font-size:9px; }
  .oracle-v17-shortcuts span { overflow:hidden; font-size:6.8px; font-weight:1000; text-overflow:ellipsis; white-space:nowrap; }
  .oracle-v17-shortcuts b { color:#6f8da4; font-size:9px; }
  .oracle-v17-empty { grid-column:1/-1; padding:14px 10px; border:1px dashed rgba(80,150,195,.20); border-radius:11px; color:#718ca2; font-size:7px; font-weight:850; text-align:center; }

  /* LIVE: remove duplicated player spotlight and the large tactical rink from Overview.
     Their full versions stay available in Joueurs / Match. */
  #oracle-game-center.oracle-v17-live [data-gc-panel="overview"] .oracle-feature-panel--players { display:none !important; }
  #oracle-game-center.oracle-v17-live [data-gc-panel="overview"] .oracle-tactical-panel { display:none !important; }
  #oracle-game-center.oracle-v17-live [data-gc-panel="overview"] .oracle-events-panel { margin-top:0 !important; }
  #oracle-game-center.oracle-v17-live [data-gc-panel="overview"] .oracle-overview-bottom { display:block !important; }
  #oracle-game-center.oracle-v17-live [data-gc-panel="overview"] .oracle-overview-top { margin-bottom:7px !important; }
}

@media (max-width:390px) {
  .oracle-v17-win-card { grid-template-columns:68px minmax(0,1fr) 68px; }
  .oracle-v17-edges article { padding-inline:7px; }
  .oracle-v17-edges article span { font-size:5.8px; }
  .oracle-v17-opportunities article { grid-template-columns:24px minmax(0,1fr) auto 43px; gap:5px; }
  .oracle-v17-shortcuts span { font-size:6.3px; }
}

/* ========================================================================== */
/* HOCKAI ORACLE LIVE V18.1 — ICE FLOW / SUR LA GLACE                         */
/* ========================================================================== */

.oracle-iceflow-main-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
}

.oracle-iceflow-main-tab i {
  color: #42e8ff;
  font-size: 10px;
}

.oracle-iceflow-shell {
  --iceflow-cyan: #38ddff;
  --iceflow-blue: #2e8cff;
  --iceflow-pink: #ff376f;
  --iceflow-green: #37efad;
  --iceflow-yellow: #ffd05c;
  --iceflow-panel: #061827;
  --iceflow-panel-2: #08233a;
  padding: 16px;
  min-width: 0;
  color: #f8fbff;
}

.oracle-iceflow-main-head {
  position: relative;
  overflow: hidden;
  padding: 15px 16px 0;
  border: 1px solid rgba(71, 172, 228, .35);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(46,140,255,.16), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(178,76,255,.10), transparent 30%),
    linear-gradient(145deg, #071d31, #04111e 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 50px rgba(0,0,0,.20);
}

.oracle-iceflow-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8edff3;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.oracle-iceflow-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--iceflow-green);
  box-shadow: 0 0 12px rgba(55,239,173,.9);
}

.oracle-iceflow-kicker em {
  margin-left: 2px;
  padding: 2px 5px;
  border: 1px solid rgba(56,221,255,.28);
  border-radius: 5px;
  color: var(--iceflow-cyan);
  background: rgba(56,221,255,.06);
  font-style: normal;
  letter-spacing: .08em;
}

.oracle-iceflow-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 7px;
}

.oracle-iceflow-title-row h2 {
  margin: 0;
  color: white;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.oracle-iceflow-title-row p {
  margin: 6px 0 0;
  color: #7298b8;
  font-size: 9px;
  font-weight: 700;
}

.oracle-iceflow-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(55,239,173,.22);
  border-radius: 9px;
  background: rgba(12,65,55,.18);
  color: #79eac1;
  font-size: 7px;
  font-weight: 1000;
  letter-spacing: .08em;
  white-space: nowrap;
}

.oracle-iceflow-subnav {
  display: flex;
  gap: 4px;
  margin: 15px -4px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.oracle-iceflow-subnav::-webkit-scrollbar { display: none; }

.oracle-iceflow-subnav button {
  min-height: 42px;
  flex: 1 1 0;
  min-width: 116px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6689a8;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.oracle-iceflow-subnav button.is-active {
  color: #fff;
  border-bottom-color: var(--iceflow-cyan);
  background: linear-gradient(180deg, rgba(56,221,255,.09), rgba(56,221,255,.015));
}
.oracle-iceflow-subnav button.is-active i { color: var(--iceflow-cyan); }

.oracle-iceflow-body {
  padding-top: 12px;
  min-width: 0;
}

.oracle-iceflow-statusline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 42px;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 10px;
}

.oracle-iceflow-feed-status,
.oracle-iceflow-clock,
.oracle-iceflow-refresh {
  min-height: 48px;
  border: 1px solid rgba(68,137,187,.34);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(8,31,51,.96), rgba(4,18,31,.96));
}

.oracle-iceflow-feed-status {
  display: grid;
  grid-template-columns: 8px auto minmax(0,1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
}
.oracle-iceflow-feed-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7f9db7;
}
.oracle-iceflow-feed-status strong {
  color: #dbefff;
  font-size: 9px;
  font-weight: 1000;
  text-transform: uppercase;
}
.oracle-iceflow-feed-status small {
  min-width: 0;
  color: #6689a7;
  font-size: 8px;
  font-weight: 700;
}
.oracle-iceflow-feed-status.is-live > span { background: var(--iceflow-green); box-shadow: 0 0 11px rgba(55,239,173,.9); }
.oracle-iceflow-feed-status.is-live strong { color: #81ffd1; }
.oracle-iceflow-feed-status.is-recent > span { background: var(--iceflow-yellow); box-shadow: 0 0 11px rgba(255,208,92,.7); }
.oracle-iceflow-feed-status.is-recent strong { color: #ffe19a; }
.oracle-iceflow-feed-status.is-delayed > span { background: var(--iceflow-pink); box-shadow: 0 0 11px rgba(255,55,111,.7); }
.oracle-iceflow-feed-status.is-delayed strong { color: #ff85a7; }

.oracle-iceflow-clock {
  min-width: 132px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 7px;
  padding: 7px 11px;
}
.oracle-iceflow-clock i { grid-row: 1 / 3; align-self: center; color: var(--iceflow-cyan); }
.oracle-iceflow-clock strong { color: #fff; font-size: 10px; font-weight: 1000; }
.oracle-iceflow-clock small { color: #6487a5; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.oracle-iceflow-refresh { color: #7ba0bf; cursor: pointer; transition: .18s ease; }
.oracle-iceflow-refresh:hover { color: var(--iceflow-cyan); border-color: rgba(56,221,255,.62); }

.oracle-iceflow-rinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.oracle-iceflow-team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(63,143,198,.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(29,130,255,.09), transparent 32%),
    linear-gradient(150deg, #08223a, #051522 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.026), 0 10px 30px rgba(0,0,0,.16);
}
.oracle-iceflow-team-card[data-side="away"] { border-top-color: rgba(255,72,117,.55); }
.oracle-iceflow-team-card[data-side="home"] { border-top-color: rgba(56,221,255,.62); }

.oracle-iceflow-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(79,145,190,.20);
}
.oracle-iceflow-team-id { display: flex; align-items: center; gap: 9px; min-width: 0; }
.oracle-iceflow-team-id img { width: 31px; height: 31px; object-fit: contain; flex: 0 0 auto; }
.oracle-iceflow-team-id div { min-width: 0; }
.oracle-iceflow-team-id strong { display: block; color: #fff; font-size: 12px; font-weight: 1000; }
.oracle-iceflow-team-id small { display: block; margin-top: 1px; color: #6688a5; font-size: 7px; font-weight: 800; text-transform: uppercase; }

.oracle-iceflow-unit-badge {
  min-width: 92px;
  padding: 5px 8px;
  border: 1px solid rgba(56,221,255,.28);
  border-radius: 8px;
  background: rgba(56,221,255,.055);
  text-align: right;
}
.oracle-iceflow-unit-badge span { display: block; color: #6497b8; font-size: 6px; font-weight: 1000; letter-spacing: .10em; }
.oracle-iceflow-unit-badge strong { display: block; margin-top: 1px; color: #8aeaff; font-size: 10px; font-weight: 1000; }
.oracle-iceflow-unit-badge.is-mixed { border-color: rgba(255,208,92,.38); background: rgba(255,208,92,.06); }
.oracle-iceflow-unit-badge.is-mixed strong { color: #ffd879; }

.oracle-iceflow-rink {
  position: relative;
  min-height: 245px;
  margin: 10px;
  overflow: hidden;
  border: 1px solid rgba(171,215,241,.45);
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 50%, rgba(30,110,167,.12), transparent 48%),
    linear-gradient(180deg, rgba(232,248,255,.055), rgba(69,139,182,.025));
  box-shadow: inset 0 0 40px rgba(39,146,211,.08);
}
.oracle-iceflow-rink::before,
.oracle-iceflow-rink::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 55px;
  height: 84px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,75,106,.16);
  border-radius: 50%;
}
.oracle-iceflow-rink::before { left: -30px; }
.oracle-iceflow-rink::after { right: -30px; }
.oracle-iceflow-rink-line { position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none; }
.oracle-iceflow-rink-line.is-red { left: 50%; background: rgba(255,65,95,.26); }
.oracle-iceflow-rink-line.is-blue.one { left: 28%; background: rgba(65,164,255,.18); }
.oracle-iceflow-rink-line.is-blue.two { left: 72%; background: rgba(65,164,255,.18); }
.oracle-iceflow-rink-circle { position: absolute; width: 38px; height: 38px; border: 1px solid rgba(255,72,103,.12); border-radius: 50%; }
.oracle-iceflow-rink-circle.c1 { left: 14%; top: 15%; }
.oracle-iceflow-rink-circle.c2 { left: 14%; bottom: 15%; }
.oracle-iceflow-rink-circle.c3 { right: 14%; top: 15%; }
.oracle-iceflow-rink-circle.c4 { right: 14%; bottom: 15%; }

.oracle-iceflow-rink-players {
  position: relative;
  z-index: 4;
  min-height: 245px;
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 16px 14px 12px;
}
.oracle-iceflow-row { display: flex; justify-content: center; align-items: center; gap: 7px; min-width: 0; }
.oracle-iceflow-row.is-forwards { align-self: end; }
.oracle-iceflow-row.is-defense { align-self: start; }
.oracle-iceflow-row.is-goalie-row { min-height: 34px; }

.oracle-iceflow-player {
  min-width: 0;
  max-width: 31%;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(71,154,209,.43);
  border-radius: 10px;
  background: rgba(3,18,31,.90);
  color: white;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.oracle-iceflow-player:hover { transform: translateY(-1px); border-color: rgba(56,221,255,.75); background: rgba(8,37,60,.95); }
.oracle-iceflow-player.is-goalie { max-width: 178px; border-color: rgba(255,208,92,.30); }
.oracle-iceflow-number {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(46,140,255,.22), rgba(56,221,255,.10));
  color: #a9efff;
  font-size: 9px;
  font-weight: 1000;
}
.oracle-iceflow-player-copy { min-width: 0; }
.oracle-iceflow-player-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 9px; font-weight: 1000; }
.oracle-iceflow-player-copy small { display: block; margin-top: 2px; color: #7192ae; font-size: 6.5px; font-weight: 800; white-space: nowrap; }
.oracle-iceflow-wait { color: #557691; font-size: 8px; font-weight: 900; text-transform: uppercase; }

.oracle-iceflow-team-insight {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 9px;
  padding: 9px 10px;
  border: 1px solid rgba(64,133,181,.25);
  border-radius: 10px;
  background: rgba(0,0,0,.16);
  color: #8aa9c2;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.35;
}
.oracle-iceflow-team-insight i { color: #55dfff; }
.oracle-iceflow-team-insight.is-tactical { border-color: rgba(255,208,92,.25); color: #d9c78e; }
.oracle-iceflow-team-insight.is-tactical i { color: var(--iceflow-yellow); }
.oracle-iceflow-team-insight.is-positive { border-color: rgba(55,239,173,.22); color: #93d7bd; }
.oracle-iceflow-team-insight.is-positive i { color: var(--iceflow-green); }
.oracle-iceflow-team-insight.is-warning i { color: var(--iceflow-pink); }

.oracle-iceflow-unit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid rgba(74,141,188,.20);
  background: rgba(0,0,0,.12);
}
.oracle-iceflow-unit-stats > div { padding: 9px 10px; text-align: center; }
.oracle-iceflow-unit-stats span { display: block; color: #5e819f; font-size: 6.5px; font-weight: 900; text-transform: uppercase; }
.oracle-iceflow-unit-stats strong { display: block; margin-top: 2px; color: #e9f8ff; font-size: 10px; font-weight: 1000; }

.oracle-iceflow-intelligence {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(179,84,255,.25);
  border-radius: 13px;
  background: linear-gradient(120deg, rgba(104,48,165,.11), rgba(6,27,44,.78));
}
.oracle-iceflow-intelligence-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(179,84,255,.11); color: #c787ff; }
.oracle-iceflow-intelligence div:last-child { min-width: 0; }
.oracle-iceflow-intelligence span { display: block; color: #b27ad6; font-size: 6.5px; font-weight: 1000; letter-spacing: .12em; }
.oracle-iceflow-intelligence strong { display: block; margin-top: 2px; color: #f5ecff; font-size: 9px; font-weight: 950; }
.oracle-iceflow-intelligence p { margin: 3px 0 0; color: #7896af; font-size: 7.5px; line-height: 1.4; }

.oracle-iceflow-units-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.oracle-iceflow-top-units { overflow: hidden; border: 1px solid rgba(62,137,192,.32); border-radius: 13px; background: #061827; }
.oracle-iceflow-top-units > header { display: flex; align-items: center; gap: 7px; padding: 9px 10px; border-bottom: 1px solid rgba(70,135,180,.18); }
.oracle-iceflow-top-units > header img { width: 22px; height: 22px; object-fit: contain; }
.oracle-iceflow-top-units > header strong { color: #fff; font-size: 9px; font-weight: 1000; }
.oracle-iceflow-top-units > header span { color: #607f9a; font-size: 6.5px; font-weight: 800; text-transform: uppercase; }
.oracle-iceflow-unit-list article { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 9px 10px; border-bottom: 1px solid rgba(77,134,176,.13); }
.oracle-iceflow-unit-list article:last-child { border-bottom: 0; }
.oracle-iceflow-rank { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; background: rgba(56,221,255,.07); color: #57dfff; font-size: 7px; font-weight: 1000; }
.oracle-iceflow-unit-names { min-width: 0; }
.oracle-iceflow-unit-names strong { display: block; color: #eaf8ff; font-size: 8px; font-weight: 1000; }
.oracle-iceflow-unit-names small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6689a5; font-size: 6.5px; }
.oracle-iceflow-unit-time { text-align: right; }
.oracle-iceflow-unit-time strong { display: block; color: #fff; font-size: 9px; font-weight: 1000; }
.oracle-iceflow-unit-time small { display: block; color: #698aa5; font-size: 6.5px; }

/* Connections */
.oracle-iceflow-connections-head,
.oracle-iceflow-changes-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(66,142,193,.30);
  border-radius: 13px;
  background: linear-gradient(145deg, #071e32, #051522);
}
.oracle-iceflow-connections-head > div > span,
.oracle-iceflow-changes-head > span { color: #4edffc; font-size: 7px; font-weight: 1000; letter-spacing: .13em; }
.oracle-iceflow-connections-head h3,
.oracle-iceflow-changes-head h3 { margin: 2px 0 0; color: white; font-size: 15px; font-weight: 1000; letter-spacing: -.02em; }
.oracle-iceflow-connections-head p,
.oracle-iceflow-changes-head p { margin: 3px 0 0; color: #6d8ea9; font-size: 7.5px; }
.oracle-iceflow-player-select { min-width: 260px; }
.oracle-iceflow-player-select > span { display: block; margin-bottom: 4px; color: #688aa6; font-size: 6.5px; font-weight: 1000; text-transform: uppercase; }
.oracle-iceflow-player-select select { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid rgba(71,157,211,.42); border-radius: 9px; outline: none; background: #061725; color: white; font-size: 9px; font-weight: 850; }

.oracle-iceflow-player-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px;
  border: 1px solid rgba(179,84,255,.28);
  border-radius: 13px;
  background: linear-gradient(120deg, rgba(105,52,166,.10), rgba(6,25,41,.94));
}
.oracle-iceflow-player-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.oracle-iceflow-player-identity img { width: 42px; height: 42px; object-fit: contain; }
.oracle-iceflow-player-identity div { min-width: 0; }
.oracle-iceflow-player-identity span { display: block; color: #8a76ae; font-size: 7px; font-weight: 1000; text-transform: uppercase; }
.oracle-iceflow-player-identity strong { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 13px; font-weight: 1000; }
.oracle-iceflow-player-kpis { display: flex; gap: 4px; }
.oracle-iceflow-player-kpis div { min-width: 78px; padding: 7px 9px; border: 1px solid rgba(77,139,182,.25); border-radius: 8px; background: rgba(0,0,0,.18); text-align: center; }
.oracle-iceflow-player-kpis span { display: block; color: #63839e; font-size: 6px; font-weight: 950; text-transform: uppercase; }
.oracle-iceflow-player-kpis strong { display: block; margin-top: 2px; color: #f2fbff; font-size: 11px; font-weight: 1000; }

.oracle-iceflow-connections-list { margin-top: 10px; overflow: hidden; border: 1px solid rgba(63,137,189,.31); border-radius: 13px; background: #061725; }
.oracle-iceflow-connections-list > button { width: 100%; min-height: 55px; display: grid; grid-template-columns: 26px minmax(150px,.7fr) minmax(90px,1.3fr) 82px; gap: 9px; align-items: center; padding: 8px 11px; border: 0; border-bottom: 1px solid rgba(75,132,171,.14); background: transparent; color: white; text-align: left; cursor: pointer; }
.oracle-iceflow-connections-list > button:last-child { border-bottom: 0; }
.oracle-iceflow-connections-list > button:hover { background: rgba(56,221,255,.035); }
.oracle-iceflow-connection-rank { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: rgba(56,221,255,.06); color: #69e5ff; font-size: 7px; font-weight: 1000; }
.oracle-iceflow-connection-name { min-width: 0; }
.oracle-iceflow-connection-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eaf8ff; font-size: 9px; font-weight: 1000; }
.oracle-iceflow-connection-name small { display: block; margin-top: 2px; color: #678aa6; font-size: 6.5px; font-weight: 850; }
.oracle-iceflow-connection-bar { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(76,125,159,.19); }
.oracle-iceflow-connection-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2e8cff, #38ddff, #b453ff); box-shadow: 0 0 12px rgba(56,221,255,.20); }
.oracle-iceflow-connection-time { text-align: right; }
.oracle-iceflow-connection-time strong { display: block; color: #fff; font-size: 10px; font-weight: 1000; }
.oracle-iceflow-connection-time small { display: block; color: #6d90aa; font-size: 6px; font-weight: 850; }

/* Changes */
.oracle-iceflow-changes-head { display: block; }
.oracle-iceflow-change-list { display: grid; gap: 7px; }
.oracle-iceflow-change-list article { display: grid; grid-template-columns: 105px minmax(0,1fr) 150px; gap: 10px; align-items: center; padding: 10px 11px; border: 1px solid rgba(64,137,185,.30); border-radius: 11px; background: linear-gradient(145deg, #071c2e, #05131f); }
.oracle-iceflow-change-time strong { display: block; color: #fff; font-size: 9px; font-weight: 1000; }
.oracle-iceflow-change-time span { display: block; margin-top: 2px; color: #5c83a1; font-size: 7px; font-weight: 1000; }
.oracle-iceflow-change-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; min-width: 0; }
.oracle-iceflow-change-flow > i { color: #486d8c; }
.oracle-iceflow-change-flow div { min-width: 0; }
.oracle-iceflow-change-flow span { display: block; font-size: 6px; font-weight: 1000; letter-spacing: .09em; }
.oracle-iceflow-change-flow .is-out span { color: #ff728f; }
.oracle-iceflow-change-flow .is-in span { color: #5ef0b6; }
.oracle-iceflow-change-flow p { display: flex; gap: 5px; flex-wrap: wrap; margin: 4px 0 0; }
.oracle-iceflow-change-flow b { padding: 3px 5px; border-radius: 5px; background: rgba(255,255,255,.035); color: #ddecf7; font-size: 7px; font-weight: 900; }
.oracle-iceflow-change-unit { min-width: 0; padding: 7px 8px; border-left: 2px solid rgba(56,221,255,.52); background: rgba(56,221,255,.035); }
.oracle-iceflow-change-unit span { display: block; color: #5f849e; font-size: 6px; font-weight: 900; text-transform: uppercase; }
.oracle-iceflow-change-unit strong { display: block; margin-top: 2px; color: #72e7ff; font-size: 9px; font-weight: 1000; }
.oracle-iceflow-change-unit.is-mixed { border-left-color: var(--iceflow-yellow); background: rgba(255,208,92,.035); }
.oracle-iceflow-change-unit.is-mixed strong { color: #ffd878; }

.oracle-iceflow-legacy-timeline { min-width: 0; }
.oracle-iceflow-legacy-timeline > div { padding-left: 0 !important; padding-right: 0 !important; }

.oracle-iceflow-empty,
.oracle-iceflow-empty-live,
.oracle-iceflow-pregame {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
  border: 1px solid rgba(63,135,184,.29);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 10%, rgba(46,140,255,.09), transparent 38%), #051522;
  color: #6d8ea9;
  text-align: center;
}
.oracle-iceflow-empty-live > span,
.oracle-iceflow-pregame > span { margin-top: 10px; color: #54dfff; font-size: 7px; font-weight: 1000; letter-spacing: .16em; }
.oracle-iceflow-empty-live h3,
.oracle-iceflow-pregame h3 { margin: 4px 0 0; color: #fff; font-size: 16px; font-weight: 1000; }
.oracle-iceflow-empty-live p,
.oracle-iceflow-pregame p { max-width: 650px; margin: 6px 0 0; color: #6f8fa9; font-size: 8px; line-height: 1.5; }
.oracle-iceflow-empty-icon,
.oracle-iceflow-pregame-visual { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(56,221,255,.27); border-radius: 16px; background: rgba(56,221,255,.055); color: #54e2ff; font-size: 18px; }
.oracle-iceflow-empty-icon::after,
.oracle-iceflow-pregame-visual > span { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(56,221,255,.10); border-radius: 21px; }
.oracle-iceflow-empty-live button { margin-top: 12px; min-height: 40px; padding: 0 13px; border: 1px solid rgba(56,221,255,.34); border-radius: 9px; background: rgba(56,221,255,.06); color: #8eecff; font-size: 8px; font-weight: 1000; text-transform: uppercase; cursor: pointer; }
.oracle-iceflow-empty-live button i { margin-right: 6px; }
.oracle-iceflow-pregame > div:last-child { margin-top: 13px; color: #83b6cd; font-size: 7.5px; font-weight: 850; }
.oracle-iceflow-pregame > div:last-child i { margin-right: 6px; color: var(--iceflow-green); }

.oracle-iceflow-footnote { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; padding: 9px 11px; border: 1px solid rgba(63,129,174,.16); border-radius: 10px; color: #577690; background: rgba(0,0,0,.13); font-size: 6.8px; line-height: 1.45; }
.oracle-iceflow-footnote i { margin-top: 1px; color: #45dfff; }

@media (max-width: 980px) {
  .oracle-iceflow-rinks,
  .oracle-iceflow-units-grid { grid-template-columns: 1fr; }
  .oracle-iceflow-change-list article { grid-template-columns: 90px minmax(0,1fr); }
  .oracle-iceflow-change-unit { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .oracle-iceflow-shell { padding: 7px 0 12px; }
  .oracle-iceflow-main-head { padding: 12px 10px 0; border-radius: 11px; }
  .oracle-iceflow-title-row { align-items: flex-start; }
  .oracle-iceflow-title-row h2 { font-size: 24px; }
  .oracle-iceflow-title-row p { font-size: 7px; line-height: 1.35; }
  .oracle-iceflow-source { display: none; }

  .oracle-iceflow-subnav { margin-top: 12px; }
  .oracle-iceflow-subnav button { min-width: 84px; min-height: 40px; padding: 9px 7px; gap: 5px; font-size: 7px; }

  .oracle-iceflow-statusline { grid-template-columns: minmax(0,1fr) 42px; }
  .oracle-iceflow-clock { grid-column: 1 / -1; grid-row: 2; min-width: 0; min-height: 42px; }
  .oracle-iceflow-refresh { grid-column: 2; grid-row: 1; }
  .oracle-iceflow-feed-status { grid-column: 1; grid-row: 1; grid-template-columns: 7px minmax(0,1fr); row-gap: 1px; min-width: 0; padding: 8px 9px; }
  .oracle-iceflow-feed-status small { grid-column: 2; }

  .oracle-iceflow-team-head { padding: 9px; }
  .oracle-iceflow-team-id img { width: 28px; height: 28px; }
  .oracle-iceflow-unit-badge { min-width: 84px; padding: 4px 6px; }

  .oracle-iceflow-rink { min-height: 220px; margin: 7px; border-radius: 34px; }
  .oracle-iceflow-rink-players { min-height: 220px; padding: 13px 7px 9px; gap: 6px; }
  .oracle-iceflow-row { gap: 4px; }
  .oracle-iceflow-player { padding: 6px 4px; gap: 4px; border-radius: 8px; }
  .oracle-iceflow-number { width: 23px; height: 23px; flex-basis: 23px; font-size: 7px; border-radius: 6px; }
  .oracle-iceflow-player-copy strong { font-size: 7.5px; }
  .oracle-iceflow-player-copy small { font-size: 5.8px; }
  .oracle-iceflow-team-insight { margin: 0 7px 7px; padding: 8px; font-size: 7px; }
  .oracle-iceflow-unit-stats > div { padding: 8px 4px; }

  .oracle-iceflow-intelligence { margin-top: 7px; padding: 10px; }
  .oracle-iceflow-intelligence-icon { width: 34px; height: 34px; flex-basis: 34px; }

  .oracle-iceflow-connections-head { display: block; padding: 10px; }
  .oracle-iceflow-connections-head h3,
  .oracle-iceflow-changes-head h3 { font-size: 13px; }
  .oracle-iceflow-player-select { min-width: 0; margin-top: 10px; }
  .oracle-iceflow-player-select select { min-height: 44px; font-size: 16px; }

  .oracle-iceflow-player-hero { display: block; padding: 10px; }
  .oracle-iceflow-player-kpis { margin-top: 9px; }
  .oracle-iceflow-player-kpis div { flex: 1 1 0; min-width: 0; }

  .oracle-iceflow-connections-list > button { grid-template-columns: 22px minmax(0,1fr) 66px; gap: 7px; padding: 8px; }
  .oracle-iceflow-connection-bar { grid-column: 2 / 4; grid-row: 2; }
  .oracle-iceflow-connection-time { grid-column: 3; grid-row: 1; }

  .oracle-iceflow-change-list article { grid-template-columns: 1fr; padding: 9px; }
  .oracle-iceflow-change-time { display: flex; justify-content: space-between; align-items: center; }
  .oracle-iceflow-change-flow { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
  .oracle-iceflow-change-flow b { font-size: 6.4px; }

  .oracle-iceflow-empty,
  .oracle-iceflow-empty-live,
  .oracle-iceflow-pregame { min-height: 230px; border-radius: 11px; padding: 24px 14px; }
  .oracle-iceflow-empty-live h3,
  .oracle-iceflow-pregame h3 { font-size: 14px; }

  .oracle-iceflow-legacy-timeline { overflow: hidden; }
}

@media (max-width: 390px) {
  .oracle-iceflow-subnav button { min-width: 79px; }
  .oracle-iceflow-player-copy strong { font-size: 7px; }
  .oracle-iceflow-player-copy small { font-size: 5.4px; }
  .oracle-iceflow-number { width: 21px; height: 21px; flex-basis: 21px; }
  .oracle-iceflow-rink { min-height: 210px; }
  .oracle-iceflow-rink-players { min-height: 210px; }
}

/* ========================================================================== */
/* HOCKAI ORACLE LIVE V19 — ICE FLOW PRO                                      */
/* ========================================================================== */
.oracle-iceflow-v19-shell { --if19-cyan:#31dcff; --if19-blue:#2d8cff; --if19-violet:#9b5cff; --if19-green:#54efb4; --if19-yellow:#ffd76a; --if19-red:#ff6688; }
.oracle-iceflow-v19-main-head { background:linear-gradient(120deg,rgba(8,42,67,.98),rgba(10,24,47,.98) 58%,rgba(24,19,55,.96))!important; }
.oracle-iceflow-v19-livebar { display:grid; grid-template-columns:minmax(220px,.9fr) minmax(170px,.55fr) minmax(260px,1fr) 46px; gap:8px; align-items:stretch; margin:10px 0; }
.oracle-iceflow-v19-clock,.oracle-iceflow-v19-help { min-height:52px; border:1px solid rgba(57,139,194,.28); border-radius:11px; background:linear-gradient(145deg,#071d30,#061521); padding:9px 11px; }
.oracle-iceflow-v19-clock span,.oracle-iceflow-v19-help span { display:block; color:#688da8; font-size:6.5px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.oracle-iceflow-v19-clock strong { display:block; margin-top:3px; color:#f2fbff; font-size:13px; font-weight:1000; }
.oracle-iceflow-v19-help { display:flex; gap:8px; align-items:center; }
.oracle-iceflow-v19-help i { color:var(--if19-cyan); font-size:15px; }
.oracle-iceflow-v19-help span { line-height:1.4; letter-spacing:0; text-transform:none; font-size:7.5px; }

.oracle-iceflow-v19-now-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.oracle-iceflow-v19-team-card { overflow:hidden; border:1px solid rgba(51,145,199,.35); border-radius:14px; background:radial-gradient(circle at 0 0,rgba(49,220,255,.06),transparent 28%),linear-gradient(150deg,#071c2d,#061521 60%,#08182a); box-shadow:0 14px 35px rgba(0,0,0,.16); }
.oracle-iceflow-v19-team-card[data-side="home"] { border-color:rgba(156,93,255,.35); background:radial-gradient(circle at 100% 0,rgba(155,92,255,.07),transparent 28%),linear-gradient(150deg,#071c2d,#061521 60%,#10152b); }
.oracle-iceflow-v19-team-head { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:11px 12px; border-bottom:1px solid rgba(75,139,180,.18); }
.oracle-iceflow-v19-team-id { display:flex; align-items:center; gap:9px; min-width:0; }
.oracle-iceflow-v19-team-id img { width:34px; height:34px; object-fit:contain; }
.oracle-iceflow-v19-team-id div { min-width:0; }
.oracle-iceflow-v19-team-id span { display:block; color:#5f8eaa; font-size:6px; font-weight:1000; letter-spacing:.1em; }
.oracle-iceflow-v19-team-id strong { display:block; margin-top:2px; color:#fff; font-size:16px; font-weight:1000; }
.oracle-iceflow-v19-situation { min-width:112px; padding:7px 9px; border:1px solid rgba(91,158,198,.25); border-radius:9px; background:rgba(0,0,0,.16); text-align:right; }
.oracle-iceflow-v19-situation strong { display:block; color:#eaf9ff; font-size:9px; font-weight:1000; }
.oracle-iceflow-v19-situation small { display:block; margin-top:2px; color:#64869e; font-size:5.8px; font-weight:900; }
.oracle-iceflow-v19-situation.is-power strong { color:var(--if19-green); }
.oracle-iceflow-v19-situation.is-penalty strong { color:var(--if19-red); }
.oracle-iceflow-v19-situation.is-empty strong { color:var(--if19-yellow); }

.oracle-iceflow-v19-unit-summary { display:grid; grid-template-columns:auto 1fr; column-gap:8px; row-gap:2px; align-items:center; margin:9px 10px 0; padding:9px 10px; border:1px solid rgba(49,220,255,.22); border-radius:10px; background:linear-gradient(90deg,rgba(49,220,255,.065),rgba(45,140,255,.025)); }
.oracle-iceflow-v19-unit-summary > span { color:#6fe7ff; font-size:6px; font-weight:1000; letter-spacing:.08em; }
.oracle-iceflow-v19-unit-summary > strong { color:#fff; font-size:11px; font-weight:1000; text-align:right; }
.oracle-iceflow-v19-unit-summary > small { grid-column:1/-1; color:#6d8ca3; font-size:6.7px; font-weight:850; }
.oracle-iceflow-v19-unit-summary.is-mixed { border-color:rgba(255,215,106,.34); background:linear-gradient(90deg,rgba(255,215,106,.07),rgba(255,153,59,.02)); }
.oracle-iceflow-v19-unit-summary.is-mixed > span,.oracle-iceflow-v19-unit-summary.is-mixed > strong { color:#ffdc79; }

.oracle-iceflow-v19-role { padding:10px; }
.oracle-iceflow-v19-role + .oracle-iceflow-v19-role { padding-top:0; }
.oracle-iceflow-v19-role-label { display:flex; align-items:center; gap:6px; margin-bottom:6px; color:#6d91aa; }
.oracle-iceflow-v19-role-label i { width:16px; color:#3ddfff; font-size:9px; text-align:center; }
.oracle-iceflow-v19-role-label span { font-size:6.5px; font-weight:1000; letter-spacing:.1em; }
.oracle-iceflow-v19-role-label b { margin-left:auto; width:20px; height:20px; display:grid; place-items:center; border-radius:6px; background:rgba(49,220,255,.07); color:#7deaff; font-size:7px; }
.oracle-iceflow-v19-player-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.oracle-iceflow-v19-player-grid.is-defense { grid-template-columns:repeat(2,minmax(0,1fr)); }
.oracle-iceflow-v19-player { width:100%; min-width:0; display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:7px; align-items:center; padding:8px; border:1px solid rgba(63,142,192,.30); border-radius:9px; background:linear-gradient(145deg,#092239,#061724); color:#fff; text-align:left; cursor:pointer; transition:.16s ease; }
.oracle-iceflow-v19-player:hover { transform:translateY(-1px); border-color:rgba(49,220,255,.58); background:#0a2942; }
.oracle-iceflow-v19-player.is-fresh { border-color:rgba(84,239,180,.42); box-shadow:inset 3px 0 0 rgba(84,239,180,.75); }
.oracle-iceflow-v19-player.is-long { border-color:rgba(255,102,136,.42); box-shadow:inset 3px 0 0 rgba(255,102,136,.78); }
.oracle-iceflow-v19-num { width:29px; height:29px; display:grid; place-items:center; border-radius:7px; background:linear-gradient(135deg,#0e4264,#0a2a42); color:#e8fbff; font-size:8px; font-weight:1000; }
.oracle-iceflow-v19-name { min-width:0; }
.oracle-iceflow-v19-name strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff; font-size:8.5px; font-weight:1000; }
.oracle-iceflow-v19-name small { display:block; margin-top:2px; color:#668aa4; font-size:5.8px; font-weight:900; }
.oracle-iceflow-v19-shift { text-align:right; }
.oracle-iceflow-v19-shift b { display:block; color:#74e8ff; font-size:8px; font-weight:1000; }
.oracle-iceflow-v19-player.is-long .oracle-iceflow-v19-shift b { color:#ff879f; }
.oracle-iceflow-v19-player.is-fresh .oracle-iceflow-v19-shift b { color:#69f0ba; }
.oracle-iceflow-v19-shift small { display:block; margin-top:1px; color:#526f86; font-size:5px; font-weight:900; text-transform:uppercase; }
.oracle-iceflow-v19-wait { grid-column:1/-1; min-height:47px; display:grid; place-items:center; border:1px dashed rgba(70,135,177,.25); border-radius:9px; color:#5d7d96; font-size:7px; font-weight:850; }
.oracle-iceflow-v19-goalie { display:grid; grid-template-columns:90px minmax(0,1fr); gap:8px; align-items:center; margin:0 10px 10px; padding:8px; border:1px solid rgba(255,215,106,.22); border-radius:10px; background:rgba(255,215,106,.025); }
.oracle-iceflow-v19-goalie > span { color:#bda55e; font-size:6px; font-weight:1000; }
.oracle-iceflow-v19-goalie > span i { margin-right:5px; }
.oracle-iceflow-v19-goalie .oracle-iceflow-v19-player { max-width:310px; }

.oracle-iceflow-v19-team-footer { display:grid; grid-template-columns:minmax(0,1fr) 105px; gap:8px; padding:0 10px 10px; }
.oracle-iceflow-v19-team-footer > div { min-width:0; padding:8px 9px; border:1px solid rgba(63,137,184,.20); border-radius:9px; background:rgba(0,0,0,.12); }
.oracle-iceflow-v19-team-footer span { display:block; color:#597d97; font-size:5.5px; font-weight:1000; }
.oracle-iceflow-v19-team-footer strong { display:block; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#eaf7ff; font-size:8px; font-weight:1000; }
.oracle-iceflow-v19-team-footer small { display:block; margin-top:2px; color:#63829a; font-size:5.5px; font-weight:800; }
.oracle-iceflow-v19-team-footer .is-positive strong { color:var(--if19-green); }
.oracle-iceflow-v19-team-footer .is-negative strong { color:var(--if19-red); }
.oracle-iceflow-v19-legend { display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; padding:8px 10px; border:1px solid rgba(63,133,178,.15); border-radius:9px; background:rgba(0,0,0,.10); color:#67869d; font-size:6.2px; font-weight:850; }
.oracle-iceflow-v19-legend span { display:flex; align-items:center; gap:5px; }
.oracle-iceflow-v19-legend i { width:7px; height:7px; border-radius:999px; background:#40bce8; }
.oracle-iceflow-v19-legend i.is-fresh { background:var(--if19-green); }
.oracle-iceflow-v19-legend i.is-long { background:var(--if19-red); }

/* Connections */
.oracle-iceflow-v19-connections-head { border-radius:12px; }
.oracle-iceflow-v19-connection-hero { display:grid; grid-template-columns:minmax(220px,1fr) minmax(200px,.75fr) auto; gap:10px; align-items:center; margin-top:9px; padding:10px 11px; border:1px solid rgba(117,82,193,.35); border-radius:12px; background:linear-gradient(100deg,rgba(69,43,128,.22),rgba(6,24,39,.9) 55%); }
.oracle-iceflow-v19-bestmate { min-width:0; padding:8px 10px; border-left:2px solid rgba(49,220,255,.5); background:rgba(49,220,255,.03); }
.oracle-iceflow-v19-bestmate span { display:block; color:#62a5be; font-size:5.8px; font-weight:1000; }
.oracle-iceflow-v19-bestmate strong { display:block; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff; font-size:9px; font-weight:1000; }
.oracle-iceflow-v19-bestmate small { display:block; margin-top:2px; color:#6c8da5; font-size:6px; font-weight:850; }
.oracle-iceflow-v19-together-now { display:inline-block; margin-left:6px; color:#58edb4; font-size:5px; font-style:normal; font-weight:1000; }

/* Pregame memory */
.oracle-iceflow-v19-pre-loading { min-height:260px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:1px solid rgba(49,220,255,.22); border-radius:13px; background:linear-gradient(145deg,#071b2c,#061521); text-align:center; }
.oracle-iceflow-v19-pre-loading i { color:var(--if19-cyan); font-size:24px; }
.oracle-iceflow-v19-pre-loading strong { color:#f3fbff; font-size:13px; font-weight:1000; }
.oracle-iceflow-v19-pre-loading span { color:#698ba3; font-size:7px; }
.oracle-iceflow-v19-pre-intro { display:flex; justify-content:space-between; gap:14px; align-items:flex-end; margin:9px 0; padding:11px 12px; border:1px solid rgba(49,220,255,.22); border-radius:12px; background:linear-gradient(120deg,rgba(8,38,62,.96),rgba(14,22,43,.96)); }
.oracle-iceflow-v19-pre-intro > div:first-child { min-width:0; }
.oracle-iceflow-v19-pre-intro span { display:block; color:#51dcff; font-size:6px; font-weight:1000; letter-spacing:.1em; }
.oracle-iceflow-v19-pre-intro h3 { margin:3px 0 0; color:#fff; font-size:15px; font-weight:1000; }
.oracle-iceflow-v19-pre-intro p { margin:4px 0 0; color:#6b8ba3; font-size:7px; line-height:1.45; }
.oracle-iceflow-v19-lookback { display:flex; gap:4px; flex:0 0 auto; }
.oracle-iceflow-v19-lookback button { min-height:34px; padding:0 11px; border:1px solid rgba(70,139,185,.28); border-radius:8px; background:#071827; color:#7190a8; font-size:7px; font-weight:1000; cursor:pointer; }
.oracle-iceflow-v19-lookback button.is-active { border-color:rgba(49,220,255,.55); background:linear-gradient(135deg,rgba(45,140,255,.22),rgba(155,92,255,.20)); color:#fff; }
.oracle-iceflow-v19-pre-grid,.oracle-iceflow-v19-duo-grid,.oracle-iceflow-v19-games-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.oracle-iceflow-v19-pre-team,.oracle-iceflow-v19-duo-team,.oracle-iceflow-v19-games-team { overflow:hidden; border:1px solid rgba(58,139,191,.30); border-radius:13px; background:linear-gradient(150deg,#071d30,#061521); }
.oracle-iceflow-v19-pre-team > header,.oracle-iceflow-v19-duo-team > header { display:flex; justify-content:space-between; align-items:center; gap:9px; padding:10px 11px; border-bottom:1px solid rgba(74,135,174,.18); }
.oracle-iceflow-v19-pre-team > header > div,.oracle-iceflow-v19-duo-team > header { min-width:0; }
.oracle-iceflow-v19-pre-team > header > div,.oracle-iceflow-v19-duo-team > header { display:flex; align-items:center; gap:8px; }
.oracle-iceflow-v19-pre-team header img,.oracle-iceflow-v19-duo-team header img { width:31px; height:31px; object-fit:contain; }
.oracle-iceflow-v19-pre-team header span,.oracle-iceflow-v19-duo-team header span { display:block; color:#6190aa; font-size:5.5px; font-weight:1000; }
.oracle-iceflow-v19-pre-team header strong,.oracle-iceflow-v19-duo-team header strong { display:block; margin-top:2px; color:#fff; font-size:13px; font-weight:1000; }
.oracle-iceflow-v19-pre-team header em { flex:0 0 auto; color:#6c91a8; font-size:6px; font-style:normal; font-weight:900; }
.oracle-iceflow-v19-pre-headline { margin:9px; padding:9px 10px; border:1px solid rgba(155,92,255,.25); border-radius:9px; background:linear-gradient(90deg,rgba(155,92,255,.08),rgba(45,140,255,.03)); }
.oracle-iceflow-v19-pre-headline span { color:#ae8eff; font-size:5.8px; font-weight:1000; }
.oracle-iceflow-v19-pre-headline i { margin-right:5px; }
.oracle-iceflow-v19-pre-headline p { margin:4px 0 0; color:#d9efff; font-size:7.5px; font-weight:900; }
.oracle-iceflow-v19-pre-block { padding:0 9px 9px; }
.oracle-iceflow-v19-pre-block h4 { margin:4px 0 6px; color:#6e92aa; font-size:6px; font-weight:1000; letter-spacing:.08em; }
.oracle-iceflow-v19-pre-block h4 i { margin-right:5px; color:#48dfff; }
.oracle-iceflow-v19-pre-group { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; min-height:62px; padding:8px 9px; border:1px solid rgba(62,135,181,.20); border-radius:9px; background:rgba(0,0,0,.12); }
.oracle-iceflow-v19-pre-group + .oracle-iceflow-v19-pre-group { margin-top:5px; }
.oracle-iceflow-v19-pre-group-main { min-width:0; }
.oracle-iceflow-v19-pre-group-main > span { color:#54dfff; font-size:5.5px; font-weight:1000; }
.oracle-iceflow-v19-pre-group-main > strong { display:block; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff; font-size:8.5px; font-weight:1000; }
.oracle-iceflow-v19-pre-group-main > small { display:block; margin-top:3px; color:#63849c; font-size:5.7px; font-weight:850; }
.oracle-iceflow-v19-pre-kpis { display:flex; gap:4px; }
.oracle-iceflow-v19-pre-kpis > div { min-width:58px; padding:6px; border-radius:7px; background:rgba(255,255,255,.025); text-align:center; }
.oracle-iceflow-v19-pre-kpis span { display:block; color:#5e7e96; font-size:5px; font-weight:1000; }
.oracle-iceflow-v19-pre-kpis strong { display:block; margin-top:2px; color:#eefaff; font-size:7.5px; font-weight:1000; }
.oracle-iceflow-v19-pre-signal.is-stable strong { color:#67efba; }
.oracle-iceflow-v19-pre-signal.is-positive strong { color:#62dfff; }
.oracle-iceflow-v19-pre-signal.is-recurring strong { color:#c595ff; }
.oracle-iceflow-v19-pre-empty { min-height:44px; display:grid; place-items:center; color:#607f96; font-size:7px; }
.oracle-iceflow-v19-pre-note { display:flex; align-items:flex-start; gap:7px; margin-top:9px; padding:9px 10px; border:1px solid rgba(66,129,170,.17); border-radius:9px; color:#607e94; background:rgba(0,0,0,.11); font-size:6.5px; line-height:1.45; }
.oracle-iceflow-v19-pre-note i { margin-top:1px; color:#48dfff; }

.oracle-iceflow-v19-duo-team > div { padding:8px; }
.oracle-iceflow-v19-duo-team article { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:8px; align-items:center; padding:8px; border-bottom:1px solid rgba(64,129,169,.14); }
.oracle-iceflow-v19-duo-team article:last-child { border-bottom:0; }
.oracle-iceflow-v19-duo-team article > b { width:22px; height:22px; display:grid; place-items:center; border-radius:6px; background:rgba(49,220,255,.06); color:#63e4ff; font-size:6.5px; }
.oracle-iceflow-v19-duo-team article div { min-width:0; }
.oracle-iceflow-v19-duo-team article strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#eefaff; font-size:8px; font-weight:1000; }
.oracle-iceflow-v19-duo-team article small { display:block; margin-top:2px; color:#5e8098; font-size:5.6px; }
.oracle-iceflow-v19-duo-team article > span { color:#fff; font-size:8.5px; font-weight:1000; }
.oracle-iceflow-v19-games-team > header { padding:10px 11px; border-bottom:1px solid rgba(65,131,173,.18); }
.oracle-iceflow-v19-games-team > header strong { color:#fff; font-size:12px; font-weight:1000; }
.oracle-iceflow-v19-games-team > header span { margin-left:7px; color:#627f96; font-size:6px; }
.oracle-iceflow-v19-games-team article { display:grid; grid-template-columns:80px minmax(0,1fr) auto; gap:8px; align-items:center; padding:9px 10px; border-bottom:1px solid rgba(64,130,170,.14); }
.oracle-iceflow-v19-games-team article span { color:#66869d; font-size:6px; font-weight:900; }
.oracle-iceflow-v19-games-team article strong { color:#eaf8ff; font-size:8px; font-weight:1000; }
.oracle-iceflow-v19-games-team article button { border:0; background:transparent; color:#5bdfff; font-size:5.5px; font-weight:900; pointer-events:none; }
.oracle-iceflow-change-list article.is-latest { border-color:rgba(49,220,255,.48); box-shadow:inset 3px 0 0 rgba(49,220,255,.7); }
.oracle-iceflow-change-unit small { display:block; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#6688a0; font-size:5.5px; font-weight:800; }

@media (max-width: 900px) {
  .oracle-iceflow-v19-livebar { grid-template-columns:minmax(0,1fr) 46px; }
  .oracle-iceflow-v19-clock,.oracle-iceflow-v19-help { grid-column:1/-1; }
  .oracle-iceflow-v19-now-grid,.oracle-iceflow-v19-pre-grid,.oracle-iceflow-v19-duo-grid,.oracle-iceflow-v19-games-grid { grid-template-columns:1fr; }
  .oracle-iceflow-v19-connection-hero { grid-template-columns:1fr; }
}

@media (max-width: 767px) {
  .oracle-iceflow-v19-shell { padding-left:0!important; padding-right:0!important; }
  .oracle-iceflow-v19-main-head { position:relative; }
  .oracle-iceflow-v19-main-head .oracle-iceflow-title-row h2 { font-size:25px!important; }
  .oracle-iceflow-v19-main-head .oracle-iceflow-title-row p { max-width:280px; font-size:7px!important; }
  .oracle-iceflow-v19-main-head .oracle-iceflow-subnav { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:visible!important; }
  .oracle-iceflow-v19-main-head .oracle-iceflow-subnav button { min-width:0!important; min-height:43px!important; padding:7px 3px!important; font-size:6.5px!important; }
  .oracle-iceflow-v19-main-head .oracle-iceflow-subnav button i { font-size:9px; }

  .oracle-iceflow-v19-livebar { margin:7px 0; grid-template-columns:minmax(0,1fr) 42px; gap:6px; }
  .oracle-iceflow-v19-livebar .oracle-iceflow-feed-status { min-height:45px; }
  .oracle-iceflow-v19-clock { grid-column:1/-1; grid-row:2; min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .oracle-iceflow-v19-clock strong { margin:0; }
  .oracle-iceflow-v19-help { display:none; }
  .oracle-iceflow-v19-livebar .oracle-iceflow-refresh { grid-column:2; grid-row:1; }

  .oracle-iceflow-v19-now-grid { gap:7px; }
  .oracle-iceflow-v19-team-card { border-radius:11px; }
  .oracle-iceflow-v19-team-head { padding:9px; }
  .oracle-iceflow-v19-team-id img { width:29px; height:29px; }
  .oracle-iceflow-v19-team-id strong { font-size:14px; }
  .oracle-iceflow-v19-situation { min-width:96px; padding:6px 7px; }
  .oracle-iceflow-v19-situation strong { font-size:8px; }
  .oracle-iceflow-v19-unit-summary { margin:7px 7px 0; padding:8px; }
  .oracle-iceflow-v19-unit-summary > strong { font-size:9px; }
  .oracle-iceflow-v19-role { padding:8px 7px; }
  .oracle-iceflow-v19-role + .oracle-iceflow-v19-role { padding-top:0; }
  .oracle-iceflow-v19-player-grid { grid-template-columns:1fr; gap:4px; }
  .oracle-iceflow-v19-player-grid.is-defense { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .oracle-iceflow-v19-player { grid-template-columns:27px minmax(0,1fr) 48px; min-height:45px; padding:6px; }
  .oracle-iceflow-v19-player-grid.is-defense .oracle-iceflow-v19-player { grid-template-columns:25px minmax(0,1fr); }
  .oracle-iceflow-v19-player-grid.is-defense .oracle-iceflow-v19-shift { grid-column:1/-1; display:flex; justify-content:space-between; border-top:1px solid rgba(80,137,174,.13); padding-top:3px; }
  .oracle-iceflow-v19-num { width:26px; height:26px; font-size:7px; }
  .oracle-iceflow-v19-name strong { font-size:8px; }
  .oracle-iceflow-v19-name small { font-size:5.5px; }
  .oracle-iceflow-v19-shift b { font-size:8px; }
  .oracle-iceflow-v19-goalie { grid-template-columns:70px minmax(0,1fr); margin:0 7px 7px; padding:6px; }
  .oracle-iceflow-v19-team-footer { grid-template-columns:minmax(0,1fr) 82px; padding:0 7px 7px; gap:5px; }
  .oracle-iceflow-v19-team-footer > div { padding:7px; }
  .oracle-iceflow-v19-team-footer strong { font-size:7.5px; }
  .oracle-iceflow-v19-legend { margin-top:6px; gap:7px; font-size:5.7px; }

  .oracle-iceflow-v19-connection-hero { display:block; padding:8px; }
  .oracle-iceflow-v19-bestmate { margin-top:8px; }
  .oracle-iceflow-v19-connection-hero .oracle-iceflow-player-kpis { margin-top:8px; }
  .oracle-iceflow-v19-together-now { display:block; margin:2px 0 0; }

  .oracle-iceflow-v19-pre-intro { display:block; padding:9px; }
  .oracle-iceflow-v19-pre-intro h3 { font-size:13px; }
  .oracle-iceflow-v19-lookback { margin-top:9px; }
  .oracle-iceflow-v19-lookback button { flex:1; min-height:38px; }
  .oracle-iceflow-v19-pre-team > header { padding:9px; }
  .oracle-iceflow-v19-pre-headline { margin:7px; }
  .oracle-iceflow-v19-pre-block { padding:0 7px 7px; }
  .oracle-iceflow-v19-pre-group { display:block; min-height:0; padding:8px; }
  .oracle-iceflow-v19-pre-kpis { margin-top:7px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .oracle-iceflow-v19-pre-kpis > div { min-width:0; }
  .oracle-iceflow-v19-duo-team article { grid-template-columns:22px minmax(0,1fr) 48px; }
  .oracle-iceflow-v19-games-team article { grid-template-columns:64px minmax(0,1fr); }
  .oracle-iceflow-v19-games-team article button { grid-column:2; text-align:left; padding:0; }
  .oracle-iceflow-change-list article.is-latest { box-shadow:inset 2px 0 0 rgba(49,220,255,.7); }
}

@media (max-width: 390px) {
  .oracle-iceflow-v19-main-head .oracle-iceflow-subnav button { font-size:6px!important; }
  .oracle-iceflow-v19-player-grid.is-defense { grid-template-columns:1fr; }
  .oracle-iceflow-v19-player-grid.is-defense .oracle-iceflow-v19-player { grid-template-columns:27px minmax(0,1fr) 48px; }
  .oracle-iceflow-v19-player-grid.is-defense .oracle-iceflow-v19-shift { grid-column:auto; display:block; border-top:0; padding-top:0; }
  .oracle-iceflow-v19-team-footer { grid-template-columns:1fr; }
  .oracle-iceflow-v19-team-footer > div:last-child { display:grid; grid-template-columns:1fr auto; align-items:center; }
  .oracle-iceflow-v19-team-footer > div:last-child small { grid-column:1/-1; }
}

/* ========================================================================== */
/* HOCKAI ORACLE LIVE V20 — ICE FLOW / TACTICAL INTELLIGENCE                */
/* ========================================================================== */
.oracle-iceflow-v20-shell{--if-cyan:#31dcff;--if-blue:#4b8cff;--if-violet:#aa65ff;--if-green:#42f5b0;--if-yellow:#ffd35c;--if-red:#ff6687;--if-bg:#061522;--if-card:#0a2031;--if-line:rgba(97,190,235,.18);position:relative;scroll-margin-top:120px;color:#f8fbff}
.oracle-iceflow-v20-main-head{scroll-margin-top:120px;background:linear-gradient(120deg,rgba(3,36,57,.97),rgba(25,20,63,.94));border:1px solid rgba(69,187,247,.3);border-radius:20px 20px 0 0;overflow:hidden}
.oracle-iceflow-v20-main-head .oracle-iceflow-kicker em{background:rgba(49,220,255,.12);border:1px solid rgba(49,220,255,.35);color:var(--if-cyan)}
.oracle-iceflow-v20-main-head .oracle-iceflow-subnav{background:rgba(1,15,27,.46)}
.oracle-iceflow-v20-main-head .oracle-iceflow-subnav button{min-height:56px}
.oracle-iceflow-v20-main-head .oracle-iceflow-subnav button.is-active{background:linear-gradient(180deg,rgba(36,118,170,.24),rgba(36,118,170,.08));box-shadow:inset 0 -2px 0 var(--if-cyan);color:#fff}
.oracle-iceflow-v20-shell .oracle-iceflow-body{background:linear-gradient(180deg,rgba(3,25,41,.95),rgba(3,18,30,.98));padding:14px}

/* filters / evidence */
.oracle-iceflow-v20-period-selector{display:flex;gap:6px;padding:5px;border:1px solid var(--if-line);border-radius:12px;background:rgba(2,17,30,.72);width:max-content;max-width:100%}
.oracle-iceflow-v20-period-selector button{min-width:52px;height:36px;border:1px solid transparent;border-radius:9px;color:#7fa3bf;font-size:9px;font-weight:900;letter-spacing:.08em}
.oracle-iceflow-v20-period-selector button.is-active{background:linear-gradient(135deg,rgba(36,160,223,.28),rgba(151,76,232,.24));border-color:rgba(49,220,255,.52);color:#fff;box-shadow:0 0 14px rgba(49,220,255,.08)}
.oracle-iceflow-v20-period-selector.is-compact button{min-width:42px;height:32px}
.oracle-iceflow-v20-evidence{display:inline-flex!important;align-items:center!important;width:auto!important;min-height:20px;padding:0 7px;border-radius:999px;font-size:7px!important;font-weight:900!important;letter-spacing:.04em;text-transform:uppercase;border:1px solid rgba(255,255,255,.1)}
.oracle-iceflow-v20-evidence.is-high{color:#65f7be;background:rgba(28,197,128,.1);border-color:rgba(66,245,176,.28)}
.oracle-iceflow-v20-evidence.is-medium{color:#8edcff;background:rgba(49,220,255,.09);border-color:rgba(49,220,255,.22)}
.oracle-iceflow-v20-evidence.is-low{color:#ffd879;background:rgba(255,211,92,.08);border-color:rgba(255,211,92,.2)}
.oracle-iceflow-v20-why{margin-top:5px;border:0!important;background:transparent!important}
.oracle-iceflow-v20-why summary{display:inline-flex;align-items:center;gap:5px;cursor:pointer;list-style:none;color:#6ea9cc;font-size:7px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.oracle-iceflow-v20-why summary::-webkit-details-marker{display:none}
.oracle-iceflow-v20-why[open] summary{color:#93e8ff}
.oracle-iceflow-v20-why p{margin:5px 0 0;padding:7px 9px;border-radius:8px;background:rgba(14,50,73,.45);color:#9bbbd0;font-size:8px;line-height:1.45;text-transform:none;font-weight:600;letter-spacing:0}

/* live status + dock */
.oracle-iceflow-v20-livebar{display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(260px,1.15fr) 42px;gap:9px;align-items:stretch;margin-bottom:12px}
.oracle-iceflow-v20-livebar>div{border:1px solid var(--if-line);border-radius:12px;background:rgba(6,29,45,.75);padding:9px 11px;display:flex;flex-direction:column;justify-content:center}
.oracle-iceflow-v20-livebar>div>span{font-size:7px;font-weight:900;color:#6f9bb8;letter-spacing:.08em}
.oracle-iceflow-v20-livebar>div>strong{font-size:13px;color:#fff}
.oracle-iceflow-v20-live-help{flex-direction:row!important;align-items:center!important;gap:8px;color:#8bb6d0;font-size:8px;line-height:1.35}
.oracle-iceflow-v20-live-help i{color:var(--if-cyan)}
.oracle-iceflow-v20-mobile-dock{display:none}

/* tactical pulse */
.oracle-iceflow-v20-pulse{border:1px solid rgba(170,101,255,.28);border-radius:16px;background:linear-gradient(135deg,rgba(25,23,61,.62),rgba(4,34,51,.75));margin-bottom:12px;overflow:hidden}
.oracle-iceflow-v20-pulse>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(170,101,255,.18)}
.oracle-iceflow-v20-pulse>header span{display:flex;align-items:center;gap:7px;color:#c796ff;font-size:8px;font-weight:900;letter-spacing:.08em}
.oracle-iceflow-v20-pulse>header h3{font-size:15px;font-weight:900;margin:3px 0 0}
.oracle-iceflow-v20-pulse>header em{font-style:normal;font-size:7px;color:#65ddb7;border:1px solid rgba(66,245,176,.22);border-radius:999px;padding:5px 8px;text-transform:uppercase;font-weight:900}
.oracle-iceflow-v20-pulse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
.oracle-iceflow-v20-pulse-grid>article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;padding:10px;border:1px solid rgba(99,163,205,.15);border-radius:11px;background:rgba(4,24,38,.6)}
.oracle-iceflow-v20-pulse-grid>article>i{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:rgba(49,220,255,.09);color:var(--if-cyan)}
.oracle-iceflow-v20-pulse-grid article.is-positive>i{color:var(--if-green);background:rgba(66,245,176,.08)}
.oracle-iceflow-v20-pulse-grid article.is-warning>i{color:var(--if-yellow);background:rgba(255,211,92,.08)}
.oracle-iceflow-v20-pulse-grid article.is-negative>i{color:var(--if-red);background:rgba(255,102,135,.08)}
.oracle-iceflow-v20-pulse-grid article.is-new>i{color:#cf9dff;background:rgba(170,101,255,.09)}
.oracle-iceflow-v20-pulse-grid strong{display:block;font-size:10px;color:#fff}
.oracle-iceflow-v20-pulse-grid p{margin:2px 0 0;color:#8eafc4;font-size:8px;line-height:1.35}

/* live team */
.oracle-iceflow-v20-now-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oracle-iceflow-v20-team{border:1px solid rgba(52,168,224,.25);border-radius:17px;background:linear-gradient(180deg,rgba(5,37,57,.94),rgba(5,25,39,.98));overflow:hidden;min-width:0}
.oracle-iceflow-v20-team-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 12px;border-bottom:1px solid rgba(69,167,219,.16)}
.oracle-iceflow-v20-team-id{display:flex;align-items:center;gap:8px;min-width:0}.oracle-iceflow-v20-team-id img{width:27px;height:27px;object-fit:contain}.oracle-iceflow-v20-team-id span{display:block;color:#6796b5;font-size:7px;font-weight:900;letter-spacing:.08em}.oracle-iceflow-v20-team-id strong{font-size:17px;font-weight:950}
.oracle-iceflow-v20-situation{flex:none;text-align:right;border:1px solid rgba(98,181,221,.2);border-radius:9px;padding:5px 8px;background:rgba(3,19,31,.7)}.oracle-iceflow-v20-situation strong{display:block;color:#e9f9ff;font-size:10px}.oracle-iceflow-v20-situation small{display:block;font-size:6px;color:#6e9ab6}.oracle-iceflow-v20-situation.is-power strong{color:#68f5b9}.oracle-iceflow-v20-situation.is-penalty strong{color:#ff9fb2}.oracle-iceflow-v20-situation.is-empty strong{color:#ffd36b}
.oracle-iceflow-v20-unit-strip{display:grid;grid-template-columns:1.25fr repeat(3,.75fr);gap:1px;background:rgba(62,161,210,.1);border-bottom:1px solid rgba(62,161,210,.12)}.oracle-iceflow-v20-unit-strip>div{padding:8px 9px;background:rgba(3,27,42,.9)}.oracle-iceflow-v20-unit-strip span{display:block;font-size:6px;color:#6290ad;font-weight:900;letter-spacing:.05em}.oracle-iceflow-v20-unit-strip strong{display:block;margin-top:2px;font-size:10px;color:#fff}.oracle-iceflow-v20-unit-strip.is-mixed>div:first-child strong{color:#ffd36a}
.oracle-iceflow-v20-period-alert{margin:8px 9px 0;padding:8px 10px;border:1px solid rgba(66,245,176,.22);border-radius:10px;background:rgba(30,143,108,.08);display:flex;gap:9px;align-items:flex-start}.oracle-iceflow-v20-period-alert>i{color:var(--if-green);margin-top:2px}.oracle-iceflow-v20-period-alert strong{display:block;color:#b9ffe1;font-size:9px}.oracle-iceflow-v20-period-alert span{display:block;margin-top:2px;color:#81a99d;font-size:7px;line-height:1.35}
.oracle-iceflow-v20-role{padding:9px 10px 0}.oracle-iceflow-v20-role-label{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:#6b9ab8;font-size:7px;font-weight:900;letter-spacing:.08em}.oracle-iceflow-v20-role-label i{color:var(--if-cyan)}.oracle-iceflow-v20-role-label b{margin-left:auto;color:#8cb4cb}
.oracle-iceflow-v20-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.oracle-iceflow-v20-player-grid.is-defense{grid-template-columns:repeat(2,minmax(0,1fr))}
.oracle-iceflow-v20-player{display:grid;grid-template-columns:28px minmax(0,1fr) 45px;gap:7px;align-items:center;min-width:0;padding:7px;border:1px solid rgba(76,161,210,.2);border-radius:9px;background:rgba(2,22,35,.75);text-align:left}.oracle-iceflow-v20-player:hover{border-color:rgba(49,220,255,.48);background:rgba(8,46,66,.82)}
.oracle-iceflow-v20-num{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#0b3e5b;color:#d9f6ff;font-size:9px;font-weight:950}.oracle-iceflow-v20-player-name{min-width:0}.oracle-iceflow-v20-player-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:9px}.oracle-iceflow-v20-player-name small{display:block;color:#648fa8;font-size:6px}.oracle-iceflow-v20-shift{text-align:right}.oracle-iceflow-v20-shift b{display:block;color:#ecfaff;font-size:9px}.oracle-iceflow-v20-shift small{display:block;color:#648fa8;font-size:5.5px;font-weight:900}
.oracle-iceflow-v20-player.is-fresh{border-color:rgba(66,245,176,.32)}.oracle-iceflow-v20-player.is-fresh .oracle-iceflow-v20-shift small{color:#5cefb2}.oracle-iceflow-v20-player.is-long{border-color:rgba(255,211,92,.38)}.oracle-iceflow-v20-player.is-long .oracle-iceflow-v20-shift small{color:#ffd36b}.oracle-iceflow-v20-player.is-critical-long{border-color:rgba(255,102,135,.48);box-shadow:inset 0 0 0 1px rgba(255,102,135,.07)}.oracle-iceflow-v20-player.is-critical-long .oracle-iceflow-v20-shift small{color:#ff88a1}
.oracle-iceflow-v20-wait{grid-column:1/-1;padding:8px;color:#668da6;font-size:8px;border:1px dashed rgba(91,158,195,.18);border-radius:8px}
.oracle-iceflow-v20-goalie{margin:9px 10px 0;padding-top:8px;border-top:1px solid rgba(77,158,201,.14)}.oracle-iceflow-v20-goalie>span{display:flex;gap:6px;align-items:center;margin-bottom:6px;color:#779db4;font-size:7px;font-weight:900}.oracle-iceflow-v20-goalie .oracle-iceflow-v20-player{max-width:260px}
.oracle-iceflow-v20-memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:9px 10px}.oracle-iceflow-v20-memory-chip{padding:8px;border:1px solid rgba(86,159,199,.16);border-radius:9px;background:rgba(6,30,46,.72)}.oracle-iceflow-v20-memory-chip>span{display:block;color:#6e97b0;font-size:6px;font-weight:900}.oracle-iceflow-v20-memory-chip>strong{display:block;margin-top:2px;color:#e9f9ff;font-size:8px}.oracle-iceflow-v20-memory-chip>small{display:block;color:#7295aa;font-size:6.5px}.oracle-iceflow-v20-memory-chip.is-stable>strong,.oracle-iceflow-v20-memory-chip.is-rising>strong{color:#66f0b4}.oracle-iceflow-v20-memory-chip.is-new>strong{color:#d2a7ff}.oracle-iceflow-v20-memory-chip.is-falling>strong{color:#ff9aaf}
.oracle-iceflow-v20-team-footer{display:grid;grid-template-columns:1.45fr .7fr;gap:1px;margin-top:8px;background:rgba(54,142,188,.1)}.oracle-iceflow-v20-team-footer>div{padding:9px 10px;background:rgba(3,24,38,.94)}.oracle-iceflow-v20-team-footer span{display:block;color:#618ba5;font-size:6px;font-weight:900}.oracle-iceflow-v20-team-footer strong{display:block;margin-top:2px;color:#fff;font-size:9px}.oracle-iceflow-v20-team-footer small{display:block;color:#7498ad;font-size:6.5px}.oracle-iceflow-v20-team-footer .is-positive strong{color:#5df2b3}.oracle-iceflow-v20-team-footer .is-negative strong{color:#ff849d}
.oracle-iceflow-v20-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;color:#6f94aa;font-size:7px}.oracle-iceflow-v20-legend span{display:flex;align-items:center;gap:5px}.oracle-iceflow-v20-legend i{width:7px;height:7px;border-radius:50%;background:#4aa7d6}.oracle-iceflow-v20-legend i.is-fresh{background:#42f5b0}.oracle-iceflow-v20-legend i.is-long{background:#ffd35c}.oracle-iceflow-v20-legend i.is-critical{background:#ff6687}

/* pregame intro / filter */
.oracle-iceflow-v20-pre-intro,.oracle-iceflow-v20-filter-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border:1px solid rgba(64,164,216,.2);border-radius:15px;background:rgba(5,35,53,.68);padding:13px 15px;margin-bottom:11px}.oracle-iceflow-v20-pre-intro>div:first-child>span,.oracle-iceflow-v20-filter-row>div>span{display:block;color:#40dfff;font-size:7px;font-weight:950;letter-spacing:.08em}.oracle-iceflow-v20-pre-intro h3{font-size:17px;margin:3px 0;color:#fff;font-weight:950}.oracle-iceflow-v20-pre-intro p,.oracle-iceflow-v20-filter-row small{display:block;color:#719bb4;font-size:8px;line-height:1.4}.oracle-iceflow-v20-filter-row{align-items:center}.oracle-iceflow-v20-filter-row>div{max-width:650px}
.oracle-iceflow-v20-pre-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.oracle-iceflow-v20-pre-team{min-width:0;border:1px solid rgba(72,166,214,.23);border-radius:16px;background:rgba(4,30,46,.84);overflow:hidden}.oracle-iceflow-v20-pre-team-head{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid rgba(68,157,204,.14)}.oracle-iceflow-v20-pre-team-head>div{display:flex;align-items:center;gap:8px}.oracle-iceflow-v20-pre-team-head img{width:28px;height:28px;object-fit:contain}.oracle-iceflow-v20-pre-team-head span{display:block;color:#6d96ae;font-size:6px;font-weight:900}.oracle-iceflow-v20-pre-team-head strong{font-size:15px}.oracle-iceflow-v20-pre-team-head em{font-style:normal;color:#75a7c1;font-size:7px;font-weight:900}
.oracle-iceflow-v20-team-snapshot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:9px}.oracle-iceflow-v20-team-snapshot>div{padding:9px;border:1px solid rgba(126,95,221,.18);border-radius:10px;background:linear-gradient(135deg,rgba(68,50,125,.15),rgba(5,33,51,.5))}.oracle-iceflow-v20-team-snapshot span{display:block;color:#9b7ddd;font-size:6px;font-weight:900}.oracle-iceflow-v20-team-snapshot strong{display:block;margin-top:3px;color:#fff;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oracle-iceflow-v20-team-snapshot small{display:block;margin-top:2px;color:#738fa4;font-size:6.5px}
.oracle-iceflow-v20-projection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 9px 9px}.oracle-iceflow-v20-projection{border:1px solid rgba(66,245,176,.16);border-radius:10px;background:rgba(26,104,84,.07);padding:9px}.oracle-iceflow-v20-projection>span{display:block;color:#64dca9;font-size:5.8px;font-weight:900}.oracle-iceflow-v20-projection>div>strong{display:block;margin-top:4px;color:#bcffe2;font-size:8px}.oracle-iceflow-v20-projection p{display:flex;gap:3px;align-items:center;flex-wrap:wrap;margin:4px 0}.oracle-iceflow-v20-projection ul{margin:5px 0 0;padding-left:14px;color:#718f82;font-size:6.3px;line-height:1.45}.oracle-iceflow-v20-projection li::marker{color:#44dba0}
.oracle-iceflow-v20-name-btn{display:inline;background:transparent!important;border:0!important;padding:0!important;color:#fff!important;font-size:inherit!important;font-weight:inherit!important;text-decoration:none}.oracle-iceflow-v20-name-btn:hover{text-decoration:underline;color:#7fe9ff!important}.oracle-iceflow-v20-projection p>span,.oracle-iceflow-v20-group-names>span{color:#547e98}
.oracle-iceflow-v20-team-intel{margin:0 9px 9px;border:1px solid rgba(169,101,255,.16);border-radius:10px;overflow:hidden}.oracle-iceflow-v20-team-intel>header{display:flex;align-items:center;gap:6px;padding:7px 9px;background:rgba(89,53,142,.12);color:#c292ff;font-size:6px;font-weight:900}.oracle-iceflow-v20-team-intel article{padding:7px 9px;border-top:1px solid rgba(119,85,170,.1)}.oracle-iceflow-v20-team-intel article strong{display:block;font-size:8px;color:#fff}.oracle-iceflow-v20-team-intel article p{display:flex;gap:3px;align-items:center;margin:2px 0;color:#d9f2ff;font-size:8px}.oracle-iceflow-v20-team-intel article small{display:block;color:#7697aa;font-size:6.5px;line-height:1.35}.oracle-iceflow-v20-team-intel article.is-rising strong,.oracle-iceflow-v20-team-intel article.is-period strong{color:#6af0b5}
.oracle-iceflow-v20-pre-block{padding:0 9px 9px}.oracle-iceflow-v20-pre-block>h4{display:flex;align-items:center;gap:6px;margin:6px 0;color:#70a3bf;font-size:7px;font-weight:950;letter-spacing:.07em}.oracle-iceflow-v20-pre-block>h4 i{color:var(--if-cyan)}
.oracle-iceflow-v20-pre-group{margin-bottom:7px;border:1px solid rgba(63,143,188,.16);border-radius:11px;background:rgba(3,24,38,.72);padding:9px}.oracle-iceflow-v20-pre-top{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:start}.oracle-iceflow-v20-rank{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#07344c;color:#5ddfff;font-size:7px;font-weight:950}.oracle-iceflow-v20-group-names{min-width:0;color:#fff;font-size:9px;font-weight:900}.oracle-iceflow-v20-group-names small{display:block;margin-top:2px;color:#668ba2;font-size:6.5px;font-weight:700}.oracle-iceflow-v20-badges{display:flex;justify-content:flex-end;gap:4px;flex-wrap:wrap;max-width:190px}.oracle-iceflow-v20-badges>em{font-style:normal;padding:4px 6px;border-radius:999px;border:1px solid rgba(90,157,193,.14);font-size:5.7px;font-weight:900;color:#8faec0;background:rgba(14,42,58,.6)}.oracle-iceflow-v20-badges>em.is-stable,.oracle-iceflow-v20-badges>em.is-rising,.oracle-iceflow-v20-badges>em.is-positive{color:#69f2b8;border-color:rgba(66,245,176,.2);background:rgba(66,245,176,.06)}.oracle-iceflow-v20-badges>em.is-falling,.oracle-iceflow-v20-badges>em.is-negative{color:#ff8fa7;border-color:rgba(255,102,135,.2);background:rgba(255,102,135,.06)}.oracle-iceflow-v20-badges>em.is-new{color:#caa2ff;border-color:rgba(170,101,255,.22);background:rgba(170,101,255,.06)}
.oracle-iceflow-v20-pre-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:8px}.oracle-iceflow-v20-pre-metrics>div{min-width:0;padding:7px;border-radius:8px;background:rgba(6,37,54,.75);border:1px solid rgba(78,145,181,.1)}.oracle-iceflow-v20-pre-metrics span{display:block;color:#658da5;font-size:5.5px;font-weight:900}.oracle-iceflow-v20-pre-metrics strong{display:block;margin-top:2px;color:#fff;font-size:9px}.oracle-iceflow-v20-pre-metrics strong.is-pos{color:#5ff0b2}.oracle-iceflow-v20-pre-metrics strong.is-neg{color:#ff839d}.oracle-iceflow-v20-pre-metrics small{display:block;margin-top:2px;color:#668ba0;font-size:5.5px;line-height:1.25}.oracle-iceflow-v20-share{display:block;height:3px;margin:4px 0;background:#123247;border-radius:999px;overflow:hidden}.oracle-iceflow-v20-share b{display:block;height:100%;background:linear-gradient(90deg,#28bcff,#ad63fa)}
.oracle-iceflow-v20-period-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:7px}.oracle-iceflow-v20-period-chips button{padding:5px;border:1px solid rgba(64,142,183,.13);border-radius:7px;background:rgba(5,32,47,.6);text-align:left}.oracle-iceflow-v20-period-chips button.is-best{border-color:rgba(66,245,176,.26);background:rgba(66,245,176,.05)}.oracle-iceflow-v20-period-chips span{display:block;color:#6b91a7;font-size:5.5px;font-weight:900}.oracle-iceflow-v20-period-chips strong{display:block;color:#fff;font-size:7.5px}.oracle-iceflow-v20-period-chips small{display:block;color:#5e8195;font-size:5.5px}.oracle-iceflow-v20-period-chips button.is-best span,.oracle-iceflow-v20-period-chips button.is-best small{color:#62eab2}
.oracle-iceflow-v20-trend{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:7px;padding:6px 7px;border-top:1px solid rgba(67,137,176,.1)}.oracle-iceflow-v20-trend>div{flex:1;min-width:0}.oracle-iceflow-v20-trend>div>span{display:block;color:#617f94;font-size:5.5px;font-weight:900}.oracle-iceflow-v20-trend>div>div{height:30px;display:flex;gap:3px;align-items:flex-end;margin-top:3px}.oracle-iceflow-v20-trend i{position:relative;flex:1;max-width:25px;height:25px;background:#0a2b3d;border-radius:3px 3px 0 0}.oracle-iceflow-v20-trend i b{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(180deg,#50dbff,#8964f0);border-radius:3px 3px 0 0}.oracle-iceflow-v20-trend i small{display:none}.oracle-iceflow-v20-trend>small{max-width:45%;color:#688ca1;font-size:5.8px;text-align:right}.oracle-iceflow-v20-why-grid{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid rgba(65,133,169,.09);padding-top:5px}
.oracle-iceflow-v20-method{margin-top:11px;border:1px solid rgba(74,152,194,.18);border-radius:11px;background:rgba(5,28,43,.6)}.oracle-iceflow-v20-method summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;padding:9px 11px;color:#80b5d0;font-size:7px;font-weight:900}.oracle-iceflow-v20-method summary::-webkit-details-marker{display:none}.oracle-iceflow-v20-method>div{padding:0 11px 10px;color:#7596aa;font-size:7px;line-height:1.5}.oracle-iceflow-v20-method p{margin:0 0 6px}.oracle-iceflow-v20-method ul{margin:0;padding-left:14px}

/* Duo view */
.oracle-iceflow-v20-duo-tools{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px}.oracle-iceflow-v20-duo-filter{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.oracle-iceflow-v20-duo-filter button{padding:7px 9px;border:1px solid rgba(71,151,193,.15);border-radius:8px;color:#708fa4;font-size:6.5px;font-weight:900}.oracle-iceflow-v20-duo-filter button.is-active{color:#fff;border-color:rgba(49,220,255,.34);background:rgba(49,220,255,.08)}
.oracle-iceflow-v20-duo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.oracle-iceflow-v20-duo-team{border:1px solid rgba(68,155,202,.2);border-radius:14px;background:rgba(4,29,44,.75);overflow:hidden}.oracle-iceflow-v20-duo-team>header{display:flex;align-items:center;gap:8px;padding:10px 11px;border-bottom:1px solid rgba(66,145,186,.13)}.oracle-iceflow-v20-duo-team>header img{width:27px;height:27px}.oracle-iceflow-v20-duo-team>header span{display:block;color:#6a91a8;font-size:6px;font-weight:900}.oracle-iceflow-v20-duo-team>header strong{font-size:14px}.oracle-iceflow-v20-duo-team>div>article{position:relative;display:grid;grid-template-columns:25px minmax(0,1fr) 60px 110px 50px;gap:7px;align-items:center;padding:9px 10px;border-top:1px solid rgba(70,141,180,.09)}.oracle-iceflow-v20-duo-team>div>article>b{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#07344a;color:#4bdbff;font-size:7px}.oracle-iceflow-v20-duo-team article>div>strong{display:block;color:#fff;font-size:8px}.oracle-iceflow-v20-duo-team article>div>small{display:block;color:#688ba0;font-size:5.8px}.oracle-iceflow-v20-duo-names{min-width:0;display:flex;gap:3px;align-items:center;flex-wrap:wrap;color:#fff;font-size:8px;font-weight:900}.oracle-iceflow-v20-duo-names small{width:100%}.oracle-iceflow-v20-duo-team article>div.is-positive strong{color:#5ff0b3}.oracle-iceflow-v20-duo-team article>div.is-negative strong{color:#ff849d}.oracle-iceflow-v20-duo-team article>.oracle-iceflow-v20-why{position:absolute;right:8px;bottom:2px}
.oracle-iceflow-v20-matrix{margin:9px;border:1px solid rgba(74,151,193,.14);border-radius:10px;overflow:hidden}.oracle-iceflow-v20-matrix>header{display:flex;justify-content:space-between;padding:7px 9px;background:rgba(9,45,64,.55);color:#70a6c1;font-size:6px;font-weight:900}.oracle-iceflow-v20-matrix-scroll{overflow:auto}.oracle-iceflow-v20-matrix table{width:100%;border-collapse:collapse;min-width:430px}.oracle-iceflow-v20-matrix th,.oracle-iceflow-v20-matrix td{padding:6px;text-align:center;border:1px solid rgba(67,135,170,.08);font-size:6px}.oracle-iceflow-v20-matrix th{color:#779bb0;background:#05263a}.oracle-iceflow-v20-matrix td{color:#d9f5ff;background:rgba(49,220,255,calc(var(--heat)*.14))}.oracle-iceflow-v20-matrix td.is-self{background:#061b29;color:#4e7084}

/* recent games */
.oracle-iceflow-v20-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.oracle-iceflow-v20-games-team{border:1px solid rgba(69,153,198,.2);border-radius:14px;background:rgba(4,28,43,.76);overflow:hidden}.oracle-iceflow-v20-games-team>header{display:flex;gap:7px;align-items:baseline;padding:10px 11px;border-bottom:1px solid rgba(63,138,178,.12)}.oracle-iceflow-v20-games-team>header strong{font-size:13px}.oracle-iceflow-v20-games-team>header span{color:#688da3;font-size:6px}.oracle-iceflow-v20-games-team>article{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(180px,1.2fr) auto;gap:10px;align-items:center;padding:9px 11px;border-top:1px solid rgba(64,135,171,.09)}.oracle-iceflow-v20-games-team article>div:first-child span{display:block;color:#6390aa;font-size:6px}.oracle-iceflow-v20-games-team article>div:first-child strong{display:block;color:#fff;font-size:8px}.oracle-iceflow-v20-game-source span{display:block;color:#48dfff;font-size:6.5px;font-weight:900}.oracle-iceflow-v20-game-source small{display:block;color:#678ca1;font-size:5.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oracle-iceflow-v20-games-team article>button{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid rgba(49,220,255,.18);border-radius:7px;color:#8edfff;font-size:6px;font-weight:900;white-space:nowrap}
.oracle-iceflow-v20-history-detail{margin-top:11px;border:1px solid rgba(170,101,255,.24);border-radius:14px;background:rgba(21,21,56,.65);overflow:hidden}.oracle-iceflow-v20-history-detail>header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(170,101,255,.16)}.oracle-iceflow-v20-history-detail>header span{display:block;color:#b28af0;font-size:6px;font-weight:900}.oracle-iceflow-v20-history-detail>header h3{margin:2px 0 0;font-size:13px}.oracle-iceflow-v20-history-detail>header button{width:30px;height:30px;border-radius:8px;background:#102b3e;color:#a6c5d6}.oracle-iceflow-v20-history-detail>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}.oracle-iceflow-v20-history-detail article{padding:8px;border-radius:9px;background:rgba(4,28,43,.74)}.oracle-iceflow-v20-history-detail h4{font-size:10px;margin:0 0 6px}.oracle-iceflow-v20-history-detail h4 small{color:#6a91a8;font-size:6px}.oracle-iceflow-v20-history-detail article>div{padding:6px 0;border-top:1px solid rgba(67,137,176,.1)}.oracle-iceflow-v20-history-detail article span,.oracle-iceflow-v20-history-detail article small{display:block;color:#668ba1;font-size:5.8px}.oracle-iceflow-v20-history-detail article strong{display:block;color:#fff;font-size:8px}

/* live connections */
.oracle-iceflow-v20-connection-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:12px 14px;border:1px solid rgba(67,157,205,.2);border-radius:14px;background:rgba(5,34,52,.72);margin-bottom:9px}.oracle-iceflow-v20-connection-head>div>span{color:#4bdfff;font-size:7px;font-weight:900}.oracle-iceflow-v20-connection-head h3{font-size:16px;margin:3px 0}.oracle-iceflow-v20-connection-head p{color:#739bb2;font-size:8px}.oracle-iceflow-v20-connection-head label span{display:block;color:#6d93a9;font-size:6px;font-weight:900}.oracle-iceflow-v20-connection-head select{min-width:250px;margin-top:4px;padding:8px 10px;border:1px solid rgba(69,154,200,.24);border-radius:9px;background:#061d2c;color:#fff;font-size:8px}
.oracle-iceflow-v20-connection-hero{display:grid;grid-template-columns:1.3fr 1fr auto;gap:8px;align-items:center;margin:9px 0;border:1px solid rgba(97,102,220,.2);border-radius:13px;background:linear-gradient(120deg,rgba(48,37,104,.32),rgba(6,34,50,.65));padding:10px 12px}.oracle-iceflow-v20-bestmate span{display:block;color:#6d91aa;font-size:6px;font-weight:900}.oracle-iceflow-v20-bestmate strong{display:block;color:#fff;font-size:9px}.oracle-iceflow-v20-bestmate small{display:block;color:#76a2bb;font-size:6px}
.oracle-iceflow-v20-player-periods{margin:9px 0;border:1px solid rgba(68,149,192,.16);border-radius:11px;background:rgba(5,31,47,.65);padding:9px}.oracle-iceflow-v20-player-periods>header{display:flex;justify-content:space-between;margin-bottom:7px}.oracle-iceflow-v20-player-periods span{color:#77a4bd;font-size:6px;font-weight:900}.oracle-iceflow-v20-player-periods small{color:#5e8399;font-size:6px}.oracle-iceflow-v20-period-usage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.oracle-iceflow-v20-period-usage>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px}.oracle-iceflow-v20-period-usage span{color:#72a0ba;font-size:6px}.oracle-iceflow-v20-period-usage i{height:4px;border-radius:999px;background:#103247;overflow:hidden}.oracle-iceflow-v20-period-usage i b{display:block;height:100%;background:linear-gradient(90deg,#30d7ff,#9b68f8)}.oracle-iceflow-v20-period-usage strong{color:#fff;font-size:7px}
.oracle-iceflow-v20-connections-list{border:1px solid rgba(68,148,190,.16);border-radius:12px;overflow:hidden}.oracle-iceflow-v20-connections-list>button{display:grid;grid-template-columns:28px minmax(150px,1fr) minmax(150px,1.6fr) 68px 110px;gap:9px;align-items:center;width:100%;padding:8px 10px;border-top:1px solid rgba(65,133,171,.09);background:rgba(4,28,43,.68);text-align:left}.oracle-iceflow-v20-connections-list>button:first-child{border-top:0}.oracle-iceflow-v20-connections-list>button:hover{background:rgba(8,43,62,.78)}.oracle-iceflow-v20-connections-list em{display:inline-block;margin-left:4px;color:#58eeb0;font-size:5.5px;font-style:normal}.oracle-iceflow-v20-conn-signal{justify-self:end;padding:4px 6px;border-radius:999px;color:#8aabbc;font-size:5.5px;font-weight:900;border:1px solid rgba(90,156,192,.14)}.oracle-iceflow-v20-conn-signal.is-positive{color:#5deeb0;border-color:rgba(66,245,176,.18)}.oracle-iceflow-v20-conn-signal.is-negative{color:#ff819b;border-color:rgba(255,102,135,.18)}

/* changes memory */
.oracle-iceflow-v20-change-memory{grid-column:1/-1;margin-top:5px;padding:6px 8px;border-radius:7px;border:1px solid rgba(70,151,192,.12);background:rgba(5,30,45,.65)}.oracle-iceflow-v20-change-memory strong{display:block;font-size:6.5px;color:#86aec3}.oracle-iceflow-v20-change-memory small{display:block;font-size:5.8px;color:#65879a}.oracle-iceflow-v20-change-memory.is-known{border-color:rgba(66,245,176,.16)}.oracle-iceflow-v20-change-memory.is-known strong{color:#68e9b0}.oracle-iceflow-v20-change-memory.is-new{border-color:rgba(170,101,255,.17)}.oracle-iceflow-v20-change-memory.is-new strong{color:#c89cf8}

/* Player sheet */
.oracle-iceflow-v20-sheet-backdrop{position:fixed;inset:0;background:rgba(0,8,15,.7);backdrop-filter:blur(3px);z-index:9998}
.oracle-iceflow-v20-player-sheet{position:fixed;z-index:9999;right:18px;top:18px;bottom:18px;width:min(440px,calc(100vw - 36px));overflow:auto;border:1px solid rgba(92,180,224,.3);border-radius:18px;background:linear-gradient(180deg,#082235,#051723);box-shadow:0 30px 90px rgba(0,0,0,.55);padding:13px;color:#fff}
.oracle-iceflow-v20-player-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid rgba(78,153,194,.15)}.oracle-iceflow-v20-player-sheet>header>div{display:flex;align-items:center;gap:9px}.oracle-iceflow-v20-player-sheet>header img{width:35px;height:35px}.oracle-iceflow-v20-player-sheet>header span{display:block;color:#72a0b9;font-size:7px;font-weight:900}.oracle-iceflow-v20-player-sheet h3{font-size:16px;margin:2px 0}.oracle-iceflow-v20-player-sheet>header>button{width:34px;height:34px;border-radius:9px;background:#0c3147;color:#a7c6d7}
.oracle-iceflow-v20-sheet-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.oracle-iceflow-v20-sheet-kpis>div{padding:9px;border:1px solid rgba(73,150,191,.15);border-radius:9px;background:#08283b}.oracle-iceflow-v20-sheet-kpis span{display:block;color:#6d94aa;font-size:6px;font-weight:900}.oracle-iceflow-v20-sheet-kpis strong{display:block;color:#fff;font-size:12px}.oracle-iceflow-v20-player-sheet section{margin-top:10px;padding:10px;border:1px solid rgba(73,149,190,.14);border-radius:11px;background:rgba(5,29,44,.65)}.oracle-iceflow-v20-player-sheet h4{font-size:9px;margin:0 0 8px;color:#a8d0e5}.oracle-iceflow-v20-sheet-partners article{display:grid;grid-template-columns:22px 1fr auto;gap:7px;align-items:center;padding:7px 0;border-top:1px solid rgba(68,135,170,.09)}.oracle-iceflow-v20-sheet-partners article:first-child{border-top:0}.oracle-iceflow-v20-sheet-partners b{width:21px;height:21px;display:grid;place-items:center;border-radius:6px;background:#0a3a53;color:#58dcff;font-size:6px}.oracle-iceflow-v20-sheet-partners strong{display:block;font-size:8px}.oracle-iceflow-v20-sheet-partners small{display:block;color:#6d91a6;font-size:6px}.oracle-iceflow-v20-sheet-partners>article>span{font-size:8px;font-weight:900}.oracle-iceflow-v20-sheet-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.oracle-iceflow-v20-sheet-games>div{display:flex;justify-content:space-between;padding:6px 7px;border-radius:7px;background:#08283a}.oracle-iceflow-v20-sheet-games span{color:#6f99b0;font-size:6px}.oracle-iceflow-v20-sheet-games strong{font-size:7px}

/* Desktop guard against header crop while tab is selected */
#oracle-game-center [data-gc-panel="timeline"]{scroll-margin-top:130px}

@media (max-width: 900px){
  .oracle-iceflow-v20-livebar{grid-template-columns:1fr auto 42px}.oracle-iceflow-v20-live-help{display:none!important}
  .oracle-iceflow-v20-now-grid,.oracle-iceflow-v20-pre-grid,.oracle-iceflow-v20-duo-grid,.oracle-iceflow-v20-games-grid{grid-template-columns:1fr}
  .oracle-iceflow-v20-pre-team{max-width:none}
  .oracle-iceflow-v20-connections-list>button{grid-template-columns:28px minmax(150px,1fr) minmax(120px,1fr) 65px}.oracle-iceflow-v20-conn-signal{display:none}
}

@media (max-width: 640px){
  .oracle-iceflow-v20-shell{scroll-margin-top:92px}.oracle-iceflow-v20-main-head{border-radius:13px 13px 0 0;scroll-margin-top:92px}.oracle-iceflow-v20-shell .oracle-iceflow-body{padding:7px}
  .oracle-iceflow-v20-main-head .oracle-iceflow-title-row{padding:9px 10px!important}.oracle-iceflow-v20-main-head .oracle-iceflow-title-row h2{font-size:23px!important}.oracle-iceflow-v20-main-head .oracle-iceflow-title-row p{font-size:7px!important}.oracle-iceflow-v20-main-head .oracle-iceflow-source{font-size:5.5px!important;padding:5px 7px!important}
  .oracle-iceflow-v20-main-head .oracle-iceflow-subnav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible!important}.oracle-iceflow-v20-main-head .oracle-iceflow-subnav button{min-width:0!important;min-height:42px!important;padding:5px 2px!important;font-size:6.5px!important;gap:3px!important}.oracle-iceflow-v20-main-head .oracle-iceflow-subnav button i{font-size:8px!important}
  .oracle-iceflow-v20-mobile-dock{position:sticky;top:3px;z-index:30;display:grid;grid-template-columns:1fr auto 1fr;gap:5px;align-items:center;margin-bottom:7px;padding:6px;border:1px solid rgba(49,220,255,.28);border-radius:10px;background:rgba(2,20,32,.94);backdrop-filter:blur(10px);box-shadow:0 5px 20px rgba(0,0,0,.25)}.oracle-iceflow-v20-mobile-dock>div:first-child{text-align:left}.oracle-iceflow-v20-mobile-dock>div:last-child{text-align:right}.oracle-iceflow-v20-mobile-dock strong{display:block;color:#fff;font-size:8px}.oracle-iceflow-v20-mobile-dock>div span{display:block;color:#70a2ba;font-size:5.5px}.oracle-iceflow-v20-dock-status{display:flex;align-items:center;gap:4px;color:#70d8b0;font-size:5px;font-weight:900;text-align:center}.oracle-iceflow-v20-dock-status i{width:5px;height:5px;border-radius:50%;background:#42f5b0;box-shadow:0 0 7px #42f5b0}.oracle-iceflow-v20-dock-status.is-delayed i{background:#ffd35c;box-shadow:0 0 7px #ffd35c}
  .oracle-iceflow-v20-livebar{grid-template-columns:1fr 1fr 34px;gap:5px;margin-bottom:7px}.oracle-iceflow-v20-livebar>div{padding:7px}.oracle-iceflow-v20-livebar>div>span{font-size:5.5px}.oracle-iceflow-v20-livebar>div>strong{font-size:9px}.oracle-iceflow-v20-livebar .oracle-iceflow-refresh{width:34px!important;height:auto!important}
  .oracle-iceflow-v20-pulse{margin-bottom:7px;border-radius:11px}.oracle-iceflow-v20-pulse>header{padding:8px 9px}.oracle-iceflow-v20-pulse>header h3{font-size:11px}.oracle-iceflow-v20-pulse>header span{font-size:6px}.oracle-iceflow-v20-pulse>header em{display:none}.oracle-iceflow-v20-pulse-grid{grid-template-columns:1fr;padding:6px;gap:5px}.oracle-iceflow-v20-pulse-grid>article{grid-template-columns:25px 1fr;padding:7px;gap:7px}.oracle-iceflow-v20-pulse-grid>article>i{width:24px;height:24px}.oracle-iceflow-v20-pulse-grid strong{font-size:8px}.oracle-iceflow-v20-pulse-grid p{font-size:6.5px}
  .oracle-iceflow-v20-now-grid{gap:7px}.oracle-iceflow-v20-team{border-radius:12px}.oracle-iceflow-v20-team-head{padding:8px}.oracle-iceflow-v20-team-id img{width:23px;height:23px}.oracle-iceflow-v20-team-id span{font-size:5.5px}.oracle-iceflow-v20-team-id strong{font-size:13px}.oracle-iceflow-v20-situation{padding:4px 6px}.oracle-iceflow-v20-situation strong{font-size:8px}.oracle-iceflow-v20-situation small{font-size:5px}
  .oracle-iceflow-v20-unit-strip{grid-template-columns:1.3fr repeat(3,.7fr)}.oracle-iceflow-v20-unit-strip>div{padding:6px}.oracle-iceflow-v20-unit-strip span{font-size:4.8px}.oracle-iceflow-v20-unit-strip strong{font-size:7px}
  .oracle-iceflow-v20-period-alert{margin:6px 6px 0;padding:6px}.oracle-iceflow-v20-period-alert strong{font-size:7px}.oracle-iceflow-v20-period-alert span{font-size:5.5px}
  .oracle-iceflow-v20-role{padding:7px 7px 0}.oracle-iceflow-v20-role-label{margin-bottom:4px;font-size:5.5px}.oracle-iceflow-v20-player-grid,.oracle-iceflow-v20-player-grid.is-defense{grid-template-columns:1fr;gap:4px}.oracle-iceflow-v20-player{grid-template-columns:26px minmax(0,1fr) 50px;padding:5px;gap:6px}.oracle-iceflow-v20-num{width:26px;height:26px;font-size:8px}.oracle-iceflow-v20-player-name strong{font-size:8px}.oracle-iceflow-v20-player-name small{font-size:5.3px}.oracle-iceflow-v20-shift b{font-size:8px}.oracle-iceflow-v20-shift small{font-size:5px}.oracle-iceflow-v20-goalie{margin:6px 7px 0;padding-top:6px}.oracle-iceflow-v20-goalie .oracle-iceflow-v20-player{max-width:none}
  .oracle-iceflow-v20-memory-grid{grid-template-columns:1fr 1fr;margin:6px 7px;gap:4px}.oracle-iceflow-v20-memory-chip{padding:6px}.oracle-iceflow-v20-memory-chip>span{font-size:4.8px}.oracle-iceflow-v20-memory-chip>strong{font-size:6.5px}.oracle-iceflow-v20-memory-chip>small{font-size:5.2px}.oracle-iceflow-v20-team-footer{grid-template-columns:1fr 1fr;margin-top:6px}.oracle-iceflow-v20-team-footer>div{padding:7px}.oracle-iceflow-v20-team-footer span{font-size:4.8px}.oracle-iceflow-v20-team-footer strong{font-size:7px}.oracle-iceflow-v20-team-footer small{font-size:5.2px}
  .oracle-iceflow-v20-pre-intro,.oracle-iceflow-v20-filter-row{display:block;padding:9px;margin-bottom:7px;border-radius:11px}.oracle-iceflow-v20-pre-intro h3{font-size:12px}.oracle-iceflow-v20-pre-intro p,.oracle-iceflow-v20-filter-row small{font-size:6px}.oracle-iceflow-v20-pre-intro .oracle-iceflow-v19-lookback{margin-top:7px;justify-content:flex-start}.oracle-iceflow-v20-filter-row .oracle-iceflow-v20-period-selector{margin-top:7px;width:100%;display:grid;grid-template-columns:repeat(5,1fr)}.oracle-iceflow-v20-period-selector button{min-width:0;height:31px;font-size:6.5px}
  .oracle-iceflow-v20-pre-grid{gap:7px}.oracle-iceflow-v20-pre-team{border-radius:11px}.oracle-iceflow-v20-pre-team-head{padding:8px}.oracle-iceflow-v20-pre-team-head img{width:23px;height:23px}.oracle-iceflow-v20-pre-team-head span{font-size:5px}.oracle-iceflow-v20-pre-team-head strong{font-size:11px}.oracle-iceflow-v20-pre-team-head em{font-size:5.5px}.oracle-iceflow-v20-team-snapshot{grid-template-columns:1fr;padding:6px;gap:4px}.oracle-iceflow-v20-team-snapshot>div{padding:7px}.oracle-iceflow-v20-team-snapshot span{font-size:5px}.oracle-iceflow-v20-team-snapshot strong{font-size:7px}.oracle-iceflow-v20-team-snapshot small{font-size:5.2px}
  .oracle-iceflow-v20-projection-grid{grid-template-columns:1fr;padding:0 6px 6px;gap:4px}.oracle-iceflow-v20-projection{padding:7px}.oracle-iceflow-v20-projection>span{font-size:4.7px}.oracle-iceflow-v20-projection>div>strong{font-size:6.5px}.oracle-iceflow-v20-projection p{font-size:7px}.oracle-iceflow-v20-projection ul{font-size:5.2px}
  .oracle-iceflow-v20-team-intel{margin:0 6px 6px}.oracle-iceflow-v20-team-intel>header{padding:6px;font-size:5px}.oracle-iceflow-v20-team-intel article{padding:6px}.oracle-iceflow-v20-team-intel article strong{font-size:6.5px}.oracle-iceflow-v20-team-intel article p{font-size:6.5px}.oracle-iceflow-v20-team-intel article small{font-size:5.2px}
  .oracle-iceflow-v20-pre-block{padding:0 6px 6px}.oracle-iceflow-v20-pre-block>h4{font-size:5.5px}.oracle-iceflow-v20-pre-group{padding:7px;margin-bottom:5px}.oracle-iceflow-v20-pre-top{grid-template-columns:22px minmax(0,1fr);gap:6px}.oracle-iceflow-v20-badges{grid-column:1/-1;justify-content:flex-start;max-width:none;padding-top:2px}.oracle-iceflow-v20-group-names{font-size:7.5px}.oracle-iceflow-v20-group-names small{font-size:5.2px}.oracle-iceflow-v20-badges>em{font-size:4.8px;padding:3px 5px}.oracle-iceflow-v20-evidence{font-size:4.8px!important;min-height:17px;padding:0 5px}
  .oracle-iceflow-v20-pre-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.oracle-iceflow-v20-pre-metrics>div{padding:6px}.oracle-iceflow-v20-pre-metrics span{font-size:4.7px}.oracle-iceflow-v20-pre-metrics strong{font-size:8px}.oracle-iceflow-v20-pre-metrics small{font-size:4.8px}.oracle-iceflow-v20-period-chips{gap:3px}.oracle-iceflow-v20-period-chips button{padding:4px}.oracle-iceflow-v20-period-chips span,.oracle-iceflow-v20-period-chips small{font-size:4.5px}.oracle-iceflow-v20-period-chips strong{font-size:6px}.oracle-iceflow-v20-trend>small{font-size:4.8px}.oracle-iceflow-v20-why summary{font-size:5px}.oracle-iceflow-v20-why p{font-size:5.5px;padding:6px}
  .oracle-iceflow-v20-duo-tools{display:block}.oracle-iceflow-v20-duo-tools .oracle-iceflow-v20-period-selector{width:100%;display:grid;grid-template-columns:repeat(5,1fr)}.oracle-iceflow-v20-duo-filter{margin-top:5px;justify-content:flex-start}.oracle-iceflow-v20-duo-filter button{padding:5px 6px;font-size:5px}.oracle-iceflow-v20-duo-grid{gap:7px}.oracle-iceflow-v20-duo-team>div>article{grid-template-columns:22px minmax(0,1fr) 45px;gap:5px;padding:7px}.oracle-iceflow-v20-duo-team>div>article>div:nth-of-type(3),.oracle-iceflow-v20-duo-team>div>article>div:nth-of-type(4){grid-column:2/4;display:flex;justify-content:space-between;align-items:center}.oracle-iceflow-v20-duo-team article>div>strong{font-size:6.5px}.oracle-iceflow-v20-duo-team article>div>small{font-size:5px}.oracle-iceflow-v20-matrix{display:none}
  .oracle-iceflow-v20-games-grid{gap:7px}.oracle-iceflow-v20-games-team>article{grid-template-columns:1fr auto;gap:6px;padding:7px}.oracle-iceflow-v20-game-source{grid-column:1}.oracle-iceflow-v20-games-team article>button{grid-column:2;grid-row:1/3;padding:5px;font-size:5px}.oracle-iceflow-v20-history-detail>div{grid-template-columns:1fr}
  .oracle-iceflow-v20-connection-head{display:block;padding:9px}.oracle-iceflow-v20-connection-head h3{font-size:11px}.oracle-iceflow-v20-connection-head p{font-size:6px}.oracle-iceflow-v20-connection-head label{display:block;margin-top:7px}.oracle-iceflow-v20-connection-head select{width:100%;min-width:0;font-size:6.5px}.oracle-iceflow-v20-connection-hero{grid-template-columns:1fr 1fr;padding:7px}.oracle-iceflow-v20-connection-hero .oracle-iceflow-player-kpis{grid-column:1/-1}.oracle-iceflow-v20-bestmate strong{font-size:7px}.oracle-iceflow-v20-bestmate span,.oracle-iceflow-v20-bestmate small{font-size:5px}.oracle-iceflow-v20-player-periods{padding:7px}.oracle-iceflow-v20-period-usage{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.oracle-iceflow-v20-connections-list>button{grid-template-columns:23px minmax(0,1fr) 58px;gap:5px;padding:7px}.oracle-iceflow-v20-connections-list .oracle-iceflow-connection-bar{grid-column:2/4;width:100%}.oracle-iceflow-v20-conn-signal{display:none}.oracle-iceflow-v20-connections-list .oracle-iceflow-connection-time{grid-column:3;grid-row:1}.oracle-iceflow-v20-connections-list .oracle-iceflow-connection-name strong{font-size:6.5px}.oracle-iceflow-v20-connections-list .oracle-iceflow-connection-name small{font-size:5px}
  .oracle-iceflow-v20-player-sheet{left:0;right:0;top:auto;bottom:0;width:100%;max-height:82vh;border-radius:18px 18px 0 0;padding:10px}.oracle-iceflow-v20-player-sheet h3{font-size:13px}.oracle-iceflow-v20-sheet-kpis>div{padding:7px}.oracle-iceflow-v20-sheet-kpis strong{font-size:9px}.oracle-iceflow-v20-player-sheet section{padding:8px}.oracle-iceflow-v20-sheet-games{grid-template-columns:1fr}
  #oracle-game-center [data-gc-panel="timeline"]{scroll-margin-top:94px}
}

@media (max-width:390px){
  .oracle-iceflow-v20-main-head .oracle-iceflow-subnav button{font-size:5.8px!important}
  .oracle-iceflow-v20-memory-grid{grid-template-columns:1fr}
  .oracle-iceflow-v20-unit-strip{grid-template-columns:1fr 1fr}.oracle-iceflow-v20-unit-strip>div:first-child{grid-column:1/-1}
  .oracle-iceflow-v20-team-footer{grid-template-columns:1fr}
  .oracle-iceflow-v20-period-chips button small{display:none}
}
