/* Couplet — © 2026 lymnal. PolyForm Noncommercial 1.0.0 (see /LICENSE).
   Not licensed as AI/ML training, fine-tuning, evaluation, or retrieval data;
   text-and-data-mining rights reserved (/.well-known/tdmrep.json). */
/* ============================================================
   Couplet — a late-night parlor for two
   Palette: night-violet ink, deep emerald (player A), soft mint (player B)
   Type: Fraunces (display) + Rubik (UI/tiles)
   ============================================================ */

/* Self-hosted type (vendor/fonts, OFL — licenses alongside). No third-party
   request on load, and the parlor looks like itself the first time it opens
   with no signal. Latin + Latin-Extended subsets of the Google Fonts builds. */
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url("vendor/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url("vendor/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("vendor/fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("vendor/fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("vendor/fonts/rubik-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("vendor/fonts/rubik-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #191225;
  --ink-2: #241a33;
  --ink-3: #2f2344;
  --ink-4: #3a2c52;
  --line: #40325c;
  --linen: #f6efe3;
  --linen-dim: #b9aecb;
  --gold: #16794b;          /* player A — deep emerald */
  --gold-text: #22a565;  /* player A as TEXT — AA on ink/ink-2; --gold stays for fills and borders */
  --aqua: #6ee7b7;          /* player B — soft mint, her pick */
  --aqua-deep: #34b98d;
  --aqua-pale: #c3f3de;
  --teal: #5fd4c4;
  --moss: #57b96b;          /* correct tile */
  --brass: #d9b23d;         /* present tile */
  --absent: #453a5c;        /* absent tile */
  --straw: #e7c95c;         /* tangle diff 0 */
  --grp-moss: #7fbf6b;      /* tangle diff 1 */
  --sky: #6fc9d6;           /* tangle diff 2 — echoes the aqua family */
  --plum: #b98ce0;          /* tangle diff 3 */
  --blush: #e79fb8;         /* inklings */
  --danger: #e8697d;
  --ease-out: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.44, 1);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--linen);
  font-family: "Rubik", system-ui, sans-serif;
  overflow-x: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* candlelight + texture */
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(22, 121, 75, 0.14), transparent 60%),
    radial-gradient(90% 40% at 50% 112%, rgba(110, 231, 183, 0.08), transparent 60%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

#app { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 12px 16px 32px; }

.screen { min-height: calc(100dvh - 44px); display: flex; flex-direction: column; }
.hidden { display: none !important; }

/* ============ shared chrome ============ */
.bar { display: flex; align-items: center; gap: 10px; padding: 10px 0 4px; }
.screen-title {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0.02em;
}
.back-btn {
  background: none; border: 0; color: var(--linen-dim); font: inherit; font-size: 0.95rem;
  padding: 8px 10px 8px 0; cursor: pointer;
}
.back-btn:active { color: var(--linen); }
.room-chip {
  font-family: "Fraunces", serif; font-weight: 600; font-size: 0.95rem;
  background: var(--ink-2); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.06em;
}
.orb-duo { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* the signature: two presence orbs */
.orb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink-4); position: relative;
  transition: background 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; color: var(--linen-dim);
}
.orb.lit { color: var(--ink); }
.orb.you { outline: 1.5px solid rgba(246, 239, 227, 0.75); outline-offset: 2px; }
.orb-a.lit { background: var(--gold); box-shadow: 0 0 14px 2px rgba(22, 121, 75, 0.55); }
.orb-b.lit { background: var(--aqua); box-shadow: 0 0 14px 2px rgba(110, 231, 183, 0.55); }
.orb.lit { animation: breathe 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .orb.lit { animation: none; }
}
.orb.flare { animation: flare 0.7s ease; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes flare { 0% { transform: scale(1); } 35% { transform: scale(1.7); } 100% { transform: scale(1); } }

.hero-orbs { justify-content: center; margin: 0 auto 6px; gap: 14px; }
.hero-orbs .orb { width: 26px; height: 26px; }
.orb-heart { color: var(--aqua); font-size: 1rem; opacity: 0.9; }

/* ============ join ============ */
#screen-join { justify-content: center; text-align: center; }
.join-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 8vh; }

/* ---- ambient parlor (join screen only) --------------------------------
   Two aurora washes + twelve rising motes, like dust in a lamplit room.
   Transform/opacity only, so everything runs on the compositor; the whole
   block sits behind a no-preference gate, so reduced-motion gets a still
   parlor. .hidden on the screen is display:none, which stops every
   animation for free the moment you step in. Negative delays start each
   mote mid-flight — without them the sky is empty for the first 20s. */
