/* ============================================================================
   K3 — the Kimi-prototype design language (Casetify school) on the shared
   spine, recoloured: white paper shell, black 900 uppercase display, pill
   grammar, one flat Head Case yellow accent at rest — and the Chameleon
   costume change re-colouring the whole chrome per world/brand after entry.
   ========================================================================== */
:root {
  --bg: #FFFFFF;
  --ink: #000000;
  --muted: #6E6E6E;
  --line: #D8D8D8;
  --card-bg: #F7F7F7;
  --accent: #BCD635;          /* Head Case lime (brand skill) — Cem 2026-08-09,
                                 was worlds yellow #FFB612; always a field
                                 behind dark ink, per the lime skill rules */
  --accent-ink: #131313;
  --ok: #1B7A3E;
  --radius: 14px;
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* THE COSTUME CHANGE — same mechanism as Chameleon: world tokens on genre
   pages, brand tokens deeper in. The K3 grammar stays; the colours swap. */
html.is-skinned {
  --bg: var(--skin-bg);
  --ink: var(--skin-ink);
  --muted: color-mix(in srgb, var(--skin-ink) 62%, var(--skin-bg));
  --line: color-mix(in srgb, var(--skin-ink) 16%, var(--skin-bg));
  --card-bg: color-mix(in srgb, var(--skin-ink) 6%, var(--skin-bg));
  --accent: var(--skin-accent);
  --accent-ink: var(--skin-accent-ink);
}
html.is-skinned .confirm-ok,
html.is-skinned .card-fit.is-yes { color: var(--ink); }

body, .site-head, .site-foot, .btn, .card-badge, .bag-chip-count, .ribbon,
.finder-box, .type-tile, .confirm-card, .device-opt, .set-card,
.gate, .brand-card, .world-chip, .cfg-pill, .cfg-card, .cfg-addon {
  transition: background-color .7s ease, color .7s ease, border-color .7s ease;
}
@media (prefers-reduced-motion: reduce) {
  body, .site-head, .site-foot, .btn, .card-badge, .bag-chip-count, .ribbon,
  .finder-box, .type-tile, .confirm-card, .device-opt, .set-card,
  .gate, .brand-card, .world-chip, .cfg-pill, .cfg-card, .cfg-addon {
    transition: none;
  }
}

/* ---- chrome: ribbon, header, footer --------------------------------------- */
.ribbon { background: var(--accent); color: var(--accent-ink);
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .72rem; }
.brand-mark { display: none; }
.brand-word { font-weight: 900; letter-spacing: -.01em; font-size: 1.2rem;
  text-transform: uppercase; }
.brand-word b { color: var(--accent); }
.head-nav a { font-weight: 600; }
.head-search, .device-chip, .bag-chip, .finder-recent { border-radius: 999px; }
/* Device lock worn loudly (Apple "for your device" pattern, round 11). */
.device-chip.is-locked { background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent); font-weight: 700; }
.device-chip.is-locked .device-chip-dot { background: var(--accent-ink); }
.card-fit.is-yes { display: inline-block; margin-top: .4rem;
  background: color-mix(in srgb, var(--ok) 12%, var(--bg)); color: var(--ok);
  border-radius: 999px; padding: .18rem .65rem; font-weight: 700;
  font-size: .75rem; }
.card-fit.is-yes::before { content: '✓ '; }
html.is-skinned .card-fit.is-yes {
  background: color-mix(in srgb, var(--ink) 10%, var(--bg)); }

.site-foot { background: var(--ink); color: var(--bg); border-top: 0; }
.site-foot .foot-legal,
.site-foot .foot-variations { color: color-mix(in srgb, var(--bg) 55%, var(--ink)); }
.site-foot .foot-variations a { color: var(--bg); }

/* ---- buttons: pills, black primary ---------------------------------------- */
.btn { border-radius: 999px; font-weight: 800; letter-spacing: .02em; }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bag-checkout { border-radius: 999px; background: var(--ink); color: var(--bg); }
.bag-suggest-add, .bag-discount-apply, .bag-discount input { border-radius: 999px; }
.market-chip { border-radius: 999px; font-size: .8rem; }

