/* GPT Chat · Daylight (Nov 2026)
   A calm, light gallery by day. The builds are the colour, the neon building
   is one deep-blue window, and pink means "press here". Amber only ever marks
   real activity (a new post, a review on yours, people in the building).
   Loaded after tokens.css and hub.css: it re-points their tokens to light and
   replaces the shell (no side columns; a top bar, and on phones a tab bar with
   the 3D building as the raised centre button). */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2-variations"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  /* Daylight palette (directions/README.md, A) */
  --d-ground: #F7F5F1;
  --d-surface: #FFFFFF;
  --d-line: #E6E1D8;
  --d-line-strong: #CFC8BC;
  --d-field: #8C8577;
  --d-ink: #17152A;
  --d-muted: #4A4658;
  --d-label: #3B3D9E;
  --d-night: #141638;
  --d-night-raised: #1E2150;
  --d-on-night: #FFFFFF;
  --d-on-night-muted: #C9CCF0;
  --d-action: #D1196E;
  --d-action-press: #B0125C;
  --d-action-tint: #FCE8F1;
  --d-action-ink: #A30F52;
  --d-tint: #EEECF9;
  --d-mat: #0E1022;
  --d-amber: #FFB547;
  --d-amber-tint: #FFF3DF;
  --d-amber-ink: #7A4300;
  --d-ok: #1D7446;
  --d-ok-tint: #E4F4EA;
  --d-danger: #B42318;
  --d-danger-tint: #FDECEA;

  --d-display: "Unbounded", system-ui, sans-serif;
  --d-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* one type scale: label, meta, body, heading, title, display */
  --d-t-label: 13px; --d-t-meta: 15px; --d-t-body: 17px; --d-t-head: 21px; --d-t-title: 28px; --d-t-display: 36px;
  --d-r-s: 10px; --d-r-c: 14px; --d-r-card: 20px; --d-r-hero: 28px;
  --d-pad: 16px;
  --d-top-h: 64px;
  --d-tabs-h: 72px;
  --d-max: 1360px;
  --d-shadow: 0 1px 2px rgb(23 21 42 / 0.05), 0 4px 14px rgb(23 21 42 / 0.05);
  --d-shadow-lift: 0 2px 4px rgb(23 21 42 / 0.06), 0 14px 32px rgb(23 21 42 / 0.10);

  /* the old tokens, re-pointed so every existing hub view turns light */
  --sc-canvas: var(--d-ground);
  --sc-surface: var(--d-surface);
  --sc-ink: var(--d-ink);
  --sc-ink-soft: var(--d-muted);
  --sc-accent: var(--d-action);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: var(--d-display);
  --sc-font-text: var(--d-text);
  --sc-shadow-color: 245 33% 12%;
  --gc-raised: var(--d-surface);
  --gc-sunk: var(--d-surface);
  --gc-line: var(--d-line);
  --gc-line-2: var(--d-line-strong);
  --gc-cool: var(--d-label);
  --gc-dim: #625D6E;
  --gc-danger: var(--d-danger);
  --gc-ok: var(--d-ok);
  --gc-amber-wash: var(--d-amber-tint);
  --gc-neon: var(--d-label);
  --gc-neon-soft: var(--d-label);
  --gc-neon-wash: var(--d-tint);
  --gc-neon-glow: 0 0 0 2px var(--d-label);
  --gc-stretch: 100%;
  --sc-r-sm: 8px; --sc-r-md: 12px; --sc-r-lg: 20px;
  --sc-edge: 0 0 0 0 transparent;
  color-scheme: light;
}
@media (min-width: 1000px) {
  :root { --d-t-title: 40px; --d-t-display: 60px; --d-pad: 40px; --d-top-h: 76px; }
}

/* ================================================================ base == */
html { background: var(--d-ground); }
body.hub {
  background: var(--d-ground); color: var(--d-ink);
  font-family: var(--d-text); font-size: var(--d-t-body); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.hub ::selection { background: #F8C9DD; color: var(--d-ink); }
.hub :focus-visible { outline: 3px solid var(--d-label); outline-offset: 2px; }
.muted { color: var(--d-muted); }
.warn { color: var(--d-danger); }
.gc-display, .sc-display { font-family: var(--d-display); font-stretch: 100%; font-weight: 700; letter-spacing: -0.02em; }
.gc-label {
  font-family: var(--d-text); font-size: var(--d-t-label); line-height: 16px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--d-label);
}
.i { width: 22px; height: 22px; }
.i--sm { width: 18px; height: 18px; }
.i--xs { width: 15px; height: 15px; }

/* ============================================================= buttons == */
.btn {
  min-height: 48px; padding: 0 20px; gap: 8px;
  border: 0; border-radius: var(--d-r-c);
  background: var(--d-action); color: #fff;
  font-family: var(--d-text); font-weight: 700; font-size: var(--d-t-body);
  box-shadow: none; text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--d-action-press); box-shadow: none; } }
