/* PULSE — design system in the Universal API visual language.
   Teal primary, dark-first with light/dark toggle, dark navbar, card lobby. */
[data-theme="dark"] {
  --primary: #25c2a0;
  --primary-light: #29d5b0;
  --primary-dark: #1da184;
  --bg: #1b1b1d;
  --bg2: #141416;
  --surface: #242526;
  --surface2: #2b2c2e;
  --border: #3a3d40;
  --border-soft: rgba(255,255,255,.08);
  --text: #e3e3e3;
  --muted: #bec3c9;
  --faint: #8a8f98;
  --input-bg: #1b1b1d;
  --code-bg: #141416;
  --nav-bg: #242526;
  --nav-text: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,.28);
  --shadow-lift: 0 10px 24px rgba(0,0,0,.42);
}
[data-theme="light"] {
  --primary: #2e8555;
  --primary-light: #33925d;
  --primary-dark: #256e45;
  --bg: #ffffff;
  --bg2: #f5f6f7;
  --surface: #ffffff;
  --surface2: #f5f6f7;
  --border: #dadde1;
  --border-soft: rgba(0,0,0,.06);
  --text: #1c1e21;
  --muted: #606770;
  --faint: #8a8f98;
  --input-bg: #ffffff;
  --code-bg: #f5f6f7;
  --nav-bg: #242526;
  --nav-text: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lift: 0 10px 24px rgba(0,0,0,.16);
}
:root {
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --cyan: #38bdf8;
  --amber: #ffb020;
  --red: #fa383e;
  --violet: #a78bfa;
  --gold: #ffd54f;
  /* legacy aliases used by templates */
  --neon: var(--primary);
  --neon-dim: rgba(37,194,160,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary-dark); text-decoration: none; }
[data-theme="dark"] a { color: var(--primary-light); }
a:hover { text-decoration: underline; }
::selection { background: rgba(37,194,160,.28); }

/* ---------- navbar (dark in both themes, like the reference) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .55rem 1.2rem;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.08rem; letter-spacing: .02em; color: var(--nav-text) !important; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #06231c; font-weight: 900; font-size: 1rem; }
.brand .pulse-dot { color: var(--primary-light); }
.nav-links { display: flex; gap: 1rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .92rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: var(--primary); color: #06231c !important; font-weight: 700;
  padding: .4rem .9rem; border-radius: 8px;
}
.nav-cta:hover { background: var(--primary-light); text-decoration: none; }
.theme-toggle {
  width: 2rem; height: 2rem; margin-left: .25rem; border: none; border-radius: 50%;
  background: transparent; color: rgba(255,255,255,.85); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.theme-toggle:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.4rem; }
section { padding: 3rem 0; }
.grid { display: grid; gap: 1.1rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: .7rem; }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

/* ---------- hero (eyebrow / title / subtitle / meta, reference pattern) ---------- */
.hero { padding: 4rem 0 2.6rem; }
.eyebrow {
  margin: 0 0 .4rem; font-size: .75rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.kicker { /* legacy */
  display: inline-block; font-family: var(--mono); font-size: .78rem;
  color: var(--primary-dark); border: 1px solid var(--border);
  background: var(--surface2); border-radius: 999px; padding: .25rem .9rem;
  letter-spacing: .08em; margin-bottom: 1.2rem;
}
.hero h1, .hero-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; margin: 0 0 .6rem; font-weight: 800; color: var(--text); }
.hero h1 .glow { color: var(--primary-dark); }
[data-theme="dark"] .hero h1 .glow { color: var(--primary-light); text-shadow: none; }
.hero .lead, .hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 680px; margin: 0 0 1.6rem; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.meta-pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.meta-pills span {
  padding: .35rem .7rem; border-radius: 999px; font-size: .8rem;
  background: var(--surface2); border: 1px solid var(--border-soft); color: var(--muted);
}
.meta-pills b { color: var(--text); font-weight: 700; }

