    @font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
      src: url(/fonts/inter-cyrillic-wght-normal.woff2) format("woff2");
      unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
    @font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
      src: url(/fonts/inter-latin-wght-normal.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: "Inter Fallback"; src: local("Arial"); ascent-override: 90.44%; descent-override: 22.52%;
      line-gap-override: 0%; size-adjust: 107.12%; }
    :root {
      --bg: #f4efe8;
      --bg-glow: rgba(15, 110, 98, 0.12);
      --surface: #fffdf9;
      --surface-2: #f6f1ea;
      --surface-3: #ece5da;
      --ink: #1d1814;
      --muted: #675c52;
      --line: rgba(68, 48, 32, 0.11);
      --line-strong: rgba(68, 48, 32, 0.2);
      --accent: #0f6e62;
      --accent-2: #12897a;
      --accent-soft: #e3f3ef;
      --gold-soft: #fff1d6;
      --gold-ink: #7a4c00;
      --warn-bg: #fff4e4;
      --warn-ink: #8a5a16;
      --good: #15803d;
      --good-soft: rgba(21, 128, 61, 0.12);
      --bad: #c2410c;
      --shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.05);
      --shadow: 0 14px 38px -8px rgba(60, 40, 20, 0.12);
      --radius: 20px;
    }
    /* Тёмная тема: по системе, если посетитель не выбрал светлую; или выбранная кнопкой (data-theme). */
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        --bg: #12100e;
        --bg-glow: rgba(47, 179, 159, 0.13);
        --surface: #1b1815;
        --surface-2: #24201c;
        --surface-3: #2e2924;
        --ink: #f2ece5;
        --muted: #b3a89c;
        --line: rgba(255, 240, 220, 0.1);
        --line-strong: rgba(255, 240, 220, 0.2);
        --accent: #2fb39f;
        --accent-2: #3cc7b2;
        --accent-soft: rgba(47, 179, 159, 0.14);
        --gold-soft: rgba(255, 196, 92, 0.16);
        --gold-ink: #ffcf7a;
        --warn-bg: rgba(255, 180, 80, 0.12);
        --warn-ink: #ffc777;
        --good: #4ade80;
        --good-soft: rgba(74, 222, 128, 0.13);
        --bad: #fb923c;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
        --shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
        color-scheme: dark;
      }
    }
    :root[data-theme="dark"] {
      --bg: #12100e;
      --bg-glow: rgba(47, 179, 159, 0.13);
      --surface: #1b1815;
      --surface-2: #24201c;
      --surface-3: #2e2924;
      --ink: #f2ece5;
      --muted: #b3a89c;
      --line: rgba(255, 240, 220, 0.1);
      --line-strong: rgba(255, 240, 220, 0.2);
      --accent: #2fb39f;
      --accent-2: #3cc7b2;
      --accent-soft: rgba(47, 179, 159, 0.14);
      --gold-soft: rgba(255, 196, 92, 0.16);
      --gold-ink: #ffcf7a;
      --warn-bg: rgba(255, 180, 80, 0.12);
      --warn-ink: #ffc777;
      --good: #4ade80;
      --good-soft: rgba(74, 222, 128, 0.13);
      --bad: #fb923c;
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
      --shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
      color-scheme: dark;
    }
    :root[data-theme="light"] { color-scheme: light; }
    * { box-sizing: border-box; }
    body {
      margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg);
      background-image: radial-gradient(1100px 460px at 50% -140px, var(--bg-glow), transparent 70%); background-repeat: no-repeat;
      font-family: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
      font-feature-settings: "cv11", "ss01"; line-height: 1.45;
      -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
    }
    a { color: var(--accent); }
    button, input, select { font: inherit; color: inherit; }
    button { cursor: pointer; }
    .wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 14px 0 56px; }
    .hidden { display: none !important; }
    .num, .price, .deal b, .stat b { font-variant-numeric: tabular-nums; }

    /* Шапка */
    .bar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px 8px 12px;
      background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
    .logo { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
    .logo i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; color: white;
      background: linear-gradient(150deg, var(--accent-2), var(--accent)); }
    .top-links { display: flex; flex: none; gap: 4px; align-items: center; font-size: 14px; color: var(--muted); }
    .top-links > a:not(.icon-btn) { color: var(--muted); text-decoration: none; padding: 7px 11px; border-radius: 999px; font-weight: 600; }
    .top-links > a:not(.icon-btn):hover { color: var(--ink); background: var(--surface-2); }
    .icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%;
      border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); text-decoration: none; }
    .icon-btn:hover { border-color: var(--accent); color: var(--accent); }
    .icon-btn svg { width: 18px; height: 18px; display: block; }
    .ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
    .theme-toggle .moon, :root[data-theme="dark"] .theme-toggle .sun { display: block; }
    .theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: none; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
      :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
    }

    /* Первый экран и поиск */
    .hero { text-align: center; padding: 7vh 0 3vh; }
    .hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
      background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-sm); }
    .hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
    .hero h1 { margin: 0 auto 10px; max-width: 820px; font-size: clamp(30px, 5vw, 50px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
    .hero h1 span { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text;
      color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
    .hero p { margin: 0 auto 24px; color: var(--muted); max-width: 620px; font-size: 16px; line-height: 1.5; }
    body.home.searched .hero { padding: 18px 0 6px; }
    body.home.searched .hero h1, body.home.searched .hero p, body.home.searched .hero-badge, body.searched .popular { display: none; }

    .search { position: relative; max-width: 760px; margin: 0 auto; }
    .search form { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 20px; background: var(--surface);
      border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); transition: border-color 0.2s, box-shadow 0.2s; }
    .search form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
    .search form > svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
    .search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; padding: 10px 4px; }
    .search input::placeholder { color: var(--muted); opacity: 0.8; }
    .search .go { flex: none; border: 0; border-radius: 14px; height: 46px; padding: 0 24px; font-weight: 800; color: white;
      background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
    .search .go:disabled { opacity: 0.6; cursor: default; }
    .suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line-strong);
      border-radius: 16px; box-shadow: var(--shadow); padding: 6px; text-align: left; }
    .suggest button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; border: 0; background: none; padding: 10px 12px; border-radius: 10px; text-align: left; }
    .suggest button.on, .suggest button:hover { background: var(--accent-soft); }
    .suggest small { color: var(--muted); font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
    .suggest mark { background: none; color: var(--accent); font-weight: 800; }

    .popular { max-width: 880px; margin: 16px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
    .chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
      padding: 7px 8px 7px 13px; font-weight: 700; font-size: 13.5px; white-space: nowrap; box-shadow: var(--shadow-sm); }
    .chip:not(:has(small)) { padding-right: 13px; }
    .chip:hover { border-color: var(--accent); color: var(--accent); }
    .chip small { color: var(--accent); background: var(--accent-soft); font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
    .chip.found { border-style: dashed; }

    /* Внутренние страницы: заголовок слева, сразу цифры и таблица */
    body.inner .hero { text-align: left; padding: 18px 0 4px; }
    body.inner .hero h1 { margin: 0 0 8px; max-width: none; font-size: clamp(25px, 3.6vw, 38px); letter-spacing: -0.035em; }
    body.inner .hero p { margin: 0 0 14px; max-width: 860px; font-size: 15px; }
    body.inner .search { max-width: 640px; margin: 0; }
    body.inner .search form { padding: 5px 5px 5px 14px; border-radius: 16px; box-shadow: var(--shadow-sm); }
    body.inner .search input { font-size: 16px; padding: 7px 4px; }
    body.inner .search .go { height: 38px; padding: 0 18px; border-radius: 11px; }
    body.inner .prefetch:empty { display: none; }
    .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 14px; }
    .stat { padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
    .stat small { display: block; color: var(--muted); font-size: 13px; }
    .stat b { display: block; font-size: 21px; letter-spacing: -0.03em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .stat.main b { color: var(--accent); font-size: 25px; }
    .stat.good b { color: var(--good); }

    .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; margin-top: 16px; }

    /* Статус обработки */
    .status-head { display: flex; align-items: center; gap: 18px; }
    /* Без регистрации свойство --p не анимируется: кольцо прыгало скачками. */
    @property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
    .ring { --p: 0; width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center;
      background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); transition: --p 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
    .ring.complete { animation: pulse 0.7s ease; }
    @keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-soft); transform: scale(1); } 40% { transform: scale(1.08); }
      100% { box-shadow: 0 0 0 18px transparent; transform: scale(1); } }
    .ring span { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
    .status-text { flex: 1; min-width: 0; }
    .status-text h2 { margin: 0; font-size: 20px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
    .status-text p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
    .found-count { text-align: right; }
    .found-count b { display: block; font-size: 28px; letter-spacing: -0.04em; }
    .found-count small { color: var(--muted); }
    .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
    .step { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; font-size: 13px; }
    .step b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
    .step b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); flex: none; }
    .step.active { border-color: var(--accent); background: var(--accent-soft); }
    .step.active b::before { border-color: var(--accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
    .step.done b::before { background: var(--accent); border-color: var(--accent); }
    .step small { display: block; margin-top: 3px; color: var(--muted); overflow-wrap: anywhere; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .markets { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
    .mk { flex: 1 1 220px; font-size: 13px; color: var(--muted); }
    .mk .line, .snap-progress .line { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 5px; }
    .mk .line i, .snap-progress .line i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s; }
    .snap-progress { margin: -4px 0 12px; font-size: 13px; color: var(--muted); }

    .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
    .tag { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; color: var(--muted); }
    .tag b { color: var(--ink); }

    .refine h3, .results h3 { margin: 0 0 10px; font-size: 16px; letter-spacing: -0.02em; }
    .refine .chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .refine .chip { font-weight: 700; }
    .refine.main { border-color: var(--accent); }

    .banner { margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }

    .best { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
    .best-card { border-radius: 18px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
    .best-card .kind { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-ink); }
    .best-card .price { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); }
    .best-card .what { font-size: 13.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .best-card .who { font-size: 12.5px; color: var(--muted); }
    .best-card a { margin-top: auto; align-self: flex-start; }
    .best-card .risky { color: var(--bad); }

    .tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
    .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); flex: none; }
    .seg button { border: 0; background: none; padding: 6px 12px; font-weight: 700; font-size: 13px; }
    .seg button.on { background: var(--ink); color: var(--surface); }
    .tools select, .tools input[type="search"] { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); font-size: 13px; }
    .tools label { font-size: 13px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
    .tools .spacer { flex: 1; }
    .ghost { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
    .ghost:hover { border-color: var(--accent); color: var(--accent); }

    .table-wrap { overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; min-width: 760px; }
    th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
    th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
    tbody tr:hover { background: var(--surface-2); }
    td.name { font-weight: 700; max-width: 340px; }
    td.name a { color: var(--ink); text-decoration: none; }
    td.name a:hover { color: var(--accent); }
    td.price { font-weight: 800; color: var(--accent); white-space: nowrap; font-size: 16px; }
    td.num { color: var(--muted); white-space: nowrap; }
    .opt { display: inline-block; margin: 0 6px 6px 0; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); font-size: 12.5px; }
    .mkt { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
    .buy { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: white; text-decoration: none; font-weight: 800; white-space: nowrap; }
    .buy:hover { background: var(--accent-2); }
    tr.new { animation: flash 1.2s ease; }
    @keyframes flash { from { background: var(--accent-soft); } to { background: transparent; } }
    /* Появление: карточки, строки таблицы, «Сейчас выгодно» — снизу вверх по очереди. */
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes pop { 0% { opacity: 0; transform: scale(0.92); } 60% { opacity: 1; transform: scale(1.03); } 100% { transform: none; } }
    .card:not(.hidden) { animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
    tr.rise { animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both, flash 1.4s ease; }
    .best-card { animation: pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .best-card:nth-child(2) { animation-delay: 0.08s; }
    .best-card:nth-child(3) { animation-delay: 0.16s; }
    .step.done b::before { animation: pop 0.4s ease; }
    .saving:not(.hidden) { animation: pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .saving b { display: inline-block; }
    .saving b.counting { animation: glow 1.6s ease; }
    @keyframes glow { 0%, 100% { text-shadow: none; } 50% { text-shadow: 0 0 18px rgba(31, 157, 85, 0.45); } }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; }
    }
    .more { display: block; margin: 12px auto 0; }
    .empty { color: var(--muted); padding: 18px 4px; text-align: center; }

    .prefetch { min-height: 18px; margin-top: 8px; font-size: 13px; color: var(--muted); }
    .prefetch b { color: var(--accent); }

    .history { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); margin-bottom: 14px; }
    .history .text { flex: 1 1 260px; font-size: 14px; }
    .history .text b { font-size: 15px; }
    .history .down { color: var(--good); font-weight: 800; }
    .history .up { color: var(--bad); font-weight: 800; }
    .history svg { flex: none; }
    .history form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
    .history input { width: 110px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: var(--surface); font-size: 13px; }
    .tg-offer { flex-basis: 100%; font-size: 13.5px; }

    td.reviews { white-space: nowrap; min-width: 96px; }
    td.reviews b { font-size: 15px; }
    td.reviews small { display: block; color: var(--muted); font-size: 12px; }
    .rv-good { color: var(--good); } .rv-mid { color: var(--ink); } .rv-bad { color: var(--bad); }
    .rv-bar { display: block; width: 72px; height: 4px; margin: 4px 0 3px; border-radius: 99px;
      background: linear-gradient(90deg, var(--good) var(--share), rgba(194, 65, 12, 0.55) var(--share)); }
    .muted-small { color: var(--muted); font-size: 12.5px; }
    .badge { display: inline-block; margin: 0 4px 4px 0; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
    .badge.kind { background: var(--surface-2); color: var(--ink); }
    .badge.good { background: var(--good-soft); color: var(--good); }
    .badge.new { background: var(--gold-soft); color: var(--gold-ink); }
    .badge.warn { background: rgba(194, 65, 12, 0.14); color: var(--bad); }

    .watch-link { position: relative; }
    .watch-link button { display: inline-flex; align-items: center; gap: 5px; height: 36px; white-space: nowrap; border: 1px solid var(--line);
      background: var(--surface-2); border-radius: 999px; padding: 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
    .watch-link button svg { width: 16px; height: 16px; flex: none; }
    .watch-link button b { color: var(--ink); }
    .watch-link button.hit, .watch-link button.hit b { border-color: var(--good); color: var(--good); }
    .watch-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(380px, 90vw); background: var(--surface); border: 1px solid var(--line);
      border-radius: 16px; box-shadow: var(--shadow); padding: 10px; }
    .watch-row { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; font-size: 13px; color: var(--ink); }
    .watch-row.hit { background: var(--good-soft); }
    .watch-row span { flex: 1; min-width: 0; }
    .watch-row a { cursor: pointer; }
    .watch-row small { display: block; color: var(--muted); }
    .watch-row button { border: 0; background: none; color: var(--muted); padding: 2px 6px; }
    .watch-tg { margin-top: 6px; padding: 10px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; }

    /* Готовый HTML для поисковиков и первый экран */
    .muted { color: var(--muted); font-size: 14px; }
    .seo h2, .snapshot h2, .deals h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -0.03em; }
    .section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
    .section-head small { color: var(--muted); font-size: 13px; }
    .deals { margin-top: 28px; }
    .deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
    .deal { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; text-decoration: none; color: var(--ink); min-width: 0;
      background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
    .deal:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
    .deal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
    .deal-q { font-weight: 700; font-size: 14.5px; line-height: 1.3; min-width: 0; }
    .svc-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center;
      background: var(--surface-2); border: 1px solid var(--line); color: var(--brand, var(--ink)); }
    .svc-icon svg { width: 19px; height: 19px; }
    .svc-icon b { font-size: 15px; color: var(--ink); }
    .deals:not(.services) .svc-icon { width: 28px; height: 28px; border-radius: 9px; }
    .deals:not(.services) .svc-icon svg { width: 16px; height: 16px; }
    h2.hot { display: flex; align-items: center; gap: 8px; }
    h2.hot .ico { width: 22px; height: 22px; color: #f97316; }
    .deal b { font-size: 25px; letter-spacing: -0.04em; color: var(--accent); }
    .deal-off { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
      background: var(--good-soft); color: var(--good); font-size: 13px; font-weight: 800; }
    .deal small { color: var(--muted); font-size: 13px; }
    .services .deal b { font-size: 21px; }
    .services .deal-tiers { color: var(--muted); font-size: 13px; }
    .how ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
    .how li { counter-increment: step; padding: 14px; border-radius: 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; }
    .how li::before { content: counter(step); width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: white; background: var(--accent); }
    .how span, .why span { color: var(--muted); font-size: 14px; }
    .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .why-grid div { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
    .pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
    .pop-grid h3 { margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 16px;
      display: flex; align-items: center; gap: 10px; }
    .pop-grid h3 a { color: var(--ink); text-decoration: none; }
    .pop-grid h3 a:hover { color: var(--accent); }
    .cat-group { padding: 14px 16px 10px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
    .cat-group .svc-icon { width: 30px; height: 30px; background: var(--surface); }
    .cat-group .svc-icon svg { width: 17px; height: 17px; }
    .cat-group .links a:hover { background: var(--surface); }
    .cat-group .links a.all { color: var(--accent); font-size: 13px; }
    .links { display: flex; flex-direction: column; gap: 2px; }
    .links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px;
      text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
    .links a:hover { background: var(--surface-2); color: var(--accent); }
    .links small { flex: none; color: var(--ink); font-weight: 700; font-size: 13px; padding: 2px 9px; border-radius: 8px; background: var(--surface-3);
      font-variant-numeric: tabular-nums; }
    .links a:hover small { background: var(--accent-soft); color: var(--accent); }
    .links.plain a { display: block; }
    .links.plain small { display: block; background: none; padding: 2px 0 0; font-weight: 500; }
    .faq details { border-top: 1px solid var(--line); padding: 12px 0; }
    .faq summary { cursor: pointer; font-weight: 700; }
    .faq p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
    .text p { margin: 0 0 12px; line-height: 1.6; }
    .snapshot td small { color: var(--muted); font-weight: 500; }
    body.searched #snapshot, body.home.searched #seo-top { display: none; }
    .tg-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .tg-card .tg-mark { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: white; background: #2aa3df; }
    .tg-card .tg-mark svg { width: 24px; height: 24px; }
    .tg-card div { flex: 1 1 260px; }
    .tg-card b { display: block; font-size: 16px; }
    .tg-card span { color: var(--muted); font-size: 14px; }
    .cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 520px; margin: 0 auto; display: flex; gap: 12px; align-items: center;
      padding: 10px 12px 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
    .cookie span { flex: 1; }
    .saving { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px;
      background: linear-gradient(120deg, var(--good-soft), var(--accent-soft)); }
    .saving b { font-size: 30px; letter-spacing: -0.04em; color: var(--good); }
    .saving span { font-size: 14.5px; }

    .crumbs { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
    .crumbs a { color: var(--muted); }
    .crumbs span { color: var(--ink); }
    .text h2 { margin: 18px 0 8px; font-size: 18px; letter-spacing: -0.02em; }
    .text ul { margin: 0 0 12px; padding-left: 20px; line-height: 1.6; }
    .article-prices { margin: 6px 0 14px; }

    footer { margin-top: 32px; padding: 22px 4px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
    .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
    .foot-grid h4 { margin: 0 0 8px; color: var(--ink); font-size: 14px; }
    .foot-grid a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; }
    .foot-grid a:hover { color: var(--accent); }
    footer p { margin: 0 0 8px; line-height: 1.5; }

    @media (max-width: 820px) {
      .how ol, .why-grid { grid-template-columns: 1fr; }
      .steps { grid-template-columns: 1fr 1fr; }
      .best { grid-template-columns: 1fr; }
      .status-head { flex-wrap: wrap; }
      .top-links .hide-sm { display: none; }
      .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .foot-grid { grid-template-columns: 1fr 1fr; }
      .foot-grid > div:first-child { grid-column: 1 / -1; }
    }
    /* Телефон: подсказки и фильтры - лентой, карточки - в две колонки, строки таблиц - компактными карточками. */
    @media (max-width: 640px) {
      .wrap { width: calc(100% - 24px); padding-top: 10px; }
      .bar-top { padding: 6px 6px 6px 8px; gap: 8px; }
      .watch-link .wl { display: none; }
      .watch-link button { padding: 0 10px; }
      .logo i { width: 32px; height: 32px; }
      .logo { font-size: 18px; }
      .hero { padding: 26px 0 10px; }
      .hero h1 { font-size: 30px; }
      .hero p { font-size: 15px; margin-bottom: 18px; }
      .hero-badge { font-size: 12px; margin-bottom: 12px; }
      .search form { padding-left: 12px; border-radius: 18px; }
      .search form > svg { display: none; }
      .search input { font-size: 16px; }
      .search .go { padding: 0 16px; height: 44px; }
      .popular, .tools { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: -12px; margin-right: -12px; padding: 0 12px 4px;
        scrollbar-width: none; scroll-snap-type: x proximity; }
      .popular::-webkit-scrollbar, .tools::-webkit-scrollbar { display: none; }
      .popular .chip { scroll-snap-align: start; flex: none; }
      .tools > * { flex: none; }
      .tools .spacer { display: none; }
      .card { padding: 16px; border-radius: 18px; margin-top: 12px; }
      .seo h2, .snapshot h2, .deals h2 { font-size: 19px; margin-bottom: 10px; }
      .deals { margin-top: 22px; }
      .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      .deal { padding: 12px; border-radius: 16px; }
      .deal-q { font-size: 13.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
      .deal b { font-size: 21px; }
      .deal-off { font-size: 12px; }
      .deal small { font-size: 12px; }
      .deal-top { gap: 6px; }
      .how li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; padding: 12px; }
      .how li::before { grid-row: span 2; }
      .best { display: flex; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
      .best::-webkit-scrollbar { display: none; }
      .best-card { flex: 0 0 82%; scroll-snap-align: start; }
      .stat { padding: 10px 12px; border-radius: 14px; }
      .stat b { font-size: 18px; }
      .stat.main b { font-size: 21px; }
      .foot-grid { grid-template-columns: 1fr; }
      .cookie { font-size: 12.5px; padding: 8px 8px 8px 12px; }
      .status-head { gap: 12px; }
      .ring { width: 58px; height: 58px; }
      .ring span { width: 46px; height: 46px; font-size: 14px; }
      .found-count b { font-size: 22px; }
      .steps { display: none; }

      table.cards-sm { min-width: 0; }
      table.cards-sm thead { display: none; }
      table.cards-sm tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
      table.cards-sm tbody tr:hover { background: none; }
      table.cards-sm td { display: block; padding: 0; border: 0; max-width: none; min-width: 0; font-size: 13px; }
      table.cards-sm td.price { order: 1; flex: 1 1 auto; font-size: 20px; }
      table.cards-sm td.cell-buy { order: 2; flex: none; }
      table.cards-sm td.cell-buy .buy { padding: 7px 16px; }
      table.cards-sm td.name { order: 3; flex: 1 1 100%; font-size: 14px; line-height: 1.35; overflow: hidden;
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
      table.cards-sm.hub-table td.name { display: block; }
      table.cards-sm td.opts { order: 4; flex: 1 1 100%; }
      table.cards-sm td.opts .opt { margin-bottom: 2px; }
      table.cards-sm td.kind-cell { order: 5; }
      table.cards-sm td.seller { order: 6; color: var(--muted); }
      table.cards-sm td.num { order: 7; }
      table.cards-sm td.reviews { order: 8; min-width: 0; }
      table.cards-sm td.reviews b, table.cards-sm td.reviews small { display: inline; font-size: 12.5px; }
      table.cards-sm td.reviews .rv-bar { display: none; }
      table.cards-sm td.num[data-label]::before { content: attr(data-label) " "; }
      table.cards-sm td .badge { margin-bottom: 0; }
      table.cards-sm td.seller br { display: none; }
      /* Таблица вариантов сервиса: название и цена в строку, мелкие цифры ниже. */
      table.cards-sm.hub-table td.name { order: 1; flex: 1 1 60%; }
      table.cards-sm.hub-table td.price { order: 2; flex: none; font-size: 16px; }
      table.cards-sm.hub-table td.num { order: 3; font-size: 12px; }
    }
    /* Пометки строк в готовой таблице: продавец с предупреждением или новый, подозрительно низкая цена */
    small.mark { display: inline-block; margin-top: 3px; color: var(--muted); font-size: 12px; }
    small.mark.warn { color: var(--bad); font-weight: 700; }

    /* Фильтры сохраненного снимка и короткая демонстрация. */
    .hero-actions { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 12px 0 0; }
    .hero-actions span { font-size: 12px; color: var(--muted); }
    body.inner .hero-actions { justify-content: flex-start; }
    .result-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
    .result-heading > div { min-width: 0; flex: 1 1 260px; }
    .result-heading h2 { font-size: 21px; line-height: 1.3; margin: 0 0 6px; overflow-wrap: anywhere; }
    .result-heading p { font-size: 12.5px; line-height: 1.5; margin: 0; }
    .variant-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
    .variant-tools label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); flex: 1 1 140px; max-width: 280px; }
    .variant-tools select { font: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--surface); min-width: 0; }
    .headline-offer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--accent); border-radius: 16px; padding: 16px; background: var(--accent-soft); margin-bottom: 14px; }
    .headline-offer > div { display: grid; gap: 4px; min-width: 0; }
    .headline-offer small { font-size: 12px; font-weight: 700; color: var(--accent); }
    .headline-offer b { font-size: 27px; line-height: 1.15; color: var(--accent); letter-spacing: -0.03em; }
    .headline-offer span { font-size: 12.5px; overflow-wrap: anywhere; }
    .headline-offer .buy { flex: none; }
    .access-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); margin-bottom: 6px; }
    .access-tools button { border: 0; border-radius: 11px; padding: 10px 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; transition: background 160ms ease, color 160ms ease; }
    .access-tools button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
    .access-tools span { font-size: 11px; opacity: .7; margin-left: 3px; }
    .access-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 6px 0 14px; }
    .result-count { font-size: 12px; color: var(--muted); margin: 8px 0; }
    .watch-status { flex-basis: 100%; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
    .watch-status:empty { display: none; }
    .stat.date b { font-size: 16px; white-space: normal; overflow: visible; line-height: 1.4; text-overflow: clip; }
    .compare-tour { position: fixed; z-index: 80; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 32px)); padding: 16px; border-radius: 18px; border: 1px solid var(--accent); background: var(--surface); box-shadow: 0 12px 40px rgba(0, 0, 0, .2); }
    .tour-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
    .tour-head b { font-size: 13px; }
    .compare-tour p { font-size: 14px; line-height: 1.5; margin: 12px 0; }
    .tour-progress { height: 3px; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
    .tour-progress i { display: block; height: 100%; background: var(--accent); transition: width 400ms ease; }
    .tour-target { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 14px; animation: tour-focus 1.4s ease-in-out infinite; scroll-margin-top: 80px; }
    @keyframes tour-focus { 0%, 100% { outline-offset: 5px; } 50% { outline-offset: 9px; } }
    @media (max-width: 640px) {
      .result-heading h2 { font-size: 18px; }
      .result-heading > .ghost { width: 100%; }
      .access-tools button { font-size: 11.5px; padding: 10px 3px; }
      .access-tools span { display: block; margin: 3px 0 0; }
      .headline-offer { padding: 13px; gap: 10px; }
      .headline-offer b { font-size: 25px; }
      .headline-offer span { font-size: 12px; }
      .headline-offer .buy { padding: 9px 14px; }
      .stat.date b { font-size: 13px; line-height: 1.4; }
      .tools { flex-wrap: wrap; overflow: visible; margin: 0 0 12px; padding: 0; }
      .tools select, .tools input[type="search"] { min-width: 0; max-width: 100%; flex: 1 1 140px; }
      .tools label { white-space: normal; }
      .tools #share { width: 100%; overflow-wrap: anywhere; }
      .history form { width: 100%; }
      .history form button { flex: 1; }
      .compare-tour { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 14px; }
      .hero-actions { flex-wrap: wrap; gap: 6px 10px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .tour-target { animation: none; outline-offset: 5px; }
      .tour-progress i { transition: none; }
    }

    .result-heading p.stale { border-left: 3px solid var(--accent); padding: 8px 12px; background: var(--accent-soft); color: var(--ink); border-radius: 0 8px 8px 0; }

    .access-tools.has-unknown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    @media (max-width: 640px) { .access-tools.has-unknown { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

    .tools .share-link { flex: 1 0 100%; width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 12px; }