/* ---- hero: left rail over a cleared scene (R21, Cem 2026-08-12) ------------
   The campaign video was Higgsfield-re-edited: the Pixel phones and the
   baked-in headline are gone, so the LEFT quarter is clean white wall +
   lime panel. Our copy now lives there as a vertically-centred left rail,
   and the desk scene runs unobstructed to the right. Light treatment:
   dark ink, legibility from a LEFT-side veil + text halos — never a
   full-width wash over the scene. */
.hero.has-bg { justify-content: center; color: #131313;
  min-height: min(88vh, 900px); }
/* Wide regions overflow the 16:9 video vertically; anchor the crop HIGH so
   the excess comes out of the bottom (empty desk) — centred cropping was
   beheading the balloon dog/tablet, worsened by the clip's own push-in
   (Cem, R21d). */
.hero.has-bg .hero-bg img, .hero.has-bg .hero-bg video {
  object-position: left 22%; }
/* Narrow viewports crop the video hard — aim at the product side; the
   cleared left area is empty wall and can go. */
@media (max-width: 700px) {
  .hero.has-bg .hero-bg img, .hero.has-bg .hero-bg video {
    object-position: 72% center; }
}
/* The veil is LEFT-weighted (R21): it backs the copy rail and fades out
   before the desk scene, so the video reads at full punch — the old
   bottom wash was dulling it (Cem). */
.hero.has-bg .hero-bg::after { background: linear-gradient(90deg,
  rgba(255, 255, 255, .50) 0%, rgba(255, 255, 255, .22) 32%,
  rgba(255, 255, 255, 0) 52%); }
@media (max-width: 700px) {
  /* Narrow crops put the copy OVER the scene, so the wash must carry the
     legibility on its own — stronger than the desktop rail veil. */
  .hero.has-bg { justify-content: flex-end; }
  .hero.has-bg .hero-bg::after { background: linear-gradient(180deg,
    rgba(255, 255, 255, .48) 0%, rgba(255, 255, 255, .42) 55%,
    rgba(255, 255, 255, .66) 100%); }
}
.hero.has-bg .hero-title { text-shadow: 0 1px 2px rgba(255, 255, 255, .65),
  0 2px 22px rgba(255, 255, 255, .55); }
.hero.has-bg .hero-sub, .hero.has-bg .hero-worlds-label {
  text-shadow: 0 1px 14px rgba(255, 255, 255, .75); }
.hero.has-bg .hero-sub, .hero.has-bg .hero-device,
.hero.has-bg .hero-worlds-label { color: rgba(19, 19, 19, .78); }
.hero.has-bg .world-chip { border-color: rgba(19, 19, 19, .38);
  color: #131313; background: rgba(255, 255, 255, .55); }
/* Callouts fold into the left rail as compact glass cards (R21): they
   were full-width white slabs dulling the video's lower half (Cem). */
.hero.has-bg .hero-callouts { max-width: 46rem; margin: 1.3rem 0 0;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem) 2.4rem; gap: .7rem; }
.hero.has-bg .callout { background: rgba(255, 255, 255, .58); color: #131313;
  border-color: rgba(19, 19, 19, .18);
  box-shadow: 0 6px 18px rgba(19, 19, 19, .08);
  padding: .75rem .95rem .8rem; }
.hero.has-bg .callout .callout-title { font-size: .88rem; }
.hero.has-bg .callout .callout-cta { font-size: .8rem; margin-top: .25rem; }
.hero.has-bg .callout:hover { border-color: rgba(19, 19, 19, .45);
  background: rgba(255, 255, 255, .85); }
@media (max-width: 700px) {
  .hero.has-bg .hero-callouts { grid-template-columns: 1fr; }
}
.hero.has-bg .finder-box { box-shadow: 0 12px 30px rgba(19, 19, 19, .18); }
/* Finder rests compact so the hero breathes; it comes to the foreground —
   wider + lifted — on hover or keyboard/touch focus, in place. */
@media (min-width: 701px) {
  .hero.has-bg .finder { max-width: 21rem;
    transition: max-width .3s ease; }
  .hero.has-bg .finder:hover, .hero.has-bg .finder:focus-within {
    max-width: 34rem; }
  .hero.has-bg .finder:hover .finder-box,
  .hero.has-bg .finder:focus-within .finder-box {
    box-shadow: 0 18px 48px rgba(19, 19, 19, .32); }
}
.hero.has-bg .finder-recent { color: #131313;
  border-color: rgba(19, 19, 19, .4); }