#screen-join { position: relative; overflow: hidden; }
.join-inner { position: relative; z-index: 1; }
.join-sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.aurora { position: absolute; width: 74vmin; height: 74vmin; border-radius: 50%; }
.aurora-a { left: -18vmin; top: -12vmin; background: radial-gradient(closest-side, rgba(22, 121, 75, 0.17), transparent 70%); }
.aurora-b { right: -22vmin; bottom: -8vmin; background: radial-gradient(closest-side, rgba(110, 231, 183, 0.11), transparent 70%); }

.mote { position: absolute; top: 100%; width: 3px; height: 3px; }
.mote > span {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: var(--aqua-pale); opacity: 0.34;
  box-shadow: 0 0 7px 1px rgba(195, 243, 222, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
  .aurora-a { animation: auroraDrift 26s ease-in-out infinite alternate; }
  .aurora-b { animation: auroraDrift 34s ease-in-out infinite alternate-reverse; }
  .mote { animation: moteRise 22s linear infinite; }
  .mote > span { animation: moteSway 6s ease-in-out infinite alternate; }
}

@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8vmin, -5vmin, 0) scale(1.16); }
}
@keyframes moteRise {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateY(-112vh); opacity: 0; }
}
@keyframes moteSway {
  from { transform: translateX(-8px); }
  to { transform: translateX(8px); }
}

/* each mote gets its own lane, tempo, and phase */
.mote:nth-of-type(1)  { left: 6%;  animation-duration: 23s; animation-delay: -4s; }
.mote:nth-of-type(2)  { left: 15%; animation-duration: 19s; animation-delay: -12s; width: 2px; height: 2px; }
.mote:nth-of-type(3)  { left: 24%; animation-duration: 27s; animation-delay: -20s; }
.mote:nth-of-type(4)  { left: 33%; animation-duration: 17s; animation-delay: -7s; width: 4px; height: 4px; }
.mote:nth-of-type(5)  { left: 41%; animation-duration: 25s; animation-delay: -16s; width: 2px; height: 2px; }
.mote:nth-of-type(6)  { left: 52%; animation-duration: 21s; animation-delay: -2s; }
.mote:nth-of-type(7)  { left: 60%; animation-duration: 29s; animation-delay: -23s; }
.mote:nth-of-type(8)  { left: 68%; animation-duration: 18s; animation-delay: -10s; width: 4px; height: 4px; }
.mote:nth-of-type(9)  { left: 77%; animation-duration: 24s; animation-delay: -14s; width: 2px; height: 2px; }
.mote:nth-of-type(10) { left: 85%; animation-duration: 20s; animation-delay: -6s; }
.mote:nth-of-type(11) { left: 92%; animation-duration: 26s; animation-delay: -18s; }
.mote:nth-of-type(12) { left: 47%; animation-duration: 22s; animation-delay: -9s; width: 2px; height: 2px; }

/* a few warm ones so the field isn't monochrome */
.mote:nth-of-type(4) > span { background: var(--linen); box-shadow: 0 0 7px 1px rgba(246, 239, 227, 0.28); animation-delay: -2s; }
.mote:nth-of-type(9) > span { background: var(--blush); box-shadow: 0 0 7px 1px rgba(231, 159, 184, 0.3); animation-delay: -4s; }
.mote:nth-of-type(11) > span { background: var(--linen); box-shadow: 0 0 7px 1px rgba(246, 239, 227, 0.28); animation-delay: -3s; }
/* ---------------------------------------------------------------------- */
.wordmark {
  font-family: "Fraunces", serif; font-weight: 640; font-style: italic;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-size: clamp(2.6rem, 11vw, 3.6rem); letter-spacing: 0.01em;
  background: linear-gradient(100deg, var(--gold) 10%, var(--linen) 45%, var(--aqua) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark-sm { font-size: 2rem; text-align: center; margin-top: 10px; }
.switch-btn.danger-link { color: var(--danger); opacity: 0.9; }
.switch-btn.danger-link:hover { opacity: 1; }
.danger-btn { background: var(--danger); color: var(--ink); }
.danger-btn:disabled { opacity: 0.4; }
.join-teaser {
  margin: 0.4rem 0 1.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--linen-dim);
  opacity: 0.85;
  text-align: center;
}
.tagline { color: var(--linen-dim); font-size: 0.95rem; margin-bottom: 26px; letter-spacing: 0.14em; }

.join-q { font-family: "Fraunces", serif; font-size: 1.25rem; font-weight: 500; margin-bottom: 6px; }
.identity-row { display: flex; gap: 12px; width: 100%; max-width: 360px; }
.identity-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--ink-2); border: 1.5px solid var(--line); border-radius: var(--radius);
  color: var(--linen); font: inherit; font-size: 1.05rem; font-weight: 500;
  padding: 20px 10px; cursor: pointer; transition: transform 0.15s ease, border-color 0.2s;
}
.identity-btn:active { transform: scale(0.97); }
.id-a:hover, .id-a:focus-visible { border-color: var(--gold); }
.id-b:hover, .id-b:focus-visible { border-color: var(--aqua); }
.id-dot { width: 14px; height: 14px; border-radius: 50%; }
.id-a .id-dot { background: var(--gold); box-shadow: 0 0 10px rgba(22, 121, 75, 0.6); }
.id-b .id-dot { background: var(--aqua); box-shadow: 0 0 10px rgba(110, 231, 183, 0.6); }

