/* D68 W1: one small stylesheet, no framework, no blocking JS (§22). */

/* #136 — design tokens of «Сайт нумізматика 2». The values come from the prototype
   (`owner_uploads/tz/Сайт нумізматика 2/Монетека - сайт.dc.html`), which carries them inline; every colour,
   radius and width below is taken from there rather than re-invented. Components read tokens only, so the
   v2 screens (#137-#146) restyle by changing this block, not by touching each rule.

   The dark palette is defined but NOT wired to `prefers-color-scheme`: it applies only under
   `[data-theme="dark"]`, which nothing sets yet. The prototype has an explicit theme switch in the header;
   it arrives with the header itself (#137). Until then no user's page changes colour behind their back. */
/* Manrope (variable, 200-800) and IBM Plex Mono 400/500 — the prototype's faces, served from our own origin
   (CSP `font-src 'self'`). Both are SIL OFL 1.1; files taken from the design package's offline bundle. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-latin.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/plex-mono-400-latin.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/plex-mono-500-latin.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: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/plex-mono-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/plex-mono-500-cyrillic.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: 200 800; font-display: swap;
  src: url(/static/fonts/manrope-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/plex-mono-400-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/plex-mono-500-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
:root {
  color-scheme: light;
  --canvas: #F5F3EE; --surface: #FFFFFF; --subtle: #F0EDE5; --line: #E2DED5;
  --ink: #16211C; --ink2: #59685D; --lead: #6B6B6B; --ctl: #7B897F;
  --brand: #2F6B4F; --brand-strong: #285C44; --tint: #E8F2EB;
  --err: #A3402C; --warn: #8A5A16; --info: #315C85;
  --on-brand: #FFFFFF; --err-bg: #FBECE8; --warn-bg: #FFF4DB; --info-bg: #EAF2FA;

  /* Typography: Manrope is the prototype's face. No font file is loaded yet — a self-hosted webfont is a
     separate decision (§22 keeps the site free of blocking third-party requests), so the stack degrades to
     the system face until then. */
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Geometry: 12px is the prototype's default radius (104 uses), 20px its large cards, 999px its pills. */
  --r-sm: 8px; --r: 12px; --r-lg: 20px; --r-pill: 999px;
  --container: 1248px; --header-h: 72px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;

  /* Legacy names kept as aliases so every existing rule keeps working unchanged. */
  --muted: var(--ink2); --bg: var(--canvas); --soft: var(--subtle);
  --green: var(--brand); --negative: var(--err);
}
[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0E1512; --surface: #16211C; --subtle: #1D2B24; --line: #223229;
  --ink: #EAF0EC; --ink2: #93A79A; --lead: #A6A6A6; --ctl: #5D7266;
  --brand: #A9D8B8; --brand-strong: #8FC9A3; --tint: #1D3329;
  --err: #E8A08F; --warn: #E3BA7C; --info: #9CC2E8;
  --on-brand: #0E1512; --err-bg: #2C1A17; --warn-bg: #2B2418; --info-bg: #17232E;
}

/* Base helpers the v2 screens share. Nothing in the current pages uses them yet. */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--s5); }
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pill { display: inline-block; border-radius: var(--r-pill); padding: 4px 12px; font-size: 14px;
        background: var(--subtle); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 16px/1.55 var(--font); }
.top { border-bottom: 1px solid var(--line); padding: 16px 20px; background: var(--surface); }
.brand { font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--ink); }
/* #137: the v2 grid is 1248px wide (the prototype's container); long-form text blocks keep their own
   reading width via `.auth`/`.lead`, so widening the shell does not turn paragraphs into one-liners. */
main { max-width: var(--container); margin: 0 auto; padding: var(--s6) var(--s5) 56px; }
main p.lead, .taxonomy > p.note { max-width: 62ch; }
h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 12px; }
.lead { font-size: 18px; margin: 0 0 12px; color: var(--lead); } /* owner 2026-09-23: intros in a neutral grey under the title */
.note, .foot p { color: var(--muted); }
a { color: var(--brand-strong); }
.foot { border-top: 1px solid var(--line); padding: 20px; text-align: center; font-size: 14px; }

/* D68 W2: the coin page. Plain CSS grid, no framework, readable without JavaScript. */
.coin h2 { font-size: 20px; margin: 28px 0 10px; }
.photos { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 8px; }
.photos figure { margin: 0; }
.photos img { width: min(320px, 44vw); height: auto; background: var(--surface);
              border: 1px solid var(--line); border-radius: 10px; }
.photos figcaption { color: var(--muted); font-size: 14px; padding-top: 6px; }
.amount { font-size: 28px; font-weight: 700; margin: 0 0 4px; }
.conf-high { color: var(--brand-strong); }
.conf-medium { color: var(--warn); }
.conf-low { color: var(--err); }
.facts { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 6px 18px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
/* #137/#139 v2 coin card — see the block «v2 coin card» below. */

/* D68 W3: taxonomy pages — header menu, tag lists, card meta, pager, missing-photo placeholder. */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.menu { display: flex; gap: 16px; font-size: 15px; }
.menu a { color: var(--ink); text-decoration: none; }
main section h2 { font-size: 20px; margin: 28px 0 10px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.tags a { text-decoration: none; }
.nophoto { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; margin-bottom: 8px;
           border-radius: 6px; background: var(--bg); color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.pager { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; margin-top: 20px; }
/* D68 W5: login and account. */
.auth { max-width: 560px; }
.auth-provider { margin: 20px 0; min-height: 48px; }
.auth-error { color: var(--err); }
.auth-continue { margin: 20px 0; }
.auth-continue > summary { list-style: none; cursor: pointer; display: inline-block; }
.auth-continue > summary::-webkit-details-marker { display: none; }
.auth-button { padding: 12px 20px; border-radius: 8px; background: #2aabee; color: #fff; font-weight: 600; }
.auth-continue[open] > summary { display: none; }
.auth-info { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--subtle); }
.auth-info p { margin: 0 0 6px; }
.auth-info-title { font-weight: 600; }
.auth-trust { margin: 8px 0; }
.signed-in { margin: 16px 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--tint); color: var(--brand-strong); }
.signed-in-ask p { margin: 0; }
.signed-in-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
/* Owner 2026-09-28: the Telegram channel strip — small, at the bottom, never over the page's content. */
/* Owner 2026-09-28: the floating channel strip has its own class — the «Спільнота» `.tg-strip` card further
   down used to override its padding, width and corners — and a clearly visible close button. */
.tg-float { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 40;
            width: min(560px, calc(100% - 24px)); box-sizing: border-box; display: flex; align-items: center; gap: 10px;
            padding: 8px 8px 8px 14px; background: var(--surface); color: var(--ink);
            border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.tg-float[hidden] { display: none; }
.tg-float p { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.tg-float .btn { flex: none; }
.tg-float-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
                  border: 1px solid var(--line); border-radius: 50%; background: var(--subtle); color: var(--ink);
                  font-size: 20px; line-height: 1; cursor: pointer; }
.tg-float-close:hover { border-color: var(--ink); }
@media (max-width: 480px) { .tg-float { border-radius: var(--r-lg); } .tg-float p { font-size: 13px; } }
/* Owner 2026-09-29: the one-time agreement uses the channel strip's shape; it stays until «Погоджуюсь». */
.consent-float { z-index: 41; padding: 10px 10px 10px 16px; }
.consent-float a { color: inherit; text-decoration: underline; }
.cta-link { display: inline-block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; background: var(--surface); font: inherit; cursor: pointer; }
.account-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.lots { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.lot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); }
.lot-name { font-weight: 600; flex: 1 1 200px; }
.lot-form { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; flex-basis: 100%; }
.lot-form label { display: grid; gap: 4px; font-size: 14px; }
.lot-form input { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; max-width: 100%; }
.account-photo { display: block; width: 160px; height: 160px; object-fit: contain; margin: 8px 0; }
.mine .cta-link { margin: 0 8px 8px 0; text-decoration: none; }
[hidden] { display: none !important; }
/* D68 #38: bot-confirmed login. */
.auth-bot { margin: 20px 0 12px; }
.auth-bot .auth-button { display: inline-block; text-decoration: none; }
.auth-alt { cursor: pointer; color: inherit; text-decoration: underline; }
/* D68 W7: other login methods, connecting a method, merge preview. */
.auth-methods { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.auth-button-alt { display: inline-block; background: var(--surface); color: var(--ink); border: 1px solid var(--line); text-decoration: none; cursor: pointer; font: inherit; font-weight: 600; }
.auth-email { margin: 12px 0; max-width: 360px; }
.auth-email label { display: block; margin: 0 0 6px; font-weight: 600; }
.auth-email input { box-sizing: border-box; width: 100%; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.auth-connect { margin: 24px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.auth-connect h2 { font-size: 1.1rem; margin: 0 0 8px; }
button.auth-button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.auth-alt { background: none; border: 0; padding: 0 8px; font: inherit; }
/* D68 W8: public collection and sharing settings. */
.shared-owner { display: flex; gap: 14px; align-items: center; }
.shared-photo { border-radius: 50%; object-fit: cover; }
.cards .card-static { display: block; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.cards .card-static img { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 8px; }
.share-form label { display: block; margin: 8px 0; }
.account [data-link] { word-break: break-all; }

/* D73 #56 — «Бажане»: series progress and the wishlist sharing switches. Same tokens as the rest of
   the site, so light and dark themes need no extra rules. */
.wl-progress { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.wl-series { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.wl-series header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.wl-counter { font-variant-numeric: tabular-nums; color: var(--muted); }
.wl-bar { height: 6px; margin: 10px 0; border-radius: 99px; background: var(--soft); overflow: hidden; }
.wl-bar i { display: block; height: 100%; background: var(--green); }
.wl-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-slot { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.wl-slot.wl-owned { background: var(--green); border-color: var(--green); color: var(--surface); }
.wl-slot.wl-wanted { border-color: var(--green); color: var(--green); }
.wl-slot.wl-missing { border-style: dashed; }
.wl-left { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--negative); }

/* ─── #137 v2: site header, hero and section rhythm ──────────────────────────────────────────────
   Structure and copy come from the prototype's `isSite` shell and `vHome`/`vFeed`/`vLoginPage` screens.
   Two deliberate departures, both to avoid losing what already works:
   · the H1 stays `seo.h1` (the SEO engine owns it, W10) — the prototype's wording became the eyebrow;
   · the nav lists only pages that exist today. «Календар» and «Маркет» join it with #142 and #146,
     because a header link to a missing page is worse than a missing header link. */
.top { position: sticky; top: 0; z-index: 50; min-height: var(--header-h); padding: 0 var(--s5);
       gap: 8px var(--s4); background: var(--surface); }
.brand { font-weight: 800; font-size: 18px; }
.menu { gap: 4px; flex: 1 1 auto; }
.menu a { height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px;
          font-weight: 600; font-size: 14px; white-space: nowrap; }
.menu a:hover { background: var(--subtle); }
.menu a[aria-current="page"] { background: var(--tint); color: var(--brand-strong); }
.top-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.theme-toggle { height: 40px; min-width: 40px; border: 1px solid var(--line); border-radius: 10px;
                background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }

.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: var(--r);
       font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { border-color: var(--ctl); color: var(--ink); background: transparent; font-weight: 600; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s6); margin-bottom: var(--s6); }
.hero-text { flex: 1 1 340px; }
.eyebrow { margin: 0 0 var(--s3); font-size: 12px; font-weight: 700; letter-spacing: .12em;
           text-transform: uppercase; color: var(--ink2); }
.hero h1 { margin: 0 0 var(--s3); }
.hero .lead { max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero-coin { width: 214px; height: 214px; flex: none; border-radius: 50%; background: var(--subtle);
             border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center;
             justify-content: center; gap: 6px; color: var(--ctl); font-size: 11px; letter-spacing: .12em; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
                margin: var(--s6) 0 var(--s3); }
.section-head h2 { margin: 0; }
.section-more { font-weight: 600; font-size: 14px; text-decoration: none; }
/* #187 (owner 2026-09-24): the «all» link sits beside the heading, not alone at the far right of a short row. */
.section-head { justify-content: flex-start; column-gap: var(--s4); flex-wrap: wrap; }
.crumbs { margin: 0 0 var(--s3); font-size: 13px; color: var(--ink2); }
.crumbs a { color: inherit; }

/* «Монетека там, де вам зручно» / «Колекція, яка рахує сама» — the two value blocks of vHome. */
.pitch { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
         margin: var(--s6) 0; }
.pitch > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
               padding: var(--s5); }
.pitch h2 { margin: 0 0 var(--s2); font-size: 20px; }
.pitch p { margin: 0; color: var(--ink2); }

@media (max-width: 640px) {
  .top { padding: 0 var(--s4); }
  .menu { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: 6px; }
  .hero-coin { display: none; }
}

/* ─── #139 v2: the coin screen ───────────────────────────────────────────────────────────────── */
.coin-meta { margin: 0 0 var(--s4); color: var(--ink2); }
.coin-faq { margin-top: var(--s5, 32px); }
.coin-faq .faq-item { padding: 12px 0; border-top: 1px solid var(--line); }
.coin-faq .faq-item:first-of-type { border-top: 0; }
.coin-faq h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.4; }
.coin-faq p { margin: 0; color: var(--ink2); }
.coin section { margin: var(--s6) 0; }
.chart .amount { display: inline; }
.chart-head { display: flex; align-items: baseline; gap: var(--s3); margin: 0 0 var(--s3); }
.chart-delta { font-weight: 700; color: var(--ink2); }
.chart-delta.is-up { color: var(--brand-strong); }
.chart-delta.is-down { color: var(--err); }
/* The sparkline is stretched by `preserveAspectRatio="none"`, so it needs an explicit box; `currentColor`
   keeps the stroke correct in both themes without a second rule. */
.spark { display: block; width: 100%; max-width: 600px; height: 160px; color: var(--brand);
         background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
         padding: var(--s2); margin: 0 0 var(--s3); }
/* A 1248px shell must not turn descriptions into 200-character lines: prose keeps a reading measure,
   while tables, photo rows and the chart keep the full width. */
.coin p, .coin dd, .about p, .taxonomy p { max-width: 74ch; }

/* ─── #138 v2: catalogue facets ───────────────────────────────────────────────────────────────── */
.facets { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: end; margin: var(--s5) 0;
          padding: var(--s4); background: var(--surface); border: 1px solid var(--line);
          border-radius: var(--r-lg); }
.facet { display: grid; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
         text-transform: uppercase; color: var(--ink2); }
.facet select { font: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none;
                color: var(--ink); background: var(--surface); border: 1px solid var(--line);
                border-radius: var(--r-sm); padding: 8px 10px; max-width: 220px; }
.facet-actions { display: flex; gap: var(--s2); margin-left: auto; }
@media (max-width: 640px) { .facet, .facet select { width: 100%; max-width: none; }
                            .facet-actions { margin-left: 0; width: 100%; } }
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin: var(--s3) 0 0; }

/* ─── #141 v2: account statistics tiles ───────────────────────────────────────────────────────── */
.stats { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
         margin: var(--s4) 0; }
.stat { display: grid; gap: 2px; padding: var(--s4); background: var(--surface);
        border: 1px solid var(--line); border-radius: var(--r); }
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
              color: var(--ink2); }
.stat-value { font-size: 24px; }
.stat-note { font-size: 13px; color: var(--ink2); }
/* #141: the profile identity card. `.auth` caps its width, so the card sits in a readable column. */
.identity { display: flex; align-items: center; gap: var(--s3); margin: var(--s4) 0; }
.identity-initial { display: inline-flex; align-items: center; justify-content: center; width: 56px;
                    height: 56px; flex: none; border-radius: 50%; background: var(--tint);
                    color: var(--brand-strong); font-size: 22px; font-weight: 700; }
.identity-who { display: grid; gap: 2px; }
.account .stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* #144 Статті: текстовий розділ. Колонка вужча за каталожну — читання, а не сітка карток. */
.posts { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s4);
         max-width: 820px; }
.post { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.post h2 { margin: var(--s2) 0 var(--s2); font-size: 22px; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover { text-decoration: underline; }
.post-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin: 0; }
.post-when { color: var(--muted); font-size: 13px; }
.post-lead { margin: 0 0 var(--s2); color: var(--ink2); max-width: 74ch; }
.post-by { margin: 0; color: var(--muted); font-size: 13px; }
.preview-note { margin: var(--s3) 0 0; padding: 10px 14px; border-radius: var(--r-sm);
                background: var(--subtle); max-width: 74ch; font-size: 14px; }
.post-page { max-width: 760px; }
.byline { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: baseline; margin: var(--s4) 0 0;
          padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.byline-who { font-weight: 700; }
.byline-role { color: var(--muted); font-size: 13px; }
.prose { margin: var(--s5) 0; }
.prose p, .prose li { max-width: 68ch; font-size: 17px; line-height: 1.7; }
.prose h2 { margin: var(--s6) 0 var(--s3); font-size: 22px; }
.prose-list { padding-left: 20px; display: grid; gap: 6px; }
.pull { margin: var(--s5) 0; padding: var(--s4) var(--s5); border-left: 3px solid var(--brand);
        background: var(--subtle); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.pull p { margin: 0 0 6px; font-size: 18px; }
.pull cite { color: var(--muted); font-size: 13px; font-style: normal; }
.post-coins, .post-sources { margin: var(--s6) 0; }
.post-coins h2, .post-sources h2 { font-size: 20px; margin: 0 0 var(--s3); }
.sources { padding-left: 20px; display: grid; gap: 8px; }
.sources li { max-width: 68ch; }
.post-back { margin: var(--s6) 0 0; }
@media (max-width: 720px) { .post { padding: var(--s4); } .prose p, .prose li { font-size: 16px; } }

/* #146 Маркет: верстка розділу, який ще не працює. Дії намальовані, але не клікабельні —
   кнопка, що нічого не робить, читається як поламаний продукт, а не як прев'ю. */
.market h2 { font-size: 20px; margin: 0 0 var(--s3); }
.market-block { margin: var(--s6) 0; }
.market-tabs { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3);
               grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.market-tabs li { padding: var(--s4); background: var(--surface); border: 1px solid var(--line);
                  border-radius: var(--r-lg); display: grid; gap: 6px; }
.market-tabs strong { font-size: 17px; }
.market-tabs span { color: var(--ink2); font-size: 14px; }
.market-tab-link a { color: var(--ink); text-decoration: none; }
.matches, .offers, .legs, .rows { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.match, .offer, .leg, .row { padding: var(--s4); background: var(--surface); border: 1px solid var(--line);
                             border-radius: var(--r-lg); }
.match-top, .offer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
                         gap: var(--s2) var(--s3); margin: 0 0 var(--s3); }
.match-legs { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.leg-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
             text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.thumb { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); }
.thumb img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--subtle); }
.thumb .nophoto { width: 64px; height: 64px; font-size: 10px; margin: 0; border-radius: 8px; }
.thumb-note { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; max-width: 60ch; }
.who { display: inline-flex; align-items: center; gap: var(--s2); }
.who-initial { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
               border-radius: 50%; background: var(--tint); color: var(--brand-strong); font-weight: 700; }
.who-text { display: grid; }
.who-name { font-weight: 600; }
.who-meta { color: var(--muted); font-size: 13px; }
.offer h3 { margin: 0 0 4px; font-size: 18px; }
.offer h3 a { color: var(--ink); text-decoration: none; }
.offer-price { font-weight: 700; }
.offer-per, .offer-meta { color: var(--ink2); font-size: 14px; }
.offer-seller { margin: var(--s3) 0 0; }
.act { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 4px; }
.act-primary, .act-second { display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
                            border-radius: var(--r); font-weight: 600; cursor: not-allowed; }
.act-primary { background: var(--tint); color: var(--brand-strong); }
.act-second { border: 1px solid var(--line); color: var(--ink2); }
.act-note { margin: 0; color: var(--muted); font-size: 13px; }
.trade-status { margin: var(--s2) 0; font-size: 26px; }
.trade-move { margin: 0 0 var(--s2); }
.trade-deadline { color: var(--muted); }
.trade-result { padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--subtle); max-width: 74ch; }
.trade-attention .trade-status, .trade-attention { color: inherit; }
.leg-ok { border-left: 3px solid var(--brand); }
.leg-attention { border-left: 3px solid var(--warn); }
.leg-wait { border-left: 3px solid var(--line); }
.leg-head, .leg-status, .leg-next { margin: 0 0 4px; }
.leg-status { font-weight: 600; }
.leg-next { color: var(--ink2); }
.row { display: grid; gap: 4px; }
.row-name a { color: var(--ink); }
.row-state { font-weight: 600; }
.row-note { color: var(--ink2); font-size: 14px; }
.row-done { border-left: 3px solid var(--brand); }
.row-warn { border-left: 3px solid var(--warn); }
.row-attention { border-left: 3px solid var(--warn); }
.row-ok { border-left: 3px solid var(--brand); }
.row-wait { border-left: 3px solid var(--line); }
@media (max-width: 720px) { .match, .offer, .leg, .row { padding: var(--s3); } .trade-status { font-size: 22px; } }

/* #145 «Спільнота» */
.groups { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s4);
          grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; }
.group { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.group h2 { margin: var(--s2) 0; font-size: 22px; }
.group .btn { margin-top: var(--s2); }
.rules { margin: var(--s5) 0 0; padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--tint);
         max-width: 820px; }
.rules h2 { margin: 0 0 var(--s2); font-size: 18px; }
.rules p { margin: 0; color: var(--ink2); max-width: 74ch; }

/* #143 «Персони» */
a.pill { color: var(--ink); text-decoration: none; }
.pill-on { background: var(--tint); color: var(--brand-strong); font-weight: 600; }
a.pill-on { color: var(--brand-strong); }
.role-tabs, .letters { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 0; }
.people-search { display: flex; gap: var(--s2); margin: var(--s4) 0 0; max-width: 520px; }
.people-search input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; font: inherit; color: var(--ink);
                       background: var(--surface); border: 1px solid var(--ctl); border-radius: var(--r); }
.people { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3);
          grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.person-card { display: flex; gap: var(--s3); align-items: flex-start; height: 100%; padding: var(--s4);
               background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
               color: var(--ink); text-decoration: none; }
.person-card:hover { border-color: var(--ctl); }
.person-card > span:last-child { display: grid; gap: 2px; }
.person-name { font-weight: 700; }
.initials { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
            border-radius: 50%; background: var(--tint); color: var(--brand-strong); font-weight: 700; }
.initials-lg { width: 72px; height: 72px; font-size: 24px; }
.role-tag { justify-self: start; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
            text-transform: uppercase; color: var(--muted); }
.role-both { color: var(--brand-strong); }
.person-head { display: grid; gap: var(--s4) var(--s5); grid-template-columns: minmax(0, 1fr) 320px; margin: var(--s4) 0 0; }
.person-who { display: flex; gap: var(--s4); align-items: center; }
.person-who h1 { margin: 0; }
.person-bio { grid-column: 1; margin: 0; color: var(--ink2); max-width: 74ch; }
.person-works { grid-column: 2; grid-row: 1 / span 2; padding: var(--s4) var(--s5); background: var(--surface);
                border: 1px solid var(--line); border-radius: var(--r-lg); }
.person-works .meta { display: block; margin: var(--s2) 0 0; font-size: 13px; }
.works { display: flex; gap: var(--s5); margin: 0; }
.works span { display: grid; color: var(--muted); font-size: 13px; }
.works strong { color: var(--ink); font-size: 28px; line-height: 1.1; }
.person-section { margin: var(--s6) 0 0; }
.person-section h2 .meta { font-size: 14px; font-weight: 400; color: var(--muted); }
@media (max-width: 760px) { .person-head { grid-template-columns: 1fr; }
                            .person-works { grid-column: 1; grid-row: auto; } }

/* v2 coin card (#137/#139): the prototype's `cardOf` — a tinted square for the photo with the release badge,
   then name, a mono «рік · номінал · метал» line, the price with its source and date, the status line and,
   in the catalogue, the collection actions. Cards in a row share one height (grid stretch + flex column). */
.cards { list-style: none; display: grid; gap: var(--s5); padding: 0; margin: 0;
         grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.coin-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface);
             border: 1px solid var(--line); border-radius: var(--r-lg); }