.hero.has-bg .finder-recents-label { color: rgba(19, 19, 19, .7); }
/* Copy rail pinned to the viewport-left over the cleared wall (R21) —
   not the 1280px content grid; the arrow points left of it. */
.hero.has-bg .hero-inner { text-align: left; max-width: 46rem; width: 100%;
  margin: 0; padding: 2.4rem clamp(1.25rem, 4vw, 4.5rem) 0; }
.hero-kicker { display: inline-block; background: var(--accent);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; padding: .38rem .95rem; border-radius: 999px; }
.hero.has-bg .hero-kicker { color: var(--accent-ink); }
.hero-title { font-weight: 900; text-transform: uppercase;
  letter-spacing: -.03em; line-height: .95;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 18ch; }
.hero-title em { font-style: normal; }
.hero.has-bg .hero-sub { max-width: 46ch; margin-inline: 0;
  color: rgba(19, 19, 19, .78); }
.hero.has-bg .finder { margin: 0; }
.finder-box { border-radius: 999px; border-width: 2px; }
.finder-results { border-radius: 18px; }
.finder-item:first-child { padding-top: .8rem; }
.finder-item:last-child { padding-bottom: .8rem; }
.hero.has-bg .hero-worlds { justify-content: flex-start; }
.world-chip { font-weight: 700; }
.callout { border-radius: 18px; }

/* ---- sections: 900 display ------------------------------------------------- */
.section-h { font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); }

/* ---- gates → editorial mosaic (first world gets the 2×2 tile) -------------- */
.gate { position: relative; overflow: hidden; border: 0; border-radius: 18px;
  background: var(--card-bg); }
@media (min-width: 900px) {
  .gates-grid { grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 215px; grid-auto-flow: dense; }
  .gate:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 899px) { .gate { aspect-ratio: 4 / 3; } }
.gate-art { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.gate-info { position: absolute; left: 14px; bottom: 14px;
  background: #FFFFFF; color: #000000; border-radius: 999px;
  padding: .5rem 1.15rem; display: flex; align-items: baseline; gap: .7rem; }
.gate-name { font-family: var(--font-body); font-size: .95rem; font-weight: 800; }
.gate-line { display: none; }
.gate-cta { font-size: .8rem; font-weight: 800; }

/* ---- design cards ----------------------------------------------------------- */
.card-art { border-radius: 14px; border: 0; }
.card-badge { border-radius: 999px; font-weight: 900; font-size: .62rem;
  letter-spacing: .1em; }
.card-name { font-weight: 800; }

/* ---- shop-by-product rail — richer cards (Cem, round 10) -------------------- */
.bytype .type-grid { display: flex; overflow-x: auto; gap: 1rem;
  padding: .3rem .3rem 1rem; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bytype .type-grid::-webkit-scrollbar { display: none; }
.bytype .type-card { flex: 0 0 12.5rem; text-align: center;
  scroll-snap-align: start; background: var(--card-bg); border-radius: 18px;
  padding: 1rem .8rem 1.1rem;
  transition: transform .25s ease, box-shadow .25s ease; }
.bytype .type-card:hover { transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(19, 19, 19, .14); }
.bytype .type-card-art { width: 10.9rem; height: 10.9rem; aspect-ratio: auto;
  border-radius: 50%; margin: 0 auto; border: 0;
  box-shadow: inset 0 0 0 1px var(--line); }
.bytype .type-card-name { font-size: .9rem; font-weight: 800; margin-top: .7rem; }
.bytype .type-card-count { font-size: .74rem; font-weight: 600;
  display: inline-block; margin-top: .3rem; padding: .15rem .6rem;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); }

/* ---- set story → dark community band ---------------------------------------- */
#app > .setstory { background: var(--ink); color: var(--bg);
  border-radius: 22px; padding: 2.6rem; }
.setstory-copy > p { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); }
.setstory .btn-primary { background: var(--bg); color: var(--ink);
  border-color: var(--bg); }