.room-label { margin-top: 22px; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--linen-dim); }
.room-input {
  background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--linen); font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 600;
  text-align: center; letter-spacing: 0.12em; padding: 10px 14px; width: 180px; outline: none;
}
.room-input:focus { border-color: var(--gold); }
.room-hint { color: var(--linen-dim); font-size: 0.8rem; max-width: 280px; }
.join-facts { color: var(--linen-dim); font-size: 0.85rem; margin: 4px 0 18px; }
.join-foot { margin-top: 20px; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; }
.name-input {
  font-family: "Rubik", system-ui, sans-serif; font-weight: 500; letter-spacing: 0.02em;
  width: 230px; margin-bottom: 14px;
}
.name-input::placeholder { color: var(--linen-dim); opacity: 0.6; }
.identity-btn.picked { border-width: 2px; }
.id-a.picked { border-color: var(--gold); }
.id-b.picked { border-color: var(--aqua); }
.room-chip-sm { font-size: 0.72rem; padding: 4px 9px; letter-spacing: 0.04em; }

/* ============ lobby ============ */
.presence-line { text-align: center; color: var(--linen-dim); font-size: 0.9rem; min-height: 1.4em; margin: 2px 0 18px; }
.presence-line-sm { font-size: 0.78rem; margin: 4px 0 4px; }
.game-cards { display: flex; flex-direction: column; gap: 16px; }
.game-card {
  position: relative; display: flex; align-items: center; gap: 16px; text-align: left;
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
  color: var(--linen); font: inherit; cursor: pointer; box-shadow: var(--shadow);
  transition: transform 0.18s var(--ease-out), border-color 0.25s, box-shadow 0.25s var(--ease-out);
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* candles light one at a time — staggered arrival into the parlor */
.game-cards .game-card:nth-child(2) { animation-delay: 70ms; }
.game-cards .game-card:nth-child(3) { animation-delay: 140ms; }
.game-cards .game-card:nth-child(4) { animation-delay: 210ms; }
.game-cards .game-card:nth-child(5) { animation-delay: 280ms; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
}
.game-card:active { transform: scale(0.98); }
@media (hover: hover) {
  .game-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
  .game-card:hover:active { transform: translateY(-1px) scale(0.99); }
}
.card-duet:hover, .card-duet:focus-visible { border-color: var(--gold); }
.card-tangle:hover, .card-tangle:focus-visible { border-color: var(--plum); }
.card-motif { display: flex; gap: 4px; }
.mini-tile {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px;
  background: var(--absent); font-weight: 700; font-size: 0.85rem;
}
.mini-tile.t-g { background: var(--moss); color: #10241a; }
.mini-tile.t-y { background: var(--brass); color: #2a2208; }
.motif-dots { display: grid; grid-template-columns: repeat(2, 16px); gap: 6px; padding: 4px; }
.dot { width: 16px; height: 16px; border-radius: 5px; }
.d1 { background: var(--straw); } .d2 { background: var(--grp-moss); }
.d3 { background: var(--sky); } .d4 { background: var(--plum); }
.card-text { display: flex; flex-direction: column; gap: 3px; }
.card-title { font-family: "Fraunces", serif; font-style: italic; font-weight: 640; font-size: 1.5rem; }
.card-sub { color: var(--linen-dim); font-size: 0.85rem; }
.card-badge { margin-left: auto; font-size: 0.75rem; color: var(--linen-dim); }
.card-badge:not(:empty) {
  background: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}

.photo-frame {
  background: var(--linen); padding: 8px 8px 16px; border-radius: 14px;
  transform: rotate(-0.6deg); box-shadow: var(--shadow); margin: 0 0 18px;
  cursor: pointer; animation: bandIn 0.4s ease;
}
.photo-frame img { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 8px; }
.photo-add { margin-bottom: 16px; }

.motif-sparks { display: grid; grid-template-columns: repeat(2, 16px); gap: 4px; padding: 4px; }
.motif-sparks span { font-size: 14px; line-height: 16px; text-align: center; }
.motif-sparks span:nth-child(1) { color: var(--gold); }
.motif-sparks span:nth-child(2) { color: var(--aqua); }
.motif-sparks span:nth-child(3) { color: var(--linen); }
.motif-sparks span:nth-child(4) { color: var(--plum); }
.card-ritual:hover, .card-ritual:focus-visible { border-color: var(--aqua); }

/* attune */
.motif-dial { position: relative; width: 38px; height: 22px; }
.dial-arc {
  position: absolute; inset: 0 0 auto 0; height: 19px; width: 38px;
  border: 4px solid var(--plum); border-bottom: 0;
  border-radius: 19px 19px 0 0;
}
.dial-pin {
  position: absolute; left: 17px; bottom: 0; width: 4px; height: 14px;
  background: var(--linen); border-radius: 2px; transform: rotate(28deg); transform-origin: bottom center;
}
.card-attune:hover, .card-attune:focus-visible { border-color: var(--sky); }
.card-inklings:hover, .card-inklings:focus-visible { border-color: var(--blush); }
.motif-ink { display: flex; gap: 2px; font-family: "Fraunces", serif; font-size: 1.6rem; }
.motif-ink span:first-child { color: var(--blush); transform: rotate(-8deg); }
.motif-ink span:last-child { color: var(--linen-dim); transform: rotate(6deg) translateY(2px); }

/* ---------------- inklings ---------------- */
.ink-dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 14px; }
.ink-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); transition: background 0.3s, transform 0.3s; }
.ink-dot.hit { background: var(--blush); }
.ink-dot.miss { background: var(--absent); }
.ink-dot.now { background: var(--linen-dim); transform: scale(1.35); }
.ink-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; margin: 0 auto 14px; max-width: 480px;
  box-shadow: var(--shadow); animation: bandIn 0.35s ease;
}
.ink-prompt { font-family: "Fraunces", serif; font-style: italic; font-size: 1.3rem; text-align: center; margin-bottom: 6px; }
.ink-roles { text-align: center; color: var(--linen-dim); font-size: 0.82rem; margin-bottom: 14px; }
.ink-roles b.role-a { color: var(--gold-text); } .ink-roles b.role-b { color: var(--aqua); }
.ink-wait { text-align: center; color: var(--linen-dim); padding: 10px 0 4px; }
.ink-reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ink-reveal .four-panel { animation: bandIn 0.45s ease both; }
.ink-reveal .four-panel:last-child { animation-delay: 160ms; }
.ink-panel-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--linen-dim); margin-bottom: 4px; }
.ink-verdict { display: flex; gap: 10px; }
.ink-verdict button { flex: 1; }
.ink-recap { text-align: center; }
.ink-recap .big { font-family: "Fraunces", serif; font-size: 2.2rem; margin: 6px 0; }
.ink-lifetime { color: var(--linen-dim); margin-bottom: 16px; }