.cc-media { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
            aspect-ratio: 1; padding: var(--s6) var(--s5) var(--s5); background: var(--subtle); text-decoration: none; }
/* The photo box is a fixed square: the image is taken out of the flow, so a wide or tall photo (a set of two
   coins) can never stretch its card past its neighbours. */
.cc-media { overflow: hidden; }
.cc-media img { position: absolute; top: var(--s6); left: var(--s5); width: calc(100% - 2 * var(--s5));
                height: calc(100% - var(--s6) - var(--s5)); object-fit: contain; }
.cc-badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: var(--r-pill);
            font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.cc-badge-new { background: var(--brand); color: var(--on-brand); }
.cc-badge-soon { background: var(--warn-bg); color: var(--warn); }
.cc-empty { display: flex; flex-direction: column; align-items: center; gap: var(--s4); width: 100%; height: 100%;
            justify-content: center; }
.cc-empty::before { content: ''; width: 64%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--ctl); opacity: .6; }
.cc-empty span, .hero-coin span { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink2); }
.cc-body { display: flex; flex-direction: column; flex: 1; padding: var(--s4); }
.cc-name { color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.35; text-decoration: none;
           display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-name:hover { color: var(--brand-strong); }
.cc-note, .cc-meta, .cc-sub { margin: 6px 0 0; font: 400 12px/1.5 var(--mono); color: var(--ink2); }
.cc-price { margin: var(--s4) 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.cc-noprice { font-size: 17px; font-weight: 700; }
.cc-status { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--brand-strong); }
.cc-status-soon { color: var(--warn); }
.cc-actions { display: flex; gap: var(--s2); margin-top: auto; padding-top: var(--s4); }
.cc-actions .btn { flex: 1; justify-content: center; height: 44px; padding: 0 12px; font-size: 14px; }
.btn-icon { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
            border: 1px solid var(--ctl); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 18px; }
.cc-body > :last-child:not(.cc-actions) { margin-bottom: 0; }
/* #159: purchases of a collected coin, as the Mini App `PurchaseLines`. */
.cc-lots { display: flex; flex-direction: column; gap: 2px; margin: var(--s3) 0 0; padding: 8px 10px;
           background: var(--tint); border-radius: var(--r); }
.cc-lot { font: 500 12px/1.5 var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-lot-more { color: var(--ink2); }
.cc-actions .cc-owned { color: var(--brand-strong); border-color: var(--brand); }
/* #160 hearts on cards and the coin page. */
/* Owner 2026-09-24: the heart is green while it is an action (♡ «У бажане»); once pressed it turns grey (♥ in
   «Бажане», a press removes it). A coin in the collection keeps a grey filled heart that does nothing. */
.cc-actions .btn-icon[href^="/account/wishlist/add/"], .coin-wish { color: var(--brand-strong); border-color: var(--brand); }
.cc-actions .btn-icon[href^="/account/wishlist/add/"] { font-size: 20px; }
.cc-actions .btn-icon[href^="/account/wishlist/add/"]:hover, .coin-wish:hover { background: var(--tint); }
.cc-actions .btn-icon.wl-on, .coin-wish.wl-on { color: var(--ink2); border-color: var(--line); background: var(--subtle); }
.cc-actions .btn-icon.wl-owned { color: var(--ink2); background: var(--subtle); border-color: var(--line); cursor: default; }
.thumb .cc-empty::before { width: 70%; }

/* v2 hero (#137): two-line headline and two coin placeholders, as in vHome. */
.hero { justify-content: space-between; margin: var(--s5) 0 var(--s6); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.hero .eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .14em; }
.hero .lead { font-size: 19px; }
.hero-coins { position: relative; width: 460px; height: 350px; flex: none; }
.hero-coins .hero-coin { position: absolute; top: 0; left: 0; width: 216px; height: 216px; gap: 0; justify-content: flex-end;
                         padding-bottom: 36px; }
.hero-coins .hero-coin::before { content: ''; position: absolute; inset: 30px; border-radius: 50%; border: 2px dashed var(--ctl); }
.hero-coins .hero-coin-back { top: 44px; left: 236px; }
.hero-photo { display: block; text-decoration: none; }
.hero-photo .hero-coin { padding: 0; object-fit: contain; background: transparent; border: 0; border-radius: 0; } /* owner 2026-09-23: transparent photos need no round mask — a set of two coins was cut at the corners */
.hero-photo .hero-coin::before { content: none; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 500 12px/1.4 var(--mono);
                letter-spacing: .06em; color: var(--ink2); }
@media (max-width: 900px) { .hero-coins { display: none; } }
h1, h2, h3 { letter-spacing: -.01em; }
main section h2, .section-head h2 { font-size: 30px; font-weight: 700; }

/* v2 shell header: logo mark, tabs, «Довідники» dropdown (<details>), search, account chip. */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 16px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
              border: 1.5px solid var(--brand); border-radius: 50%; color: var(--brand); font-size: 12px; letter-spacing: 0; }
.menu { flex: 0 1 auto; flex-wrap: nowrap; }
.menu a, .more summary { font-weight: 600; font-size: 15px; white-space: nowrap; }
.more { position: relative; }
.more summary { list-style: none; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
                border-radius: 10px; cursor: pointer; color: var(--ink); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: '▾'; font-size: 12px; }
.more summary:hover { background: var(--subtle); }
.more summary[aria-current="page"] { background: var(--tint); color: var(--brand-strong); }
.more-menu { position: absolute; top: 48px; left: 0; z-index: 60; min-width: 200px; display: grid; padding: 6px;
             background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
             box-shadow: 0 8px 24px rgba(22, 33, 28, .12); }
.more-menu a { height: 40px; }
.top-search { flex: 1 1 200px; max-width: 240px; margin-left: auto; }
.top-search input { width: 100%; height: 44px; padding: 0 14px 0 36px; font: inherit; font-size: 15px; color: var(--ink);
                    background: var(--subtle) no-repeat 13px 50% / 14px
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5.5' fill='none' stroke='%237B897F' stroke-width='1.5'/%3E%3C/svg%3E");
                    border: 1px solid var(--ctl); border-radius: var(--r); }
.top-actions { margin-left: 0; }
.acct-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px;
             border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 600; text-decoration: none; }
.acct-chip .initials { width: 32px; height: 32px; font-size: 13px; }
.acct-menu summary.acct-chip { padding: 0 14px 0 6px; font-size: 15px; }
.acct-menu .more-menu { left: auto; right: 0; min-width: 220px; }
.acct-menu .more-menu a { display: flex; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--ink);
                          font-weight: 600; font-size: 14px; text-decoration: none; }