.btn:active { background: var(--d-action-press); }
.btn--lg { min-height: 56px; padding: 0 26px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: var(--d-t-meta); }
.btn--ghost, .btn--sign {
  background: var(--d-surface); color: var(--d-ink); border: 0;
  box-shadow: inset 0 0 0 1.5px var(--d-line-strong);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover, .btn--sign:hover { background: var(--d-surface); box-shadow: inset 0 0 0 1.5px var(--d-ink); }
}
.btn--tint { background: var(--d-action-tint); color: var(--d-action-ink); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .btn--tint:hover { background: #F9D5E5; } }
.btn--night { background: var(--d-night); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--night:hover { background: var(--d-night-raised); } }
.btn--on-night { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.4); }
@media (hover: hover) and (pointer: fine) { .btn--on-night:hover { background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1.5px #fff; } }
.btn--danger { color: var(--d-danger); }
.btn--block { width: 100%; }
.iconbtn { width: 44px; height: 44px; border-radius: 12px; color: var(--d-ink); }
.iconbtn:hover { background: var(--d-tint); }
.linkbtn { color: var(--d-muted); font-size: var(--d-t-meta); min-height: 32px; }
.linkbtn:hover { color: var(--d-ink); }

/* =============================================================== shell == */
.side, .rail { display: none !important; }
.app {
  display: block; max-width: none; margin: 0; min-height: 100svh;
  padding-bottom: calc(var(--d-tabs-h) + env(safe-area-inset-bottom));
}
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 6px;
  height: calc(var(--d-top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--d-pad) 0;
  background: rgb(247 245 241 / 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 160ms ease;
}
body.is-scrolled .top { border-bottom-color: var(--d-line); }
.top .brand { flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; color: var(--d-ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand__name { font-family: var(--d-display); font-stretch: 100%; font-weight: 700; font-size: var(--d-t-body); letter-spacing: -0.01em; }
.top__nav { display: none; }
.top__sp { flex: 1; }
.top__end { display: flex; align-items: center; gap: 4px; }
.top__post { min-height: 44px; padding: 0 16px; font-size: var(--d-t-meta); border-radius: 12px; }
.top__post.is-quiet { background: var(--d-action-tint); color: var(--d-action-ink); }
.top__world { display: none; }
.top__signin { min-height: 44px; padding: 0 10px; font-size: var(--d-t-meta); font-weight: 700; color: var(--d-ink); }
.top__me { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; cursor: pointer; padding: 0; }
.top__me .av { --s: 34px; border-radius: 999px; }
.top__me .nav__badge { position: absolute; top: 2px; right: 0; }
.top__menu { display: none; }

.view {
  display: block; max-width: var(--d-max); margin: 0 auto;
  padding: 8px var(--d-pad) 56px; outline: none;
}
.view[aria-busy="true"] { opacity: 0.6; }

/* tab bar (phones and small tablets) */
.tabs {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: calc(var(--d-tabs-h) + env(safe-area-inset-bottom));
  padding: 4px 4px calc(8px + env(safe-area-inset-bottom));
  background: var(--d-surface); border-top: 1px solid var(--d-line);
}
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 58px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--d-muted); text-decoration: none;
  font-family: var(--d-text); font-size: var(--d-t-label); font-weight: 600; line-height: 16px; letter-spacing: 0;
}
.tab__pill { width: 56px; height: 32px; border-radius: 999px; display: grid; place-items: center; transition: background-color 160ms ease; }
.tab .i { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--d-ink); }
.tab[aria-current="page"] .tab__pill { background: var(--d-tint); color: var(--d-label); }
.tab .nav__badge { position: absolute; top: 2px; left: calc(50% + 8px); }
/* the 3D building: the raised centre button */
.tab--world { justify-content: flex-end; color: var(--d-ink); }
.tab__world {
  position: relative; width: 62px; height: 62px; margin-top: -30px; margin-bottom: 2px;
  display: grid; place-items: center; border-radius: 999px;
  background: radial-gradient(120% 120% at 30% 20%, #2A2E78 0%, var(--d-night) 62%);
  box-shadow: 0 0 0 5px var(--d-surface), 0 8px 22px rgb(20 22 56 / 0.35), 0 0 0 6.5px rgb(209 25 110 / 0.0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.tab__world img { width: 34px; height: 34px; border-radius: 8px; }
.tab__world::after {
  content: ""; position: absolute; inset: -5px; border-radius: inherit;
  box-shadow: 0 0 0 2px rgb(209 25 110 / 0.55); opacity: 0.9;
}
.tab--world:active .tab__world { transform: scale(0.95); }
.tab--world span:last-child { font-weight: 700; color: var(--d-ink); }

/* the "You" sheet (menu) */
.sheet { position: fixed; inset: 0; z-index: 80; background: rgb(14 16 34 / 0.42); display: block; }
.sheet[hidden] { display: none; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88svh; overflow-y: auto;
  display: grid; gap: 6px; align-content: start;
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
  background: var(--d-surface); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgb(14 16 34 / 0.18);
  animation: sheet-up 280ms cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet__grab { justify-self: center; width: 40px; height: 5px; border-radius: 99px; background: var(--d-line-strong); margin-bottom: 6px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.sheet__who { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--d-ink); }
.sheet__who .av { --s: 44px; border-radius: 999px; }
.sheet__who b { display: block; font-size: var(--d-t-body); }
.sheet__who span { display: block; font-size: var(--d-t-meta); color: var(--d-muted); }
.sheet__h { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-head); }
.sheet__group { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--d-line); }
.sheet__group:first-of-type { border-top: 0; }
.sheet__cap { padding: 4px 4px 6px; }
.sheet a, .sheet button.sheet__a {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 8px;
  border: 0; border-radius: 14px; background: none; color: var(--d-ink); text-decoration: none;
  font: inherit; font-size: var(--d-t-body); font-weight: 600; text-align: left; cursor: pointer; width: 100%;
}
.sheet a:hover, .sheet button.sheet__a:hover { background: var(--d-ground); }
.sheet a .i, .sheet button.sheet__a .i { color: var(--d-label); }
.sheet a .nav__badge { margin-left: auto; }
.sheet__join { display: grid; gap: 10px; padding: 6px 0 12px; }
.sheet__join p { color: var(--d-muted); }
.sheet .storebadges { padding: 6px 8px 0; }
.sheet__small { padding: 10px 8px 0; font-size: var(--d-t-meta); color: var(--d-muted); }
body.sheet-open { overflow: hidden; }
@keyframes sheet-up { from { translate: 0 100%; } to { translate: 0 0; } }

@media (min-width: 1000px) {
  .app { padding-bottom: 0; }
  .tabs { display: none; }
  .top { padding-left: max(var(--d-pad), calc((100vw - var(--d-max)) / 2)); padding-right: max(var(--d-pad), calc((100vw - var(--d-max)) / 2)); gap: 8px; }
  .top__nav { display: flex; gap: 2px; margin-left: 28px; }
  .top__nav a {
    display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px;
    color: var(--d-muted); text-decoration: none; font-weight: 600; font-size: var(--d-t-meta);
  }
  .top__nav a:hover { color: var(--d-ink); background: rgb(23 21 42 / 0.04); }
  .top__nav a[aria-current="page"] { color: var(--d-ink); background: var(--d-tint); }
  .top__world {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; margin-right: 4px;
    border-radius: 999px; background: var(--d-night); color: #fff; text-decoration: none; font-weight: 700; font-size: var(--d-t-meta);
  }
  .top__world img { width: 32px; height: 32px; border-radius: 999px; }
  .top__world:hover { background: var(--d-night-raised); }
  .sheet__panel { left: auto; right: 24px; bottom: auto; top: calc(var(--d-top-h) + 4px); width: 360px; border-radius: 20px; animation: none; box-shadow: var(--d-shadow-lift); border: 1px solid var(--d-line); }
  .sheet { background: transparent; }
  .sheet__grab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sheet__panel { animation: none; } }

/* ======================================================= page headings == */
.page { display: grid; gap: 24px; max-width: none; }
.page--narrow { max-width: 680px; margin-inline: auto; width: 100%; }
.page--read { max-width: 760px; }
.phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 8px 0 0; border: 0; }
.phead__t { display: grid; gap: 6px; flex: 1 1 20rem; }
.phead__floor { display: none; }
.phead__h { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-title); line-height: 1.12; letter-spacing: -0.02em; }
.phead__p { color: var(--d-muted); font-size: var(--d-t-body); max-width: 60ch; }
.phead__actions { gap: 10px; }
.up { margin: 0 0 4px; }
.crumb { min-height: 44px; gap: 2px; margin-left: -6px; color: var(--d-ink); font-weight: 700; font-size: var(--d-t-meta); }
.crumb:hover { color: var(--d-action-ink); }

/* section heads */
.sec { display: grid; gap: 14px; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sec__h { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-head); line-height: 1.2; letter-spacing: -0.015em; }
.sec__p { color: var(--d-muted); margin-top: 4px; }
.more-link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-weight: 700; font-size: var(--d-t-meta); color: var(--d-action-ink); text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.sect__h { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-head); letter-spacing: -0.015em; }

/* ================================================================ hero == */
.hero { position: relative; overflow: hidden; border-radius: var(--d-r-hero); background: var(--d-night); color: var(--d-on-night); }
.hero__photo { position: relative; height: 196px; }
.hero__ph { height: 100%; overflow: hidden; }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; display: block; }
.hero__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(to bottom, rgb(20 22 56 / 0), var(--d-night)); }
.hero__body { padding: 4px 24px 26px; display: grid; gap: 12px; }
.hero__h { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-display); line-height: 1.08; letter-spacing: -0.025em; }
.hero__p { color: var(--d-on-night-muted); }
.hero__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero--me .hero__body { padding-top: 22px; }
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: 5fr 6fr; min-height: 480px; }
  .hero__photo { height: auto; order: 2; margin: 16px 16px 16px 0; }
  .hero__ph { border-radius: 20px; }
  .hero__photo::after { display: none; }
  .hero__body { padding: 56px 32px 48px 56px; align-self: center; gap: 16px; }
  .hero__h { line-height: 1.04; }
  .hero__p { font-size: var(--d-t-head); line-height: 1.45; max-width: 26rem; }
  .hero__row { margin-top: 16px; }
  .hero--me { min-height: 0; grid-template-columns: 1fr auto; align-items: center; }
  .hero--me .hero__body { padding: 32px 40px; }
}