.attune-status { display: flex; justify-content: center; gap: 10px; margin: 8px 0 14px; }
.spectrum-labels {
  display: flex; justify-content: space-between; gap: 12px; margin: 0 2px 4px;
  font-family: "Fraunces", serif; font-style: italic; font-weight: 600; font-size: 1.02rem;
}
.spec-left { color: var(--gold-text); text-align: left; }
.spec-right { color: var(--aqua); text-align: right; }
.dial-wrap { width: min(92vw, 420px); margin: 0 auto; touch-action: none; user-select: none; }
.dial-wrap svg { display: block; width: 100%; height: auto; }
.dial-track { fill: none; stroke: var(--ink-3); stroke-width: 26; stroke-linecap: round; }
.dial-ticks line { stroke: var(--line); stroke-width: 1.5; }
.dial-band { fill: none; stroke-linecap: butt; opacity: 0.92; }
.dial-band.b2 { stroke: var(--absent); }
.dial-band.b3 { stroke: var(--brass); }
.dial-band.b4 { stroke: var(--moss); }
.dial-needle { stroke: var(--linen); stroke-width: 4; stroke-linecap: round; }
.dial-knob { fill: var(--linen); }
.dial-hub { fill: var(--ink-2); stroke: var(--line); stroke-width: 1.5; }
.attune-clue {
  min-height: 2.2em; text-align: center; font-family: "Fraunces", serif; font-style: italic;
  font-size: 1.5rem; margin: 6px 0 4px; overflow-wrap: anywhere;
}
.attune-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 16px; }
.attune-wait {
  color: var(--linen-dim); font-size: 0.92rem; text-align: center;
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 14px 18px;
  max-width: 320px;
}
.clue-input {
  background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--linen); font: inherit; font-size: 1rem; text-align: center;
  padding: 10px 14px; width: min(84vw, 320px); outline: none;
}
.clue-input:focus { border-color: var(--sky); }
.attune-points {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 640; font-size: 1.5rem;
  animation: bandIn 0.4s ease;
}