.acct-menu .more-menu a:hover { background: var(--subtle); }
.acct-menu .more-menu .acct-logout { color: var(--negative); }
@media (max-width: 1180px) { .top-search { display: none; } }
/* «Спільнота» joined the menu (owner 2026-09-23): tighten before the header wraps, then drop the search. */
@media (max-width: 1400px) { .top-search { max-width: 170px; } .menu a, .more summary { padding: 0 9px; } }
@media (max-width: 1300px) { .top-search { display: none; } }
@media (max-width: 1120px) { .menu a, .more summary { padding: 0 6px; font-size: 14px; } }
/* «Стрічка новин» (owner 2026-09-24) is longer than «Спільнота»: one more step before the header wraps. */
@media (max-width: 1060px) { .menu a, .more summary { padding: 0 4px; font-size: 13px; } }
/* #206 (owner 2026-09-29): on a phone the sections fold behind ☰ and open as a list under the header. */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; }
  .nav-burger { display: inline-flex; order: 2; margin-left: auto; width: 44px; height: 44px; align-items: center;
                justify-content: center; border-radius: 10px; cursor: pointer; color: var(--ink); }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ''; display: block; width: 20px; height: 2px;
                border-radius: 2px; background: currentColor; position: relative; transition: transform .15s, background .15s; }
  .nav-burger span::before { position: absolute; top: -6px; }
  .nav-burger span::after { position: absolute; top: 6px; }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--brand); outline-offset: 2px; }
  /* Owner 2026-09-29: the phone header is only the logo (left) and ☰ (right); «Увійти» / «Кабінет» and the
     theme switch fold into the same panel, below the sections. */
  .top .top-actions { display: none; order: 5; flex-basis: 100%; width: 100%; margin-left: 0; flex-wrap: nowrap;
                 align-items: flex-start; justify-content: space-between; gap: var(--s3); padding: 0 0 12px; }
  .top .nav-toggle:checked ~ .top-actions { display: flex; }
  /* One row: a smaller «Увійти» / cabinet chip on the left, the theme switch as a pill on the right. */
  .top-actions .btn { order: -1; height: 40px; padding: 0 20px; font-size: 14px; }
  .top-actions .acct-menu { flex: 0 1 auto; min-width: 0; order: -1; }
  .top-actions .acct-menu summary.acct-chip { height: 40px; font-size: 14px; }
  .top-actions .theme-toggle { position: relative; flex: none; width: 52px; min-width: 0; height: 30px; margin-top: 5px;
                               padding: 0; border-radius: 999px; background: var(--subtle); font-size: 0; color: transparent; }
  .top-actions .theme-toggle::before { content: '☀'; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px;
                               display: grid; place-items: center; border-radius: 50%; background: var(--surface);
                               box-shadow: 0 1px 3px rgba(0, 0, 0, .2); font-size: 13px; color: var(--ink); transition: transform .15s; }
  :root[data-theme="dark"] .top-actions .theme-toggle { background: var(--brand); border-color: var(--brand); }
  :root[data-theme="dark"] .top-actions .theme-toggle::before { content: '☾'; transform: translateX(22px); }
  .menu { display: none; order: 4; flex-basis: 100%; width: 100%; flex-direction: column; flex-wrap: nowrap; gap: 2px;
          overflow: visible; padding: 4px 0 12px; border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ .menu { display: flex; }
  .menu a, .more summary { height: 48px; padding: 0 12px; font-size: 16px; }
  .more-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .acct-menu .more-menu { position: static; box-shadow: none; border: 0; padding: 4px 0 0 12px; min-width: 0; }
  .acct-menu .more-menu a { height: 48px; font-size: 16px; }
}

/* #142 vCalendar */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: var(--s6); margin-top: var(--s5); align-items: start; }
.cal-card { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); }
.cal-head h2 { margin: 0; font-size: 22px; }
.cal-src { margin: 0; font: 500 12px/1.4 var(--mono); color: var(--ink2); }
.cal-nav { display: flex; justify-content: space-between; margin: var(--s2) 0 var(--s3); font-size: 14px; font-weight: 600; }
.cal-nav a { text-decoration: none; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.cal-grid th { font: 500 12px/1 var(--mono); color: var(--ink2); padding: 6px 0 10px; }
.cal-grid td { text-align: center; padding: 0; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
           aspect-ratio: 1; max-height: 92px; margin: 0 auto; width: 100%; border-radius: var(--r); font-weight: 600; font-size: 15px; }
.cal-busy { background: var(--subtle); border: 1px solid var(--line); }
.cal-today { outline: 2px solid var(--brand); outline-offset: -2px; }
.cal-dots { display: flex; gap: 4px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-ok { background: var(--brand); }
.dot-done { background: var(--ctl); }
.dot-sale { background: var(--info); }
.cal-legend { display: flex; flex-wrap: wrap; gap: var(--s4); margin: var(--s4) 0 0; font-size: 14px; color: var(--ink2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-events { display: grid; gap: var(--s3); }
.cal-event { display: grid; gap: 6px; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--line);
             border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.cal-event:hover { border-color: var(--ctl); }
.cal-event-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.cal-when { font: 500 13px/1.3 var(--mono); color: var(--ink2); }
.cal-status { padding: 5px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; white-space: nowrap; }
.cal-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s1); }
.cal-status-ok, .cal-status-done { background: var(--brand); color: var(--on-brand); }
.cal-status-done { background: var(--tint); color: var(--brand-strong); }
.cal-status-sale { background: var(--info-bg); color: var(--info); }
.cal-event-name { font-weight: 700; }
.cal-event-note { font-size: 14px; color: var(--ink2); }
/* #153: two small filters (year, month) in the calendar head; plan items (month precision, no card). */
.cal-filters { display: flex; gap: var(--s2); margin: 0; }
.cal-filters select { padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
                      color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; }
a.cal-day { color: inherit; text-decoration: none; cursor: pointer; }
a.cal-day:hover { border-color: var(--ctl); }
.cal-picked { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.cal-picked .dot { box-shadow: 0 0 0 1px var(--on-brand); }
.cal-dayhead { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 15px; }
.cal-dayhead a { font-weight: 600; text-decoration: none; }
/* Owner 2026-09-23: the event list is as tall as the calendar card, then «Показати всі» (JS adds `.js`). */
.cal-side { display: grid; gap: var(--s3); align-content: start; }
.cal-events { align-content: start; }
.cal-expand { padding: 10px var(--s4); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
              color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
@media (min-width: 961px) {
  .js .cal-layout { align-items: stretch; }
  .js .cal-side { position: relative; display: block; min-height: 320px; }
  .js .cal-side .cal-events { position: absolute; inset: 0 0 56px 0; overflow: hidden;
                              -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
  .js .cal-side .cal-expand { position: absolute; left: 0; right: 0; bottom: 0; }
  .js .cal-side.cal-open { display: grid; }
  .js .cal-side.cal-open .cal-events { position: static; -webkit-mask-image: none; mask-image: none; }
  .js .cal-side.cal-open .cal-expand, .js .cal-side.cal-fits .cal-expand { display: none; }
  .js .cal-side.cal-fits .cal-events { inset: 0; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 960px) {
  .js .cal-side:not(.cal-open) .cal-events { max-height: 540px; overflow: hidden;
                                             -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }
  .js .cal-side.cal-open .cal-expand, .js .cal-side.cal-fits .cal-expand { display: none; }
}
.cal-plan { margin-top: var(--s5); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cal-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s4); }
.cal-plan-head h2 { margin: 0; font-size: 20px; }
.cal-changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s5); }
.cal-changes li { display: grid; gap: 2px; padding: var(--s3) 0; border-top: 1px solid var(--line); font-size: 14px; }
.cal-change-kind { font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); }
.cal-change-name { font-weight: 600; }
.cal-change-detail { color: var(--ink2); }
.cal-change-more { display: none !important; }
.cal-plan:has(.cal-changes-all[open]) .cal-change-more { display: grid !important; }
.cal-changes-all { margin-top: var(--s3); }
.cal-changes-all > summary { cursor: pointer; font-weight: 600; color: var(--brand-strong); list-style: none; }
.cal-changes-all > summary::-webkit-details-marker { display: none; }
.cal-changes-all[open] > summary { display: none; }
@media (max-width: 760px) { .cal-changes { grid-template-columns: 1fr; } }
.cal-status-plan { background: var(--subtle); color: var(--ink2); border: 1px dashed var(--line); }
.dot-plan { background: transparent; border: 1px dashed var(--ink2); }
.cal-event-plan { border-style: dashed; }
/* #154: «Схожі монети» — one row scrolling sideways, «Відкрити всі» beside the title. */
.related-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.related-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.related-row { overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding-bottom: var(--s2); }
.related-row .cards { display: flex; gap: var(--s4); }
.related-row .coin-card { flex: 0 0 220px; scroll-snap-align: start; }
@media (max-width: 640px) { .related-row .coin-card { flex-basis: 70%; } }
/* Coin description (owner 2026-09-23: «все зливається»): cards with a small label; the first block spans the row. */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.about-block { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.about-lead { grid-column: 1 / -1; background: var(--tint); border-color: transparent; }
.about-label { margin: 0 0 var(--s3); font: 600 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase;
               color: var(--brand-strong); }
.about-block p { margin: 0; max-width: none; font-size: 16px; line-height: 1.65; color: var(--ink); }
.about-lead p { font-size: 17px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.about .source { grid-column: 1 / -1; margin: 0; }
.about-block .source { margin-top: var(--s3); }
/* #150 «Спільнота»: a neat Telegram strip, the composer and the shared feed. */
.sr-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tg-strip { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); padding: var(--s3) var(--s4);
            background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink);
            text-decoration: none; max-width: 760px; }
.tg-strip:hover { border-color: var(--ctl); }
.tg-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #2AABEE; color: #fff; }
.tg-text { display: grid; gap: 2px; min-width: 0; }
.tg-text small { color: var(--ink2); font-size: 13px; }
.tg-cta { margin-left: auto; font-weight: 600; white-space: nowrap; color: var(--brand-strong); }
@media (max-width: 640px) { .tg-cta { display: none; } }
.feed { margin-top: var(--s5); max-width: 760px; padding: var(--s4); background: var(--subtle); border: 1px solid var(--line);
        border-radius: var(--r-lg); }
.feed-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2); margin: 0 0 var(--s3); }
.feed-head h2 { font-size: 22px; margin: 0; }
.feed-live { color: var(--ink2); font-size: 13px; }
/* Owner 2026-09-24: a compact bar — borderless line icons on the left, counter and send on the right. */
.composer-bar { display: flex; align-items: center; gap: var(--s2); }
.composer-tools { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; flex: 1; min-width: 0; }
.composer-tools .tool-sep { width: 1px; height: 20px; margin: 0 4px; background: var(--line); }
.composer-send { flex: none; height: 38px; padding: 0 16px; font-size: 14px; }
.composer-count[hidden], .composer-note[hidden] { display: none; }
.composer-note { margin: 0; font-size: 13px; }
.ico { display: block; }
.composer-send .ico { display: none; }
.composer-tools .tool { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
                        border: 0; border-radius: var(--r); background: none; color: var(--ink2); cursor: pointer; }
.composer-tools .tool:hover, .composer-tools .tool[aria-expanded="true"] { background: var(--tint); color: var(--brand-strong); }
.composer-tools .tool:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
@media (max-width: 480px) {
  .composer-tools { gap: 0; }
  .composer-tools .tool { width: 30px; height: 32px; }
  .composer-tools .tool-sep { margin: 0 2px; }
  .composer-send { width: 40px; padding: 0; justify-content: center; }
  .composer-send .send-text { display: none; }
  .composer-send .ico { display: block; }
}
.composer-count { flex: none; color: var(--ink2); font: 500 12px/1 var(--mono); }
.emoji-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 2px; padding: var(--s2);
               border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.emoji-panel[hidden] { display: none; }
.emoji-panel button { height: 40px; border: 0; border-radius: var(--r); background: none; font-size: 22px; cursor: pointer; }
.emoji-panel button:hover { background: var(--tint); }
.post-item { display: flex; gap: var(--s3); }
.post-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
               background: var(--tint); color: var(--brand-strong); font-weight: 700; }
.post-avatar { position: relative; overflow: hidden; }
.post-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-main { flex: 1; min-width: 0; }
.community-page .rules { max-width: 760px; box-sizing: border-box; }
.composer { display: grid; gap: var(--s2); padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.composer textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 64px; padding: var(--s3); border: 1px solid var(--line);
                     border-radius: var(--r); background: var(--bg, var(--surface)); color: var(--ink); font: inherit; line-height: 1.5; }
.composer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2); }
.composer-foot .note { margin: 0; font-size: 13px; }
.composer-quote { display: flex; gap: var(--s2); align-items: start; padding: var(--s2) var(--s3); border-left: 3px solid var(--brand);
                  background: var(--tint); border-radius: 0 var(--r) var(--r) 0; font-size: 14px; }
.composer-quote span { flex: 1; min-width: 0; }
.composer-unquote { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink2); }
.composer-login { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); color: var(--ink2); margin: 0; }
.posts { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.post-item { padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.post-meta { margin: 0 0 var(--s2); display: flex; gap: var(--s2); align-items: baseline; font-size: 14px; }
.post-meta time { color: var(--ink2); font: 500 12px/1.2 var(--mono); }
.post-body { margin: 0; white-space: pre-line; line-height: 1.6; overflow-wrap: anywhere; }
/* #163 Е2: photos in a post — one wide, two side by side, three/four in a 2×2 grid. */
.post-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: var(--s3) 0 0; max-width: 520px;
               border-radius: var(--r); overflow: hidden; }
.post-photos a { display: block; background: var(--subtle); }
.post-photos img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.post-photos-1 { grid-template-columns: 1fr; }
.post-photos-1 img { aspect-ratio: auto; max-height: 420px; object-fit: contain; }
.post-photos-3 a:first-child { grid-row: span 2; }
.composer-tools label.tool { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
/* #163 Е3: a poll — options as buttons; bars appear once the visitor voted (or for a guest, who cannot vote).
   Widths are classes: the site's CSP forbids inline styles. */
.poll { display: grid; gap: 6px; margin: var(--s3) 0 0; max-width: 520px; }
.poll-option { position: relative; display: flex; justify-content: space-between; gap: var(--s3); min-height: 40px;
               padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
               color: var(--ink); font: inherit; font-size: 14px; text-align: left; overflow: hidden; cursor: pointer; }
.poll-option:hover:not(:disabled) { border-color: var(--brand); }
.poll-option:disabled { cursor: default; }
.poll-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--tint); }
.poll-option > span { position: relative; }
.poll-pct { font-weight: 700; font-variant-numeric: tabular-nums; }
.poll:not(.is-shown) .poll-fill, .poll:not(.is-shown) .poll-pct { display: none; }
.poll-option.is-mine { border-color: var(--brand); font-weight: 600; }
.poll-total { margin: 0; font-size: 13px; color: var(--ink2); }
.poll-fill.w-0 { width: 0%; } .poll-fill.w-5 { width: 5%; } .poll-fill.w-10 { width: 10%; } .poll-fill.w-15 { width: 15%; } .poll-fill.w-20 { width: 20%; } .poll-fill.w-25 { width: 25%; } .poll-fill.w-30 { width: 30%; } .poll-fill.w-35 { width: 35%; } .poll-fill.w-40 { width: 40%; } .poll-fill.w-45 { width: 45%; } .poll-fill.w-50 { width: 50%; } .poll-fill.w-55 { width: 55%; } .poll-fill.w-60 { width: 60%; } .poll-fill.w-65 { width: 65%; } .poll-fill.w-70 { width: 70%; } .poll-fill.w-75 { width: 75%; } .poll-fill.w-80 { width: 80%; } .poll-fill.w-85 { width: 85%; } .poll-fill.w-90 { width: 90%; } .poll-fill.w-95 { width: 95%; } .poll-fill.w-100 { width: 100%; }
.poll-editor { display: grid; gap: 6px; }
.poll-editor[hidden] { display: none; }
.poll-editor input { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.poll-editor .cta-link { justify-self: start; }
/* #163 Е4: coins a post is about, @mentions, the coin picker and the «you were mentioned» strip. */
.post-coins { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 0; }
.post-coin { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 12px 4px 4px;
             border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--canvas); color: var(--ink);
             font-size: 13px; font-weight: 600; text-decoration: none; }
