/* Стили статей журнала — ОДИН файл на все статьи (journal/<slug>/index.html подключает
   ../jr-article.css?v=N; при правке бампать N во всех статьях). Список журнала
   (journal/index.html) — со своими стилями, но в том же облике.

   Облик «Сплит» (выбран 29.09.2026, витрина https://claude.ai/artifact/E7eKrMUwZHoSA86J5dA1mA):
   фирменный знак — полоса распределения прогнозов (как «мнение большинства» на карточке матча);
   текст Manrope, числа — узкий Oswald. Сознательно НЕТ: надзаголовков капсом с разрядкой,
   моно-номеров разделов, моно-плашек. Тёмная шапка с мотивом — осталась (светлую пробовали
   29.09, пользователь: «без шапок скучно»).
   Оболочка сайта (шапка, меню, панели) остаётся на системном шрифте — как в приложении. */
  @font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url("../assets/fonts/manrope-cyrillic-v20.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
  @font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url("../assets/fonts/manrope-latin-v20.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url("../assets/fonts/oswald-cyrillic-v57.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
  @font-face { font-family: "Oswald"; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url("../assets/fonts/oswald-latin-v57.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

  :root {
    --bg: #f4f6fa; --panel: #ffffff; --ink: #1a2535; --muted: #5b6980; --faint: #8a97ab;
    --line: #e2e8f2; --blue: #2563a8; --blue-soft: #dbe7ff; --solid: #2563a8;
    --pos: #12924e; --pos-soft: #d6f0e0; --neg: #d6413e; --neg-soft: #fbe0df;
    --gold: #a9812f; --uname: #3d6ea5; --shadow: 0 18px 44px -24px rgba(15,36,64,.42);
    --seg1: #2563a8; --seg2: #6f9ad0; --seg3: #c3d4ea; --track: #edf1f7; --imp: #a9b9cf;
    --text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --num: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
    --split: linear-gradient(90deg, var(--seg1) 0 56%, transparent 56% 58.5%, var(--seg2) 58.5% 73%, transparent 73% 75.5%, var(--seg3) 75.5% 100%);
  }
  :root[data-theme="dark"] {
    --bg: #0b0e14; --panel: #141a24; --ink: #e8edf5; --muted: #a3adbe;
    --faint: #6f7b8e; --line: #232c39; --blue: #a8c4e8; --blue-soft: #17273f; --solid: #3f6fb8;
    --pos: #3ddc84; --pos-soft: #123726; --neg: #ff6b68; --neg-soft: #3a1615;
    --gold: #e6c97a; --uname: #8fb8e8; --shadow: 0 20px 50px -24px rgba(0,0,0,.7);
    --seg1: #5b8fd6; --seg2: #3a5f92; --seg3: #26364f; --track: #1d2430; --imp: #4a5870;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.62; -webkit-font-smoothing: antialiased;
  }
  .jr-hd { flex-shrink: 0; }
  .jr-wrap { flex: 1 0 auto; }
  .jr-ft { flex-shrink: 0; }
  .wrap { max-width: 780px; margin: 0 auto; padding: 0 22px; }

  /* ===== Статья ===== */
  .jr-main { font-family: var(--text); font-size: 16px; line-height: 1.6; font-variant-numeric: tabular-nums; }
  .mono { font-family: var(--num); font-weight: 500; font-variant-numeric: tabular-nums; }

  /* Шапка статьи — тёмная, в композиции обложки списка (вариант A 28.09.2026 — пользователю
     нравится, НЕ светлить). От «Сплита» в ней: знак-полоса вместо надзаголовка капсом и узкие
     цифры Oswald. Мотив-SVG у каждой статьи свой. */
  :root {
    --deep-a: #0f2440; --deep-b: #1e3a5f; --deep-c: #2563a8;
    --on-dark: #ffffff; --on-dark-2: rgba(255,255,255,.84); --on-dark-3: rgba(255,255,255,.64); --on-dark-line: rgba(255,255,255,.22);
    --neg-on-dark: #ff8a86; --pos-on-dark: #5be49a; --blue-on-dark: #9cc4f0;
    --split-on-dark: linear-gradient(90deg, #9cc4f0 0 56%, transparent 56% 58.5%, rgba(156,196,240,.6) 58.5% 73%, transparent 73% 75.5%, rgba(255,255,255,.32) 75.5% 100%);
  }
  :root[data-theme="dark"] { --deep-a: #0a1a30; --deep-b: #142c4a; --deep-c: #1f4f86; }
  header.hero { position: relative; overflow: hidden; margin: 0 -22px; padding: 18px 22px 26px; color: var(--on-dark);
    background: linear-gradient(120deg, var(--deep-a), var(--deep-b) 55%, var(--deep-c)); }
  .hero > * { position: relative; }
  .hero .motif { position: absolute; right: -24px; top: -4px; width: 230px; height: 190px; opacity: .2; pointer-events: none; }
  .hero .motif svg { width: 100%; height: 100%; display: block; }
  .hero .to-journal { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--on-dark-3); text-decoration: none; margin: 0 0 26px; }
  .hero .to-journal:hover { color: var(--on-dark); }
  .hero .kick { display: grid; gap: 10px; justify-items: start; font-size: 14px; font-weight: 700; color: var(--blue-on-dark); margin: 0 0 12px; }
  .hero .kick::before { content: ""; width: 64px; height: 6px; border-radius: 2px; background: var(--split-on-dark); }
  .hero h1 { font-size: clamp(30px, 6.4vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 14px; text-wrap: balance; color: var(--on-dark); }
  .hero .lede { font-size: 17px; font-weight: 500; color: var(--on-dark-2); margin: 0; max-width: 60ch; line-height: 1.55; }
  .hero .lede strong { color: var(--on-dark); font-weight: 800; }
  .hero .nums { display: flex; flex-wrap: wrap; gap: 12px 0; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--on-dark-line); }
  .hero .nums .n { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--on-dark-line); }
  .hero .nums .n:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero .nums b { display: block; font-family: var(--num); font-size: 30px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .hero .nums b.neg { color: var(--neg-on-dark); }
  .hero .nums b.pos { color: var(--pos-on-dark); }
  .hero .nums span { font-size: 13px; font-weight: 600; color: var(--on-dark-3); }
  .hero .meta { font-size: 13px; font-weight: 600; color: var(--on-dark-3); margin: 12px 0 0; }
  @media (max-width: 560px) {
    .hero .nums { display: grid; grid-template-columns: 1fr 1fr; }
    .hero .nums .n:nth-child(2n) { border-right: 0; margin-right: 0; padding-right: 0; }
    .hero .motif { width: 160px; height: 134px; opacity: .16; }
  }

  /* Разделы: знак-полоса над заголовком вместо номера и линии */
  section { padding: 34px 0 0; }
  section > h2 { display: grid; gap: 10px; justify-items: start; }
  section > h2::before { content: ""; width: 64px; height: 6px; border-radius: 2px; background: var(--split); }
  h2 { font-size: clamp(22px, 4.2vw, 27px); font-weight: 800; line-height: 1.16; letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; }
  section p { margin: 0 0 14px; }
  section p strong { font-weight: 800; }
  .uname { color: var(--uname); font-weight: 700; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--uname) 35%, transparent); transition: border-color .14s, color .14s; }
  .uname:hover { border-color: var(--uname); }

  /* Полосы данных: плюс вправо от центра, минус влево */
  .bars { margin: 18px 0 6px; display: flex; flex-direction: column; gap: 10px; }
  .brow { display: grid; grid-template-columns: 150px 1fr 64px; align-items: center; gap: 12px; }
  @media (max-width: 560px) { .brow { grid-template-columns: 116px 1fr 56px; gap: 8px; } }
  .blab { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .btrack { position: relative; height: 14px; border-radius: 3px; background: var(--track); }
  .btrack::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); opacity: .35; }
  .bfill { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
  .bfill.pos { background: var(--pos); }
  .bfill.neg { background: var(--neg); }
  .bval { font-family: var(--num); font-size: 17px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
  .bval.pos { color: var(--pos); } .bval.neg { color: var(--neg); }
  .bn { color: var(--faint); font-family: var(--num); font-weight: 400; font-size: 13px; }

  .records { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0 4px; }
  @media (max-width: 560px) { .records { grid-template-columns: 1fr; gap: 12px; } }
  .rec { display: grid; gap: 2px; align-content: start; }
  .rec::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--split); margin-bottom: 6px; }
  .rec .rv { font-family: var(--num); font-size: 34px; font-weight: 500; line-height: 1.05; color: var(--gold); }
  .rec .rl { font-size: 14px; color: var(--muted); font-weight: 600; }

  .sbar { position: relative; height: 14px; background: var(--track); border-radius: 3px; overflow: hidden; }
  .sbar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--seg1); border-radius: 3px; }

  .cta { margin: 40px 0 0; display: grid; gap: 14px; justify-items: start; }
  .cta::before { content: ""; width: 100%; height: 8px; border-radius: 3px; background: var(--split); margin-bottom: 4px; }
  .cta h2 { font-size: 28px; margin: 0; }
  .cta p { margin: 0; font-weight: 500; }
  .cta a { display: inline-block; background: var(--solid); color: #fff; font-weight: 800; text-decoration: none; padding: 12px 20px; border-radius: 10px; font-size: 16px; }
  .cta a:hover { filter: brightness(1.08); }
  .cta .small { font-size: 14px; color: var(--muted); font-weight: 600; }

  .colophon { border-top: 1px solid var(--line); padding: 24px 0 8px; margin-top: 36px; color: var(--faint); font-size: 13px; font-family: var(--text); }
  .colophon > div { margin-bottom: 6px; }
  .colophon b { color: var(--muted); }

  /* ===== Оболочка сайта (шапка / 3 колонки / нижнее меню / футер).
     Дублируется в journal/index.html — при правке синхронизировать. ===== */
  .jr-hd { background: linear-gradient(135deg,#1e3a5f 0%,#2563a8 60%,#3b82c4 100%); position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between; padding: 6px 16px;
    -webkit-transform: translateZ(0); transform: translateZ(0);
    -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  :root[data-theme="dark"] .jr-hd { background: linear-gradient(135deg,#080c14 0%,#0f1829 50%,#111d35 100%); }
  .jr-logo { display: flex; align-items: center; text-decoration: none; }
  .jr-logo img { display: block; height: 44px; width: auto; }
  .jr-logo .jr-lg-d { display: none; }
  :root[data-theme="dark"] .jr-logo .jr-lg-l { display: none; }
  :root[data-theme="dark"] .jr-logo .jr-lg-d { display: block; }
  .jr-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.24); display: flex; align-items: center; justify-content: center; color: #fff; }
  .jr-avatar svg { width: 20px; height: 20px; }

  .jr-wrap { max-width: 780px; margin: 0 auto; }
  .jr-left, .jr-right { display: none; }

  @media (min-width: 1000px) {
    :root:not([data-theme="dark"]) body { background: #c8d8e8 url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23a8bece' /%3E%3C/svg%3E") repeat; }
    .jr-wrap { display: grid; grid-template-columns: 1fr 600px 1fr; align-items: flex-start; gap: 0; max-width: none; width: 100%; }
    .jr-main { grid-column: 2; grid-row: 1; background: var(--panel); box-shadow: 0 4px 32px rgba(30,58,95,.10); border: 1px solid var(--line); border-radius: 0 0 16px 16px; padding-bottom: 20px; }

    .jr-left { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 4px;
      padding: 12px 10px; margin: 16px 8px 0 12px; background: var(--panel); border-radius: 14px;
      border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(30,58,95,0.09); position: sticky; top: 80px; overflow: visible; }
    .jr-nav { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px;
      text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; position: relative; transition: background .14s, color .14s; }
    .jr-nav:hover { background: rgba(37,99,168,0.08); color: var(--ink); }
    .jr-nav.on { background: linear-gradient(135deg,#1e3a5f 0%,#2563a8 100%); color: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(37,99,168,.25); }
    .jr-nav .ic { display: flex; align-items: center; flex-shrink: 0; width: 22px; height: 22px; }
    .jr-nav .ic svg { width: 22px; height: 22px; }
    .jr-nav-tour { overflow: visible; }
    .jr-nav-tour img { width: 40px; height: 40px; position: absolute; left: -18px; top: 50%; transform: translateY(-50%);
      border-radius: 50%; object-fit: contain; background: var(--panel); border: 2px solid #64748b; box-shadow: -2px 0 14px rgba(0,0,0,.13); }

    .jr-right { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; gap: 14px;
      padding: 16px 16px 20px 12px; position: sticky; top: 64px; align-self: flex-start; }
  }

  .jr-bnav { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; display: none;
    background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(30,58,95,.08); z-index: 90;
    padding-bottom: env(safe-area-inset-bottom, 0px); }
  :root[data-theme="dark"] .jr-bnav { background: rgba(13,15,20,0.97); }
  .jr-bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    text-decoration: none; color: #94a3b8; position: relative; padding: 8px 0 6px; }
  .jr-bnav a svg { width: 24px; height: 24px; display: block; }
  .jr-bnav a img { width: 26px; height: 26px; display: block; }
  .jr-bnav a span { font-size: 12px; font-weight: 500; }
  .jr-bnav a.on { color: #2563eb; }
  .jr-bnav a.on::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 3px; background: #2563eb; border-radius: 0 0 3px 3px; }
  .jr-bnav .jr-bn-tour { overflow: visible; }
  .jr-bnav .jr-bn-tour img { position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
    width: 62px; height: 62px; border-radius: 50%; border: 2.5px solid #64748b; object-fit: contain;
    background: var(--panel); box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .jr-bnav .jr-bn-tour span { position: absolute; top: 38px; }
  @media (max-width: 999px) { .jr-bnav { display: flex; } body { padding-bottom: 116px; } }

  .jr-ft { text-align: center; padding: 30px 16px 34px; border-top: 1px solid var(--line); margin-top: 30px; }
  .jr-ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 13px; }
  .jr-ft-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
  .jr-ft-links a:hover { color: var(--ink); }
  .jr-ft-soc { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 13px; }
  .jr-ft-soc a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; padding: 4px 12px; border-radius: 20px; }
  .jr-ft-soc svg { width: 16px; height: 16px; }
  .jr-ft-vk { color: #4a76a8; border: 1px solid rgba(74,118,168,.35); }
  .jr-ft-tg { color: #2ca5e0; border: 1px solid rgba(44,165,224,.35); }
  .jr-ft-copy { font-size: 12px; color: var(--faint); }

  .jr-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--panel);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(15,36,64,.14);
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom,0px)); }
  .jr-cookie-in { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .jr-cookie-txt { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; min-width: 240px; }
  .jr-cookie-txt a { color: var(--blue); }
  .jr-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
  .jr-cookie-btn { font-size: 13.5px; font-weight: 700; padding: 9px 18px; border-radius: 9px; cursor: pointer; border: 1px solid var(--line); font-family: inherit; }
  .jr-cookie-outline { background: transparent; color: var(--muted); }
  .jr-cookie-primary { background: #2563eb; color: #fff; border-color: #2563eb; }


  .podium { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }
  .prow { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; }
  .prow .medal { font-size: 26px; }
  .prow .who { font-weight: 800; font-size: 17px; color: inherit; text-decoration: none; }
  a.who:hover { color: var(--blue); text-decoration: underline; }
  .prow .st { margin-left: auto; text-align: right; }
  .prow .st .sc { font-family: var(--num); font-weight: 500; font-size: 22px; }
  .prow .st .roi { font-family: var(--num); font-size: 14px; color: var(--pos); font-weight: 500; }

  /* ===== Разборы: формула, таблицы, вопросы ===== */
  .formula { font-weight: 800; font-size: 19px; line-height: 1.4; margin: 14px 0 16px; overflow-wrap: anywhere; }
  .more { margin: 4px 0 0; }
  .more a { color: var(--blue); font-weight: 700; text-decoration: none; }
  .more a:hover { text-decoration: underline; }
  .vtab-wrap { overflow-x: auto; margin: 16px 0 10px; }
  .vtab { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
  .vtab th { font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: right; padding: 0 10px 8px; line-height: 1.25; vertical-align: bottom; border-bottom: 2px solid var(--ink); }
  .vtab td { font-family: var(--num); font-size: 17px; font-weight: 400; text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--ink); }
  .vtab th:first-child, .vtab td:first-child { text-align: left; padding-left: 0; }
  .vtab th:last-child, .vtab td:last-child { padding-right: 0; }
  .vtab td:first-child { font-weight: 500; }
  .vtab td.pos { color: var(--pos); font-weight: 500; }
  .vtab td.neg { color: var(--neg); font-weight: 500; }
  @media (max-width: 480px) { .vtab th { font-size: 11.5px; padding: 0 5px 7px; } .vtab td { font-size: 15.5px; padding: 7px 5px; } }
  .vtab-wrap.narrow { max-width: 360px; }
  section p.note { font-size: 13.5px; color: var(--muted); font-weight: 500; }
  .how { margin: 6px 0 14px; padding-left: 22px; }
  .how li { margin: 0 0 10px; }
  .how li::marker { font-family: var(--num); font-weight: 500; color: var(--blue); }
  .how li strong { font-weight: 800; }
  /* Вопросы разделены линией: без неё ответ одного сливается с вопросом следующего */
  .faq { display: flex; flex-direction: column; margin-top: 8px; border-top: 2px solid var(--ink); }
  .faq-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
  section p.faq-q { font-size: 17px; font-weight: 800; margin: 0 0 6px; line-height: 1.35; }
  section p.faq-a { margin: 0; }

  .jr-engage { padding-top: 8px; padding-bottom: 4px; }
  .jr-actions { padding: 20px 0 0; border-top: 1px solid var(--line); }