/* four things */
.ritual-date {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--linen-dim); margin: 10px 0 12px;
}
.four-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px;
  box-shadow: var(--shadow); animation: bandIn 0.35s ease;
}
.four-card + .four-card { margin-top: 12px; }
.four-lead { font-family: "Fraunces", serif; font-style: italic; font-size: 1.15rem; text-align: center; margin-bottom: 14px; }
.four-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.four-num { color: var(--linen-dim); font-family: "Fraunces", serif; font-style: italic; width: 1em; text-align: center; }
.four-input {
  flex: 1; background: var(--ink); border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--linen); font: inherit; font-size: 0.95rem; padding: 10px 12px; outline: none;
}
.four-input:focus { border-color: var(--aqua); }
.seal-btn { width: 100%; margin-top: 6px; padding: 12px; }
.four-panel { border-radius: 14px; padding: 14px 16px; }
.four-panel + .four-panel { margin-top: 10px; }
.four-panel.p-a { background: rgba(22, 121, 75, 0.09); border: 1px solid rgba(22, 121, 75, 0.4); }
.four-panel.p-b { background: rgba(110, 231, 183, 0.09); border: 1px solid rgba(110, 231, 183, 0.4); }
.four-panel.sealed { border-style: dashed; text-align: center; color: var(--linen-dim); font-size: 0.9rem; padding: 20px 16px; }
.four-panel h3 { font-family: "Fraunces", serif; font-style: italic; font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.four-panel.p-a h3 { color: var(--gold-text); }
.four-panel.p-b h3 { color: var(--aqua); }
.four-panel ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; line-height: 1.4; }
.ritual-streak { text-align: center; margin: 14px 0 4px; color: var(--linen-dim); font-size: 0.85rem; }
.ritual-streak b { color: var(--linen); font-family: "Fraunces", serif; }
.ritual-actions { display: flex; justify-content: center; margin-top: 12px; }

.arch-wrap { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; }
.arch-title {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--linen-dim); margin-bottom: 4px;
}
.arch-day { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; }
.arch-day summary {
  padding: 12px 14px; cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; font-size: 0.9rem;
}
.arch-day summary::-webkit-details-marker { display: none; }
.arch-day summary .arch-mark { color: var(--linen-dim); font-size: 0.8rem; }
.arch-day[open] summary { border-bottom: 1px solid var(--line); }
.arch-body { padding: 12px 14px; }

.stats-strip {
  display: flex; justify-content: center; gap: 22px; margin: 26px 0 10px;
  color: var(--linen-dim); font-size: 0.85rem;
}
.stats-strip b { color: var(--linen); font-family: "Fraunces", serif; font-size: 1.05rem; }