.post-coin:hover { border-color: var(--brand); }
.post-coin img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; background: var(--subtle); }
.post-coin span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-coin small { color: var(--ink2); font-weight: 400; }
.mention { color: var(--brand-strong); font-weight: 600; }
/* #163 Е5: MONETEKA's own news. */
.post-system .post-avatar { background: var(--brand); color: var(--on-brand); }
.post-auto { padding: 2px 8px; border-radius: var(--r-pill); background: var(--tint); color: var(--brand-strong);
             font: 600 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
/* Owner 2026-09-25: MONETEKA's posts coloured by topic — a stripe on the left and the matching label. */
.post-system { border-left: 4px solid var(--topic, var(--brand)); }
.post-system .post-avatar { background: var(--topic, var(--brand)); }
.post-system .post-auto { background: color-mix(in srgb, var(--topic, var(--brand)) 14%, transparent); color: var(--topic, var(--brand-strong)); }
.post-topic-sale { --topic: #1f9d55; }
.post-topic-announce { --topic: #c2410c; }
.post-topic-issue { --topic: #2f6fdb; }
.post-topic-soon { --topic: #d98a00; }
.post-topic-plan { --topic: #6b7280; }
.post-topic-price { --topic: #8b5cf6; }
.post-topic-month { --topic: #0e9aa7; }
.post-auto { white-space: nowrap; }
@media (max-width: 560px) { .post-system .post-meta { flex-wrap: wrap; row-gap: 2px; } }
.feed-about { margin: 0 0 var(--s3); font-size: 14px; }
.feed-mentions { margin: 0 0 var(--s3); padding: 10px 14px; border-radius: var(--r); background: var(--tint); font-size: 14px; }
.feed-mentions[hidden] { display: none; }
.feed-mentions a { margin-left: 6px; }
.coin-picker { display: grid; gap: 6px; }
.coin-picker[hidden], .composer-coins[hidden] { display: none; }
.coin-picker input { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.coin-picker-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 240px; overflow-y: auto; }
.coin-picker-results button { width: 100%; padding: 8px 10px; border: 0; border-radius: var(--r); background: none; color: var(--ink);
                              font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.coin-picker-results button:hover { background: var(--subtle); }
.composer-coins { display: flex; flex-wrap: wrap; gap: var(--s2); }
.composer-coins .post-coin button { border: 0; background: none; color: var(--ink2); font-size: 16px; cursor: pointer; padding: 0 0 0 4px; }
.composer-photos { display: flex; flex-wrap: wrap; gap: var(--s2); }
.composer-photos[hidden] { display: none; }
.composer-photo { position: relative; width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.composer-photo img { width: 100%; height: 100%; object-fit: cover; }
.composer-photo button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border: 0; border-radius: 50%;
                         background: rgba(0, 0, 0, .6); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.post-quote { margin: 0 0 var(--s2); padding: var(--s2) var(--s3); border-left: 3px solid var(--line); color: var(--ink2);
              font-size: 14px; white-space: pre-line; }
.post-actions { display: flex; gap: var(--s4); margin: var(--s3) 0 0; }
.post-actions button { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600;
                       color: var(--ink2); cursor: pointer; }
.post-actions button:hover { color: var(--ink); }
.post-actions button[hidden] { display: none; }
/* #163 Е1: likes and views under a post. */
.post-stats { display: flex; align-items: center; gap: var(--s4); margin: var(--s3) 0 0; font-size: 13px; color: var(--ink2); }
.post-like { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line);
             border-radius: var(--r-pill); background: var(--surface); color: var(--ink2); font: inherit; font-weight: 600;
             text-decoration: none; cursor: pointer; }
span.post-like { cursor: default; }
.post-like:hover { border-color: var(--ctl); color: var(--ink); }
.post-like.is-on { border-color: var(--brand); background: var(--tint); color: var(--brand-strong); }
.post-heart { font-size: 15px; line-height: 1; }
.post-views { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.post-empty { padding: var(--s5); border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--ink2); }
.feed-more { margin: var(--s4) 0 0; }
/* #179 (owner 2026-09-24: «дуже роздуті та широкі»): a compact feed — narrower column, tighter composer and
   posts, smaller avatars and controls, so more of the feed fits on screen. Overrides the rules above by order. */
.feed, .community-page .rules, .tg-strip { max-width: 640px; }
.feed { padding: var(--s3); }
.feed-head { margin-bottom: var(--s2); }
.feed-head h2 { font-size: 18px; }
.composer { gap: 6px; padding: var(--s2) var(--s3); }
.composer textarea { min-height: 40px; padding: 8px 10px; font-size: 14px; line-height: 1.4; }
.composer-tools .tool { width: 30px; height: 30px; }
.composer-send { height: 32px; padding: 0 12px; font-size: 13px; }
.posts { margin-top: var(--s3); gap: var(--s2); }
.post-item { gap: 10px; padding: 10px 12px; }
.post-avatar { width: 32px; height: 32px; font-size: 13px; }
.post-meta { margin-bottom: 2px; font-size: 13px; }
/* #178: the author's «about» line — one muted line, cut with an ellipsis so the meta row never wraps. */
.post-meta b { flex: none; }
.post-about { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); font-size: 12px; }
.post-meta time { flex: none; }
.post-body { font-size: 14px; line-height: 1.45; }
.post-quote { margin-bottom: 6px; padding: 4px 10px; font-size: 13px; }
.post-coins, .post-photos, .poll { margin-top: var(--s2); }
.post-coin img { width: 24px; height: 24px; }
.post-photos, .poll { max-width: 420px; }
.post-photos-1 img { max-height: 300px; }
.poll-option { min-height: 32px; padding: 5px 10px; font-size: 13px; }
.post-stats { gap: var(--s3); margin-top: 6px; font-size: 12px; }
.post-like { height: 26px; padding: 0 8px; gap: 4px; }
.post-heart { font-size: 13px; }
.post-actions { gap: var(--s3); margin-top: 4px; }
.post-actions button { font-size: 12px; }
@media (max-width: 480px) { .composer-send { width: 34px; padding: 0; } .feed { padding: var(--s2); } }
/* #191 (owner 2026-09-24: «розшири по горизонталі, зроби компактніше повідомлення вертикально»): a wider column
   than #179, and a lower post — likes/views and the actions share one row, tighter text and padding. */
.feed, .community-page .rules, .tg-strip { max-width: 960px; }
.feed .posts { max-width: none; }
.post-item { padding: 8px 12px; }
.post-stats, .post-actions { display: inline-flex; vertical-align: middle; margin-top: 4px; }
.post-actions { margin-left: var(--s3); }
.post-body { line-height: 1.35; }
.post-photos, .poll { max-width: 360px; }
.post-photos-1 img { max-height: 240px; }
/* Owner 2026-09-29 («повідомлення широкі під екран більше»): the posts grid track grew to its widest nowrap line
   (author «about», coin chip, quote) — 944 px on a 390 px phone. Pin the track to the column and let the meta row wrap. */
.posts { grid-template-columns: minmax(0, 1fr); }
.post-item, .post-main { min-width: 0; }
.post-meta { flex-wrap: wrap; row-gap: 2px; }
.post-coin { min-width: 0; }
.post-quote { overflow-wrap: anywhere; }
/* Owner 2026-09-23: «Бажане» in the cabinet — the Mini App's `WishlistEmpty` and an «add» entry point. */
.wish-add-bar { margin: 0 0 var(--s3); }
.wish-empty { display: grid; justify-items: center; gap: var(--s2); padding: var(--s6) var(--s5); text-align: center;
              background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.wish-empty[hidden] { display: none; }
.wish-empty-art { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #FBE7EB;
                  color: #C2415B; font-size: 26px; }
.wish-empty h2 { margin: var(--s2) 0 0; font-size: 20px; }
.wish-empty p { margin: 0; color: var(--ink2); max-width: 40ch; }
.wish-empty .btn { margin-top: var(--s3); }
/* #192: «Маркет незабаром» reuses the empty-state card. */
.market-soon { max-width: 560px; margin: var(--s4) auto 0; }
.market-soon h1 { margin: var(--s2) 0 var(--s2); font-size: 28px; }
.market-soon-art { background: var(--tint); }
.legal section { margin-top: var(--s5); max-width: 74ch; }
.legal h2 { font-size: 20px; margin: 0 0 var(--s2); }
.legal p { line-height: 1.65; }
.foot-bottom a { color: inherit; }
.cal-empty { margin: 0; padding: var(--s5); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--ink2); }
@media (max-width: 960px) { .cal-layout { grid-template-columns: 1fr; } .cal-grid { border-spacing: 3px; } .cal-day { font-size: 13px; } }

/* v2 кабінет (vProfile / vCollection / vWish / vOrders) */
.acc-title { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: var(--s4) 0 var(--s5); }
.acc-tabs { display: flex; gap: var(--s2); border-bottom: 1px solid var(--line); margin-bottom: var(--s6); overflow-x: auto; }
.acc-tabs a { padding: 12px 18px; color: var(--ink2); font-weight: 600; text-decoration: none; white-space: nowrap;
              border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acc-tabs a[aria-current="page"] { color: var(--brand-strong); border-bottom-color: var(--brand); }
.account { max-width: none; }
.account > h1:not(.acc-title) { font-size: 28px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; }
.acc-grid[hidden] { display: none; }
.acc-grid-one { grid-template-columns: minmax(0, 1fr); }
/* #178 «Про мене»: two columns of fields, the wide ones span both; one column on phones. */
.profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.profile-form[hidden] { display: none; }
.profile-form .acc-card-head, .profile-form .pf-wide { grid-column: 1 / -1; }
.profile-form > label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.profile-form > label .note, .pf-delivery legend .note { font-weight: 400; font-size: 12px; }
.profile-form input:not([type="checkbox"]) { font: inherit; font-weight: 400; height: 40px; padding: 0 10px; border: 1px solid var(--line);
                                            border-radius: var(--r); background: var(--surface); color: var(--ink); min-width: 0; }
.pf-delivery { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: 0; padding: 0; border: 0; font-size: 14px; }
.pf-delivery legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.pf-delivery label { display: inline-flex; align-items: center; gap: 6px; }
.profile-form .share-toggles { margin: 0; }
.pf-actions { display: flex; align-items: center; gap: var(--s3); margin: 0; }
/* Owner 15.10: the Nova Poshta pickers of «Про мене» — the list sits in the page flow under its field. */
.np-field { position: relative; }
.np-list { display: grid; max-height: 260px; overflow: auto; margin-top: 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.np-list[hidden] { display: none; }
.np-list button { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
.np-list button:last-child { border-bottom: 0; }
.np-list button:hover, .np-list button:focus-visible { background: var(--subtle); }
.np-hint { color: var(--warn); }
.profile-form > .note { margin: 0; }
@media (max-width: 560px) { .profile-form { grid-template-columns: 1fr; } }
/* #193: «Про мене» collapsed until its heading is pressed. */
.profile-form.is-collapsed > :not(.acc-card-head) { display: none; }
.profile-form > .acc-card-head { cursor: pointer; user-select: none; }
.pf-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit;
             font: inherit; cursor: pointer; }
.pf-toggle span { font-size: .7em; color: var(--ink2); transition: transform .15s; }
.pf-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.acc-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); min-width: 0; }
.acc-card { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.acc-card h2 { margin: 0 0 var(--s3); font-size: 20px; }
.acc-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s4); }
.acc-card-head h2 { margin: 0; }
.acc-side h2 { margin-bottom: var(--s3); }
.acc-wide { width: 100%; justify-content: center; margin-top: var(--s3); }
.acc-mono { font: 400 12px/1.5 var(--mono); color: var(--ink2); }
.acc-label { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.acc-intro { max-width: 70ch; color: var(--ink2); margin: 0 0 var(--s5); }
.identity { display: flex; align-items: center; gap: var(--s4); }
.identity-initial { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px;
                    border-radius: 50%; background: var(--tint); color: var(--brand-strong); font-size: 26px; font-weight: 700; }
.identity-who { display: grid; gap: 2px; flex: 1; }
/* #165: the Mini App's collection blocks on the site, two per row on a wide screen. */
.acc-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); align-items: start; }
.acc-blocks[hidden], .acc-blocks > [hidden] { display: none; }
@media (max-width: 760px) { .acc-blocks { grid-template-columns: 1fr; } }
/* #194: in the right column of «Моя колекція» the blocks stack, as the progress cards do in «Бажане». */
.acc-blocks-side { grid-template-columns: minmax(0, 1fr); margin-top: 0; gap: var(--s5); }
.acc-blocks-side > section { margin: 0; }
.acc-main .acc-table { margin-top: 0; }
@media (min-width: 961px) { .acc-main .lots-head, .acc-main .acc-table .lot { grid-template-columns: minmax(0, 1fr) 80px 110px 110px 120px; } }
.rank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s3); padding: 10px 0;
            border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rank-row:hover .rank-name { color: var(--brand-strong); }
.rank-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row strong { font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.rank-row small { grid-column: 2; text-align: right; font: 500 12px/1.4 var(--mono); }
.rank-row .is-up { color: var(--brand-strong); }
.rank-row .is-down { color: var(--err); }
/* Owner 2026-09-25: the collection ROI in the «Аналітика» heading, highlighted. */
.ca-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ca-roi { padding: 3px 10px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ca-roi.is-up { background: var(--tint); color: var(--brand-strong); }
.ca-roi.is-down { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.identity-initial { overflow: hidden; }
.identity-initial img { width: 100%; height: 100%; object-fit: cover; }
.identity-photo { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.identity-photo label { cursor: pointer; }
.identity-photo[hidden], .identity-photo [hidden] { display: none; }
.identity-who strong { font-size: 24px; }
.identity-rating { display: grid; justify-items: end; gap: 6px; }
/* Owner 2026-09-29: on a phone the identity card must not push the page wider than the screen
   (a long @handle did); the rating pill moves under the name. */
.identity-who { min-width: 0; }
.identity-who [data-providers] { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .identity { flex-wrap: wrap; gap: var(--s3); }
  .identity-initial { width: 56px; height: 56px; font-size: 22px; }
  .identity-who { flex: 1 1 0; }
  .identity-rating { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
}
.rating-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.rating-tile { display: grid; gap: 4px; padding: var(--s4); background: var(--canvas); border-radius: var(--r); }
.rating-tile strong { font-size: 26px; font-weight: 800; }
.rating-tile .note { font-size: 12px; }
.rating-bars { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: 8px; }
.rating-bars li { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: var(--s3); }
.rating-bars i { height: 8px; border-radius: 999px; background: var(--subtle); }
.rating-bars i b { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand); }
.rating-bars li span:last-child { text-align: right; }
.acc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.acc-tiles[hidden] { display: none; }
.acc-tiles .stat, .acc-summary-side .stat { display: grid; gap: 4px; padding: var(--s4); background: var(--surface);
                                            border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat-label { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink2); }
.stat-value { font-size: 26px; font-weight: 800; }
.stat-note { font-size: 12px; color: var(--ink2); }
.methods { list-style: none; padding: 0; margin: 0; }
.method { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; }
.method + .method { border-top: 1px solid var(--line); }
.method > span:first-child { display: grid; }
.acc-logout { color: var(--err); border-color: var(--line); }
.acc-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5); }
.acc-summary[hidden] { display: none; }
.acc-summary-main { display: grid; gap: 4px; }
.acc-big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.acc-summary-side { display: flex; flex-wrap: wrap; gap: var(--s3); }
.acc-summary-side .stat { border: 0; padding: 0 var(--s3); }
.acc-summary-side .stat-value { font-size: 22px; }
.account .chart { margin-top: var(--s5); }
.acc-table { padding: 0; margin-top: var(--s5); overflow: hidden; }
.acc-table[hidden] { display: none; }
.lots-head, .acc-table .lot { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px 130px 140px; align-items: center; gap: var(--s3);
                              padding: var(--s3) var(--s5); }
.lots-head { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2);
             border-bottom: 1px solid var(--line); padding-top: var(--s4); padding-bottom: var(--s4); }
.acc-table .lots { list-style: none; padding: 0; margin: 0; }
.acc-table .lot + .lot { border-top: 1px solid var(--line); }
.acc-table .lot .lot-form { grid-column: 1 / -1; }
.lot-coin { display: flex; align-items: center; gap: var(--s3); min-width: 0; color: var(--ink); text-decoration: none; }
.lot-thumb { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: var(--subtle); }
.lot-thumb-empty { display: inline-block; border: 1px dashed var(--ctl); }
.lot-text { display: grid; min-width: 0; }
.lot-name { font-weight: 600; }
.lot-qty, .lot-worth, .lot-price { font-weight: 700; }
.lot-paid { color: var(--ink2); }
.lot-actions { display: flex; gap: var(--s2); justify-content: flex-end; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn-danger { width: 38px; height: 38px; color: var(--err); border-color: var(--err); background: transparent; cursor: pointer; }
.wish-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.wish-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: var(--s3);
            padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.acc-empty { display: grid; gap: var(--s2); }
@media (max-width: 960px) { .acc-grid { grid-template-columns: 1fr; } .rating-tiles, .acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lots-head { display: none; } .acc-table .lot { grid-template-columns: 1fr 1fr 1fr; } .acc-table .lot .lot-coin { grid-column: 1 / -1; }
  .lot-actions { grid-column: 1 / -1; justify-content: flex-start; } .wish-row { grid-template-columns: 1fr auto; } .wish-row .lot-coin { grid-column: 1 / -1; } }

/* vLogin: the prototype's «Вхід у MONETEKA» card, centred. */
.login-card { max-width: 560px; margin: var(--s6) auto; padding: var(--s6); background: var(--surface);
              border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 40px rgba(22, 33, 28, .08); }
.login-card h1 { font-size: 28px; margin: 0 0 var(--s2); }
.login-sub { color: var(--ink2); margin: 0 0 var(--s5); }
.login-card .auth-button, .login-card .auth-continue > summary { display: flex; width: 100%; justify-content: center; }
.login-soon { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.auth-methods:not([hidden]) ~ .login-soon { display: none; }
.login-off { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: var(--r);
             background: var(--subtle); border: 1px solid var(--line); color: var(--ink2); font-weight: 600; }
.login-soon .note { font-size: 13px; margin: 0; }
.login-note { font-size: 14px; }
.login-card .auth-button { background: var(--brand); color: var(--on-brand); height: 52px; border-radius: var(--r); font-weight: 700; }
.login-card .auth-button:hover { background: var(--brand-strong); }
/* Owner 2026-09-24: the email button is as wide as the others; the code is asked in a window. */
.auth-email { max-width: none; }
.auth-email [data-email-open] { display: flex; width: 100%; justify-content: center; align-items: center; height: 52px; border-radius: var(--r); }
.login-card .auth-button-alt { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.login-card .auth-button-alt:hover { background: var(--subtle); }
.auth-hint { font-size: 13px; color: var(--ink2); margin: var(--s2) 0 0; text-align: center; }
.auth-dialog { width: min(420px, calc(100vw - 32px)); padding: var(--s6) var(--s5) var(--s5); border: 1px solid var(--line);
               border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.auth-dialog::backdrop { background: rgba(10, 16, 13, .45); }
.auth-dialog h2 { font-size: 22px; margin: 0 0 var(--s2); }
.auth-dialog .note { margin: 0 0 var(--s4); }
.auth-dialog input[type="email"] { box-sizing: border-box; width: 100%; height: 50px; margin: 0 0 var(--s4); padding: 0 var(--s4);
                                   border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: var(--surface); color: var(--ink); }
.auth-dialog .auth-button { display: flex; width: 100%; justify-content: center; align-items: center; height: 52px; border-radius: var(--r);
                            background: var(--brand); color: var(--on-brand); font-weight: 700; }
.auth-dialog-close { position: absolute; top: var(--s3); right: var(--s3); width: 36px; height: 36px; border: 0; border-radius: var(--r-pill);
                     background: var(--subtle); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.auth-dialog .auth-alt { display: block; margin: var(--s3) auto 0; }
.code-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s2); margin: 0 0 var(--s4); }
.code-boxes input { box-sizing: border-box; width: 100%; height: 56px; padding: 0; text-align: center; font: inherit; font-size: 24px;
                    font-weight: 700; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); }
.code-boxes input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.account .chart .spark { display: block; width: 100%; height: 220px; color: var(--brand); border: 0; }
.site-foot { text-align: left; padding: var(--s6) var(--s5) var(--s4); background: var(--canvas); }
.foot-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s5); }
.foot-grid nav { display: grid; align-content: start; gap: 10px; font-size: 14px; }
.foot-grid nav a { color: var(--ink2); text-decoration: none; }
.foot-grid nav a:hover { color: var(--ink); }
.foot-title { margin: 0 0 4px; font-weight: 700; color: var(--ink) !important; }
.foot-about p { max-width: 36ch; font-size: 14px; }
.foot-about .brand { color: var(--ink); }
.foot-bottom { max-width: var(--container); margin: var(--s6) auto 0; padding-top: var(--s4); border-top: 1px solid var(--line);
               font: 400 12px/1.5 var(--mono); }
/* #176 (owner 2026-09-24): on a wide screen the footer was stretched edge to edge. The sections are now
   content-wide columns kept together on the left, with less height around them. */
@media (min-width: 761px) {
  .site-foot { padding: var(--s5) var(--s5) var(--s3); }
  .foot-grid { grid-template-columns: minmax(200px, 300px) repeat(3, max-content); justify-content: start;
               column-gap: clamp(32px, 5vw, 72px); }
  .foot-grid nav { gap: 6px; }
  .foot-bottom { margin-top: var(--s4); padding-top: var(--s3); }
}
/* Owner 2026-09-23: the footer menu is compact on a phone — three short columns side by side, not a long list. */
@media (max-width: 760px) {
  .site-foot { padding: var(--s5) var(--s4) var(--s3); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
  .foot-about { grid-column: 1 / -1; }
  .foot-about p { margin: var(--s2) 0 0; font-size: 13px; }
  .foot-grid nav { gap: 6px; font-size: 13px; }
  .foot-title { font-size: 13px; }
  .foot-bottom { margin-top: var(--s4); font-size: 12px; }
}
/* Owner 2026-09-25: «нижня полоска максимально вузька» — every link group is one inline row (title, then links),
   the brand sits beside them; the footer is three short rows instead of five-row columns. Overrides the above. */
.site-foot { padding: var(--s4) var(--s5) var(--s3); }
.foot-grid { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 6px;
             align-items: baseline; }
.foot-about { grid-row: 1 / span 3; grid-column: 1; }
.foot-about .brand { margin: 0 0 4px; }
.foot-about p { margin: 0; font-size: 13px; line-height: 1.45; }
.foot-grid nav { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 14px; }
.foot-title { margin: 0; min-width: 8.6em; }
.foot-bottom { margin-top: var(--s3); padding-top: var(--s2); }
@media (max-width: 760px) {
  .site-foot { padding: var(--s4) var(--s4) var(--s3); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-about { grid-row: auto; grid-column: 1; margin-bottom: var(--s2); }
  .foot-about p:not(.brand) { display: none; }
  .foot-grid nav { grid-column: 1; gap: 4px 12px; font-size: 13px; }
  .foot-title { min-width: 0; }
}

/* vCatalog: sidebar of chip filters + sort pills. */
.cat-layout { display: block; margin-top: var(--s5); }
/* Owner 2026-09-23: compact filter row — one dropdown per facet, a set facet is tinted. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-bar { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s2); align-items: center;
           margin: var(--s5) 0 0; }
.cat-pick { min-width: 0; }
.cat-pick select { width: 100%; height: 40px; padding: 0 30px 0 14px; font: inherit; font-size: 14px; font-weight: 600;
                   color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
                   cursor: pointer; }
.cat-pick.is-set select { background: var(--tint); border-color: var(--brand); color: var(--brand-strong); }
.cat-bar [data-filter-submit][hidden] { display: none; }
.cat-hub { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; font-size: 14px;
           font-weight: 600; color: var(--ink); text-decoration: none; background: var(--surface);
           border: 1px solid var(--line); border-radius: var(--r-pill); white-space: nowrap; }
.cat-hub:hover { border-color: var(--brand); color: var(--brand-strong); }
.cat-active { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: var(--s3) 0 0; }
.cat-active .pill { text-decoration: none; }
.cat-active .cat-reset { display: inline; margin: 0 0 0 var(--s2); }
.cat-side { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto;
            padding: var(--s5) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cat-group + .cat-group { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.chips .pill { padding: 6px 12px; font-size: 13px; font-weight: 600; }
.pill-solid, a.pill-solid { background: var(--brand); color: var(--on-brand); }
.cat-selects { display: grid; gap: var(--s3); }
.cat-selects .facet select { width: 100%; }
.cat-reset { display: block; margin-top: var(--s4); font-weight: 600; font-size: 14px; text-decoration: none; }
.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.cat-count { margin: 0; font-weight: 700; color: var(--ink2); }
.cat-head .chips { margin: 0; }
.cat-main .cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (max-width: 640px) { .cat-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* vCoin: two columns — gallery | price, actions, passport. */
.coin h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.coin-meta { font: 500 14px/1.5 var(--mono); color: var(--ink2); }
.coin-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: var(--s6); align-items: start; margin-top: var(--s5); }
.coin-main { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1;
             padding: var(--s6); background: var(--subtle); border: 1px solid var(--line); border-radius: var(--r-lg); }
.coin-main img { width: 100%; height: 100%; object-fit: contain; }
.coin-main figcaption { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); padding-top: var(--s3); }
.coin-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--s3); margin: var(--s3) 0 0; }
.coin-thumbs figure { margin: 0; }
.coin-thumbs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--surface);
                   border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.coin-side { display: grid; gap: var(--s4); }
.coin-card-box { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.coin-card-box h2 { margin-top: 0; }
.coin-side .price .amount { font-size: 34px; font-weight: 800; margin: 4px 0; }
.coin-side .price .acc-label { margin: var(--s3) 0 0; }
.coin-side .price .acc-label:first-child { margin-top: 0; }
.coin-disclaimer { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 13px; }
.coin-actions { display: grid; gap: var(--s3); }
.coin-actions .btn { width: 100%; justify-content: center; height: 54px; }
.passport { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.passport > div { display: grid; gap: 2px; }
.passport dt { font: 500 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink2); }
.passport dd { margin: 0; font-weight: 600; }
.coin-chart { margin-top: var(--s6); }
/* Owner 2026-09-24: purchases above the chart, at the chart's full width. */
.coin-lots-wide { margin-top: var(--s6); }
.coin-lots-wide + .coin-chart { margin-top: var(--s4); }
.coin-chart .spark { max-width: none; height: 220px; }
@media (max-width: 900px) { .coin-layout { grid-template-columns: 1fr; } }
.coin-side { align-content: start; }
.coin-side > section { margin: 0; }
/* #173: on desktop both columns take the row's height and the passport card grows, so its bottom edge sits
   on the bottom edge of the photo row. A passport taller than the gallery simply sets the row height. */
@media (min-width: 901px) {
  .coin-layout { align-items: stretch; }
  .coin-side { display: flex; flex-direction: column; }
  .coin-side > .specs { flex: 1 0 auto; }
}

/* #140 Серії v2: the prototype's `vSeries` card (three coin discs, name, mono meta, progress) and the
   `vSeriesOne` head — intro beside the «Ваш прогрес» panel. Own-status badges sit top-right so they never
   cover the release badge. */
.series-grid { list-style: none; display: grid; gap: var(--s5); padding: 0; margin: var(--s5) 0 0;
               grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.series-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 24px; color: var(--ink);
               background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; }
.series-card:hover { border-color: var(--ctl); }
.sc-discs { display: flex; gap: 8px; }
.sc-discs img, .sc-discs i { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--subtle); }
.sc-discs img { object-fit: contain; }
.sc-discs i { border: 1px dashed var(--ctl); }
.sc-name { font-size: 19px; font-weight: 700; line-height: 26px; text-wrap: pretty; }
.sc-meta { font: 500 12px/16px var(--mono); color: var(--ink2); }
.sc-bar { display: block; height: 8px; border-radius: var(--r-pill); background: var(--subtle); overflow: hidden; }
.sc-bar i { display: block; width: 0; height: 100%; background: var(--brand); }
/* The site CSP (`style-src 'self'`) drops inline `style=` attributes: the fill is a class in 5% steps,
   rounded up so one coin of a long series still shows. */
.sc-bar .w-0 { width: 0%; } .sc-bar .w-5 { width: 5%; } .sc-bar .w-10 { width: 10%; } .sc-bar .w-15 { width: 15%; } .sc-bar .w-20 { width: 20%; } .sc-bar .w-25 { width: 25%; } .sc-bar .w-30 { width: 30%; } .sc-bar .w-35 { width: 35%; } .sc-bar .w-40 { width: 40%; } .sc-bar .w-45 { width: 45%; } .sc-bar .w-50 { width: 50%; } .sc-bar .w-55 { width: 55%; } .sc-bar .w-60 { width: 60%; } .sc-bar .w-65 { width: 65%; } .sc-bar .w-70 { width: 70%; } .sc-bar .w-75 { width: 75%; } .sc-bar .w-80 { width: 80%; } .sc-bar .w-85 { width: 85%; } .sc-bar .w-90 { width: 90%; } .sc-bar .w-95 { width: 95%; } .sc-bar .w-100 { width: 100%; }
.sc-progress { font-size: 13px; font-weight: 600; color: var(--brand); }
/* Owner 2026-09-23: series progress as in the Mini App (`wl-series`): counter, «зібрана», wishes, «лишилось». */
.sc-row { display: flex; align-items: center; gap: var(--s3); }
.sc-row .sc-bar { flex: 1; }
.sc-counter { font: 600 13px/1 var(--mono); color: var(--ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sc-full { padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); font-size: 12px; }
.sp-count .sc-full { vertical-align: middle; }
.sc-wish { font-size: 13px; font-weight: 600; color: #C2415B; margin: 0; }
.sc-almost { font-size: 13px; color: var(--brand-strong); margin: 0; }
.sp-grid { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-height: 208px; overflow-y: auto; }
.sp-coin { position: relative; width: 44px; height: 44px; }
.sp-coin a { display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--subtle); }
.sp-coin img { width: 100%; height: 100%; object-fit: contain; }
.sp-coin i { display: block; width: 100%; height: 100%; }
.sp-missing img { opacity: .35; filter: grayscale(1); }
.sp-coin b { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 18px; height: 18px;
             border-radius: 50%; font-size: 10px; line-height: 1; color: #fff; border: 2px solid var(--surface); }
.sp-owned b { background: var(--brand); }
.sp-wanted b { background: #C2415B; }
.sp-owned a { box-shadow: 0 0 0 2px var(--brand); }
.sp-mark { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sp-picking .sp-coin[data-pick] a { box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.sp-picking .sp-coin:not([data-pick]) { opacity: .5; }
.sp-coin.sp-picked a { box-shadow: 0 0 0 3px var(--brand); }
.sp-coin.sp-picked img { opacity: 1; filter: none; }
.sp-coin.sp-picked::after { content: "✓"; position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center;
                            width: 18px; height: 18px; border-radius: 50%; font-size: 10px; color: #fff;
                            background: var(--brand); border: 2px solid var(--surface); }
.series-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start;
               margin: var(--s3) 0 var(--s6); }
.series-intro .summary, .series-intro .series-links { margin-top: var(--s4); }
.series-intro h1 { margin-top: 0; }
.series-intro .lead { margin-top: var(--s3); }
.series-panel { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface);
                border: 1px solid var(--line); border-radius: var(--r-lg); }
.series-panel p { margin: 0; }
.series-panel .btn { justify-content: center; height: 44px; }
.series-panel .wl-actions { margin: 0; }
.series-panel .wl-actions .btn { width: 100%; }
.sp-label { font: 500 12px/16px var(--mono); color: var(--ink2); text-transform: uppercase; }
.sp-count { font-size: 32px; font-weight: 700; line-height: 40px; font-variant-numeric: tabular-nums; }
.sp-bar { height: 10px; }
.cc-badge-wish { left: auto; right: 12px; }
.cc-badge-wish { background: var(--subtle); color: var(--ink2); border: 1px solid var(--line); }
/* #189: series page — the coin is already in the visitor's collection. */
.cc-badge-mine { left: auto; right: 12px; background: var(--brand); color: var(--on-brand); }
@media (max-width: 760px) { .series-head { grid-template-columns: 1fr; gap: var(--s4); }
                            .series-grid { grid-template-columns: 1fr; } }

/* Coin photo full-screen view (owner 2026-09-23: «немає хрестика»): a `:target` overlay with a close button. */
.lightbox { display: none; }
.lightbox:target { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
                   padding: 56px 16px 16px; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(12, 18, 15, .88); }
.lightbox img { position: relative; max-width: min(100%, 1100px); max-height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: flex;
                  align-items: center; justify-content: center; border-radius: var(--r); background: var(--surface);
                  color: var(--ink); font-size: 26px; line-height: 1; text-decoration: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; display: flex;
                align-items: center; justify-content: center; border-radius: var(--r); background: var(--surface);
                color: var(--ink); font-size: 36px; line-height: 1; text-decoration: none; opacity: .9; }
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 4px 12px;
                  border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 500 13px/1.4 var(--mono); }
.coin-main a { display: block; cursor: zoom-in; }

/* Owner 2026-09-23 — coin screen to the prototype's scale (`vCoin`): H1 36/44, meta 13 mono, price 32/40,
   section titles 20/28, passport values 600 14/20; a compact price block; the chart's period switch and a
   horizontal row of stats under the line. */
.coin h1 { font-size: 36px; line-height: 44px; font-weight: 800; letter-spacing: -.02em; max-width: 26ch; }
.coin .coin-meta { font: 500 13px/18px var(--mono); }
.coin h2 { font-size: 20px; line-height: 28px; font-weight: 700; margin: 0 0 var(--s3); }
.coin-side .price .amount { font-size: 32px; line-height: 40px; font-weight: 700; margin: 4px 0 0; }
.coin-side .price .acc-label { font: 500 12px/16px var(--mono); color: var(--ink2); }
.coin-side .price .note { font-size: 12px; line-height: 17px; margin: 4px 0 0; }
.price-nbu { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s3) 0 0; }
.price-nbu div { display: flex; gap: 6px; align-items: baseline; font-size: 13px; }
.price-nbu dt { color: var(--ink2); }
.price-nbu dd { margin: 0; font-weight: 600; }
.coin-side .price .coin-disclaimer { margin-top: var(--s3); padding-top: var(--s3); font-size: 12px; color: var(--ink2); }
.passport dd { font-size: 14px; line-height: 20px; }
.coin-actions .btn { height: 48px; font-size: 15px; }
.coin-chart .chart-head .amount { font-size: 28px; line-height: 36px; }
.chart-periods { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); }
.chart-periods label { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--r-pill);
                       background: var(--subtle); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.cp-radio:focus-visible + .cp-radio, .chart-periods label:hover { outline: none; background: var(--tint); }
.chart-panel { display: none; }
#cp-7:checked ~ .cp-7, #cp-30:checked ~ .cp-30, #cp-90:checked ~ .cp-90, #cp-365:checked ~ .cp-365 { display: block; }
#cp-7:checked ~ .chart-periods [for="cp-7"], #cp-30:checked ~ .chart-periods [for="cp-30"],
#cp-90:checked ~ .chart-periods [for="cp-90"], #cp-365:checked ~ .chart-periods [for="cp-365"] { background: var(--brand); color: var(--on-brand); }
.chart-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: 0; }
.chart-stats div { display: grid; gap: 2px; }
.chart-stats dt { font: 500 11px/15px var(--mono); color: var(--ink2); text-transform: uppercase; letter-spacing: .04em; }
.chart-stats dd { margin: 0; font-size: 14px; font-weight: 600; }
.chart-stats dd span { display: block; font: 400 11px/15px var(--mono); color: var(--ink2); }
@media (max-width: 640px) { .coin h1 { font-size: 28px; line-height: 34px; } }

/* Owner 2026-09-23: the prototype's add sheet (`sheetOpen`) as a native <dialog>, plus the toast. */
.sheet { width: 640px; max-width: calc(100% - 32px); padding: 28px; border: 0; border-radius: 24px; color: var(--ink);
         background: var(--surface); box-shadow: 0 16px 48px rgba(22, 33, 28, .16); }
.sheet::backdrop { background: rgba(22, 33, 28, .48); }
.sheet-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.sheet-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; background: var(--subtle);
               border: 1px dashed var(--ctl); }
.sheet-photo img { width: 100%; height: 100%; object-fit: contain; }
.sheet-photo:has(img) { border: 0; }
.sheet-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.sheet-title strong { font-size: 18px; line-height: 25px; }
.sheet-meta { font: 500 12px/16px var(--mono); color: var(--ink2); }
.sheet-close { flex: none; }
.sheet-form { display: grid; grid-template-columns: 120px minmax(0, 1fr) 170px; gap: 16px; }
.sheet-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink2); }
.sheet-form input { height: 48px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
                    background: transparent; border: 1px solid var(--ctl); border-radius: var(--r); }
