/* ═══════════════════════════════════════════════════════════════════════
   FOOTY PREDICTION — Apple-style redesign
   Tokens, layout, components, responsive — all in one file
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg:#faf9f5; --bg-2:#f5f4ed; --surface:#fff; --surface-2:#f5f5f0;
  --border:#e5e5e0; --border-soft:#eeeeea;
  --t1:#0a0a0a; --t2:#52525b; --t3:#8a8a94;
  --pos:#15803d; --pos-bg:#e8f3ec;
  --live:#dc2626; --live-bg:#fee2e2;
  --mono-1:#0a0a0a; --mono-2:#2c2c2c; --mono-3:#ededE7; --mono-4:#52525b;
  --r:12px; --rm:18px; --rl:24px; --rxl:32px;
  --sh-1: 0 1px 2px rgba(10,10,10,.04), 0 4px 16px rgba(10,10,10,.03);
  --sh-2: 0 2px 6px rgba(10,10,10,.05), 0 16px 40px rgba(10,10,10,.04);
  --fn-display: "SF Pro Display",-apple-system,BlinkMacSystemFont,"Inter",system-ui,sans-serif;
  --fn-body: "SF Pro Text",-apple-system,BlinkMacSystemFont,"Inter",system-ui,sans-serif;
  --fn-serif: "New York","Iowan Old Style","Palatino",ui-serif,Georgia,serif;
  --fn-mono: "SF Mono","JetBrains Mono",ui-monospace,Menlo,monospace;
  --sb-w:260px; --nav-h:56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--t1); font-family: var(--fn-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html { overflow-x: clip; }
body { font-size: 15px; line-height: 1.5; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
img { max-width: 100%; display: block; }

h1,h2,h3,p,td,th,li,span,a,div { min-width: 0; }
h1,h2,h3,p,td,th { overflow-wrap: break-word; word-wrap: break-word; }

body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,.04) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
}

.main,.layout,.nav,.tabs-bar,.ann-bar,footer { max-width: 100vw; }
.card,.match-hero,.prose-card,.cta,.rec-track { max-width: 100%; min-width: 0; }
.card-bd,.card-hd { min-width: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--t1); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 13px; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ═══════════ ANNOUNCEMENT BAR ═══════════ */
.ann-bar { position: relative; z-index: 5; background: linear-gradient(90deg,#15803d 0%,#16a34a 100%); color: #fff; padding: 10px 48px 10px 20px; display: flex; justify-content: center; align-items: center; font-size: 13px; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.12); overflow: hidden; text-align: center; }
.ann-bar::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 50%, rgba(132,204,22,.35), transparent 45%); }
.ann-content { display: inline-flex; align-items: center; gap: 8px; position: relative; flex-wrap: wrap; justify-content: center; max-width: 100%; cursor: pointer; transition: opacity .15s; }
.ann-content:hover { opacity: .9; }
.ann-content strong { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(255,255,255,.6); }
.ann-content:hover strong { text-decoration-color: #fff; }
.ann-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.7); animation: pulse 2s infinite; }
.ann-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: 10px; transition: .15s; }
.ann-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.ann-bar.hidden { display: none; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }

/* ═══════════ NAV ═══════════ */
/* На десктопе nav скрыт — лого в сайдбаре, бургер не нужен. На мобилке показывается. */
.nav { display: none; position: sticky; top: 0; z-index: 50; background: rgba(250,249,245,.8); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--border-soft); height: var(--nav-h); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 100%; padding: 0 24px; max-width: 1600px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fn-display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--pos) 0%, #22c55e 50%, #16a34a 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; box-shadow: inset 0 -2px 3px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.1); }
.logo-img { display: block; height: 30px; width: auto; flex-shrink: 0; }
.ft-brand .logo-img { height: 32px; }
.nav-hamburger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; }
.nav-hamburger svg { width: 18px; height: 18px; }
.nav-hamburger:hover { background: var(--border-soft); }

/* ═══════════ TABS BAR ═══════════ */
.tabs-bar { position: sticky; top: 0; z-index: 45; margin-left: var(--sb-w); margin-right: 0; background: rgba(250,249,245,.8); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--border-soft); overflow-x: auto; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tabs-in { display: flex; gap: 2px; padding: 8px 24px; max-width: 1600px; margin: 0 auto; align-items: center; }
.stab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--t2); white-space: nowrap; transition: all .15s; }
.stab:hover { color: var(--t1); background: var(--surface-2); }
.stab.active { background: var(--t1); color: #fff; font-weight: 600; }
.stab svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ═══════════ LAYOUT + SIDEBAR ═══════════ */
.layout { display: grid; grid-template-columns: var(--sb-w) minmax(0, 1fr); min-height: calc(100vh - var(--nav-h)); }
/* fixed на десктопе — сайдбар остаётся виден всегда, даже в зоне футера.
   top сдвинут на nav (56) + tabs-bar (~48) чтобы не лезть под sticky tabs-bar */
.sidebar {
  position: fixed;
  top: 40px;
  bottom: 0;
  left: 0;
  width: var(--sb-w);
  border-right: 1px solid var(--border-soft);
  padding: 14px 16px 32px;
  overflow-y: auto;
  scrollbar-width: thin;
  background: var(--bg);
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.sb-spacer { flex: 1 0 16px; min-height: 16px; }
.sb-close { display: none; position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); color: var(--t1); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; z-index: 5; transition: background .15s; }
.sb-close:hover, .sb-close:active { background: var(--border-soft); }
.sb-close svg { width: 18px; height: 18px; }
.sb-foot { padding: 18px 10px 8px; border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.sb-foot-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--pos); text-transform: uppercase; letter-spacing: .06em; }
.sb-foot-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 8px rgba(21,128,61,.4); animation: pulse 2s infinite; }
.sb-foot-brand { font-size: 11px; color: var(--t3); font-variant-numeric: tabular-nums; }
.sb-foot-brand strong { color: var(--t2); font-weight: 700; }
.sb-brand { display: flex; align-items: center; justify-content: flex-start; padding: 4px 10px 18px; margin-bottom: 6px; border-bottom: 1px solid var(--border-soft); }
.sb-brand .logo-img { height: 30px; width: auto; max-width: 100%; }

/* Когда ann-bar закрыта (.hidden) — поднять контент к самому верху */
/* Tabs-bar и так sticky top: 0 — overrides на случай hidden ann-bar не нужны для верхней зоны.
   Сайдбар на десктопе управляется JS (см. main.php) — top бежит от 40 до 0 при скролле. */