.notes-wall { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 4px; }
.note-card {
  border-radius: 12px; padding: 12px 14px 10px; font-size: 0.92rem; line-height: 1.45;
  box-shadow: var(--shadow); animation: bandIn 0.35s ease;
}
.note-card .note-meta {
  display: block; margin-top: 6px; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.65;
}
.note-card.n-a {
  background: linear-gradient(165deg, #3a2f1e, #332a1c);
  border: 1px solid rgba(22, 121, 75, 0.35); transform: rotate(-0.6deg);
}
.note-card.n-b {
  background: linear-gradient(165deg, #173733, #152f2c);
  border: 1px solid rgba(110, 231, 183, 0.35); transform: rotate(0.6deg);
}
.note-btn {
  background: none; border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: var(--linen-dim); font: inherit; font-size: 0.9rem; padding: 12px; cursor: pointer;
  margin-bottom: 6px;
}
.note-btn:hover { color: var(--linen); border-color: var(--aqua); }
.note-text {
  width: 100%; background: var(--ink); border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--linen); font: inherit; font-size: 0.95rem; padding: 10px 12px;
  resize: none; outline: none; margin-top: 10px;
}
.note-text:focus { border-color: var(--aqua); }

.invite-btn {
  margin-top: auto; background: none; border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: var(--linen-dim); font: inherit; font-size: 0.9rem; padding: 14px; cursor: pointer;
}
.invite-btn:hover { color: var(--linen); border-color: var(--aqua); }
.switch-btn {
  background: none; border: 0; color: var(--linen-dim); opacity: 0.7; font: inherit;
  font-size: 0.78rem; padding: 12px 6px; cursor: pointer;
}
.switch-btn:hover { opacity: 1; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 2px; }
.footer-dot { color: var(--linen-dim); opacity: 0.5; font-size: 0.78rem; }

/* ============ duet ============ */
.turn-pill {
  align-self: center; margin: 8px 0 14px; padding: 6px 16px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line);
  font-size: 0.85rem; color: var(--linen-dim);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.turn-pill.mine { color: var(--ink); font-weight: 600; }
.turn-pill.mine.p-a { background: var(--gold-text); border-color: var(--gold-text); }
.turn-pill.mine.p-b { background: var(--aqua); border-color: var(--aqua-deep); }

.board { display: grid; grid-template-rows: repeat(6, 1fr); gap: 6px; margin: 0 auto; width: min(88vw, 330px); }
.board-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tile {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px;
  background: var(--ink-2); border: 1.5px solid var(--line);
  font-weight: 700; font-size: 1.6rem; text-transform: uppercase;
  transition: transform 0.12s ease;
}
.tile.filled { border-color: var(--linen-dim); animation: pop 0.16s cubic-bezier(0.34, 1.56, 0.64, 1); }
.tile.ghost { color: transparent; position: relative; }
.tile.ghost::after {
  content: attr(data-ch); position: absolute; inset: 0; display: grid; place-items: center;
  font-style: italic; opacity: 0.65;
}
.tile.ghost.p-a::after { color: var(--gold-text); }
.tile.ghost.p-b::after { color: var(--aqua-pale); }
@keyframes pop { 50% { transform: scale(1.08); } }
.tile.flip { animation: flip 0.5s ease forwards; }
@keyframes flip {
  0% { transform: rotateX(0); }
  49% { transform: rotateX(90deg); background: var(--ink-2); border-color: var(--line); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}
.tile.st-g { background: var(--moss); border-color: var(--moss); color: #0e2416; }
.tile.st-y { background: var(--brass); border-color: var(--brass); color: #2a2208; }
.tile.st-x { background: var(--absent); border-color: var(--absent); color: var(--linen-dim); }
.board-row.shake { animation: shake 0.4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.board-row .by-mark { position: relative; }

/* row author dot */
.row-wrap { position: relative; }
.row-author {
  position: absolute; left: -16px; top: 50%; translate: 0 -50%;
  width: 7px; height: 7px; border-radius: 50%;
}
.row-author.p-a { background: var(--gold); }
.row-author.p-b { background: var(--aqua); }

.suggest-bar {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 36px; margin-top: 10px;
}
.suggest-label { color: var(--linen-dim); font-size: 0.8rem; }
.suggest-word {
  font-weight: 700; letter-spacing: 0.35em; font-size: 1.05rem; color: var(--linen);
}
.suggest-chip {
  background: var(--ink-2); border: 1.5px dashed var(--line); border-radius: 999px;
  color: var(--linen); font: inherit; font-size: 0.85rem; padding: 9px 16px;
  cursor: pointer; animation: bandIn 0.3s ease;
}
.suggest-chip.p-a { border-color: var(--gold); }
.suggest-chip.p-b { border-color: var(--aqua); }
.suggest-chip:active { transform: scale(0.96); }

.keyboard { margin: 12px auto 0; width: 100%; max-width: 480px; user-select: none; }
.kb-row { display: flex; justify-content: center; gap: 5px; margin-bottom: 7px; }
.key {
  flex: 1; max-width: 42px; height: 52px; border-radius: 7px; border: 0;
  background: var(--ink-3); color: var(--linen); font: inherit; font-weight: 600;
  font-size: 0.95rem; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.key:active { background: var(--ink-4); transform: scale(0.94); }
.key.wide { max-width: 64px; flex: 1.6; font-size: 0.75rem; }
.key.st-g { background: var(--moss); color: #0e2416; }
.key.st-y { background: var(--brass); color: #2a2208; }
.key.st-x { background: var(--absent); color: var(--linen-dim); opacity: 0.95; } /* 4.68:1 on ink; 0.85 was 4.14:1 */
.keyboard.locked { opacity: 0.45; pointer-events: none; }

.duet-footer {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto; padding-top: 18px;
}
.mode-tag {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--linen-dim);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
}
.ghost-btn {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--linen-dim); font: inherit; font-size: 0.85rem; padding: 8px 16px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.ghost-btn:hover { color: var(--linen); border-color: var(--linen-dim); }

.mode-tag-btn { background: none; font: inherit; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.mode-tag-btn:hover { color: var(--linen); border-color: var(--linen-dim); }
.picker-card { max-height: 82vh; overflow-y: auto; }
.picker-legend { display: flex; justify-content: center; gap: 14px; margin-top: 10px; font-size: 0.72rem; color: var(--linen-dim); }
.picker-legend .dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 3px;
  border: 1px solid var(--line); margin-right: 5px; vertical-align: -1px;
}
.picker-legend .dot.solved { background: var(--moss); border-color: transparent; }
.picker-legend .dot.played { background: var(--ink-4); }
.picker-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 14px; }
.picker-cell {
  aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; background: none;
  color: var(--linen-dim); font: inherit; font-size: 0.7rem; cursor: pointer; padding: 0;
}
.picker-cell.played { background: var(--ink-4); }
.picker-cell.solved { background: var(--moss); color: var(--ink); border-color: transparent; }
.picker-cell.current { outline: 2px solid var(--teal); outline-offset: 1px; color: var(--linen); }

/* ============ tangle ============ */
.tangle-status { display: flex; align-items: center; justify-content: space-between; margin: 10px 2px 14px; }
.hearts { font-size: 1rem; letter-spacing: 3px; }
.solved-bands { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.band {
  border-radius: 12px; padding: 10px 12px; text-align: center; color: #1c1626;
  animation: bandIn 0.45s ease;
}
@keyframes bandIn { from { transform: scale(0.9); opacity: 0; } }
.band .band-title { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.band .band-words { font-size: 0.85rem; opacity: 0.85; margin-top: 2px; }
.band.g0 { background: var(--straw); } .band.g1 { background: var(--grp-moss); }
.band.g2 { background: var(--sky); } .band.g3 { background: var(--plum); }

.tangle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.word-tile {
  aspect-ratio: 1.35; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--ink-2); color: var(--linen); font: inherit; font-weight: 600;
  display: grid; place-items: center; cursor: pointer; padding: 2px;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s;
  text-transform: uppercase; line-height: 1.05; text-align: center; word-break: break-word;
}
.word-tile.len-sm { font-size: 0.9rem; }
.word-tile.len-md { font-size: 0.72rem; }
.word-tile.len-lg { font-size: 0.6rem; }
.word-tile:active { transform: scale(0.94); }
.word-tile.sel { background: var(--linen); color: var(--ink); border-color: var(--linen); font-weight: 700; }
.word-tile.sel-partner-a { border-color: var(--gold); box-shadow: 0 0 0 1.5px var(--gold) inset; }
.word-tile.sel-partner-b { border-color: var(--aqua); box-shadow: 0 0 0 1.5px var(--aqua) inset; }
.tangle-grid.shake .word-tile.sel { animation: shake 0.4s ease; }

.tangle-controls { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.submit-btn {
  background: var(--linen); border: 0; border-radius: 999px; color: var(--ink);
  font: inherit; font-weight: 700; font-size: 0.9rem; padding: 9px 22px; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.submit-btn:disabled { opacity: 0.3; cursor: default; }
.submit-btn:not(:disabled):active { transform: scale(0.96); }

/* ============ emote fab ============ */
.emote-fab { position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 85; }
.emote-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--ink-2); color: var(--aqua); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
}
.emote-tray {
  position: absolute; bottom: 54px; right: 0; display: none; flex-direction: column; gap: 6px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 6px;
  box-shadow: var(--shadow);
}
.emote-tray.open { display: flex; animation: bandIn 0.2s ease; }
.emote-tray button { background: none; border: 0; font-size: 1.35rem; cursor: pointer; padding: 4px; }
.emote-tray button:active { transform: scale(1.3); }

/* floating hearts / emotes */
.float-layer { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.floater {
  position: absolute; bottom: 8%; font-size: 1.7rem; animation: floatUp 2.6s ease-out forwards;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(0.7) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-72vh) scale(1.25) rotate(14deg); opacity: 0; }
}

/* ============ toast & modal ============ */
.toast {
  position: fixed; top: calc(16px + env(safe-area-inset-top)); left: 50%; translate: -50% 0; z-index: 100;
  background: var(--linen); color: var(--ink); font-weight: 600; font-size: 0.9rem;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; transform: translateY(-8px);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.tappable { pointer-events: auto; cursor: pointer; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center;
  background: rgba(15, 10, 24, 0.72); backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal-card {
  width: min(86vw, 380px); background: linear-gradient(165deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line); border-radius: 20px; padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow); animation: bandIn 0.35s ease;
}
.modal-eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--linen-dim); }
.modal-title {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 640; font-size: 2rem; margin: 8px 0 10px;
  background: linear-gradient(100deg, var(--gold), var(--linen) 55%, var(--aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal-body { color: var(--linen-dim); font-size: 0.95rem; line-height: 1.5; white-space: pre-line; }
.modal-actions { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }

/* ============ motion & a11y ============ */
button:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
button, .key, .word-tile { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 700px) {
  .board { width: 340px; }
}

.notes-more {
  background: none; border: 1px dashed var(--line); border-radius: 10px;
  color: var(--linen-dim); font: inherit; font-size: 0.82rem;
  padding: 8px 12px; cursor: pointer; align-self: center;
}
.notes-more:active { color: var(--linen); }


/* ============ motion system ============ */
/* One vocabulary for the whole parlor: screens rise in, controls answer the
   finger within a frame or two, focus glows instead of jumping. Everything is
   transform/opacity/box-shadow — compositor work, no layout. Entrances sit
   behind the reduced-motion gate; sub-200ms press feedback stays, because
   controls that don't acknowledge a tap read as broken, not calm. */

@media (prefers-reduced-motion: no-preference) {
  /* .hidden is display:none, so this replays on every screen change —
     a free cross-screen transition with zero JS in the navigation path. */
  .screen { animation: screenIn 0.34s var(--ease-out); }
}
@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
}

/* controls acknowledge the finger */
.identity-btn,
.ghost-btn,
.submit-btn,
.note-btn,
.invite-btn,
.back-btn,
.switch-btn {
  transition: transform 0.14s var(--ease-out), border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.identity-btn:active,
.ghost-btn:active,
.submit-btn:active,
.note-btn:active,
.invite-btn:active { transform: scale(0.965); }
@media (hover: hover) {
  .identity-btn:hover { transform: translateY(-1px); }
  .submit-btn:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
}

/* typing feels mechanical in the good way */
.key { transition: transform 0.09s var(--ease-out), background 0.12s; }

/* Tangle: selection settles instead of snapping */
.word-tile { transition: transform 0.13s var(--ease-out), background 0.16s, border-color 0.16s, box-shadow 0.16s, color 0.16s; }
.word-tile.sel { transform: scale(1.045); }
.word-tile:active { transform: scale(0.95); }

/* inputs glow awake */
.room-input { transition: border-color 0.2s, box-shadow 0.25s var(--ease-out); }
.room-input:focus {
  outline: none; border-color: var(--aqua-deep);
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.14), 0 0 18px rgba(110, 231, 183, 0.1);
}

/* the modal arrives on the spring the tiles already use */
@media (prefers-reduced-motion: no-preference) {
  .modal-card { animation: modalIn 0.32s var(--ease-spring); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.955); }
}
/* ======================================= */

/* keyboard users get the same affordances the thumb does */
.photo-frame:focus-visible,
.dial-wrap svg:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 12px; }

/* the one-time home-screen nudge */
.install-hint {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
  margin: 12px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-2); color: var(--linen-dim); font-size: 0.85rem; text-align: center;
}

/* ============ book of words & invite ============ */
.wordbook { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.wordbook-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink-2); font-size: 0.82rem; color: var(--linen-dim);
}
.wordbook-row b { font-family: "Fraunces", serif; font-size: 1.05rem; letter-spacing: 0.08em; color: var(--linen); }
.wordbook-row.got b { color: var(--aqua-pale); }
.wordbook-row.missed b { text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 1.5px; }
.qr-wrap { width: min(60vw, 220px); margin: 14px auto 12px; padding: 10px; background: var(--linen); border-radius: 12px; }
.qr-wrap svg { display: block; width: 100%; height: auto; }
.invite-code { color: var(--linen-dim); font-size: 0.85rem; margin-top: 8px; }
.invite-code b { font-family: "Fraunces", serif; letter-spacing: 0.1em; color: var(--linen); }

/* ============ the parlor, in review ============ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 12px; }
.review-tile { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px 10px; }
.review-tile b { display: block; font-family: "Fraunces", serif; font-weight: 640; font-size: 1.6rem; line-height: 1.1; color: var(--aqua-pale); }
.review-tile span { display: block; margin-top: 4px; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--linen-dim); }
.review-lines { color: var(--linen-dim); font-size: 0.86rem; line-height: 1.55; }
.review-actions { flex-wrap: wrap; gap: 8px; }

/* ============ decks: redeem ============ */
.deck-token { width: 100%; margin-top: 12px; font-size: 1.05rem; letter-spacing: 0.12em; }
.decks-ask { margin-top: 18px; font-size: 0.85rem; }
.decks-ask a { color: var(--aqua-pale); }

/* the claim, quietly */
.wordmark .tm { font-family: "Rubik", system-ui, sans-serif; font-style: normal; font-weight: 500; font-size: 0.28em; vertical-align: super; margin-left: 0.15em; -webkit-text-fill-color: var(--linen-dim); color: var(--linen-dim); letter-spacing: 0; }
