/* ApexSlip — site styles (every public page). Plain CSS, no build step. */
:root {
  --bg: #0b1017;
  --bg2: #0f1621;
  --surface: #131c28;
  --surface2: #182333;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #e6edf5;
  --muted: #93a1b3;
  --accent: #c8ff3d;
  --accent-ink: #0b1017;
  --sky: #38bdf8;
  --paper: #fbfaf6;
  --radius: 16px;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Inter', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --top: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text);
  background:
    radial-gradient(1200px 520px at 85% -120px, rgba(200, 255, 61, .07), transparent 60%),
    radial-gradient(900px 480px at -10% 10%, rgba(56, 189, 248, .07), transparent 60%),
    var(--bg);
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- logo */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; margin: -2px 0 0 -2px; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: .01em; color: #fff; line-height: 1; }
.logo-text b { color: var(--accent); font-weight: 700; }
.logo--muted { opacity: .5; transform: scale(.9); }

/* ---------- header */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--top);
  background: rgba(11, 16, 23, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); background: rgba(11, 16, 23, .94); }
.topbar-in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; text-decoration: none; flex: none; }
.mainnav { display: none; gap: 4px; margin-inline-start: 12px; }
.mainnav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s, background .15s;
}
.mainnav a .ico { width: 18px; height: 18px; }
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.mainnav a.on { color: var(--accent-ink); background: var(--accent); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--line2); color: var(--accent); }
.tg-btn {
  display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px;
  background: #229ed9; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}
.tg-btn:hover { background: #1b8cc2; }
@media (min-width: 600px) { .tg-btn { display: inline-flex; } }
@media (min-width: 960px) { .mainnav { display: flex; } .menu-btn { display: none; } }

/* language menu */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: #fff; border-color: var(--line2); }
.lang summary .ico { width: 18px; height: 18px; }
.lang-pop {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: var(--surface2); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.lang-pop a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-size: 14px; color: var(--text); }
.lang-pop a:hover { background: rgba(255, 255, 255, .06); }
.lang-pop a.on { color: var(--accent); }

/* ---------- side menu */
.drawer-bg { position: fixed; inset: 0; z-index: 90; background: rgba(3, 6, 12, .6); opacity: 0; transition: opacity .2s ease; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 91; width: min(320px, 86vw);
  background: var(--bg2); border-inline-start: 1px solid var(--line); padding: 18px 16px;
  transform: translateX(100%); transition: transform .22s ease; display: flex; flex-direction: column; gap: 18px;
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
html.drawer-open .drawer { transform: none; }
html.drawer-open .drawer-bg { opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 500;
}
.drawer-nav a:hover { background: rgba(255, 255, 255, .05); }
.drawer-nav a.on { color: var(--accent); background: rgba(200, 255, 61, .07); }

/* ---------- search */
.search { position: fixed; inset: 0; z-index: 100; background: rgba(3, 6, 12, .72); display: flex; justify-content: center; align-items: flex-start; padding: 88px 16px 16px; }
.search-box { width: 100%; max-width: 560px; background: var(--surface2); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.search-row { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-row input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 16px; padding: 8px 0; }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-hit { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-hit:last-child { border-bottom: 0; }
.search-hit:hover { background: rgba(255, 255, 255, .04); }
.search-hit strong { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.search-hit span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.search-empty { margin: 0; padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- main */
.main { padding-top: var(--top); min-height: 60vh; }
.hero { padding: 44px 0 18px; }
.hero--sec { padding-top: 32px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: .005em; color: #fff;
  text-wrap: balance;
}
.lede { margin: 14px 0 0; max-width: 640px; color: var(--muted); font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.list-sec { padding: 18px 16px 56px; }
@media (min-width: 768px) { .list-sec { padding: 18px 28px 72px; } }
.sec-h { margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: 26px; color: #fff; display: flex; align-items: center; gap: 10px; }
.sec-h::before { content: ""; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.empty { margin: 0; padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--radius); }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 20px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }

/* ---------- cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; text-decoration: none; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: rgba(200, 255, 61, .45); transform: translateY(-2px); }
.card-in { display: flex; flex-direction: column; width: 100%; }
.card-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--bg2); overflow: hidden; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-title { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.15; color: #fff; }
.card-ex { color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
[dir="rtl"] .card-more .ico { transform: scaleX(-1); }
.card-foot time { color: var(--muted); }

/* ---------- banner slider (home) */
.slider { margin-top: 8px; margin-bottom: 8px; }
.slider-track { display: grid; }
.banner-slide { grid-area: 1 / 1; display: flex; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-inner { position: relative; width: 100%; line-height: 0; }
.banner-inner img { display: block; width: 100%; height: auto; border-radius: 14px; }
.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .25); cursor: pointer; }
.dot.on { background: var(--accent); }

/* ---------- article */
.post-wrap { max-width: 860px; padding-top: 28px; padding-bottom: 64px; }
.post { background: var(--paper); border-radius: 20px; overflow: hidden; color: #1f2937; }
.post-cover { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.post-in { padding: 24px 20px 28px; }
@media (min-width: 768px) { .post-in { padding: 36px 44px 40px; } }
.post-title { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5vw, 46px); line-height: 1.05; color: #0b1220; text-wrap: balance; }
.post-meta { margin: 0 0 24px; font-size: 13px; color: #64748b; }
.back { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--accent); }
[dir="rtl"] .back .ico { transform: scaleX(-1); }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 36px 0 calc(28px + 64px); font-size: 14px; color: var(--muted); }
@media (min-width: 768px) { .foot { padding-bottom: 28px; } }
.foot-in { display: grid; gap: 24px; }
@media (min-width: 768px) { .foot-in { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.foot-brand p { margin: 12px 0 0; max-width: 460px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.foot-nav a { color: var(--text); text-decoration: none; }
.foot-nav a:hover { color: var(--accent); }
.foot-rg { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-rg p { margin: 0; }
.foot-rg a { color: var(--text); }
.age { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ef4444; color: #fff; font-weight: 700; font-size: 13px; }
.foot-copy { margin-top: 18px; font-size: 13px; }

/* ---------- bottom tab bar (phones) */
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 60; height: 64px; display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(15, 22, 33, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; cursor: pointer;
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 500; min-width: 0;
}
.tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.tabbar .on { color: var(--accent); }
@media (min-width: 768px) { .tabbar { display: none; } }
html.search-open, html.drawer-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- bookmakers table (/bookmakers; rows come from the admin panel) */
.brands { margin: 4px 0 30px; }
.br-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.6rem; line-height: 1.1; margin: 0 0 14px; color: #fff; }
.br-title2 { margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.br-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; margin-top: -10px; }
.br-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 0 14px 2px; white-space: nowrap; }
.br-table td { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px; vertical-align: middle; }
.br-table td:first-child { border-left: 1px solid var(--line); border-radius: var(--radius) 0 0 var(--radius); }
.br-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; }
.br-table tbody tr:hover td { background: var(--surface2); border-color: rgba(200, 255, 61, .3); }
.br-rank { width: 44px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--muted); }
.br-site { min-width: 190px; }
.br-site, .br-name { display: flex; align-items: center; gap: 12px; }
.br-name { flex-direction: column; align-items: flex-start; gap: 2px; }
.br-name strong { color: #fff; font-size: 16px; }
.br-logo { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; }
.br-logo img { width: 100%; height: 100%; object-fit: cover; }
.br-ini { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--accent); }
.br-rate { display: inline-flex; align-items: center; gap: 4px; color: #fbbf24; font-size: 13px; font-weight: 700; }
.br-rate svg { width: 13px; height: 13px; }
.br-bonus { font-size: 14.5px; line-height: 1.55; }
.br-bonus svg { width: 18px; height: 18px; color: #fbbf24; display: inline-block; vertical-align: -4px; margin-right: 7px; }
.br-none { color: #4b5768; }
.br-apps { white-space: nowrap; }
.br-app { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; margin-right: 6px; border-radius: 10px; border: 1px solid var(--line2); color: var(--text); font-size: 12.5px; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.br-app svg { width: 16px; height: 16px; }
a.br-app:hover { border-color: var(--accent); color: var(--accent); }
.br-app.off { opacity: .3; cursor: default; }
.br-acts { white-space: nowrap; text-align: right; }
.br-review, .br-direct, .br-join { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s, border-color .15s; }
.br-review { color: var(--text); border: 1px solid var(--line2); margin-right: 8px; }
.br-review:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.br-direct { color: var(--accent); border: 1px solid rgba(200, 255, 61, .5); margin-right: 8px; }
.br-direct:hover { background: rgba(200, 255, 61, .1); }
.br-join { background: var(--accent); color: var(--accent-ink); }
.br-join svg { width: 14px; height: 14px; }
.br-join:hover { box-shadow: 0 0 22px rgba(200, 255, 61, .4); }
.br-review:focus-visible, .br-direct:focus-visible, .br-join:focus-visible, .br-app:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.br-note { margin: 4px 2px 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) {
  .br-table, .br-table tbody, .br-table tr, .br-table td { display: block; width: auto; }
  .br-table thead { display: none; }
  .br-table { border-spacing: 0; margin-top: 0; }
  .br-table tr { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
  .br-table td, .br-table td:first-child, .br-table td:last-child { background: none; border: 0; border-radius: 0; padding: 0; }
  .br-table tbody tr:hover td { background: none; }
  .br-rank { position: absolute; top: 12px; right: 14px; width: auto; font-size: 16px; }
  .br-table td.br-site { display: flex; min-width: 0; padding-right: 28px; }
  .br-table td.br-empty { display: none !important; }
  .br-bonus { margin-top: 12px; padding: 10px 12px !important; border-radius: 12px; background: rgba(251, 191, 36, .07) !important; }
  .br-apps { margin-top: 12px; display: flex !important; gap: 8px; }
  .br-app { margin: 0; flex: 1; justify-content: center; padding: 9px 10px; }
  .br-acts { margin-top: 12px; display: flex !important; gap: 8px; }
  .br-review, .br-direct, .br-join { flex: 1 1 0; min-width: 0; white-space: nowrap; margin: 0; padding: 11px 6px; font-size: 13px; }
}

/* =====================================================================
   v3 — "slip" redesign: stadium hero, match of the day, ticket cards
   ===================================================================== */
.btn--accent, .btn--ghost { margin-top: 0; padding: 13px 20px; border-radius: 999px; font-weight: 700; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px rgba(200, 255, 61, .25); }
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(200, 255, 61, .4); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--sky); background: rgba(56, 189, 248, .12); }

/* ---- hero with art */
.hero--home, .hero--art { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; display: block; }
.hero--home::after, .hero--art::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 16, 23, .92) 0%, rgba(11, 16, 23, .55) 45%, rgba(11, 16, 23, .1) 100%), linear-gradient(180deg, rgba(11, 16, 23, 0) 55%, var(--bg) 100%); }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 60%; height: 90%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 255, 61, .16), transparent 70%); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .45; transform: translate3d(0, 0, 0) scale(1); } to { opacity: 1; transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero--home { padding: 56px 0 46px; min-height: 520px; display: flex; align-items: center; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 48px; } .hero--home { min-height: 600px; padding: 64px 0 70px; } }
.hero--home h1 { font-size: clamp(42px, 7vw, 82px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.hero--home .lede { color: #c7d2df; font-size: 18px; max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #e9ffc4; background: rgba(200, 255, 61, .1); border: 1px solid rgba(200, 255, 61, .3); backdrop-filter: blur(6px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200, 255, 61, .7); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(200, 255, 61, 0); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 700px) {
  .hero-bg img { object-position: center top; }
  .hero--home::after { background: linear-gradient(180deg, rgba(11, 16, 23, .35) 0%, rgba(11, 16, 23, .7) 45%, var(--bg) 100%); }
  .hero--home { padding-top: 40px; }
}
.hero--art.hero--sec { padding: 46px 0 40px; }
@media (min-width: 768px) { .hero--art.hero--sec { padding: 70px 0 64px; } }
.hero--art .hero-bg img { object-position: 75% 50%; }
.hero--art .lede { color: #c7d2df; }

/* ---- team badges */
.tb { --tb-bg: #334155; --tb-fg: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 55%), var(--tb-bg); color: var(--tb-fg);
  font: 700 10.5px/1 var(--body); letter-spacing: .02em; box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 4px 10px rgba(0, 0, 0, .35); }
.tb--lg { width: 46px; height: 46px; font-size: 13px; }
.tb--xl { width: 64px; height: 64px; font-size: 17px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .16), 0 10px 26px rgba(0, 0, 0, .5); }

/* ---- match of the day */
.motd { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 20px; border-radius: 22px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, rgba(24, 35, 51, .82), rgba(11, 16, 23, .9)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease; }
.motd::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(200, 255, 61, .7), transparent 35%, transparent 65%, rgba(56, 189, 248, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.motd:hover { transform: translateY(-3px); }
.motd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.motd-label { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.motd .ko { font-size: 12.5px; color: #b6c2d1; }
.motd-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.motd-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.05; color: #fff; text-transform: uppercase; }
.motd-vs { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--muted); padding: 0 4px; }
.countdown { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cd-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cd-units { display: flex; gap: 8px; }
.cd-u { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 8px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.cd-u b { font-family: var(--display); font-size: 28px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd-u i { font-style: normal; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
.countdown.is-live .cd-units { display: none; }
.countdown.is-live .cd-label { color: #ff6b6b; font-weight: 700; }
.motd-perf, .card-perf { position: relative; display: block; height: 0; border-top: 2px dashed rgba(255, 255, 255, .13); }
.motd-perf { margin: 0 -22px; }
.motd-perf::before, .motd-perf::after, .card-perf::before, .card-perf::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.motd-perf::before, .card-perf::before { left: -9px; } .motd-perf::after, .card-perf::after { right: -9px; }
.motd-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(200, 255, 61, .1); border: 1px solid rgba(200, 255, 61, .35); }
.motd-pick-val { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent); text-align: right; }
.cp-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb07a; white-space: nowrap; }
.motd-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: #fff; }
.motd:hover .motd-go { color: var(--accent); }

/* ---- ticket cards */
.card { background: linear-gradient(180deg, var(--surface) 0%, #111925 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card:hover { border-color: rgba(200, 255, 61, .5); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(200, 255, 61, .15); }
.card-media { position: relative; }
.card-media img { transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 16, 23, .7)); pointer-events: none; }
.card-media--brand::after { background: linear-gradient(180deg, rgba(11, 16, 23, .25), rgba(11, 16, 23, .65)); }
.faceoff { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 16px; }
.faceoff .tb--lg { width: 62px; height: 62px; font-size: 16px; }
.faceoff-vs { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); text-transform: uppercase; }
.ko--chip { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(11, 16, 23, .72); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.ko--chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.card-teams { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #dbe3ee; min-width: 0; }
.ct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-vs { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.card-body { padding-bottom: 16px; }
.card-perf { margin: 0 0; }
.card-perf::before, .card-perf::after { top: -10px; }
.card-foot { margin-top: 0; padding: 13px 18px 15px; }
.card-pick { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-pick .cp-val { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--accent); line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- post page: teams under the title */
.post-match { display: flex; justify-content: center; align-items: center; gap: 14px; margin: -6px 0 22px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #131c28, #0f1621); color: #fff; }
.pm-name { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.pm-mid { margin: 0 6px; }
.pm-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pm-vs { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 18px; text-transform: uppercase; }
.pm-mid .ko { font-size: 11.5px; color: #b6c2d1; white-space: nowrap; }
@media (max-width: 520px) { .post-match { gap: 8px; padding: 12px; } .pm-name { font-size: 16px; } .post-match .tb--lg { width: 38px; height: 38px; font-size: 11px; } }

/* ---- scroll reveal: app.js marks only cards still below the fold, so nothing on screen waits for a script */
.reveal-wait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-wait.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .pulse { animation: none; }
  .reveal-wait { opacity: 1; transform: none; transition: none; }
  .card, .card-media img, .motd, .btn--accent { transition: none; }
}