.sheet-note, .sheet-error, .sheet-actions { grid-column: 1 / -1; margin: 0; }
.sheet-note { font-size: 13px; line-height: 19px; color: var(--ink2); }
.sheet-error { color: var(--err); font-size: 13px; }
.sheet-actions { display: flex; gap: 10px; justify-content: flex-end; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translateX(-50%); max-width: calc(100% - 32px);
         padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: var(--surface); font-size: 14px; font-weight: 600;
         box-shadow: 0 8px 24px rgba(22, 33, 28, .2); }
.toast a { color: inherit; }
.toast[hidden] { display: none; }
a[aria-busy="true"] { opacity: .6; pointer-events: none; }
@media (max-width: 640px) { .sheet { padding: 20px; } .sheet-form { grid-template-columns: 1fr; }
                            .sheet-actions .btn { flex: 1; justify-content: center; } }
.sheet-actions .btn { padding: 0 18px; white-space: nowrap; }

/* Owner 2026-09-23 — cabinet to the prototype (`vProfile`/`vCollection`/`vWish`): its smaller scale, the table
   as one card with dividers, the value chart with area/grid/scale/ticks, share switches, plain series rows. */
.acc-title { font-size: 36px; line-height: 44px; margin: var(--s3) 0 var(--s4); }
.acc-tabs a { padding: 12px 18px; font-size: 14px; }
.account .note { font-size: 13px; line-height: 19px; }
.acc-card h2 { font-size: 20px; line-height: 28px; }
.acc-big { font-size: 32px; line-height: 40px; font-weight: 700; }
.stat-value { font-size: 24px; font-weight: 700; }
.acc-summary-side .stat-value { font-size: 20px; }
.method strong { font-size: 14px; }
.method .note { font-size: 13px; }
.acc-table .lots { gap: 0; margin: 0; }
.acc-table .lot { border: 0; border-radius: 0; background: none; margin: 0; padding: var(--s4) var(--s5); }
.lot-name { font-size: 14px; }
.lot-qty, .lot-worth, .lot-price { font-size: 14px; }
.lot-paid { font-size: 14px; }
.wish-row .lot-price { font-size: 14px; }
.vc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.vc-head h2 { margin: 0; }
.vc-periods { display: flex; gap: var(--s2); }
.vc-periods .pill { height: 32px; padding: 0 12px; font-size: 13px; border: 0; cursor: pointer; }
.vc-value { display: flex; align-items: center; gap: var(--s3); margin: var(--s2) 0 var(--s4); }
.vc-value .amount { font-size: 28px; line-height: 36px; font-weight: 700; margin: 0; }
.vc-delta { padding: 4px 10px; border-radius: var(--r-pill); background: var(--subtle); font: 600 11px/1.4 var(--mono); color: var(--ink2); }
.vc-delta.is-up { background: var(--tint); color: var(--brand-strong); }
.vc-delta.is-down { color: var(--err); }
.vc-plot { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: var(--s3); }
.vc-svg { display: block; width: 100%; height: 260px; }
.vc-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vc-area { fill: var(--brand); opacity: .09; }
.vc-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vc-scale { display: flex; flex-direction: column; justify-content: space-between; }
.vc-scale span { display: grid; }
.vc-scale small { font: 500 10px/14px var(--mono); color: var(--ink2); }
.vc-scale strong { font-size: 13px; }
.vc-ticks { display: flex; justify-content: space-between; margin: var(--s2) 122px var(--s3) 0; font: 500 11px/16px var(--mono); color: var(--ink2); }
.share-toggles { display: grid; gap: var(--s3); margin: var(--s4) 0 0; }
.share-toggles[hidden] { display: none; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-size: 14px; font-weight: 600; }
.switch { appearance: none; width: 54px; height: 34px; flex: none; border-radius: var(--r-pill); background: var(--subtle);
          border: 1px solid var(--line); position: relative; cursor: pointer; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%;
                 background: var(--surface); box-shadow: 0 1px 3px rgba(22, 33, 28, .2); transition: left .15s; }