.ann-bar.hidden ~ .layout .sidebar { top: 0; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.sb-section { margin-bottom: 22px; }
.sb-label { font-size: 10px; font-weight: 700; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; padding: 0 10px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.sb-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: var(--t1); font-weight: 500; transition: all .15s; cursor: pointer; position: relative; }
.sb-item:hover { background: var(--surface-2); }
.sb-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; border-radius: 0 3px 3px 0; background: var(--pos); transition: height .2s; }
.sb-item:hover::before { height: 60%; }
.sb-item.active { background: var(--t1); color: #fff; font-weight: 600; }
.sb-item.active::before { display: none; }
.sb-crest { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; background: var(--mono-3); color: var(--mono-4); flex-shrink: 0; }
.sb-item.active .sb-crest { background: rgba(255,255,255,.12); color: #fff; }
.sb-item .txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-acc-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: var(--t1); font-weight: 500; cursor: pointer; transition: .15s; user-select: none; }
.sb-acc-row:hover { background: var(--surface-2); }
.sb-acc-row .cnt { margin-left: auto; font-size: 10.5px; background: var(--t1); color: #fff; padding: 2px 7px; border-radius: 999px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sb-acc-row .chev { width: 14px; height: 14px; margin-left: 4px; color: var(--t3); transition: transform .2s; flex-shrink: 0; }
.sb-acc-row.open .chev { transform: rotate(180deg); color: var(--t1); }
.sb-acc-body { padding-left: 14px; margin-top: 2px; flex-direction: column; gap: 1px; display: none; }
.sb-acc-body.open { display: flex; }
.sb-acc-body a { font-size: 12.5px; color: var(--t2); padding: 5px 10px; border-radius: 6px; }
.sb-acc-body a:hover { background: var(--surface-2); color: var(--t1); }
.sidebar-backdrop { display: none; }

/* ═══════════ MAIN ═══════════ */
.main { grid-column: 2 / 3; padding: 32px 40px 60px; min-width: 0; }
@media (max-width: 980px) { .main { grid-column: 1 / -1; } }

/* ═══════════ HERO (home/category) ═══════════ */
.hero { margin-bottom: 32px; }
.hero h1 { font-family: var(--fn-display); font-weight: 700; font-size: clamp(30px,4.4vw,48px); line-height: 1.05; letter-spacing: -.03em; max-width: 840px; }

/* ═══════════ BREADCRUMB ═══════════ */
.bc { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--t3); margin-bottom: 18px; flex-wrap: wrap; }
.bc a { color: var(--t3); transition: color .15s; }
.bc a:hover { color: var(--t1); }
.bc-sep { color: var(--border); }
.bc .cur { color: var(--t1); font-weight: 500; }

/* ═══════════ LEAGUE CARD (home) ═══════════ */
.league-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--rl); box-shadow: var(--sh-1); margin-bottom: 16px; overflow: hidden; transition: box-shadow .2s; position: relative; }
.league-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--t1); opacity: 0; transition: opacity .2s; }
.league-card:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.league-card:hover::before { opacity: 1; }