/* ======================================================== build cards == */
.grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.grid--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(78%, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--d-pad) * -1); padding-inline: var(--d-pad); scroll-padding-inline: var(--d-pad); scrollbar-width: none; }
.grid--rail::-webkit-scrollbar { display: none; }
.grid--rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .grid--rail { grid-auto-columns: minmax(46%, 1fr); } }
@media (min-width: 1000px) { .grid--rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; } }

.bcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-r-card); overflow: hidden;
  color: var(--d-ink); text-decoration: none; transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
@media (hover: hover) and (pointer: fine) { .bcard:hover { box-shadow: var(--d-shadow-lift); transform: translateY(-2px); border-color: var(--d-line-strong); } }
.shot { position: relative; aspect-ratio: 16 / 10; background: var(--d-mat); overflow: hidden; isolation: isolate; }
.shot img, .shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.shot::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: var(--fit-bg, none) center / cover no-repeat; filter: blur(16px) brightness(0.55) saturate(1.1); }
.shot--type { display: grid; align-content: end; padding: 18px 20px; background: var(--d-tint); color: var(--d-ink); }
.shot--type::before { display: none; }
.shot--type .i { position: absolute; top: 16px; left: 18px; width: 30px; height: 30px; color: var(--d-label); }
.shot--type b { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-head); line-height: 1.2; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shot__more { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px; background: rgb(14 16 34 / 0.78); color: #fff; font-size: var(--d-t-label); font-weight: 700; }
.bcard__body { display: grid; gap: 4px; padding: 14px 18px 18px; }
.bcard__cap { color: var(--d-muted); }
.bcard__t { font-size: var(--d-t-head); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.bcard__t a { color: inherit; text-decoration: none; }
.bcard__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bcard__p { color: var(--d-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.status {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--d-tint); color: var(--d-label); font-size: var(--d-t-label); font-weight: 700; line-height: 1;
}
.status--testers { background: var(--d-amber-tint); color: var(--d-amber-ink); }
.status--testers::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--d-amber); }
.status--rated { background: var(--d-ok-tint); color: var(--d-ok); }
.status--new { background: var(--d-amber); color: var(--d-ink); }

/* text cards: questions, threads, skills and findings */
.tcards { display: grid; gap: 12px; }
.tcard {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-r-card); color: var(--d-ink);
}
@media (hover: hover) and (pointer: fine) { .tcard:hover { border-color: var(--d-line-strong); box-shadow: var(--d-shadow); } }
.glyph { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--d-tint); color: var(--d-label); }
.glyph .i { width: 24px; height: 24px; }
.tcard__main { display: grid; gap: 4px; min-width: 0; }
.tcard__t { font-size: var(--d-t-body); line-height: 1.35; font-weight: 700; }
.tcard__t a { text-decoration: none; }
.tcard__t a::after { content: ""; position: absolute; inset: 0; }
.tcard__p { color: var(--d-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--d-t-meta); color: var(--d-muted); }
.tcard__meta a, .tcard__meta .vote, .tcard .by { position: relative; z-index: 2; }