.switch:checked { background: var(--brand); border-color: var(--brand); }
.switch:checked::after { left: 24px; }
.switch:disabled { opacity: .5; cursor: default; }
.wl-row { display: grid; gap: 8px; }
.wl-row + .wl-row { margin-top: var(--s4); }
.wl-row-head { display: flex; justify-content: space-between; gap: var(--s3); font-size: 13px; }
.wl-row .wl-bar { margin: 0; height: 8px; }
.wl-row .wl-bar i { background: var(--brand); }
/* #180: the name row is a link to the profile; beats `.acct-menu .more-menu a` (flex, 0 padding, 40px height). */
.acct-menu .more-menu a.acct-who { display: grid; gap: 3px; height: auto; margin: 0 0 6px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line);
                                   border-radius: 10px 10px 0 0; font-weight: 400; }
.acct-menu .more-menu a.acct-who[hidden] { display: none; }
.acct-who strong { font-size: 14px; }
.acct-who span { font: 400 11px/16px var(--mono); color: var(--ink2); overflow-wrap: anywhere; }
@media (max-width: 640px) { .vc-plot { grid-template-columns: 1fr; } .vc-scale { flex-direction: row; } .vc-ticks { margin-right: 0; }
                            .vc-svg { height: 180px; } .acc-title { font-size: 28px; line-height: 34px; } }
/* The chip now carries the person's name: keep the header on one row (prototype search is ~190px). */
.top-search { max-width: 190px; }
.top-actions { flex-wrap: nowrap; }
[data-acct-name] { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-side-stack { display: grid; gap: var(--s5); align-content: start; }
.wl-more { margin-top: var(--s4); width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--r);
           background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.wl-more:hover { background: var(--subtle); }
/* Owner 2026-10-08: the series/year rows open into the Mini App's coin grid (Wishlist.css), site tokens. */
.wl-sum { margin-left: var(--s2); padding: 2px 8px; border-radius: var(--r-pill); background: var(--subtle); color: var(--ink2);
          font-size: 12px; font-weight: 600; vertical-align: middle; }
.wl-group-head { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wl-group-head > span:first-child::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 8px;
          border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg); transition: transform .15s; }
.wl-group.is-open .wl-group-head > span:first-child::after { transform: rotate(225deg); margin-bottom: -1px; }
.wl-group-head:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wl-group-body { display: grid; gap: 8px; }
.wl-group-body[hidden] { display: none; }
.wl-full { color: var(--brand); }
.wl-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.wl-mini { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 8px 3px;
           border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: center; text-decoration: none; }
.wl-mini:hover { border-color: var(--ink2); }
.wl-mini-photo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
                 background: var(--surface); border: 1px solid var(--line); }
.wl-mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.wl-mini-photo > i { width: 18px; height: 18px; border-radius: 50%; background: var(--line); }
.wl-mini-target { font-size: 20px; line-height: 1; color: var(--ink2); }
.wl-mini-mark { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
                background: var(--subtle); color: var(--ink2); font-size: 10px; font-weight: 700; line-height: 1; }