.btn {
  display: inline-block; padding: .75rem 1.5rem; border-radius: 10px;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font-size: .98rem;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #06231c; }
.btn-primary:hover { background: var(--primary-light); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-danger { background: transparent; border: 1px solid var(--red); color: var(--red); padding: .35rem .7rem; font-size: .82rem; border-radius: 8px; cursor: pointer; }
.btn-small { padding: .45rem .9rem; font-size: .86rem; }

/* ---------- live ticker ---------- */
.ticker-shell { margin: 2.4rem 0 0; max-width: 900px; }
.ticker-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.ticker {
  background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--mono); font-size: .88rem; overflow: hidden; min-height: 62px;
  display: flex; align-items: center;
}
.ticker-track { display: flex; gap: 2.4rem; padding: .9rem 1.2rem; white-space: nowrap; overflow-x: auto; width: 100%; }
.tick-item b { color: var(--primary-dark); font-weight: 600; }
[data-theme="dark"] .tick-item b { color: var(--primary-light); }
.tick-item .t-up { color: var(--primary-dark); } .tick-item .t-down { color: var(--red); }
.tick-item .t-mute { color: var(--faint); }
.ticker-empty { color: var(--faint); padding: 1rem; }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--text); }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card .icon { font-size: 1.6rem; margin-bottom: .6rem; display: block; }
.section-title { font-size: 1.75rem; margin: 0 0 .4rem; font-weight: 800; color: var(--text); }
.section-sub { color: var(--muted); margin: 0 0 1.8rem; max-width: 640px; }

