/* Permanent football VS Odds experience — v2.3.48.293. */
body.n9-virtual-football-odds-page .n9-api-virtual-shell {
  margin: 28px auto 0;
  width: min(1280px, calc(100% - 40px));
}

.n9-odds-match-v293 {
  --om-bg: #f3f8f7;
  --om-card: #ffffff;
  --om-soft: #f7fafb;
  --om-border: #dbe6e7;
  --om-border-strong: #c8d8da;
  --om-text: #111827;
  --om-muted: #64748b;
  --om-faint: #94a3b8;
  --om-mint: #00d6aa;
  --om-mint-dark: #009d7d;
  --om-mint-soft: #e6fbf4;
  --om-blue: #377cf6;
  --om-orange: #ff9c3d;
  --om-purple: #905cf6;
  --om-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  color: var(--om-text);
  display: block;
  margin: 0 auto;
  max-width: none;
  padding: 0 0 72px;
}

.n9-odds-match-v293 *,
.n9-odds-match-v293 *::before,
.n9-odds-match-v293 *::after { box-sizing: border-box; }

.n9-odds-match-v293 h1,
.n9-odds-match-v293 h2,
.n9-odds-match-v293 p { margin-top: 0; }

.n9-odds-match-v293 [id] { scroll-margin-top: 138px; }