/* kind chips (filters and the post form) */
.kchips { display: flex; flex-wrap: wrap; gap: 8px; }
.kchips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--d-pad) * -1); padding-inline: var(--d-pad); }
.kchips--scroll::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .kchips--scroll { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.kchip {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-line); color: var(--d-ink);
  font-weight: 600; font-size: var(--d-t-meta); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.kchip .i { width: 18px; height: 18px; color: var(--d-label); }
.kchip:hover { border-color: var(--d-line-strong); }
.kchip[aria-current="true"], .kchip:has(input:checked) { background: var(--d-night); border-color: var(--d-night); color: #fff; }
.kchip[aria-current="true"] .i, .kchip:has(input:checked) .i { color: #fff; }
.kchip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.kchip:has(input:focus-visible) { outline: 3px solid var(--d-label); outline-offset: 2px; }

/* invites (empty states that ask, not apologise) */
.invite { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1.5px dashed var(--d-line-strong); border-radius: var(--d-r-card); }
.invite .btn { justify-self: start; }
.qs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.q { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--d-ground); font-weight: 600; }
.q .i { color: var(--d-label); }
.card { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-r-card); padding: 20px; display: grid; gap: 10px; align-content: start; }

/* the 3D card */
.world { position: relative; display: grid; overflow: hidden; border-radius: var(--d-r-card); background: var(--d-night); color: var(--d-on-night); text-decoration: none; }
.world__img { aspect-ratio: 16 / 9; overflow: hidden; }
.world__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.world:hover .world__img img { transform: scale(1.03); }
.world__body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.world__body p { color: var(--d-on-night-muted); }
.world .btn { justify-self: start; margin-top: 10px; }

.duo { display: grid; gap: 16px; }
@media (min-width: 1000px) { .duo { grid-template-columns: 1fr 1fr; gap: 24px; } .duo > * { height: 100%; } }
.stackgap { display: grid; gap: 40px; }
@media (min-width: 1000px) { .stackgap { gap: 56px; } }

/* =========================================================== build page == */
.bp { display: grid; gap: 20px; }
.bp__media { display: grid; gap: 10px; min-width: 0; }
.bp__side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.bp__cap { color: var(--d-label); }
.bp__title { font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-title); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.bp__one { color: var(--d-muted); font-size: var(--d-t-body); }
.bp__by { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--d-t-meta); color: var(--d-muted); }
.bp__by .av { --s: 36px; border-radius: 999px; }
.bp__by .by { font-size: var(--d-t-meta); }
.bp__try { width: 100%; }
.bp__links { display: flex; flex-wrap: wrap; gap: 8px; }
.bp__body { display: grid; gap: 18px; max-width: 760px; }
.bp__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (min-width: 1000px) {
  .bp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
  .bp__side { position: sticky; top: calc(var(--d-top-h) + 16px); }
  .bp__try { width: auto; justify-self: start; min-width: 200px; }
}
.gal { display: grid; gap: 10px; }
.gal__main { position: relative; aspect-ratio: 16 / 10; max-height: none; border: 0; border-radius: var(--d-r-card); background: var(--d-mat); overflow: hidden; isolation: isolate; display: block; }
.gal__main img, .gal__main video { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.gal__main::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: var(--fit-bg, none) center / cover no-repeat; filter: blur(16px) brightness(0.55); }
.gal__thumbs { gap: 8px; }
.gal__t { width: 84px; border-radius: 10px; border: 2px solid transparent; background: var(--d-mat); }
.gal__t[aria-pressed="true"] { border-color: var(--d-night); box-shadow: none; }
.revbox { display: grid; gap: 8px; padding: 18px; background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-r-card); }
.revbox__h { font-size: var(--d-t-head); font-weight: 700; line-height: 1.25; }
.revbox__score { display: flex; align-items: baseline; gap: 10px; }
.revbox__score b { font-family: var(--d-display); font-weight: 700; font-size: 34px; line-height: 1; }
.revbox .btn { margin-top: 6px; }

