/* The City of Chicago Roleplay store (store.chicagocfx.com, 2026-10-24).
   The website's look (website/site/assets/css/site.css, pages.css): its tokens, buttons, bar, steps, FAQ rows and
   footer copied as they are, so the store reads as the website's store page (store/research/DESIGN_COMPARISON.md).
   Dark grey since 2026-11-02 (owner: "do a dark store page theme instead of it being white, do it in the dark grey
   style we've been doing"): the hub's dark tokens, never navy, the hub's white-outlined logo. One accent (the logo's
   light blue) for buttons, links and focus; the pictures' set colour (--set) only on the pictures and their doors.
   Discord blurple only on Discord things; Stripe's purple only on its mark; Chicago VIP's purple on VIP alone.
   Shape rule: cards 24px, tiles 16px, buttons and inputs 12px, pills 999px, avatars 50%. Prices and buttons never
   animate in. Cards only for what you choose between (tiers, items); everything else sits on the page on rules. */

@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700i.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600i.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --page: #191919;
    --bar: #111111;
    --card: #222222;
    --hover: #2a2a2a;
    --sel: #1d2833;
    --line: #2e2e2e;
    --line2: #3a3a3a;
    --edge: #5c5c5c;
    --ink: #eeeeee;
    --muted: #b4b4b4;
    --faint: #8a8a8a;
    --btn: #4fbaf0;
    --btn-hi: #74c9f4;
    --btn-ink: #0f1a22;
    --sky: #4fbaf0;
    --sky-ink: #7cc4ee;
    --set: #2a6aa0;
    --set-hi: #c4e6fb;
    --discord: #5865f2;
    --stripe: #635bff;
    --good: #6fd3a0; --good-50: #1d3328;
    --bad: #f2948d; --bad-50: #3b2120;
    --warn: #f0c96a; --warn-50: #3a3018;
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: 'Barlow', system-ui, sans-serif;
    --r-card: 24px;
    --r-tile: 16px;
    --r-btn: 12px;
    --wrap: 1240px;
    --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 36px -18px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
    /* layers: the bar 30, the account menu 31, the phone buy bar 40, the skip link 50 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 500 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
/* the italic caps are for page titles and prices only (STUDY_2.md); every other heading is Barlow, sentence case */
h1 { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1.08; margin: 0; letter-spacing: 0; }
h2, h3 { font-family: var(--body); font-weight: 700; font-style: normal; text-transform: none; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--btn); color: var(--btn-ink); padding: 10px 14px; border-radius: var(--r-btn); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
code { font: 600 0.92em ui-monospace, 'Cascadia Code', Consolas, monospace; background: var(--hover); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

/* ---------- buttons (the website's) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 18px;
    border-radius: var(--r-btn); border: 2px solid transparent;
    font: 600 18px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
    white-space: nowrap; cursor: pointer;
    transition: transform 0.18s var(--ease), background-color 0.18s, border-color 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 21px; }
.btn-block { width: 100%; }
.btn-light { background: var(--card); color: var(--ink); border-color: var(--line2); }
.btn-light:hover { border-color: var(--edge); background: var(--hover); }
.btn-main { background: var(--btn); color: var(--btn-ink); }
.btn-main:hover { background: var(--btn-hi); }
.btn-white { background: #fff; color: #191919; }
.btn-white:hover { background: #e6e6e6; }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; }
button.btn { font-family: var(--display); }
button.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- test mode ---------- */
.testmode { background: var(--warn-50); color: var(--warn); text-align: center; font-size: 14px; padding: 7px 16px; border-bottom: 1px solid var(--line); }

/* ---------- the bar (always shown, as on the website's sub-pages) ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(17, 17, 17, 0.92); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
@media (prefers-reduced-transparency: reduce) { .bar { background: var(--bar); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.bar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.bar-brand img { height: 48px; width: auto; }
.bar-links { display: flex; gap: 24px; }
.bar-links a { font: 600 17px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; color: var(--muted); padding: 8px 0; }
.bar-links a:hover { color: var(--ink); }
.bar-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sky); }
.bar-cta { margin-left: auto; min-height: 42px; }

/* the signed-in menu */
.me { margin-left: auto; position: relative; z-index: 31; }
.me summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; max-width: 240px; }
.me summary::-webkit-details-marker { display: none; }
.me summary img { width: 28px; height: 28px; border-radius: 50%; }
.me summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me summary .ico { color: var(--muted); width: 14px; height: 14px; }
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); box-shadow: var(--shadow); padding: 6px; display: grid; }
.me-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.me-menu a:hover { background: var(--hover); }


/* ---------- sections ---------- */
.tiers, .items, .never, .how, .qs { margin-top: 88px; }
.tiers { margin-top: 24px; }
.tiers > h2, .items > h2, .how > h2, .qs > h2 { font-size: clamp(36px, 4vw, 54px); color: var(--ink); margin-bottom: 22px; }
.costs { color: var(--muted); margin: -10px 0 22px; font-size: 17px; }
.costs b { color: var(--ink); font-variant-numeric: tabular-nums; }
.more { display: inline-block; margin-top: 20px; font: 600 18px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 3px; }
.more:hover { border-bottom-color: currentColor; }

/* prices: Barlow Condensed, the period small beside it */
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 700 italic 50px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.price span { color: var(--muted); font-size: 16px; }
.price-sm b { font-size: 32px; }
.price-lg b { font-size: clamp(48px, 4.4vw, 60px); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: start; }
.ticks li { font-size: 16px; line-height: 1.45; color: var(--ink); }

/* ---------- the tiers: one row, the same structure, the top one navy like the website's last step ---------- */
.tier-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier {
    display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px 24px;
}
.tier h3 { font-size: 32px; color: var(--ink); }
.tier h3 a { text-decoration: none; }
.tier h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tier-line { color: var(--muted); }
.tier-plus { font: 600 15px/1.3 var(--body); color: var(--muted); align-self: end; }
.tier-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; align-self: end; margin-top: 8px; }
.tier-act .btn { flex: 1 1 auto; }
.tier-state { font-weight: 600; color: var(--ink); }
.tier-fine { font-size: 14px; color: var(--muted); }