/* ---------- casino lobby (reference game-card language) ---------- */
.lobby {
  background: var(--surface2);
  border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 1.25rem;
}
.lobby-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lobby-title { margin: 0; font-size: 1.5rem; color: var(--text); }
.lobby-sub { margin: .3rem 0 0; color: var(--muted); max-width: 620px; font-size: .94rem; }
.lobby-tabs { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.lobby-tab {
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  padding: .4rem 1rem; border-radius: 8px; cursor: pointer; font-size: .86rem; font-weight: 600;
}
.lobby-tab.active { background: var(--text); border-color: var(--text); color: var(--bg); }
[data-theme="dark"] .lobby-tab.active { background: #111; border-color: #111; color: #fff; }
.game-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.game-card {
  display: block; border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease; color: inherit;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); text-decoration: none; }
.game-art { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #111; }
.game-art .game-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.game-art .game-initials {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: .04em;
}
.game-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  gap: .35rem; padding: .7rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.72));
}
.game-name { color: #fff; font-size: .85rem; font-weight: 700; line-height: 1.25; }
.game-meta { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.game-badge {
  align-self: flex-start; padding: .14rem .45rem; border-radius: 999px;
  background: var(--gold); color: #1b1b1b; font-size: .66rem; font-weight: 700; text-transform: uppercase;
}
.game-badge.virtual { background: var(--violet); color: #fff; }
.game-players { color: rgba(255,255,255,.85); font-size: .7rem; font-family: var(--mono); }
.game-foot { padding: .6rem .75rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.game-id { font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.game-cta { font-size: .78rem; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
[data-theme="dark"] .game-cta { color: var(--primary-light); }

/* ---------- pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.popular { border: 2px solid var(--primary); }
.price-tag {
  position: absolute; top: -12px; right: 16px; background: var(--primary); color: #06231c;
  font-size: .72rem; font-weight: 800; padding: .15rem .7rem; border-radius: 999px; letter-spacing: .05em;
}
.price { font-size: 2rem; font-weight: 800; margin: .4rem 0; color: var(--text); }
.price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.price-inr { color: var(--faint); font-size: .85rem; margin-bottom: .8rem; }
.spec-list { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .9rem; color: var(--muted); }
.spec-list li { padding: .28rem 0; border-bottom: 1px dashed var(--border); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list b { color: var(--text); font-weight: 600; }

/* ---------- forms ---------- */
.form-card { max-width: 460px; margin: 2.5rem auto; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border-radius: 9px;
  background: var(--input-bg); border: 1px solid var(--border); color: var(--text);
  font-size: 1rem; font-family: var(--font);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,194,160,.15);
}
.field textarea { font-family: var(--mono); font-size: .85rem; }
.alert { border-radius: 9px; padding: .8rem 1rem; margin-bottom: 1.1rem; font-size: .92rem; }
.alert-error { background: rgba(250,56,62,.1); border: 1px solid rgba(250,56,62,.4); color: var(--red); }
.alert-ok { background: var(--neon-dim); border: 1px solid rgba(37,194,160,.4); color: var(--primary-dark); }
[data-theme="dark"] .alert-ok { color: var(--primary-light); }
.alert-warn { background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.4); color: var(--amber); }
.captcha-row { display: flex; gap: .7rem; align-items: center; }
.captcha-row img { border-radius: 8px; border: 1px solid var(--border); height: 58px; background: #fff; }
.link-btn { background: none; border: none; color: var(--primary-dark); cursor: pointer; font-size: .85rem; padding: 0; }
[data-theme="dark"] .link-btn { color: var(--primary-light); }
.key-reveal {
  font-family: var(--mono); background: var(--code-bg); border: 1px dashed var(--primary);
  border-radius: 9px; padding: .9rem; word-break: break-all; font-size: .85rem;
  color: var(--primary-dark); margin: .6rem 0;
}
[data-theme="dark"] .key-reveal { color: var(--primary-light); }

/* ---------- tables ---------- */
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.data th { text-align: left; color: var(--faint); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: .6rem .7rem; border-bottom: 1px solid var(--border); }
table.data td { padding: .6rem .7rem; border-bottom: 1px solid var(--border-soft); vertical-align: top; color: var(--text); }
table.data tr:last-child td { border-bottom: 0; }
.mono { font-family: var(--mono); font-size: .82rem; }
.pill { display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.pill-ok { background: rgba(37,194,160,.15); color: var(--primary-dark); }
.pill-bad { background: rgba(250,56,62,.12); color: var(--red); }
.pill-mute { background: rgba(140,145,152,.15); color: var(--muted); }
.pill-warn { background: rgba(255,176,32,.14); color: var(--amber); }
[data-theme="dark"] .pill-ok { color: var(--primary-light); }
.table-scroll { overflow-x: auto; }

/* ---------- dashboard / admin ---------- */
.dash-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 .4rem; }
.dash-head h1 { margin: 0; font-size: 1.75rem; color: var(--text); }
.admin-eyebrow { margin: 1.6rem 0 0; }
.quota-bar { height: 8px; background: var(--surface2); border: 1px solid var(--border-soft); border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.quota-bar > div { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--primary)); border-radius: 99px; }
canvas.chart { width: 100%; height: 240px; display: block; }
.tabs { display: flex; gap: .4rem; margin-bottom: .8rem; flex-wrap: wrap; }
.tab { background: var(--surface); border: 1px solid var(--border); color: var(--muted); padding: .4rem .9rem; border-radius: 8px; cursor: pointer; font-size: .85rem; }
.tab.active { border-color: var(--primary); color: var(--primary-dark); font-weight: 600; }
[data-theme="dark"] .tab.active { color: var(--primary-light); }
pre.code {
  background: var(--code-bg); border: 1px solid var(--border); border-radius: 9px;
  padding: 1rem; overflow-x: auto; font-family: var(--mono); font-size: .82rem; line-height: 1.55; color: var(--text);
}
pre.code .cm { color: var(--faint); }

/* ---------- demo ---------- */
.endpoint-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin: .8rem 0; }
.chip { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 999px; padding: .3rem .85rem; font-size: .8rem; font-family: var(--mono); cursor: pointer; }
.chip:hover { border-color: var(--primary); }
.inspector { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.ws-log { background: var(--code-bg); border: 1px solid var(--border); border-radius: 9px; height: 300px; overflow-y: auto; padding: .8rem; font-family: var(--mono); font-size: .8rem; }
.ws-log .lg-in { color: var(--cyan); } .ws-log .lg-out { color: var(--primary-dark); } .ws-log .lg-err { color: var(--red); } .ws-log .lg-mute { color: var(--faint); }
[data-theme="dark"] .ws-log .lg-out { color: var(--primary-light); }
.subs-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0; }

/* ---------- docs teaser ---------- */
.code-window { background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.code-window .cw-bar { display: flex; gap: .4rem; padding: .6rem .9rem; border-bottom: 1px solid var(--border); }
.code-window .cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); display: block; }
.code-window pre { margin: 0; padding: 1.1rem; overflow-x: auto; font-family: var(--mono); font-size: .83rem; line-height: 1.6; color: var(--text); }
.code-window pre .cm { color: var(--faint); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border-soft); margin-top: 3rem; padding: 2rem 0; color: var(--faint); font-size: .85rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
footer strong { color: var(--text); }

/* ---------- misc ---------- */
.mt { margin-top: 1.2rem; } .mb { margin-bottom: 1.2rem; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.center { text-align: center; }
.health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 10px; padding: .9rem 1.1rem; box-shadow: var(--shadow); }
.stat .v { font-size: 1.5rem; font-weight: 800; font-family: var(--mono); color: var(--text); }
.stat .k { color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }
.agg-card input[type="number"] { background: var(--input-bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: .25rem .4rem; }

/* keep button text readable against the global theme link color */
a.btn-primary, [data-theme="dark"] a.btn-primary, [data-theme="light"] a.btn-primary { color: #06231c; }
a.btn-ghost, [data-theme="dark"] a.btn-ghost, [data-theme="light"] a.btn-ghost { color: var(--text); }
a.btn-danger { color: var(--red); }

/* ---------- live watch ---------- */
.live-page { padding-bottom: 2rem; }
.live-hero { padding: 2.2rem 0 0.4rem; }
.live-hero .section-title { margin-bottom: .35rem; }
.live-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 860px) {
  .live-layout { grid-template-columns: 1fr; }
}
.live-rail { padding: 1rem; max-height: 78vh; overflow: auto; }
.live-rail-head {
  display: flex; align-items: center; gap: .45rem; justify-content: space-between;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .7rem;
}
.live-list { display: flex; flex-direction: column; gap: .35rem; }
.live-item {
  display: flex; flex-direction: column; width: 100%; box-sizing: border-box;
  text-align: left; cursor: pointer; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--border-soft);
  color: var(--text); border-radius: 8px; padding: .55rem .7rem;
  font: inherit;
}
.live-item b { display: block; font-size: .9rem; }
.live-item-meta { display: block; font-size: .75rem; color: var(--faint); margin-top: .15rem; }
.live-item.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.live-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.live-player-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; }
.live-player-meta h2 { margin: 0; font-size: 1.15rem; }
.live-frame-wrap {
  position: relative; width: 100%; min-height: 360px; aspect-ratio: 16 / 9;
  background: #0b0b0c; border-radius: 10px; overflow: hidden; border: 1px solid var(--border);
}
.live-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.live-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.2rem; text-align: center; }
.live-score .score-name { font-weight: 700; margin-bottom: .4rem; }
.score-marquee {
  font-family: var(--mono); font-size: .85rem; color: var(--primary-light);
  background: var(--code-bg); border-radius: 8px; padding: .55rem .7rem; margin-bottom: .8rem;
}
.score-innings { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem; }
.score-inn { background: var(--surface2); border-radius: 8px; padding: .7rem .8rem; }
.score-inn-team { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.score-inn-line { font-size: 1.15rem; margin-top: .2rem; }
.score-balls { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.score-extras { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.live-filter { display: flex; gap: .25rem; text-transform: none; letter-spacing: 0; }
.sport-filter { flex-wrap: wrap; margin: 0 0 .55rem; }
#odds-filter { flex-wrap: wrap; margin: 0 0 .7rem; }
.chip {
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  border-radius: 999px; padding: .15rem .55rem; font-size: .72rem; cursor: pointer;
}
.chip.active { border-color: var(--primary); color: var(--primary-light); }
.live-markets .mkt { margin-bottom: .9rem; }
.mkt-head { display: flex; justify-content: space-between; gap: .6rem; margin-bottom: .35rem; font-weight: 600; font-size: .85rem; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.mkt-table th, .mkt-table td { padding: .28rem .4rem; text-align: left; border-bottom: 1px solid var(--border); }
.mkt-table th { color: var(--faint); font-weight: 500; }
.mkt-table .back { color: #5eead4; font-variant-numeric: tabular-nums; }
.mkt-table .lay { color: #f9a8d4; font-variant-numeric: tabular-nums; }
.mkt-table .px { display: block; font-size: .68rem; color: var(--faint); }
.tennis-board { display: flex; flex-direction: column; gap: .35rem; }
.tennis-row {
  display: grid; grid-template-columns: 1fr 2.2rem repeat(3, 2rem) 2.4rem;
  align-items: center; gap: .35rem; background: var(--surface2);
  border-radius: 8px; padding: .45rem .6rem;
}
.tennis-row.serving { box-shadow: inset 2px 0 0 var(--primary); }
.tennis-name { font-weight: 600; }
.tennis-sets, .tennis-game, .tennis-pts { text-align: center; font-variant-numeric: tabular-nums; }
.tennis-sets { font-weight: 700; color: var(--primary-light); }
.soccer-board { display: flex; flex-direction: column; gap: .45rem; }
.soccer-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: .4rem; background: var(--surface2); border-radius: 8px;
  padding: .55rem .7rem;
}
.soccer-name { font-weight: 600; }
.soccer-goals { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--primary-light); }
.soccer-row .score-extras { grid-column: 1 / -1; }
.casino-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.casino-players { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .6rem; }
.casino-seat { background: var(--surface2); border-radius: 8px; padding: .6rem .7rem; }
.casino-seat.winner { outline: 1px solid var(--primary); }
.casino-seat .cards { display: flex; flex-wrap: wrap; gap: .25rem; margin: .35rem 0; }