/* ============================================ existing parts, made light == */
.prose { color: #2B2838; font-size: var(--d-t-body); line-height: 1.65; max-width: 68ch; }
.prose h3, .prose h4, .prose strong { color: var(--d-ink); }
.prose h3 { font-family: var(--d-display); font-size: 19px; letter-spacing: -0.01em; }
.prose a { color: var(--d-action-ink); text-decoration-color: rgb(163 15 82 / 0.4); text-underline-offset: 0.18em; }
.prose a:hover { text-decoration-color: var(--d-action-ink); }
.prose code { background: var(--d-tint); color: var(--d-ink); }
.prose pre { background: #F1EEE8; border-color: var(--d-line); }
.prose blockquote { border-left: 3px solid var(--d-line-strong); color: var(--d-muted); }
.doc p, .doc li, .team__m p { color: #2B2838; }
.chat2d__t { color: var(--d-ink); }
.chat2d__m.is-ai .chat2d__t { color: #22306E; }
.chat2d__form { background: var(--d-ground); }

.post__actions { border-color: var(--d-line); padding-block: 12px; gap: 8px; }
.post__title { font-family: var(--d-display); font-size: var(--d-t-title); line-height: 1.12; }
.unitcard { background: var(--d-surface); border-color: var(--d-line); box-shadow: none; }
.fact dt { font-size: var(--d-t-label); }
.rsum { background: var(--d-surface); border-color: var(--d-line); }
.rsum__score b { font-family: var(--d-display); }
.bar__track, .meter { background: #ECE8E1; }
.bar__track i { background: var(--d-night); }
.rform { background: var(--d-surface); border-color: var(--d-line); border-radius: var(--d-r-card); }
.segpick { border-color: var(--d-line-strong); border-radius: 12px; }
.segpick__o span { min-height: 44px; display: flex; align-items: center; font-size: var(--d-t-meta); color: var(--d-ink); }
.segpick__o input:checked + span { background: var(--d-night); color: #fff; }
.review-i, .comment { border-color: var(--d-line); }
.review-i__qa .gc-label, .stat dt, .person__k .gc-label, .railbox .gc-label, .nav__head { font-size: var(--d-t-label); }
.comments--replies { border-color: var(--d-line); }

.vote { border-color: var(--d-line); background: var(--d-surface); color: var(--d-muted); min-height: 44px; }
.vote__n { font-family: var(--d-text); font-weight: 700; font-size: var(--d-t-meta); color: var(--d-ink); }
.vote--sm { min-height: 36px; }
.vote.is-on { border-color: var(--d-amber); background: var(--d-amber-tint); color: var(--d-amber-ink); }
.vote.is-on .vote__n { color: var(--d-amber-ink); }

.tag { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--d-tint); color: var(--d-label); font-size: var(--d-t-label); font-weight: 700; }
.tag--live, .tag--yes { background: var(--d-ok-tint); color: var(--d-ok); }
.tag--testers { background: var(--d-amber-tint); color: var(--d-amber-ink); }
.tag--warn, .tag--no { background: var(--d-danger-tint); color: var(--d-danger); }
.tag--host { background: #F1EEE8; color: var(--d-muted); }
.tag--featured { background: var(--d-action-tint); color: var(--d-action-ink); }
.chip { border-color: var(--d-line); background: var(--d-surface); font-size: var(--d-t-label); font-weight: 700; min-height: 28px; padding: 0 10px; }
.chip b { display: none; }
.founding, .role, .partner { font-family: var(--d-text); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; border-color: var(--d-line-strong); color: var(--d-muted); border-radius: 999px; padding: 1px 8px; }
.aibadge { font-family: var(--d-text); font-size: 12px; background: #CDEFFA; color: #0B3A4A; border-radius: 999px; padding: 1px 8px; }
.by__handle { color: var(--d-muted); }

.av { box-shadow: none; background: hsl(var(--av-h, 230) 38% calc(var(--av-l, 20%) + 4%)); border-radius: 999px; }
.av--xl { border-radius: 999px; }
.av__grid { display: none; }
.av__t { font-family: var(--d-text); font-weight: 800; color: #fff; }

.nav__badge { background: var(--d-amber); color: var(--d-ink); font-family: var(--d-text); font-size: 12px; font-weight: 800; min-width: 20px; height: 20px; }
.nav__badge--dot { border-color: var(--d-surface); }

.empty { border: 1.5px dashed var(--d-line-strong); border-radius: var(--d-r-card); background: transparent; padding: 40px 20px; }
.empty h1, .empty h2 { font-family: var(--d-display); font-size: var(--d-t-head); }
.empty__unit { display: none; }
.banner { background: var(--d-amber-tint); border-color: #F2C27A; color: var(--d-ink); border-radius: var(--d-r-c); max-width: none; }
.banner .i { color: var(--d-amber-ink); }
.notice { background: var(--d-surface); border-color: var(--d-line); border-radius: var(--d-r-c); font-size: var(--d-t-meta); }
.notice .i { color: var(--d-label); }
.notice--dev, .notice--draft { background: var(--d-amber-tint); border-color: #F2C27A; }

/* forms */
.form { gap: 22px; }
.field__label { font-weight: 700; font-size: var(--d-t-body); color: var(--d-ink); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.field__opt { font-weight: 600; font-size: var(--d-t-meta); color: var(--d-muted); }
.field__hint { font-size: var(--d-t-meta); color: var(--d-muted); }
.field__hint.is-ok { color: var(--d-ok); }
.field__err { font-size: var(--d-t-meta); color: var(--d-danger); }
.hub input[type="text"], .hub input[type="email"], .hub input[type="password"], .hub input[type="url"], .hub input[type="search"], .hub input:not([type]), .hub textarea, .hub select {
  min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--d-field); border-radius: var(--d-r-c);
  background: var(--d-surface); color: var(--d-ink); font-family: var(--d-text); font-size: var(--d-t-body);
}
.hub input:focus-visible, .hub textarea:focus-visible, .hub select:focus-visible { outline: none; border-color: var(--d-night); box-shadow: 0 0 0 3px #DCDDF5; }
.hub ::placeholder { color: #6E6878; }
.check { font-size: var(--d-t-meta); gap: 12px; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--d-action); }
.check b { font-weight: 700; }
.radio { min-height: 40px; font-size: var(--d-t-body); }
.radio input { width: 20px; height: 20px; accent-color: var(--d-action); }
.searchbar { border: 1.5px solid var(--d-field); border-radius: var(--d-r-c); background: var(--d-surface); padding: 2px 6px 2px 14px; }
.searchbar .i { color: var(--d-muted); }
.searchbar input { min-height: 48px !important; }
.authcard { background: var(--d-surface); border-color: var(--d-line); box-shadow: var(--d-shadow-lift); border-radius: 24px; }
.authcard__h { font-family: var(--d-display); font-size: var(--d-t-title); }
.authcard__alt a, .profile__links a, .mini__meta a, .railbox__more { color: var(--d-action-ink); }
.dialog { background: var(--d-surface); border-color: var(--d-line); border-radius: 22px; }
.dialog::backdrop { background: rgb(14 16 34 / 0.45); }
.dialog__h { font-family: var(--d-display); font-size: var(--d-t-head); }
.floorpick__o { border-color: var(--d-line); background: var(--d-surface); }
.floorpick__code { display: none; }
.postform__show, .postform__testers, .sharebox { background: var(--d-surface); border-color: var(--d-line); }
.mediapick__drop { background: var(--d-surface); border: 1.5px dashed var(--d-line-strong); border-radius: var(--d-r-card); min-height: 96px; justify-content: center; }
.mediapick__drop .i { color: var(--d-label); }
.mediapick__i { border-color: var(--d-line); background: var(--d-surface); }
.mediapick__i img, .mediapick__i video { background: var(--d-mat); }
.mediapick__cover { background: var(--d-night); color: #fff; font-size: 12px; }

/* the toggle switch (Get it reviewed) */
.toggle { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-r-card); cursor: pointer; }
.toggle__t { display: grid; gap: 2px; }
.toggle__t b { font-size: var(--d-t-body); }
.toggle__t span { font-size: var(--d-t-meta); color: var(--d-muted); }
.switch { position: relative; flex: none; width: 52px; height: 32px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: #CFC8BC; transition: background-color 160ms ease; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.25); transition: translate 180ms cubic-bezier(0.32, 0.72, 0, 1); }
.switch input:checked + i { background: var(--d-action); }
.switch input:checked + i::after { translate: 20px 0; }
.switch input:focus-visible + i { outline: 3px solid var(--d-label); outline-offset: 2px; }
.disclose { border-top: 1px solid var(--d-line); }
.disclose > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-weight: 700; cursor: pointer; list-style: none; }
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary .i { transition: rotate 160ms ease; color: var(--d-muted); }
.disclose[open] > summary .i { rotate: 180deg; }
.disclose__body { display: grid; gap: 22px; padding-bottom: 8px; }
.dock { position: sticky; bottom: calc(var(--d-tabs-h) + env(safe-area-inset-bottom)); z-index: 30; margin: 8px calc(var(--d-pad) * -1) 0; padding: 12px var(--d-pad); background: rgb(247 245 241 / 0.96); border-top: 1px solid var(--d-line); display: flex; gap: 10px; align-items: center; }
.dock .btn { flex: 1; }
.dock .btn--ghost { flex: 0 0 auto; }
body.is-focus .tabs { display: none; }
body.is-focus .dock { bottom: env(safe-area-inset-bottom); }
@media (min-width: 1000px) { .dock { position: static; margin: 8px 0 0; padding: 0; background: none; border: 0; justify-content: flex-end; } .dock .btn { flex: 0 0 auto; min-width: 200px; } }

/* people, alerts, profile, admin */
.person, .alert, .report, .stat, .team__m, .tierbar, .onshow__r, .outbox__m { background: var(--d-surface); border-color: var(--d-line); border-radius: var(--d-r-c); }
.alert__i { background: var(--d-tint); color: var(--d-label); }
.alert.is-new { background: var(--d-amber-tint); border-color: #F2C27A; }
.stat:first-child dd { color: var(--d-ink); }
.stat dd, .person__k b, .railbox__big b { font-family: var(--d-display); }
.profile__name { font-family: var(--d-display); font-size: var(--d-t-title); }
.person__rank, .leaders__n, .leaders__k, .bar__n { font-family: var(--d-text); font-size: var(--d-t-label); }
.atable th { font-family: var(--d-text); font-size: var(--d-t-label); font-weight: 700; }
.swatch { background: var(--d-surface); border-color: var(--d-line-strong); }
.swatch:has(input:checked) { border-color: var(--d-ink); background: var(--d-tint); }
.swatch__c { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); }
.stylepick__c { background: var(--d-surface); border-color: var(--d-line); }
.stylepick__c small { font-size: 12px; }
.hang--text { font-size: 12px; }
.storebadge { background: var(--d-ink); border-color: var(--d-ink); border-radius: 12px; }
.storebadge small { font-size: 12px; }
.newsgrid__b { border-color: var(--d-line); border-radius: 16px; }
.newsgrid__t { font-size: var(--d-t-body); }
.newsgrid__i .muted { font-size: var(--d-t-meta); }
.row__thumb span { font-family: var(--d-text); font-size: 12px; }
.outbox__text { font-size: 13px; }
.fit { background: var(--d-mat); }
.toast { background: var(--d-ink); color: #fff; border-radius: 14px; font-weight: 600; font-size: var(--d-t-meta); }
.toast--err { background: var(--d-danger-tint); color: var(--d-danger); border: 1px solid #F3B8B1; }
.toast--info { background: var(--d-surface); color: var(--d-ink); border: 1px solid var(--d-line); }
.toasts { bottom: calc(var(--d-tabs-h) + 16px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .toasts { bottom: 24px; } }

/* the old lobby pieces, kept for pages that still use them */
.rows { border-top: 0; display: grid; gap: 12px; }
.row { background: var(--d-surface); border: 1px solid var(--d-line); border-radius: var(--d-r-card); padding: 16px 18px; }
.row__title { font-family: var(--d-text); font-weight: 700; font-size: var(--d-t-body); }
.row--show .row__title a::before { display: none; }
.row__meta, .row__stat { font-size: var(--d-t-meta); color: var(--d-muted); }
.row__ex { font-size: var(--d-t-meta); color: var(--d-muted); }
.row__thumb { background: var(--d-mat); border: 0; }
.filters__a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--d-surface); border-color: var(--d-line); color: var(--d-ink); font-size: var(--d-t-meta); font-weight: 600; }
.filters__a[aria-current="true"] { background: var(--d-night); border-color: var(--d-night); color: #fff; }
.segnav { border-color: var(--d-line-strong); border-radius: 12px; background: var(--d-surface); }
.seg__btn { min-height: 40px; display: inline-flex; align-items: center; font-size: var(--d-t-meta); color: var(--d-muted); font-weight: 600; }
.seg__btn[aria-current="page"] { background: var(--d-night); color: #fff; }
.quick__a { background: var(--d-surface); border-color: var(--d-line); min-height: 44px; font-size: var(--d-t-meta); }

/* footer (inside the app on desktop) */
.dfoot { max-width: var(--d-max); margin: 24px auto 0; padding: 28px var(--d-pad) 32px; border-top: 1px solid var(--d-line); display: grid; gap: 10px; color: var(--d-muted); font-size: var(--d-t-meta); }
.dfoot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.dfoot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--d-ink); font-weight: 600; text-decoration: none; }
.dfoot a:hover { text-decoration: underline; }

/* the "Ask" and "Reviews" pages: one tab strip */
.segtabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 16px; background: #ECE8E1; }
.segtabs a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 12px; color: var(--d-muted); font-weight: 700; font-size: var(--d-t-meta); text-decoration: none; }
.segtabs a[aria-current="page"] { background: var(--d-surface); color: var(--d-ink); box-shadow: var(--d-shadow); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* fixes after the first look (9 Nov) */
@media (max-width: 999px) { .top__signin { display: none; } }
.world .sec__h, .hero .sec__h { color: #fff; }
.world .gc-label { color: var(--d-on-night-muted); }
.bp__by .founding, .bp__by .role, .bp__by .by__handle, .bp__by .partner { display: none; }
.bp__by .by__name { font-weight: 700; color: var(--d-ink); }
.shot--type { align-content: center; justify-items: center; gap: 10px; text-align: center; background: linear-gradient(135deg, #EEECF9, #E3E1F6); }
.shot--type .i { position: static; width: 44px; height: 44px; }
.shot--type b { font-family: var(--d-text); font-size: var(--d-t-meta); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--d-label); -webkit-line-clamp: 1; }
.profile-posts .rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.profile { gap: 16px 20px; }
.stats { gap: 10px; }
.stat { padding: 12px 14px; }
.stat dd { font-size: 24px; }
/* the front page: Sign in in the header on phones, Join beside it on a desktop */
.front .top__signin { display: inline-flex; align-items: center; }
@media (max-width: 999px) { .front .top__post { display: none; } }
.skip { background: var(--d-ink); color: #fff; }
.hub :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
.top__user { display: flex; align-items: center; gap: 2px; }
.field__opt { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tcard__main > span { display: block; }
.storebadges { display: flex; flex-wrap: wrap; gap: 8px; }
.storebadge { display: inline-grid; align-content: center; min-height: 52px; padding: 6px 16px; border-radius: 12px; background: var(--d-ink); color: #fff; text-decoration: none; line-height: 1.15; }
.storebadge small { font-size: 12px; color: #fff; }
.storebadge b { font-size: 17px; font-weight: 700; color: #fff; }
a.tag { min-height: 44px; }
.seg__btn { min-height: 44px; }
.authcard__mark { display: inline-flex; min-height: 44px; align-items: center; }
.cta-line .btn { margin-right: 4px; }
.front .top__post { background: var(--d-action-tint); color: var(--d-action-ink); }
.top__signin { text-decoration: none; }

/* the hero's walk through the building (hero-walk.js): the film sits over its own first frame and fades in once ready */
.hero__ph { position: relative; }
.hero__walk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; opacity: 0; transition: opacity 500ms ease; pointer-events: none; }
.hero__ph.is-walking .hero__walk { opacity: 1; }
@media (max-width: 999px) { .hero__photo { height: 236px; } }

/* the walk: the hero stays put under the top bar and the rest of the page slides up over it like a sheet,
   so the window keeps walking while you scroll (hero-walk.js adds .hero--walk and sets --walk-top) */
.rest { display: grid; gap: 40px; }
@media (min-width: 1000px) { .rest { gap: 56px; } }
.hero--walk { position: sticky; top: var(--walk-top, calc(var(--d-top-h) + 8px)); z-index: 0; }
.hero--walk + .rest {
  position: relative; z-index: 1; background: var(--d-ground);
  margin-inline: calc(var(--d-pad) * -1); padding: 28px var(--d-pad) 0;
  border-radius: 28px 28px 0 0; box-shadow: 0 -14px 30px -20px rgb(23 21 42 / 0.45);
}
.stackgap:has(> .hero--walk) { gap: 12px; }
@media (min-width: 1000px) { .stackgap:has(> .hero--walk) { gap: 40px; } .hero--walk + .rest { padding-top: 36px; } }

/* ================================================== onboarding (Nov 2026) ==
   docs/ONBOARDING.md. Pink stays the one "press here" (the card's next step); earned things (badges,
   the founding number) use amber, which means real activity; progress uses the label blue. */

/* the overlays (welcome, tier-up): a bottom sheet on phones, a centred card on wider screens */
.ob-shade { position: fixed; inset: 0; z-index: 85; display: flex; align-items: flex-end; justify-content: center; background: rgb(14 16 34 / 0.48); }
.ob-panel {
  width: 100%; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--d-surface); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgb(14 16 34 / 0.2);
  padding-bottom: env(safe-area-inset-bottom); animation: sheet-up 280ms cubic-bezier(0.32, 0.72, 0, 1);
}
@media (min-width: 700px) {
  .ob-shade { align-items: center; padding: 24px; }
  .ob-panel { max-width: 520px; border-radius: var(--d-r-hero); padding-bottom: 0; animation: ob-in 240ms ease-out; }
}
@keyframes ob-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .ob-panel { animation: none; } }

/* the welcome sheet */
.ob-welcome__top {
  position: relative; display: grid; gap: 4px; padding: 20px 24px 20px; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #2A2E78 0%, rgb(42 46 120 / 0) 60%), var(--d-night);
}
.ob-welcome__top .gc-label { color: var(--d-on-night-muted); }
.ob-found { display: flex; align-items: flex-start; gap: 2px; font-family: var(--d-display); font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -0.04em; }
.ob-found__hash { font-size: 30px; line-height: 1.15; color: var(--d-amber); }
.ob-welcome__skip {
  position: absolute; top: 10px; right: 12px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--d-on-night-muted); font: inherit; font-size: var(--d-t-meta); font-weight: 700; cursor: pointer;
}
.ob-welcome__skip:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
@media (min-width: 700px) { .ob-welcome__top { padding: 26px 28px 24px; } .ob-found { font-size: 76px; } .ob-found__hash { font-size: 38px; } }
.ob-welcome__p { color: var(--d-on-night-muted); max-width: 38ch; }
.ob-welcome__body { display: grid; gap: 6px; padding: 18px 16px 12px; }
.ob-choices { display: grid; gap: 8px; margin-top: 6px; }
.ob-choice {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 12px; text-align: left;
  background: var(--d-surface); border: 1.5px solid var(--d-line); border-radius: var(--d-r-card); color: var(--d-ink); font: inherit; cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
@media (hover: hover) and (pointer: fine) { .ob-choice:hover { border-color: var(--d-ink); box-shadow: var(--d-shadow); } }
.ob-choice:active { border-color: var(--d-ink); }
.ob-choice:disabled { opacity: 0.6; cursor: default; }
.ob-choice__t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ob-choice__t b { font-size: var(--d-t-body); line-height: 1.3; }
.ob-choice__t span { font-size: var(--d-t-meta); color: var(--d-muted); }
.ob-choice > .i { flex: none; color: var(--d-muted); }
.ob-choice .glyph { width: 44px; height: 44px; border-radius: 12px; }
@media (min-width: 700px) { .ob-welcome__body { padding: 22px 20px 18px; gap: 8px; } .ob-choice { min-height: 76px; padding: 12px 14px; gap: 14px; } .ob-choice .glyph { width: 48px; height: 48px; } }
.ob-skip { justify-self: center; min-height: 44px; margin-top: 2px; padding: 0 12px; }

/* the tier-up moment */
.ob-tier { display: grid; justify-items: center; gap: 8px; padding: 38px 24px 26px; text-align: center; color: #fff; background: radial-gradient(90% 70% at 50% 0%, #2A2E78 0%, rgb(42 46 120 / 0) 70%), var(--d-night); }
.ob-tier__glow { display: flex; gap: 12px; margin-bottom: 12px; }
.ob-tier__glow i { width: 14px; height: 14px; border-radius: 99px; background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 26px var(--c); }
.ob-tier__cap { color: var(--d-on-night-muted); }
.ob-tier__name { font-family: var(--d-display); font-weight: 700; font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; }
.ob-tier__p { color: var(--d-on-night-muted); font-size: var(--d-t-head); line-height: 1.35; }
.ob-tier__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.ob-tier__earned { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: var(--d-amber); font-size: var(--d-t-label); font-weight: 700; }
body.ob-open .toasts { display: none; }

/* badge medallions, award toasts and profile badges */
.ob-medal { flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--d-amber-tint); color: var(--d-amber-ink); box-shadow: inset 0 0 0 2px #F2C27A; }
.ob-medal--sm { width: 30px; height: 30px; }
.ob-medal--sm .i { width: 16px; height: 16px; }
.ob-medal--md { width: 40px; height: 40px; }
.ob-medal--lg { width: 56px; height: 56px; }
.ob-medal--lg .i { width: 28px; height: 28px; }
.toast--reward { background: var(--d-night); color: #fff; padding: 8px 16px 8px 8px; }
.toast--reward .ob-medal { background: var(--d-amber); color: var(--d-ink); box-shadow: none; }
.ob-toast { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.ob-toast b { font-weight: 700; }
.ob-toast span span { color: var(--d-on-night-muted); }
.ob-badges { list-style: none; margin: 6px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ob-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-line); font-size: var(--d-t-label); font-weight: 700; color: var(--d-ink); }
.alert--reward .alert__i { background: var(--d-amber-tint); color: var(--d-amber-ink); }
.alert__t .aibadge { margin-left: 6px; vertical-align: 1px; }

/* the "Get settled in" card on Home */
.ob-card { position: relative; gap: 16px; }
.ob-card__head { display: flex; align-items: center; gap: 14px; }
.ob-card__t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ob-card__x { flex: none; align-self: flex-start; margin: -8px -8px 0 0; color: var(--d-muted); }
.ob-ring { position: relative; flex: none; width: 64px; height: 64px; display: grid; place-items: center; }
.ob-ring__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ob-ring__track { fill: none; stroke: var(--d-tint); stroke-width: 6; }
.ob-ring__fill { fill: none; stroke: var(--d-label); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 600ms ease; }
.ob-ring b { position: relative; font-family: var(--d-display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.ob-next { display: grid; gap: 14px; padding: 16px; border-radius: var(--d-r-c); background: var(--d-ground); }
.ob-next__t { font-weight: 700; font-size: var(--d-t-body); }
.ob-next__r { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: var(--d-t-label); font-weight: 700; color: var(--d-label); }
.ob-next .btn { justify-self: start; }
@media (min-width: 700px) { .ob-next { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.ob-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ob-step a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px; border-radius: 10px; color: var(--d-ink); text-decoration: none; font-size: var(--d-t-meta); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .ob-step a:hover { background: var(--d-ground); } }
.ob-step__i { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--d-line-strong); }
.ob-step.is-next .ob-step__i { box-shadow: inset 0 0 0 2.5px var(--d-label); }
.ob-step.is-done .ob-step__i { background: var(--d-ok); color: #fff; box-shadow: none; }
.ob-step.is-done .ob-step__t { color: var(--d-muted); text-decoration: line-through; text-decoration-color: var(--d-line-strong); }
.ob-step__t { flex: 1; min-width: 0; }
.ob-step__r { flex: none; color: var(--d-muted); font-size: var(--d-t-label); font-weight: 700; }
.ob-tailor { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
@media (min-width: 1000px) { .ob-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 16px; } }
.ob-card--done .ob-card__head { align-items: flex-start; }

/* ======================================================== Play testers == */
/* docs/PLAY-TESTERS.md. Built from the cards, chips, tags and the onboarding ring above; these are the
   few extra pieces: a count line, a quiet progress bar, the night tracker and the testers list. */
.pt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pt-row > .sec__h, .pt-row > div { min-width: 0; }
.pt-card .pt-try { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-card { gap: 14px; }
.pt-count { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.pt-count > span { color: var(--d-muted); font-size: var(--d-t-meta); }
.pt-bar { height: 10px; border-radius: 99px; background: var(--d-tint); overflow: hidden; }
.pt-bar i { display: block; height: 100%; border-radius: inherit; background: var(--d-label); }
.pt-small { color: var(--d-muted); font-size: var(--d-t-meta); }
.hub input.pt-num { width: 96px; flex: none; }
.pt-checkin { border-color: var(--d-amber); box-shadow: 0 0 0 1px var(--d-amber) inset; }
.pt-hero { background: var(--d-night); border: 0; color: #fff; gap: 14px; }
.pt-hero .gc-label, .pt-hero p, .pt-hero .pt-small { color: var(--d-on-night-muted); }
.pt-hero h1 { flex: 1 1 12rem; font-family: var(--d-display); font-weight: 700; font-size: var(--d-t-title); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.pt-hero .ob-ring__track { stroke: #2A2E78; }
.pt-hero .ob-ring__fill { stroke: #fff; }
.pt-hero .ob-ring b { color: #fff; }
.pt-hero .pt-bar { background: #2A2E78; }
.pt-hero .pt-bar i { background: #fff; }
.pt-hero .pt-bar--days i { background: var(--d-amber); }
.pt-who { list-style: none; margin: 0; padding: 0; display: grid; }
.pt-who > li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--d-line); }
.pt-who > li > p { flex: 1 1 100%; }
.pt-who .linkbtn { font-size: var(--d-t-label); min-height: 32px; }
.pt-steps { margin: 0; padding-left: 1.4rem; display: grid; gap: 12px; }
.pt-steps li { padding-left: 4px; }
.pt-steps .btn { margin-top: 8px; }
.pt-steps ul { margin-top: 8px; }
.pt-split { display: grid; gap: 16px; }
.pt-split > div { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 1000px) { .pt-split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; } .pt-hero h1 { font-size: 44px; } }
.pt-hero .ob-ring b { font-size: 13px; }
.pt-steps code, .pt-try { overflow-wrap: anywhere; }
