/* Публичные страницы прогнозов (/prognozy/, /prognoz/, /about.html) —
   генерирует FlashData (fs_model/site_pages.py). Палитра и шрифты как у
   главной; тёмная тема по умолчанию, светлая — html[data-theme=light]. */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");
:root {
  --bg-0: #07070a; --bg-1: #0e0e13; --bg-2: #16161d; --line: #26262f; --line-2: #32323d;
  --ink-0: #f5f4f0; --ink-1: #b4b3ac; --ink-2: #76757e; --ink-3: #4a4951;
  --lime: #ccff00; --lime-fill: #ccff00; --on-lime: #0a0a0a; --coral: #ff5a3c; --win: #ccff00; --glow: 204, 255, 0;
  --font-display: 'Syne', 'Manrope', sans-serif; --font-body: 'Manrope', sans-serif; --font-mono: 'JetBrains Mono', monospace;
}
html[data-theme="light"] {
  --bg-0: #ffffff; --bg-1: #f7f8fa; --bg-2: #eff1f4; --line: #e1e4e9; --line-2: #c8ccd3;
  --ink-0: #0a0b0d; --ink-1: #3c3d42; --ink-2: #6b6e75; --ink-3: #9ca0a8;
  --lime: #4d7c0f; --lime-fill: #a3d93f; --on-lime: #112000; --coral: #d9431e; --win: #2f8a1f; --glow: 132, 204, 22;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--bg-0); color: var(--ink-0); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
.s-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.s-nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 7, 10, .82); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
html[data-theme="light"] .s-nav { background: rgba(255, 255, 255, .85); }
.s-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.s-logo { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--ink-0); display: flex; align-items: center; gap: 10px; }
.s-logo:hover { text-decoration: none; }
.s-logo-mark { width: 20px; height: 20px; border: 2px solid var(--lime); border-radius: 50%; position: relative; }
html[data-theme="light"] .s-logo-mark::before { background: #4d7c0f; }
.s-logo-mark::before { content: ""; position: absolute; inset: 4px; background: var(--lime-fill); border-radius: 50%; }
.s-nav-r { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.s-nav-r a { color: var(--ink-1); }
.s-nav-r a.s-cta, .s-btn { background: var(--lime-fill); color: var(--on-lime); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.s-nav-r a.s-cta:hover, .s-btn:hover { text-decoration: none; }
.s-theme { background: none; border: 1px solid var(--line-2); color: var(--ink-1); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 15px; }
main.s-wrap { padding-top: 22px; padding-bottom: 56px; }
.s-crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.s-crumbs a { color: var(--ink-1); } .s-crumbs span { margin: 0 4px; }
h1 { font-family: var(--font-body); font-weight: 800; letter-spacing: -.01em; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin-bottom: 10px; }
h1 .s-logo-t { width: 30px; height: 30px; vertical-align: -5px; }
.s-lead { color: var(--ink-1); margin-bottom: 22px; max-width: 760px; }
main p { margin-bottom: 14px; max-width: 820px; color: var(--ink-1); }
.s-h2 { font-family: var(--font-body); font-weight: 800; font-size: 22px; margin: 30px 0 12px; }
.s-h3 { font-size: 15px; font-family: var(--font-mono); color: var(--ink-2); font-weight: 500; margin: 22px 0 8px; }
.s-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); }
.s-t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.s-t-m { min-width: 560px; }
.s-t th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); padding: 11px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.s-t td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.s-t tr:last-child td { border-bottom: 0; }
.s-t .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-t .d { color: var(--ink-1); font-size: 13px; white-space: nowrap; }
.s-t a { color: var(--ink-0); }
.s-logo-t { width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; margin-right: 6px; }
.s-st { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.s-st.win { color: var(--win); } .s-st.lose { color: var(--coral); } .s-st.wait, .s-st.void { color: var(--ink-2); }
.s-paid { position: relative; isolation: isolate; display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin: 26px 0; padding: 20px 22px; border: 1px solid var(--lime); border-radius: 12px; background: var(--bg-1); }
.s-paid::before { content: ""; position: absolute; inset: -2px; border-radius: 14px; z-index: -1; pointer-events: none;
  box-shadow: 0 0 22px 4px rgba(var(--glow), .45), 0 0 60px 12px rgba(var(--glow), .18); animation: s-glow 3.2s ease-in-out infinite; }
@keyframes s-glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .s-paid::before { animation: none; opacity: .6; } }
.s-paid p { margin: 6px 0 0; }
.s-paid-t { font-family: var(--font-body); font-weight: 800; font-size: 19px; }
.s-cta-n { margin-top: 6px; font-family: var(--font-mono); font-size: 13px; color: var(--lime); }
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 18px 0; }
.s-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); padding: 18px 20px; }
.s-card h2 { font-family: var(--font-body); font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.s-bar { display: grid; grid-template-columns: minmax(120px, 1.3fr) 2fr 52px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.s-bar-l { color: var(--ink-1); }
.s-bar-t { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.s-bar-t i { display: block; height: 100%; background: var(--lime-fill); border-radius: 99px; }
.s-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.s-xg { margin-top: 12px; font-size: 13px; color: var(--ink-2); font-family: var(--font-mono); }
.s-t-f { min-width: 0; margin-top: 10px; font-size: 13px; }
.s-t-f td { padding: 7px 4px; }
.s-wide { margin: 14px 0; }
.s-dim { color: var(--ink-2); font-size: 14px; }
.s-rs { display: inline-block; min-width: 22px; text-align: center; border-radius: 6px; padding: 1px 4px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.s-rs.win { background: rgba(var(--glow), .18); color: var(--win); }
.s-rs.lose { background: rgba(255, 90, 60, .15); color: var(--coral); }
.s-rs.void { background: var(--bg-2); color: var(--ink-2); }
.s-final { display: inline-block; margin: 4px 0 16px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-family: var(--font-mono); }
.s-free { border-color: var(--lime); }
.s-free-b { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.s-free-m { color: var(--ink-1); font-size: 14px; }
.s-pager { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 14px; }
.s-days { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 18px; }
.s-days a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); color: var(--ink-0); }
.s-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--ink-2); font-size: 13px; }
.s-foot .s-wrap > div { margin-bottom: 8px; }
.s-foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.s-foot-links a { color: var(--ink-1); }
.s-18b { display: inline-block; border: 1px solid var(--coral); color: var(--coral); border-radius: 6px; padding: 0 6px; font-weight: 700; margin-right: 6px; }
.s-about h2 { font-family: var(--font-body); font-weight: 800; font-size: 20px; margin: 26px 0 10px; }
.s-about ul { margin: 0 0 14px 20px; color: var(--ink-1); }
@media (max-width: 640px) {
  .s-wrap { padding: 0 16px; }
  .s-nav-r { gap: 10px; } .s-nav-r > a:not(.s-cta) { display: none; }
  .s-bar { grid-template-columns: 1fr 1.2fr 46px; }
}