.setstory-media img { border: 0; border-radius: 18px; }
@media (max-width: 960px) { #app > .setstory { padding: 1.6rem; } }

/* ---- genre / brand / hub / PDP surfaces -------------------------------------- */
.genre-hero { border-radius: 18px; }
.genre-hero-copy h1 { text-transform: uppercase; font-weight: 900;
  letter-spacing: -.02em; }
.brand-card { border-radius: 18px; }
.brand-card-name { font-weight: 800; }
.brand-card:hover { background: var(--b-bg); color: var(--b-ink); }
.brand-card:hover .brand-card-line { color: var(--b-ink); opacity: .8; }
.brand-card:hover .brand-card-cta { color: var(--b-accent, var(--b-ink)); }
.brand-hero { border-radius: 22px; }
.brand-hero-name { text-transform: uppercase; font-weight: 900;
  letter-spacing: -.02em; }
.type-hero h1 { text-transform: uppercase; font-weight: 900; }
.setstory-media img, .brand-set-media img, .hub-art img, .pdp-art img,
.imgbox { border-radius: 18px; }
.atmos img { border-radius: 14px; }
.type-tile { border-radius: 14px; }
.type-tile.is-current { box-shadow: 0 0 0 2px var(--accent); }
.confirm-card { border-radius: 14px; }
.set-card { border-radius: 14px; }
.device-dialog, .bag-panel { border-radius: 18px; }
.bag-panel { border-radius: 18px 0 0 18px; }
.pdp-name { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.confirm-price { font-weight: 900; font-size: 1.7rem; }
.proof strong { font-weight: 800; }

/* ---- K3 configurator (PDP) ---------------------------------------------------- */
.cfg { margin-top: 1.1rem; }
.cfg-group { margin: 0 0 1.25rem; }
.cfg-label { display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .55rem; }
.cfg-label .cfg-value { color: var(--muted); font-weight: 600;
  text-transform: none; letter-spacing: 0; text-align: right; }
.cfg-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cfg-pill { border: 1.5px solid var(--line); background: none;
  border-radius: 999px; padding: .5rem 1rem; font-size: .85rem; font-weight: 700; }
.cfg-pill:hover { border-color: var(--ink); }
.cfg-pill.is-current { background: var(--ink); border-color: var(--ink);
  color: var(--bg); }
.cfg-pill.is-current::before { content: '✓ '; }
.cfg-pill.is-unavail { opacity: .45; cursor: not-allowed; }
.cfg-more { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
/* W7 two-level device picker (brand → model) — replaces the pill wall past
   ~8 covered devices; same border grammar as pills/cards. */
.cfg-selects { display: grid; grid-template-columns: minmax(9rem, 2fr) 3fr;
  gap: .6rem; }
.cfg-select { display: grid; gap: .3rem; }
.cfg-select > span { font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.cfg-select select { width: 100%; min-height: 44px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--bg); color: var(--ink);
  font: inherit; font-size: .9rem; font-weight: 700; padding: .5rem 2.2rem .5rem .8rem;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; }
.cfg-select select:hover { border-color: var(--ink); }
.cfg-select select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 480px) { .cfg-selects { grid-template-columns: 1fr; } }
.cfg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .6rem; }
.cfg-card { border: 1.5px solid var(--line); background: none;
  border-radius: 14px; padding: .8rem .9rem; text-align: left;
  display: grid; gap: .15rem; align-content: start; }
button.cfg-card:hover { border-color: var(--ink); }
.cfg-card.is-current { border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink); }
.cfg-card.is-current .cfg-card-name::before { content: '✓ '; }
.cfg-card.is-unavail { border-style: dashed; opacity: .7; }
.cfg-card-name { font-weight: 800; font-size: .9rem; }
.cfg-card-note { color: var(--muted); font-size: .76rem; }
.cfg-card-delta { font-weight: 800; font-size: .8rem; margin-top: .2rem; }
.cfg-card-thumb { width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: var(--card-bg); margin-bottom: .35rem; }
.cfg-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Design-variation swatches (round 17): image-led, same card grammar. */
.cfg-styles { display: flex; flex-wrap: wrap; gap: .6rem; }
.cfg-style { border: 1.5px solid var(--line); background: none; border-radius: 14px;
  padding: .55rem .6rem .5rem; display: grid; justify-items: center; gap: .3rem; }
button.cfg-style:hover { border-color: var(--ink); }
.cfg-style.is-current { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cfg-style.is-current .cfg-style-name::before { content: '✓ '; }
.cfg-style.is-unavail { border-style: dashed; opacity: .55; }
.cfg-style-name { font-weight: 800; font-size: .8rem; }
.cfg-style-note { color: var(--muted); font-size: .72rem; }
.cfg-style-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
  background: var(--card-bg); }