/* the full comparison, folded under the cards */
.compare { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); }
.compare summary { cursor: pointer; list-style: none; padding: 16px 20px; font: 600 18px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); display: flex; justify-content: space-between; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; color: var(--sky-ink); }
.compare[open] summary::after { content: "-"; }
.compare-scroll { overflow-x: auto; padding: 0 20px 18px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 italic 19px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.compare tbody th, .compare tfoot th, .compare thead th:first-child { text-align: left; font-weight: 500; }
.compare thead th:first-child { font: inherit; color: var(--muted); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 2px solid var(--line); }
.compare tfoot th, .compare tfoot td { border-bottom: 0; font-weight: 600; }
.compare tfoot td span { color: var(--muted); font-weight: 500; }
.compare td .ico { width: 18px; height: 18px; color: var(--sky-ink); display: inline-block; vertical-align: middle; }



/* ---------- FAQ rows (the website's) ---------- */
.faq { max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 italic 22px/1.15 var(--display); text-transform: uppercase; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-style: normal; color: var(--sky-ink); }
.faq details[open] summary::after { content: "-"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.faq details > div a { color: var(--sky-ink); font-weight: 600; }

/* ---------- sub-pages (the website's pages.css) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--sky-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line); }
.page-head { max-width: 860px; }
.page-head h1 { font-size: clamp(44px, 5.4vw, 76px); color: var(--ink); }
.page-lead { font-size: 20px; color: var(--muted); margin-top: 18px; max-width: 62ch; }
.sec { margin-top: 64px; }
.sec > h2 { font-size: clamp(32px, 3.4vw, 46px); color: var(--ink); margin-bottom: 18px; }
.docp, .acct, .ty, .ip-wrap { padding-top: 40px; }
.prose { max-width: 70ch; margin-top: 36px; }
.prose h2 { font-size: 30px; color: var(--ink); margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 10px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--sky-ink); font-weight: 600; }
.faq-all { margin-top: 36px; }

/* ---------- an item's page ---------- */
.ip { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.ip-art { margin: 0; position: sticky; top: 92px; }
.ip-art img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow); }
.ip-info h1 { font-size: clamp(44px, 4.4vw, 64px); color: var(--ink); }
.ip-info .price { margin-top: 10px; }
.ip-line { font-size: 19px; color: var(--muted); margin-top: 12px; }
.mini { font-size: 22px; color: var(--ink); margin: 26px 0 12px; }
.ip-not { margin-top: 18px; color: var(--muted); font-size: 16px; }
.ip-not b { color: var(--ink); }
.ip-made { margin-top: 14px; font-size: 16px; color: var(--ink); }
.ip-made a { color: var(--sky-ink); font-weight: 600; }
.buy { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.buy-form { display: grid; gap: 14px; }
.buy-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-sum b { font: 700 italic 24px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.buy-sum span { color: var(--muted); font-variant-numeric: tabular-nums; }
.buy-to { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--muted); }
.buy-to img { width: 24px; height: 24px; border-radius: 50%; }
.buy-to b { color: var(--ink); }
.tick { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.tick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--btn); cursor: pointer; }
.tick a { color: var(--sky-ink); font-weight: 600; }
.buy-msg { font-size: 15px; min-height: 0; }
.buy-msg:empty { display: none; }
.buy-msg.is-bad { color: var(--bad); }
.buy-msg .btn { margin-top: 10px; }
.buy-note { font-size: 15px; color: var(--muted); }
.sum-after { padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.also { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.also a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 14px 16px; text-decoration: none; }
.also a:hover { border-color: var(--edge); }
.also b { font: 700 italic 21px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.also span { grid-row: 2; color: var(--muted); font-size: 15px; }
.also .ico { grid-row: 1 / 3; grid-column: 2; color: var(--sky-ink); }

/* notes: a word and a colour, never colour alone */
/* notes: see "alerts" at the end */
.acct .note { margin-top: 20px; }

/* the phone's buy bar: solid, once the buy box has scrolled away (store.js) */
.buybar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, 0.8); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.buybar-in span { font-size: 15px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar-in b { font: 700 italic 20px/1 var(--display); text-transform: uppercase; color: var(--ink); margin-right: 6px; }
@media (min-width: 901px) { .buybar { display: none !important; } }
@media (max-width: 900px) { body:has(.buybar:not([hidden])) .foot { padding-bottom: 110px; } }

/* ---------- my purchases ---------- */
.acct-who { display: flex; align-items: center; gap: 16px; margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 16px 18px; }
.acct-who img { width: 56px; height: 56px; border-radius: 50%; }
.acct-who div { display: grid; gap: 2px; flex: 1 1 260px; min-width: 0; }
.acct-who b { font: 700 italic 24px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.acct-who span { color: var(--muted); font-size: 15px; }
.acct-tier { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 26px; }
.acct-tier h3 { font-size: 32px; color: var(--ink); }
.acct-tier p { margin-top: 6px; color: var(--muted); }
.acct-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.state { display: inline-block; font-size: 14px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--hover); color: var(--muted); margin-right: 6px; }
.state-good { background: var(--good-50); color: var(--good); }
.state-bad { background: var(--bad-50); color: var(--bad); }
.owned-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.owned-list li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 10px 14px; font-weight: 600; }
.owned-list li small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.ty-made { margin-top: 18px; }
.orders { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden; font-variant-numeric: tabular-nums; }
.orders th, .orders td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.orders thead th { font: 600 15px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--hover); }
.orders tbody tr:last-child td { border-bottom: 0; }
.empty { color: var(--muted); }
.empty a { color: var(--sky-ink); font-weight: 600; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- after paying ---------- */
.ty-join { margin-top: 24px; }
.ty-next { margin-top: 26px; color: var(--muted); max-width: 62ch; }
.ty-next a { color: var(--sky-ink); font-weight: 600; }
.ty-next b { color: var(--ink); }

/* ---------- footer (the website's, light, so the designer's logo sits on white) ---------- */
.foot { margin-top: 112px; background: var(--bar); border-top: 1px solid var(--line); padding: 36px 0 40px; }
.foot-in { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 40px; }
.foot-brand img { height: 84px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 420px; }
.foot-links a { display: inline-block; padding: 6px 0; font: 600 17px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); }
.foot-links a:hover { color: var(--sky-ink); }
.foot-note { color: var(--muted); font-size: 14px; max-width: 62ch; justify-self: end; display: grid; gap: 6px; }
.foot-note a { color: var(--sky-ink); }
.ico-stripe { color: var(--stripe); width: 18px; height: 18px; }

/* ==================== round 2: a real store's parts (2026-10-24) ==================== */
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 16px; }
select, input[type="search"], input[type="text"], input[type="number"] { font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--page); border: 1px solid var(--line2); border-radius: 10px; min-height: 44px; padding: 0 12px; }
select { padding-right: 32px; appearance: none; background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23b4b4b4' d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; cursor: pointer; }
select:focus-visible, input:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 1px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 15px; color: var(--ink); }
.js [data-nojs] { display: none; }
.js [data-nojs-gift] { display: none; }
.state-line { font-weight: 600; color: var(--ink); font-size: 15px; }
.state-soft { font-weight: 500; }

/* the bar: categories, search, basket, account */
.bar-in { gap: 22px; }
.bar-search { position: relative; flex: 1 1 260px; max-width: 360px; margin-left: auto; display: flex; }
.bar-search input { width: 100%; padding-right: 44px; min-height: 42px; border-radius: 999px; background: var(--card); border-color: var(--line2); }
.bar-search input:focus { background: var(--page); }
.bar-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.bar-search button .ico { width: 18px; height: 18px; }
.suggest { position: absolute; z-index: 32; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); box-shadow: var(--shadow); padding: 6px; display: grid; }
.suggest a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--hover); }
.suggest b { font: 700 italic 18px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.suggest small { grid-column: 1; color: var(--muted); font-size: 13px; }
.suggest em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.suggest p { padding: 10px 12px; color: var(--muted); font-size: 15px; }
.suggest .suggest-all { display: block; text-align: center; color: var(--sky-ink); font-weight: 600; font-size: 15px; }
.bar-basket { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: var(--card); flex: none; }
.bar-basket:hover { border-color: var(--edge); }
.bar-basket .ico { width: 22px; height: 22px; }
.bar-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: 700 12px/20px var(--body); text-align: center; font-variant-numeric: tabular-nums; }
.me { margin-left: 0; }
.bar-cta { margin-left: 0; }
.cat-strip { display: none; border-top: 1px solid var(--line); background: var(--bar); }
.cat-strip-in { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.cat-strip-in::-webkit-scrollbar { display: none; }
.cat-strip a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; font: 600 16px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.cat-strip a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sky); }
.cat-strip .ico { width: 15px; height: 15px; }
/* the row's search link is for phones, where the bar has no search box */
@media (min-width: 761px) { .cat-strip .cs-search { display: none; } }