.lc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 16px; }
.lc-brand { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.lc-crest { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--fn-display); font-size: 15px; font-weight: 800; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--mono-1) 0%, var(--mono-2) 100%); box-shadow: 0 2px 6px rgba(0,0,0,.08); letter-spacing: -.02em; }
.lc-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-title { font-family: var(--fn-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lc-country { font-size: 10.5px; color: var(--t3); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 5px; }
.lc-country .flag { font-size: 14px; line-height: 1; }
.lc-meta { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; flex-shrink: 0; }
.lc-pill { font-family: var(--fn-display); font-size: 16px; color: var(--t1); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.01em; }
.lc-pill-sub { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.lc-matches { padding: 0 26px; }
.mx-row { display: grid; grid-template-columns: 56px 64px 1fr auto 28px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border-soft); cursor: pointer; transition: .15s; position: relative; color: inherit; }
.mx-row:last-child { border-bottom: 0; }
.mx-row::after { content: ''; position: absolute; left: -26px; right: -26px; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(245,245,240,0) 0%, rgba(245,245,240,.6) 50%, rgba(245,245,240,0) 100%); opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 0; }
.mx-row:hover::after { opacity: 1; }
.mx-row > * { position: relative; z-index: 1; }
.mx-time { display: flex; flex-direction: column; }
.mx-time .day { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.mx-time .hour { font-family: var(--fn-mono); font-size: 13px; color: var(--t1); font-weight: 700; font-variant-numeric: tabular-nums; }
.mx-logos { display: flex; gap: 6px; position: relative; }
.mx-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--surface); color: var(--mono-4); display: flex; align-items: center; justify-content: center; font-family: var(--fn-display); font-size: 9.5px; font-weight: 800; letter-spacing: -.02em; border: 1px solid var(--border-soft); flex-shrink: 0; overflow: hidden; }
.mx-logo img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.mx-logo:not(:has(img)) { background: var(--mono-3); }
.mx-teams { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mx-team { font-size: 14px; font-weight: 600; color: var(--t1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.tip { font-size: 10.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; background: var(--pos-bg); color: var(--pos); }
.tip.hot { background: var(--t1); color: #fff; }
.tip.hot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #84cc16; box-shadow: 0 0 6px #84cc16; }
.mx-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; transition: .2s; }
.mx-row:hover .mx-arrow { background: var(--t1); color: #fff; transform: translateX(3px); }
.mx-arrow svg { width: 13px; height: 13px; }

.lc-foot { padding: 16px 26px 22px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; background: linear-gradient(180deg, transparent 0%, rgba(245,245,240,.3) 100%); }
.lc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--t1); font-weight: 600; transition: all .15s; }
.lc-more:hover { color: var(--pos); }
.lc-more svg { width: 13px; height: 13px; transition: transform .2s; }
.lc-more:hover svg { transform: translateX(3px); }
.lc-foot-note { font-size: 11px; color: var(--t3); font-family: var(--fn-mono); }

/* ═══════════ MATCH HERO (prediction page) ═══════════ */
.match-hero { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--rxl); box-shadow: var(--sh-1); padding: 32px 36px 28px; margin-bottom: 20px; position: relative; overflow: hidden; }
.match-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(21,128,61,.08), transparent 70%); pointer-events: none; }
.mh-league { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--t2); text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; background: var(--surface-2); border-radius: 999px; margin-bottom: 14px; }
.mh-league .flag { font-size: 13px; line-height: 1; }
.mh-league .sep { color: var(--t3); font-weight: 500; }
.mh-title { font-family: var(--fn-display); font-size: clamp(22px,3.2vw,34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 24px; overflow-wrap: break-word; hyphens: auto; }
.mh-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 20px; position: relative; }
.mh-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.mh-team.home { text-align: left; align-items: flex-start; }
.mh-team.away { text-align: right; align-items: flex-end; }
.mh-team .name { font-family: var(--fn-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
.mh-logo { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(135deg, var(--mono-1) 0%, var(--mono-2) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--fn-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; box-shadow: var(--sh-2); overflow: hidden; }
.mh-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.mh-team .form { display: flex; gap: 3px; }
.mh-team .form span { width: 16px; height: 16px; border-radius: 5px; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }
.mh-team .form .w { background: var(--pos); }
.mh-team .form .d { background: #ca8a04; }
.mh-team .form .l { background: var(--live); }
.mh-vs { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mh-vs-text { font-family: var(--fn-serif); font-style: italic; font-size: 32px; color: var(--t3); font-weight: 400; line-height: 1; }
.mh-time { font-family: var(--fn-mono); font-size: 14px; color: var(--t1); font-weight: 700; }
.mh-date { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.mh-venue { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-soft); display: flex; gap: 24px; font-size: 12px; color: var(--t2); flex-wrap: wrap; }
.mh-venue strong { color: var(--t1); font-weight: 600; }

/* Main prediction pick — внутри match-hero, на первом экране */
.mh-pick {
  margin-top: 22px; padding: 16px 18px;
  background: linear-gradient(135deg, var(--surface-2) 0%, rgba(21,128,61,.08) 100%);
  border: 1px solid var(--border-soft); border-radius: var(--rm);
  display: flex; gap: 14px; align-items: center;
  cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .3s;
  position: relative; overflow: hidden;
  animation: pickPulse 3.5s ease-in-out infinite;
}
.mh-pick::before { content: ''; position: absolute; top: 0; right: 0; width: 140px; height: 100%; background: radial-gradient(circle at 100% 0%, rgba(21,128,61,.18), transparent 70%); pointer-events: none; z-index: 0; }
/* Бегущий блик — мотивирует клик */
.mh-pick::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 50%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: pickShimmer 3.5s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
.mh-pick:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(21,128,61,.18); border-color: rgba(21,128,61,.35); animation-play-state: paused; }
.mh-pick:hover::after { animation-play-state: paused; }
.mh-pick > *:not(::before):not(::after) { position: relative; z-index: 2; }
.mh-pick-ic, .mh-pick-body, .mh-pick-odds { position: relative; z-index: 2; }

@keyframes pickPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0), 0 1px 2px rgba(10,10,10,.04); }
  50%      { box-shadow: 0 0 0 6px rgba(21,128,61,.10), 0 4px 18px rgba(21,128,61,.18); }
}
@keyframes pickShimmer {
  0%        { left: -60%; }
  60%, 100% { left: 130%; }
}
.mh-pick-ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--pos), #22c55e); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3px 10px rgba(21,128,61,.25); }
.mh-pick-ic svg { width: 18px; height: 18px; }
.mh-pick-body { flex: 1; min-width: 0; }
.mh-pick-tag { font-size: 10px; color: var(--pos); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 3px; }
.mh-pick-val { font-family: var(--fn-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--t1); overflow-wrap: break-word; }
.mh-pick-conf { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.mh-pick-conf-bar { display: block; flex: 1 1 90px; max-width: 220px; height: 6px; background: rgba(10,10,10,.10); border-radius: 999px; overflow: hidden; position: relative; z-index: 3; }
.mh-pick-conf-fill { display: block; height: 100%; background-color: #15803d; background-image: linear-gradient(90deg, #15803d 0%, #22c55e 60%, #84cc16 100%); border-radius: 999px; transition: width .4s ease; box-shadow: 0 0 8px rgba(21,128,61,.5), inset 0 0 4px rgba(255,255,255,.25); position: relative; overflow: hidden; }
.mh-pick-conf-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%); border-radius: 999px; animation: confFillShine 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes confFillShine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.mh-pick-conf-text { font-family: var(--fn-mono); font-size: 11px; color: var(--t2); font-weight: 600; }
.mh-pick-odds { flex-shrink: 0; text-align: center; padding: 8px 14px; background: var(--t1); color: #fff; border-radius: var(--r); min-width: 72px; }
.mh-pick-odds-num { font-family: var(--fn-display); font-size: 18px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mh-pick-odds-lbl { font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-top: 3px; font-weight: 600; }

@media (max-width: 560px) {
  .mh-pick { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .mh-pick-ic { width: 36px; height: 36px; border-radius: 10px; }
  .mh-pick-val { font-size: 15px; }
  .mh-pick-odds { padding: 7px 10px; min-width: 60px; }
  .mh-pick-odds-num { font-size: 15px; }
  .mh-pick-conf-bar { flex: 1; }
}

/* ═══════════ GENERIC CARD ═══════════ */
.card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--rl); box-shadow: var(--sh-1); margin-bottom: 16px; overflow: hidden; }
.card-hd { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 16px; gap: 16px; }
.card-hd h2 { font-family: var(--fn-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.card-pill { font-size: 11px; color: var(--t2); background: var(--surface-2); padding: 5px 12px; border-radius: 999px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.card-bd { padding: 0 26px 24px; }

/* ═══════════ WIN PROBABILITY ═══════════ */
.wp-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.wp { padding: 18px 14px; border-radius: var(--rm); background: var(--surface-2); text-align: center; position: relative; overflow: hidden; }
.wp::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--t3); }
.wp.home::before { background: var(--pos); }
.wp.away::before { background: var(--t2); }
.wp.hi { background: var(--pos-bg); }
.wp.hi::before { height: 5px; background: var(--pos); }
.wp-lbl { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 6px; }
.wp.hi .wp-lbl { color: var(--pos); }
.wp-val { font-family: var(--fn-display); font-size: 32px; font-weight: 700; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.wp-team { font-size: 11px; color: var(--t2); margin-top: 4px; font-weight: 500; }

/* ═══════════ FORM COMPARISON ═══════════ */
.fc-teams { display: flex; gap: 18px; margin-bottom: 14px; font-size: 12px; flex-wrap: wrap; }
.fc-t { display: inline-flex; align-items: center; gap: 6px; color: var(--t2); }
.fc-t .dot { width: 8px; height: 8px; border-radius: 50%; }
.fc-t.home .dot { background: var(--pos); }
.fc-t.away .dot { background: var(--t1); }
.fc-t strong { color: var(--t1); font-weight: 600; }
.fc-row { display: grid; grid-template-columns: 46px 1fr 70px 1fr 46px; gap: 10px; align-items: center; padding: 9px 0; }
.fc-row + .fc-row { border-top: 1px solid var(--border-soft); }
.fc-pct { font-family: var(--fn-mono); font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }
.fc-pct.home { text-align: left; color: var(--pos); }
.fc-pct.away { text-align: right; color: var(--t1); }
.fc-lbl { text-align: center; font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fc-bar-wrap { position: relative; height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.fc-bar-home { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pos); border-radius: 0 2px 2px 0; }
.fc-bar-away { position: absolute; right: 0; top: 0; bottom: 0; background: var(--t1); border-radius: 2px 0 0 2px; }
.fc-row.total { padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--border) !important; }
.fc-row.total .fc-pct { font-size: 15px; font-weight: 700; }
.fc-row.total .fc-lbl { color: var(--t1); font-weight: 700; }

/* ═══════════ H2H ═══════════ */
.h2h-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.h2h-row:last-child { border-bottom: 0; }
.h2h-date { font-size: 11px; color: var(--t3); font-family: var(--fn-mono); font-variant-numeric: tabular-nums; }
.h2h-match { font-size: 13.5px; font-weight: 500; }
.h2h-match .vs { color: var(--t3); font-weight: 400; }
.h2h-score { font-family: var(--fn-mono); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); font-variant-numeric: tabular-nums; }

/* ═══════════ LAST MATCHES ═══════════ */
.lm-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lm-col { min-width: 0; }
.lm-col h3 { font-size: 12px; color: var(--t2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.lm-col h3 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); }
.lm-col.away h3 .dot { background: var(--t1); }
.lm-row { display: grid; grid-template-columns: 60px 1fr 40px 24px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.lm-row:last-child { border-bottom: 0; }
.lm-date { font-size: 10px; color: var(--t3); font-family: var(--fn-mono); }
.lm-opp { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-opp .venue { color: var(--t3); font-size: 10px; font-weight: 600; margin-right: 4px; }
.lm-score { font-family: var(--fn-mono); font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.lm-res { width: 22px; height: 22px; border-radius: 5px; font-size: 10px; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; }
.lm-res.w { background: var(--pos); }
.lm-res.d { background: var(--t3); }
.lm-res.l { background: var(--live); }

/* ═══════════ INJURIES ═══════════ */
.inj-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inj-col h3 { font-size: 12px; color: var(--t2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.inj-col h3 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); }
.inj-col.away h3 .dot { background: var(--t1); }
.inj-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; border-bottom: 1px solid var(--border-soft); }
.inj-row:last-child { border-bottom: 0; }
.inj-ic { width: 22px; height: 22px; border-radius: 6px; background: var(--live-bg); color: var(--live); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.inj-ic.susp { background: #fef3c7; color: #b45309; }

/* ═══════════ PROSE ═══════════ */
.prose-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--rl); box-shadow: var(--sh-1); padding: 36px 40px; margin: 24px 0 16px; }
.prose-card h2 { font-family: var(--fn-display); font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 28px 0 12px; padding-left: 16px; position: relative; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--pos); border-radius: 2px; }
.prose-card h3 { font-family: var(--fn-display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin: 24px 0 10px; color: var(--t1); }
.prose-card p { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 14px; }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card ul, .prose-card ol { margin: 12px 0; padding-left: 20px; color: var(--t2); font-size: 15px; line-height: 1.75; }

/* ═══════════ PREDICTION TIPS ═══════════ */
.pt-hero { background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%); border: 1px solid var(--border-soft); border-radius: var(--rl); padding: 22px; display: flex; gap: 18px; align-items: center; margin-bottom: 16px; position: relative; overflow: hidden; cursor: pointer; transition: transform .2s, border-color .3s; animation: pickPulse 3.5s ease-in-out infinite; }
.pt-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 140px; height: 140px; background: radial-gradient(circle, rgba(21,128,61,.12), transparent 70%); pointer-events: none; z-index: 0; }
.pt-hero::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 50%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: pickShimmer 3.5s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
.pt-hero:hover { transform: translateY(-1px); border-color: rgba(21,128,61,.35); animation-play-state: paused; }
.pt-hero:hover::after { animation-play-state: paused; }
.pt-hero > .pt-ic, .pt-hero > .pt-body, .pt-hero > .pt-conf { position: relative; z-index: 2; }
.pt-ic { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--pos) 0%, #22c55e 100%); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(21,128,61,.25); }
.pt-ic svg { width: 22px; height: 22px; }
.pt-body { flex: 1; min-width: 0; }
.pt-label { font-size: 17px; font-weight: 700; color: var(--t1); margin-bottom: 4px; letter-spacing: -.01em; }
.pt-desc { font-size: 13px; color: var(--t2); line-height: 1.5; }
.pt-conf { text-align: center; flex-shrink: 0; padding: 10px 18px; background: var(--t1); color: #fff; border-radius: var(--rm); min-width: 86px; }
.pt-conf-v { font-family: var(--fn-display); font-size: 24px; font-weight: 800; line-height: 1; }
.pt-conf-l { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-top: 4px; font-weight: 600; }
.pt-add-list { display: flex; flex-direction: column; gap: 10px; }
.pt-add { display: grid; grid-template-columns: 1fr 100px 60px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.pt-add:last-child { border-bottom: 0; }
.pt-add-lbl { font-size: 13px; font-weight: 600; }
.pt-add-bar { position: relative; height: 5px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.pt-add-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pos); border-radius: 999px; }
.pt-add-pct { font-family: var(--fn-mono); font-size: 12px; color: var(--t2); text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ═══════════ BOOKMAKERS ═══════════ */
.bk-row { display: grid; grid-template-columns: 1fr 60px 60px 60px 80px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-soft); cursor: pointer; transition: background .15s; }
.bk-row:last-child { border-bottom: 0; }
.bk-row:hover { background: var(--surface-2); }
.bk-row.hd { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding-bottom: 8px; cursor: default; }
.bk-row.hd:hover { background: transparent; }
.bk-row.bk-best { background: linear-gradient(90deg, rgba(21,128,61,.08) 0%, rgba(21,128,61,.02) 100%); margin: 0 -12px 0; padding-left: 12px; padding-right: 12px; border-radius: 10px; border-bottom: 1px solid var(--border-soft); }
.bk-row.bk-best:hover, .bk-row.bk-best:active { background: linear-gradient(90deg, rgba(21,128,61,.14) 0%, rgba(21,128,61,.04) 100%); }
.bk-row.bk-best .bk-val { background: rgba(21,128,61,.12); color: var(--pos); font-weight: 700; }
.bk-best-tag { display: inline-flex; align-items: center; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--pos); padding: 3px 8px; border-radius: 999px; margin-left: 8px; text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; }
.bk-name { font-size: 13.5px; font-weight: 600; }
.bk-val { font-family: var(--fn-mono); font-size: 13px; color: var(--t1); font-weight: 600; text-align: center; padding: 6px 10px; background: var(--surface-2); border-radius: 8px; font-variant-numeric: tabular-nums; }
.bk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; background: var(--t1); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: -.01em; }

/* ═══════════ STANDINGS ═══════════ */
.st-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-table th { padding: 10px 6px; font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; text-align: center; border-bottom: 1px solid var(--border); }
.st-table th:nth-child(2) { text-align: left; }
.st-table td { padding: 9px 6px; border-bottom: 1px solid var(--border-soft); text-align: center; font-variant-numeric: tabular-nums; }
.st-table td:nth-child(2) { text-align: left; font-weight: 500; }
.st-table tr:last-child td { border-bottom: 0; }
.st-table tr.hi td { background: var(--pos-bg); }
.st-pos { display: inline-flex; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--t1); }
.st-table tr.hi .st-pos { background: var(--pos); color: #fff; }
.st-table .pts { font-weight: 700; color: var(--t1); }
.st-scroll { overflow-x: auto; }

/* ═══════════ RECOMMENDED CAROUSEL ═══════════ */
.rec-wrap { position: relative; margin: 36px 0 16px; }
.rec-hdr { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rec-hdr-t { font-family: var(--fn-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.rec-hdr-line { flex: 1; height: 1px; background: var(--border-soft); }
.rec-nav { display: flex; gap: 6px; flex-shrink: 0; }
.rec-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--t1); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; padding: 0; }
.rec-btn:hover { background: var(--t1); color: #fff; border-color: var(--t1); transform: scale(1.04); }
.rec-btn:disabled { opacity: .3; cursor: default; transform: none; background: var(--surface-2); color: var(--t3); border-color: var(--border-soft); }
.rec-btn:disabled:hover { background: var(--surface-2); color: var(--t3); transform: none; }
.rec-btn svg { width: 14px; height: 14px; }

.rec-track-wrap { position: relative; }
.rec-track-wrap::before,
.rec-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 8px; width: 32px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .2s; }
.rec-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.rec-track-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.rec-track-wrap.scroll-start::after { opacity: 1; }
.rec-track-wrap.scroll-mid::before,
.rec-track-wrap.scroll-mid::after  { opacity: 1; }
.rec-track-wrap.scroll-end::before { opacity: 1; }

.rec-track { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.rec-track::-webkit-scrollbar { display: none; }
.rec { flex: 0 0 240px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--rm); padding: 16px; transition: .2s; color: inherit; }
.rec:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.rec-lg { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 10px; }
.rec-teams { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.rec-team { display: flex; align-items: center; gap: 8px; }
.rec-logo { width: 24px; height: 24px; border-radius: 6px; background: var(--mono-3); color: var(--mono-4); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; overflow: hidden; flex-shrink: 0; }
.rec-logo img { width: 100%; height: 100%; object-fit: contain; }
.rec-tn { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-time { font-size: 11px; color: var(--t3); font-family: var(--fn-mono); }

/* ═══════════ CTA ═══════════ */
.cta { background: #0a0a0a; color: #fff; border-radius: var(--rxl); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(21,128,61,.25), transparent 55%); }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: var(--fn-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; }
.cta-sub { font-size: 14px; opacity: .7; max-width: 420px; line-height: 1.55; }
.cta-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; background: #fff; color: var(--t1); font-size: 14px; font-weight: 600; border-radius: 999px; white-space: nowrap; transition: transform .2s; cursor: pointer; }
.cta-btn:hover { transform: translateY(-1px); }
.cta-btn svg { width: 14px; height: 14px; }

/* ═══════════ FAQ ═══════════ */
.faq-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--rl); box-shadow: var(--sh-1); overflow: hidden; margin-bottom: 20px; }
.faq-card .card-hd { padding: 22px 26px 10px; }
.faq-item { border-top: 1px solid var(--border-soft); }
.faq-q { width: 100%; text-align: left; border: 0; background: none; font-family: inherit; display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; cursor: pointer; transition: background .15s; font-size: 15px; font-weight: 500; color: var(--t1); gap: 16px; }
.faq-q:hover { background: var(--surface-2); }
.faq-q .chev { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; transition: transform .3s, background .2s; font-size: 12px; color: var(--t2); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--t1); color: #fff; }
.faq-a { padding: 0 26px 18px; font-size: 14px; color: var(--t2); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; animation: slideDown .25s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════ FOOTER ═══════════ */
footer { margin-top: 60px; border-top: 1px solid var(--border-soft); padding: 48px 0 32px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 140px; height: 3px; background: linear-gradient(90deg, transparent, var(--pos), transparent); border-radius: 2px; }
.ft-wrap { margin-left: var(--sb-w); margin-right: 0; padding: 0 40px; }
@media (max-width: 980px) { .ft-wrap { max-width: 100%; margin-left: 0; margin-right: 0; padding: 0 24px; } }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.ft-brand { display: flex; align-items: center; gap: 10px; font-family: var(--fn-display); font-weight: 700; font-size: 20px; margin-bottom: 12px; letter-spacing: -.02em; }
.ft-tag { font-size: 13px; color: var(--t2); max-width: 280px; line-height: 1.6; }
.ft-col .ft-h5 { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 16px; }
.ft-col a { display: block; font-size: 13px; color: var(--t2); padding: 5px 0; transition: .15s; }
.ft-col a:hover { color: var(--t1); }
.ft-bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border-soft); font-size: 12px; color: var(--t3); flex-wrap: wrap; gap: 12px; }

/* ═══════════ FLOATING CTA ═══════════ */
.fcta { position: fixed; bottom: 20px; right: 20px; z-index: 40; width: 300px; background: #0a0a0a; color: #fff; border-radius: 20px; padding: 20px 22px 18px; box-shadow: 0 8px 24px rgba(10,10,10,.18); border: 1px solid rgba(255,255,255,.06); overflow: hidden; animation: fctaIn .55s cubic-bezier(.32,.72,0,1) both; animation-delay: 1s; }
.fcta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, rgba(21,128,61,.28), transparent 58%); }
.fcta > * { position: relative; z-index: 1; }
.fcta-ey { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: #84cc16; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.fcta-ey .dot { width: 5px; height: 5px; border-radius: 50%; background: #84cc16; box-shadow: 0 0 6px #84cc16; animation: pulse 2s infinite; }
.fcta-title { font-family: var(--fn-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 4px; }
.fcta-sub { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.5; margin-bottom: 14px; }
.fcta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: #fff; color: #0a0a0a; border-radius: 999px; font-size: 12.5px; font-weight: 700; transition: transform .2s; }
.fcta-btn:hover { transform: translateY(-1px); }
.fcta-btn svg { width: 12px; height: 12px; }
.fcta-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: .15s; }
.fcta-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.fcta.hidden { display: none; }
@keyframes fctaIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */

@media (max-width: 1280px) { .main { padding: 28px 32px 56px; max-width: 100%; } }
@media (max-width: 1100px) { .main { padding: 24px 28px 52px; } .mh-logo { width: 72px; height: 72px; font-size: 22px; } .mh-team .name { font-size: 19px; } }

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .nav { display: block; top: 40px; }
  .nav-hamburger { display: inline-flex; }
  .tabs-bar { top: calc(40px + var(--nav-h)); max-width: 100%; margin-left: 0; margin-right: 0; -webkit-overflow-scrolling: touch; }
  .sidebar { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; max-width: none; padding: 20px 18px 24px; z-index: 100; border-right: 0; box-shadow: none; transform: translateX(-100%); transition: transform .28s cubic-bezier(.32,.72,0,1); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop { display: none; }
  .sb-close { display: inline-flex; }
  .sb-brand { padding-right: 50px; }
  /* Ann-bar overrides на мобилке игнорируем — drawer всегда полноэкранный */
  .ann-bar.hidden ~ .nav { top: 0; }
  .ann-bar.hidden ~ .tabs-bar { top: var(--nav-h); }
  body.no-scroll { overflow: hidden; position: fixed; width: 100%; height: 100%; }
  html.no-scroll { overflow: hidden; }
}

@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } .ft-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 820px) { .lm-dual { gap: 16px; } .inj-dual { gap: 16px; } }

@media (max-width: 720px) {
  .main { padding: 20px 16px 44px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .tabs-in { padding: 6px 12px; gap: 1px; }
  .stab { padding: 6px 10px; font-size: 12px; gap: 5px; }
  .stab svg { width: 12px; height: 12px; }
  .ft-wrap { padding: 0 16px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
  .bc { font-size: 12px; margin-bottom: 14px; }

  .hero { margin-bottom: 28px; }
  .hero h1 { font-size: clamp(28px, 7.5vw, 40px); }

  .league-card { margin-bottom: 14px; border-radius: 20px; }
  .lc-head { padding: 18px 20px 12px; gap: 12px; }
  .lc-crest { width: 38px; height: 38px; font-size: 12px; border-radius: 10px; }
  .lc-title { font-size: 17px; }
  .lc-matches { padding: 0 20px; }
  .lc-foot { padding: 14px 20px 18px; }
  .mx-row { grid-template-columns: 50px 50px 1fr auto 26px; gap: 10px; }
  .mx-logo { width: 24px; height: 24px; font-size: 9px; border-radius: 6px; }
  .mx-row:hover { margin: 0 -20px; padding: 14px 20px; }
  .mx-team { font-size: 13.5px; }
  .mx-time .hour { font-size: 12.5px; }
  .tip { font-size: 10px; padding: 4px 9px; }

  .match-hero { padding: 22px 20px 20px; border-radius: 22px; margin-bottom: 14px; }
  .mh-title { font-size: 22px; margin-bottom: 18px; }
  .mh-teams { gap: 14px; }
  .mh-logo { width: 56px; height: 56px; font-size: 17px; border-radius: 14px; }
  .mh-team .name { font-size: 15px; line-height: 1.2; }
  .mh-team .form span { width: 13px; height: 13px; font-size: 8px; border-radius: 4px; }
  .mh-vs-text { font-size: 22px; }
  .mh-time { font-size: 13px; }
  .mh-date { font-size: 10px; }
  .mh-venue { gap: 14px; font-size: 11px; margin-top: 18px; padding-top: 14px; }

  .card { border-radius: 20px; margin-bottom: 14px; }
  .card-hd { padding: 18px 20px 12px; gap: 12px; }
  .card-hd h2 { font-size: 17px; }
  .card-pill { font-size: 10px; padding: 4px 10px; }
  .card-bd { padding: 0 20px 20px; }

  .wp-grid { gap: 8px; }
  .wp { padding: 14px 10px; border-radius: var(--r); }
  .wp-val { font-size: 24px; }

  .fc-row { grid-template-columns: 38px 1fr 54px 1fr 38px; gap: 6px; padding: 8px 0; }
  .fc-pct { font-size: 11.5px; }
  .fc-lbl { font-size: 10px; }
  .fc-bar-wrap { height: 5px; }

  .h2h-row { grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 0; }
  .h2h-date { font-size: 10.5px; }
  .h2h-match { font-size: 12.5px; }

  .lm-dual { grid-template-columns: 1fr; gap: 22px; }
  .inj-dual { grid-template-columns: 1fr; gap: 18px; }

  .prose-card { padding: 28px 22px; border-radius: 20px; }
  .prose-card h2 { font-size: 21px; margin: 24px 0 12px; padding-left: 14px; }
  .prose-card h2::before { width: 3px; }
  .prose-card h3 { font-size: 16px; margin: 20px 0 8px; }
  .prose-card p { font-size: 14.5px; line-height: 1.65; margin-bottom: 12px; }

  .pt-hero { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .pt-ic { width: 46px; height: 46px; border-radius: 14px; }
  .pt-label { font-size: 15px; }
  .pt-desc { font-size: 12.5px; }
  .pt-conf { margin-left: auto; padding: 8px 14px; min-width: 72px; }
  .pt-conf-v { font-size: 20px; }
  .pt-add { grid-template-columns: 1fr 84px 50px; gap: 10px; padding: 10px 0; }

  .bk-row { grid-template-columns: 1fr 46px 46px 46px; gap: 8px; font-size: 12px; padding: 11px 0; }
  .bk-name { font-size: 12.5px; }
  .bk-val { font-size: 11.5px; padding: 5px 4px; }
  .bk-btn { display: none; }

  .st-table th:nth-child(4), .st-table td:nth-child(4),
  .st-table th:nth-child(5), .st-table td:nth-child(5),
  .st-table th:nth-child(6), .st-table td:nth-child(6) { display: none; }
  .st-table th, .st-table td { padding: 8px 4px; font-size: 12.5px; }

  .rec-wrap { margin: 28px 0 14px; }
  .rec-hdr { margin-bottom: 14px; }
  .rec-hdr-t { font-size: 17px; }
  .rec-btn { width: 32px; height: 32px; }
  .rec { flex: 0 0 200px; padding: 14px; }

  .cta { padding: 26px 22px; border-radius: 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-title { font-size: 21px; }
  .cta-sub { font-size: 13px; }
  .cta-btn { padding: 12px 20px; font-size: 13px; }

  .faq-card { border-radius: 20px; }
  .faq-card .card-hd { padding: 22px 20px 10px; }
  .faq-q { padding: 16px 20px; font-size: 14px; gap: 12px; }
  .faq-a { padding: 0 20px 16px; font-size: 13.5px; }

  footer { padding: 40px 0 28px; margin-top: 40px; }
  .ann-bar { font-size: 12px; padding: 9px 44px 9px 14px; }
}

@media (max-width: 560px) {
  .main { padding: 16px 14px 36px; }

  .match-hero { padding: 20px 18px 18px; border-radius: 20px; }
  .mh-league { font-size: 10px; margin-bottom: 10px; }
  .mh-title { font-size: 18px; line-height: 1.15; margin-bottom: 16px; }
  .mh-teams { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .mh-logo { width: 46px; height: 46px; font-size: 14px; border-radius: 12px; }
  .mh-team { gap: 8px; }
  .mh-team .name { font-size: 12.5px; line-height: 1.15; }
  .mh-team .form { gap: 2px; }
  .mh-team .form span { width: 11px; height: 11px; font-size: 7px; border-radius: 3px; }
  .mh-vs-text { font-size: 18px; }
  .mh-time { font-size: 12px; }
  .mh-date { font-size: 9px; }
  .mh-venue { flex-direction: column; gap: 6px; font-size: 11px; padding-top: 12px; margin-top: 14px; }

  .card-hd { padding: 16px 18px 10px; }
  .card-hd h2 { font-size: 16px; }
  .card-bd { padding: 0 18px 18px; }

  .lc-head { padding: 14px 16px 10px; gap: 10px; }
  .lc-crest { width: 34px; height: 34px; font-size: 11px; border-radius: 9px; }
  .lc-title { font-size: 15px; }
  .lc-country { font-size: 9.5px; }
  .lc-pill { font-size: 14px; }
  .lc-pill-sub { font-size: 9px; }
  .lc-matches { padding: 0 16px; }
  .lc-foot { padding: 12px 16px 14px; }
  .mx-row {
    grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "logos teams arrow" "logos meta tip";
    gap: 2px 10px;
    padding: 12px 0;
    align-items: center;
  }
  .mx-row:hover { margin: 0 -16px; padding: 12px 16px; }
  .mx-logos { grid-area: logos; gap: 4px; align-self: center; }
  .mx-logo { width: 26px; height: 26px; font-size: 8.5px; border-radius: 7px; }
  .mx-teams { grid-area: teams; align-self: end; }
  .mx-team { font-size: 13px; line-height: 1.2; }
  .mx-arrow { grid-area: arrow; width: 24px; height: 24px; align-self: end; justify-self: end; }
  .mx-time { grid-area: meta; flex-direction: row; align-items: baseline; gap: 6px; align-self: start; }
  .mx-time .day { font-size: 9.5px; }
  .mx-time .hour { font-size: 11px; }
  .tip { grid-area: tip; font-size: 9px; padding: 3px 8px; justify-self: end; align-self: start; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: inline-block; white-space: nowrap; }

  .wp { padding: 12px 6px; }
  .wp-val { font-size: 22px; }

  .fc-row { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); grid-template-areas: "lhome lbl rhome" "bhome bhome baway"; column-gap: 8px; row-gap: 4px; padding: 10px 0; }
  .fc-row .fc-pct.home { grid-area: lhome; text-align: left; }
  .fc-row .fc-lbl { grid-area: lbl; font-size: 10px; min-width: 60px; text-align: center; }
  .fc-row .fc-pct.away { grid-area: rhome; text-align: right; }
  .fc-row .fc-bar-wrap:first-of-type { grid-area: bhome; }
  .fc-row .fc-bar-wrap:last-of-type { grid-area: baway; }

  .h2h-row { grid-template-columns: 1fr auto; gap: 6px; padding: 10px 0; }
  .h2h-date { grid-column: 1 / -1; font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 2px; }

  .lm-row { grid-template-columns: 44px 1fr 36px 20px; gap: 8px; padding: 8px 0; }
  .lm-date { font-size: 9.5px; }
  .lm-opp { font-size: 12px; }
  .lm-score { font-size: 11px; }
  .lm-res { width: 20px; height: 20px; font-size: 9px; }
  .inj-row { padding: 6px 0; font-size: 12.5px; }

  .prose-card { padding: 22px 18px; border-radius: 18px; }
  .prose-card h2 { font-size: 18px; padding-left: 12px; margin: 20px 0 10px; }
  .prose-card p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; }

  .pt-hero { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .pt-ic { width: 40px; height: 40px; }
  .pt-conf { margin-left: 0; align-self: stretch; display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 10px; border-radius: 12px; }
  .pt-conf-v { font-size: 18px; }
  .pt-conf-l { margin-top: 0; }
  .pt-add { grid-template-columns: 1fr 60px; grid-template-areas: "lbl pct" "bar bar"; gap: 4px 10px; padding: 10px 0; }
  .pt-add-lbl { grid-area: lbl; }
  .pt-add-pct { grid-area: pct; text-align: right; }
  .pt-add-bar { grid-area: bar; height: 4px; }

  .bk-row { grid-template-columns: 1fr 38px 38px 38px; gap: 6px; padding: 11px 0; }
  .bk-row.hd { font-size: 9.5px; }
  .bk-name { font-size: 12.5px; }
  .bk-val { font-size: 11px; padding: 4px 2px; }

  .st-table th:nth-child(3), .st-table td:nth-child(3),
  .st-table th:nth-child(4), .st-table td:nth-child(4),
  .st-table th:nth-child(5), .st-table td:nth-child(5),
  .st-table th:nth-child(6), .st-table td:nth-child(6) { display: none; }
  .st-table th, .st-table td { padding: 7px 4px; font-size: 12px; }
  .st-pos { width: 20px; height: 20px; font-size: 10px; }

  .rec { flex: 0 0 180px; padding: 12px; border-radius: 14px; }
  .rec-tn { font-size: 12.5px; }

  .cta { padding: 22px 20px; border-radius: 18px; }
  .cta-title { font-size: 19px; }
  .cta-btn { padding: 11px 18px; font-size: 12.5px; }

  .fcta { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 14px 16px; border-radius: 16px; }
  .fcta-title { font-size: 14px; }
  .fcta-sub { font-size: 11.5px; margin-bottom: 10px; }
  .fcta-btn { padding: 8px 14px; font-size: 12px; }

  .ft-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  footer { padding: 32px 0 24px; }
}

@media (max-width: 420px) {
  /* Main без бокового паддинга — карточки идут full-bleed до краёв viewport */
  .main { padding: 10px 0 24px; }
  .bc { font-size: 11px; margin: 0 12px 10px; }

  /* Cards/match-hero/prose/league — full-bleed, без бокового бордера/радиуса */
  .match-hero, .card, .prose-card, .faq-card, .cta, .league-card { border-radius: 0; border-left: 0; border-right: 0; margin-bottom: 8px; }
  .hero { padding: 0 14px; margin-bottom: 14px; }
  .rec-wrap { padding-left: 14px; padding-right: 14px; }

  /* mh-teams: вертикальный стек (home / vs / away) — гарантированно помещается на мобиле */
  .mh-teams { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .mh-team { flex-direction: row; align-items: center; text-align: left; gap: 12px; min-width: 0; width: 100%; }
  .mh-team.home, .mh-team.away { align-items: center; text-align: left; }
  .mh-team .name { font-size: 14px; flex: 1; min-width: 0; }
  .mh-team .form { margin-left: auto; flex-shrink: 0; }
  .mh-vs { flex-direction: row; gap: 10px; padding: 6px 0; align-items: baseline; justify-content: center; border-top: 1px dashed var(--border-soft); border-bottom: 1px dashed var(--border-soft); }
  .mh-vs-text { font-size: 16px; }

  /* wp-grid: 3 узких колонки (home/draw/away) */
  .wp-grid { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
  .wp { padding: 10px 4px; border-radius: 10px; }
  .wp-val { font-size: 17px; }
  .wp-lbl { font-size: 8.5px; margin-bottom: 3px; }
  .wp-team { font-size: 9.5px; }

  /* h2h-row: 2-rows как было, без 78px фикс-колонки */
  .h2h-row { grid-template-columns: 1fr auto; gap: 4px 8px; padding: 9px 0; }
  .h2h-date { grid-column: 1 / -1; font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 2px; }
  .h2h-match { font-size: 12px; }
  .h2h-score { font-size: 11px; padding: 3px 7px; }

  .tabs-in { padding: 6px 10px; gap: 0; }
  .stab { padding: 6px 9px; font-size: 11.5px; gap: 0; }
  .stab svg { display: none; }
  .logo { font-size: 15px; }
  .logo-mark { width: 28px; height: 28px; font-size: 13px; }
  .logo-img { height: 26px; }
  .ft-brand .logo-img { height: 28px; }

  .hero { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(22px, 7vw, 28px); }

  .lc-head { padding: 12px 14px 8px; gap: 8px; }
  .lc-crest { width: 30px; height: 30px; font-size: 10px; border-radius: 8px; }
  .lc-title { font-size: 14px; }
  .lc-matches { padding: 0 14px; }
  .lc-foot { padding: 10px 14px 12px; }
  .mx-logo { width: 22px; height: 22px; font-size: 8px; border-radius: 6px; }
  .mx-team { font-size: 12.5px; }
  .tip { font-size: 8.5px; padding: 3px 7px; }

  /* === Match hero === */
  .match-hero { padding: 16px 14px 14px; border-radius: 16px; margin-bottom: 12px; }
  .mh-league { font-size: 9px; padding: 4px 9px; margin-bottom: 10px; }
  .mh-title { font-size: 17px; line-height: 1.18; margin-bottom: 14px; }
  .mh-teams { gap: 8px; }
  .mh-logo { width: 40px; height: 40px; font-size: 12px; border-radius: 10px; }
  .mh-team { gap: 6px; }
  .mh-team .name { font-size: 11px; line-height: 1.15; }
  .mh-team .form span { width: 10px; height: 10px; font-size: 6.5px; border-radius: 3px; }
  .mh-vs-text { font-size: 16px; }
  .mh-time { font-size: 11px; }
  .mh-date { font-size: 9px; }
  .mh-venue { font-size: 10.5px; gap: 6px; padding-top: 10px; margin-top: 12px; }
  .mh-pick { padding: 12px; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
  .mh-pick-ic { width: 32px; height: 32px; border-radius: 9px; }
  .mh-pick-ic svg { width: 14px; height: 14px; }
  .mh-pick-tag { font-size: 9px; }
  .mh-pick-val { font-size: 13.5px; }
  .mh-pick-conf-bar { flex: 1; }
  .mh-pick-conf-text { font-size: 10px; }
  .mh-pick-odds { padding: 6px 9px; min-width: 50px; }
  .mh-pick-odds-num { font-size: 13px; }

  /* === Cards === */
  .card { border-radius: 16px; margin-bottom: 12px; }
  .card-hd { padding: 14px 14px 8px; gap: 8px; }
  .card-hd h2 { font-size: 15px; }
  .card-pill { font-size: 9.5px; padding: 3px 8px; }
  .card-bd { padding: 0 14px 14px; }

  /* === Win Probability === */
  .wp-grid { gap: 6px; }
  .wp { padding: 10px 4px; border-radius: 10px; }
  .wp-val { font-size: 19px; }
  .wp-lbl { font-size: 9px; margin-bottom: 4px; }
  .wp-team { font-size: 10px; }

  /* === Head-to-Head === */
  .h2h-row { padding: 8px 0; }
  .h2h-match { font-size: 12px; }
  .h2h-score { font-size: 10.5px; padding: 3px 7px; }

  /* === Last matches === */
  .lm-row { grid-template-columns: 40px 1fr 32px 18px; gap: 6px; padding: 7px 0; }
  .lm-date { font-size: 9px; }
  .lm-opp { font-size: 11.5px; }
  .lm-score { font-size: 10.5px; }
  .lm-res { width: 18px; height: 18px; font-size: 8.5px; border-radius: 4px; }
  .lm-col h3 { font-size: 11px; margin-bottom: 8px; }

  /* === Prediction tips === */
  .pt-hero { padding: 14px; gap: 10px; }
  .pt-ic { width: 36px; height: 36px; border-radius: 10px; }
  .pt-ic svg { width: 18px; height: 18px; }
  .pt-label { font-size: 14px; }
  .pt-desc { font-size: 12px; }
  .pt-conf { padding: 8px; min-width: 0; }
  .pt-conf-v { font-size: 16px; }
  .pt-conf-l { font-size: 8.5px; }
  .pt-add { padding: 9px 0; gap: 3px 8px; }
  .pt-add-lbl { font-size: 12px; }
  .pt-add-pct { font-size: 10.5px; }

  /* === Bookmaker odds === */
  .bk-row { grid-template-columns: 1fr 34px 34px 34px; gap: 5px; padding: 9px 0; }
  .bk-val { font-size: 10.5px; padding: 3px 2px; }
  .bk-row.hd { display: none; }
  .bk-name { font-size: 11.5px; }

  /* === Prose / article === */
  .prose-card { padding: 18px 14px; border-radius: 14px; }
  .prose-card h2 { font-size: 16px; margin: 16px 0 8px; padding-left: 10px; }
  .prose-card h3 { font-size: 14px; margin: 14px 0 6px; }
  .prose-card p { font-size: 13.5px; line-height: 1.55; margin-bottom: 8px; }

  /* === Standings table === */
  .st-table th, .st-table td { padding: 6px 3px; font-size: 11.5px; }
  .st-pos { width: 18px; height: 18px; font-size: 9px; }

  /* === Recommended carousel === */
  .rec-wrap { margin: 22px 0 12px; }
  .rec-hdr-t { font-size: 15px; }
  .rec { flex: 0 0 160px; padding: 10px; border-radius: 12px; }
  .rec-tn { font-size: 11.5px; }
  .rec-time { font-size: 10px; }
  .rec-btn { width: 28px; height: 28px; }

  /* === CTA + FAQ === */
  .cta { padding: 18px 16px; border-radius: 14px; }
  .cta-title { font-size: 17px; }
  .cta-sub { font-size: 12.5px; }
  .cta-btn { padding: 10px 16px; font-size: 12.5px; }
  .faq-card .card-hd { padding: 16px 14px 6px; }
  .faq-q { padding: 13px 14px; font-size: 12.5px; gap: 8px; }
  .faq-a { padding: 0 14px 12px; font-size: 12.5px; }

  /* === Footer === */
  .ft-grid { grid-template-columns: 1fr; gap: 20px; }
  .ft-grid > div:first-child { grid-column: auto; }
  .ft-wrap { padding: 0 14px; }
}

@media (max-height: 500px) and (orientation: landscape) { .fcta { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* === 404 — animated football, ported from predict4 === */
spawn ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@5.61.49.226 sed -n "2086,2180p" /home/admin/web/predict4.n27.site/public_html/app.css
.e404 {
  text-align: center;
  padding: 56px 20px 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.e404-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fn-display);
  font-size: clamp(96px, 16vw, 168px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .9;
}
.e404-num > span:not(.e404-ball) {
  background: linear-gradient(180deg, var(--t1) 0%, var(--t3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.e404-ball {
  display: inline-block;
  position: relative;
  width: .8em;
  height: .8em;
}
.e404-ball-jump {
  display: block;
  width: 100%;
  height: 100%;
  animation: e404bounce 1.05s cubic-bezier(.5, .03, .5, .97) infinite;
}
.e404-ball-svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: e404spin 2.6s linear infinite;
  filter: drop-shadow(0 6px 9px rgba(0, 40, 120, .2));
}
.e404-ball-shadow {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -8%;
  height: .1em;
  background: radial-gradient(ellipse, rgba(0, 30, 90, .28), transparent 72%);
  border-radius: 50%;
  animation: e404shadow 1.05s cubic-bezier(.5, .03, .5, .97) infinite;
}
@keyframes e404bounce {
  0%, 100% { transform: translateY(-15%); }
  50%      { transform: translateY(10%); }
}
@keyframes e404spin {
  to { transform: rotate(360deg); }
}
@keyframes e404shadow {
  0%, 100% { transform: scaleX(.62); opacity: .35; }
  50%      { transform: scaleX(1);   opacity: .75; }
}
.e404-title {
  font-family: var(--fn-display);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 26px 0 10px;
  color: var(--t1);
}
.e404-text {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 28px;
}
.e404-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--t1);
  color: #fff;
  font-family: var(--fn-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.e404-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 40, 120, .22); }
.e404-btn svg { width: 15px; height: 15px; }

/* === Back-to-top «football ball» (сквозной декор + back-to-top) === */
.btt-ball {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
  z-index: 80;
  filter: drop-shadow(0 10px 22px rgba(0, 40, 120, .28));
}
.btt-ball.visible {
  opacity: .92;
  visibility: visible;
  transform: translateY(0);
}
.btt-ball:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.08);
}
.btt-ball:active {
  transform: translateY(-1px) scale(.98);
}
.btt-ball-inner {
  display: block;
  width: 100%;
  height: 100%;
  animation: bttSpin 7s linear infinite;
}
.btt-ball:hover .btt-ball-inner {
  animation-duration: 1.6s; /* быстрее крутится при ховере */
}
.btt-ball svg {
  display: block;
  width: 100%;
  height: 100%;
}
@keyframes bttSpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 720px) {
  .btt-ball { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .btt-ball-inner { animation: none; }
  .btt-ball { transition: opacity .15s; }
}