.cfg-style-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cfg-addons { display: grid; gap: .6rem; }
.cfg-addon { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: .8rem;
  align-items: center; border: 1.5px dashed var(--line); border-radius: 14px;
  padding: .7rem .8rem; background: none; text-align: left; }
.cfg-addon img { border-radius: 10px; }
.cfg-addon:hover { border-color: var(--ink); }
.cfg-addon-info { display: grid; gap: .1rem; }
.cfg-addon-name { font-weight: 800; font-size: .85rem; }
.cfg-addon-meta { color: var(--muted); font-size: .72rem; }
.cfg-addon-reason { font-size: .75rem; color: var(--muted); font-style: italic; }
.cfg-addon-price { font-weight: 800; font-size: .85rem; white-space: nowrap; }
.cfg-addon[aria-pressed="true"] { border-style: solid; border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink); }
.cfg-addon[aria-pressed="true"] .cfg-addon-price::before { content: '✓ '; }
.cfg-add-all { width: 100%; margin-top: .6rem; border: 1.5px solid var(--ink);
  background: none; border-radius: 999px; padding: .65rem 1rem;
  font-size: .88rem; font-weight: 800; }
.cfg-add-all:hover { background: var(--ink); color: var(--bg); }
.cfg .confirm-row { margin-top: 1.4rem; }

/* ---- Moments hub + home rail (M1, K3-first) --------------------------------- */
.moments-head { padding-bottom: 0 !important; }
.moments-head .section-h { font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-transform: uppercase; }
.moment-shelf { padding-top: 2rem !important; }
.moment-grid { display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.moment-card { background: var(--card-bg); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; }
.moment-art { aspect-ratio: 16 / 9; overflow: hidden; }
.moment-art img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease; }
.moment-card:hover .moment-art img { transform: scale(1.04); }
.moment-info { padding: 1rem 1.1rem 1.2rem; display: flex;
  flex-direction: column; gap: .35rem; flex: 1; }
.moment-date { display: inline-block; align-self: flex-start;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px;
  padding: .22rem .75rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; }
.moment-card.is-past .moment-date { background: var(--card-bg);
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.moment-name { font-weight: 900; font-size: 1.2rem; letter-spacing: -.01em; }
.moment-line { color: var(--muted); font-size: .9rem; }
.moment-brands { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.moment-brands .world-chip { font-size: .8rem; padding: .3rem .8rem; }
.moment-bell { align-self: flex-start; margin-top: .7rem;
  border: 1.5px solid var(--ink); background: none; border-radius: 999px;
  padding: .45rem 1rem; font-size: .82rem; font-weight: 800; }
.moment-bell .moment-bell-on { display: none; }
.moment-bell[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.moment-bell[aria-pressed="true"] .moment-bell-on { display: inline; }
.moment-bell[aria-pressed="true"] .moment-bell-off { display: none; }

.moments-rail-all { font-weight: 800; margin-left: .5rem; }
.moments-rail-grid { display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.moment-tile { display: grid; gap: .3rem; align-content: start;
  text-decoration: none; background: var(--card-bg); border-radius: 18px;
  padding: 1.1rem 1.2rem 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease; }
.moment-tile:hover { transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(19, 19, 19, .14); }
.moment-tile-when { display: inline-block; justify-self: start;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px;
  padding: .2rem .7rem; font-size: .68rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; }
.moment-tile-name { font-weight: 900; font-size: 1.05rem; }
.moment-tile-line { color: var(--muted); font-size: .84rem; }

/* Touch floor (Hallmark gate) — coarse pointers AND narrow viewports (D4). */
@media (pointer: coarse), (max-width: 640px) {
  .cfg-pill, .cfg-card, .cfg-addon, .cfg-more, .cfg-add-all, .cfg-style,
  .pdp-thumb, .moment-bell, .moment-tile { min-height: 44px; }
  .cfg-pill { display: inline-flex; align-items: center; }
}

/* Sticky buy row on mobile (audit D3, Casetify pattern): price + CTA pin to
   the viewport bottom while the configurator is on screen. */
@media (max-width: 640px) {
  .cfg .confirm-row { position: sticky; bottom: .55rem; z-index: 30;
    background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
    padding: .55rem .7rem; box-shadow: 0 10px 28px rgba(19, 19, 19, .16); }
}