/* a category page */
.catp { padding-top: 40px; }
.cat-head h1 { font-size: clamp(44px, 5.4vw, 72px); color: var(--ink); }
.cat-head .page-lead { margin-top: 12px; }
.cat-head .costs { margin: 0; }
.pgrid-one .ticks { margin: 4px 0 6px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid-one { grid-template-columns: minmax(0, 1fr); }
.pgrid-one .pcard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pgrid-one .pcard-art img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.pgrid-one .pcard-body { padding: 30px 32px; justify-content: center; }
.pgrid-one .pcard-body h3 { font-size: 40px; }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); box-shadow: var(--shadow); overflow: hidden; }
.pcard-art { display: block; background: var(--set); }
.pcard-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.pcard-body h3 { font-size: 26px; color: var(--ink); }
.pcard-body h3 a { text-decoration: none; }
.pcard-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pcard-line { color: var(--muted); font-size: 16px; }
.pcard-act { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pcard-more { color: var(--sky-ink); font-weight: 600; font-size: 15px; }
.pcard-top { border-color: var(--btn); }
.add { margin: 0; }

/* an item: the plans to choose from */
.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.plans legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.plan { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); cursor: pointer; }
.plan input { grid-row: 1 / 3; width: 18px; height: 18px; accent-color: var(--btn); margin: 0; }
.plan-name { font: 700 italic 19px/1.1 var(--display); text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-name em { font: 600 13px/1 var(--body); font-style: normal; text-transform: none; color: var(--good); background: var(--good-50); padding: 3px 8px; border-radius: 999px; }
.plan-price { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.plan-what { grid-column: 2 / 4; color: var(--muted); font-size: 14px; }
.plan:has(input:checked) { border-color: var(--btn); box-shadow: inset 0 0 0 1px var(--btn); background: var(--sel); }
.plan-off { opacity: 0.6; cursor: not-allowed; }
.js .field-pass[hidden] { display: none; }
.buy .field select { width: 100%; }
.gift-note { font-size: 15px; color: var(--muted); }
.ip-info .buy { margin-top: 20px; }
.ip-info .mini { margin-top: 30px; }

/* the basket drawer */
.drawer { position: fixed; inset: 0; z-index: 45; }
.drawer-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--card); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.8); border-left: 1px solid var(--line); outline: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; color: var(--ink); }
.drawer-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-total { display: flex; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dl img { width: 64px; height: 40px; object-fit: cover; border-radius: 8px; }
.dl b { display: block; font: 700 italic 18px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.dl small { color: var(--muted); font-size: 13px; }
.dl span.p { font-weight: 600; font-variant-numeric: tabular-nums; }
.dl .bad { display: block; color: var(--bad); font-size: 13px; }
.drawer-empty { padding: 30px 0; color: var(--muted); }
.drawer-added { margin: 12px 0 4px; }
@media (prefers-reduced-motion: no-preference) {
    .drawer:not([hidden]) .drawer-panel { animation: slide 0.28s var(--ease) both; }
    .drawer:not([hidden]) .drawer-shade { animation: fade 0.2s ease both; }
    @keyframes slide { from { transform: translateX(40px); opacity: 0; } }
    @keyframes fade { from { opacity: 0; } }
}

/* the basket page */
.bk { padding-top: 40px; }
.bk-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; margin-top: 28px; }
.bk-lines { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.bl { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 90px 40px; gap: 16px; align-items: center; padding: 16px 18px; }
.bl + .bl { border-top: 1px solid var(--line); }
.bl-art img { width: 96px; height: 60px; object-fit: cover; border-radius: 10px; }
.bl-main { display: grid; gap: 2px; min-width: 0; }
.bl-name { font: 700 italic 22px/1.1 var(--display); text-transform: uppercase; color: var(--ink); text-decoration: none; }
.bl-name:hover { text-decoration: underline; }
.bl-plan { color: var(--muted); font-size: 15px; }
.bl-problem { display: inline-flex; gap: 6px; align-items: center; color: var(--bad); font-size: 14px; font-weight: 600; }
.bl-problem .ico { width: 16px; height: 16px; }
.bl-bad { background: var(--bad-50); }
.qty { display: flex; gap: 6px; align-items: center; margin: 0; }
.qty select { min-height: 40px; }
.qty-one { color: var(--muted); font-size: 15px; }
.bl-total { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bl-x { margin: 0; }
.bl-x button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.bl-x button:hover { background: var(--bad-50); color: var(--bad); }
.bl-x .ico { width: 18px; height: 18px; }
.bk-clear { margin: 12px 0 0; text-align: right; }
.bk-clear button { border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.bk-for { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; display: grid; gap: 16px; }
.bk-for h2 { font-size: 28px; color: var(--ink); }
.for-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.for-choice form { margin: 0; display: contents; }
.for-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.for-opt img { width: 32px; height: 32px; border-radius: 50%; }
.for-opt > .ico { width: 28px; height: 28px; color: var(--sky-ink); }
.for-opt b { display: block; font: 700 italic 19px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.for-opt small { color: var(--muted); font-size: 14px; }
.for-opt.is-on { border-color: var(--btn); box-shadow: inset 0 0 0 1px var(--btn); background: var(--sel); }
.gift-find { display: grid; gap: 10px; }
.gift-find input { width: 100%; }
.members { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.members:empty { display: none; }
.members button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); cursor: pointer; text-align: left; font: inherit; }
.members button:hover { border-color: var(--edge); }
.members img { width: 32px; height: 32px; border-radius: 50%; }
.members b { display: block; color: var(--ink); }
.members small { color: var(--muted); font-size: 13px; }
.members .none { color: var(--muted); font-size: 15px; padding: 6px 2px; }
.bk-sum { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.bk-sum h2 { font-size: 28px; color: var(--ink); }
.sum-rows { margin: 0; display: grid; gap: 10px; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows dt { color: var(--ink); }
.sum-rows dt small { display: block; color: var(--muted); font-size: 13px; }
.sum-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.sum-rows dd small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.sum-total { padding-top: 12px; border-top: 1px solid var(--line); }
.sum-total dt { font: 700 italic 22px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.sum-total dd { font: 700 italic 26px/1.1 var(--display); color: var(--ink); }
.sum-problems { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 6px; background: var(--bad-50); border-radius: var(--r-btn); }
.sum-problems li { color: var(--bad); font-size: 14px; font-weight: 600; }
.pay { display: grid; gap: 14px; margin: 0; }
.bk-empty { margin-top: 24px; display: grid; gap: 24px; }

/* search */
.search-big { display: flex; gap: 10px; margin-top: 18px; max-width: 620px; }
.search-big input { flex: 1; min-height: 52px; font-size: 18px; }
.search-big .btn { min-height: 52px; }

.ty-lines { margin-top: 18px; }

@media (max-width: 1080px) {
    .bar-links { display: none; }
    .cat-strip { display: block; }
    .pgrid, .pgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bk-grid { grid-template-columns: 1fr; }
    .bk-sum { position: static; }
}
@media (max-width: 760px) {
    .bar-search { display: none; }
    .bar-in { gap: 10px; }
    .bar-brand { margin-right: auto; }
    .me summary span { display: none; }
    .me summary { padding: 4px; }
    .pgrid, .pgrid-4 { grid-template-columns: 1fr; }
    .pgrid-one .pcard { grid-template-columns: 1fr; }
    .pgrid-one .pcard-art img { min-height: 0; aspect-ratio: 16 / 9; }
    .pgrid-one .pcard-body { padding: 18px 20px 20px; }
    .pgrid-one .pcard-body h3 { font-size: 30px; }
        .bl { grid-template-columns: 72px minmax(0, 1fr) 40px; grid-template-areas: "art main x" "art qty total"; row-gap: 10px; padding: 14px; }
    .bl-art { grid-area: art; align-self: start; }
    .bl-art img { width: 72px; height: 46px; }
    .bl-main { grid-area: main; }
    .qty, .qty-one { grid-area: qty; }
    .bl-total { grid-area: total; }
    .bl-x { grid-area: x; align-self: start; }
    .for-choice { grid-template-columns: 1fr; }
    .bk-for { padding: 18px; }
    .search-big { flex-direction: column; }
}

/* ==================== round 2b: from the study of 14 stores (STRUCTURE.md) ==================== */
/* the bar's basket says "Basket" */
.bar-basket { width: auto; padding: 0 14px 0 12px; gap: 8px; border-radius: 999px; display: inline-flex; align-items: center; height: 44px; }
.bar-basket-word { font: 600 16px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.bar-count { position: static; min-width: 22px; height: 22px; line-height: 22px; }

/* search suggestions in groups */
.suggest-h { font: 600 13px/1 var(--body); text-transform: none; font-style: normal; color: var(--muted); padding: 8px 12px 4px; }
.suggest .suggest-item { grid-template-columns: 56px 1fr auto; align-items: center; }
.suggest-item img { width: 56px; height: 32px; object-fit: cover; border-radius: 6px; grid-row: 1; }
.suggest-item span { display: grid; gap: 2px; }
.suggest .suggest-item em { grid-row: 1; grid-column: 3; }
.suggest .suggest-help { display: block; color: var(--ink); font-size: 15px; }
.suggest-not { background: var(--hover); border-radius: 10px; margin: 4px; color: var(--ink) !important; }


/* a category page: count line, the other categories, the plan switch, its own information, the trust strip */
.cat-head { display: block; }
.sibs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 26px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sibs a, .sibs span { font: 600 17px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; padding: 4px 0; }
.sibs a:hover { color: var(--ink); }
.sibs span[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sky); }
.sibs small { font: 600 13px/1 var(--body); color: var(--muted); margin-left: 2px; }
.plan-switch { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.plan-switch a { padding: 10px 18px; border-radius: 999px; font: 600 16px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.plan-switch a[aria-current] { background: var(--btn); color: var(--btn-ink); }
.plan-switch a:not([aria-current]):hover { color: var(--ink); }
.cat-notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.cat-notes li::before { content: "\2022"; color: var(--sky-ink); margin-right: 8px; }
.cat-info { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.cat-info-text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cat-info h2 { font-size: clamp(28px, 3vw, 38px); color: var(--ink); margin-bottom: 14px; }
.cat-info p { color: var(--muted); }
.cat-info .costs { margin: 12px 0 0; }
.slot-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden; }
.slot-table th, .slot-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.slot-table tr:last-child th, .slot-table tr:last-child td { border-bottom: 0; }
.slot-table th { font-weight: 600; color: var(--ink); width: 45%; }
.slot-table td { color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-info .fine { margin-top: 10px; }
.pgrid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pcard-facts li { font-size: 14px; color: var(--muted); padding-left: 14px; position: relative; }
.pcard-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.pcard-cross-note { font: 600 13px/1 var(--body); color: var(--sky-ink); }
.pcard-cross .pcard-art img { aspect-ratio: 16 / 7; }

/* an item: its category, the facts panel, what's below */
.facts-panel { margin: 18px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 6px 18px; }
.facts-panel > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; }
.facts-panel > div + div { border-top: 1px solid var(--line); }
.facts-panel dt { color: var(--muted); font-size: 14px; }
.facts-panel dd { margin: 0; font-size: 15px; color: var(--ink); }
.ip-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.ip-more h2 { font-size: clamp(28px, 3vw, 38px); color: var(--ink); margin-bottom: 16px; }
.ip-more .ip-not { margin-top: 16px; }
.included { display: block; margin-top: 16px; text-decoration: none; color: var(--ink); }
.included b { display: block; color: var(--sky-ink); }
.included span { font-size: 15px; color: var(--muted); }
.included:hover b { text-decoration: underline; }

/* search: the plain answer for what's never sold, and the compact rows */
.not-sold { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 16px 18px; margin: 10px 0 22px; }
.not-sold p { color: var(--ink); }
.not-sold p + p { margin-top: 6px; }
.not-sold a { display: inline-block; margin-top: 8px; color: var(--sky-ink); font-weight: 600; }
.srows { list-style: none; margin: 14px 0 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden; }
.srows li + li { border-top: 1px solid var(--line); }
.srows a { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px; text-decoration: none; }
.srows a:hover { background: var(--hover); }
.srows img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; }
.srows b { display: block; font: 700 italic 21px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.srows small { color: var(--muted); font-size: 14px; }
.srows em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }

/* the drawer's totals */
.drawer-due { display: flex; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; }
.drawer-due b { font: 700 italic 22px/1 var(--display); color: var(--ink); }
.drawer-then { color: var(--muted); font-size: 14px; margin-top: 4px; }
.drawer-problem { color: var(--bad); font-size: 14px; font-weight: 600; margin-top: 4px; }
.drawer-keep { border: 0; background: none; color: var(--sky-ink); font-weight: 600; cursor: pointer; padding: 6px; font-size: 15px; }

@media (max-width: 1080px) {
    .sibs { display: none; } /* the bar's category row says the same there */
    .catp .cat-head { margin-bottom: 22px; }
    .cat-info { grid-template-columns: 1fr; }
    .ip-more { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
    .bar-basket { padding: 0 10px; }
    .bar-basket-word { display: none; }
    /* the category row wraps rather than running off the edge with no hint */
    .cat-strip-in { flex-wrap: wrap; overflow: visible; gap: 0 18px; }
    .cat-strip a { padding: 11px 0; font-size: 15px; }
    .cat-strip .cs-word { display: none; }
    .pgrid-two { grid-template-columns: 1fr; }
    .plan-switch { display: flex; }
    .plan-switch a { flex: 1; text-align: center; padding: 10px 8px; font-size: 15px; }
    .facts-panel > div { grid-template-columns: 90px 1fr; }
    .srows a { grid-template-columns: 72px 1fr; }
    .srows img { width: 72px; height: 41px; }
    .srows em { grid-column: 2; font-size: 15px; }
    /* one-time items as compact rows on a phone, so several fit on a screen (STRUCTURE.md) */
    .pgrid:not(.pgrid-one) .pcard { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
    .pgrid:not(.pgrid-one) .pcard-art img { height: 100%; aspect-ratio: auto; min-height: 104px; }
    .pgrid:not(.pgrid-one) .pcard-body { padding: 14px 14px 14px; gap: 6px; }
    .pgrid:not(.pgrid-one) .pcard-body h3 { font-size: 22px; }
    .pgrid:not(.pgrid-one) .pcard-line, .pgrid:not(.pgrid-one) .pcard-facts { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .btn:hover, .btn:active { transition: none; transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
    .bar-links { gap: 18px; }
    .foot-in { grid-template-columns: auto 1fr; }
    .foot-note { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
    .bar-links { display: none; }
    .tier-row { grid-template-columns: 1fr; }
    .tier { grid-row: auto; grid-template-rows: none; }
    .ip { grid-template-columns: 1fr; gap: 26px; }
    .ip-art { position: static; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .bar-in { height: 60px; gap: 12px; }
    .bar-brand img { height: 40px; }
    .bar-cta { min-height: 40px; padding: 0 12px; font-size: 16px; }
    .me summary { max-width: 170px; }
    .tiers, .items, .never, .how, .qs { margin-top: 64px; }
    .tiers { margin-top: 12px; }
    .tier { padding: 24px 20px 20px; }
    .acct-who { flex-wrap: wrap; }
    .acct-who .btn { width: 100%; }
    .acct-tier { padding: 20px; }
    .acct-btns, .acct-btns .btn { width: 100%; }
    .orders thead { display: none; }
    .orders, .orders tbody, .orders tr, .orders td { display: block; width: 100%; }
    .orders tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
    .orders tbody tr:last-child { border-bottom: 0; }
    .orders td { border: 0; padding: 4px 16px; display: flex; justify-content: space-between; gap: 12px; }
    .orders td::before { content: attr(data-l); color: var(--muted); font-size: 14px; }
    .compare-scroll { padding: 0 12px 14px; }
    .compare table { font-size: 14px; }
    .compare th, .compare td { padding: 9px 6px; }
    .compare thead th { font-size: 15px; }
    .foot-in { grid-template-columns: 1fr; gap: 20px; }
    .ip-wrap { padding-bottom: 40px; }
}

/* ==================== round 3: imports (2026-10-24): My imports, one import, the devs' review ==================== */
.state-warn { background: var(--warn-50); color: var(--warn); }
.muted { color: var(--muted); }
code { font: 600 0.94em/1.2 ui-monospace, Consolas, monospace; background: none; border: 0; color: var(--ink); padding: 0; }
.slots td:last-child { text-align: right; }
.slot-fine { margin-top: 28px; }
.slot-state { margin-top: 20px; }
.slot-state p { max-width: 70ch; }
.slot-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; margin-top: 28px; }
.slot-main { display: grid; gap: 28px; }
.slot-main h2, .slot-side h2 { font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); margin-bottom: 12px; }
.slot-aside { display: grid; gap: 20px; }
.slot-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.slot-side .fine { margin: -4px 0 12px; }
.slot-form, .upload, .friend-add, .decide { display: grid; gap: 14px; }
.slot-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.field small { font-weight: 500; color: var(--muted); }
textarea { font: 500 16px/1.45 var(--body); color: var(--ink); background: var(--page); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; resize: vertical; width: 100%; }
textarea:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 1px; }
.slot-form input[type="text"], .decide input[type="text"], .decide input[type="number"], .friend-add input { width: 100%; }
input[type="file"] { font: 500 15px/1.3 var(--body); color: var(--ink); }
input[type="file"]::file-selector-button { font: 600 15px/1 var(--display); text-transform: uppercase; color: var(--ink); background: var(--page); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; margin-right: 12px; cursor: pointer; }
.gender { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.gender legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 6px; }
.gender label { display: inline-flex; align-items: center; gap: 8px; }
.slot-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.files { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 8px 10px 8px 14px; }
.files li > a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.files li > a .ico { width: 22px; height: 22px; flex: none; color: var(--sky-ink); }
.files li > a span { display: grid; min-width: 0; }
.files b { font-weight: 600; overflow-wrap: anywhere; }
.files small { color: var(--muted); font-size: 14px; }
.files li > a:hover b { text-decoration: underline; }
.upload { background: var(--card); border: 1px dashed var(--line2); border-radius: var(--r-tile); padding: 18px; justify-items: start; }
.upload .fine { margin: 0; }
.friends li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); }
.friends li img, .members img { width: 32px; height: 32px; border-radius: 50%; }
.friends li > span, .members button span { display: grid; flex: 1; min-width: 0; }
.friends b, .members b { font-weight: 600; }
.friends small, .members small { color: var(--muted); font-size: 14px; }
.friend-add { margin-top: 14px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.history li { display: grid; gap: 2px; }
.history b { font-weight: 600; }
.history span { color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.history small { color: var(--muted); font-size: 14px; }
.decisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.decide { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 18px; align-content: start; justify-items: start; }
.decide textarea, .decide .field { width: 100%; }
.sec > h2 small { font: 600 18px/1 var(--body); font-style: normal; color: var(--muted); margin-left: 6px; }
@media (max-width: 900px) {
    .slot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .slot-form, .slot-side { padding: 18px; }
    .friend-add { grid-template-columns: 1fr; }
    .slots td:last-child { text-align: left; }
}
.btn-bad { color: var(--bad); }
.btn-bad:hover { border-color: var(--bad); }
.decide .slot-btns { margin-top: 2px; }

/* ==================== round 4: the store admin (2026-10-25) ==================== */
.admin-nav { margin-top: 18px; }
.admin-search { margin-top: 18px; max-width: 640px; }
.inline-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-act input[type="text"] { min-height: 38px; width: 180px; }
.note .inline-act { margin-top: 2px; }
.staff-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.staff-links a { color: var(--sky-ink); font-weight: 600; }
.member-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); color: var(--ink); text-decoration: none; }
.member-row:hover { border-color: var(--edge); }
.member-row span { display: grid; }
.member-row b { font-weight: 600; }
.member-row small { color: var(--muted); font-size: 14px; }
.adminp .orders td a { color: var(--sky-ink); }

/* ==================== round 5: the redesign (2026-10-25, research/STUDY_2.md) ====================
   Italic caps only for page titles and prices; names, nav, labels and questions in Barlow, sentence case. Cards
   only for what you choose between (tiers, items, the category doors); everything else sits on the page on rules.
   No pills on rows (a state is a plain word, coloured only when it needs attention), no inverted last card (each
   tier has its own colour on its top edge), the front page is a store (one line, then the categories). */
:root { --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 30px -18px rgba(0, 0, 0, 0.7); }

/* type */
.bar-links a, .cat-strip a, .sibs a, .sibs span, .plan-switch a, .more, .foot-links a, .bar-basket-word {
    font-family: var(--body); font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; }
.bar-links a, .more { font-size: 16px; }
.tier h3, .pcard-body h3, .bl-name, .dl b, .srows b, .suggest b, .also b, .plan-name, .for-opt b,
.acct-who b, .buybar-in b, .buy-sum b, .sum-total dt, .drawer-head h2 {
    font-family: var(--body); font-style: normal; text-transform: none; font-weight: 700; letter-spacing: -0.01em; }
.tier h3 { font-size: 26px; }
.pcard-body h3 { font-size: 21px; }
.bl-name { font-size: 18px; }
.dl b, .srows b, .suggest b { font-size: 16px; }
.plan-name { font-size: 17px; }
.plan-name em { background: none; padding: 0; font-weight: 600; }
.for-opt b { font-size: 16px; }
.acct-who b { font-size: 20px; }
.sum-total dt { font-size: 18px; }
.drawer-head h2 { font-size: 22px; }
.orders thead th { font: 600 14px/1.2 var(--body); text-transform: none; letter-spacing: 0; background: none; }
.compare summary { font: 600 17px/1 var(--body); text-transform: none; letter-spacing: 0; }
.compare thead th { font: 700 16px/1.2 var(--body); text-transform: none; }
.tier-plus { font: 600 15px/1.2 var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); }

/* headings on a page */
.sec > h2, .tiers > h2, .how > h2, .qs > h2, .never > h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin-bottom: 16px; }
.page-head h1 { font-size: clamp(38px, 4.2vw, 56px); }
.acct .page-head h1, .bk .page-head h1, .ty .page-head h1 { font-size: clamp(34px, 3.4vw, 44px); }
.adminp .page-head h1, .slotp .page-head h1 { font-size: clamp(32px, 3.2vw, 42px); }
.cat-head h1, .ip-info h1 { font-size: clamp(42px, 4.8vw, 64px); }
.page-lead { font-size: 18px; margin-top: 12px; }
.tiers, .items, .never, .how, .qs { margin-top: 72px; }

/* the front page: one line, then the categories, one big and three beside it */
.money-note, .shop .costs { margin: 16px 0 0; color: var(--muted); max-width: 72ch; }
.money-note b { color: var(--ink); }

/* steps: a numbered row on the page */
.steps { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.step-n { font: 700 italic 34px/1 var(--display); color: var(--sky-ink); min-width: 22px; }
.steps h3 { font-size: 18px; color: var(--ink); }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 42ch; }
.steps a { color: var(--sky-ink); font-weight: 600; }

/* never for sale: a plain list */

/* lists and questions on rules */
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 900px; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.plain-list b { color: var(--ink); font-weight: 600; }
.faq details { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; }
.faq details + details { margin-top: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; font: 600 18px/1.35 var(--body); font-style: normal; text-transform: none; color: var(--ink); }
.faq summary::after { font: 600 20px/1 var(--body); }
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px 40px; border-top: 1px solid var(--line); padding-top: 18px; }
.qa h3 { font-size: 17px; color: var(--ink); }
.qa p { color: var(--muted); margin-top: 6px; font-size: 16px; max-width: 60ch; }
.qa a { color: var(--sky-ink); font-weight: 600; }

/* a state is a word; colour only when it needs attention */
.state { display: inline; padding: 0; background: none; border-radius: 0; font-size: inherit; font-weight: 600; color: var(--ink); margin: 0; }
.state-good, .state-plain { background: none; color: var(--ink); }
.state-grey { background: none; color: var(--muted); }
.state-bad { background: none; color: var(--bad); }
.state-warn { background: none; color: var(--warn); }
.owned-list { display: block; border-top: 1px solid var(--line); max-width: 900px; }
.owned-list li { display: flex; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; }

/* the comparison grouped, prices first (each tier's colour is on its chat line, not on a stripe) */
.compare th, .compare td { border-bottom: 0; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare-price th, .compare-price td { font-weight: 600; color: var(--ink); padding-top: 12px; }
.compare-group th { text-align: left; font: 600 14px/1.2 var(--body); color: var(--muted); padding-top: 22px; border-bottom: 1px solid var(--line); }

/* category pages */
.catp .cat-head { margin-bottom: 26px; }
.cat-facts { margin-top: 40px; color: var(--muted); font-size: 15px; max-width: 82ch; }
.cat-facts a { color: var(--sky-ink); font-weight: 600; }
.cat-info-text { max-width: 900px; }
.slot-table { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }

/* an item: the picture with what you get under it, the buy box beside */
.ip-art { position: static; }
.ip-art img { box-shadow: none; border: 1px solid var(--line); }
.ip-get { margin-top: 28px; }
.ip-get h2 { font-size: 24px; color: var(--ink); margin-bottom: 14px; }
.buy { box-shadow: none; }
.srows { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; max-width: 900px; }
.srows li + li { border-top: 0; }
.srows li { border-bottom: 1px solid var(--line); }
.srows a { padding: 12px 0; }
.srows a:hover { background: none; }
.srows a:hover b { text-decoration: underline; }

/* basket, thanks, account: records, not boxes */
.bk-for { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; }
.bk-for h2, .bk-sum h2 { font-size: 22px; }
.bk-sum { box-shadow: none; }
.bk-empty .srows { margin-top: 0; }
.ty-sum { margin-top: 22px; font-size: 18px; color: var(--ink); max-width: 70ch; }
.ty-how { margin-top: 40px; }
.acct-who { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 18px; }
.acct-tier { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0; }
.acct-tier h3 { font-size: 22px; }
.acct-tier + .acct-tier { margin-top: 18px; }
.perks { margin: 0; border-top: 1px solid var(--line); max-width: 960px; }
.perks > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.perks dt { font-weight: 600; color: var(--ink); }
.perks dd { margin: 0; color: var(--muted); }
.perks dd a { color: var(--sky-ink); font-weight: 600; }
.roles-check { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 15px; }

/* imports, review and admin: sections on rules, forms on the page */
.slot-state { background: none; border: 0; border-radius: 0; padding: 0; margin-top: 18px; }
.slot-side { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0; }
.slot-form, .decide { background: none; border: 0; border-radius: 0; padding: 0; }
.slot-main h2, .slot-side h2 { font-size: 22px; }
.decisions { grid-template-columns: 1fr; }
.money-form { max-width: 640px; }

/* the shape rule: inputs and small pictures on the button radius */
select, input[type="search"], input[type="text"], input[type="number"], textarea { border-radius: var(--r-btn); }
input[type="month"], input[type="date"] { font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--page); border: 1px solid var(--line2); border-radius: var(--r-btn); min-height: 44px; padding: 0 12px; }
.me-menu a, .suggest a, .suggest-item img, .dl img, .bl-art img, .srows img, .drawer-keep { border-radius: var(--r-btn); }

/* the footer: three short groups and the legal block */
.foot-links { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 48px; max-width: none; }
.foot-links > div { display: grid; gap: 2px; align-content: start; }
.foot-h { font: 600 13px/1.2 var(--body); color: var(--muted); margin-bottom: 6px; }
.foot-links a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 4px 0; }

@media (max-width: 1080px) {
    .steps, .steps-4 { grid-template-columns: 1fr 1fr; }
    .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
}
@media (max-width: 640px) {
    .steps, .steps-4 { grid-template-columns: 1fr; gap: 18px; }
    .perks > div { grid-template-columns: 1fr; gap: 4px; }
    .foot-links { grid-template-columns: 1fr 1fr; }
}

/* the codes list: the short columns stay on one line */
.codes td { white-space: nowrap; }
.codes td[data-l="Off"], .codes td[data-l="For"] { white-space: normal; }
.codes td[data-l="Off"] b { font-weight: 600; }

/* ==================== round 6: the real perk, no chips (2026-10-25) ==================== */
/* The in-game chat line, as coc_chat draws it (resources/[scripts]/coc_chat/html/chat.css): a dark row with the
   channel's colour down its left edge, the slanted channel tag, the outlined tier tag, the condensed caps name.
   Scaled from the game's 1vh units to pixels. Colours are coc_chat's own (config.lua). */
.gl { --c: #40e0ff; display: flex; align-items: flex-start; gap: 10px; padding: 7px 14px 7px 0; background: rgba(12, 16, 19, 0.82);
      border-left: 5px solid var(--c); color: #e9edf1; font: 500 17px/26px var(--body); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); text-align: left; }
.gl + .gl { margin-top: 6px; }
.gl-tw { --c: #1d9bf0; }
.gl-chan { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 24px; margin: 1px 0 0 9px; padding: 0 9px; background: var(--c);
           color: #0e1113; font: 700 italic 16px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; text-shadow: none; transform: skewX(-10deg); white-space: nowrap; }
.gl-chan > * { transform: skewX(10deg); }
.gl-chan .ico { width: 14px; height: 14px; }
.gl p { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gl-rank { --rc: #9aa0a6; display: inline-block; margin-right: 11px; padding: 0 7px; border: 2px solid var(--rc); color: var(--rc); background: rgba(0, 0, 0, 0.3);
           font: 700 italic 15px/20px var(--display); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; vertical-align: 1px; transform: skewX(-10deg); text-shadow: none; }
.gl-rank-supporter { --rc: #cbd5e1; }
.gl-rank-chicago-vip { --rc: #c084fc; }
.gl-rank-city-patron { --rc: #f5c542; }
.gl-rank-donation { --rc: #34d399; }
.gl-who { font: 700 italic 20px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; color: #fff; margin-right: 8px; }
.gl-check { width: 17px; height: 17px; color: #f5c542; vertical-align: -2px; margin: 0 8px 0 -3px; filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6)); }
.gl-text { color: #e9edf1; }
.nc-gold { color: #f5c542; } .nc-purple { color: #c084fc; } .nc-blue { color: #60a5fa; } .nc-teal { color: #2dd4bf; }
.nc-green { color: #4ade80; } .nc-pink { color: #f472b6; } .nc-orange { color: #fb923c; } .nc-white { color: #f1f5f9; }

/* a tier card's first row: its own line, on the tier's ground */
.tier-game { margin: -28px -26px 4px; padding: 26px 16px; border-radius: var(--r-card) var(--r-card) 0 0; }
.tier-game .gl { font-size: 15px; }
.tier-game .gl-who { font-size: 18px; }

/* an item page's picture for a membership or a donation: the lines on its ground, and the perks to try */
.ip-game { margin: 0; }
.gl-stage { min-height: 300px; display: grid; align-content: end; padding: 28px 24px; border-radius: var(--r-card) var(--r-card) 0 0; }
.gl-stage .gl { max-width: 620px; }
.gl-tools { display: grid; gap: 16px; padding: 18px 22px 20px; background: var(--card); border: 1px solid var(--line); border-top: 0; }
.gl-try p { font-size: 15px; color: var(--muted); }
.gl-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gl-sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--page); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.gl-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.gl-sw:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; }
.sw-gold { background: #f5c542; } .sw-purple { background: #c084fc; } .sw-blue { background: #60a5fa; } .sw-teal { background: #2dd4bf; }
.sw-green { background: #4ade80; } .sw-pink { background: #f472b6; } .sw-orange { background: #fb923c; } .sw-white { background: #f1f5f9; }
.gl-title input { max-width: 260px; text-transform: uppercase; }
.ip-game figcaption { padding: 10px 2px 0; font-size: 14px; color: var(--muted); }
.ip-game .gl-tools + figcaption, .ip-game .gl-stage + figcaption { border-top: 0; }
.ip-game:not(:has(.gl-tools)) .gl-stage { border-radius: var(--r-card); }
.gl-tools { border-radius: 0 0 var(--r-card) var(--r-card); }
.js .gl-try, .js .gl-title { display: grid; }
html:not(.js) .gl-try .gl-swatches, html:not(.js) .gl-title { display: none; }
@media (max-width: 900px) { .gl-stage { min-height: 220px; padding: 20px 14px; } }
@media (max-width: 640px) { .gl { font-size: 15px; line-height: 23px; } .gl-who { font-size: 17px; } .tier-game { margin: -24px -20px 4px; } }

/* ==================== round 9: the dark store and its pictures (2026-11-02, research/MARKETING.md) ==================== */
/* Owner: "a dark store page theme ... in the dark grey style", then picture look B ("much better, get it all going").
   The colour comes from the pictures (store/art/tiles.mjs): the set blue on everything, Chicago VIP's purple on VIP
   alone. No photos or GTA artwork. Panels 24px, the pictures inside them 16px. The front page sells Chicago VIP, says
   the Founding deadline, then has a door per section, never the product lists (owner: "stop tryna put every single
   product on the main page"): the bar's menus list every item. */
:root { --vip: #6d3fd6; --vip-2: #5b2fc0; }
.btn-vip { background: var(--vip); color: #fff; box-shadow: 0 10px 24px -12px rgba(109, 63, 214, 0.8); }
.btn-vip:hover { background: #7a4fe0; }
.home-qs + .foot { margin-top: 0; }

/* the bar's section menus: the name a link, the caret opens the panel with every item (store.js) */
.bar-links { gap: 6px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-btn { width: 26px; height: 32px; display: grid; place-items: center; margin-right: 8px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--faint); cursor: pointer; }
.nav-btn .ico { width: 13px; height: 13px; transition: transform 0.18s var(--ease); }
.nav-btn:hover, .nav-item.open .nav-btn { color: var(--ink); background: var(--hover); }
.nav-item.open .nav-btn .ico { transform: rotate(180deg); }
.nav-panel { position: absolute; left: -14px; top: calc(100% + 16px); z-index: 32; width: 380px; display: none; gap: 10px; padding: 14px;
             background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-tile); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.8); }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item.open .nav-panel { display: grid; }
html:not(.js) .nav-item:hover .nav-panel, html:not(.js) .nav-item:focus-within .nav-panel { display: grid; }
.nav-line { padding: 0 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.nav-things { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bar-links .nav-panel a { padding: 6px; color: var(--ink); font: 500 15px/1.3 var(--body); white-space: normal; box-shadow: none; }
.bar-links .nav-things a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; border-radius: 10px; }
.bar-links .nav-things a:hover { background: var(--hover); }
.nav-things img { width: 64px; height: 36px; border-radius: 6px; }
.nav-things b { display: block; font-weight: 600; }
.nav-things small { display: block; font-size: 13px; color: var(--muted); }
.nav-more { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.bar-links .nav-more a { padding: 0; color: var(--sky-ink); font-weight: 600; font-size: 14px; }
.bar-links .nav-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* a membership's (or the donation's) ground: its colour with its icon big and faint; the real chat lines sit on it */
.ground-supporter, .tier-supporter { --ground: url('../img/products/supporter-ground.webp'); --ground-c: #2a6aa0; }
.ground-chicago-vip, .tier-chicago-vip { --ground: url('../img/products/chicago-vip-ground.webp'); --ground-c: #4a2390; }
.ground-city-patron, .tier-city-patron { --ground: url('../img/products/city-patron-ground.webp'); --ground-c: #2a6aa0; }
.ground-donation { --ground: url('../img/products/donation-ground.webp'); --ground-c: #2a6aa0; }
.tier-game { background: var(--ground-c, var(--set)) var(--ground, none) center / cover; }
.gl-stage { background: var(--ground-c, var(--set)) var(--ground, none) center / cover; }
.gl-tools { background: var(--card); }

/* the tiers (the Memberships page): VIP picked by its purple edge, its filled button and a reason */
.tier-pick { border-color: var(--vip); box-shadow: 0 0 0 1px var(--vip), 0 24px 48px -28px rgba(109, 63, 214, 0.6); }
.tier-pick .tier-line { color: var(--ink); font-weight: 500; }
.tier-act .add, .tier-act .btn { width: 100%; }
@media (max-width: 1080px) { .tier-row .tier-pick { order: -1; } }

/* the hero: the offer on the page's grey, VIP's lines on VIP's own purple beside it */
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 56px 0 44px; }
.hero h1 { font-size: clamp(60px, 6.4vw, 92px); line-height: 1.04; color: #fff; padding-bottom: 4px; }
.hero-line { margin-top: 14px; font-size: 20px; line-height: 1.5; color: #d2d2d2; max-width: 38ch; }
.hero-price { margin-top: 22px; }
.hero-price b, .hero .price.hero-price b { color: #fff; font-size: clamp(44px, 4vw, 56px); }
.hero-price span { color: var(--muted); }
.hero-price s { color: var(--faint); }
.hero .sale-line { color: #ffb3a8; font-size: 15px; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; }
.hero-act .add { display: contents; }
.hero-link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.hero-link:hover { color: var(--sky-ink); }
.hero-terms { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.hero-terms + .hero-terms { margin-top: 2px; }
.hero-next { margin-top: 18px; font-size: 16px; color: var(--muted); max-width: 52ch; }
.hero-next a { color: var(--sky-ink); font-weight: 600; }
.hero-game { margin: 0; min-height: 400px; display: grid; align-content: end; padding: 30px 26px 22px; border-radius: var(--r-card);
             background: var(--ground-c) var(--ground) center / cover; box-shadow: var(--shadow); }
.hero-lines { display: grid; gap: 6px; }
.hero-lines .gl { font-size: 18px; line-height: 28px; max-width: 640px; }
.hero-lines .gl-who { font-size: 22px; }
.hero-try { margin-top: 18px; }
.hero-try p { font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.hero-try code { color: #fff; }
.hero-game .gl-sw { border-color: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); }
.hero-game .gl-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff; }
.hero-game figcaption { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
html:not(.js) .hero-try { display: none; }

/* the Founding band: its picture, the real last day, the price */
.found-in { display: grid; grid-template-columns: 224px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 14px 26px 14px 14px;
            background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.found-art img { width: 224px; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-tile); }
.found-copy h2 { font-size: 26px; color: var(--ink); }
.found-copy p { margin-top: 6px; font-size: 17px; color: var(--muted); max-width: 60ch; }
.found-copy a { color: var(--sky-ink); font-weight: 600; }
.found-act { display: flex; align-items: center; gap: 20px; }
.found-act .price b { font-size: 40px; color: var(--ink); }

/* the sections: one door each, its picture, what's in it and its lowest price */
.doors { margin-top: 72px; }
.doors > h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin-bottom: 16px; }
.door-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.door { display: flex; flex-direction: column; gap: 4px; height: 100%; padding-bottom: 16px; background: var(--card); border: 1px solid var(--line);
        border-radius: var(--r-tile); overflow: hidden; text-decoration: none; transition: transform 0.18s var(--ease), border-color 0.18s; }
.door img { width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 10px; }
.door-name { padding: 0 16px; font-weight: 700; font-size: 18px; line-height: 1.25; }
.door-what { padding: 0 16px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.door-from { padding: 0 16px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.door:hover { border-color: var(--edge); transform: translateY(-2px); }
.door:active { transform: translateY(0) scale(0.99); }

/* a month as a gift */
.gift-band { margin-top: 72px; scroll-margin-top: 90px; }
.gift-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: center; padding: 14px 28px 14px 14px;
           background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.gift-art { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-tile); }
.gift-copy h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); }
.gift-copy > p { margin-top: 6px; font-size: 17px; color: var(--muted); max-width: 56ch; }
.gift-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gift-opts form { margin: 0; }
.gift-opt { display: grid; gap: 2px; text-align: left; min-height: 60px; padding: 10px 18px; border-radius: var(--r-btn); border: 1px solid var(--line2); background: var(--page);
            color: var(--ink); font: inherit; cursor: pointer; transition: transform 0.15s, border-color 0.15s; }
.gift-opt b { font: 600 16px/1.2 var(--body); }
.gift-opt span { font-size: 14px; color: var(--muted); }
.gift-opt s { color: var(--faint); }
.gift-opt:hover { border-color: var(--edge); transform: translateY(-1px); }
.gift-opt:active { transform: translateY(1px) scale(0.98); }

/* where the money goes: plain words */
.why { margin-top: 72px; }
.why > h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin-bottom: 12px; }
.why-body { display: grid; gap: 12px; max-width: 72ch; font-size: 17px; color: var(--muted); }
.why-body b { color: var(--ink); }
.why-body a { color: var(--sky-ink); font-weight: 600; }
.home-qs { margin-top: 72px; }

/* a section page's banner: its pattern, and its items as stickers on the right (store/art/tiles.mjs) */
.banner-memberships { --banner: url('../img/products/memberships-banner.webp'); --ground: url('../img/products/memberships-ground.webp'); }
.banner-passes { --banner: url('../img/products/passes-banner.webp'); --ground: url('../img/products/passes-ground.webp'); }
.banner-imports { --banner: url('../img/products/imports-banner.webp'); --ground: url('../img/products/imports-ground.webp'); }
.banner-support { --banner: url('../img/products/support-banner.webp'); --ground: url('../img/products/support-ground.webp'); }
.banner-gangs { --banner: url('../img/products/gangs-banner.webp'); --ground: url('../img/products/gangs-ground.webp'); }
.catp .cat-banner { display: grid; align-content: center; min-height: 280px; margin: 0 0 28px; padding: 40px 48px;
                    background: var(--set) var(--banner) right center / cover no-repeat; border-radius: var(--r-card); }
.cat-banner h1 { color: #fff; }
.cat-banner .page-lead { margin-top: 10px; max-width: 40ch; font-size: 19px; color: rgba(255, 255, 255, 0.88); }
@media (max-width: 1000px) {
    .catp .cat-banner { align-content: start; min-height: 300px; padding: 28px 24px 190px;
                        background: var(--banner) right bottom / auto 170px no-repeat, var(--set) var(--ground) center / cover no-repeat; }
}

/* the item page: the picture whole, and the other way to get it by the button */
.ip-art img { aspect-ratio: 16 / 9; }
.buy-or { margin-top: 2px; padding: 12px 14px; border: 1px solid #3d2b63; border-radius: var(--r-btn); background: #241b33; font-size: 15px; color: #e3d8f7; }
.buy-or a { color: #cdb5ff; font-weight: 600; }

@media (max-width: 1080px) {
    .hero-in { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 36px; }
    .hero-game { min-height: 0; }
    .found-in { grid-template-columns: 160px minmax(0, 1fr); }
    .found-art img { width: 160px; }
    .found-act { grid-column: 1 / -1; }
    .door-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .hero h1 { font-size: 54px; }
    .hero-line { font-size: 17px; }
    .hero-game { padding: 22px 14px 16px; }
    .hero-lines .gl { font-size: 15px; line-height: 23px; }
    .hero-lines .gl-who { font-size: 18px; }
    .gl-swatches { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .found-in { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
    .found-art img { width: 112px; border-radius: 10px; }
    .found-copy h2 { font-size: 22px; }
    .found-copy p { font-size: 16px; }
    .found-act { flex-wrap: wrap; gap: 12px; }
    .found-act .add, .found-act .btn { width: 100%; }
    .door-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .door { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 2px; padding: 10px 14px 10px 10px; }
    .door img { grid-row: 1 / 4; width: 120px; margin: 0; border-radius: 10px; }
    .door-name, .door-what, .door-from { padding: 0; }
    .door-name { font-size: 16px; }
    .door-from { padding-top: 4px; }
    .gift-art { display: none; }
    .gift-in { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-lines .gl { animation: gl-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .hero-lines .gl + .gl { animation-delay: 0.25s; }
    @keyframes gl-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
}

/* ==================== round 10: art in the empty places (2026-11-02, research/graphics2/NOTES.md) ==================== */
/* Owner: "everything feels pretty bland right now, maybe some icons, art/graphic/illustrations to fill in dead space".
   The art is the pictures' own: stickers of Font Awesome icons on the set blue (store/art/tiles.mjs, SPOT_ART). One
   icon or picture per panel heading, never one per line; the words stay the page's own text. */

/* "What you get": one panel, the item's picture in its heading, the perks on hairlines */
.ip-get { margin-top: 24px; padding: 6px 22px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.ip-get h2 { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 0 12px; font-size: 22px; }
.ip-get h2 img { width: 56px; height: 32px; border-radius: 8px; }
.ip-get .ticks { gap: 0; }
.ip-get .ticks li { padding: 11px 0; border-top: 1px solid var(--line); }
.ip-get .ip-not, .ip-get .ip-made, .ip-get .included { margin-top: 14px; }

/* how it gets to you: the delivery facts as a line of steps under the facts panel */
.arrives { margin-top: 18px; padding: 18px 20px 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile); }
.arrives h2 { font-size: 17px; color: var(--ink); margin-bottom: 12px; }
.arrives ol { list-style: none; margin: 0; padding: 0; }
.arrives li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
.arrives li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px; background: var(--line2); }
.arrives-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--set); color: #fff; }
.arrives-ico .ico { width: 20px; height: 20px; }
.arrives b { display: block; font-size: 15px; line-height: 1.3; padding-top: 2px; }
.arrives p { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 2px; }

/* "More in" and "Goes well with": small picture cards */
.mcard-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mcard { display: grid; gap: 2px; height: 100%; padding-bottom: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-tile);
         overflow: hidden; text-decoration: none; transition: transform 0.18s var(--ease), border-color 0.18s; }
.mcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 10px; }
.mcard-name { padding: 0 14px; font-weight: 700; font-size: 16px; }
.mcard-price { padding: 0 14px; font-size: 14px; color: var(--muted); }
.mcard-price b { font: 700 italic 20px/1 var(--display); color: var(--ink); }
.mcard:hover { border-color: var(--edge); transform: translateY(-2px); }

/* the help panel beside the questions */
.qs-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.qs-split .faq { max-width: none; }
.faq-all + .help, .qs-split .help { position: sticky; top: 92px; }
.help { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.help img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.help-body { display: grid; gap: 10px; justify-items: start; padding: 18px 20px 20px; }
.help h3 { font-size: 20px; color: var(--ink); }
.help p { font-size: 15px; color: var(--muted); }
.help p a { color: var(--sky-ink); font-weight: 600; }
.docp .qs-split { margin-top: 36px; }
.docp .qs-split .faq-all { margin-top: 0; }

/* where your money goes: the words, and what it pays for beside them */
.why-in h2 { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin-bottom: 12px; }
.why-in { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
.why-art { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-card); }

/* the empty basket and not found: the picture, the words, one way on */
.bk-empty-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; padding: 14px 24px 14px 14px;
                background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.bk-empty-top img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-tile); }
.bk-empty-top > div { display: grid; gap: 10px; justify-items: start; }
.bk-empty-top .empty { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); }
.bk-empty-line { color: var(--muted); }
.lost { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 12px; }
.lost img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-card); }
.lost .page-head { margin: 0; }
.lost-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.lost-act .more { margin-top: 0; }

/* the comparison table: each tier's picture over its name */
.compare thead th.tc img { display: block; width: 72px; height: 41px; margin: 0 auto 8px; border-radius: 8px; }

/* GTA's character art, cut out, stepping out of the top of its panel (owner: "the gta cutout illustrations we used to
   have were a good feature"): a section banner's right side, and Starlet in the gift band */
.catp .cat-banner { position: relative; }
.catp .cat-banner:has(.cat-fig) { margin-top: 70px; }
.cat-fig { position: absolute; right: 40px; bottom: 0; height: 360px; width: auto; pointer-events: none; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45)); }
.cat-fig-gangs { right: 16px; height: 330px; }
.gift-band { margin-top: 120px; }
.gift-in { grid-template-columns: 300px minmax(0, 1fr) 190px; }
.gift-fig { align-self: end; justify-self: center; height: 330px; width: auto; margin: -150px 0 -14px; pointer-events: none; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45)); }

/* the footer: the city's name, big and faint, behind the links */
.foot { position: relative; overflow: hidden; }
.foot-mark { position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%); margin: 0; white-space: nowrap; pointer-events: none; user-select: none;
             font: 700 italic clamp(90px, 13vw, 210px)/1 var(--display); text-transform: uppercase; color: #fff; opacity: 0.035; }
.foot-in { position: relative; }

@media (max-width: 1000px) {
    .catp .cat-banner:has(.cat-fig) { background: var(--set) var(--ground) center / cover no-repeat; padding-bottom: 236px; margin-top: 40px; }
    .cat-fig { right: 18px; height: 226px; }
    .cat-fig-gangs { height: 176px; right: 6px; }
    .gift-in { grid-template-columns: 240px minmax(0, 1fr); }
    .gift-fig { display: none; }
    .gift-band { margin-top: 72px; }
    .qs-split { grid-template-columns: 1fr; }
    .qs-split .help, .faq-all + .help { position: static; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; }
    .why-in { grid-template-columns: 1fr; gap: 22px; }
    .why-art { max-width: 520px; }
    .lost { grid-template-columns: 1fr; gap: 24px; }
    .lost img { max-width: 420px; }
}
@media (max-width: 760px) { .gift-in { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    /* the item page on one column: picture, then the name, price and buy box, then what you get */
    .ip { display: flex; flex-direction: column; gap: 26px; }
    .ip-left { display: contents; }
    .ip-art, .ip-game { order: 1; }
    .ip-info { order: 2; }
    .ip-get { order: 3; margin-top: 0; }
}
@media (max-width: 640px) {
    .mcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .mcard-name { font-size: 15px; padding: 0 10px; }
    .mcard-price { padding: 0 10px; }
    .qs-split .help, .faq-all + .help { grid-template-columns: 1fr; }
    .bk-empty-top { grid-template-columns: 1fr; padding: 14px; }
    .ip-get { padding: 4px 16px 14px; }
}

/* ==================== alerts: a coloured banner with its icon inside (2026-10-25) ==================== */
/* Owner: "get rid of these obvious ai chip colours on the left of notifications and text ... a coloured banner with
   alert style". A note is a whole tinted banner, its border and text in the same hue, the icon inside it; the import
   status is a banner with a solid header. Icons: Phosphor fill (MIT), as CSS masks so every note keeps its markup. */
:root {
    --ic-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='currentColor'%3E%3Cpath d='M128%2C24A104%2C104%2C0%2C1%2C0%2C232%2C128%2C104.11%2C104.11%2C0%2C0%2C0%2C128%2C24Zm-4%2C48a12%2C12%2C0%2C1%2C1-12%2C12A12%2C12%2C0%2C0%2C1%2C124%2C72Zm12%2C112a16%2C16%2C0%2C0%2C1-16-16V128a8%2C8%2C0%2C0%2C1%2C0-16%2C16%2C16%2C0%2C0%2C1%2C16%2C16v40a8%2C8%2C0%2C0%2C1%2C0%2C16Z'/%3E%3C/svg%3E");
    --ic-good: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='currentColor'%3E%3Cpath d='M128%2C24A104%2C104%2C0%2C1%2C0%2C232%2C128%2C104.11%2C104.11%2C0%2C0%2C0%2C128%2C24Zm45.66%2C85.66-56%2C56a8%2C8%2C0%2C0%2C1-11.32%2C0l-24-24a8%2C8%2C0%2C0%2C1%2C11.32-11.32L112%2C148.69l50.34-50.35a8%2C8%2C0%2C0%2C1%2C11.32%2C11.32Z'/%3E%3C/svg%3E");
    --ic-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='currentColor'%3E%3Cpath d='M128%2C24A104%2C104%2C0%2C1%2C0%2C232%2C128%2C104.11%2C104.11%2C0%2C0%2C0%2C128%2C24Zm-8%2C56a8%2C8%2C0%2C0%2C1%2C16%2C0v56a8%2C8%2C0%2C0%2C1-16%2C0Zm8%2C104a12%2C12%2C0%2C1%2C1%2C12-12A12%2C12%2C0%2C0%2C1%2C128%2C184Z'/%3E%3C/svg%3E");
    --ic-bad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='currentColor'%3E%3Cpath d='M128%2C24A104%2C104%2C0%2C1%2C0%2C232%2C128%2C104.11%2C104.11%2C0%2C0%2C0%2C128%2C24Zm37.66%2C130.34a8%2C8%2C0%2C0%2C1-11.32%2C11.32L128%2C139.31l-26.34%2C26.35a8%2C8%2C0%2C0%2C1-11.32-11.32L116.69%2C128%2C90.34%2C101.66a8%2C8%2C0%2C0%2C1%2C11.32-11.32L128%2C116.69l26.34-26.35a8%2C8%2C0%2C0%2C1%2C11.32%2C11.32L139.31%2C128Z'/%3E%3C/svg%3E");
    --ic-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='currentColor'%3E%3Cpath d='M128%2C24A104%2C104%2C0%2C1%2C0%2C232%2C128%2C104.11%2C104.11%2C0%2C0%2C0%2C128%2C24Zm56%2C112H128a8%2C8%2C0%2C0%2C1-8-8V72a8%2C8%2C0%2C0%2C1%2C16%2C0v48h48a8%2C8%2C0%2C0%2C1%2C0%2C16Z'/%3E%3C/svg%3E");
}
.note { --tone: #7cc4ee; position: relative; display: grid; gap: 8px; justify-items: start; padding: 13px 18px 13px 50px; border-radius: 14px;
        border: 1px solid #2c3d4d; background: #1c2630; color: #d6e6f3; font-size: 16px; line-height: 1.5; }
.note::before { content: ""; position: absolute; left: 17px; top: 14px; width: 22px; height: 22px; background: var(--tone);
                -webkit-mask: var(--ic, var(--ic-info)) center / contain no-repeat; mask: var(--ic, var(--ic-info)) center / contain no-repeat; }
.note a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.note p { margin: 0; }
.note-good { --tone: #6fd3a0; --ic: var(--ic-good); background: #1d3328; border-color: #2e5440; color: #cdeedb; }
.note-bad { --tone: #f2948d; --ic: var(--ic-bad); background: #3b2120; border-color: #5e3532; color: #f6d3cf; }
.note-warn { --tone: #f0c96a; --ic: var(--ic-warn); background: #3a3018; border-color: #5c4c25; color: #f4e4b8; }

.alert { --a: #2f5f8a; --a-bg: #1c2630; --a-line: #2c3d4d; --a-ink: #d6e6f3; --ic: var(--ic-info);
         margin-top: 22px; border: 1px solid var(--a-line); border-radius: 16px; overflow: hidden; background: var(--a-bg); color: var(--a-ink); }
.alert-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; background: var(--a); color: #fff; font: 600 18px/1.2 var(--body); }
.alert-head::before { content: ""; flex: none; width: 22px; height: 22px; background: #fff; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.alert-body { display: grid; gap: 12px; padding: 14px 18px 16px; font-size: 16px; line-height: 1.5; }
.alert-body p { margin: 0; max-width: 75ch; }
.alert-quote { margin: 0; padding: 12px 16px; background: var(--card); border: 1px solid var(--a-line); border-radius: 12px; color: var(--ink); }
.alert-quote b { display: block; font: 600 14px/1.2 var(--body); color: var(--a); margin-bottom: 4px; }
.alert-quote p { white-space: pre-line; overflow-wrap: anywhere; }
.alert-good { --a: #1f7a4c; --a-bg: #1d3328; --a-line: #2e5440; --a-ink: #cdeedb; --ic: var(--ic-good); }
.alert-bad { --a: #a8352c; --a-bg: #3b2120; --a-line: #5e3532; --a-ink: #f6d3cf; --ic: var(--ic-bad); }
.alert-warn { --a: #8a6400; --a-bg: #3a3018; --a-line: #5c4c25; --a-ink: #f4e4b8; --ic: var(--ic-warn); }
.alert-wait { --ic: var(--ic-clock); }
.alert-ask { --ic: var(--ic-warn); }

/* My purchases: their name in the credits, shown or hidden */
.credits-set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; max-width: 900px; font-size: 15px; color: var(--muted); }
.credits-set b { color: var(--ink); }

/* Round 8: sales (a struck-through price beside the sale price, a line saying which sale, a banner over every page)
   and store credit (the basket's credit line and box, My purchases' credit, the admin's credit form). One sale colour. */
:root { --sale: #b8261c; --sale-ink: #ff9182; --sale-50: #3b2120; }
.sale-bar { background: var(--sale); color: #fff; }
.sale-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.sale-bar p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; line-height: 1.4; }
.sale-bar b { font: 700 italic 21px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.sale-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sale-bar-go { flex: none; font-size: 15px; }
.price s, .once-price s { color: var(--muted); font: 600 18px/1 var(--body); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.price-lg s { font-size: 22px; }
.price:has(s:not([hidden])) b, .once-price:has(s) b { color: var(--sale-ink); }
.sale-line { margin: 4px 0 0; color: var(--sale-ink); font-size: 14px; font-weight: 600; line-height: 1.35; }
.plan-price s, .gift-opt s, .bl-total s, .sum-rows dd s { color: var(--muted); font-weight: 500; text-decoration-thickness: 1.5px; margin-right: 6px; }
.bl-total s { display: block; margin: 0; font-size: 14px; }
.bl-sale { display: block; color: var(--sale-ink); font-size: 14px; font-weight: 600; }
.dl .sale { display: block; color: var(--sale-ink); font-size: 13px; font-weight: 600; }
.sum-credit dd { color: var(--good); }
.sum-credit[hidden] { display: none; }
.tick-credit { margin-bottom: 4px; padding: 12px 14px; border: 1px solid #2e5440; border-radius: 12px; background: #1d3328; color: #cdeedb; }
.tick-credit input { accent-color: var(--good); }
.credit-history b { font-variant-numeric: tabular-nums; }
.credit-now { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.credit-now b { font: 700 italic 36px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.credit-now span { color: var(--muted); font-size: 14px; }
.credit-history, .slot-side .decide + .history { margin-top: 18px; }
/* the sale in the hero and on the one-time cards */
.hero .sale-line { color: #ffb3a8; font-size: 15px; }
.once-price s { font-size: 14px; }
.tier-price { display: grid; gap: 0; align-content: start; }
.sales-list td small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.slot-main { min-width: 0; }
@media (max-width: 640px) { .sale-what { text-align: right; min-width: 0; } }
/* codes: two small buttons per row, and why Stripe would turn a code down */
.code-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.code-problem { display: block; margin-top: 4px; color: var(--bad); font-size: 14px; font-weight: 500; line-height: 1.35; white-space: normal; }

/* the admin pages and the profile menu: plain icons beside the words (owner, 2026-10-26), in the text's own colour */
.me-menu a .ico { width: 18px; height: 18px; color: var(--muted); }
.me-menu a:hover .ico { color: var(--ink); }
.me-menu .me-out { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 12px; }
.admin-nav a, .admin-nav > span { display: inline-flex; align-items: center; gap: 7px; }
.admin-nav a > span, .admin-nav > span > span { font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; padding: 0; box-shadow: none; }
.admin-nav .ico { width: 18px; height: 18px; }
.admin-nav > span[aria-current] .ico { color: var(--sky-ink); }
.staff-links a { display: inline-flex; align-items: center; gap: 6px; }
.btn .ico { width: 16px; height: 16px; }
.btn-sm .ico { width: 14px; height: 14px; }
.btn:has(.ico) { display: inline-flex; align-items: center; gap: 7px; }

/* tick boxes for the items a code or a sale is on */
.picks { width: 100%; border: 0; padding: 0; margin: 0; }
.picks legend { font-weight: 600; margin-bottom: 8px; }
.picks legend small { font-weight: 400; color: var(--muted); }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.pick-grid label { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.3; cursor: pointer; }
.pick-grid input { width: 18px; height: 18px; margin: 0; accent-color: var(--btn); flex: none; }
@media (max-width: 640px) { .pick-grid { grid-template-columns: 1fr; } }

/* products */
.prod-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.prod-row img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; }
.prod-row b { display: block; }
.prod-row small { display: block; color: var(--warn); font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; width: 100%; }
.field .was { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.tick-sm { font-size: 14px; grid-template-columns: 18px 1fr; gap: 6px; }
.tick-sm input { width: 16px; height: 16px; }

/* The bar's categories, one line each (2026-11-02: with Pets and Music added, "One-time support" wrapped onto two lines
   and its underline sat below the others): links never wrap, the search box gives way first, and below 1180 px the
   categories move to the strip under the bar, as on tablets. */
.bar-links { flex: none; gap: 20px; }
.bar-links a { white-space: nowrap; }
.bar-search { flex: 1 1 180px; min-width: 150px; }
@media (max-width: 1180px) {
    .bar-links { display: none; }
    .cat-strip { display: block; }
}