.n9-om-kicker {
  color: var(--om-mint-dark);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.n9-om-hero {
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 15%, rgba(0, 214, 170, .14), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0d1b2d 57%, #10293a 100%);
  border: 1px solid rgba(45, 212, 191, .24);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(2, 6, 23, .2);
  color: #fff;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  margin-top: 22px;
  overflow: hidden;
  padding: 38px;
  position: relative;
}

.n9-om-hero::after {
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
  position: absolute;
}

.n9-om-hero-copy,
.n9-om-matchup { position: relative; z-index: 1; }

.n9-om-hero .n9-om-kicker { color: #4ff0ce; }

.n9-om-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -.045em;
  line-height: 1.04;
  margin-bottom: 17px;
  max-width: 680px;
}

.n9-om-hero-copy > p {
  color: #b8c5d5;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 640px;
}

.n9-om-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.n9-om-meta > span {
  align-items: center;
  background: rgba(15, 23, 42, .7);
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 999px;
  color: #d7e2ef;
  display: inline-flex;
  font-size: 11px;
  font-weight: 750;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
}

.n9-om-matchup {
  align-items: center;
  align-self: center;
  background: rgba(4, 12, 24, .54);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 220px;
  padding: 24px 20px;
}

.n9-om-team {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
}

.n9-om-crest {
  align-items: center;
  background: #fff;
  border: 4px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
  display: flex;
  height: 82px;
  justify-content: center;
  margin-bottom: 13px;
  overflow: hidden;
  width: 82px;
}

.n9-om-crest img { height: 64px; object-fit: contain; width: 64px; }
.n9-om-crest span { color: #0f766e; font-size: 21px; font-weight: 900; }
.n9-om-team > strong { color: #fff; font-size: 14px; line-height: 1.35; }
.n9-om-team > small { color: #8293a8; font-size: 9px; font-weight: 850; letter-spacing: .1em; margin-top: 5px; text-transform: uppercase; }

.n9-om-versus { align-items: center; display: flex; flex-direction: column; min-width: 70px; }
.n9-om-versus > span { align-items: center; background: var(--om-mint); border-radius: 999px; color: #04261f; display: flex; font-size: 11px; font-weight: 950; height: 42px; justify-content: center; margin-bottom: 9px; width: 42px; }
.n9-om-versus > strong { color: #fff; font-size: 18px; }
.n9-om-versus > small { color: #8293a8; font-size: 9px; margin-top: 2px; max-width: 90px; text-align: center; }

.n9-om-tabs {
  align-items: center;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--om-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  display: flex;
  gap: 5px;
  margin: 16px 0 22px;
  overflow-x: auto;
  padding: 6px;
  position: sticky;
  scrollbar-width: none;
  top: 8px;
  z-index: 18;
}

.n9-om-tabs::-webkit-scrollbar { display: none; }
.n9-om-tabs a { border-radius: 11px; color: var(--om-muted); flex: 0 0 auto; font-size: 11px; font-weight: 850; padding: 10px 13px; text-decoration: none; }
.n9-om-tabs a:hover,
.n9-om-tabs a:focus-visible,
.n9-om-tabs a.is-active { background: var(--om-mint-soft); color: #007e66; outline: none; }
.n9-om-tabs .n9-om-prediction-link { color: var(--om-mint-dark); margin-left: auto; }
.n9-om-tabs .n9-om-prediction-link span { font-size: 16px; line-height: 0; margin-left: 3px; }

.n9-om-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 310px; }
.n9-om-main { display: grid; gap: 22px; min-width: 0; }
.n9-om-aside { display: grid; gap: 18px; position: sticky; top: 82px; }

.n9-om-panel {
  background: var(--om-card);
  border: 1px solid var(--om-border);
  border-radius: 21px;
  box-shadow: var(--om-shadow);
  padding: 24px;
}

.n9-om-panel h2 { color: var(--om-text); font-size: 20px; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 0; }
.n9-om-panel-head { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 20px; }
.n9-om-panel-head > small { color: var(--om-faint); font-size: 10px; font-weight: 700; text-align: right; }

.n9-om-live-badge { background: var(--om-mint-soft); border-radius: 999px; color: #00856b; flex: 0 0 auto; font-size: 10px; font-weight: 850; padding: 7px 10px; }

.n9-om-best-grid { display: grid; gap: 11px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.n9-om-best-card { background: var(--om-soft); border: 1px solid var(--om-border); border-radius: 16px; min-width: 0; padding: 17px; position: relative; }
.n9-om-best-card::before { background: var(--om-mint); border-radius: 16px 16px 0 0; content: ""; height: 3px; inset: -1px -1px auto; position: absolute; }
.n9-om-best-card.is-draw::before { background: var(--om-orange); }
.n9-om-best-card.is-away::before { background: var(--om-purple); }
.n9-om-best-card > span { color: var(--om-muted); display: block; font-size: 11px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n9-om-best-card > strong { color: var(--om-text); display: block; font-size: 25px; letter-spacing: -.025em; margin: 7px 0 2px; }
.n9-om-best-card > small { color: var(--om-faint); display: block; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.n9-om-table-wrap { border: 1px solid var(--om-border); border-radius: 15px; overflow-x: auto; }
.n9-om-table-wrap table { border: 0; border-collapse: collapse; margin: 0; min-width: 590px; width: 100%; }
.n9-om-table-wrap th,
.n9-om-table-wrap td { border: 0; border-bottom: 1px solid var(--om-border); padding: 13px 15px; text-align: center; }
.n9-om-table-wrap thead th { background: var(--om-soft); color: var(--om-faint); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.n9-om-table-wrap thead th:first-child { text-align: left; }
.n9-om-table-wrap tbody tr:last-child th,
.n9-om-table-wrap tbody tr:last-child td { border-bottom: 0; }
.n9-om-table-wrap tbody th { align-items: center; color: var(--om-text); display: flex; font-size: 11px; gap: 10px; min-width: 180px; text-align: left; }
.n9-om-table-wrap tbody td { color: var(--om-text); font-size: 12px; font-weight: 800; }
.n9-om-table-wrap tbody td.is-best { background: var(--om-mint-soft); color: #007c63; position: relative; }
.n9-om-table-wrap tbody td.is-best::after { color: var(--om-mint-dark); content: "best"; display: block; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.n9-om-brand { align-items: center; background: #0f172a; border-radius: 9px; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 9px; font-weight: 950; height: 30px; justify-content: center; letter-spacing: -.02em; width: 34px; }
.n9-om-brand.is-10bet { background: #08a892; }
.n9-om-brand.is-1xbet { background: #165ea8; }
.n9-om-brand.is-bet365 { background: #087d64; color: #ffe866; }
.n9-om-brand.is-betano { background: #f05a25; }
.n9-om-brand.is-betfair { background: #f6a800; color: #111827; }
.n9-om-brand.is-pinnacle { background: #f36f21; }

.n9-om-bookmaker-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.n9-om-bookmaker { border: 1px solid var(--om-border); border-radius: 17px; min-width: 0; overflow: hidden; }
.n9-om-bookmaker > header { align-items: center; background: var(--om-soft); border-bottom: 1px solid var(--om-border); display: flex; gap: 11px; padding: 14px; }
.n9-om-bookmaker > header > div { min-width: 0; }
.n9-om-bookmaker > header strong { color: var(--om-text); display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n9-om-bookmaker > header small { color: var(--om-faint); display: block; font-size: 9px; margin-top: 2px; }
.n9-om-market-list { padding: 3px 14px; }
.n9-om-market-row { border-bottom: 1px solid var(--om-border); padding: 13px 0; }
.n9-om-market-row:last-child { border-bottom: 0; }
.n9-om-market-row > strong { color: var(--om-muted); display: block; font-size: 10px; line-height: 1.35; margin-bottom: 9px; }
.n9-om-market-row > div { display: flex; flex-wrap: wrap; gap: 6px; }
.n9-om-market-row > div > span { align-items: center; background: var(--om-soft); border: 1px solid var(--om-border); border-radius: 9px; display: inline-flex; gap: 6px; min-height: 30px; padding: 5px 8px; }
.n9-om-market-row span small { color: var(--om-muted); font-size: 8px; }
.n9-om-market-row span b { color: var(--om-text); font-size: 10px; }

.n9-om-empty { background: var(--om-soft); border: 1px dashed var(--om-border-strong); border-radius: 15px; padding: 22px; text-align: center; }
.n9-om-empty strong { color: var(--om-text); display: block; font-size: 14px; }
.n9-om-empty p { color: var(--om-muted); font-size: 11px; line-height: 1.65; margin: 6px auto 0; max-width: 540px; }

.n9-om-aside .n9-om-panel { box-shadow: 0 12px 34px rgba(15,23,42,.06); padding: 20px; }
.n9-om-aside h2 { font-size: 17px; margin-bottom: 16px; }
.n9-om-stats { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.n9-om-stats > div { background: var(--om-soft); border: 1px solid var(--om-border); border-radius: 13px; padding: 12px 5px; text-align: center; }
.n9-om-stats strong { color: var(--om-text); display: block; font-size: 20px; }
.n9-om-stats span { color: var(--om-faint); display: block; font-size: 8px; margin-top: 3px; }

.n9-om-details dl { margin: 0; }
.n9-om-details dl > div { border-bottom: 1px solid var(--om-border); display: grid; gap: 10px; grid-template-columns: 92px minmax(0, 1fr); padding: 11px 0; }
.n9-om-details dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.n9-om-details dt { color: var(--om-faint); font-size: 9px; font-weight: 800; }
.n9-om-details dd { color: var(--om-text); font-size: 10px; font-weight: 750; line-height: 1.45; margin: 0; text-align: right; }

.n9-om-note { align-items: flex-start; background: #fffaf0; border-color: #f1dfb8; display: flex; gap: 12px; }
.n9-om-note-icon { align-items: center; background: #fff0c8; border-radius: 50%; color: #a15b00; display: flex; flex: 0 0 auto; font-size: 11px; font-weight: 950; height: 28px; justify-content: center; width: 28px; }
.n9-om-note strong { color: #71420b; display: block; font-size: 11px; }
.n9-om-note p { color: #8b642f; font-size: 9px; line-height: 1.6; margin: 4px 0 0; }

.n9-odds-match-v293 > .n9-api-single-readmore-analysis { margin-top: 24px; }

html[data-n9-theme="dark"] .n9-odds-match-v293 {
  --om-card: #0e1828;
  --om-soft: #111f31;
  --om-border: #243247;
  --om-border-strong: #324259;
  --om-text: #eef5fb;
  --om-muted: #a5b5c8;
  --om-faint: #71839a;
  --om-mint-soft: rgba(0, 214, 170, .1);
  --om-shadow: 0 18px 48px rgba(2, 6, 23, .22);
}

html[data-n9-theme="dark"] .n9-om-tabs { background: rgba(14,24,40,.96); }
html[data-n9-theme="dark"] .n9-om-note { background: #211c13; border-color: #483b24; }
html[data-n9-theme="dark"] .n9-om-note strong { color: #f5d79d; }
html[data-n9-theme="dark"] .n9-om-note p { color: #c0a777; }
html[data-n9-theme="dark"] .n9-om-note-icon { background: #3a2d16; color: #f4c66d; }

@media (max-width: 1040px) {
  .n9-om-hero { grid-template-columns: 1fr; }
  .n9-om-matchup { min-height: 200px; }
  .n9-om-layout { grid-template-columns: 1fr; }
  .n9-om-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); position: static; }
  .n9-om-aside .n9-om-note { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body.n9-virtual-football-odds-page .n9-api-virtual-shell { margin-top: 16px; width: calc(100% - 20px); }
  .n9-odds-match-v293 { padding: 0 0 54px; }
  .n9-om-hero { border-radius: 21px; gap: 24px; margin-top: 15px; padding: 25px 18px; }
  .n9-om-hero h1 { font-size: clamp(27px, 9vw, 38px); }
  .n9-om-hero-copy > p { font-size: 13px; }
  .n9-om-matchup { gap: 7px; min-height: 182px; padding: 20px 8px; }
  .n9-om-crest { border-radius: 17px; height: 66px; width: 66px; }
  .n9-om-crest img { height: 52px; width: 52px; }
  .n9-om-team > strong { font-size: 11px; }
  .n9-om-versus { min-width: 48px; }
  .n9-om-versus > span { height: 36px; width: 36px; }
  .n9-om-tabs { border-radius: 13px; margin-bottom: 16px; }
  .n9-om-tabs .n9-om-prediction-link { margin-left: 0; }
  .n9-om-panel { border-radius: 17px; padding: 17px; }
  .n9-om-panel-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .n9-om-panel-head > small { text-align: left; }
  .n9-om-best-grid { grid-template-columns: 1fr; }
  .n9-om-best-card { display: grid; gap: 4px 12px; grid-template-columns: minmax(0, 1fr) auto; }
  .n9-om-best-card > strong { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .n9-om-best-card > small { grid-column: 1; }
  .n9-om-bookmaker-grid { grid-template-columns: 1fr; }
  .n9-om-aside { grid-template-columns: 1fr; }
  .n9-om-aside .n9-om-note { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .n9-odds-match-v293 { scroll-behavior: auto; }
}