.wl-mini-name { max-width: 100%; font-size: 11px; font-weight: 600; line-height: 1.25; overflow: hidden; overflow-wrap: anywhere;
                display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wl-mini-year { font: 500 10px/1 var(--mono); color: var(--ink2); }
.wl-mini-owned { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.wl-mini-owned .wl-mini-photo { border-color: var(--brand); }
.wl-mini-owned .wl-mini-mark { background: var(--brand); color: var(--surface); }
.wl-mini-wanted { background: var(--subtle); border-color: color-mix(in srgb, var(--ink2) 35%, var(--line)); }
.wl-mini-wanted .wl-mini-photo { border-color: color-mix(in srgb, var(--ink2) 35%, var(--line)); }
.wl-mini-wanted .wl-mini-mark { background: var(--ink2); color: var(--surface); }
.wl-mini-missing .wl-mini-photo { border-style: dashed; }
.wl-want-all { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 64px; padding: 6px 4px;
               border: 1px dashed var(--brand); border-radius: 14px; background: transparent; color: var(--brand);
               font: inherit; font-size: 11px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.wl-want-all:hover { background: var(--tint); }
.wl-group .wl-left { margin: 0; font-size: 12px; font-weight: 600; color: var(--brand); }
.wl-more-inner { width: 100%; min-height: 36px; padding: 8px; border: 0; border-top: 1px dashed var(--line); background: transparent;
                 color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .wl-group-head > span:first-child::after { transition: none; } }
.vc-periods { flex-wrap: wrap; }

/* Owner 2026-09-23: the collection chart as in the Mini App (CollectionGrowth.css), at site scale. */
.chart .cg-periods { display: flex; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--subtle); }
.chart .cg-periods button { padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2);
                            font: 600 12px/1.2 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.chart .cg-periods button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.cg-legend { display: flex; gap: var(--s4); flex-wrap: wrap; font-size: 12px; color: var(--ink2); margin: 0 0 var(--s2); }
.cg-money::before, .cg-quantity::before { content: ''; display: inline-block; width: 18px; height: 3px; margin-right: 6px; vertical-align: middle; }
.cg-money::before { background: var(--brand); }
.cg-quantity::before { background: repeating-linear-gradient(90deg, #b96a13 0 5px, transparent 5px 8px); }
.cg-plot { position: relative; min-width: 0; }
.cg-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: none; cursor: crosshair; }
.cg-svg:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.cg-svg text { fill: var(--ink2); font: 500 13px var(--mono); }
.cg-svg .cg-money-axis { fill: var(--brand); }
.cg-svg .cg-qty-axis { fill: #b96a13; }
.cg-grid { stroke: var(--line); stroke-width: 1; }
.cg-area { fill: var(--brand); opacity: .09; }
.cg-value-line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; }
.cg-qty-line { fill: none; stroke: #b96a13; stroke-width: 2; stroke-dasharray: 7 5; stroke-linejoin: round; }
.cg-cursor { stroke: var(--ink2); stroke-dasharray: 3 4; opacity: .6; }
.cg-value-dot { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.cg-qty-dot { fill: #b96a13; stroke: var(--surface); stroke-width: 1.5; }
.cg-readout { position: absolute; top: 10px; left: 8%; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px;
              border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
              font-size: 13px; pointer-events: none; }
.cg-readout[hidden] { display: none; }
.cg-readout time, .cg-readout small { font: 500 11px var(--mono); color: var(--ink2); }
.cg-dates { display: flex; justify-content: space-between; margin: 4px 0 var(--s3); font: 500 11px var(--mono); color: var(--ink2); }
:root[data-theme="dark"] .cg-quantity::before { background: repeating-linear-gradient(90deg, #ffb454 0 5px, transparent 5px 8px); }
:root[data-theme="dark"] .cg-qty-line, :root[data-theme="dark"] .cg-qty-dot { stroke: #ffb454; }
:root[data-theme="dark"] .cg-qty-dot, :root[data-theme="dark"] .cg-svg .cg-qty-axis { fill: #ffb454; }
@media (max-width: 640px) { .cg-svg text { font-size: 22px; } .chart .cg-periods { width: 100%; overflow-x: auto; } }
/* Confirmations (Mini App `vr-modal` wording) in the site's dialog. */
.confirm-sheet { width: 440px; }
.confirm-sheet h3 { margin: 0 0 var(--s2); font-size: 20px; }
.confirm-sheet .note { margin: 0 0 var(--s4); font-size: 14px; }
.btn-destructive { background: var(--err); color: #fff; border-color: var(--err); }
/* Coin page «Історія покупок» (signed-in only, filled by collect.js). */
.coin-lots[hidden] { display: none; }
.coin-lots h2 small { font: 500 12px var(--mono); color: var(--ink2); margin-left: 6px; }
.lot-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s2);
            padding: var(--s3) 0; border-top: 1px solid var(--line); }
.lot-line div { display: grid; gap: 2px; }
.lot-line strong { font-size: 14px; }
.lot-line .btn-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lot-summary { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); }
.lot-summary dt { font: 500 11px/1.4 var(--mono); color: var(--ink2); }
.lot-summary dd { margin: 0; font-size: 14px; font-weight: 600; }
/* Market plan 6.2: «Пропозиції в Маркеті» on the coin page — rows lead to the listing on /market. */
.offer-line { display: grid; gap: 2px; padding: var(--s3) 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.offer-line strong { font-size: 14px; }
.offer-line:hover strong { text-decoration: underline; }
.offer-give { margin-top: var(--s3); }
/* Person page (owner 2026-09-23): series and years before the works. */
.person-block { margin: var(--s5) 0 0; }
.person-block h2 { font-size: 20px; margin: 0 0 var(--s3); }
.person-block .pill { text-decoration: none; }
.person-block .pill .meta { font: 500 11px var(--mono); opacity: .75; margin-left: 4px; }
.person-more { margin-top: var(--s2); }
.person-more summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--brand-strong); }
.person-more .chips { margin-top: var(--s2); }
/* #97 Series checklist: a table on screen, a clean sheet on paper. */
.checklist-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0; }
.checklist-table { width: 100%; border-collapse: collapse; margin: var(--s3) 0; font-size: 14px; }
.checklist-table th { text-align: left; font: 500 11px/1.4 var(--mono); color: var(--ink2); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.checklist-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.checklist-table .num { font-family: var(--mono); white-space: nowrap; }
.checklist-table .box { width: 18px; height: 18px; text-align: center; font-weight: 700; color: var(--brand-strong); }
.checklist-table .box::before { content: ''; display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--ink2);
                                border-radius: 3px; vertical-align: -2px; margin-right: -14px; }
.checklist-table a { text-decoration: none; }
.checklist-table .box[role="checkbox"] { cursor: pointer; }
.checklist-table .box[role="checkbox"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.series-links { margin: var(--s3) 0 0; }
.print-only { display: none; }
@media (max-width: 560px) {
  .checklist-table th:nth-child(6), .checklist-table td:nth-child(6) { display: none; }
  .checklist-table td, .checklist-table th { padding: 6px 4px; }
}
@media print {
  .top, .site-foot, .no-print, [data-print] { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; color: #000; }
  .checklist-table { font-size: 11pt; }
  .checklist-table th:nth-child(6), .checklist-table td:nth-child(6) { display: table-cell; }
  .checklist-table tr { break-inside: avoid; }
  .checklist-table a { color: #000; }
}
/* #95 calendar subscription links under the lead. */
.cal-subscribe { margin: -4px 0 16px; }
/* #98 shared series progress card. */
.shared-progress { width: 100%; max-width: 420px; height: 10px; accent-color: var(--brand); }
.shared-checklist { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 6px; }
.shared-checklist li { display: flex; gap: 8px; align-items: baseline; }
.shared-checklist .is-owned > span { color: var(--brand-strong); font-weight: 700; }
.shared-checklist .is-missing { color: var(--muted, inherit); }
/* Owner 2026-09-24: sharing as in the Mini App. The trigger button, the share screen (a dialog on «Колекція» and
   «Бажане», a page block on /account/share) and the guest page behind the link share one set of parts. */
.share-trigger-row { margin: 0 0 var(--s4); }
.share-trigger[hidden] { display: none; }
.acc-side-stack .share-trigger { width: 100%; justify-content: center; }
.share-sheet { width: 560px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 20px; }
.share-sheet, .share-page { display: grid; gap: var(--s3); align-content: start; }
.share-sheet:not([open]) { display: none; }
.share-page { max-width: 560px; }
.sh-head { display: flex; align-items: center; gap: var(--s2); }
.sh-head h2 { margin: 0; font-size: 20px; }
.sh-back { width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
           color: var(--ink); font-size: 18px; cursor: pointer; }
.sh-error { margin: 0; }
.sh-card { display: grid; gap: var(--s2); padding: var(--s4); background: var(--surface); border: 1px solid var(--line);
           border-radius: var(--r-lg); color: var(--ink); text-decoration: none; }
.sh-link h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.sh-link h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--positive, #1f9d55); }
.sh-copy { display: grid; gap: 4px; padding: var(--s3); border-radius: var(--r); background: var(--subtle); font-size: 14px; }
.sh-copy p { margin: 0; }
.sh-copy-link { font: 500 13px/1.4 var(--mono); color: var(--brand-strong); overflow-wrap: anywhere; }
.sh-eyebrow, .guest-eyebrow { font: 600 11px/1.2 var(--mono); letter-spacing: .08em; color: var(--ink2); }
.sh-wide { width: 100%; justify-content: center; }
.sh-manual { width: 100%; box-sizing: border-box; font: 13px/1.4 var(--mono); padding: 8px; border: 1px solid var(--line); border-radius: var(--r); }
.sh-manual[hidden] { display: none; }
.sh-caption { margin: 0; font-size: 13px; color: var(--ink2); }
.sh-lead { margin: 0; color: var(--ink2); }
.sh-name { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.sh-name > span { display: flex; align-items: center; gap: var(--s2); }
.sh-name input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r);
                 background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; }
.sh-name small { flex: none; font: 500 12px/1 var(--mono); color: var(--ink2); }
.sh-switches { gap: 0; padding: 4px var(--s4); }
.sh-switch { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 12px 0; }
.sh-switch + .sh-switch { border-top: 1px solid var(--line); }
.sh-switch > span { display: grid; gap: 2px; }
.sh-switch b { font-size: 14px; }
.sh-switch small { font-size: 12px; color: var(--ink2); }
a.sh-preview:hover { border-color: var(--brand); }
/* #196: the profile line, the figures and the coins of the preview were stacked with no spacing and ran into each other. */
.sh-preview-body { display: grid; gap: var(--s3); min-width: 0; }
.sh-danger { display: grid; gap: 6px; padding-top: var(--s2); border-top: 1px solid var(--line); }
.sh-destructive { color: var(--negative); }
@media (max-width: 560px) { .share-sheet { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; } }
/* Owner 2026-10-08: on a desktop the share window closes with Esc or a click outside — no «←» there; the
   full-screen phone sheet keeps it, it is the only way back. */
@media (min-width: 561px) { .share-sheet .sh-back { display: none; } }
/* The guest view (Mini App `Storefront` / `WishlistGuestView`). */
.guest-view { display: grid; gap: var(--s3); max-width: 760px; margin: 0 auto; padding: var(--s4) 0; }
.guest-owner { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); background: var(--surface);
               border: 1px solid var(--line); border-radius: var(--r-lg); }
.guest-owner-compact { padding: 0; border: 0; background: none; }
.guest-avatar { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden;
                border-radius: 50%; background: var(--tint); color: var(--brand-strong); font-weight: 700; font-size: 18px; }
.guest-owner-compact .guest-avatar { width: 40px; height: 40px; font-size: 15px; }
.guest-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guest-owner-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.guest-owner-copy h1, .guest-owner-copy strong { margin: 0; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.guest-owner-compact .guest-owner-copy strong { font-size: 16px; }
.guest-owner-copy small { color: var(--ink2); font-size: 13px; }
.guest-badge { flex: none; padding: 4px 10px; border-radius: var(--r-pill); background: var(--subtle); color: var(--ink2);
               font: 600 11px/1.2 var(--mono); white-space: nowrap; }
.guest-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s2); }
.guest-figure { display: grid; gap: 2px; padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sh-preview .guest-figure { background: var(--subtle); border: 0; }
.guest-figure strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.guest-figure span { font-size: 13px; color: var(--ink2); }
.guest-figure small { font-size: 12px; color: var(--ink2); }
.guest-count { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: 14px; font-weight: 600; }
.guest-count small { font: 500 11px/1.2 var(--mono); color: var(--ink2); }
.guest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.guest-row, .guest-row-link { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.guest-view .guest-row { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.guest-row-link { flex: 1; color: var(--ink); text-decoration: none; }
a.guest-row-link:hover strong { color: var(--brand-strong); }
.guest-row img, .guest-nophoto { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: var(--subtle); }
.sh-preview .guest-row img, .sh-preview .guest-nophoto { width: 40px; height: 40px; }
.guest-row-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.guest-row-copy strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.guest-row-copy small { font-size: 12px; color: var(--ink2); }
.guest-row-price { flex: none; font-size: 14px; font-variant-numeric: tabular-nums; }
.guest-note { margin: 0; color: var(--ink2); }
.guest-footer { display: grid; gap: var(--s3); justify-items: center; margin-top: var(--s4); padding-top: var(--s4);
                border-top: 1px solid var(--line); text-align: center; }
.guest-footer p { margin: 0; color: var(--ink2); }
.guest-community { display: flex; align-items: center; gap: var(--s3); width: 100%; max-width: 420px; padding: var(--s3) var(--s4);
                   background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink);
                   text-decoration: none; text-align: left; }
.guest-community:hover { border-color: var(--ctl); }
.guest-community-icon { font-size: 20px; }
.guest-community > span:last-child { display: grid; gap: 2px; }
.guest-community small { color: var(--ink2); font-size: 12px; }
@media (max-width: 480px) { .guest-owner { flex-wrap: wrap; } .guest-badge { order: 3; } }

/* #99: comparison of 2-4 releases — the label column stays put while the table scrolls sideways on a phone. */
.compare-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin-top: var(--s4); border: 1px solid var(--line); border-radius: var(--r-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare-table th, .compare-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 150px; }
.compare-table tbody th { position: sticky; left: 0; background: var(--surface); color: var(--muted); font-weight: 500; min-width: 120px; }
.compare-table tr.compare-differs td, .compare-table tr.compare-differs th { background: var(--tint); }
.compare-coin { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.compare-coin img { width: 96px; height: 96px; object-fit: contain; }
.compare-meta { display: block; color: var(--muted); font-weight: 400; font-size: .875em; }

/* #100: «Повідомити неточність» / own photo — a quiet line under the coin facts and the add-sheet form. */
.contrib { margin: var(--s5) 0; padding: var(--s4); border: 1px dashed var(--line); border-radius: var(--r); }
.contrib p { margin: 0 0 var(--s2); }
.contrib-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
/* Only the form and its two field groups stack; the sheet head keeps its row (title left, ✕ right). */
.contrib-form, .contrib-form [data-contrib-correction], .contrib-form [data-contrib-photo] { display: flex; flex-direction: column; gap: var(--s3); }
.contrib-form [hidden] { display: none; }
.contrib-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink2); }
.contrib-form input:not([type="checkbox"]), .contrib-form select, .contrib-form textarea {
  padding: 10px 14px; font: inherit; font-size: 15px; color: var(--ink); background: transparent;
  border: 1px solid var(--ctl); border-radius: var(--r); }
.contrib-form label.contrib-check { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
/* D57 PHASE 15: support tickets on /account */
.support-list { list-style: none; margin: 0; padding: 0; }
.support-list li + li { border-top: 1px solid var(--line); }
.support-row { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 0; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.support-row > span:first-child { flex: 1; min-width: 0; }
.support-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-form { display: grid; gap: 12px; }
.support-form label { display: grid; gap: 6px; }
.support-form input, .support-form select, .support-form textarea { width: 100%; box-sizing: border-box; font: inherit; }
.support-thread { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.support-thread li { max-width: 88%; padding: 10px 12px; border-radius: 14px; background: var(--tint); }
.support-thread li.mine { justify-self: end; }
.support-thread li.theirs { border: 1px solid var(--brand-strong); background: none; }
.support-thread p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-error { color: #c0392b; }
/* #227: the widgets page — live previews and the code to copy. Owner 2026-10-01: «Партнерам» —
   two sub-tabs (`/widgets`, `/widgets/telegram`) and cards instead of the legal text column. */
.kit h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.kit .lead { max-width: 62ch; margin-bottom: var(--s5); line-height: 1.5; }
.kit-tabs { margin: var(--s4) 0 var(--s5); }
.kit code { font: 500 .92em var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--subtle); overflow-wrap: anywhere; }
.kit-card { margin-top: var(--s4); padding: var(--s5); background: var(--surface); border: 1px solid var(--line);
            border-radius: var(--r-lg); }
.kit-card h2 { font-size: 22px; font-weight: 700; margin: 0 0 var(--s2); }
.kit-card p { margin: 0; max-width: 68ch; line-height: 1.6; color: var(--ink2); }
.kit-split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--s5); align-items: start;
             margin-top: var(--s4); }
.kit-label { margin: 0 0 var(--s2); font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase;
             color: var(--ink2); }
.widget-preview { display: block; max-width: 100%; border: 0; }
.widget-code { display: block; width: 100%; font: 13px/1.5 var(--mono); padding: var(--s3); border: 1px solid var(--line);
               border-radius: var(--r); background: var(--subtle); color: inherit; resize: vertical; }
.kit-tg { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: var(--s6); margin-top: 0; }
.kit-steps { list-style: none; counter-reset: step; display: grid; gap: var(--s3); margin: 0; padding: 0; }
.kit-steps li { counter-increment: step; position: relative; padding: var(--s4) var(--s4) var(--s4) 68px;
                background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.kit-steps li::before { content: counter(step); position: absolute; left: var(--s4); top: var(--s4); width: 36px; height: 36px;
                        display: grid; place-items: center; border-radius: 50%; background: var(--tint);
                        color: var(--brand-strong); font-weight: 800; }
.kit-steps b { display: block; margin-bottom: 2px; font-size: 17px; }
.kit-steps span { color: var(--ink2); line-height: 1.55; }
.kit-cta { margin: var(--s5) 0 0; }
.kit-msg { margin: 0; padding: var(--s2); background: var(--surface); border: 1px solid var(--line);
           border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(22, 33, 28, .08); }
.kit-msg img { display: block; width: 100%; height: auto; border-radius: var(--r); background: #fff; }
.kit-msg figcaption { padding: var(--s3) var(--s2) var(--s2); font-size: 15px; line-height: 1.5; }
.kit-msg figcaption > b, .kit-msg figcaption > span { display: block; }
.kit-msg .kit-price { margin-top: var(--s2); }
.kit-keys { display: grid; gap: 6px; margin-top: var(--s3); }
.kit-keys span { padding: 10px; border-radius: var(--r-sm); background: var(--subtle); text-align: center;
                 font-size: 14px; font-weight: 600; }
.kit-msg .kit-label { margin: var(--s2); text-align: center; }
.kit-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.kit-facts .kit-card { margin: 0; }
.kit-facts h2 { font-size: 18px; }
@media (max-width: 860px) {
  .kit-split, .kit-tg, .kit-facts { grid-template-columns: minmax(0, 1fr); }
  .kit-card { padding: var(--s4); }
}
/* Owner 2026-09-30: the coin turns over (coinflip.js). Without the script none of this applies. */
.flip-ready a { perspective: 1400px; }
.flip-card { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d;
             transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.flip-card.is-flipped { transform: rotateY(180deg); }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.coin-flip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
             aspect-ratio: 1; min-width: 0; padding: 8px; border: 1px dashed var(--line); border-radius: var(--r-md, 12px);
             background: var(--surface); color: var(--ink); font: 600 13px/1.2 inherit; cursor: pointer; }
.coin-flip span { font-size: 26px; line-height: 1; color: var(--brand); }
.coin-flip[aria-pressed="true"] { border-style: solid; border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .flip-card { transition: none; } }
/* Owner 2026-10-09: the phone header had no search. A magnifier beside ☰ opens the menu panel, whose first
   row is the search field (theme.js focuses it); on a wide screen the header search is unchanged. */
.nav-search { display: none; }
@media (max-width: 760px) {
  .nav-search { display: inline-flex; order: 1; margin-left: auto; width: 44px; height: 44px; align-items: center;
                justify-content: center; border-radius: 10px; cursor: pointer; color: var(--ink); }
  .nav-search::before { content: ''; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
            mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
  .nav-search + .nav-burger, .nav-burger { margin-left: 0; }
  .top .top-search { display: none; order: 3; flex: 0 0 100%; width: 100%; max-width: none; margin: 4px 0 10px; }
  .top .nav-toggle:checked ~ .top-search { display: block; }
  .top .top-search input { font-size: 16px; }  /* 16px: iOS does not zoom the page on focus */
}
/* Owner 2026-10-09: the Mini App's list search in «Колекція» and «Бажане». */
.acc-search { display: block; margin: var(--s5) 0 var(--s3); }
.acc-search[hidden] { display: none; }
.acc-search input { width: 100%; height: 48px; padding: 0 14px 0 42px; font: inherit; font-size: 16px; color: var(--ink);
                    background: var(--surface) no-repeat 15px 50% / 17px
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5.5' fill='none' stroke='%237B897F' stroke-width='1.5'/%3E%3Cpath d='m11 11 3.5 3.5' stroke='%237B897F' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
                    border: 1px solid var(--line); border-radius: var(--r-lg); }
.acc-search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
[data-page="wishlist"] .acc-search { margin-top: 0; }
.lots > [hidden] { display: none; }
.ca-hint { margin: -4px 0 var(--s2); font-size: 13px; }
/* Owner 2026-10-09: on a phone «Колекція» and «Бажане» are the Mini App's screen (account.js, `.mv`). The
   sizes below are the Mini App's computed ones; colours go through the site tokens, so the dark theme follows. */
.mv { display: none; --panel: var(--surface); --muted: #6E7A70; --positive: var(--brand); --accent-ink: var(--on-brand);
      --cg-orange: #B96A13; color: var(--ink); font-family: var(--font); line-height: normal; }
:root[data-theme="dark"] .mv { --muted: var(--ink2); --cg-orange: #FFB454; }
@media (max-width: 760px) {
  .mv:not([hidden]) { display: block; }
  /* Owner 2026-10-09: the site's «Кабінет» tabs stay on top; the Mini App's own head and
     «Мої монети / Бажане» switch would only repeat them, so those two are hidden instead. */
  .account:has(> .mv:not([hidden])) > .acc-grid, .mv > .mv-head, .mv > .mv-tabs { display: none; }
  .acc-tabs { gap: 0; } .acc-tabs a { flex: 1 1 0; padding: 12px 4px; text-align: center; font-size: 14px; }
  main:has(.mv:not([hidden])) { padding: 14px 16px 40px; }
}
.mv [hidden] { display: none !important; }
.mv .positive { color: var(--positive); }
.mv .negative { color: var(--negative); }
.mv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.mv-brand { display: flex; align-items: center; gap: 8px; font: 800 11px/1 var(--font); letter-spacing: .16em; color: var(--muted); }
.mv-head h1 { margin: 6px 0 0; font: 800 26px/1.12 var(--font); letter-spacing: -.02em; }
.mv-round { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--green); color: var(--accent-ink); }
.mv-tabs { display: flex; gap: 18px; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.mv-tabs a { display: flex; align-items: center; min-height: 40px; padding: 0 2px 8px; margin-bottom: -1px; border-bottom: 2px solid transparent;
             color: var(--muted); font: 600 15px/1 var(--font); text-decoration: none; }
.mv-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
.mv-tabs span { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
/* CollectionValuation / WishSummary */
.mv-card { padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.mv-val { display: flex; flex-direction: column; gap: 14px; }
.mv-wish-val { margin-bottom: 12px; }
.mv-val-head { display: flex; gap: 12px; align-items: flex-start; }
.mv-val-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mv-val-head span { font: 500 11px/1.2 var(--mono); letter-spacing: .04em; color: var(--muted); }
.mv .mv-val-head h2 { margin: 0; font: 700 34px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mv-val-head p { margin: 0; font: 500 12px/1.3 var(--font); color: var(--muted); }
.mv-eye-btn { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line);
              border-radius: 14px; background: var(--soft); color: var(--ink); cursor: pointer; }
.mv-eye { position: relative; display: block; width: 24px; height: 16px; border: 1px solid currentColor; border-radius: 50%; }
.mv-eye::after { content: ''; position: absolute; left: 8px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mv-eye.is-hidden { opacity: .45; transform: rotate(-30deg); }
.mv-val-fin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.mv-val-fin small { display: block; font: 500 11px/1.2 var(--font); color: var(--muted); }
.mv-val-fin strong { display: block; margin-top: 3px; font: 600 16px/1.2 var(--font); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mv-partial-note { margin: 0; font-size: 12px; line-height: 1.4; opacity: .7; }
.mv-share { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 52px; padding: 12px 14px;
            border: 0; border-radius: 16px; background: var(--green); color: var(--accent-ink); font: 700 14px/1.2 var(--font); cursor: pointer; }
.mv-share-solo { margin: 0 0 16px; }
/* CollectionGrowth */
.mv-growth { margin: 2px 0; min-width: 0; }
.mv-cg-legend { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 11px; }
.mv-cg-money::before, .mv-cg-qty::before { content: ''; display: inline-block; width: 16px; height: 3px; margin-right: 6px; vertical-align: middle; background: var(--green); }
.mv-cg-qty::before { background: repeating-linear-gradient(90deg, var(--cg-orange) 0 5px, transparent 5px 8px); }
.mv-cg-periods { display: flex; gap: 2px; margin-top: 10px; padding: 2px; border-radius: 10px; background: var(--soft); }
.mv-cg-periods button { flex: 1; min-width: 0; min-height: 28px; padding: 5px 2px; border: 0; border-radius: 8px; background: none;
                        color: var(--muted); font: 600 9px/1.2 var(--font); white-space: nowrap; cursor: pointer; }
.mv-cg-periods button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 4px #00000014; }
.mv-cg-plot { position: relative; min-width: 0; }
.mv-growth svg { display: block; width: 100%; height: auto; margin-top: 4px; overflow: visible; touch-action: none; }
.mv-growth svg:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.mv-growth svg text { fill: var(--muted); font: 10px var(--font); }
.mv-growth svg .mv-cg-money-axis { fill: var(--green); }
.mv-growth svg .mv-cg-qty-axis { fill: var(--cg-orange); }
.mv-cg-grid { stroke: var(--line); stroke-width: 1; }
.mv-cg-area { fill: var(--green); opacity: .09; }
.mv-cg-value { fill: none; stroke: var(--green); stroke-width: 4; stroke-linejoin: round; }
.mv-cg-halo { fill: none; stroke: var(--panel); stroke-width: 5; stroke-dasharray: 6 5; stroke-linejoin: round; }
.mv-cg-qline { fill: none; stroke: var(--cg-orange); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linejoin: round; }
.mv-cg-dot { fill: var(--green); stroke: var(--panel); stroke-width: 1.5; }
.mv-cg-qdot { fill: var(--cg-orange); stroke: var(--panel); stroke-width: 1; }
.mv-cg-cursor { stroke: var(--muted); stroke-dasharray: 2 3; opacity: .55; }
.mv-cg-readout { position: absolute; top: 8px; left: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 10px;
                 border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); box-shadow: 0 3px 12px #00000014;
                 font-size: 11px; pointer-events: none; }
.mv-cg-readout time, .mv-cg-readout small { color: var(--muted); font-size: 10px; }
.mv-cg-note { margin: 8px 0 0; color: var(--muted); font: 400 11px/1.5 var(--font); }
/* Search, filters */
.mv-toolbar { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; }
.mv-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 14px; border: 1px solid var(--line);
             border-radius: 14px; background: var(--panel); color: var(--muted); }
.mv-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 30%, transparent); }
.mv-search svg { flex: none; }
.mv-search input { flex: 1; min-width: 0; height: 46px; padding: 1px 2px; border: 0; background: transparent; color: var(--ink);
                   font: 400 16px var(--font); outline: none; -webkit-appearance: none; appearance: none; }
.mv-search input::-webkit-search-cancel-button { display: none; }
.mv-search input::placeholder { color: var(--muted); }
.mv-clear { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -10px; padding: 0; border: 0;
            border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.mv-filter { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0;
             border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--ink); cursor: pointer; }
.mv-filter i { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.mv-filters { display: flex; flex-direction: column; gap: 14px; margin: 12px 0 0; padding: 14px 13px 12px; border: 1px solid var(--line);
              border-radius: 18px; background: var(--panel); }
.mv-cf-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mv-cf-label { font: 500 10px/1.2 var(--mono); letter-spacing: .1em; color: var(--muted); }
.mv-cf-chips { display: flex; gap: 8px; margin: 0 -13px; padding: 0 13px; overflow-x: auto; scrollbar-width: none; }
.mv-cf-chips::-webkit-scrollbar { display: none; }
.mv-cf-chips button { flex: none; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: transparent;
                      color: var(--ink); font: 500 13px/1 var(--font); white-space: nowrap; cursor: pointer; }
.mv-cf-chips button.selected { background: var(--green); border-color: var(--green); color: var(--accent-ink); font-weight: 600; }
.mv-cf-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mv-cf-reset { padding: 4px 0; border: 0; background: none; color: var(--green); font: 600 13px/1.2 var(--font); cursor: pointer; }
/* Collection sections (details) */
.mv-sec { margin-top: 16px; }
.mv-sec > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 52px; list-style: none; cursor: pointer; }
.mv-sec > summary::-webkit-details-marker { display: none; }
.mv .mv-sec > summary h2 { flex: 1; min-width: 0; margin: 0; font: 800 20px/normal var(--font); letter-spacing: -.015em; }
.mv-sec > summary span { font: 400 11px var(--mono); color: var(--muted); }
.mv-sec > summary::after { content: ''; width: 8px; height: 8px; margin: 0 4px 0 2px; border-left: 2px solid var(--muted); border-top: 2px solid var(--muted);
                           transform: rotate(45deg) translate(2px, 2px); }
.mv-sec:not([open]) > summary::after { transform: rotate(225deg); }
.mv-hint { margin: 0 0 11px; font: 400 11px/1.7 var(--font); color: var(--muted); }
.mv-partial { margin: 8px 0 0; }
.mv-list { display: flex; flex-direction: column; gap: 10px; }
.mv-coin { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.mv-coin-main { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 92px; padding: 12px; border: 0; border-radius: 20px;
                background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.mv-art { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
          background: repeating-linear-gradient(135deg, var(--soft) 0 6px, var(--bg) 6px 12px); }
.mv-art img { width: 100%; height: 100%; object-fit: contain; background: var(--soft); }
.mv-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.mv-copy strong { font: 600 14px/1.35 var(--font); overflow-wrap: anywhere; }
.mv-copy small { font: 400 11px/1.4 var(--mono); color: var(--muted); }
.mv-buys { display: flex; flex-direction: column; gap: 2px; max-width: 100%; min-width: 0; margin-top: 4px; }
.mv-buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; font-size: 12px; line-height: 1.35; color: var(--muted); }
.mv-buy-cost { min-width: 0; overflow: hidden; color: var(--ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mv-buy-qty, .mv-buy-when { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv-buy-more { font-size: 11px; color: var(--muted); }
.mv-owned { display: inline-flex; padding: 2px 8px; border-radius: 8px; background: var(--soft); color: var(--ink); font-size: 11px; }
.mv-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 98px; font: 700 15px/normal var(--font);
            font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.mv-price small { font: 500 10px/1.2 var(--mono); color: var(--muted); }
.mv-coin-lots { display: grid; gap: 10px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.mv-lot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.mv-lot .lot-form { flex-basis: 100%; }
.mv-coin-page { color: var(--green); font: 600 13px var(--font); text-decoration: none; }
.mv-empty-line { margin: 12px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
/* ExpandToggle */
.mv-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 10px; padding: 10px;
           border: 0; background: none; color: var(--green); font: 700 14px/1 var(--font); cursor: pointer; }
.mv-more small { font: 500 12px/1 var(--mono); color: var(--muted); }
.mv-more svg { transition: transform .15s ease; }
.mv-more svg.up { transform: rotate(180deg); }
.mv-more-inner { min-height: 36px; margin-top: 8px; padding: 8px; border-top: 1px dashed var(--line); border-radius: 0; font-size: 13px; font-weight: 600; }
.mv-more-list { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
/* CollectionAnalytics, StatRows */
.mv-rank-list, .mv-stat-list { display: flex; flex-direction: column; }
.mv-rank { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 10px 0;
           border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mv-rank:last-child, .mv-stat:last-child { border-bottom: 0; }
.mv-rank-art { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--soft); }
.mv-rank-art img { width: 100%; height: 100%; object-fit: contain; }
.mv-rank-name { overflow: hidden; font: 400 13px/1.35 var(--font); text-overflow: ellipsis; white-space: nowrap; }
.mv-rank strong { font: 700 13px var(--font); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mv-rank small { grid-column: 2 / 4; font: 500 11px/1.3 var(--mono); }
.mv-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 44px; padding: 10px 0;
           border-bottom: 1px solid var(--line); }
.mv-stat-name { font: 400 14px/1.35 var(--font); }
.mv-stat-count { font: 700 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.mv-stat-bar { display: block; height: 3px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.mv-stat-bar i { display: block; height: 100%; background: var(--green); }
.mv-stat small { font: 500 11px/1 var(--mono); color: var(--muted); text-align: right; }
/* WishBlock and its cards */
.mv-block { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.mv .mv-block h3 { margin: 0; font: inherit; }
.mv-block-head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px 14px; border: 0; border-radius: 18px;
                 background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.mv-block-title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font: 700 15px/1.2 var(--font); }
.mv-block-title small { font: 500 11px/1.3 var(--font); color: var(--muted); }
.mv-block-count { flex: none; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); font: 600 12px/1.6 var(--mono);
                  font-variant-numeric: tabular-nums; }
.mv-block-chevron { flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
                    transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
.mv-block.is-open .mv-block-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.mv-block-body { padding: 0 14px 14px; }
.mv-cv-list { display: flex; flex-direction: column; gap: 10px; }
.mv-cv { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.mv-cv-open { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.mv-cv-photo { display: block; flex: none; width: 61px; height: 61px; border-radius: 50%; background: var(--soft); overflow: hidden; }
.mv-cv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mv-cv-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex: 1; min-width: 0; }
.mv-cv-copy strong { font: 600 14px/1.25 var(--font); letter-spacing: -.005em; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.mv-cv-meta { font: 500 11px/1.3 var(--mono); color: var(--muted); }
.mv-cv-price { font: 700 12px/1.3 var(--font); }
.mv-cv-price.is-muted { color: var(--muted); font-weight: 500; }
.mv-cv-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.mv-have { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--green); border-radius: 12px;
           color: var(--green); font: 600 12px/1 var(--font); white-space: nowrap; text-decoration: none; }
.mv-drop { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
           background: transparent; color: var(--muted); cursor: pointer; }
/* SeriesProgress / YearProgress */
.mv-progress { display: flex; flex-direction: column; gap: 14px; }
.mv-series { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.mv-series header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mv-series header strong { min-width: 0; font: 600 14px/1.25 var(--font); }
.mv-counter { flex: none; font: 600 12px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.mv-counter.mv-full { color: var(--green); }
.mv-bar { height: 6px; margin: 10px 0; border-radius: 99px; background: var(--soft); overflow: hidden; }
.mv-bar i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.mv-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.mv-want-all { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 64px; padding: 6px 4px;
               border: 1px dashed var(--green); border-radius: 14px; background: transparent; color: var(--green);
               font: 600 11px/1.25 var(--font); text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.mv-series footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 20px; }
.mv-left { flex: 1 1 140px; font: 600 12px/1.35 var(--font); color: var(--green); }
.mv-wl-hint { margin: 0; padding: 16px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
/* Empty screens */
.mv-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; text-align: center; }
.mv .mv-empty h2, .mv .mv-empty h3 { margin: 0; font: 800 20px/1.25 var(--font); }
.mv-empty p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.mv-empty-art { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border: 2px dashed var(--line); border-radius: 50%;
                color: var(--green); font-size: 26px; }
.mv-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 8px; padding: 0 20px;
              border-radius: 16px; background: var(--green); color: var(--accent-ink); font: 700 15px var(--font); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .mv-more svg, .mv-block-chevron { transition: none; } }

/* Owner 16.10: «Підтримка» in the cabinet in the site look — the profile form's fields, the site's buttons and pills,
   rows like «Способи входу»; «Заблоковані в маркеті» below it in the same card style. */
.support .btn, .blocks .btn { font-family: var(--font); }
.support .btn-sm, .blocks .btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.support > div > p:first-child, .support [data-support-ticket] > p:first-child { margin: 0 0 var(--s3); }
.support-row { padding: var(--s3) 0; }
.support-row strong { font-size: 15px; }
.support-row .note { display: block; margin-top: 2px; font-size: 13px; }
.support-form { gap: var(--s3); max-width: 640px; }
.support-form label { gap: 4px; font-size: 14px; font-weight: 600; }
.support-form input, .support-form select, .support-form textarea { height: 44px; padding: 0 12px; border: 1px solid var(--ctl); border-radius: var(--r);
  background: var(--surface); color: var(--ink); font-weight: 400; font-size: 15px; }
.support-form textarea { height: auto; min-height: 112px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.support-form select { appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237B897F' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.support-form > p { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; }
.support-form > .note { font-size: 13px; }
.support h3[data-support-subject] { margin: 0 0 2px; font-size: 18px; }
.support [data-support-state] { margin: 0; }
.support-thread { margin: var(--s4) 0; gap: 10px; }
.support-thread li { padding: 10px 14px; border-radius: 16px; background: var(--subtle); }
.support-thread li.mine { background: var(--tint); }
.support-thread li.theirs { border: 1px solid var(--line); background: var(--surface); }
.support-thread small { font-size: 12px; color: var(--ink2); }
.support-thread p { font-size: 15px; line-height: 1.5; }
.blocks-list { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.blocks-list > .note { padding: var(--s2) 0; }
.blocks-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; }
.blocks-row + .blocks-row { border-top: 1px solid var(--line); }
.blocks-row > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.blocks-row strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blocks-row .note { font-size: 13px; }
.blocks-face { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--brand-strong); font-weight: 700; }
.blocks > .note { margin: 4px 0 0; font-size: 13px; }
