/* Type: ABC Diatype for all UI, Paper Mono for numbers that matter, Fraunces only for big display moments. */
/* One open-licence family, Allo (SIL OFL 1.1), does every job. The older family names are kept as aliases so every rule keeps working. */
@font-face { font-family: "Allo"; src: url("fonts/allo/AlloVariableFriendly.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "ABC Diatype"; src: url("fonts/allo/AlloVariableFriendly.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "ABC Favorit"; src: url("fonts/allo/AlloVariableFriendly.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "ABC Diatype Mono"; src: url("fonts/allo/AlloVariableFriendly.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; font-feature-settings: "tnum"; }
@font-face { font-family: "Paper Mono"; src: url("fonts/allo/AlloVariableFriendly.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; font-feature-settings: "tnum"; }
@font-face { font-family: "Unbounded"; src: url("fonts/Unbounded-Black.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Gogoduo app styles. Direction A, "Paper" (Round 7). The brief page and the app share one palette.
   Layers: base + brief, the app (Paper), then the 3D display shelf. */

:root {
  --bg: #F5F6F8; --surface: #FFFFFF; --ink: #101114; --muted: #6B6F76; --line: rgba(16,17,20,.11);
  --display: "Fraunces", Georgia, serif;
  --body: "ABC Diatype", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 380 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
button { -webkit-user-select: none; user-select: none; touch-action: manipulation; }

.wrap { max-width: 1260px; margin: 0 auto; padding: 32px 24px 80px; display: grid; grid-template-columns: 410px 1fr; gap: 56px; align-items: start; }
.stage { position: sticky; top: 24px; display: grid; gap: 14px; justify-items: center; }
.stage-note { font-size: 13px; color: var(--muted); text-align: center; max-width: 370px; margin: 0; }
.stage-note b { color: var(--ink); }
.doc .tokens { display: flex; flex-wrap: wrap; gap: 8px; }
.doc .tokens span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.doc .tokens i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- Brief ---------- */
.doc { display: grid; gap: 56px; min-width: 0; }
.doc .mast { display: grid; gap: 14px; }
.doc .word { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 9vw, 104px); line-height: .9; letter-spacing: -0.015em; margin: 0; }
.doc .word span { color: #FF4FA0; }
.doc .thesis { font-size: 21px; line-height: 1.4; max-width: 36ch; margin: 0; }
.doc .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc section { display: grid; gap: 16px; }
.doc section h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 28px; letter-spacing: -0.01em; line-height: 1.15; }
.doc section p { margin: 0; max-width: 66ch; }
.doc section p.dim { color: var(--muted); }
.doc .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.doc .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.doc .card h3 { font-size: 16px; font-weight: 700; }
.doc .card p { font-size: 15px; color: var(--muted); }
.doc .num { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--muted); }
.doc .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.doc table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { font-weight: 700; white-space: nowrap; }
.doc td .refs { display: flex; flex-wrap: wrap; gap: 6px; }
.doc td .refs a, .doc td .refs span { font-size: 12.5px; color: var(--muted); }
.doc tr.new td:first-child::after { content: "new"; margin-left: 6px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.doc .ladder-wrap { overflow-x: auto; }
.doc .ladder { min-width: 520px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.doc .ladder .row { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.doc .ladder .row:last-child { border-bottom: 0; }
.doc .ladder .row > div { padding: 10px 14px; font-size: 14.5px; }
.doc .ladder .row > div + div { text-align: right; }
.doc .ladder .head > div { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.doc .ladder .total > div { font-weight: 700; }
.doc .risks { display: grid; gap: 12px; }
.doc .risk { display: grid; grid-template-columns: 6px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 0; }
.doc .risk::before { content: ""; border-radius: 0 4px 4px 0; background: #D9534F; }
.doc .risk.med::before { background: #E0A33A; }
.doc .risk h3 { font-size: 16px; font-weight: 700; }
.doc .risk p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.doc .risk p b { color: var(--ink); font-weight: 600; }
.doc .path { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.doc .path > div { padding: 16px; border-right: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.doc .path > div:last-child { border-right: 0; }
.doc .path b { font-size: 15px; }
.doc .path span { font-size: 14px; color: var(--muted); }
.doc .path .when { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.doc ol.steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; max-width: 66ch; }
.doc .foot { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }
.brief-back { display: none; }


/* ======================================================================
   App: Paper
   Cream paper, near-black ink, Fraunces headlines over Host Grotesk.
   One loud pink per screen. Keys that press down. Tilted tags. No glass.
   Radii: 8 tags/chips · 12 rows/controls/thumbs · 16 cards/images · 22 sheets/features · 999 buttons.
   ====================================================================== */
.phone {
  --bg: #F5F6F8; --card: #FFFFFF; --tint: #ECEEF1; --ink: #101114; --muted: #6B6F76; --line: rgba(16,17,20,.11);
  --accent: #FF4FA0; --ok: #0B7E3D; --okbg: #DDF6E7; --bad: #D7263D;
  --serif: "ABC Favorit", "ABC Diatype", "Helvetica Neue", Arial, sans-serif; --fraunces: "Fraunces", Georgia, serif; --sans: "ABC Diatype", "Helvetica Neue", Arial, system-ui, sans-serif; --mono: "Paper Mono", "ABC Diatype Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22,1,.36,1); --float: 0 24px 48px -24px rgba(7,13,10,.55); --ring: 0 0 0 1px rgba(16,17,20,.08);
  /* legacy names still used by a few inline styles */
  --c-bg: var(--bg); --c-card: var(--card); --c-ink: var(--ink); --c-muted: var(--muted); --c-line: var(--line);
  --top: 46px; --safe-b: 0px;
  width: 390px; height: 820px; border-radius: 52px; background: #101114; padding: 11px;
  box-shadow: 0 30px 70px -30px rgba(7,13,10,.5), 0 0 0 1px rgba(0,0,0,.08); color-scheme: light;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--bg); color: var(--ink); font: 380 17px/1.4 var(--sans); -webkit-font-smoothing: antialiased; }
:where(.screen) :where(button, input, select, textarea) { font-family: var(--sans); color: inherit; }
:where(.screen) button { cursor: pointer; }
:where(.screen) :where(h1, h2, h3) { margin: 0; font-weight: 600; }
:where(.screen) p { margin: 0; }
.screen :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sheet:focus, .wcard:focus { outline: 0; }
.status { position: absolute; top: 0; left: 0; right: 0; height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; font: 600 15px var(--sans); z-index: 25; pointer-events: none; transition: color .2s; }
.status .notch { width: 112px; height: 32px; background: #101114; border-radius: 22px; }
.status.light { color: #fff; }
.view { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding-top: var(--top); padding-bottom: calc(118px + var(--safe-b)); scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.view::-webkit-scrollbar { display: none; }
.view.full { padding: 0; overflow: hidden; }
.view.flush { padding-top: 0; }
.screen.nonav .navwrap { transform: translateY(150%); }
.screen.nonav .view { padding-bottom: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 560px) {
  html, body { height: 100%; overflow: hidden; background: #F5F6F8; }
  .wrap { display: block; padding: 0; max-width: none; }
  .stage { position: fixed; inset: 0; display: block; }
  .stage-note, .doc { display: none; }
  .phone { --top: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); width: 100%; height: 100%; border-radius: 0; padding: 0; box-shadow: none; background: #F5F6F8; }
  .screen { border-radius: 0; }
  .status { display: none; }
  .view { padding-top: calc(var(--top) + 6px); }
  .view.flush { padding-top: 0; }
  body.show-brief { overflow: auto; background: var(--bg); }
  body.show-brief .stage { display: none; }
  body.show-brief .doc { display: grid; padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 60px; }
  body.show-brief .brief-back { display: inline-flex; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 5; justify-self: start; align-items: center; gap: 6px; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 10px 16px; font: 600 15px "Host Grotesk", sans-serif; cursor: pointer; }
}
@media (min-width: 561px) and (max-width: 1040px) { .wrap { grid-template-columns: 1fr; gap: 40px; } .stage { position: static; } }

/* ---------- Photos with art fallback ---------- */
.ph { position: relative; overflow: hidden; background: var(--tint); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .art { position: absolute; inset: 0; display: grid; align-content: end; padding: 14px; color: #fff; }
.ph .g { position: relative; font: 600 28px/1 var(--serif); letter-spacing: -0.01em; }
.ph .s { position: relative; font: 500 13px var(--sans); opacity: .9; margin-top: 4px; }
.ph.sm .art { padding: 6px; } .ph.sm .g { font-size: 13px; } .ph.sm .s { display: none; }
.ph.md .g { font-size: 17px; } .ph.md .art { padding: 10px; }
.ph.round { border-radius: 50%; container-type: size; }
.ph.round .art { place-content: center; padding: 0; text-align: center; }
.ph.round .g { font: 600 44cqw/1 var(--sans); letter-spacing: 0; }
.ph.thumb { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.ph.glare::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 45%, transparent 60%); pointer-events: none; z-index: 1; }
.tilt { transform: perspective(600px) rotateX(var(--rx, calc(var(--ty, 0) * -6deg))) rotateY(var(--ry, calc(var(--tx, 0) * 8deg))); transition: transform .5s var(--ease); will-change: transform; }
.tilt.tilting { transition: transform .08s linear; }
.ph.glare.tilt::after { background: radial-gradient(circle at var(--gx, calc(50% + var(--tx, 0) * 30%)) var(--gy, calc(40% + var(--ty, 0) * 30%)), rgba(255,255,255,.5), transparent 45%), linear-gradient(115deg, transparent 25%, rgba(255,140,220,.22) 40%, rgba(140,230,255,.22) 55%, transparent 70%); mix-blend-mode: soft-light; }

/* ---------- Nav: cream capsule + night plus ---------- */
.navwrap { position: absolute; left: 16px; right: 16px; bottom: calc(20px + var(--safe-b)); display: flex; gap: 10px; align-items: center; z-index: 20; transition: transform .45s var(--ease); }
.pill { flex: 1; height: 58px; display: flex; justify-content: space-around; align-items: center; padding: 0 6px; background: var(--card); border-radius: 999px; box-shadow: 0 0 0 1px rgba(16,17,20,.12), var(--float); }
.pill button { position: relative; width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .2s, transform .12s var(--ease); }
.pill button:active { transform: scale(.9); }
.pill button svg { width: 23px; height: 23px; }
.pill button[aria-current="page"] { color: var(--ink); }
.pill button[aria-current="page"] svg { stroke-width: 2.4; }
.pill .badge { position: absolute; top: 11px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--card); }
.navav { width: 26px; height: 26px; border-radius: 50%; background: #7B5CFF; color: #fff; font: 600 13px/26px var(--sans); text-align: center; transition: box-shadow .2s; }
.pill button[aria-current="page"] .navav { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.fab { width: 58px; height: 58px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; box-shadow: 0 2px 0 #000, var(--float); transition: transform .12s var(--ease), box-shadow .12s; }
.fab:active { transform: translateY(2px); box-shadow: var(--float); }
.fab svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 999px; font: 600 17px var(--sans); letter-spacing: -0.005em; white-space: nowrap; transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .2s; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.pri { background: var(--ink); color: var(--bg); box-shadow: 0 2px 0 #000; }
.btn.pri:active { transform: translateY(2px); box-shadow: none; }
.btn.sec { background: var(--tint); color: var(--ink); }
.btn.sec:active, .btn.ter:active { transform: scale(.97); }
.btn.ter { background: none; color: var(--ink); }
.btn.cream { background: var(--bg); color: var(--ink); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.btn.block { width: 100%; }
.btn.sm { height: 44px; font-size: 15px; padding: 0 18px; }
.btn.xs { height: 36px; font-size: 15px; padding: 0 14px; flex: none; }
.btn.xs svg { width: 15px; height: 15px; }
.btn.sq { width: 44px; height: 44px; padding: 0; flex: none; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.sprung, .sw.sprung { animation: spring .28s var(--ease); }
@keyframes spring { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.lnk { background: none; border: 0; padding: 0; font: 500 15px var(--sans); color: var(--muted); }
.lnk.quiet { font-size: 15px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.iconbtn { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); display: grid; place-items: center; transition: transform .12s var(--ease); }
.iconbtn:active, .cbtn:active { transform: scale(.92); }
.iconbtn svg { width: 19px; height: 19px; }
.iconbtn .dotn { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--tint); }
.cbtn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(16,17,20,.06), 0 6px 16px -10px rgba(7,13,10,.45); transition: transform .12s var(--ease); }
.cbtn svg { width: 19px; height: 19px; }
.cbtn.dark { background: rgba(16,17,20,.42); color: #fff; box-shadow: none; }

/* ---------- Type + layout atoms ---------- */
.phead { display: flex; align-items: center; gap: 10px; padding: 8px 16px 14px; }
.phead h1 { font: 600 28px/1.1 var(--serif); letter-spacing: -0.01em; margin-right: auto; }
.phr { display: flex; gap: 8px; }
.hdr { display: flex; align-items: center; gap: 12px; padding: 6px 16px 12px; }
.hdr .t { font: 600 22px/1.15 var(--serif); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr.over { position: absolute; top: var(--top); left: 0; right: 0; z-index: 6; padding-top: 8px; }
.sp { margin-left: auto; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 28px 16px 12px; }
.sec-h h2 { font: 600 22px/1.15 var(--serif); letter-spacing: -0.01em; }
.aside { font: 500 15px var(--sans); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.muted { color: var(--muted); font-size: 15px; }
.lab { display: block; font: 600 15px var(--sans); }
.tag { display: inline-block; flex: none; font: 600 13px/1.3 var(--sans); padding: 3px 8px; border-radius: 8px; background: var(--tint); color: var(--ink); transform: rotate(-1.5deg); white-space: nowrap; }
.tag.loud { background: var(--accent); color: #fff; }
.tag.ok { background: var(--okbg); color: var(--ok); }
.count { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 13px/22px var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.dotc { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); display: block; margin-left: auto; }
.bar { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--ink); transition: width .6s var(--ease); }
.bar.ok i { background: var(--ok); }
.bar.big { height: 6px; }
.up { color: var(--ok); } .down { color: var(--bad); }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--bg); margin-left: 5px; vertical-align: 1px; }
.verified svg { width: 10px; height: 10px; }
.card { background: var(--card); border-radius: 16px; box-shadow: var(--ring); }
.padb { padding: 20px 16px 4px; }
.emptyst { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 32px 28px; }
.emptyst h3 { font: 600 22px/1.2 var(--serif); letter-spacing: -0.01em; }
.emptyst p { color: var(--muted); font-size: 15px; max-width: 30ch; }
.emptyst .btn { margin-top: 8px; }
.note-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 15px; }
.fineprint { font-size: 13px; color: var(--muted); text-align: center; padding: 4px 24px 16px; }
.fineprint.l { text-align: left; padding: 0; }
.fine { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--muted); }
.fine svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.fine b { color: var(--ink); font-weight: 600; }
.fine.pad { padding: 16px 16px 0; }

/* avatars */
.av { display: block; flex: none; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; }
.av > .ph { width: 100%; height: 100%; }
.av.md { width: 32px; height: 32px; } .av.lg { width: 40px; height: 40px; } .av.xl { width: 52px; height: 52px; } .av.xxl { width: 76px; height: 76px; }
.stack { display: flex; flex: none; }
.stack .av { width: 24px; height: 24px; margin-left: -8px; box-shadow: 0 0 0 2px var(--bg); }
.stack .av:first-child { margin-left: 0; }
.mini { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.mini b { color: var(--ink); font-weight: 600; }

/* chips and tabs */
.chips { display: flex; gap: 8px; padding: 0 16px 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; }
.chips.flat { padding: 0; }
.chip { flex: none; height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 500 15px var(--sans); color: var(--ink); transition: background-color .2s, color .2s, transform .12s var(--ease); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chips.flat .chip { height: 30px; font-size: 13px; background: var(--tint); box-shadow: none; }
.segu { display: flex; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 4px; }
.segu::-webkit-scrollbar { display: none; }
.segu button { flex: none; border: 0; background: none; padding: 9px 0 11px; font: 500 15px var(--sans); color: var(--muted); transition: color .2s, box-shadow .28s var(--ease); }
.segu button[aria-selected="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.toggle2 { display: inline-flex; margin: 14px 16px 14px; padding: 3px; border-radius: 999px; background: var(--tint); }
.toggle2 button { height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 500 15px var(--sans); color: var(--muted); transition: background-color .2s, color .2s; }
.toggle2 button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--ring); }

/* rows: plain, hairline separators inset to the text */
.rows { display: grid; }
.lrow { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 16px; width: 100%; border: 0; background: none; text-align: left; cursor: pointer; transition: background-color .2s; }
.lrow:active { background: rgba(16,17,20,.03); }
.rows > .lrow + .lrow::before, .rows > .lrow + .vrow::before { content: ""; position: absolute; top: 0; left: 80px; right: 16px; height: 1px; background: var(--line); }
.lt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.lt b { font: 600 17px/1.3 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt small { font-size: 15px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt small.last { color: var(--ink); opacity: .78; }
.lt .bar { margin-top: 7px; }
.tr { flex: none; display: grid; justify-items: end; gap: 6px; font-size: 13px; color: var(--muted); align-self: flex-start; padding-top: 8px; }
.links .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; flex: none; }
.links .ic svg { width: 19px; height: 19px; }
.links .lrow + .lrow::before { left: 68px; }
.lrow > svg:last-child { width: 18px; height: 18px; color: var(--muted); flex: none; }
.sres em { font-style: normal; font: 500 13px var(--sans); color: var(--muted); flex: none; }

/* ---------- Home ---------- */
.htop { display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; }
.meav { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; flex: none; overflow: hidden; }
.meav > .ph { width: 100%; height: 100%; }
.spill { flex: 1; min-width: 0; height: 42px; border: 0; border-radius: 999px; background: var(--tint); display: flex; align-items: center; gap: 9px; padding: 0 15px; font: 380 15px var(--sans); color: var(--muted); text-align: left; }
.spill svg { width: 18px; height: 18px; color: var(--ink); flex: none; }
.spill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spill input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 380 17px var(--sans); color: var(--ink); }
.hdr .spill { margin: 0; }
.hbody { padding-top: 12px; }
.ordcard { display: flex; align-items: center; gap: 14px; width: calc(100% - 32px); margin: 4px 16px 18px; padding: 12px; border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--ring); text-align: left; transition: transform .2s var(--ease); }
.ordcard:active, .potcard:active, .tile:active, .feat:active, .mcard:active, .wish:active, .cat:active { transform: scale(.985); }
.ordcard .lt b { font-size: 17px; }
.ordcard .lt small { font-size: 13px; }
.ordcard .bar { margin-top: 9px; }
.stories { display: flex; gap: 14px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 62px; display: grid; justify-items: center; gap: 6px; border: 0; background: none; padding: 0; font: 500 13px var(--sans); color: var(--ink); }
.ring { position: relative; display: block; width: 58px; height: 58px; padding: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); }
.ring.seen { box-shadow: inset 0 0 0 1px var(--line); }
.ring > .ph { width: 100%; height: 100%; }
.livetag { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); font: 600 13px/1 var(--sans); padding: 3px 6px; border-radius: 8px; box-shadow: 0 0 0 2px var(--bg); }
.story .n { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero { margin-bottom: 4px; }
.hero-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-rail::-webkit-scrollbar { display: none; }
.feat { flex: none; width: 100%; padding: 0 16px; scroll-snap-align: center; cursor: pointer; transition: transform .2s var(--ease); }
.fimg { position: relative; height: 262px; border-radius: 22px; overflow: hidden; background: var(--tint); }
.fimg > .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.fimg .ph .g { font-size: 34px; }
.gpill { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 999px; background: var(--card); font: 600 13px var(--sans); }
.fimg .tag.loud { position: absolute; right: 12px; top: 12px; z-index: 2; transform: rotate(1.5deg); }
.feat h3 { font: 600 17px/1.3 var(--sans); margin-top: 12px; }
.pr { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.pr b { font: 600 17px var(--sans); }
.pr s { font-size: 15px; color: var(--muted); }
.pr em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: auto; }
.feat .mini { margin-top: 10px; }
.hdots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 0; }
.hdots i { width: 6px; height: 6px; border-radius: 4px; background: rgba(16,17,20,.18); transition: width .28s var(--ease), background-color .28s; }
.hdots i.on { width: 18px; background: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 0 16px; }
.tile { min-width: 0; cursor: pointer; transition: transform .2s var(--ease); }
.tile .im { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--tint); }
.tile .im > .ph { position: absolute; inset: 0; }
.tile .im .tag { position: absolute; left: 8px; top: 8px; z-index: 2; }
.hrt { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(16,17,20,.35); color: #fff; display: grid; place-items: center; transition: transform .12s var(--ease); }
.hrt svg { width: 15px; height: 15px; }
.hrt[aria-pressed="true"] { background: var(--card); }
.hrt:active { transform: scale(.88); }
.tile p { font-size: 13px; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.tile b { display: block; font: 600 15px var(--sans); margin-top: 3px; font-variant-numeric: tabular-nums; }
.crail { display: flex; gap: 14px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.crail::-webkit-scrollbar { display: none; }
.cchip { flex: none; width: 88px; display: grid; justify-items: center; gap: 2px; border: 0; background: none; padding: 0; text-align: center; }
.cchip .av { width: 64px; height: 64px; margin-bottom: 6px; box-shadow: var(--ring); }
.cchip b { font: 600 13px var(--sans); max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cchip small { font-size: 13px; color: var(--muted); }
.rows .lrow .btn.xs { margin-left: 4px; }

/* ---------- Pot cards and the tier stepper ---------- */
.potcard { display: flex; gap: 14px; margin: 0 16px 12px; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); cursor: pointer; transition: transform .2s var(--ease); }
.potcard > .ph { width: 92px; height: 92px; border-radius: 12px; flex: none; }
.pc-b { flex: 1; min-width: 0; padding-top: 2px; }
.pc-b > b { display: block; font: 600 15px/1.3 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-b > small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.steps { margin-top: 14px; }
.strack { position: relative; height: 3px; margin: 0 7px; border-radius: 3px; background: var(--line); }
.strack .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--ink); transition: width .7s var(--ease); }
.strack .node { position: absolute; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px #D7D0C2; transition: background-color .3s, box-shadow .3s; }
.strack .node.hit { background: var(--ink); box-shadow: none; }
.strack .node.next { background: var(--card); box-shadow: 0 0 0 2px var(--accent); }
/* each label sits under-left of its node, so labels can never overlap */
.slabels { display: grid; grid-template-columns: repeat(3, 1fr); margin: 9px 0 0; }
.slabels em { font: 500 13px var(--sans); font-style: normal; color: var(--muted); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.steps.compact { margin-top: 12px; }
.steps.compact .slabels { margin-top: 8px; }
.steps.compact .slabels em { display: grid; font-size: 13px; line-height: 1.25; }
.steps.compact .slabels em b { font-weight: 600; color: var(--ink); font-size: 13px; }
.steps .lbl { font-size: 15px; color: var(--muted); margin-top: 12px; }
.steps .lbl b { color: var(--ink); font-weight: 600; }
.steps.pulse .strack .node.next { animation: nodepulse 1.2s var(--ease); }
@keyframes nodepulse { 40% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px rgba(255,79,160,.18); } }
.meter { display: grid; gap: 6px; }
.mbar { position: relative; height: 4px; border-radius: 4px; background: var(--line); }
.mbar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--ink); transition: width .7s var(--ease); }
.mbar .tick { position: absolute; top: -3px; width: 2px; height: 10px; margin-left: -1px; border-radius: 2px; background: #D7D0C2; }
.mbar .tick.hit { background: var(--ink); }
.meter .lbl { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meter .lbl b { color: var(--ink); font-weight: 600; }
.minline { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.minline .chipst { flex: none; font: 600 13px/1.3 var(--sans); padding: 2px 7px; border-radius: 8px; background: var(--tint); color: var(--ink); transform: rotate(-1.5deg); }
.minline.ok .chipst { background: var(--okbg); color: var(--ok); }
.flash { animation: flashc 1.2s ease; }
@keyframes flashc { 0%, 40% { color: var(--ok); } }

/* ---------- Groups ---------- */
.grow .count { margin-left: 4px; }
.cover { position: relative; height: 150px; overflow: hidden; background: var(--tint); }
.cover > .ph { position: absolute; inset: 0; will-change: transform; }
.cover::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(rgba(16,17,20,.28), transparent); pointer-events: none; }
.cover .hdr.over { z-index: 3; }
.ghead { position: relative; z-index: 2; padding: 0 16px; margin-top: -34px; }
.ghead.plain { margin-top: 0; padding-top: 16px; }
.gav { width: 68px; height: 68px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 4px var(--bg); background: var(--tint); }
.gav > .ph { width: 100%; height: 100%; }
.gav .ph .g { font-size: 28px; }
.gav.round, .gav.round > .ph { border-radius: 50%; }
.ghead h1 { font: 600 28px/1.15 var(--serif); letter-spacing: -0.01em; margin-top: 10px; display: flex; align-items: center; }
.ghead .meta { font-size: 15px; color: var(--muted); margin-top: 3px; }
.ghead .bio { font-size: 15px; margin-top: 8px; max-width: 34ch; }
.ghead .mini { margin-top: 10px; }
.cstats { display: flex; gap: 16px; margin-top: 10px; font-size: 15px; color: var(--muted); }
.cstats b { color: var(--ink); font-weight: 600; }
.acts { display: flex; gap: 8px; margin: 16px 0 16px; }
.acts .btn { height: 44px; font-size: 15px; }
.acts .btn.pri, .acts .btn:first-child { flex: 1; }
.acts .btn.sq { flex: none; }
.pin { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pin .t { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.pin .t svg { width: 18px; height: 18px; }
.pin .lt b { font-size: 15px; white-space: normal; }
.pin .lt small { font-size: 13px; }
.meet { display: flex; align-items: center; gap: 12px; margin: 6px 16px 0; padding: 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.date { width: 46px; flex: none; text-align: center; border-radius: 12px; background: var(--tint); padding: 6px 0 5px; font: 600 13px var(--sans); color: var(--muted); }
.date b { display: block; font: 600 20px/1.05 var(--serif); color: var(--ink); }
.meet .lt b { white-space: normal; font-size: 15px; }
.meet .lt small { font-size: 13px; }
.spaces { display: grid; }
.space { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 0; background: none; text-align: left; font: 500 17px var(--sans); }
.space + .space::before { content: ""; position: absolute; top: 0; left: 56px; right: 16px; height: 1px; background: var(--line); }
.hash { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--tint); display: grid; place-items: center; font: 600 15px var(--sans); color: var(--muted); }
.space .count, .space .islive { margin-left: auto; }
.space .islive { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--accent); color: #fff; font: 600 13px/1 var(--sans); transform: rotate(-1.5deg); }
.space .islive::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: livepulse 1.6s ease-in-out infinite; }
.league { display: grid; padding: 0 8px; }
.lgrow { display: grid; grid-template-columns: 22px 32px 1fr auto; gap: 12px; align-items: center; padding: 8px; font-size: 15px; border-radius: 12px; }
.lgrow .rk { font: 600 15px var(--serif); color: var(--muted); text-align: center; }
.lgrow b { font-weight: 600; font-variant-numeric: tabular-nums; }
.lgrow.me { background: var(--tint); }
.chatwrap { margin: 0 16px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
.chatbox { display: grid; gap: 10px; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: end; animation: rise .28s var(--ease); }
.bub { justify-self: start; max-width: 100%; padding: 8px 12px; border-radius: 16px 16px 16px 6px; background: var(--tint); font-size: 15px; line-height: 1.38; }
.bub b { display: block; font: 600 13px var(--sans); margin-bottom: 1px; }
.msg.mine { grid-template-columns: 1fr; }
.msg.mine .bub { justify-self: end; background: var(--ink); color: var(--bg); border-radius: 16px 16px 6px 16px; }
.sendrow { display: flex; gap: 8px; margin-top: 14px; }
.sendrow input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; padding: 0 16px; background: var(--tint); font: 380 17px var(--sans); color: var(--ink); outline: 0; }
.sendrow input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Inbox + feed ---------- */
.thread .lt small { white-space: nowrap; }
.feedlist { display: grid; }
.post { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 16px; position: relative; }
.post + .post::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line); }
.post.fresh { animation: rise .35s var(--ease); }
.pav { width: 40px; height: 40px; }
.pav > .ph { width: 100%; height: 100%; }
.pav[data-act] { cursor: pointer; }
.pb { min-width: 0; }
.post .who { display: flex; align-items: center; gap: 4px; font-size: 15px; white-space: nowrap; overflow: hidden; }
.post .who b { font-weight: 600; }
.post .who > span:last-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; margin-left: 2px; }
.post .txt { font-size: 15px; line-height: 1.45; margin-top: 2px; overflow-wrap: anywhere; }
.post .txt a { font-weight: 600; }
.post .acts { display: flex; gap: 28px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.post .acts button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; color: inherit; font: inherit; font-variant-numeric: tabular-nums; transition: transform .12s var(--ease); }
.post .acts button:active { transform: scale(.9); }
.post .acts svg { width: 18px; height: 18px; }
.post .acts .lk[aria-pressed="true"] { color: var(--accent); }
.post .acts .rp[aria-pressed="true"] { color: var(--ok); }
.embed { display: grid; grid-template-columns: 76px 1fr; margin-top: 10px; border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.embed.static { cursor: default; }
.embed > .ph { min-height: 88px; }
.embed .b { display: grid; gap: 5px; padding: 9px 12px; align-content: center; min-width: 0; }
.embed .b small { font-size: 13px; color: var(--muted); }
.embed .b b { font: 600 15px/1.3 var(--sans); }
.embed .b .btn { justify-self: start; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 10px; border-radius: 12px; overflow: hidden; }
.photos .ph { aspect-ratio: 3 / 4; }

/* ---------- Product page ---------- */
.pcar { position: relative; height: 430px; background: var(--tint); }
.pcar .slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pcar .slides::-webkit-scrollbar { display: none; }
.pcar .slides > .ph { flex: none; width: 100%; height: 100%; scroll-snap-align: center; }
.pcar .slides > .ph .g { font-size: 40px; }
.fl { position: absolute; top: calc(var(--top) + 8px); left: 16px; right: 16px; z-index: 3; display: flex; gap: 8px; }
.fl .cbtn[aria-pressed="true"] { color: var(--accent); }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 4px; background: rgba(16,17,20,.22); transition: width .28s var(--ease), background-color .28s; }
.dots i.on { width: 18px; background: var(--ink); }
.store { display: flex; align-items: center; gap: 12px; padding: 16px 16px 0; }
.store > .lt { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.store .st { display: grid; min-width: 0; }
.store .av.lg { width: 40px; height: 40px; }
.store b { font: 600 15px var(--sans); }
.store small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.pt { padding: 14px 16px 0; }
.pt h1 { font: 600 24px/1.15 var(--serif); letter-spacing: -0.01em; }
.pr.big { align-items: center; gap: 10px; margin-top: 10px; }
.pr.big b { font-size: 22px; }
.pr.big s { font-size: 15px; }
.pt .sub { font-size: 15px; color: var(--muted); margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.pt .sub b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pt .sub .lnk { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card.tiers { margin: 18px 16px 0; padding: 16px 16px 16px; }
.tiers .hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.tiers .hd b { font-weight: 600; }
.tiers .hd > span { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.tiers .steps { margin-top: 18px; }
.lrow.gband { margin: 12px 16px 0; width: auto; border-radius: 16px; background: var(--tint); padding: 10px 14px 10px 10px; min-height: 0; }
.lrow.gband .thumb { width: 44px; height: 44px; }
.lrow.gband .lt b { font-size: 15px; }
.lrow.gband .lt small { font-size: 13px; }
.vrows { margin: 16px 16px 0; border-radius: 16px; background: var(--card); box-shadow: var(--ring); overflow: hidden; }
.vrow { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 14px; border: 0; background: none; text-align: left; font: 380 15px var(--sans); }
.vrow + .vrow::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; height: 1px; background: var(--line); }
.vrow > span { color: var(--muted); flex: none; display: inline-flex; align-items: center; gap: 8px; }
.vrow > span svg { width: 18px; height: 18px; }
.vrow b { margin-left: auto; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vrow > svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
button.vrow:active { background: rgba(16,17,20,.03); }
.who { display: grid; }
.prow { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 16px; }
.prow + .prow::before { content: ""; position: absolute; top: 0; left: 68px; right: 16px; height: 1px; background: var(--line); }
.prow .lt b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.prow .lt small { font-size: 13px; }
.prow .tag { font-size: 13px; padding: 2px 7px; }
.prow .r { font-size: 13px; color: var(--muted); flex: none; }
.prow.me { background: var(--tint); }
.who .more { justify-self: start; padding: 10px 16px; font-weight: 600; color: var(--ink); }
ul.inc { list-style: none; margin: 0 16px; padding: 0; }
ul.inc li { position: relative; padding: 11px 0 11px 18px; font-size: 15px; }
ul.inc li + li { border-top: 1px solid var(--line); }
ul.inc li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.stars { position: relative; display: inline-block; color: #D7D0C2; letter-spacing: 1px; font-size: 13px; line-height: 1; }
.stars i { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--ink); font-style: normal; }
.revs { display: grid; }
.rev { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 16px; }
.rev b { font-weight: 600; font-size: 15px; }
.rev small { display: block; font-size: 13px; color: var(--muted); }
.rev p { font-size: 15px; line-height: 1.42; margin-top: 4px; }
.chartwrap { margin: 0 16px; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
svg.chart { width: 100%; height: auto; display: block; }
.rng { display: flex; gap: 4px; margin-top: 8px; }
.rng button { flex: 1; height: 32px; border: 0; border-radius: 999px; background: none; font: 500 15px var(--sans); color: var(--muted); }
.rng button[aria-pressed="true"] { background: var(--tint); color: var(--ink); }
.buybar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 16px calc(14px + var(--safe-b)); background: var(--card); border-top: 1px solid rgba(16,17,20,.12); box-shadow: 0 -18px 30px -26px rgba(7,13,10,.5); }
.buybar .bl { display: grid; min-width: 0; }
.buybar .bl b { font: 600 20px var(--sans); font-variant-numeric: tabular-nums; }
.buybar .bl small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { margin-left: auto; padding: 0 28px; }

/* ---------- Sheets ---------- */
.scrim { position: absolute; inset: 0; z-index: 40; display: none; align-items: flex-end; background: rgba(16,17,20,.38); }
.scrim.open { display: flex; animation: fade .28s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-height: 92%; overflow-y: auto; touch-action: pan-y; display: grid; gap: 16px; padding: 8px 16px calc(20px + var(--safe-b)); background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: var(--float); animation: up .42s var(--ease); scrollbar-width: none; }
.sheet::-webkit-scrollbar { display: none; }
@keyframes up { from { transform: translateY(100%); } }
.grab { justify-self: center; width: 36px; height: 5px; border-radius: 4px; background: rgba(16,17,20,.18); margin-bottom: 2px; }
.sh-t { font: 600 22px/1.2 var(--serif); letter-spacing: -0.01em; }
.sh-t.c { text-align: center; }
.sh-p { font-size: 15px; color: var(--muted); line-height: 1.45; }
.shead { display: flex; align-items: center; justify-content: space-between; }
.shead b { font-weight: 600; }
.shead .btn.ter { padding: 0 4px; }
.shtop { display: flex; align-items: center; gap: 14px; }
.shtop .thumb { width: 72px; height: 72px; border-radius: 12px; }
.shtop .lt b { white-space: normal; font-size: 15px; }
.shtop .pr b { font-size: 20px; }
.shtop .lt small { font-size: 13px; }
.field { display: grid; gap: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { height: 40px; padding: 0 15px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 500 15px var(--sans); color: var(--ink); transition: background-color .2s, color .2s, transform .12s var(--ease); }
.seg button:active { transform: scale(.95); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.group { display: grid; border-radius: 16px; background: var(--card); box-shadow: var(--ring); overflow: hidden; }
.group > *, .group [role="radiogroup"] > * { position: relative; }
.group > * + *::before, .group [role="radiogroup"] > * + *::before, .group > [role="radiogroup"]::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; height: 1px; background: var(--line); }
.qrow { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; font-size: 15px; }
.stepper { display: flex; align-items: center; border-radius: 999px; background: var(--tint); }
.stepper button { width: 40px; height: 36px; border: 0; background: none; font: 500 20px var(--sans); color: var(--ink); }
.stepper button[disabled] { color: rgba(16,17,20,.25); }
.stepper b { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; font-size: 15px; }
.opt .radio { width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px #CFC7B8; transition: box-shadow .2s var(--ease); }
.opt[aria-checked="true"] .radio { box-shadow: inset 0 0 0 6px var(--ink); }
.opt .lt b { font-size: 15px; white-space: normal; }
.opt .lt small { white-space: normal; font-size: 13px; }
.opt > b { font-weight: 600; flex: none; }
.lines { display: grid; gap: 7px; font-size: 15px; font-variant-numeric: tabular-nums; }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines div span:first-child { color: var(--muted); }
.lines .tot { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; font-weight: 600; font-size: 17px; }
.lines .tot span:first-child { color: var(--ink); }
.gshield { justify-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--okbg); display: grid; place-items: center; }
.gshield svg { width: 28px; height: 28px; }
.gitem { padding: 12px 14px; }
.gitem b { font-weight: 600; font-size: 15px; }
.gitem p { font-size: 15px; color: var(--muted); margin-top: 3px; line-height: 1.42; }
.composerow { display: flex; gap: 12px; align-items: flex-start; }
textarea.composer { flex: 1; min-height: 120px; border: 0; outline: 0; resize: none; background: none; font: 380 17px/1.45 var(--sans); color: var(--ink); padding-top: 8px; }
.rsvp { display: flex; align-items: center; gap: 14px; }
.rsvp > .ph { width: 88px; height: 88px; border-radius: 16px; flex: none; }
.rsvp .lt { gap: 4px; justify-items: start; }
.rsvp .lt b { white-space: normal; font-size: 17px; }
.rsvp .lt small { white-space: normal; font-size: 13px; }
.dmeta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dmeta b { color: var(--ink); font-weight: 600; }
.sheetimg { height: 200px; border-radius: 16px; overflow: hidden; }
.sheetimg > .ph { width: 100%; height: 100%; }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
ul.ticks li { display: flex; gap: 10px; }
ul.ticks svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 2px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.toggle .lt b { font-size: 15px; white-space: normal; }
.toggle .lt small { white-space: normal; font-size: 13px; }
.sw { position: relative; flex: none; width: 50px; height: 30px; border: 0; border-radius: 999px; background: #D9D2C4; transition: background-color .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .28s cubic-bezier(.3,1.5,.5,1); }
.sw[aria-checked="true"] { background: var(--ink); }
.sw[aria-checked="true"]::after { transform: translateX(20px); }

/* Hold to confirm: the night pill fills as you press */
.hold { overflow: hidden; touch-action: none; -webkit-touch-callout: none; }
.hold .hfill { position: absolute; inset: 0; width: 0; background: rgba(255,255,255,.2); pointer-events: none; }
.hold.sec .hfill { background: rgba(16,17,20,.1); }
.hold.holding .hfill { width: 100%; transition: width .65s linear; }
.hold .hl { position: relative; }
.hold.holding { transform: translateY(2px); box-shadow: none; }
.hold.done { animation: spring .28s var(--ease); }

/* Toast + activity ticker */
.toast { position: absolute; left: 12px; right: 12px; top: calc(var(--top) + 8px); z-index: 60; display: none; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: 15px; line-height: 1.38; box-shadow: var(--float); }
.toast b { font-weight: 600; }
.toast.show { display: flex; animation: drop .35s var(--ease); }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }
.tundo { flex: none; margin-left: auto; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); color: var(--bg); font: 600 15px var(--sans); }
.activity { position: absolute; left: 16px; bottom: calc(92px + var(--safe-b)); z-index: 19; display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 32px); padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; box-shadow: 0 0 0 1px rgba(16,17,20,.1), var(--float); opacity: 0; transform: translateY(10px); transition: opacity .28s var(--ease), transform .35s var(--ease); pointer-events: none; }
.activity.show { opacity: 1; transform: none; }
.activity b { font-weight: 600; }
.activity .aav { width: 24px; height: 24px; flex: none; display: block; }
.activity .aav .ph { width: 100%; height: 100%; }
.screen.nonav .activity { display: none; }

/* Confirmation: floating card, not a party */
.win { position: absolute; inset: 0; z-index: 50; display: none; align-items: flex-end; padding: 12px 12px calc(12px + var(--safe-b)); background: rgba(16,17,20,.38); }
.win.open { display: flex; animation: fade .28s var(--ease); }
.wcard { position: relative; width: 100%; display: grid; justify-items: center; gap: 12px; padding: 26px 20px 14px; border-radius: 22px; background: var(--bg); text-align: center; box-shadow: var(--float); animation: up .5s var(--ease); overflow: hidden; }
.wcheck { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: spring .5s .15s var(--ease) both; }
.wcheck svg { width: 28px; height: 28px; }
.wcard h2 { font: 600 24px/1.15 var(--serif); letter-spacing: -0.01em; margin-top: 4px; }
.wcard p { font-size: 15px; color: var(--muted); max-width: 31ch; line-height: 1.42; }
.wrow { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 6px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); text-align: left; }
.wrow > b { font-weight: 600; font-variant-numeric: tabular-nums; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 6px; height: 10px; border-radius: 2px; animation: fall .9s var(--ease) forwards; }
@keyframes fall { to { transform: translateY(240px) rotate(var(--r)); opacity: 0; } }

/* ---------- Creator store ---------- */
.cbody { padding-top: 2px; }
.cabinet { border-radius: 22px !important; }
.wfeat { margin: 0 16px 12px; padding: 12px; display: grid; gap: 12px; }
.wfeat > .ph { height: 200px; border-radius: 12px; }
.wfeat .lt b { white-space: normal; font-size: 17px; }
.tierc { margin: 0 16px 12px; padding: 16px; display: grid; gap: 14px; }
.tierc .tp { display: flex; align-items: center; gap: 10px; }
.tierc .tn { font: 600 20px var(--serif); letter-spacing: -0.01em; }
.tierc .tp .sp b { font: 600 20px var(--sans); }
.tierc .tp small { color: var(--muted); font-size: 15px; }
.tierc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.tierc li { display: flex; gap: 10px; }
.tierc li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.tierc.hot { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Market ---------- */
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 0 16px; }
.mcard { min-width: 0; cursor: pointer; transition: transform .2s var(--ease); }
.mcard > .ph { aspect-ratio: 3 / 4; border-radius: 12px; }
.mcard p { font-size: 13px; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard .px { display: flex; align-items: baseline; justify-content: space-between; font-variant-numeric: tabular-nums; margin-top: 2px; }
.mcard .px b { font: 600 15px var(--sans); }
.mcard .px span { font: 600 13px var(--sans); }
.mcard small { font-size: 13px; color: var(--muted); }
.cardtop { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; padding: 4px 16px 18px; }
.cimg { aspect-ratio: 55 / 85; border-radius: 12px; overflow: hidden; }
.cimg > .ph { width: 100%; height: 100%; }
.cimg.sm { width: 56px; flex: none; }
.cardtop h1 { font: 600 28px/1.1 var(--serif); letter-spacing: -0.01em; }
.cardtop .meta { color: var(--muted); font-size: 15px; }
.cardtop .k { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }
.lastp { font: 600 22px var(--sans); font-variant-numeric: tabular-nums; }
.lastp span { font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.split .btn { padding: 0 12px; }
.insp-card .split { padding: 0; }
.num { font-weight: 600; font-variant-numeric: tabular-nums; flex: none; }
.rows .lrow .lt .tag { margin-right: 4px; font-size: 13px; }

/* ---------- Activity ---------- */
.obody { padding-top: 4px; }
.ocard { margin: 0 16px 12px; padding: 4px 0 14px; display: grid; }
.ocard > .lrow { padding: 8px 14px; }
.ocard .steps { margin: 2px 14px 14px; }
.ocard > .btn { margin: 0 14px; width: calc(100% - 28px); height: 44px; font-size: 15px; }
.card.ord { margin: 0 16px; overflow: hidden; }
.ord .map { height: 120px; position: relative; background: #F3EDE2; }
.ord .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ord .in { display: grid; gap: 10px; padding: 14px 16px 16px; }
.ord .in > small { font-size: 13px; color: var(--muted); }
.ord h3 { font: 600 22px/1.15 var(--serif); letter-spacing: -0.01em; }
.tl { display: grid; margin-top: 4px; }
.tl .st { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 14px; }
.tl .st:last-child { padding-bottom: 0; }
.tl .st::before { content: ""; position: absolute; left: 8px; top: 16px; bottom: -2px; width: 2px; background: var(--line); }
.tl .st:last-child::before { display: none; }
.tl .st.done::before { background: var(--ink); }
.tl .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px #D7D0C2; z-index: 1; }
.tl .st.done .dot { background: var(--ink); box-shadow: none; }
.tl .st.now .dot { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px var(--tint); }
.tl b { display: block; font-size: 15px; font-weight: 600; }
.tl small { font-size: 13px; color: var(--muted); }

/* ---------- You ---------- */
/* (old .prof block padding removed: the class now names the profile screen wrapper) */
.ptop { display: flex; align-items: center; gap: 20px; }
.pstats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 13px; color: var(--muted); }
.pstats b { display: block; font: 600 20px var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.prof h2 { font: 600 22px var(--serif); letter-spacing: -0.01em; margin-top: 14px; }
.prof .bio { font-size: 15px; color: var(--muted); margin-top: 2px; }
.acts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.acts2 .btn { height: 40px; font-size: 15px; }
.pbody { padding-top: 12px; }
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.ggrid > .ph { aspect-ratio: 55 / 85; border-radius: 12px; }
.gempty { aspect-ratio: 55 / 85; border-radius: 12px; border: 1.5px dashed rgba(16,17,20,.2); background: none; display: grid; place-content: center; gap: 4px; padding: 8px; text-align: center; font: 500 13px/1.3 var(--sans); color: var(--muted); }
.gempty small { font-weight: 600; color: var(--ink); font-size: 13px; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; padding: 4px 16px; }
.bdg { display: grid; justify-items: center; gap: 2px; text-align: center; }
.bdg .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 600 20px var(--serif); margin-bottom: 6px; }
.bdg b { font: 600 13px var(--sans); }
.bdg small { font-size: 13px; color: var(--muted); }
.bdg.locked .ic { background: none; color: var(--muted); box-shadow: inset 0 0 0 1.5px rgba(16,17,20,.18); }
.shoplist { display: flex; align-items: center; gap: 12px; margin: 0 16px 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
.card.club { margin: 0 16px; padding: 16px; display: grid; gap: 12px; }
.ctop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ctop .lt b { font: 600 28px/1.1 var(--serif); letter-spacing: -0.01em; white-space: normal; }
.ctop .lt small { font-size: 13px; }
.gilt { display: grid; text-align: right; }
.gilt b { font: 600 20px var(--sans); font-variant-numeric: tabular-nums; }
.gilt small { font-size: 13px; color: var(--muted); }
.ctiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ct { display: grid; padding: 8px 9px; border-radius: 12px; background: var(--tint); }
.ct b { font: 600 13px var(--sans); }
.ct small { font-size: 13px; color: var(--muted); }
.ct.cur { background: var(--ink); color: var(--bg); }
.ct.cur small { color: rgba(245,246,248,.7); }
.ct.lock { opacity: .6; }
.mrows { display: grid; }
.mrows.top { margin-top: 16px; }
.mrow { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; height: 56px; padding: 0 16px; border: 0; background: none; text-align: left; font: 380 17px var(--sans); color: var(--ink); transition: background-color .2s; }
.mrow:active { background: rgba(16,17,20,.03); }
.mrow + .mrow::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; height: 1px; background: var(--line); }
.mrow > svg:first-child { width: 24px; height: 24px; flex: none; }
.mrow > span { flex: 1; min-width: 0; }
.mrow small { font-size: 15px; color: var(--muted); white-space: nowrap; }
.mrow > svg:last-child:not(:first-child) { width: 17px; height: 17px; color: rgba(16,17,20,.35); flex: none; }
.mrow.danger { color: var(--bad); }

/* ---------- Pots tab ---------- */
.ebody { padding-top: 4px; }
.catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 0 16px; }
.cat { min-width: 0; border: 0; background: none; padding: 0; text-align: left; display: grid; transition: transform .2s var(--ease); }
.cim { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--tint); }
.cim > .ph { position: absolute; inset: 0; }
.cim .tag { position: absolute; left: 8px; top: 8px; z-index: 2; background: var(--card); }
.cat b { font: 600 15px var(--sans); margin-top: 8px; }
.cat small { font-size: 13px; color: var(--muted); }
.cat:first-child { grid-column: span 2; }
.cat:first-child .cim { aspect-ratio: 2 / 1; }
.statline { padding: 14px 16px 12px; font-size: 15px; color: var(--muted); }
.statline b { color: var(--ink); font-weight: 600; }
.wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; padding: 0 16px; }
.wish { min-width: 0; display: grid; gap: 4px; align-content: start; border: 0; background: none; padding: 0; text-align: left; transition: transform .2s var(--ease); }
.wph { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--tint); margin-bottom: 4px; }
.wph > .ph { position: absolute; inset: 0; }
.wph .tag { position: absolute; left: 8px; top: 8px; z-index: 2; }
.wph .tag:not(.ok) { background: var(--card); }
.wmine { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }
.wmine svg { width: 15px; height: 15px; }
.wt { font: 600 15px/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wm { font-size: 13px; color: var(--muted); }
.wm b { color: var(--ink); font-weight: 600; }
.wish .bar { margin: 3px 0 2px; }
.wp { font-size: 13px; color: var(--muted); }
.drow { margin: 0 16px 12px; padding: 12px 14px 14px; display: grid; gap: 10px; }
.drow.bump { animation: spring .4s var(--ease); }
.dtop { display: flex; align-items: center; gap: 12px; }
.dtop .lt b { white-space: normal; font-size: 15px; }
.dtop .lt small { font-size: 13px; white-space: normal; }
.dmeta .mini { gap: 8px; font-size: 13px; }
.dproc { font-size: 13px; color: var(--muted); }
.dact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- Start a pot ---------- */
.form { display: grid; gap: 16px; padding: 0 16px 16px; }
.field label { font: 600 15px var(--sans); }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 380 17px var(--sans); color: var(--ink); outline: 0; -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tier-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card.forecast { padding: 14px 16px; display: grid; gap: 8px; font-size: 15px; font-variant-numeric: tabular-nums; }
.forecast .fh { font-weight: 600; }
.forecast div { display: flex; justify-content: space-between; }
.forecast div span { color: var(--muted); }
.forecast div b { font-weight: 600; }
.forecast small { font-size: 13px; color: var(--muted); }

/* ---------- Live ---------- */
.live { position: absolute; inset: 0; color: #fff; background: #1A1030; }
.live > .ph { position: absolute; inset: 0; }
.live .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), transparent 25%, transparent 50%, rgba(0,0,0,.55)); }
.lt-bar { position: absolute; top: calc(var(--top) + 8px); left: 14px; right: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.lt-bar b { font-weight: 600; }
.ltag { background: var(--accent); color: #fff; font: 600 13px var(--sans); padding: 2px 8px; border-radius: 8px; transform: rotate(-1.5deg); }
.vw { background: rgba(0,0,0,.35); font-size: 13px; padding: 3px 9px; border-radius: 8px; }
.sortgrid { position: absolute; top: calc(var(--top) + 62px); left: 14px; right: 14px; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sortgrid div { display: grid; padding: 7px 10px; border-radius: 12px; background: rgba(16,17,20,.38); font-size: 13px; }
.sortgrid b { font: 600 17px var(--sans); font-variant-numeric: tabular-nums; transition: color .3s; }
.sortgrid b.bump { color: var(--accent); }
.chat { position: absolute; left: 14px; right: 80px; bottom: calc(260px + var(--safe-b)); z-index: 3; display: grid; gap: 6px; font-size: 15px; }
.chat div { text-shadow: 0 1px 6px rgba(0,0,0,.5); animation: rise .3s var(--ease); }
.chat b { margin-right: 6px; font-weight: 600; }
.livebar { position: absolute; left: 10px; right: 10px; bottom: calc(12px + var(--safe-b)); z-index: 3; display: grid; gap: 10px; padding: 8px 12px 12px; border-radius: 22px; background: var(--bg); color: var(--ink); box-shadow: var(--float); }
.livebar > .lrow { padding: 4px 0; min-height: 0; }
.hearts { position: absolute; right: 16px; bottom: calc(270px + var(--safe-b)); width: 40px; height: 200px; pointer-events: none; z-index: 3; }
.hearts i { position: absolute; bottom: 0; left: 8px; width: 26px; height: 26px; animation: floatup 2s var(--ease) forwards; }
.hearts i svg { width: 100%; height: 100%; }
@keyframes floatup { to { transform: translate(var(--dx, -14px), -190px) scale(1.2); opacity: 0; } }

/* ---------- Stories ---------- */
.sv { position: absolute; inset: 0; z-index: 45; background: #000; color: #fff; }
.sv > .ph { position: absolute; inset: 0; }
.sv .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), transparent 22%, transparent 60%, rgba(0,0,0,.6)); pointer-events: none; }
.sv .prog { position: absolute; top: calc(var(--top) + 6px); left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.sv .prog i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.sv .prog i b { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; }
.sv .prog i.done b { width: 100%; }
.sv .prog i.cur b { animation: prog 4.5s linear forwards; }
@keyframes prog { to { width: 100%; } }
.sv .who { position: absolute; top: calc(var(--top) + 18px); left: 12px; right: 12px; z-index: 3; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sv .who b { font-weight: 600; }
.sv .who small { opacity: .7; }
.sv .who > .ph { width: 34px; height: 34px; }
.sv .zone { position: absolute; top: 80px; bottom: 140px; z-index: 2; width: 38%; border: 0; background: none; }
.sv .zone.l { left: 0; } .sv .zone.r { right: 0; width: 62%; }
.sv .cap { position: absolute; left: 16px; right: 16px; bottom: calc(108px + var(--safe-b)); z-index: 3; font: 600 28px/1.15 var(--serif); letter-spacing: -0.01em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.sv .cta { position: absolute; left: 16px; right: 16px; bottom: calc(30px + var(--safe-b)); z-index: 3; }

/* ---------- Pick it up (inspect): a soft cream studio ---------- */
.inspect { position: absolute; inset: 0; z-index: 48; display: none; flex-direction: column; color: var(--ink); }
.inspect.open { display: flex; animation: fade .3s var(--ease); }
.insp-bg { position: absolute; inset: 0; background: radial-gradient(70% 48% at 50% 38%, #FFFFFF 0%, #F3ECDF 60%, #E6DCCB 100%); }
.insp-x { position: absolute; top: calc(var(--top) + 10px); right: 14px; z-index: 3; }
.insp-hint { position: absolute; top: calc(var(--top) + 20px); left: 0; right: 0; z-index: 2; text-align: center; font-size: 13px; color: var(--muted); transition: opacity .4s; pointer-events: none; }
.insp-stage { position: relative; flex: 1; display: grid; place-items: center; perspective: 900px; touch-action: none; cursor: grab; z-index: 2; }
.insp-stage:active, .insp-stage.dragging { cursor: grabbing; }
.insp-stage .spin { transform-style: preserve-3d; animation: lift .6s var(--ease); }
@keyframes lift { from { opacity: 0; translate: 0 60px; scale: .5; } }
.insp-stage .obj { scale: 2.7; }
.insp-stage .bob { animation: none; }
.insp-floor { position: absolute; bottom: 14%; left: 50%; width: 220px; height: 30px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(60,40,20,.28), transparent); }
.insp-stage canvas.g3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.inspect.is3d .spin, .inspect.is3d .insp-floor { display: none; }
.insp-card { position: relative; z-index: 3; display: grid; gap: 6px; margin: 0 12px calc(14px + var(--safe-b)); padding: 16px; border-radius: 22px; background: var(--card); box-shadow: var(--float); animation: up .45s var(--ease); }
.insp-card small { font-size: 13px; color: var(--muted); }
.insp-card h2 { font: 600 22px/1.15 var(--serif); letter-spacing: -0.01em; }
.insp-price { font: 600 20px var(--sans); font-variant-numeric: tabular-nums; margin-bottom: 6px; }

/* ---------- Onboarding ---------- */
.ob { position: relative; min-height: 100%; background: var(--bg); color: var(--ink); }
.obin { position: relative; min-height: 100%; display: flex; flex-direction: column; gap: 14px; padding: calc(var(--top) + 16px) 20px calc(24px + var(--safe-b)); }
.ob.step0 .obin { justify-content: space-between; min-height: 798px; }
@media (max-width: 560px) { .ob.step0 .obin { min-height: 100vh; min-height: 100dvh; } }
.obhero { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: clamp(12px, 7vh, 64px); }
.obglow { position: absolute; top: -30px; left: 50%; width: 240px; height: 240px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,79,160,.32), rgba(167,149,255,.18) 60%, transparent); filter: blur(18px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.12); opacity: .8; } }
.obmark { position: relative; width: 132px; height: 132px; object-fit: contain; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-3deg); } }
.obword { position: relative; font: 800 40px/1 "Unbounded", var(--sans); letter-spacing: -0.04em; margin: 4px 0 18px; }
.obt { font: 600 28px/1.12 var(--serif); letter-spacing: -0.01em; }
.obt.c, .obs.c { text-align: center; }
.obs { font-size: 17px; color: var(--muted); line-height: 1.42; max-width: 32ch; }
.obbtns { display: grid; gap: 10px; }
.obfine { margin-top: 6px; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.6; }
.obfine .lnk { color: var(--ink); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.obhead { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.obprog { flex: 1; display: flex; gap: 6px; }
.obprog i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s; }
.obprog i.on { background: var(--ink); }
.ob .obt { margin-top: 10px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.fan { position: relative; height: 92px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 14px; border: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow .2s, transform .12s var(--ease); }
.fan:active { transform: scale(.97); }
.fdot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.fan .fb { font: 600 17px var(--sans); }
.fcheck { position: absolute; right: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transform: scale(0); transition: transform .28s cubic-bezier(.3,1.6,.5,1); }
.fcheck svg { width: 14px; height: 14px; }
.fan.on { box-shadow: inset 0 0 0 2px var(--ink); }
.fan.on .fcheck { transform: scale(1); }
.ob .lab { margin-top: 10px; }
.obgo { margin-top: auto; }
.top5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.slot5 { aspect-ratio: 3 / 4; border-radius: 12px; border: 1.5px dashed rgba(16,17,20,.2); display: grid; place-items: center; font: 600 17px var(--serif); color: var(--muted); overflow: hidden; }
.slot5 .ph { width: 100%; height: 100%; }
.obpool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick { position: relative; display: grid; gap: 5px; padding: 5px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1.25 var(--sans); text-align: left; }
.pick .ph { aspect-ratio: 1; border-radius: 8px; }
.pick span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick.on { box-shadow: inset 0 0 0 2px var(--ink); }
.pnum { position: absolute; top: 9px; right: 9px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 600 13px var(--sans); }

@media (prefers-reduced-motion: reduce) {
  .screen *, .screen *::before, .screen *::after { animation: none !important; transition: none !important; }
  .tilt { transform: none !important; }
}

/* ---------------- The shelf ---------------- */
.cabinet { --wood: #1E150F; margin: 0 16px 16px; border-radius: 22px; padding: 14px 10px 16px; position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #2A1D14, var(--wood) 30%, #150E09);
  box-shadow: inset 0 0 0 1px rgba(255,214,150,.08), inset 0 30px 60px -30px rgba(0,0,0,.8), 0 20px 40px -24px rgba(30,15,5,.7); }
.cab-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 6px 12px; color: #F3E3CC; }
.cab-head b { font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.cab-head span { font-size: 13px; font-weight: 700; color: rgba(243,227,204,.55); }
.shelfrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cubby { position: relative; height: 172px; border: 0; padding: 0; cursor: pointer; border-radius: 12px 12px 4px 4px; perspective: 520px; display: grid; place-items: center; font-family: var(--sans); overflow: hidden;
  background: radial-gradient(70% 55% at 50% -5%, rgba(255,205,140,.32), transparent 70%), linear-gradient(180deg, #24180F, #1A110B);
  box-shadow: inset 0 10px 18px -10px rgba(0,0,0,.9), inset 0 -2px 0 rgba(0,0,0,.4), inset 1px 0 0 rgba(255,214,150,.05), inset -1px 0 0 rgba(255,214,150,.05); }
.cubby .spot { position: absolute; top: 0; left: 50%; width: 46px; height: 4px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #FFE2B0; box-shadow: 0 0 18px 6px rgba(255,200,120,.45); transition: box-shadow .3s; }
.cubby .spot::after { content: ""; position: absolute; top: 4px; left: 50%; width: 150px; height: 150px; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(255,214,160,.22), transparent 70%); pointer-events: none; transition: opacity .3s; opacity: .8; }
.cubby .spot.dim { background: #5A4434; box-shadow: none; }
.cubby .spot.dim::after { display: none; }
.cubby:hover .spot, .cubby:focus-visible .spot { box-shadow: 0 0 24px 10px rgba(255,200,120,.6); }
.cubby:hover .spot::after { opacity: 1; }
.cubby.empty { cursor: default; }
.stage3d { display: block; transform-style: preserve-3d; margin-top: -18px;
  transform: rotateY(calc(var(--px, var(--tx, 0)) * 16deg + var(--d) * -7deg)) rotateX(calc(var(--py, 0) * -9deg)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.bob { display: block; transform-style: preserve-3d; animation: bob 4.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes bob { 50% { translate: 0 -4px; } }
.cubby:hover .bob, .cubby:focus-visible .bob { transform: translateY(-8px) scale(1.07); }
.cubby:active .bob { transform: translateY(-2px) scale(.98); }
.cubby .shadow { position: absolute; bottom: 34px; left: 50%; width: 64px; height: 10px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); transition: transform .35s, opacity .35s; }
.cubby:hover .shadow { transform: translateX(-50%) scale(.8); opacity: .6; }
.plate { position: absolute; left: 6px; right: 6px; bottom: 6px; display: grid; gap: 0; text-align: center; padding: 4px 4px 3px; border-radius: 8px;
  background: linear-gradient(180deg, #D8B26A, #A9823D); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 2px 4px rgba(0,0,0,.5); color: #2A1A06; }
.plate b { font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.plate i { font-style: normal; font-size: 13px; font-weight: 800; opacity: .8; font-variant-numeric: tabular-nums; }
.plank { height: 12px; margin: 0 -4px 14px; border-radius: 3px; position: relative;
  background: linear-gradient(180deg, #6B4A30, #3D2A1B 60%, #2A1C12); box-shadow: 0 6px 10px -4px rgba(0,0,0,.8); }
.plank::before { content: ""; position: absolute; left: 8px; right: 8px; top: 0; height: 2px; border-radius: 2px; background: #FFD38A; box-shadow: 0 0 10px 2px rgba(255,190,90,.65), 0 -6px 18px rgba(255,190,90,.25); }
.cabinet .shelfrow:last-of-type + .plank { margin-bottom: 0; }

/* 3D objects */
.obj { display: block; position: relative; transform-style: preserve-3d; }
.o3d { width: var(--w); height: var(--h); }
.o3d .f { position: absolute; backface-visibility: hidden; }
.o3d .f.front { inset: 0; transform: translateZ(calc(var(--dd) / 2)); overflow: hidden; border-radius: 2px; }
.o3d .f.front .ph { width: 100%; height: 100%; }
.o3d .f.front .ph .g { font-size: 13px; }
.o3d .f.back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--dd) / 2)); filter: brightness(.45); }
.o3d .f.left, .o3d .f.right { width: var(--dd); height: var(--h); left: calc((var(--w) - var(--dd)) / 2); filter: brightness(.55) saturate(.8); }
.o3d .f.left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.o3d .f.right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.o3d .f.top { width: var(--w); height: var(--dd); top: calc((var(--h) - var(--dd)) / 2); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); filter: brightness(1.15) saturate(.7); }
.album { --w: 78px; --h: 78px; --dd: 10px; transform: rotateY(-24deg) rotateX(4deg); }
.album .f.left::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px); }
.box { --w: 64px; --h: 74px; --dd: 46px; transform: rotateY(-30deg) rotateX(6deg); }
.pcard { width: 50px; height: 78px; border-radius: 8px; overflow: hidden; transform: rotateY(-14deg) rotateZ(-3deg); box-shadow: 0 8px 14px -6px rgba(0,0,0,.7), 0 0 0 1.5px rgba(255,255,255,.7); }
.pcard .ph { width: 100%; height: 100%; }
.pcard .ph .g { font-size: 13px; }
.vinyl { width: 84px; height: 80px; transform: rotateY(-18deg); }
.vinyl .sleeve { position: absolute; left: 0; top: 0; width: 76px; height: 76px; overflow: hidden; border-radius: 2px; box-shadow: 0 8px 14px -6px rgba(0,0,0,.7); transform: translateZ(2px); }
.vinyl .sleeve .ph { width: 100%; height: 100%; }
.vinyl .sleeve .ph .g { font-size: 13px; }
.vinyl .disc { position: absolute; left: 18px; top: 3px; width: 70px; height: 70px; border-radius: 50%; transition: transform .6s cubic-bezier(.2,.8,.2,1);
  background: radial-gradient(circle, #E7C08A 0 13%, #1a1a1a 14% 16%, transparent 17%), repeating-radial-gradient(circle, #151515 0 1.5px, #242424 1.5px 3px); box-shadow: 0 6px 12px -4px rgba(0,0,0,.8); }
.cubby:hover .vinyl .disc, .insp-stage .vinyl .disc { transform: translateX(18px) rotate(160deg); }
.stick { width: 48px; height: 104px; transform: rotateZ(-8deg); }
.stick .orb { position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--orb); box-shadow: 0 0 22px 6px rgba(160,220,255,.55), inset 0 -6px 12px rgba(0,0,0,.25), inset 0 6px 10px rgba(255,255,255,.6); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 34px 12px rgba(255,140,220,.55), inset 0 -6px 12px rgba(0,0,0,.25), inset 0 6px 10px rgba(255,255,255,.6); } }
.stick .handle { position: absolute; top: 44px; left: 18px; width: 12px; height: 60px; border-radius: 8px; background: linear-gradient(90deg, #2B2A33, #6B6A78 45%, #2B2A33); }
.print { transform: rotateY(-10deg) rotateZ(-3deg); }
.print .frame { width: 66px; height: 86px; padding: 5px; background: #EFE7DA; box-shadow: 0 10px 16px -6px rgba(0,0,0,.75), inset 0 0 0 1px rgba(0,0,0,.08); }
.print .frame .ph { width: 100%; height: 100%; }
.print .frame .ph .g { font-size: 13px; }


/* Paper touches on the cabinet: cream paper labels instead of brass, Fraunces heading */
.cabinet { margin: 0 16px 8px; }
.cab-head b { font: 600 17px "Fraunces", Georgia, serif; letter-spacing: -0.01em; }
.cab-head span { font-size: 13px; font-weight: 500; }
.plate { background: #F5F6F8; color: #101114; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,.45); font-family: var(--sans); }
.plate b { font-weight: 600; font-size: 13px; }
.plate i { font-weight: 500; font-size: 13px; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .bob, .stick .orb { animation: none !important; } }

/* Real-time 3D (three.js) over the shelf */
.cabinet canvas.g3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; border-radius: 22px; }
.cabinet.is3d .stage3d, .cabinet.is3d .shadow { visibility: hidden; }
.cabinet.is3d .cubby { perspective: none; }
.cabinet .plate { z-index: 3; }
.cabinet .cab-head { position: relative; z-index: 3; }
.ph.thumb .art { place-content: center; padding: 0; text-align: center; }
.ph.thumb .g { font-size: 20px; }
.sfoot { position: sticky; bottom: calc(-20px - var(--safe-b)); z-index: 2; display: grid; gap: 4px; margin: 0 -16px calc(-20px - var(--safe-b)); padding: 12px 16px calc(16px + var(--safe-b)); background: var(--bg); box-shadow: 0 -1px 0 var(--line); }

/* ======================================================================
   Approved screens (Round 8): cover-tinted pages, slide to reserve, signed-out links,
   text-code sign-in, receipt, group calendar, tracking by leg, organiser dock.
   ====================================================================== */
.view.tinted { background: var(--bg); color: var(--ink); transition: background-color .3s var(--ease); }
.ph.soft .art { color: var(--fg); }
.ph.soft.round .g { font-weight: 600; }

/* Story rings: quieter, smaller, photography leads */
.stories { gap: 12px; }
.story { width: 56px; font-size: 13px; color: var(--muted); }
.ring { width: 52px; height: 52px; padding: 2.5px; box-shadow: inset 0 0 0 1.5px rgba(16,17,20,.5); }
.ring.seen { box-shadow: inset 0 0 0 1px var(--line); }

/* Top bar on pot and group pages: quiet round buttons, not over the art */
.pbar2 { display: flex; align-items: center; gap: 8px; padding: 6px 16px 10px; }
.view .pbar2 .cbtn { background: var(--card); box-shadow: var(--ring); }
.invite { display: flex; align-items: center; gap: 10px; margin: 0 16px 12px; padding: 10px 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); font-size: 15px; }
.invite span:last-child { min-width: 0; }
.pcover { margin: 0 16px; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 18px 36px -26px rgba(43,14,37,.55); }
.pcover .pcar { height: auto; aspect-ratio: 1; background: var(--card); }
.pdp .pt { padding: 16px 16px 0; }
.pmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pchip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 17px var(--sans); }
.pmeta s { color: var(--muted); }
.okt { font-style: normal; color: var(--ok); font-weight: 600; }
.view.tinted .okt { color: #0B6B34; }
.eyebrow { margin-top: 12px; font: 500 13px var(--sans); color: var(--muted); }
.pdp .pt h1 { font: 600 28px/1.12 var(--serif); letter-spacing: -0.01em; margin-top: 2px; }
.mini.faces { margin-top: 12px; align-items: flex-start; }
.mini.faces .stack { margin-top: 1px; }
.quiet { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.qb { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--ring); color: var(--ink); display: grid; place-items: center; transition: transform .12s var(--ease); }
.qb:active { transform: scale(.92); }
.qb svg { width: 20px; height: 20px; }
.qcl { margin-left: auto; font-size: 13px; color: var(--muted); text-align: right; }
.qcl b { display: block; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hostcard { margin: 18px 16px 0; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: var(--ring); cursor: pointer; transition: transform .2s var(--ease); }
.hostcard:active { transform: scale(.985); }
.hc-top { display: flex; align-items: center; gap: 12px; }
.hc-top .lt small { white-space: normal; font-size: 13px; }
.hc-past, .past { display: flex; gap: 8px; margin-top: 12px; }
.hc-past .ph, .past .ph { width: 64px; height: 64px; border-radius: 12px; flex: none; }
.hc-past .more, .past .more { width: 64px; height: 64px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; font: 500 15px var(--sans); color: var(--muted); }
.onote { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); font-size: 15px; line-height: 1.4; }
.onote svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--muted); }
.sub2 { padding: 18px 16px 0; }
.sub2 .lnk { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.buybar.join { display: grid; gap: 8px; justify-items: center; padding-top: 12px; }
.buybar.join small { font-size: 13px; color: var(--muted); text-align: center; }
.buybar .btn.sm { padding: 0 16px; }
.buybar .btn.sec.sm { margin-left: auto; }
.buybar .btn.sec.sm + .btn { margin-left: 0; }
.mini > span { min-width: 0; }

/* Organiser dock (Partiful): floats where the tab bar was */
.odock { position: sticky; bottom: calc(16px + var(--safe-b)); z-index: 6; display: grid; grid-template-columns: 1fr 1fr 1.7fr 1fr; align-items: center; margin: 24px 12px 0; height: 64px; padding: 0 6px; border-radius: 22px; background: #101114; color: #F5F6F8; box-shadow: var(--float); }
.odock button { height: 54px; border: 0; background: none; color: inherit; display: grid; place-items: center; align-content: center; gap: 3px; font: 500 13px var(--sans); border-radius: 16px; transition: background-color .15s, transform .12s var(--ease); }
.odock button:active { transform: scale(.94); background: rgba(255,255,255,.08); }
.odock svg { width: 20px; height: 20px; }
.odock .ostat { border-left: 1px solid rgba(245,246,248,.16); border-right: 1px solid rgba(245,246,248,.16); border-radius: 0; }
.odock .ostat b { font: 600 17px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.odock .ostat span { color: rgba(245,246,248,.7); }

/* Slide to reserve */
.slide { --x: 0px; --p: 0; position: relative; height: 60px; border-radius: 999px; background: #101114; color: #F5F6F8; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; overflow: hidden; cursor: grab; box-shadow: 0 2px 0 #000; outline-offset: 3px; }
.slide.dragging { cursor: grabbing; }
.slide .sl-label { position: relative; padding: 0 20px 0 64px; font: 600 17px var(--sans); white-space: nowrap; opacity: calc(1 - var(--p) * 1.6); font-variant-numeric: tabular-nums; }
.slide .sl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--x) + 60px); border-radius: 999px; background: rgba(245,246,248,.12); transition: width .55s cubic-bezier(.34,1.56,.64,1); }
.slide .sl-knob { position: absolute; left: 6px; top: 6px; width: 48px; height: 48px; border-radius: 50%; background: #F5F6F8; color: #101114; display: grid; place-items: center; transform: translateX(var(--x)); transition: transform .55s cubic-bezier(.34,1.56,.64,1); }
.slide.dragging .sl-knob, .slide.dragging .sl-fill { transition: none; }
.slide .sl-knob svg { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .15s, transform .25s var(--ease); }
.slide .sl-knob svg + svg { opacity: 0; transform: scale(.6); }
.slide.done .sl-knob svg:first-child { opacity: 0; }
.slide.done .sl-knob svg + svg { opacity: 1; transform: none; color: #0B7E3D; }
.slide.done .sl-knob, .slide.done .sl-fill { transition: transform .18s var(--ease), width .18s var(--ease); }
.slide.nudge .sl-knob { animation: nudge .7s var(--ease); }
@keyframes nudge { 30% { transform: translateX(26px); } 60% { transform: translateX(-3px); } }
.sfoot .slide { margin-top: 2px; }
.jfine { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; padding: 4px 6px 0; }
.jfine.l { text-align: left; padding: 0; }

/* Join sheet */
.jtop { display: flex; align-items: flex-start; gap: 12px; }
.jtop small { font-size: 15px; color: var(--muted); }
.jamt { display: flex; align-items: baseline; gap: 6px; }
.jamt b { font: 600 44px/1.05 var(--sans); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.jamt em { font-style: normal; font-size: 17px; color: var(--muted); }
.jtop .thumb { width: 64px; height: 64px; border-radius: 16px; }
.jprog > div { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; margin-bottom: 8px; }
.jprog > div span:last-child { color: var(--muted); }
.mchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.mchips::-webkit-scrollbar { display: none; }
.mchip { flex: none; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 500 15px var(--sans); color: var(--ink); transition: background-color .15s, transform .12s var(--ease); }
.mchip:active { transform: scale(.95); }
.mchip[aria-checked="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.mchip[disabled] { color: var(--muted); opacity: .7; cursor: default; }
.vrow.fee span { white-space: normal; line-height: 1.3; font-size: 15px; }
.vrow.fee > svg { margin-left: auto; width: 18px; height: 18px; }
.subv { display: grid; gap: 14px; animation: push .32s var(--ease); }
@keyframes push { from { transform: translateX(18px); opacity: 0; } }
.shead2 { display: flex; align-items: center; gap: 12px; }
.shead2 b { font: 600 20px var(--serif); letter-spacing: -0.01em; }

/* Sign-in */
.si { display: grid; gap: 14px; }
.phonef { display: flex; align-items: center; height: 56px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.phonef:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.phonef .cc { padding: 0 12px 0 16px; height: 100%; display: grid; place-items: center; font: 600 17px var(--sans); border-right: 1px solid var(--line); }
.phonef input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 14px; font: 500 20px var(--sans); letter-spacing: .02em; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otpd { width: 100%; height: 60px; border: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: center; font: 500 28px var(--sans); color: var(--ink); outline: 0; transition: box-shadow .15s; }
.otpd:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.otp.bad .otpd { box-shadow: inset 0 0 0 1.5px var(--bad); }
.otp.bad { animation: shake .4s var(--ease); }
.otp.ok .otpd { box-shadow: inset 0 0 0 1.5px var(--ok); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.otperr { min-height: 18px; font-size: 15px; color: var(--bad); }
.otpfoot { font-size: 15px; color: var(--muted); text-align: center; }
.otpfoot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lnk.inl { color: var(--ink); font-weight: 600; text-decoration: underline; font-size: 15px; }
.si .lnk.quiet { justify-self: center; }
.btn.busy { pointer-events: none; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(245,246,248,.35); border-top-color: #F5F6F8; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Reserved receipt: neutral Paper, full screen */
.win.full { padding: 0; background: var(--bg); align-items: stretch; }
.win.full.open { animation: up .42s var(--ease); }
.rcpt { width: 100%; overflow-y: auto; padding: calc(var(--top) + 8px) 16px calc(24px + var(--safe-b)); display: grid; align-content: start; outline: 0; }
.rc-bar { display: flex; }
.rc-body { display: grid; justify-items: center; gap: 12px; text-align: center; padding-top: 8px; }
.rc-check { width: 76px; height: 76px; border-radius: 50%; background: var(--okbg); color: var(--ok); display: grid; place-items: center; animation: spring .5s .1s var(--ease) both; }
.rc-check svg { width: 34px; height: 34px; }
.rc-body h2 { font: 600 30px/1.12 var(--serif); letter-spacing: -0.01em; max-width: 13ch; }
.rc-body > p { font-size: 15px; color: var(--muted); max-width: 32ch; line-height: 1.45; }
.rc-body .btn { margin-top: 6px; }
.tl2 { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: grid; text-align: left; }
.tl2.pad { padding: 4px 16px 0; width: auto; }
.tl2 li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; padding-bottom: 16px; }
.tl2 li:last-child { padding-bottom: 4px; }
.tl2 li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tl2 li:last-child::before { display: none; }
.tl2 li.done::before { background: var(--ink); }
.tl2 .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px #D7D0C2; z-index: 1; }
.tl2 li.done .dot { background: var(--ink); box-shadow: none; }
.tl2 li.now .dot { background: var(--bg); box-shadow: inset 0 0 0 6px var(--accent); }
.tl2 b { display: block; font: 500 17px/1.3 var(--sans); }
.tl2 small { font-size: 15px; color: var(--muted); }
.tl2 em { font-style: normal; font-size: 13px; color: var(--muted); padding-top: 2px; white-space: nowrap; }

/* Organiser + invite sheets */
.composer.boxed { min-height: 110px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); width: 100%; }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.lcard { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
.lcard .lt small { white-space: normal; font-size: 13px; }
.group .lrow { min-height: 70px; padding: 10px 14px; }
.group .lrow .lt small { white-space: normal; font-size: 13px; line-height: 1.35; }
.ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; flex: none; }
.ic svg { width: 19px; height: 19px; }
.ic.wa { background: #DDF3E4; color: #0B6B34; } .ic.tg { background: #DCEBFA; color: #1A5DA8; }
.vrow.tall { height: auto; padding: 12px 14px; }
.vrow.tall .lt small { white-space: normal; }

/* Group as a calendar */
.lhead { display: flex; align-items: center; gap: 14px; padding: 4px 16px 0; }
.ltile { width: 72px; height: 72px; border-radius: 22px; flex: none; display: grid; place-items: center; color: #fff; font: 600 34px var(--serif); }
.lhead h1 { font: 600 30px/1.08 var(--serif); letter-spacing: -0.01em; }
.lhead .meta { font-size: 15px; color: var(--muted); margin-top: 3px; }
.mini.fr { padding: 12px 16px 0; }
.gacts { margin: 14px 16px 6px; }
.gacts .btn { flex: 1; height: 50px; font-size: 17px; }
.gtags { padding: 8px 16px 6px; }
.gtags .chip { border-radius: 999px; height: 36px; padding: 0 14px; }
.gtags .chip i { font-style: normal; color: var(--muted); margin-left: 2px; }
.gtags .chip[aria-pressed="true"] i { color: inherit; opacity: .75; }
.evh { font: 500 15px var(--sans); color: var(--muted); padding: 18px 16px 6px; }
.evrow { display: flex; align-items: center; gap: 12px; padding: 8px 16px; min-height: 72px; cursor: pointer; }
.evrow.evm { cursor: default; }
.evrow .thumb { width: 56px; height: 56px; border-radius: 16px; }
.evrow .date { width: 56px; height: 56px; padding: 6px 0 0; border-radius: 16px; background: var(--card); box-shadow: var(--ring); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; display: grid; place-items: center; align-content: center; }
.evrow .date svg { width: 22px; height: 22px; color: var(--ink); }
.evrow .lt b { font-size: 17px; }
.evrow .lt small { font-size: 15px; }
.epill { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--tint); color: var(--ink); font: 600 15px var(--sans); display: inline-grid; place-items: center; transition: transform .12s var(--ease), background-color .2s; }
.epill:active { transform: scale(.94); }
.epill.on { background: var(--ink); color: var(--bg); }
.past { padding: 0 16px; }
.gpin { margin: 22px 16px 0; }

/* Tracking by leg */
.trk { margin: 0 16px; padding: 16px; display: grid; gap: 4px; }
.trk > small { font-size: 15px; color: var(--muted); }
.trk h2 { font: 600 28px/1.1 var(--serif); letter-spacing: -0.01em; }
.legs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.lbar { display: block; height: 6px; border-radius: 8px; background: var(--line); overflow: hidden; }
.lbar i { display: block; height: 100%; background: var(--ink); border-radius: 8px; }
.lw { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.25; }
.lw .av { width: 22px; height: 22px; }
details.early { margin: 14px 16px 0; }
details.early summary { font: 500 15px var(--sans); color: var(--muted); cursor: pointer; list-style: none; }
details.early summary::-webkit-details-marker { display: none; }
details.early summary::after { content: " ›"; }
details[open].early summary::after { content: " ⌄"; }
.group.mx { margin: 18px 16px 0; }
.mrow.tg { cursor: default; }
.mrow.tg > span { display: grid; flex: 1; }
.mrow .sub { font-size: 13px; color: var(--muted); }
.mrow.tg .sw { margin-left: auto; }

/* Light oak gallery shelf (replaces the dark cabinet) */
.cabinet { --wood: #E2CBA6; background: repeating-linear-gradient(90deg, rgba(120,80,30,.035) 0 2px, transparent 2px 9px), linear-gradient(180deg, #EEDDC2, #E5CFAB); box-shadow: inset 0 0 0 1px rgba(120,80,30,.12); }
.cab-head { color: #3A2A16; }
.cab-head span { color: rgba(58,42,22,.62); }
.cubby { background: radial-gradient(70% 55% at 50% -5%, rgba(255,250,240,.9), transparent 70%), linear-gradient(180deg, #F6EBD8, #EFE0C6); box-shadow: inset 0 8px 14px -10px rgba(110,70,25,.35), inset 0 -2px 0 rgba(110,70,25,.12); }
.cubby .spot { background: #FFF6E4; box-shadow: 0 0 14px 4px rgba(255,236,200,.7); }
.cubby .spot::after { opacity: .5; }
.cubby .spot.dim { background: #E2D2B6; }
.cubby .shadow { background: radial-gradient(closest-side, rgba(90,60,20,.28), transparent); }
.plank { background: linear-gradient(180deg, #D9B886, #C49C66 60%, #B08756); box-shadow: 0 6px 10px -6px rgba(90,60,20,.45); }
.plank::before { background: rgba(255,248,232,.7); box-shadow: none; height: 1.5px; }
.plate { box-shadow: 0 2px 4px rgba(90,60,20,.22); }
/* Never let a focused field scroll the phone frame itself */
.screen { overflow: clip; }
.screen.nonav .navwrap { visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }

/* ======================================================================
   Stores and profiles (Round 9): rooms you decorate, themes, seasons, fan ID
   ====================================================================== */
.phone { --brico: "Bricolage Grotesque", "Arial Black", sans-serif; --hand: "Caveat", "Comic Sans MS", cursive; --unb: "Unbounded", "Arial Black", sans-serif; }
.room { --px: 0; --py: 0; position: relative; overflow: hidden; background: var(--wall); color: var(--rtext); isolation: isolate; -webkit-user-select: none; user-select: none; }
.room [data-depth] { transform: translate3d(calc(var(--px) * var(--dd, 0) * 1px), calc(var(--py) * var(--dd, 0) * 1px), 0); transition: transform .4s var(--ease); }
.room [data-depth="0"] { --dd: -2; } .room [data-depth="1"] { --dd: 3; } .room [data-depth="2"] { --dd: 5; }
.rwall { position: absolute; inset: -12px; background-color: var(--wall); background-size: cover; background-position: center; filter: blur(var(--blur, 0px)); }
.rdim { position: absolute; inset: 0; background: rgba(16,17,20,var(--dim, .2)); }
.p-dots { background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--racc) 28%, transparent) 1.3px, transparent 1.6px); background-size: 22px 22px; }
.p-grid { background-image: linear-gradient(color-mix(in srgb, var(--racc) 16%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--racc) 16%, transparent) 1px, transparent 1px); background-size: 26px 26px; }
.p-gingham { background-image: linear-gradient(color-mix(in srgb, var(--racc) 12%, transparent) 50%, transparent 50%), linear-gradient(90deg, color-mix(in srgb, var(--racc) 12%, transparent) 50%, transparent 50%); background-size: 28px 28px; }
.p-stars { background-image: radial-gradient(circle, color-mix(in srgb, var(--racc) 40%, transparent) 1px, transparent 1.5px), radial-gradient(circle, color-mix(in srgb, var(--racc) 25%, transparent) 1.5px, transparent 2px); background-size: 34px 34px, 57px 57px; background-position: 0 0, 17px 21px; }
.p-halftone { background-image: radial-gradient(circle, rgba(255,255,255,.2) 1.4px, transparent 1.7px); background-size: 10px 10px; }
.rfloor { position: absolute; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(90deg, #E7D3B5 0 54px, #DFC8A6 54px 56px); box-shadow: inset 0 14px 20px -14px rgba(80,50,20,.35); }
.rug { position: absolute; left: 18%; right: 18%; bottom: 20px; height: 56px; border-radius: 50%; background: radial-gradient(#FFD3E3 0 40%, #FFBCD6 41% 60%, #FFE0EB 61%); opacity: .85; }
.rbar { position: absolute; top: calc(var(--top) + 8px); left: 14px; right: 14px; z-index: 30; display: flex; align-items: center; gap: 8px; }
.rbar .rt { flex: 1; text-align: center; font: 600 15px var(--sans); color: var(--rtext); text-shadow: 0 0 12px color-mix(in srgb, var(--wall) 70%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbar .cbtn { background: rgba(255,255,255,.94); color: #101114; }
.rbar .btn.pri { background: #101114; color: #F5F6F8; }
.myroom .room { margin: 0 16px; border-radius: 22px; }
.myroom .rbar { top: 12px; }
.rsign { position: absolute; top: calc(var(--top) + 62px); left: 12px; right: 12px; text-align: center; z-index: 2; pointer-events: none; }
.rsign .sn { display: block; font-size: 46px; line-height: .95; letter-spacing: -0.01em; }
.rsign small { display: block; margin-top: 8px; font: 600 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--racc); }
.f-fraunces .sn, .fopt.f-fraunces span, .thcard.f-fraunces .sn { font-family: var(--fraunces); font-style: italic; font-weight: 600; }
.f-bricolage .sn, .fopt.f-bricolage span, .thcard.f-bricolage .sn { font-family: var(--brico); font-weight: 800; letter-spacing: -0.015em; }
.f-caveat .sn, .fopt.f-caveat span, .thcard.f-caveat .sn { font-family: var(--hand); font-weight: 600; font-size: 1.12em; }
.f-unbounded .sn, .fopt.f-unbounded span, .thcard.f-unbounded .sn { font-family: var(--unb); font-weight: 800; letter-spacing: -0.015em; font-size: .82em; }
.rsign.f-bricolage .sn { font-size: 54px; line-height: .86; }
.s-neon .sn { color: #fff; text-shadow: 0 0 5px var(--racc), 0 0 14px color-mix(in srgb, var(--racc) 80%, #FF4FA0), 0 0 28px color-mix(in srgb, var(--racc) 60%, #FF7ABF); }
.room:not(.dark) .s-neon .sn { color: #fff; text-shadow: 0 0 4px #FF4FA0, 0 0 12px #FF4FA0, 0 0 26px #FF7ABF; }
.s-paper .sn { color: var(--rtext); }
.room .s-paper .sn { text-shadow: 0 3px 0 color-mix(in srgb, var(--rtext) 18%, transparent); }
.s-chrome .sn { background: linear-gradient(180deg, #FFFFFF 0%, #C9CED8 38%, #7E8698 52%, #E9ECF2 70%, #9AA2B4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .6px rgba(20,24,40,.35); }
.rplank { position: absolute; height: 14px; border-radius: 3px; background: linear-gradient(#E9CFA4, #C9A574); box-shadow: 0 10px 14px -8px rgba(70,40,10,.45); z-index: 3; }
.piece { position: absolute; z-index: 5; transform: translate(-50%, 0) rotate(var(--r, 0deg)) scale(var(--s, 1)); transform-origin: 50% 50%; touch-action: manipulation; }
.piece .pz { transform: translate3d(calc(var(--px) * 4px), calc(var(--py) * 3px), 0); transition: transform .4s var(--ease); }
.piece.item { width: 104px; cursor: pointer; }
.piece.item .cut { display: block; width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(60,30,10,.18)); transition: transform .2s var(--ease); pointer-events: none; }
.piece.item:hover .cut, .piece.item:focus-visible .cut { transform: translateY(-4px); }
.piece.item.lift .cut { transform: translateY(-10px) scale(1.04); transition-duration: .2s; }
.ptag { position: absolute; left: 50%; top: 116px; transform: translateX(-50%) rotate(-1.5deg); background: #FFFFFF; color: #101114; border-radius: 8px; padding: 4px 8px 4px 14px; font: 600 13px/1.25 var(--sans); white-space: nowrap; box-shadow: 0 4px 8px -4px rgba(0,0,0,.3); font-variant-numeric: tabular-nums; }
.ptag::before { content: ""; position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #E5DCCB; }
.ptag small { display: block; font: 500 13px var(--sans); color: #5E5A52; }
.piece.free { width: 96px; } .piece.free .cut { width: 96px; height: 96px; }
.piece.pcard { width: 62px; }
.pcard .ph { width: 62px; height: 96px; border-radius: 8px; border: 3px solid #fff; box-shadow: 0 6px 10px -5px rgba(0,0,0,.35); }
.washi { position: absolute; top: -8px; left: 50%; z-index: 2; width: 34px; height: 14px; margin-left: -17px; background: rgba(255,160,200,.75); transform: rotate(-6deg); }
.piece.empty { width: 66px; height: 98px; border-radius: 8px; border: 2px dashed rgba(16,17,20,.3); background: rgba(255,255,255,.55); display: grid; place-items: center; text-align: center; cursor: pointer; }
.piece.empty span { font: 600 13px/1.2 var(--sans); color: #101114; padding: 4px; }
.piece.empty small { display: block; font-weight: 500; color: #5E5A52; margin-top: 2px; }
.piece.note { width: 132px; padding: 9px 10px; background: #FFF3A6; color: #2A2208; font: 600 20px/1.05 var(--hand); box-shadow: 0 6px 10px -6px rgba(0,0,0,.35); }
.piece.note b { display: block; font: 600 13px var(--sans); color: #6B6136; margin-bottom: 2px; }
.sticker { display: inline-block; font: 800 15px var(--brico); padding: 7px 12px; border-radius: 999px; border: 2px solid #2B0E25; color: #2B0E25; background: #FFE36B; box-shadow: 0 3px 0 #2B0E25; white-space: nowrap; }
.sticker.s-sold { background: #FF4FA0; color: #fff; } .sticker.s-new { background: #7CF0C8; } .sticker.s-heart { background: #FFC9DD; font-family: var(--hand); font-size: 20px; }
.sticker.s-star { background: #2B0E25; color: #FFE36B; } .sticker.s-thanks { background: #FFFFFF; font-family: var(--hand); font-size: 20px; }
.piece.sticker { padding: 0; border: 0; background: none; box-shadow: none; }
.piece.cork { width: 150px; height: 104px; border-radius: 12px; background: #D9B98C; box-shadow: inset 0 0 0 6px #B58C5A, 0 8px 14px -8px rgba(0,0,0,.4); }
.piece.cork .pz { display: flex; justify-content: space-around; align-items: center; height: 100%; padding: 0 10px; }
.pinb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 600 13px var(--serif); box-shadow: 0 3px 0 rgba(0,0,0,.2), inset 0 -3px 0 rgba(0,0,0,.15); }
.here { position: absolute; left: 14px; bottom: 34px; z-index: 6; display: flex; align-items: center; gap: 7px; background: #101114; color: #F5F6F8; border-radius: 999px; padding: 5px 12px 5px 8px; font: 600 13px var(--sans); }
.here.r { left: auto; right: 14px; bottom: 30px; }
.here i { width: 7px; height: 7px; border-radius: 50%; background: #7CF0A8; box-shadow: 0 0 0 3px rgba(124,240,168,.25); }
.here .stack .av { box-shadow: 0 0 0 2px #101114; width: 20px; height: 20px; }
/* Decorate */
.room.decor .piece { cursor: grab; }
.room.decor .piece.dragging { cursor: grabbing; z-index: 20; }
.room.decor .piece .pz { transform: none; }
.hd, .hdel { display: none; }
.piece.sel { outline: 2px dashed #7B5CFF; outline-offset: 6px; z-index: 19; }
.piece.sel .hd { display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #7B5CFF; }
.hd.tl { left: -13px; top: -13px; } .hd.tr { right: -13px; top: -13px; } .hd.bl { left: -13px; bottom: -13px; }
.hd.br { right: -15px; bottom: -15px; width: 20px !important; height: 20px !important; cursor: nwse-resize; }
.hd.rot { left: 50%; top: -34px; margin-left: -8px; width: 16px !important; height: 16px !important; cursor: grab; }
.hd.rot::after { content: ""; position: absolute; left: 5px; top: 14px; width: 2px; height: 12px; background: #7B5CFF; }
.piece.sel .hdel { display: grid; place-items: center; position: absolute; right: -16px; top: -46px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #101114; color: #fff; }
.hdel svg { width: 14px; height: 14px; }
.piece.drop { animation: settle .3s var(--ease); }
@keyframes settle { 0% { transform: translate(-50%, -4px) rotate(var(--r, 0deg)) scale(calc(var(--s, 1) * 1.03)); } }
.tray { position: relative; z-index: 31; margin-top: -26px; padding: 8px 16px 24px; border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: 0 -16px 30px -22px rgba(0,0,0,.35); display: grid; gap: 12px; }
.tray .segu { padding: 0; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tcell { aspect-ratio: 1; border: 0; border-radius: 16px; background: var(--tint); display: grid; place-items: center; overflow: hidden; padding: 4px; transition: transform .12s var(--ease); }
.tcell:active { transform: scale(.95); }
.tcell img { width: 86%; height: 86%; object-fit: contain; }
.tcell.st { aspect-ratio: auto; min-height: 64px; grid-column: span 2; }
.tcell.st .sticker { font-size: 13px; }
.note.mini { background: #FFF3A6; font: 600 17px var(--hand); padding: 8px 12px; box-shadow: 0 4px 8px -5px rgba(0,0,0,.35); }
.tcell.pat { background-color: var(--wall); position: relative; align-items: end; }
.tcell.pat span, .tcell.fnt small { font: 500 13px var(--sans); background: rgba(255,255,255,.92); color: #101114; padding: 2px 6px; border-radius: 8px; }
.tcell[aria-pressed="true"], .fopt[aria-pressed="true"], .thcard[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--ink); }
.tcell.fnt { gap: 0; align-content: center; }
.tcell.fnt span { font-size: 28px; line-height: 1; }
.f-fraunces.tcell span { font-family: var(--fraunces); font-style: italic; } .f-bricolage.tcell span { font-family: var(--brico); font-weight: 800; } .f-caveat.tcell span { font-family: var(--hand); } .f-unbounded.tcell span { font-family: var(--unb); font-weight: 800; font-size: 20px; }
/* Customise sheet: light scrim so the room shows behind */
.scrim.clear { background: rgba(16,17,20,.08); }
.scrim.clear .sheet { max-height: 58%; }
.cbody2 { display: grid; gap: 14px; }
.thgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thcard { position: relative; height: 128px; border: 0; border-radius: 16px; padding: 12px; text-align: left; display: grid; align-content: space-between; background-color: var(--wall); color: var(--rtext); overflow: hidden; font-size: 30px; }
.thcard .sn { line-height: .95; overflow: hidden; text-overflow: ellipsis; }
.thcard small { font: 600 13px var(--sans); color: var(--rtext); }
.thcard.s-neon .sn { color: #fff; }
.thcard.s-chrome .sn { -webkit-text-stroke: .5px rgba(20,24,40,.4); }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sw8 { aspect-ratio: 1; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(16,17,20,.12); position: relative; cursor: pointer; }
.sw8[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(16,17,20,.12), 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.sw8.custom { display: grid; place-items: center; background: conic-gradient(#FF4FA0, #FFE36B, #7CF0C8, #3F6CF0, #7B5CFF, #FF4FA0); font: 600 20px var(--sans); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); overflow: hidden; }
.sw8.custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cprev { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--wall); color: var(--rtext); }
.cprev b { font: 600 28px var(--serif); }
.cprev span { font-size: 13px; color: var(--racc); font-weight: 600; }
.upl { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.upl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upl svg { grid-row: span 2; width: 22px; height: 22px; }
.upl span { font: 600 15px var(--sans); } .upl small { font-size: 13px; color: var(--muted); }
.bgprev { height: 120px; border-radius: 16px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.bgprev::after { content: ""; position: absolute; inset: 0; background: rgba(16,17,20,var(--dim)); backdrop-filter: blur(var(--blur)); }
.rng2 { display: grid; grid-template-columns: 56px 1fr; align-items: center; font-size: 15px; }
.rng2 input { accent-color: #101114; width: 100%; }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fopt { border: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; text-align: left; display: grid; gap: 2px; }
.fopt span { font-size: 24px; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fopt small { font-size: 13px; color: var(--muted); }
/* On the shelf sheet + fan level */
.shelfsheet { position: relative; z-index: 31; margin-top: -26px; padding: 8px 0 8px; border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: 0 -16px 30px -22px rgba(0,0,0,.35); }
.shelfsheet > .grab { display: block; margin: 0 auto 10px; }
.fancard { margin: 0 16px; padding: 14px 16px; border-radius: 22px; background: #101114; color: #F5F6F8; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; }
.fancard .lt b { font: 600 22px var(--serif); letter-spacing: -0.01em; color: #F5F6F8; }
.fancard .lt small { color: rgba(245,246,248,.72); font-size: 13px; white-space: normal; }
.fancard .bar { grid-column: 1 / -1; margin-top: 8px; height: 6px; background: rgba(245,246,248,.16); }
.fancard .bar i { background: #FF4FA0; }
.fancard p { grid-column: 1 / -1; font-size: 13px; color: rgba(245,246,248,.8); margin-top: 4px; }
.medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 20px var(--serif); color: #3A2A06; background: #E9C46A; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.medal.mbronze { background: #D9A273; } .medal.msilver { background: #D6D9E0; } .medal.mplatinum { background: #CFE7EA; } .medal.mdiamond { background: #CFC6FF; }
.sacts { display: flex; gap: 8px; padding: 14px 16px 6px; }
.sacts .btn { flex: 1; }
.sacts .btn.sq { flex: none; width: 44px; }
.shelfsheet .segu { margin-top: 6px; }
.ppill { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--bg); display: inline-grid; place-items: center; font: 600 15px var(--sans); font-variant-numeric: tabular-nums; }
.ppill.q { background: var(--tint); color: var(--ink); }
/* Season path */
.season { padding: 10px 16px 0; }
.spath { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.spath .node { display: grid; justify-items: center; text-align: center; gap: 2px; width: 150px; cursor: default; }
.spath .node[data-act] { cursor: pointer; }
.spath .node.l { justify-self: start; margin-left: 12%; } .spath .node.r { justify-self: end; margin-right: 8%; } .spath .node.c { justify-self: center; }
.spath .disc { position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 10px 18px -12px rgba(0,0,0,.4); display: grid; place-items: center; margin-bottom: 6px; }
.spath .disc img { width: 84px; height: 84px; object-fit: contain; }
.spath .now .disc { box-shadow: 0 0 0 5px #FF4FA0, 0 0 0 11px rgba(255,79,160,.18); }
.spath .lock .disc img { filter: grayscale(1) opacity(.45); }
.spath .tick { position: absolute; right: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.spath .tick svg, .spath .lockb svg { width: 15px; height: 15px; }
.spath .lockb { position: absolute; right: 2px; bottom: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--card); box-shadow: var(--ring); display: grid; place-items: center; color: var(--muted); }
.spath b { font: 600 15px var(--sans); } .spath small { font-size: 13px; color: var(--muted); }
.spath .perk { display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 10px 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
.spath .perk .pk { width: 30px; height: 30px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; flex: none; }
.spath .perk .pk svg { width: 16px; height: 16px; }
.spath .perk.got .pk { background: var(--okbg); color: var(--ok); }
.spath .perk b { display: block; font-size: 15px; } .spath .perk small { font-size: 13px; }
/* Profile: fan ID, eras, pins */
.fanwrap { padding: 4px 22px 0; perspective: 900px; }
.fanid { position: relative; aspect-ratio: 5 / 6.4; border-radius: 22px; overflow: hidden; color: #fff; padding: 18px 20px; display: grid; grid-template-rows: auto 1fr auto auto auto; background: linear-gradient(170deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%); box-shadow: 0 24px 40px -24px rgba(40,10,40,.6); }
.fi-top { display: flex; justify-content: space-between; font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.fi-card { width: 56%; justify-self: center; align-self: center; filter: drop-shadow(0 12px 14px rgba(0,0,0,.25)); }
.fi-name { font: 800 52px/.9 var(--brico); letter-spacing: -0.015em; text-transform: uppercase; }
.fi-sub { font-size: 15px; opacity: .9; margin-top: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.22); }
.fi-stats { display: flex; gap: 26px; margin-top: 10px; font-size: 13px; opacity: .92; }
.fi-stats b { display: block; font: 600 22px var(--sans); }
.fi-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, calc(50% + var(--tx, 0) * 30%)) var(--gy, calc(30% + var(--ty, 0) * 30%)), rgba(255,255,255,.28), transparent 45%), linear-gradient(115deg, transparent 30%, rgba(255,160,230,.16) 45%, rgba(150,230,255,.16) 55%, transparent 70%); mix-blend-mode: soft-light; }
.acts2.pad { display: flex; gap: 8px; padding: 16px 16px 0; }
.acts2.pad .btn { flex: 1; height: 46px; }
.eras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.era { border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--ring); padding: 14px 6px 12px; display: grid; justify-items: center; gap: 2px; }
.ring2 svg { width: 64px; height: 64px; display: block; margin-bottom: 6px; }
.era b { font: 600 15px var(--sans); } .era small { font-size: 13px; color: var(--muted); }
.pins { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0 16px; }
.pinbtn { border: 0; background: none; padding: 0; display: grid; justify-items: center; gap: 6px; }
.pinbtn .pinb { width: 48px; height: 48px; border-radius: 16px; font-size: 17px; }
.pinbtn small { font-size: 13px; line-height: 1.2; color: var(--muted); text-align: center; }
.pinbtn.locked .pinb { color: #8E877A; box-shadow: none; }
/* Story share 9:16 */
.sshare { width: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: calc(var(--top) + 8px) 16px calc(16px + var(--safe-b)); background: var(--bg); }
.ss-bar { display: flex; align-items: center; gap: 10px; } .ss-bar b { font: 600 17px var(--sans); }
.ss9 { position: relative; justify-self: center; height: 100%; max-height: 560px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #4A1E7A 0%, #C2408F 55%, #FF9A6B 100%); padding: 22px 18px; display: grid; align-content: center; justify-items: center; }
.ss-prog { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; } .ss-prog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); } .ss-prog i.on { background: #fff; }
.fanid.ss { width: 82%; transform: rotate(-4deg); font-size: .8em; padding: 12px 14px; }
.fanid.ss .fi-name { font-size: 34px; } .fanid.ss .fi-sub { font-size: 13px; } .fanid.ss .fi-stats { gap: 14px; font-size: 13px; } .fanid.ss .fi-stats b { font-size: 17px; } .fanid.ss .fi-top { font-size: 13px; }
.ss-note { margin-top: -14px; transform: rotate(4deg); background: #FFE36B; color: #2B0E25; font: 800 13px/1.2 var(--brico); padding: 8px 12px; border-radius: 12px; box-shadow: 0 3px 0 #2B0E25; max-width: 70%; text-align: center; }
.ss-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; border: 0; border-radius: 12px; background: #fff; color: #101114; font: 600 15px var(--sans); box-shadow: 0 8px 16px -8px rgba(0,0,0,.4); }
.gl { width: 24px; height: 24px; border-radius: 8px; background: #101114; color: #fff; display: grid; place-items: center; font: 600 15px var(--serif); }
.ss-acts { display: grid; gap: 8px; }

/* Motion, calmed down: nothing loops on its own except live dots. */
.bob, .stick .orb { animation: none !important; }
.slide .sl-knob, .slide .sl-fill { transition-timing-function: cubic-bezier(.22,1,.36,1); transition-duration: .35s; }
.slide.nudge .sl-knob { animation: nudge .45s var(--ease); }
@keyframes nudge { 40% { transform: translateX(18px); } }
@media (prefers-reduced-motion: reduce) {
  .room [data-depth], .piece .pz { transform: none !important; }
  .scrim.open, .win.open, .toast.show { animation: fade .2s linear !important; }
}
.obglow, .obmark { animation: none !important; }
.fancard .bar.fanbar { height: 6px; }
.mrow.tg { height: auto; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.mrow.tg > span { min-width: 0; }
.mrow.tg .sub { white-space: normal; line-height: 1.3; }
.chips.flat .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ordcard > svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.rsign.f-fraunces .sn { font-size: 46px; } .rsign.f-bricolage .sn { font-size: 54px; } .rsign.f-caveat .sn { font-size: 58px; line-height: .9; } .rsign.f-unbounded .sn { font-size: 34px; }
.spath { background: radial-gradient(circle, rgba(16,17,20,.14) 3.5px, transparent 4px) center top / 16px 24px repeat-y; }
.spath .perk { position: relative; }
.thcard.f-unbounded .sn { font-size: 22px; }
.s-chrome .sn { -webkit-text-stroke: .8px rgba(20,24,40,.5); }
.room.dark .s-chrome .sn { -webkit-text-stroke: .6px rgba(255,255,255,.25); }

/* ======================================================================
   Round 10: Series D polish. Diatype UI · Paper Mono numbers · Fraunces display only.
   Labelled tabs, 44px targets, ≥4.5:1 contrast, 13px minimum, motion only when it explains.
   ====================================================================== */
.phone { --accent: #D6246E; --hot: #FF4FA0; --ease: cubic-bezier(.22,1,.36,1); --t1: .12s; --t2: .2s; --t3: .34s; }
.screen { font: 400 17px/1.42 var(--sans); letter-spacing: -0.003em; font-feature-settings: "ss01"; }
/* Paper Mono is for prices only (.nm.gbp is set on anything with a £ in it). Counts and times use the UI sans with tabular
   figures, so thousands separators don't get a full digit cell ("2,318", not "2 ,318"). */
.nm, [data-ends], .count, .se-lv { font-family: var(--sans); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.nm.gbp, [data-now], .pchip, .jamt b, .lastp { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; font-feature-settings: "tnum"; }
.nm { font-weight: inherit; }
/* Fraunces only for screen titles, store names and the receipt headline */
.phead h1, .lhead h1, .pt h1, .pdp .pt h1, .ghead h1, .rc-body h2, .obt, .htitle, .hdr .t, .trk h2, .cardtop h1, .r3t b, .sthero h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.phead h1 { font-size: 34px; line-height: 1.05; }
.lhead h1, .pt h1, .pdp .pt h1 { font-size: 28px; line-height: 1.1; }
.hdr .t { font-size: 24px; }
.sec-h h2, .emptyst h3, .sh-t, .shead2 b, .ord h3, .insp-card h2, .tierc .tn, .fancard .lt b, .wcard h2, .ctop .lt b, .sv .cap, .slot5, .date b, .pinb, .ltile, .ph .g, .medal, .gl { font-family: var(--sans); letter-spacing: -0.015em; }
.sec-h h2 { font-weight: 600; font-size: 22px; }
.sh-t { font-weight: 600; font-size: 22px; }
.emptyst h3 { font-weight: 600; font-size: 20px; }
.date b { font-family: var(--mono); }
small, .meta { font-size: 13px; }

/* Focus: one ring, never clipped; pills ring on the container */
.screen :focus-visible { outline: 2px solid #101114; outline-offset: 2px; }
.spill:focus-within, .ccomp input:focus, .phonef:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.spill input:focus-visible, .phonef input:focus-visible, .ccomp input:focus-visible, .lsay input:focus-visible { outline: 0; }
.segu { overflow: visible; padding-top: 3px; } .segu button { padding-inline: 2px; min-height: 44px; }

/* Tap targets ≥44px */
.iconbtn, .cbtn { width: 44px; height: 44px; }
.chip, .epill, .btn.xs { min-height: 44px; height: 44px; }
.hrt { width: 34px; height: 34px; } .hrt::before { content: ""; position: absolute; inset: -6px; }
.lnk { min-height: 44px; display: inline-flex; align-items: center; }
.qb { min-width: 44px; min-height: 44px; }
.story { min-height: 44px; }
.rng button, .stepper button { min-width: 44px; min-height: 44px; }

/* Contrast: white only on the deep pink; tags readable */
.tag { font: 600 13px/1.3 var(--sans); padding: 4px 9px; transform: none; }
.tag.loud, .count { background: var(--accent); color: #fff; }
.tag.ok { background: #DDF6E7; color: #0A6B33; }
.tag.fill { background: #FFF1C9; color: #6B4A00; }
.tag.bad { background: #FDE2E4; color: #A3122A; }
.tag.dark { background: #101114; color: #F5F6F8; margin-left: 6px; vertical-align: 2px; }
.tag.rank { background: #101114; color: #fff; }
.islive, .livetag { background: #101114 !important; color: #fff !important; }
.stars { color: #8E877A; } .stars i { color: #101114; }

/* Labelled tab bar: icon + short label, 64px capsule */
.navwrap { bottom: calc(16px + var(--safe-b)); }
.pill { height: 64px; padding: 0 4px; }
.pill button { width: auto; min-width: 56px; height: 56px; border-radius: 22px; display: grid; grid-template-rows: 26px auto; place-items: center; gap: 1px; padding: 6px 4px 4px; }
.pill button svg { width: 22px; height: 22px; }
.pill .tl { font: 500 13px/1 var(--sans); letter-spacing: -0.01em; }
.pill button[aria-current="page"] .tl { font-weight: 600; }
.pill .badge { top: 5px; right: 12px; background: var(--accent); }
.navav { width: 24px; height: 24px; overflow: hidden; background: #FFE9F1; }
.navav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fab { width: 64px; height: 64px; }
.navwrap::before { content: ""; position: absolute; left: -16px; right: -16px; bottom: calc(-16px - var(--safe-b)); height: 110px; background: linear-gradient(rgba(245,246,248,0), var(--bg) 70%); pointer-events: none; z-index: -1; }
.activity { display: none !important; }

/* Photos: quiet skeleton, fade in on load (200ms) */
.ph.has { background: #ECE6DA; }
.ph > img { opacity: 0; transition: opacity .2s var(--ease); }
.ph > img.ld { opacity: 1; }
.ph.round.avi { background: #ECEEF1; }
.ph.round.avi > img { opacity: 1; }
.mk { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; }
.mk svg { width: 72%; height: 72%; }
.mk.md { width: 36px; height: 36px; border-radius: 12px; } .mk.lg { width: 48px; height: 48px; border-radius: 16px; } .mk.xl { width: 72px; height: 72px; border-radius: 22px; }
.mk.fill { width: 100%; height: 100%; border-radius: inherit; }
.ring > .mk { border-radius: 50%; }
.av > .mk { border-radius: 30%; }

/* Home feed */
.feed { display: grid; gap: 12px; padding: 0 12px; }
.fcard { background: var(--card); border-radius: 22px; box-shadow: var(--ring); padding: 14px; display: grid; gap: 12px; min-width: 0; }
.fcard.slim { grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; cursor: pointer; }
.fcard.slim .lt b { font-size: 15px; font-weight: 500; display: block; } .fcard.slim small { color: var(--muted); }
.fcard.post-c { padding: 4px 2px; }
.fcard .post { border: 0; padding: 10px 12px; }
.fhd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fhd .lt { flex: 1; min-width: 0; display: grid; } .fhd .lt b { font-size: 15px; font-weight: 600; } .fhd .lt small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fhd em { font-style: normal; font-size: 13px; color: var(--muted); }
.ford { display: grid; grid-template-columns: 112px 1fr; gap: 12px; cursor: pointer; min-width: 0; }
.ford .fimg { width: 112px; height: 112px; border-radius: 16px; }
.fob { min-width: 0; display: grid; gap: 4px; align-content: start; }
.fob > b { font-size: 17px; font-weight: 600; line-height: 1.2; }
.fop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 17px; }
.fop s { color: var(--muted); font-weight: 400; font-size: 13px; }
.ffoot { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ftxt { font-size: 15px; line-height: 1.45; }
.fact { display: flex; gap: 8px; flex-wrap: wrap; }
.eyebrow { font: 500 13px var(--sans); color: var(--muted); letter-spacing: 0; text-transform: none; }
.fill-sec { margin: 6px -12px; }
.sec-h.in { padding: 14px 16px 10px; }
.picks { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.picks::-webkit-scrollbar { display: none; } .picks .tile { scroll-snap-align: start; }
.wtf { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.wtf::-webkit-scrollbar { display: none; }
.wcardf { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 16px 10px 12px; border-radius: 22px; background: var(--card); box-shadow: var(--ring); cursor: pointer; min-width: 0; }
.wcardf b { font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcardf small { color: var(--muted); line-height: 1.3; min-height: 34px; }
.wcardf .btn { width: 100%; }
.feedend { text-align: center; color: var(--muted); font-size: 15px; padding: 22px 16px 8px; }
.hnew { margin: 4px 12px 8px; padding: 20px; border-radius: 22px; background: var(--card); box-shadow: var(--ring); display: grid; gap: 8px; }
.htitle { font-size: 28px; line-height: 1.08; }
.hnew p:last-child { color: var(--muted); font-size: 15px; }
.ordcard { min-height: 64px; }

/* Posts: photos as a real haul grid */
.photos.n1 { grid-template-columns: 1fr; } .photos.n1 .ph { aspect-ratio: 4 / 3; }
.photos.n2 { grid-template-columns: 1fr 1fr; }
.photos .ph { aspect-ratio: 1; background: #fff; }
.photos .ph > img { object-fit: cover; }
.post .acts button { min-height: 44px; font-family: var(--sans); }

/* Groups: organiser strip, chat preview */
.ostrip { margin: 14px 16px 0; padding: 12px; border-radius: 22px; background: #101114; color: #F5F6F8; display: grid; gap: 10px; }
.os-top { display: grid; gap: 2px; } .os-top b { font-size: 15px; font-weight: 500; }
.os-k { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--sans); color: #FFC3DD; } .os-k svg { width: 16px; height: 16px; }
.os-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.os-acts button { min-height: 56px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #F5F6F8; display: grid; place-items: center; gap: 2px; font: 500 13px var(--sans); padding: 6px 2px; }
.os-acts svg { width: 20px; height: 20px; }
.epill.dark { background: #101114; color: #fff; display: inline-grid; place-items: center; }
.chatprev { margin: 0 16px; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); display: grid; gap: 10px; cursor: pointer; }
.cpm { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; } .cpm b { font-weight: 600; }
.btn .cnt { font-style: normal; font: 600 13px/20px var(--mono); background: var(--accent); color: #fff; border-radius: 999px; min-width: 20px; padding: 0 6px; }
.lrow .lt b .tag { margin-left: 6px; }

/* Chat screen (Telegram-style pinned bar, bubbles, inline order cards, system rows, reactions, composer) */
.chat-s { position: absolute; inset: 0; display: flex; flex-direction: column; background: #EFE9DD; padding-top: var(--top); }
.chd { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; background: var(--bg); }
.chtitle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; min-height: 44px; padding: 0; }
.chtitle > span:not(.mk):not(.av) { display: grid; min-width: 0; } .chtitle b { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chtitle small { color: var(--muted); }
.cpin { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-top: 1px solid var(--line); background: var(--bg); padding: 8px 12px 8px 14px; text-align: left; min-height: 56px; box-shadow: 0 6px 12px -10px rgba(0,0,0,.3); position: relative; z-index: 1; }
.cpin .pbar { width: 3px; align-self: stretch; border-radius: 3px; background: var(--accent); flex: none; }
.cpin .lt { flex: 1; min-width: 0; display: grid; } .cpin small { color: var(--accent); font-weight: 600; } .cpin b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cpin em { font-style: normal; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpin .thumb { width: 40px; height: 40px; border-radius: 8px; }
.cbridge { display: flex; gap: 8px; align-items: center; margin: 8px 12px 0; padding: 8px 12px; border-radius: 12px; background: #DDF6E7; color: #0A4D27; font-size: 13px; } .cbridge svg { width: 16px; height: 16px; flex: none; }
.cmsgs { flex: 1; overflow-y: auto; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; }
.cmsgs::-webkit-scrollbar { display: none; }
.cday, .cunread { text-align: center; margin: 8px 0 4px; } .cday span { font: 500 13px var(--sans); background: rgba(16,17,20,.08); padding: 4px 10px; border-radius: 999px; }
.cunread { border-top: 1px solid rgba(214,36,110,.35); } .cunread span { display: inline-block; transform: translateY(-50%); background: #EFE9DD; color: var(--accent); font: 600 13px var(--sans); padding: 0 8px; }
.csys { align-self: center; display: inline-flex; align-items: center; gap: 6px; max-width: 92%; border: 0; border-radius: 999px; background: rgba(255,255,255,.7); padding: 6px 10px 6px 6px; font: 500 13px var(--sans); color: var(--ink); min-height: 36px; }
.csys svg { width: 14px; height: 14px; color: var(--muted); } .csys span:not(.av) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av.xs { width: 22px; height: 22px; } .av.sm { width: 24px; height: 24px; }
.chat-s .msg { grid-template-columns: 32px minmax(0, 1fr); animation: none; }
.chat-s .msg.cont .mb { margin-left: 0; } .chat-s .msg.cont > .av { visibility: hidden; }
.chat-s .msg.mine { grid-template-columns: minmax(0, 1fr); } .chat-s .msg.mine .mb { justify-self: end; display: grid; justify-items: end; }
.mb { min-width: 0; max-width: 84%; display: grid; gap: 4px; }
.chat-s .bub { background: #fff; border-radius: 18px 18px 18px 6px; padding: 8px 12px 6px; font-size: 15px; box-shadow: 0 1px 0 rgba(0,0,0,.06); cursor: pointer; }
.chat-s .msg.mine .bub { background: #101114; color: #F5F6F8; border-radius: 18px 18px 6px 18px; }
.chat-s .bub em { display: block; text-align: right; font: 400 13px var(--mono); color: var(--muted); margin-top: 2px; font-style: normal; }
.chat-s .msg.mine .bub em { color: rgba(245,246,248,.6); }
.mn { display: flex; align-items: center; font: 600 13px var(--sans); color: var(--accent); margin-bottom: 2px; }
.reacts { display: flex; gap: 4px; flex-wrap: wrap; }
.rx { min-height: 32px; border: 0; border-radius: 999px; background: #fff; padding: 2px 10px; font-size: 15px; box-shadow: var(--ring); position: relative; }
.rx::after { content: ""; position: absolute; inset: -6px -2px; }
.rx.on { background: #FFE3EC; box-shadow: inset 0 0 0 1.5px var(--accent); }
.cpot { width: 260px; max-width: 100%; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.06); cursor: pointer; }
.cpot .cpimg { width: 100%; height: 140px; }
.cpb { padding: 10px 12px 12px; display: grid; gap: 6px; } .cpb small { color: var(--muted); } .cpb > b { font-size: 15px; }
.ccomp { display: flex; align-items: center; gap: 8px; padding: 8px 10px calc(10px + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); }
.ccomp input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; padding: 0 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 400 17px var(--sans); color: var(--ink); }
.cattach, .csend { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; }
.cattach { background: var(--tint); color: var(--ink); } .csend { background: #101114; color: #fff; }
.cattach svg, .csend svg { width: 20px; height: 20px; }
/* Bridge sheet */
.bprev { border-radius: 22px; padding: 12px; display: grid; gap: 10px; }
.bprev.wa { background: #E7F6EC; } .bprev.tg { background: #E6F1FB; }
.bph { display: flex; align-items: center; gap: 8px; } .bph b { font-size: 15px; } .bph small { margin-left: auto; color: var(--muted); }
.bph .ic { width: 32px; height: 32px; border-radius: 12px; display: grid; place-items: center; color: #fff; } .bph .ic svg { width: 18px; height: 18px; }
.ic.wa { background: #128C4B; } .ic.tg { background: #1D6FB8; }
.bbub { background: #fff; border-radius: 16px; padding: 10px; display: grid; gap: 8px; font-size: 15px; }
.bcard { display: flex; gap: 10px; align-items: center; } .bcard span { display: grid; min-width: 0; } .bcard small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* FAB action sheet */
.asheet { display: grid; background: var(--card); border-radius: 22px; box-shadow: var(--ring); overflow: hidden; }
.arow { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 14px; border: 0; background: none; text-align: left; width: 100%; color: var(--ink); }
.arow + .arow { border-top: 1px solid var(--line); }
.arow .lt { flex: 1; display: grid; gap: 2px; } .arow b { font-size: 17px; font-weight: 600; } .arow small { color: var(--muted); }
.arow > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.aic { width: 44px; height: 44px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; flex: none; } .aic svg { width: 22px; height: 22px; }
.hpick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.hp { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: none; }
.hp .ph { position: absolute; inset: 0; } .hp .hk { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; color: transparent; }
.hp .hk svg { width: 12px; height: 12px; } .hp.on { box-shadow: inset 0 0 0 3px #101114; } .hp.on .hk { background: #101114; color: #fff; }

/* Pot page */
.pmeta { flex-wrap: wrap; row-gap: 4px; }
.pstate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 2px; font-size: 15px; color: var(--muted); }
.pchip { font-weight: 600; }
.invcard { margin: 4px 16px 12px; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: var(--ring); display: grid; gap: 10px; }
.ivtop { display: flex; gap: 12px; align-items: center; } .ivtop .lt { display: grid; gap: 2px; } .ivtop b { font-size: 17px; font-weight: 600; line-height: 1.25; } .ivtop small { color: var(--muted); }
.ivnote { font-size: 17px; line-height: 1.4; padding: 10px 12px; border-radius: 16px; background: var(--tint); }
.sbanner { display: flex; align-items: center; gap: 10px; margin: 4px 16px 12px; padding: 12px; border-radius: 16px; }
.sbanner.bad { background: #FDE2E4; color: #5C0716; } .sbanner > svg { width: 22px; height: 22px; flex: none; color: #A3122A; }
.sbanner .lt { flex: 1; display: grid; } .sbanner b { font-size: 15px; } .sbanner small { color: #6B1221; }
.joinsrecent { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 4px 0; } .joinsrecent svg { width: 16px; height: 16px; }
.srcnote { padding: 6px 16px 0; color: var(--muted); font-size: 13px; text-align: center; }
.minline .chipst { white-space: nowrap; }
.buybar small { font-size: 13px; }
/* Receipts */
.rc-k { font: 500 13px var(--sans); color: var(--muted); }
.rc-body h2 { font-size: 30px; line-height: 1.08; }
.rcitem { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); text-align: left; }
.rcitem .lt { flex: 1; display: grid; } .rcitem small { color: var(--muted); }
.rc-check { animation: rcin .34s var(--ease) both; }
@keyframes rcin { from { opacity: 0; transform: scale(.85); } }
/* States */
.sthero { margin: 4px 16px 12px; padding: 16px; border-radius: 22px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: start; background: var(--card); box-shadow: var(--ring); }
.sthero .ph { width: 88px; height: 88px; border-radius: 16px; }
.sthero.grey .ph { filter: grayscale(1); opacity: .8; }
.sthero.bad { background: #FDE2E4; } .sthero.ok { background: #DDF6E7; }
.sthero h2 { font-size: 24px; line-height: 1.12; margin: 2px 0 6px; } .sthero p { font-size: 15px; color: var(--muted); } .sthero.bad p { color: #5C0716; }
.stacts { display: grid; gap: 10px; }
.offbar, .offline { display: flex; align-items: center; gap: 10px; margin: 0 12px 8px; padding: 10px 14px; border-radius: 16px; background: #101114; color: #F5F6F8; font-size: 15px; }
.offbar svg, .offline svg { width: 20px; height: 20px; flex: none; }
.offline { position: absolute; left: 0; right: 0; top: calc(var(--top) + 6px); z-index: 30; display: none; }
.offline.on { display: flex; }
.skel { padding: 4px 16px; display: grid; gap: 14px; }
.sk { display: block; background: #E8E2D5; border-radius: 8px; }
.sk-card { display: flex; gap: 12px; align-items: center; } .sk-card > span { flex: 1; display: grid; gap: 8px; }
.sk-img { width: 56px; height: 56px; border-radius: 12px; } .sk-l { height: 14px; width: 80%; } .sk-s { height: 12px; width: 50%; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .sk-grid > div { display: grid; gap: 8px; } .sk-sq { aspect-ratio: 1; border-radius: 16px; }
.emptyst { margin: 8px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--ring); }
.eic { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; } .eic svg { width: 26px; height: 26px; }
.ordtop { display: flex; gap: 12px; align-items: center; } .ordtop .lt { display: grid; }
.trkimg { float: right; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; } .trkimg .ph { width: 100%; height: 100%; }
.lrow > .tag + svg { width: 16px; height: 16px; color: var(--muted); flex: none; }

/* Profile: fan card with photo slot, Seasons */
.fi-photo { position: relative; justify-self: center; align-self: center; width: 52%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: visible; }
.fi-photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 12px 20px -10px rgba(0,0,0,.45); }
.fi-inset { position: absolute; right: -18%; bottom: -8%; width: 46%; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; border: 3px solid #fff; transform: rotate(6deg); box-shadow: 0 8px 14px -6px rgba(0,0,0,.45); }
.fi-inset .ph { width: 100%; height: 100%; }
.fi-name { font-family: var(--serif); font-weight: 700; text-transform: none; letter-spacing: -0.015em; }
.fi-top { letter-spacing: .06em; }
.seas { margin: 0 16px; padding: 16px; display: grid; gap: 12px; }
.se-top { display: flex; gap: 12px; align-items: center; } .se-top .lt { display: grid; } .se-top b { font-size: 17px; } .se-top small { color: var(--muted); }
.se-lv { width: 52px; height: 52px; flex: none; border-radius: 16px; background: #101114; color: #FFE36B; display: grid; place-items: center; font-size: 26px; font-weight: 600; }
.ms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; }
.msb { display: grid; justify-items: center; gap: 4px; border: 0; background: none; padding: 0; text-align: center; min-height: 44px; }
.msb .pinb { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #E8E2D5; color: #6B6F76; font: 600 15px var(--sans); }
.msb.got .pinb { background: #101114; color: #FFE36B; }
.msb small { font-size: 13px; line-height: 1.2; color: var(--muted); }
.msb.got small { color: var(--ink); }
/* Story share card: sticker below the stats, overlapping the card edge */
.ss-card { position: relative; width: 82%; justify-self: center; display: grid; justify-items: center; }
.ss-card .fanid.ss { width: 100%; }
.ss-card .ss-note { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%) rotate(-4deg); margin: 0; white-space: nowrap; z-index: 2; }
.ss-size { text-align: center; color: var(--muted); font-size: 13px; }
.ss9 { gap: 34px; }

/* 3D room hero (~60% of the viewport) with area chips */
.r3 { position: relative; height: max(420px, 60vh); max-height: 560px; margin-top: calc(-1 * var(--top)); background: #120E24; overflow: hidden; }
.view.flush .r3 { margin-top: 0; }
.r3stage { position: absolute; inset: 0; }
.r3stage canvas { display: block; }
.r3poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease); }
.r3poster.gone { opacity: 0; pointer-events: none; }
.r3bar { position: absolute; left: 0; right: 0; top: calc(var(--top) + 6px); z-index: 4; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.r3t { flex: 1; min-width: 0; display: grid; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.r3t b { font-size: 24px; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .r3t small { opacity: .85; }
.r3me { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff; flex: none; } .r3me .ph { width: 100%; height: 100%; }
.r3chips { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4; display: flex; gap: 6px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.r3chips::-webkit-scrollbar { display: none; }
.r3chips .chip { background: rgba(245,246,248,.92); box-shadow: none; flex: none; }
.r3chips .chip[aria-pressed="true"] { background: #101114; color: #fff; }
.r3here { position: absolute; top: calc(var(--top) + 62px); left: 12px; z-index: 4; }
.scrim.half .sheet { max-height: 52%; }
.ritem { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; } .ritem .ph { width: 96px; height: 96px; border-radius: 16px; } .ritem h2 { font-size: 20px; font-weight: 600; line-height: 1.2; margin: 2px 0 6px; }
/* 2D room: real photos stand on the shelf as framed product cards */
.piece.item.photo { width: 96px; }
.stand { display: block; width: 92px; height: 108px; padding: 5px; background: #fff; border-radius: 8px; box-shadow: 0 10px 14px -8px rgba(40,20,10,.45), 0 0 0 1px rgba(0,0,0,.06); transform: perspective(300px) rotateX(4deg); transform-origin: bottom; pointer-events: none; transition: transform .2s var(--ease); }
.stand img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; }
.piece.item.photo:hover .stand, .piece.item.photo.lift .stand { transform: perspective(300px) rotateX(0) translateY(-6px); }
.piece.want .stand { width: 78px; height: 92px; }

/* Live: canvas sort table */
.lcv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live .lt-bar { gap: 8px; }
.lth { display: grid; min-width: 0; } .lth b { font-size: 15px; } .lth small { font-size: 13px; opacity: .85; }
.ltag { background: #D6246E !important; color: #fff !important; }
.vw { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 13px; } .vw svg { width: 16px; height: 16px; }
.sortgrid > div { display: grid; } .sortgrid > div span { font-size: 13px; opacity: .85; }
.sortgrid > div.mine { box-shadow: inset 0 0 0 1.5px #FFE36B; }
.sortgrid > div.tick b { animation: tickc .4s var(--ease); }
@keyframes tickc { from { color: #FFE36B; } }
.live .chat > div { display: flex; gap: 6px; align-items: center; }
.lpin { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; padding: 0; color: var(--ink); min-height: 56px; }
.lpin .lt { flex: 1; min-width: 0; display: grid; } .lpin small { color: var(--muted); }
.lsay { display: flex; gap: 8px; } .lsay input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; padding: 0 14px; background: var(--tint); font: 400 17px var(--sans); color: var(--ink); }

/* Onboarding: browse first */
.obstrip { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.obstrip span { width: 56px; height: 72px; border-radius: 12px; overflow: hidden; transform: rotate(calc((var(--i) - 2) * 4deg)) translateY(calc(var(--i) * 0px)); box-shadow: 0 8px 14px -8px rgba(0,0,0,.4); }
.obstrip .ph { width: 100%; height: 100%; }
.obmark { width: 96px; height: 96px; animation: none !important; }
.obglow { display: none; }
.obhead .lnk { margin-left: auto; }
.fan { height: 120px; padding: 0; overflow: hidden; justify-content: flex-end; background: #222; }
.fan .fimg { position: absolute; inset: 0; } .fan .fimg > img { opacity: .78; }
.fan .fb { position: relative; z-index: 1; color: #fff; padding: 10px 12px; font-size: 17px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.fan .fcheck { z-index: 2; }
.fan.add { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); justify-content: center; align-items: center; }
.fan.add .fb { color: var(--ink); text-shadow: none; } .fplus { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin: 22px auto 0; } .fplus svg { width: 20px; height: 20px; }
.seg.wrap { flex-wrap: wrap; }
.evdate { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--tint); display: grid; place-items: center; font-size: 13px; line-height: 1; text-align: center; } .evdate b { display: block; font: 600 17px var(--mono); }

/* Motion restraint: no idle loops or bounces */
.bob, .obj, .piece, .shadow { animation: none !important; }
.btn.sprung, .sw.sprung { animation: none; }
.hearts { display: none; }
@media (prefers-reduced-motion: reduce) {
  .screen *, .screen *::before, .screen *::after { animation-duration: .01ms !important; transition-property: opacity !important; }
}
/* 360px wrapping */
@media (max-width: 370px) {
  .phead h1 { font-size: 30px; }
  .pill button { min-width: 50px; } .pill .tl { font-size: 13px; }
  .ford { grid-template-columns: 92px 1fr; } .ford .fimg { width: 92px; height: 92px; }
  .os-acts button { font-size: 13px; }
  .ms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.feed { grid-template-columns: minmax(0, 1fr); }
.fcard > * { min-width: 0; }
.chtitle > span:not(.mk):not(.av) { flex: 1; min-width: 0; } .chtitle small, .chtitle b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chtitle small span { display: inline; } .chtitle > .mk { flex: 0 0 40px; width: 40px; height: 40px; } .chtitle > .av { flex: none; }
.r3::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(10,8,20,.55), rgba(10,8,20,0)); }
.r3::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(10,8,20,0), rgba(10,8,20,.35)); }
.r3here { bottom: auto; }
.r3 + .shelfsheet { margin-top: -18px; }
.r3 .r3chips { bottom: 30px; }
.live .chat { right: 30%; bottom: calc(196px + var(--safe-b)); font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.fill-sec { margin: 6px 0; } .feed .fill-sec { margin: 6px -12px; }
.mrow small { white-space: normal; text-align: right; max-width: 58%; line-height: 1.3; }
.mrow { min-height: 56px; height: auto; padding-top: 8px; padding-bottom: 8px; }
.meav { width: 44px; height: 44px; }
.ss-card .ss-note { bottom: -30px; }
.fanid.ss { aspect-ratio: auto; transform: rotate(-3deg); }
.fanid.ss .fi-photo { width: 40%; margin: 8px 0 4px; }
.fanid.ss .fi-top { letter-spacing: .02em; } .fanid.ss .fi-top > span { white-space: nowrap; }
.fanid.ss .fi-name { font-size: 30px; }
.ss-card .ss-note { white-space: normal; max-width: 92%; text-align: center; bottom: -34px; }
.ss9 { gap: 46px; }
.pav { width: 44px !important; height: 44px !important; }
.ss-card .ss-note { position: relative; left: auto; bottom: auto; transform: rotate(-4deg); margin-top: -8px; }
.ss-card { gap: 0; }
.ss-card .ss-note { margin-top: 2px; }
.ss9 { display: grid; align-content: center; justify-items: center; gap: 26px; padding: 26px 0 18px; }
.ss-card { width: 74%; }
.fanid.ss { padding: 10px 12px; }
.fanid.ss .fi-top { font-size: 13px; } .fanid.ss .fi-top > span:last-child { display: none; }
.fanid.ss .fi-photo { width: 34%; margin: 6px 0 2px; }
.fanid.ss .fi-name { font-size: 26px; } .fanid.ss .fi-sub { font-size: 13px; padding-bottom: 6px; margin-top: 4px; }
.fanid.ss .fi-stats { gap: 12px; margin-top: 6px; } .fanid.ss .fi-stats b { font-size: 15px; }
.ss-card .ss-note { font-size: 13px; padding: 6px 10px; max-width: 100%; }
.ss-prog { position: absolute; top: 10px; left: 12px; right: 12px; }

/* Home lifts: Shops you follow (Shop), a home for your fan group (Partiful), one drop teaser (Pocket) */
.shops { display: grid; gap: 12px; padding: 0 12px; }
.shopc { border-radius: 22px; background: var(--sc); color: #F5F6F8; overflow: hidden; display: grid; }
.shc-hd { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; cursor: pointer; }
.shc-hd .mk { box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.shc-hd .lt { display: grid; } .shc-hd b { font-size: 17px; font-weight: 600; } .shc-hd small { font-size: 13px; color: rgba(245,246,248,.8); }
.shc-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 8px; overflow-x: auto; padding: 0 14px 12px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.shc-rail::-webkit-scrollbar { display: none; }
.shc-t { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #fff; cursor: pointer; scroll-snap-align: start; }
.shc-t .ph { position: absolute; inset: 0; background: #fff; }
.shc-pr { position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 8px; border-radius: 999px; background: #F5F6F8; color: #101114; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.shc-pr b { font-size: 13px; font-weight: 600; } .shc-pr s { font-size: 13px; color: #6B6F76; }
.shc-t .hrt { right: 8px; bottom: 8px; background: rgba(245,246,248,.92); color: #101114; }
.shc-all { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; border: 0; border-top: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.14); color: #F5F6F8; font: 600 17px var(--sans); text-align: left; }
.shc-all svg { width: 20px; height: 20px; }
.ghome { position: relative; border-radius: 22px; background: #0F0D16; color: #F5F6F8; padding: 22px 18px 20px; display: grid; justify-items: center; text-align: center; gap: 8px; overflow: hidden; }
.orbit { position: relative; width: 210px; height: 210px; margin-bottom: 4px; }
.orbit .or1, .orbit .or2 { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(245,246,248,.16); transform: translate(-50%, -50%); }
.orbit .or1 { width: 128px; height: 128px; } .orbit .or2 { width: 184px; height: 184px; }
.obadge { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px rgba(30,155,232,.25); }
.obadge .mk { border-radius: 50%; }
.orbspin { position: absolute; inset: 0; animation: orbit 90s linear infinite; }
.orbav { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a))); }
.orbav .up { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #0F0D16; animation: orbit 90s linear infinite reverse; }
.orbav .ph { width: 100%; height: 100%; }
@keyframes orbit { to { transform: rotate(360deg); } }
.ghome h3 { font: 600 22px/1.15 var(--sans); letter-spacing: -0.01em; }
.ghome p { font-size: 15px; color: rgba(245,246,248,.72); max-width: 28ch; }
.ghbtn { margin-top: 8px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(245,246,248,.6); background: none; color: #F5F6F8; font: 600 15px var(--sans); }
.ghbtn svg { width: 18px; height: 18px; }
.drop { border-radius: 22px; background: #2F3BFF; color: #fff; padding: 18px 16px 6px; display: grid; gap: 14px; overflow: hidden; }
.dr-hl { font: 700 40px/.88 var(--sans); letter-spacing: -0.015em; text-transform: uppercase; font-stretch: condensed; }
.dr-panel { position: relative; height: 210px; border-radius: 22px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.28) 1.2px, transparent 1.6px) 0 0 / 8px 8px, linear-gradient(140deg, #FF5FA8, #7A3CFF 60%, #2F3BFF); }
.dr-cut { width: 120px; height: 150px; border-radius: 12px; overflow: hidden; transform: rotate(-6deg); box-shadow: 0 18px 28px -12px rgba(0,0,0,.6), 0 0 0 4px #fff; }
.dr-cut .ph { width: 100%; height: 100%; }
.dr-tap { position: absolute; right: 14px; bottom: 14px; width: 72px; height: 72px; border-radius: 50%; border: 0; background: #FFE14D; color: #101114; font: 800 17px var(--sans); text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 3px 0 #101114; }
.dr-tap:active { transform: translateY(2px); box-shadow: none; }
.dr-sub { font-size: 15px; color: rgba(255,255,255,.88); }
.dr-acts { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.2); }
.dr-acts button { min-height: 48px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #fff; font: 500 15px var(--sans); padding: 0 6px; }
.dr-acts svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .spin, .orbav .up { animation: none !important; } }

/* Profiles: Partiful header, Spoil.me social pill, verification tick, rep chip, wishlist tabs */
.phd { position: relative; display: grid; justify-items: center; text-align: center; padding: 0 16px 6px; background: linear-gradient(180deg, var(--pc) 0, color-mix(in srgb, var(--pc) 45%, var(--bg)) 110px, var(--bg) 210px); }
.phd-cover { width: calc(100% + 32px); margin: 0 -16px; display: flex; align-items: center; gap: 8px; padding: calc(var(--top) + 8px) 12px 0; min-height: 70px; }
.phd-cover .iconbtn { background: rgba(245,246,248,.75); }
.phd-av { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--bg), 0 12px 24px -12px rgba(0,0,0,.35); margin-top: 6px; }
.phd-av .ph { width: 100%; height: 100%; }
.phd-name { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font: 600 32px/1.05 var(--serif); letter-spacing: -0.015em; }
.phd-handle { font-size: 15px; color: var(--muted); margin-top: 2px; }
.vtick { width: 44px; height: 44px; margin: -10px -12px -10px -8px; border: 0; background: none; display: inline-grid; place-items: center; color: #2F6BFF; padding: 0; }
.vtick svg { width: 20px; height: 20px; }
.r3t .vtick { color: #fff; vertical-align: middle; } .r3t b { display: inline-flex; align-items: center; }
.stid { display: flex; align-items: center; gap: 8px; padding: 4px 16px 10px; } .stid b { font-size: 17px; } .stid small { margin-left: auto; color: var(--muted); text-align: right; }
.soc { display: inline-flex; gap: 0; margin-top: 10px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--pc) 28%, transparent); }
.sicon { width: 44px; height: 40px; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.sicon svg { width: 19px; height: 19px; }
.phd-acts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn.ol { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line), inset 0 0 0 1.5px rgba(16,17,20,.18); height: 46px; }
.phd-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.phd-meta span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--card); box-shadow: var(--ring); }
.phd-stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
.phd-stats button { min-height: 60px; border: 0; background: none; display: grid; align-content: center; gap: 1px; color: var(--ink); }
.phd-stats button + button { border-left: 1px solid var(--line); }
.phd-stats b { font-size: 20px; font-weight: 600; } .phd-stats small { color: var(--muted); }
.repchip { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 6px 14px; border: 0; border-radius: 999px; background: #DDF6E7; color: #0A4D27; font: 400 13px var(--sans); text-align: left; }
.repchip svg { width: 18px; height: 18px; flex: none; } .repchip b { font-weight: 600; }
.repchip.org { background: #101114; color: #F5F6F8; } .repchip.org svg { color: #FFC3DD; }
.wtabs { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 18px 16px 8px; color: var(--muted); font-size: 17px; }
.wtabs button { min-height: 44px; border: 0; background: none; padding: 0 6px; font: 400 17px var(--sans); color: var(--muted); }
.wtabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.wgrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 4px 16px 0; }
.wg { display: grid; gap: 4px; border: 0; background: none; padding: 0; text-align: left; min-width: 0; }
.wg .ph { aspect-ratio: 1; border-radius: 16px; background: #fff; box-shadow: var(--ring); }
.wg span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.gfeed { margin-top: 12px; }
.mutuals { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; } .mutuals::-webkit-scrollbar { display: none; }
.mut { flex: none; width: 60px; display: grid; justify-items: center; gap: 4px; border: 0; background: none; padding: 0; }
.mut .ph { width: 56px; height: 56px; } .mut small { color: var(--muted); max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r3.inline { margin: 0 12px; height: 380px; border-radius: 22px; }
.r3.inline .r3bar { top: 10px; } .r3.inline .r3t b { font-size: 20px; }
.vbig { display: grid; place-items: center; margin: 4px auto 0; } .vbig .vtick { width: 64px; height: 64px; margin: 0; } .vbig .vtick svg { width: 48px; height: 48px; }
.vbig.soc1 svg { width: 40px; height: 40px; }
.sh-p.c, .sh-t.c { text-align: center; }
@media (max-width: 370px) { .phd-name { font-size: 28px; } .phd-stats b { font-size: 17px; } }
.evrow .lt { min-width: 0; flex: 1; } .evrow .lt small { font-size: 13px; white-space: normal; overflow: visible; }
.evrow .lt b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Live: keep chat in its own lower band so it never sits on the card piles */
.live .shade { background: linear-gradient(rgba(0,0,0,.35), transparent 22%, transparent 52%, rgba(10,6,20,.82) 66%, rgba(10,6,20,.92)); }
.live .chat { right: 30%; max-height: 150px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(transparent, #000 34%); mask-image: linear-gradient(transparent, #000 34%); }
.sortgrid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
.sortgrid > div { padding: 5px 8px; }
.sortgrid > div span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sortgrid b { font-size: 15px; }
.live .chat { max-height: 112px; }
/* Profile room card: the room is a place you visit, full screen */
.roomcard { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 14px; width: calc(100% - 24px); margin: 18px 12px 6px; padding: 10px 14px 10px 10px; border-radius: 22px; background: #1B1530; color: #fff; text-align: left; box-shadow: 0 10px 30px rgba(27,21,48,.18); transition: transform .3s var(--ease); }
.roomcard:active { transform: scale(.98); }
.roomcard .rc-im { width: 92px; height: 92px; border-radius: 16px; overflow: hidden; background: #2E2758; }
.roomcard .rc-im img { width: 100%; height: 100%; object-fit: cover; }
.roomcard .rc-tx { display: grid; gap: 3px; min-width: 0; }
.roomcard .rc-tx small { font-size: 13px; opacity: .7; }
.roomcard .rc-tx b { font: 600 19px var(--display, var(--sans)); }
.roomcard .rc-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: .85; }
.roomcard .rc-sub > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roomcard .rc-go { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; color: #101114; font-weight: 600; font-size: 15px; }
.roomcard .rc-go svg { width: 16px; height: 16px; }
.view.full .r3 { height: 100%; max-height: none; margin-top: 0; }
.roomfull { position: relative; min-height: 100%; }
.roomfull .rf-bar { position: absolute; top: calc(var(--top) + 8px); left: 12px; z-index: 5; }
.mrows.pad-b { margin-bottom: 120px; }
.roomcard { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; }
.roomcard .rc-im { width: 76px; height: 76px; }
.roomcard .rc-go { padding: 0 12px; }

/* ---------------------------------------------------------------- Round 11 */
@keyframes livepulse { 50% { opacity: .35; } }
/* Sheets never grow wider than the phone: grid children can shrink, and the Customise tabs fit at 360. */
.sheet { grid-template-columns: minmax(0, 1fr); }
.sheet > * { min-width: 0; }
.sheet .segu { padding: 3px 0 0; gap: 16px; overflow-x: auto; }
.sheet .shead .btn.pri.sm { flex: none; }
@media (max-width: 370px) { .sheet .segu { gap: 13px; } }
/* Join sheet: status on one line, the close date under the bar, the fee breakdown as a small table */
.jprog > div span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.jclose { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); }
.jamt em { font-size: 15px; }
.jlines { padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); gap: 9px; }
.jlines div { align-items: center; }
.jlines div span:last-child { flex: none; }
.jlines .lnk.inl { display: inline-flex; align-items: center; gap: 5px; font: 380 15px var(--sans); color: var(--muted); min-height: 24px; }
.jlines .lnk.inl svg { width: 16px; height: 16px; }
/* Pot page: dots sit under the photo, never on the listing art */
.pcover .pcar { aspect-ratio: auto; }
.pcover .pcar .slides { aspect-ratio: 1; height: auto; }
.pcover .dots { position: static; padding: 10px 0 12px; }
.invcard .ivtop b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Receipt: the "you made it happen" moment. One ring pulse and a short burst, under 1.2s. */
.rc-body { position: relative; }
.rc-body .burst { position: absolute; top: 46px; left: 50%; width: 0; height: 0; pointer-events: none; z-index: 0; }
.rc-body .burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; background: var(--c); opacity: 0; transform: rotate(var(--a)) translateY(0); animation: burst 1s cubic-bezier(.2,.7,.3,1) .12s both; }
.rc-body .burst i:nth-child(odd) { border-radius: 50%; }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(.6); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(1); } }
.rc-body.tipped .rc-check { position: relative; z-index: 1; background: #12A150; color: #fff; }
.rc-body.tipped .rc-check::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(18,161,80,.45); animation: ringpulse 1s ease-out .1s both; }
@keyframes ringpulse { to { box-shadow: 0 0 0 26px rgba(18,161,80,0); } }
.rc-body .rc-tip { font: 600 17px/1.35 var(--sans); color: var(--ink); max-width: 30ch; }
@media (prefers-reduced-motion: reduce) { .rc-body .burst { display: none; } .rc-body.tipped .rc-check::after { animation: none; } }
/* Chat: the "it's happening" and "is in" system rows */
.csys.ok { background: #DDF6E7; color: #0A4D27; }
.csys .cok { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #12A150; color: #fff; display: grid; place-items: center; }
.csys .cok svg { width: 13px; height: 13px; color: #fff; }
/* Share sheet */
.shacts { display: grid; gap: 10px; }
.shacts .btn svg { width: 20px; height: 20px; }
/* Avatars: plush, album and merch crops, initials, emoji stickers */
.ph.round.avi.crop > img { transform: scale(1.35); }
.ph.round.avi.ini, .ph.round.avi.emo { display: grid; place-items: center; }
.avi .ag { font: 700 46cqw/1 var(--sans); color: rgba(16,17,20,.78); letter-spacing: -0.01em; }
.avi.emo .ag { font-size: 52cqw; line-height: 1; }
/* Home drop card: the whole card is the link */
.drop { cursor: pointer; }
.dr-live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #FF3D6E; color: #fff; font: 600 13px var(--sans); }
.dr-live svg { width: 15px; height: 15px; }
.dr-hl { font-size: 36px; }
/* Profile: a theme restyles the cover, name, accents and the room card, not just a tint */
.phd .phd-pat { position: absolute; left: 0; right: 0; top: 0; height: 230px; pointer-events: none; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.phd > :not(.phd-pat) { position: relative; }
.phd .phd-pat.p-halftone { background-image: radial-gradient(circle, rgba(255,255,255,.35) 1.6px, transparent 1.9px); }
.phd.f-bricolage .phd-name { font-family: var(--brico); font-weight: 800; letter-spacing: -0.015em; }
.phd.f-unbounded .phd-name { font-family: var(--unb); font-weight: 800; font-size: 26px; letter-spacing: -0.015em; }
.phd.f-caveat .phd-name { font-family: var(--hand); font-weight: 600; font-size: 38px; }
.phd.f-fraunces .phd-name { font-style: italic; font-family: var(--fraunces); }
.phd .repchip.themed { background: color-mix(in srgb, var(--racc) 16%, var(--bg)); color: var(--ink); }
.phd .repchip.themed svg { color: var(--racc); }
.phd .phd-av { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--racc, transparent), 0 12px 24px -12px rgba(0,0,0,.35); }
.roomcard.themed { position: relative; overflow: hidden; background-color: var(--wall); color: var(--rtext); box-shadow: 0 10px 30px color-mix(in srgb, var(--wall) 40%, transparent), inset 0 0 0 1px rgba(16,17,20,.06); }
.roomcard.themed > :not(.rc-pat) { position: relative; }
.roomcard.themed .rc-pat { position: absolute; inset: 0; }
.roomcard.themed .rc-tx b { font-size: 22px; line-height: 1; }
.roomcard.themed .rc-go { background: var(--rtext); color: var(--wall); }
.jlines .jl { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 26px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; }
.jlines .jl span:first-child { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.jlines .jl.tot { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; font-weight: 600; font-size: 17px; }
.jlines .jl.tot span:first-child { color: var(--ink); }
.jlines .jl svg { width: 16px; height: 16px; flex: none; }
.roomcard.themed.f-fraunces .rc-tx b { font-family: var(--fraunces); font-style: italic; font-weight: 600; }
.roomcard.themed.f-bricolage .rc-tx b { font-family: var(--brico); font-weight: 800; letter-spacing: -0.015em; }
.roomcard.themed.f-caveat .rc-tx b { font-family: var(--hand); font-weight: 600; font-size: 26px; }
.roomcard.themed.f-unbounded .rc-tx b { font-family: var(--unb); font-weight: 800; font-size: 17px; letter-spacing: -0.015em; }
.space .islive { background: #E0245E; }
.piece.item .ptag small { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Round 3: the tip-over moment ("You made it happen") ----------
   0–0.45s the fans already in pop in · 0.5s your face drops in last · 0.75s count rolls 39→40
   · 0.85s the first price node fills · 0.9s one burst (0.9s long) · chip morphs to "It's happening".
   Every resting style is the final state, so reduced motion shows the finished picture. */
.tipm { position: relative; display: grid; justify-items: center; gap: 14px; width: 100%; max-width: 340px; padding: 10px 0 4px; }
.tipm .burst { position: absolute; top: 34px; left: 50%; width: 0; height: 0; pointer-events: none; z-index: 0; }
.tipm .burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; background: var(--c); opacity: 0; transform: rotate(var(--a)) translateY(0); animation: burst .9s cubic-bezier(.2,.7,.3,1) .9s both; }
.tipm .burst i:nth-child(3n) { width: 5px; height: 11px; }
.tipm .burst i:nth-child(odd) { border-radius: 50%; }
.tip-stack { position: relative; z-index: 1; display: flex; align-items: center; padding-left: 12px; }
.tip-stack .tf { position: relative; width: 46px; height: 46px; margin-left: -12px; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg); background: var(--surface); flex: none; animation: tfin .42s var(--ease) calc(var(--i) * 55ms + 60ms) both; }
.tip-stack .tf > .ph, .tip-stack .tf > .mk { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.tip-stack .tf.more { display: grid; place-items: center; width: auto; min-width: 46px; padding: 0 16px 0 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 14px var(--sans); font-variant-numeric: tabular-nums; }
.tip-stack .tf.you { width: 60px; height: 60px; margin-left: -8px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #FF4FA0; z-index: 2; animation: tfdrop .62s cubic-bezier(.34,1.5,.5,1) .5s both; }
.tip-stack .tf.you em { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); font: 700 11px/1 var(--sans); font-style: normal; letter-spacing: .02em; background: #FF4FA0; color: #fff; padding: 3px 7px; border-radius: 999px; box-shadow: 0 0 0 2px var(--bg); white-space: nowrap; }
@keyframes tfin { from { opacity: 0; transform: translateY(8px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes tfdrop { 0% { opacity: 0; transform: translateY(-70px) scale(.85) rotate(-8deg); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.tip-count { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.tip-count .roll { display: inline-block; height: 44px; overflow: hidden; font: 600 40px/44px var(--mono); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.tip-count .roll b { display: block; font-weight: 600; transform: translateY(-100%); animation: roll .38s var(--ease) .75s both; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.tip-count .of { font: 500 15px var(--sans); color: var(--muted); }
.tchip { position: relative; display: inline-grid; height: 28px; margin-left: 4px; }
.tchip i { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; border-radius: 999px; font: 600 13px/28px var(--sans); font-style: normal; white-space: nowrap; }
.tchip .a { background: #FFF1C9; color: #6A4A00; opacity: 0; animation: chipout .28s ease .95s both; }
.tchip .b { background: #DDF6E7; color: #0A4D27; animation: chipin .36s var(--ease) .95s both; }
.tchip .b svg { width: 13px; height: 13px; }
@keyframes chipin { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes chipout { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.85); } }
.tip-bar { width: 100%; padding: 6px 18px 0; }
.tb-track { position: relative; height: 6px; border-radius: 3px; background: rgba(16,17,20,.1); }
.tb-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--to); border-radius: 3px; background: var(--ink); animation: tbfill .4s var(--ease) .78s both; }
@keyframes tbfill { from { width: var(--from); } to { width: var(--to); } }
.tb-node { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgba(16,17,20,.22); }
.tb-node.start { background: var(--ink); box-shadow: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.tb-node.hit { background: #FF4FA0; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(255,79,160,.35); animation: nodepop .5s cubic-bezier(.34,1.6,.5,1) .88s both; }
@keyframes nodepop { 0% { background: var(--bg); transform: scale(1); box-shadow: inset 0 0 0 2px rgba(16,17,20,.22); } 50% { transform: scale(1.5); } 100% { transform: none; } }
.tb-lab { position: relative; height: 34px; margin-top: 8px; }
.tb-lab em { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; font: 500 11.5px/1.25 var(--sans); font-style: normal; color: var(--muted); white-space: nowrap; }
.tb-lab em:last-child { transform: translateX(-88%); justify-items: end; }
.tb-lab em b { font: 600 14px var(--mono); letter-spacing: -0.01em; color: var(--muted); }
.tb-lab em.on, .tb-lab em.on b { color: var(--ink); }
.rc-body.tipped { padding-top: 0; }
.rc-body.tipped .rc-k { margin-top: 2px; }
p .nm, small .nm { font-variant-numeric: proportional-nums; font-feature-settings: "pnum"; }
@media (prefers-reduced-motion: reduce) {
  .tipm .burst { display: none; }
  .tip-stack .tf, .tip-count .roll b, .tchip i, .tb-fill, .tb-node.hit { animation: none !important; }
  .tchip .a { opacity: 0; }
}

/* Join sheet hero price: never ellipsised; it scales down and the "held" note wraps under it on small phones. */
.jtop .lt { flex: 1; min-width: 0; }
.jamt { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
.jtop .jamt b { font-size: clamp(32px, 10.6vw, 44px); overflow: visible; text-overflow: clip; white-space: nowrap; }
@media (max-width: 379px) { .jamt em { flex-basis: 100%; } .jtop .thumb { width: 56px; height: 56px; } }

/* Live: one-line header, the host strip, short screens */
.lth small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lhost { grid-column: 1 / -1; margin: 2px 0 0; display: flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 10px 5px 5px; border-radius: 999px; background: rgba(16,17,20,.5); font-size: 13px; line-height: 1.2; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lhost .mk { width: 22px; height: 22px; flex: none; border-radius: 8px; }
.lhost b { font-weight: 600; }
.lhost > span { white-space: nowrap; }
.lhost em { font-style: normal; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ldot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #FF3D6E; }
.ldot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #FF3D6E; animation: ldot 1.6s ease-out infinite; }
@keyframes ldot { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ldot::after { animation: none; } }
@media (max-width: 560px) and (max-height: 700px) { .live .chat { max-height: 76px; } }
@media (max-width: 370px) { .lhost em { display: none; } }
.live .chat { -webkit-mask-image: linear-gradient(transparent, #000 34%); mask-image: linear-gradient(transparent, #000 34%); }

/* Home drop card, Paper system: ink card, cream button, San's member card as the visual (replaces the blue ad look). */
.drop { position: relative; border-radius: 16px; background: var(--ink); color: var(--bg); padding: 18px 16px 18px 18px; display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; overflow: hidden; }
.drop .dr-pc { position: relative; width: 112px; aspect-ratio: 2.5 / 3.6; border-radius: 12px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 0 0 3px var(--bg), 0 18px 30px -14px rgba(0,0,0,.8); background: #E9D7F2; }
.drop .dr-pc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drop .dr-pc b { position: absolute; left: 9px; bottom: 11px; font: 800 21px/1 var(--sans); letter-spacing: -0.01em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.18); }
.drop .dr-pc small { position: absolute; left: 9px; bottom: 8px; font: 600 8.5px/1 var(--sans); letter-spacing: .06em; color: rgba(255,255,255,.9); text-transform: uppercase; }
.drop .dr-tx { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.drop .dr-live { position: static; display: inline-flex; align-items: center; gap: 7px; height: auto; padding: 0; background: none; border-radius: 0; font: 600 13px var(--sans); color: rgba(245,246,248,.82); }
.drop .dr-hl { font: 600 22px/1.12 var(--serif); letter-spacing: -0.01em; text-transform: none; font-stretch: normal; color: var(--bg); }
.drop .dr-sub { font-size: 13.5px; line-height: 1.4; color: rgba(245,246,248,.7); margin: 0; }
.drop .dr-tap { position: static; width: auto; height: 44px; padding: 0 22px; margin-top: 2px; border-radius: 999px; font: 600 15px var(--sans); text-transform: none; transform: none; }
@media (max-width: 370px) { .drop { grid-template-columns: 92px 1fr; gap: 14px; } .drop .dr-pc { width: 92px; } .drop .dr-hl { font-size: 20px; } }
@media (max-width: 370px) { .drop .dr-pc small { font-size: 7px; white-space: nowrap; } .drop .dr-pc b { font-size: 18px; } }

/* Rails keep their 16px gutter when they snap */
.picks, .wtf, .shops, .shc-rail { scroll-padding-inline: 16px; }
.toast.low { top: auto; bottom: calc(80px + var(--safe-b)); }
.toast.low.show { animation: rise .3s var(--ease); }
.toast.low.inlive { bottom: calc(150px + var(--safe-b)); }
/* Win screen: the "Tell the organiser" CTA and Share sit in a sticky footer, always above the fold. */
.rcpt.wf { padding-bottom: 0; }
.rc-foot { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 10px; align-items: center; margin: 12px -16px 0; padding: 12px 16px calc(12px + var(--safe-b)); background: var(--bg); box-shadow: 0 -1px 0 var(--line); }
.rc-foot .btn { flex: 1; margin: 0; }
.rc-foot .rc-share { flex: none; width: 48px; height: 48px; border: 1px solid var(--line); }
.rc-more { width: 100%; text-align: left; }
.rc-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; padding-left: 34px; font: 600 15px var(--sans); color: var(--ink); }
.rc-more summary::-webkit-details-marker { display: none; }
.rc-more summary::after { content: "›"; margin-left: 6px; font-size: 18px; transition: transform .2s; }
.rc-more[open] summary::after { transform: rotate(90deg); }
.rc-more .rc-k { margin: 4px 0 0 34px; }
.rc-body > .tl2 li:last-child { padding-bottom: 16px; }
/* Chat reactions hang off the bottom edge of their bubble, not as their own row. */
.chat-s .mb .reacts { margin-top: -14px; padding-left: 10px; position: relative; z-index: 1; gap: 4px; }
.chat-s .msg.mine .mb .reacts { padding: 0 10px 0 0; }
.chat-s .mb .rx { min-height: 30px; padding: 2px 9px; font-size: 14px; background: #fff; box-shadow: 0 0 0 2px #EFE9DD, 0 1px 2px rgba(0,0,0,.12); }
.chat-s .msg:has(.reacts) > .av { margin-bottom: 16px; }
/* Settings: demo-only switches collapsed under a small "Demo tools" row. */
.demotools { margin: 4px 0 12px; }
.demotools summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 13px; color: var(--muted); }
.demotools summary::-webkit-details-marker { display: none; }
.demotools summary::after { content: "›"; font-size: 16px; transition: transform .2s; }
.demotools[open] summary::after { transform: rotate(90deg); }
.demotools .mrow.tg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.demotools .mrow.tg > span { display: grid; gap: 2px; min-width: 0; }
/* Orders: titles and status lines wrap to two lines instead of truncating. */
.obody .ocard > .lrow .lt b, .obody .ocard > .lrow .lt small, .obody .rows .lt b, .obody .rows .lt small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.obody .ocard > .lrow { display: grid; grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
.obody .ocard > .lrow > :nth-child(3) { grid-column: 2; justify-self: start; }
/* Connect your channels: Discord sample order card */
.bprev.dc { background: #EEF0FF; } .ic.dc { background: #5865F2; }
.dcmsg { background: #2B2D31; border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; color: #DBDEE1; }
.dcbot { display: flex; align-items: center; gap: 6px; font-size: 14px; } .dcbot b { color: #fff; }
.dcbot i { font-style: normal; font-size: 10px; font-weight: 700; background: #5865F2; color: #fff; border-radius: 4px; padding: 1px 4px; }
.dcav { width: 24px; height: 24px; border-radius: 50%; background: #FF4FA0; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.dcemb { display: flex; gap: 10px; align-items: center; background: #232428; border-left: 4px solid #FF4FA0; border-radius: 4px; padding: 8px; }
.dcemb b { display: block; color: #fff; font-size: 14px; } .dcemb small { color: #B5BAC1; font-size: 13px; }
.dcemb .ph { flex: none; }
.dcjoin { justify-self: start; background: #5865F2; color: #fff; border-radius: 4px; padding: 6px 16px; font-size: 14px; font-weight: 600; }
/* Customise · Visitors: opening view and what's on show */
.lab.sub { color: var(--muted); font-weight: 500; margin-top: 4px; }
.onshow { display: grid; gap: 6px; }
.osrow { width: 100%; box-sizing: border-box; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 16px; background: var(--card, #fff); text-align: left; font: inherit; color: inherit; border: 1px solid rgba(0,0,0,.08); }
.osrow span { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osrow i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.25); display: grid; place-items: center; color: transparent; flex: none; }
.osrow i svg { width: 14px; height: 14px; }
.osrow[aria-checked="true"] i { background: var(--ink, #111); border-color: var(--ink, #111); color: #fff; }
.osrow[disabled] { opacity: .45; }
.osrow .ph { flex: none; }
.incd summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.incd summary::-webkit-details-marker { display: none; }
.incd summary::after { content: "+"; font-size: 20px; color: var(--muted); padding: 0 16px; }
.incd[open] summary::after { content: "−"; }
.incd summary h2 { font: 600 22px/1.15 var(--sans); letter-spacing: -0.015em; margin: 0; }
.incd { margin: 22px 0 6px; }
/* Calm pass: profile meta as one muted line, lighter stats */
.phd-meta { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.phd-stats { background: none; box-shadow: none; margin-top: 8px; }
.phd-stats button { min-height: 48px; }
.phd-stats button + button { border-left: 0; }
.phd-stats b { font-size: 16px; } .phd-stats small { font-size: 13px; }
/* Calm pass: live shows only your member's tally plus one sorted line */
.sortgrid.one { grid-template-columns: auto 1fr; align-items: center; }
.sortgrid.one > div:not(.mine) { display: none; }
.lsum { justify-self: start; border: 0; background: rgba(16,17,20,.38); color: #fff; font: 500 13px var(--sans); padding: 8px 12px; border-radius: 12px; font-variant-numeric: tabular-nums; }
/* Labels: flat, quiet tints, no tilt (Luma-like) */
.tag { font: 600 13px/1.3 var(--sans); padding: 3px 8px; border-radius: 8px; border: 0; box-shadow: none; transform: none !important; letter-spacing: 0; }
.tag.pin { background: none; color: var(--muted); padding: 0; font-weight: 500; }
.tag.dark { background: rgba(16,17,20,.06); color: var(--ink); margin-left: 6px; vertical-align: 2px; }
.tag.ok { background: #E3F5EA; color: #0A6B33; }
.tag.fill { background: #ECEEF1; color: #4A4436; }
.tag.loud { background: #FFE6F1; color: #B0105E; }
.tag.bad { background: #FDE2E4; color: #A3122A; }
.tag.rank { background: #101114; color: #fff; }
.tag.pin svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 2px; }
/* Artist picker: colour blocks with a tilted product card (Spotify-style genre tiles) */
.fan.art { height: 128px; padding: 14px; border-radius: 22px; background: var(--c); box-shadow: 0 10px 22px -14px var(--c); justify-content: flex-start; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s; }
.fan.art .fb { position: relative; z-index: 1; padding: 0; color: #fff; font: 800 19px/1.05 var(--sans); letter-spacing: -0.01em; text-shadow: none; max-width: 70%; }
.fan.art .fart { position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #fff; transform: rotate(18deg); box-shadow: 0 10px 20px rgba(0,0,0,.28); transition: transform .35s var(--ease); }
.fan.art .fart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan.art:hover .fart { transform: rotate(12deg) translateY(-4px); }
.fan.art .fcheck { left: 12px; right: auto; top: auto; bottom: 12px; background: #fff; color: #101114; }
.fan.art.on { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--c), 0 14px 26px -12px var(--c); transform: scale(.98); }

/* ---- Onboarding: one picking screen that fits without scrolling (Whatnot-style drill-in for bias) ---- */
.ob.step1 { height: 100%; min-height: 0; }
.ob.step1 .obin { height: 100%; min-height: 0; gap: 8px; padding-top: calc(var(--top) + 8px); padding-bottom: calc(16px + var(--safe-b)); }
.ob.step1 .obhead { min-height: 44px; }
.ob.step1 .obt { margin-top: 0; font-size: 28px; }
.ob.step1 .obs { font-size: 15px; line-height: 1.35; }
.ob.step1 .fgrid { flex: 1 1 auto; min-height: 0; grid-template-rows: repeat(4, minmax(0, 148px)); align-content: start; gap: 8px; margin-top: 4px; }
.ob.step1 .fan.art { height: auto; min-height: 0; }
.ob.step1 .obgo { margin-top: 8px; flex: none; }
.fan.art .fhint { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: #fff; color: #101114; font: 600 13px/1.2 var(--sans); max-width: calc(100% - 64px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan.art .fx { position: absolute; top: 0; right: 0; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; }
.fan.art .fx svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.92); color: #101114; box-sizing: border-box; }
.fan.art { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.sh-t .opt { font-weight: 400; color: var(--muted); font-size: .7em; }
.bseg { margin: 4px 0 16px; }
.bseg button { height: 44px; }

/* ---- Calm navigation: #view crossfades (opacity only); status bar and bottom bar never move or flash ---- */
.view.enter { animation: vfade .15s ease-out both; }
@keyframes vfade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .view.enter { animation: none; } }
html body .screen .navwrap { transform: none; transition: opacity .16s ease, visibility 0s; view-transition-name: navbar; }
html body .screen.nonav .navwrap { transform: none; opacity: 0; visibility: hidden; transition: opacity .12s ease, visibility 0s .12s; }
#status { view-transition-name: statusbar; }
::view-transition-old(navbar), ::view-transition-new(navbar), ::view-transition-old(statusbar), ::view-transition-new(statusbar) { animation: none; }
html body .navwrap.flat .pill .tl, html body .navwrap.flat .pill button[aria-current="page"] .tl { font-weight: 600; }
html body .pill button[aria-current="page"] svg { stroke-width: 2; }
html body .navwrap.flat .pill button:active, html body .pill button:active { transform: none; opacity: .7; }
/* Images never reflow the page as they arrive */
.ph { contain: paint; }
.ph > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- Live: a calm "filler video" frame, no product imagery ---- */
.live { overflow: hidden; background: #140A1F; }
.lfill { position: absolute; inset: -20%; background:
  radial-gradient(40% 35% at 30% 30%, rgba(122,52,140,.85), rgba(122,52,140,0) 70%),
  radial-gradient(45% 40% at 72% 62%, rgba(70,24,92,.9), rgba(70,24,92,0) 70%),
  radial-gradient(35% 30% at 50% 85%, rgba(160,46,110,.45), rgba(160,46,110,0) 70%), #120A1A;
  animation: ldrift 20s ease-in-out infinite alternate; }
.lfill::after { content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes ldrift { from { transform: translate3d(-3%, -2%, 0) rotate(0deg); } to { transform: translate3d(3%, 2%, 0) rotate(8deg); } }
.lmark { position: absolute; left: 50%; top: 42%; width: 120px; height: 120px; margin: -60px 0 0 -60px; opacity: .15; }
.lmark .mk { width: 100%; height: 100%; }
.lset { position: absolute; top: calc(var(--top) + 64px); left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: 500 13px/1.2 var(--sans); white-space: nowrap; }
.lset svg { width: 14px; height: 14px; color: #7DFFB2; }
.live .chat > div:nth-child(n+4) { display: none; }
@media (prefers-reduced-motion: reduce) { .lfill { animation: none; } }

/* ---- Display type: ABC Favorit Bold for the big moments ---- */
.phead h1, .hdr .t, .sec-h h2, .emptyst h3, .ghead h1, .pt h1, .pdp .pt h1, .sh-t, .wcard h2, .cardtop h1, .ord h3, .prof h2, .ctop .lt b, .insp-card h2, .obt, .rc-body h2, .lhead h1, .trk h2, .shead2 b, .fancard .lt b, .htitle { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; }
.fan.art .fb { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; }
body.cw .phead h1 { background: none; color: var(--ink); -webkit-background-clip: border-box; background-clip: border-box; }

/* ---- Home hero (Klarna-style): floating product cut-outs + one bold number ---- */
.hhero { position: relative; margin: 6px 12px 14px; padding: 0 20px 20px; border-radius: 22px; background: var(--tint); overflow: hidden; }
.hh-imgs { position: relative; height: 178px; margin: 0 -20px; }
.hh-c { position: absolute; width: 96px; height: 120px; border-radius: 16px; overflow: hidden; background: #fff; padding: 5px; box-shadow: 0 18px 30px -16px rgba(60,20,70,.45), 0 2px 6px rgba(60,20,70,.12); animation: hbob 6s ease-in-out infinite; }
.hh-c img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.hh-c.c1 { left: 6%; top: 34px; --r: -9deg; transform: rotate(var(--r)); animation-delay: 0s; }
.hh-c.c2 { left: 29%; top: 14px; width: 84px; height: 116px; --r: 5deg; transform: rotate(var(--r)); animation-delay: -1.5s; z-index: 2; }
.hh-c.c3 { left: 52%; top: 40px; --r: -4deg; transform: rotate(var(--r)); animation-delay: -3s; }
.hh-c.c4 { right: 4%; top: 16px; width: 88px; height: 104px; --r: 10deg; transform: rotate(var(--r)); animation-delay: -4.5s; }
@keyframes hbob { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hh-c { animation: none; } }
.hh-tx { position: relative; display: grid; gap: 6px; justify-items: start; }
.hh-big { font: 700 34px/1.02 var(--serif); letter-spacing: -0.015em; color: #101114; }
.hh-big .nm { font-family: inherit; }
.hh-sub { font: 500 15px/1.3 var(--sans); color: #3D3A46; }
.hh-go { margin-top: 8px; min-height: 48px; padding: 0 22px; }

/* ---- Savings pill: one green number ---- */
.save { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: #DDF6E7; color: #0A7A3F; font: 600 13px/1 var(--sans); white-space: nowrap; letter-spacing: 0; }
.fop .save, .pmeta .save { margin-left: 8px; }
.shc-pr { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---- Profile: tight centred header, one quick row, and an image grid that is the only part that scrolls ---- */
.prof { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.prof .phd { flex: none; padding: 0 16px 4px; background: linear-gradient(180deg, var(--pc) 0, color-mix(in srgb, var(--pc) 40%, var(--bg)) 84px, var(--bg) 168px); }
.prof .phd .phd-pat { height: 170px; }
.prof .phd-cover { position: absolute; left: 0; right: 0; top: 0; width: auto; margin: 0; min-height: 0; padding: calc(var(--top) + 6px) 12px 0; z-index: 2; }
.prof .phd > .phd-cover { position: absolute; }
.prof .phd-av { width: 68px; height: 68px; margin-top: calc(var(--top) + 10px); box-shadow: 0 0 0 3px var(--bg), 0 10px 20px -12px rgba(0,0,0,.35); }
.prof .phd.themed .phd-av { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--racc, transparent), 0 10px 20px -12px rgba(0,0,0,.35); }
.prof .phd-name { margin-top: 8px; font-size: 26px; line-height: 1.05; }
.prof .phd.f-caveat .phd-name { font-size: 32px; } .prof .phd.f-unbounded .phd-name { font-size: 22px; }
.prof .phd-handle { margin-top: 1px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.prof .phd-meta { display: inline; margin: 0; font-size: inherit; color: inherit; }
.prof .soc { margin-top: 6px; padding: 0 4px; }
.prof .sicon { width: 44px; height: 34px; }
.prof .sicon svg { width: 17px; height: 17px; }
.prof .phd-stats { display: flex; justify-content: center; gap: 2px; width: auto; margin: -2px 0 -4px; background: none; box-shadow: none; }
.prof .phd-stats button { display: inline-flex; align-items: baseline; gap: 4px; min-height: 44px; padding: 0 9px; border: 0; }
.prof .phd-stats b { font-size: 15px; font-weight: 600; } .prof .phd-stats small { font-size: 13px; color: var(--muted); }
.prof .phd-acts { margin-top: 0; gap: 8px; }
.prof .phd-acts .btn { min-height: 44px; height: 44px; font-size: 15px; }
.prof .repchip { margin-top: 8px; min-height: 44px; padding: 4px 14px; background-clip: padding-box; }
.pq { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.pq button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 4px; border: 0; border-radius: 16px; background: var(--card); box-shadow: var(--ring); color: var(--ink); font: 600 13px/1 var(--sans); white-space: nowrap; }
.pq button svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.prof .wtabs { flex: none; padding: 4px 16px 0; gap: 4px; justify-content: space-around; box-shadow: inset 0 -1px 0 var(--line); font-size: 15px; }
.prof .wtabs button { font-size: 15px; padding: 0 10px; }
.pgrid { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 3px 0 8px; }
.pgrid::-webkit-scrollbar { display: none; }
.pgrid .wgrid3 { gap: 3px; padding: 0 3px; }
.pgrid .wg .ph { aspect-ratio: 1; border-radius: 4px; box-shadow: none; background: #F1ECE2; }
.pgrid .wg.txt { aspect-ratio: 1; border-radius: 4px; background: #F1ECE2; padding: 10px; align-content: center; }
.pgrid .wg-t { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font: 500 13px/1.3 var(--sans); color: var(--ink); text-align: left; }
.pgrid .emptyst { padding-top: 20px; }
.psheet .post { padding: 0; }
@media (max-width: 370px) { .pq button svg { display: none; } .prof .phd-av { width: 60px; height: 60px; } }
@media (max-width: 560px) and (max-height: 760px) { .prof .phd-av { width: 56px; height: 56px; } .prof .phd-name { font-size: 24px; margin-top: 6px; } .prof .repchip, .pq { margin-top: 6px; } }
.lpin-ic { flex: none; width: 44px; height: 44px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; }
.lpin-ic svg { width: 22px; height: 22px; }
.live .chat > div { align-items: baseline; }
.lmark { opacity: .12; filter: saturate(.4); }
.lmark .mk { border-radius: 22px; }

/* ---- Welcome: a slow moving wall of real products, the mark floating over it, one live line ---- */
.ob.step0 { height: 100%; min-height: 0; overflow: hidden; }
.ob.step0 .obin { height: 100%; min-height: 0; justify-content: space-between; gap: 10px; padding-top: 0; padding-bottom: calc(18px + var(--safe-b)); }
.obwall { position: absolute; left: 0; right: 0; top: 0; height: 52%; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 0, #000 38%, transparent 96%); mask-image: linear-gradient(#000 0, #000 38%, transparent 96%); }
.obwall-in { position: absolute; left: -12%; right: -12%; top: calc(var(--top) - 26px); display: grid; gap: 10px; transform: rotate(-5deg); transform-origin: 50% 40%; }
.obrow { overflow: visible; }
.obtrack { display: flex; gap: 10px; width: max-content; padding-right: 10px; will-change: transform; animation: obmarq 34s linear infinite; }
.obtrack.t2 { animation-duration: 40s; animation-direction: reverse; }
.obtrack.t3 { animation-duration: 29s; }
@keyframes obmarq { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.obtile { flex: none; width: 92px; height: 92px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 18px -12px rgba(40,20,50,.35), 0 0 0 1px rgba(16,17,20,.05); }
.obtile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ob.step0 .obhero { margin-top: clamp(150px, 25vh, 215px); gap: 6px; }
.obmk { position: relative; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: radial-gradient(closest-side, var(--bg) 62%, rgba(245,246,248,0)); }
.ob.step0 .obmark { width: 124px; height: 124px; animation: obfloat 5.5s ease-in-out infinite !important; will-change: transform; }
@keyframes obfloat { 50% { transform: translate3d(0, -7px, 0) rotate(-2deg); } }
.ob.step0 .obword { margin: 0 0 10px; font-size: 32px; }
.ob.step0 .obt { margin-top: 0; font: 700 30px/1.08 var(--serif); letter-spacing: -0.015em; max-width: 13ch; }
.ob.step0 .obs { font-size: 16px; line-height: 1.4; max-width: 30ch; margin-top: 4px; }
.ob.step0 .obhero > * { animation: obrise .5s var(--ease) both; }
.ob.step0 .obhero > :nth-child(2) { animation-delay: 60ms; }
.ob.step0 .obhero > :nth-child(3) { animation-delay: 120ms; }
.ob.step0 .obhero > :nth-child(4) { animation-delay: 180ms; }
@keyframes obrise { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
.obpill { justify-self: center; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; margin-bottom: 4px; border-radius: 999px; background: var(--card); box-shadow: var(--ring); font: 500 13px/1 var(--sans); color: var(--ink); max-width: 100%; white-space: nowrap; }
.obpill i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #12A150; box-shadow: 0 0 0 3px rgba(18,161,80,.16); }
.obpill span { transition: opacity .26s ease; overflow: hidden; text-overflow: ellipsis; }
.obpill span.out { opacity: 0; }
.ob.step0 .obfine { margin-top: 0; line-height: 1.3; }
@media (max-width: 560px) and (max-height: 760px) { .ob.step0 .obhero { margin-top: 132px; } .obtile { width: 80px; height: 80px; } .ob.step0 .obt { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) { .obtrack, .ob.step0 .obmark, .ob.step0 .obhero > * { animation: none !important; } .obpill span { transition: none; } }
.obmk::before { content: ""; position: absolute; inset: -34px; border-radius: 50%; background: radial-gradient(closest-side, var(--bg) 48%, rgba(245,246,248,0)); z-index: -1; }
.obmk { background: none; isolation: isolate; }
/* The bottom bar is one solid surface: no blur, so nothing behind it can shimmer through as views change. */
html body .navwrap.flat { -webkit-backdrop-filter: none; backdrop-filter: none; background: #F5F6F8; }
html body .navwrap.flat .pill .tl { font-size: 13px; }
/* Store identity: name with tick over one line. Room titles never clip mid-letter. */
.stid { align-items: center; gap: 10px; }
.stid .stn { display: grid; min-width: 0; }
.stid .stn b { display: inline-flex; align-items: center; gap: 2px; font-size: 18px; line-height: 1.2; }
.stid .stn small { margin: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r3t b { display: flex; min-width: 0; }
.r3n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Order page, conversion first: photo, title, price + saving, status, people you know, store trust; guarantee by the Join button ---- */
.pdp .pbar2 { padding: 4px 16px 8px; }
.pcover .pcar .slides { aspect-ratio: 1.12; }
.pdp.inv .pcover .pcar .slides { aspect-ratio: 1.9; }
.pcover .dots { padding: 8px 0 9px; }
.pdp .pt { padding-top: 12px; }
.pdp .pt h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.08; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdp .pmeta { flex-wrap: nowrap; gap: 8px; }
.pdp .pmeta .save { margin-left: 0; }
.pdp .pmeta .qcl { margin-left: auto; white-space: nowrap; }
.pdp .pmeta .qcl b { display: inline; }
.pdp .pstate { margin: 8px 0 0; }
.proof { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--ink); font: 400 15px/1.2 var(--sans); text-align: left; }
.proof b { font-weight: 600; }
.pf-av { display: inline-flex; flex: none; }
.pf-av .av { width: 26px; height: 26px; box-shadow: 0 0 0 2px var(--bg); }
.pf-av .av + .av { margin-left: -8px; }
.trust { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin: -6px 0 0; padding: 0; border: 0; background: none; color: var(--ink); font: 400 15px/1.2 var(--sans); white-space: nowrap; max-width: 100%; }
.trust .tstar { color: #E8A100; font-size: 15px; }
.trust b { font-weight: 600; font-family: var(--sans); }
.trust > span:not(.tstar) { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.trust svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.pdp .quiet { margin-top: 6px; }
.buybar.join { gap: 2px; padding-top: 10px; padding-bottom: calc(6px + var(--safe-b)); }
.bguar { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 8px; border: 0; background: none; color: var(--muted); font: 400 13px/1.2 var(--sans); }
.bguar svg { width: 15px; height: 15px; flex: none; color: #0A7A3F; }
.bguar b { font-weight: 600; color: var(--ink); }
/* Reviews sheet */
.rvsum { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 22px; background: var(--card); box-shadow: var(--ring); padding: 12px 4px; text-align: center; }
.rvsum span { display: grid; gap: 2px; } .rvsum span + span { border-left: 1px solid var(--line); }
.rvsum b { font: 700 24px/1 var(--serif); letter-spacing: -0.015em; } .rvsum small { font-size: 13px; color: var(--muted); }
.rvlist { display: grid; gap: 12px; }
.rv { display: flex; gap: 12px; align-items: flex-start; }
.rv .lt { display: grid; gap: 2px; min-width: 0; }
.rv .lt b { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 15px; }
.rv .rvgot { font-weight: 400; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv .lt > small { font-size: 14px; line-height: 1.35; color: var(--ink); }
/* Store sheet: trust line sits in the header, right of the name */
.stid .trust { margin: 0 0 0 auto; flex: none; }
.orow { display: flex; align-items: center; gap: 8px; }
.orow .save { margin: 0; }

/* ---- Search: explore grid when empty, rich rows while typing ---- */
.strend { display: flex; align-items: center; gap: 8px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.strend::-webkit-scrollbar { display: none; }
.strend .stl, .slab { flex: none; font: 600 13px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.strend .chip { flex: none; }
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 3px; padding: 0 3px; }
.sg { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: #F1ECE2; border-radius: 4px; overflow: hidden; }
.sg.big { grid-column: span 2; grid-row: span 2; }
.sg.big.r { grid-column: 2 / span 2; }
.sg .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.sg-mk { position: absolute; left: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 2px #fff; }
.sg-mk .mk { width: 100%; height: 100%; border-radius: 0; }
.ssec { padding: 6px 0 2px; }
.slab { padding: 10px 16px 4px; }
.sres { width: 100%; text-align: left; border: 0; background: none; align-items: center; gap: 12px; min-height: 60px; }
.sres .sth { flex: none; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: #F1ECE2; }
.sres .sth.rnd { border-radius: 50%; }
.sres .sth .ph, .sres .sth .mk { width: 100%; height: 100%; border-radius: 0; }
.sres .lt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.sres .lt small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.hl { background: none; color: #D6246E; }
.spl { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--tint); color: var(--ink); font: 600 13px/1 var(--sans); white-space: nowrap; }
.spl.ok { background: #DDF6E7; color: #0A7A3F; }
.spl.hot { background: #FFE1EE; color: #B0105A; }
.snone { padding-top: 56px; }
@media (max-width: 560px) and (max-height: 760px) { .pdp.inv .pcover .pcar .slides { aspect-ratio: 2.6; } }

/* ---- 2×2 image mosaics (Shop categories, Discover groups) ---- */
.mos { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--bg); }
.mos > .ph { position: relative; inset: auto; width: 100%; height: 100%; min-height: 0; border-radius: 0; background: #F1ECE2; }
.mos.n2 { grid-template-rows: 1fr; } .mos.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mos.n3 > .ph:first-child { grid-row: span 2; }
.mos.wide.n4 { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; }
.cim { aspect-ratio: 1; }
.cat:first-child .cim { aspect-ratio: 2.2 / 1; }
.dgs { display: grid; gap: 10px; padding: 0 12px; }
.dgc { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 22px; background: #fff; box-shadow: 0 10px 26px -18px rgba(60,20,60,.26), 0 0 0 1px rgba(16,17,20,.05); cursor: pointer; }
.dg-im { position: relative; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; }
.dgc .lt { display: grid; gap: 2px; min-width: 0; justify-items: start; }
.dgc .lt .mk { width: 26px; height: 26px; border-radius: 8px; margin-bottom: 4px; }
.dgc .lt b { font: 600 17px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.dgc .lt small { font-size: 13px; color: var(--muted); }
/* No tilted labels anywhere */
.tag, .fimg .tag.loud, .minline .chipst, .space .islive, .ltag, .ss-note, .ss-card .ss-note, .fanid.ss { transform: none; }
.ptag { transform: translateX(-50%); }
.drop .dr-pc, .dr-cut { transform: none; }

/* ---- Store page sells first: compact header on the app background, then orders ---- */
.stpage .stid { align-items: flex-start; gap: 14px; padding: 2px 16px 0; }
.stpage .stid > .mk { width: 64px; height: 64px; border-radius: 22px; flex: none; }
.stpage .stid .stn b { font: 700 24px/1.1 var(--serif); letter-spacing: -0.015em; }
.stpage .stid .stn small { font-size: 14px; color: var(--muted); margin-top: 2px; }
.stpage .stid .trust { margin: -4px 0 -6px; justify-self: start; }
.stpage .sacts { padding: 8px 16px 4px; }
.stpage .segu { margin-top: 4px; }
.lrow.sord { min-height: 96px; gap: 14px; padding: 10px 16px; }
.lrow.sord .ph.thumb { width: 76px; height: 76px; border-radius: 16px; }
.lrow.sord .lt { display: grid; gap: 6px; min-width: 0; }
.lrow.sord .lt b { font: 600 16px/1.25 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.lrow.sord .orow span:last-child { font-size: 14px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.roomcard.sroomc { margin: 8px 12px 10px; padding: 8px 12px 8px 8px; box-shadow: inset 0 0 0 1px rgba(16,17,20,.06); }
.roomcard.sroomc .rc-im { width: 60px; height: 60px; border-radius: 16px; }
.roomcard.sroomc { grid-template-columns: 60px minmax(0, 1fr) auto; }
.roomcard.sroomc .rc-tx b { font: 600 17px/1.2 var(--sans); }
.roomcard.sroomc .rc-sub { opacity: .75; }
.rf-look { position: absolute; left: 0; right: 0; top: 566px; z-index: 6; display: flex; justify-content: center; pointer-events: none; }
.rf-look .btn { pointer-events: auto; box-shadow: var(--float); }

/* ---- No decorative or pulsing dots. The one dot left is the red one on a real Live label. ---- */
.space .islive::before { display: none; }
.ldot::after { display: none; animation: none; }
/* Welcome: the wall fades out before the mark; live activity is one plain muted line */
.obwall { height: 330px; -webkit-mask-image: linear-gradient(#000 0, #000 46%, transparent 84%); mask-image: linear-gradient(#000 0, #000 46%, transparent 84%); }
.obtile { width: 86px; height: 86px; }
.ob.step0 .obhero { margin-top: clamp(214px, 30vh, 262px); }
.obmk::before { display: none; }
.obline { text-align: center; font: 400 14px/1.3 var(--sans); color: var(--muted); min-height: 20px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obline span { transition: opacity .26s ease; }
.obline span.out { opacity: 0; }
@media (max-width: 560px) and (max-height: 760px) { .ob.step0 .obhero { margin-top: 200px; } .obtile { width: 76px; height: 76px; } .obwall { height: 300px; } .ob.step0 .obmark { width: 80px; height: 80px; } .obmk { width: 88px; height: 88px; } .ob.step0 .obword { font-size: 34px; margin-bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { .obline span { transition: none; } }
/* Onboarding: search over every artist, popular tiles below */
.ob.step1 .obs:empty { display: none; }
.ob.step1 .obsearch { flex: none; height: 46px; margin-top: 2px; }
.obpick { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.oblab { flex: none; font: 600 13px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.ob.step1 .obpick .fgrid { margin-top: 0; }
.obchips { flex: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 4px; }
.obchips::-webkit-scrollbar { display: none; }
.obchip { flex: none; display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: var(--bg); min-height: 44px; }
.obchip svg { width: 14px; height: 14px; }
.obres { display: grid; gap: 0; }
.obrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 4px 2px; border: 0; background: none; text-align: left; color: var(--ink); box-shadow: inset 0 -1px 0 var(--line); }
.obrow b { flex: 1; min-width: 0; font: 600 16px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obdot { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 700 15px/1 var(--serif); }
.obadd, .obon { flex: none; display: inline-flex; align-items: center; gap: 4px; font: 600 13px/1 var(--sans); color: var(--muted); }
.obon { color: #0A7A3F; } .obon svg { width: 14px; height: 14px; }
.obnone { padding: 18px 2px; font-size: 15px; color: var(--muted); }
/* fixes from review */
.stpage .stid .trust b { font: 600 15px/1.2 var(--sans); letter-spacing: 0; }
.orow { flex-wrap: wrap; row-gap: 2px; }
.roomcard.sroomc { border: 0; outline: 0; }
.obwall { -webkit-mask-image: linear-gradient(#000 0, #000 40%, transparent 74%); mask-image: linear-gradient(#000 0, #000 40%, transparent 74%); }
.chips .chip svg { width: 14px; height: 14px; vertical-align: -2px; margin-left: 2px; }
@media (max-width: 560px) and (max-height: 760px) { .ob.step1 .fan.art .fart { width: 62px; height: 62px; right: -10px; bottom: -10px; } .ob.step1 .fan.art .fb { font-size: 16px; } }

/* ---- Profile cover: full-bleed soft tint of the profile colour, fading into the page. No pattern, no band edges. ---- */
.prof { position: relative; }
.pcov { position: absolute; left: 0; right: 0; top: 0; height: 240px; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 46%, #F5F6F8) 0%, color-mix(in srgb, var(--pc) 22%, #F5F6F8) 45%, rgba(245,246,248,0) 100%), #F5F6F8; }
.prof .phd { position: relative; background: none; }
.prof .phd .phd-pat { display: none; }
.prof .phd-cover { padding: calc(var(--top) + 8px) 16px 0; }
.prof .phd-cover .iconbtn, .prof .phd-cover .cbtn { background: rgba(255,255,255,.72); box-shadow: none; }
.prof .soc { margin: 12px 0; padding: 0 4px; background: color-mix(in srgb, var(--pc) 22%, #FFFFFF); }
.prof .phd-stats { margin: -8px 0 -2px; }
.pq { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 370px) { .pq button svg { display: block; } }
.prof .repchip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Sheets: the closing button never sits on the bottom edge */
.sheet > .btn.block:last-child { margin-bottom: 10px; }
/* Sheets that used to scroll at 360×740 */
.scrim.clear .sheet { max-height: 92%; }
#sheet .seas .ms { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
#sheet .seas .msb small { display: none; }
#sheet .seas .msb { min-height: 44px; }
#sheet .eras { gap: 8px; }
#sheet .era { padding: 8px 4px; }
#sheet .era .ring2 svg { width: 52px; height: 52px; }
#sheet .season { padding: 0; }
#sheet .season > .fineprint { display: none; }
#sheet .spath { background: none; gap: 0; margin-top: 0; }
#sheet .spath .node { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-items: center; justify-items: start; text-align: left; width: 100%; margin: 0; justify-self: stretch; min-height: 56px; box-shadow: inset 0 -1px 0 var(--line); }
#sheet .spath .node .disc { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; box-shadow: 0 0 0 1px var(--line); }
#sheet .spath .node .disc img { width: 34px; height: 34px; }
#sheet .spath .node.now .disc { box-shadow: 0 0 0 2px #FF4FA0; }
#sheet .spath .node b { align-self: end; } #sheet .spath .node small { align-self: start; }
#sheet .spath .tick, #sheet .spath .lockb { width: 18px; height: 18px; right: -4px; top: -4px; bottom: auto; }
#sheet .spath .tick svg, #sheet .spath .lockb svg { width: 10px; height: 10px; }
#sheet .spath .perk { max-width: none; width: 100%; min-height: 56px; padding: 6px 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--line); gap: 12px; }
#sheet .spath .perk .pk { width: 44px; height: 44px; border-radius: 50%; margin-right: 6px; }
#sheet .fancard p { font-size: 13px; }
#sheet .bprev { padding-top: 10px; padding-bottom: 10px; }
#sheet .seas .ms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; }
#sheet .seas .msb small { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sheet .seas .msb .pinb { width: 40px; height: 40px; }
#sheet .era { padding: 6px 4px; }
#sheet .era .ring2 svg { width: 44px; height: 44px; }
#sheet .seas .fineprint { margin-top: 6px; }
.prof .phd { margin: 0; width: 100%; max-width: none; align-self: stretch; }
.prof { padding: 0; height: calc(100% + 40px); }
.prof { height: 100%; }
.view[data-route="me"], .view[data-route="fan"] { padding-bottom: calc(76px + var(--safe-b)); }
#sheet .seas .msb .pinb { width: 36px; height: 36px; }
#sheet .seas .ms { gap: 6px; }

.obword span { color: #F0308C; }
