@font-face {
  font-family: "Archivo";
  /* Latin subset of Archivo (OFL, see fonts/OFL.txt) with both variable axes: weight and width. */
  src: url("/fonts/Archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #f5efe6;
  --paper-deep: #ece4d8;
  --ink: #17130e;
  --ink-2: #3b342c;
  --ink-3: #5a5248;
  --faint: #a1988a;
  --line: #d9cfc1;
  --done: #9e1b1b; /* the brand red, used only as a signal: act now, the one primary action, the logo */
  --done-ink: #9e1b1b;
  --hot: #9e1b1b; /* time running out is a signal: red */
  --on-done: #ffffff;
  --field: #fffaf3;
  --hover: rgba(23, 19, 14, 0.04);
  --btn-hover: #2a241c;
  --done-hover: #861515;
  --pos-on-ink: #a59b8d;
  --toast-accent: #f4ede2;
  --scrim: rgba(23, 19, 14, 0.32);
  --shadow: 23, 19, 14;
  --avatar-l: 84%;
  --avatar-text-l: 24%;
  --them: #b07a3a; /* the other person in You vs @x: a warm ochre, validated against ink on paper (CVD ΔE 41) */
  --tabbar: 66px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: 24px;
  color-scheme: light dark;
}

/* Dark: same warmth, lights off. Follows the phone's setting. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120e;
    --paper-deep: #211c16;
    --ink: #f4ede2;
    --ink-2: #e0d7c9;
    --ink-3: #b3a898;
    --faint: #7a7062;
    --line: #352e25;
    --done: #c7302a;
    --done-ink: #e5574f;
    --hot: #e5574f;
    --on-done: #ffffff;
    --field: #1d1813;
    --hover: rgba(244, 237, 226, 0.05);
    --btn-hover: #ffffff;
    --done-hover: #d63a33;
    --pos-on-ink: #7d7365;
    --toast-accent: #15120e;
    --scrim: rgba(0, 0, 0, 0.55);
    --shadow: 0, 0, 0;
    --avatar-l: 26%;
    --avatar-text-l: 84%;
    --them: #b67d3c; /* validated against the light ink on dark paper (CVD ΔE 32) */
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink);
  font: 400 17px/1.45 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--paper); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- frame: one phone-width column everywhere ---------- */
.app { max-width: 460px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.screen {
  flex: 1; display: flex; flex-direction: column;
  padding: max(20px, env(safe-area-inset-top)) var(--pad) max(24px, env(safe-area-inset-bottom));
  animation: enter 0.35s var(--ease) both;
}
.loading { flex: 1; display: grid; place-items: center; color: var(--faint); font-size: 15px; animation: enter 0.4s 0.3s both; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-left: -4px; padding: 8px 4px; font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; border: 0; background: none; }
.back svg { width: 18px; height: 18px; }

.avatar {
  --h: 30; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  display: inline-grid; place-items: center; text-decoration: none;
  background: hsl(var(--h) 28% var(--avatar-l)); color: hsl(var(--h) 35% var(--avatar-text-l));
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.sm { width: 28px; height: 28px; font-size: 10px; }
.avatar.lg { width: 76px; height: 76px; font-size: 24px; }
.avatar.me { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; text-align: center;
  min-height: 64px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 19px; font-weight: 700; letter-spacing: 0.005em;
  transition: transform 0.14s var(--ease), background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 10px 24px -12px rgba(var(--shadow), 0.55);
}
.btn:active { transform: scale(0.975); box-shadow: 0 4px 12px -8px rgba(var(--shadow), 0.6); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.done { background: var(--done); color: var(--on-done); box-shadow: 0 10px 24px -12px rgba(158, 27, 27, 0.6); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.text-btn {
  display: block; margin: 10px auto 0; padding: 10px 14px; border: 0; background: none;
  font-size: 16px; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--faint);
  text-underline-offset: 4px;
}

/* ---------- today ---------- */
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 0 26px; }
.big {
  font-weight: 900; font-stretch: 62%; line-height: 0.8; letter-spacing: -0.015em;
  font-size: var(--big-size, 188px); transition: color 0.35s;
}
.is-done .big { color: var(--ink); }
.of { margin: 18px 0 0; font-size: 18px; color: var(--ink-2); }
.is-done .of { color: var(--ink); font-weight: 600; }
.quip { margin: 16px 0 0; max-width: 18ch; font-size: 27px; line-height: 1.12; font-weight: 800; font-stretch: 75%; text-wrap: balance; }


.tap {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 112px; height: 64px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 32px; line-height: 1; font-weight: 900; font-stretch: 66%;
  transition: transform 0.14s var(--ease), background 0.2s;
  box-shadow: 0 10px 24px -12px rgba(var(--shadow), 0.55);
}
.tap:active { transform: scale(0.95); }
.today .btn.done { margin-top: 14px; }
.news {
  display: flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 12px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--ink-2);
}
.news b { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news .chev { margin-left: auto; width: 18px; height: 18px; color: var(--faint); flex: none; }
.hint { margin: 6px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--paper-deep); font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; }
.install { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.install b { color: var(--ink-2); }
.install .link { border: 0; background: none; padding: 0; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.install .close { flex: none; margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--paper-deep); font-size: 18px; line-height: 1; color: var(--ink-3); }

/* ---------- stake on yourself ---------- */
.stake-line {
  display: block; margin: 12px auto 0; padding: 8px 14px; border: 0; background: none;
  font-size: 16px; font-weight: 700; color: var(--ink-2);
}
.stake-on { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.stake-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 2px; }
.stake-on p { margin: 0; font-size: 16px; color: var(--ink-2); }
.stake-on b { color: var(--ink); font-weight: 800; }
.stake-on .link { flex: none; border: 0; background: none; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.stake-on.won b { color: var(--done-ink); }
.stake-on.lost p { font-weight: 700; color: var(--ink); }
.stake-on + .stake-line { margin-top: 4px; }
.news.due { width: 100%; border-width: 0 0 1px; background: none; text-align: left; color: var(--hot); font-weight: 600; }
.news.due b { color: var(--hot); text-decoration: underline; text-underline-offset: 3px; }
.stake-chip {
  flex: none; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: 0.01em;
}
.row.me .stake-chip { background: var(--paper); color: var(--ink); }
.stake-public { display: block; align-self: flex-start; margin: -8px 0 4px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; }
.stake-public b { color: var(--toast-accent); font-weight: 800; }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; }
.amount {
  height: 84px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--field); color: var(--ink);
  font-size: 46px; line-height: 1; font-weight: 900; font-stretch: 62%;
  transition: transform 0.12s var(--ease), background 0.15s, border-color 0.15s;
}
.amount:active { transform: scale(0.96); }
.amount[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 10px 0 0; padding: 4px; border-radius: 999px; background: var(--paper-deep); }
.period { height: 48px; border: 0; border-radius: 999px; background: none; font-size: 16px; font-weight: 700; color: var(--ink-2); transition: background 0.15s; }
.period[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.stake-terms { min-height: 44px; margin: 16px auto 0; max-width: 32ch; font-size: 16px; font-weight: 600; color: var(--ink-2); text-wrap: balance; }
.stake-sheet .err { margin-bottom: 6px; }
.stake-sheet .fine { margin-top: 12px; font-size: 13px; text-wrap: balance; }
.stake-sheet .fine a { color: var(--ink-2); }

/* ---------- board ---------- */
.page-title { margin: 22px 0 0; font-size: 44px; line-height: 0.92; font-weight: 900; font-stretch: 62%; letter-spacing: -0.005em; text-wrap: balance; }
.board-head { display: flex; justify-content: space-between; margin: 22px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.list { list-style: none; margin: 4px 0 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 30px 40px 1fr auto; align-items: center; gap: 12px;
  margin: 0 -12px; padding: 10px 12px; border-radius: 16px; text-decoration: none;
  transition: background 0.15s;
}
.row .pos { font-size: 18px; font-weight: 800; font-stretch: 70%; color: var(--faint); text-align: right; }
.row .name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .val { font-size: 24px; font-weight: 800; font-stretch: 68%; }
.row.top3 .pos { color: var(--ink); }
.foot { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); text-wrap: pretty; }
.empty { margin: 40px 0; text-align: center; font-size: 22px; font-weight: 800; font-stretch: 75%; color: var(--ink-2); }

/* ---------- profile ---------- */
.who { display: flex; align-items: center; gap: 18px; margin: 18px 0 24px; }
.who h1 { margin: 0; font-size: 34px; line-height: 1; font-weight: 900; font-stretch: 64%; overflow-wrap: anywhere; }
.who p { margin: 6px 0 0; font-size: 15px; color: var(--ink-3); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 6px; }
.figures div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.figures b { display: block; font-size: 44px; line-height: 0.9; font-weight: 900; font-stretch: 62%; }
.figures span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.aside { margin: 14px 0 22px; font-size: 18px; font-weight: 700; font-stretch: 80%; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(31, 1fr); gap: 2.5px; }
.grid i { aspect-ratio: 1; border-radius: 2px; background: var(--paper-deep); }
.grid i.some { background: var(--faint); }
.grid i.done { background: var(--ink); }
.grid i.fut { background: none; box-shadow: inset 0 0 0 1px var(--line); }
.grid i.gap { visibility: hidden; }
.grid i.today { box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 3px var(--ink); }
.grid-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.spacer { flex: 1; min-height: 32px; }
.signout { display: block; margin: 14px auto 0; border: 0; background: none; font-size: 14px; color: var(--ink-3); }

/* ---------- agent ---------- */
.lede-sm { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.step { margin: 22px 0 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.code {
  margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--paper-deep); color: var(--ink);
  font: 500 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all;
  cursor: copy; user-select: all; transition: background 0.2s;
}
.code:active { background: var(--line); }

/* ---------- share ---------- */
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; margin-top: 22px; border-radius: 16px; background: #17130e; box-shadow: 0 24px 48px -24px rgba(var(--shadow), 0.6); }
.post-text { margin: 20px 0 0; font-size: 17px; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.dare { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 4px 4px 4px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--field); }
.dare span { flex: none; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.dare input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; outline: none; font-size: 17px; }

/* ---------- welcome ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; font-stretch: 66%; text-decoration: none; }
.wordmark svg { width: 24px; height: 24px; flex: none; }
.welcome .hero { align-items: flex-start; text-align: left; }
.welcome h1 { margin: 0; font-size: 76px; line-height: 0.86; font-weight: 900; font-stretch: 62%; letter-spacing: -0.01em; }
.welcome h1 em { font-style: normal; color: var(--done); }
.welcome .lede { margin: 22px 0 0; font-size: 20px; color: var(--ink-2); max-width: 24ch; text-wrap: pretty; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.notice { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--hot); text-align: center; }
.dev-login { display: flex; gap: 8px; }
.dev-login input { flex: 1; min-width: 0; min-height: 64px; padding: 0 22px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--field); font-size: 17px; }
.dev-login .btn { width: auto; }

/* ---------- sheet ---------- */
.sheet-slot { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.sheet-slot.open { pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: var(--scrim); animation: fade 0.25s both; }
.sheet {
  position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 460px; transform: translateX(-50%);
  padding: 30px var(--pad) max(28px, env(safe-area-inset-bottom)); border-radius: 30px 30px 0 0;
  background: var(--paper); animation: sheet-up 0.38s var(--ease) both; text-align: center;
}
.sheet h2 { margin: 0; font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 66%; }
.sheet .sub { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.stepper { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; margin: 26px 0 8px; }
.stepper button { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--field); font-size: 30px; font-weight: 500; line-height: 1; transition: transform 0.1s, border-color 0.2s; }
.stepper button:active { transform: scale(0.92); }
.stepper input {
  width: 100%; min-width: 0; border: 0; background: none; text-align: center; outline: none;
  font-size: 104px; line-height: 1; font-weight: 900; font-stretch: 62%; caret-color: var(--done);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.err { min-height: 22px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--hot); }

/* ---------- toast (one overlay, top) ---------- */
.toast-slot { position: fixed; left: 0; right: 0; top: calc(max(20px, env(safe-area-inset-top)) + 58px); z-index: 20; display: grid; justify-items: center; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 16px; max-width: 428px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; box-shadow: 0 14px 30px -14px rgba(var(--shadow), 0.7); animation: drop-in 0.4s var(--ease) both; }
.toast b { color: var(--toast-accent); font-weight: 700; }
.toast button { flex: none; border: 0; background: none; padding: 4px 8px; color: var(--paper); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.nowrap { white-space: nowrap; }

@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes sheet-up { from { transform: translate(-50%, 100%); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px); } }
@keyframes pop { 40% { transform: scale(1.06); } }
.pop { animation: pop 0.34s var(--ease); }

@media (min-width: 600px) {
  body { background: var(--paper-deep); }
  .app { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (hover: hover) {
  .btn:hover { background: var(--btn-hover); }
  .btn.done:hover { background: var(--done-hover); }
  .text-btn:hover { color: var(--ink); text-decoration-color: var(--ink); }
  .stake-line:hover { color: var(--ink); }
  .amount:hover { border-color: var(--ink); }
  .row:hover { background: var(--hover); }
  .signout:hover { color: var(--ink); text-decoration: underline; }
  .stepper button:hover { border-color: var(--ink); }
  .tap:hover { background: var(--btn-hover); }
}

/* ---------- landing: wide, sales first, the board is the proof ---------- */
.app.wide { max-width: none; background: var(--paper); box-shadow: none; }
.livebar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 2px; padding: 9px 16px; background: var(--ink); color: var(--paper); font-size: 14px; text-align: center;
}
.livebar b { color: var(--toast-accent); font-weight: 700; }
.live-dot { width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 0 rgba(199, 48, 42, 0.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(199, 48, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(199, 48, 42, 0); } }

.landing { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad) 40px; }
.lnav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.lnav nav { display: flex; gap: 22px; }
.lnav nav a { font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; }

.lhero { display: grid; gap: 40px; padding: 18px 0 56px; }
.lhero h1 { margin: 0; font-size: clamp(64px, 17vw, 112px); line-height: 0.86; font-weight: 900; font-stretch: 62%; letter-spacing: -0.01em; }
.lhero h1 em { font-style: normal; color: var(--done); }
.lhero .lede { margin: 22px 0 26px; max-width: 30ch; font-size: 20px; line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
.fine.left { text-align: left; }
.proof { margin: 22px 0 0; font-size: 15px; color: var(--ink-3); }
.proof b { color: var(--ink); font-weight: 800; font-size: 18px; font-stretch: 75%; }

.lboard { padding: 22px 20px 12px; border-radius: 28px; background: var(--field); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(var(--shadow), 0.5); }
.lboard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.lboard-unit { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.lboard h2 { margin: 0; font-size: 30px; line-height: 1; font-weight: 900; font-stretch: 64%; }
.lrow { display: grid; grid-template-columns: 30px 44px 1fr auto; align-items: center; gap: 12px; margin: 0 -8px; padding: 9px 8px; border-radius: 16px; text-decoration: none; }
.lrow .avatar { width: 44px; height: 44px; }
.lrow .pos { font-size: 20px; font-weight: 800; font-stretch: 70%; color: var(--faint); text-align: right; }
.lrow.top3 .pos { color: var(--ink); }
.lrow .name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .val { font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 64%; text-align: right; }
.list li:first-child .lrow { background: var(--paper); }
.lhero > * { min-width: 0; }
.dev-login .btn { flex: none; width: auto; padding: 0 24px; }
.today-dot { flex: none; width: 6px; height: 6px; background: var(--ink); }
.lrow.ghost { margin-top: 6px; border: 2px dashed var(--line); }
.lrow.ghost .name { color: var(--ink-2); }
.lrow.ghost .val { font-size: 17px; font-weight: 800; font-stretch: 80%; color: var(--ink); }
.ghost-avatar { background: var(--paper-deep); color: var(--ink-3); font-size: 22px; font-weight: 500; }

.lsteps, .lshow, .lfinal { padding: 56px 0; border-top: 1px solid var(--line); }
.lsteps h2, .lshow h2, .lfinal h2 { margin: 0 0 28px; font-size: clamp(40px, 9vw, 64px); line-height: 0.92; font-weight: 900; font-stretch: 62%; text-wrap: balance; }
.lsteps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.lsteps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.lsteps li > b { font-size: 72px; line-height: 0.8; font-weight: 900; font-stretch: 62%; color: var(--done); }
.lsteps h3 { margin: 4px 0 6px; font-size: 26px; line-height: 1.05; font-weight: 800; font-stretch: 72%; }
.lsteps p { margin: 0; font-size: 17px; color: var(--ink-2); }
.lshow img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(var(--shadow), 0.55); transform: rotate(-1.2deg); }
.lshow p { margin: 22px 0 0; font-size: 17px; color: var(--ink-2); }
.lfinal { text-align: center; padding-bottom: 72px; }
.lfinal h2 { margin-bottom: 10px; }
.lfinal p { margin: 0 0 26px; font-size: 20px; color: var(--ink-2); }
.btn.inline { display: inline-flex; width: auto; min-width: 260px; }
.lfoot { display: flex; gap: 22px; justify-content: center; padding: 22px 0 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.lfoot a { color: var(--ink-3); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px var(--pad) max(14px, env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 70%, transparent); animation: rise 0.3s var(--ease) both; }
.sticky-cta[hidden] { display: none; }

.prose { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.prose p { margin: 0 0 14px; }
.prose h2 { margin: 26px 0 8px; font-size: 22px; line-height: 1.1; font-weight: 900; font-stretch: 70%; color: var(--ink); }
.terms .lede-sm { font-weight: 600; }
.lstake { padding: 56px 0; border-top: 1px solid var(--line); }
.lstake h2 { margin: 0 0 14px; font-size: clamp(40px, 9vw, 64px); line-height: 0.92; font-weight: 900; font-stretch: 62%; }
.lstake p { margin: 0 0 26px; max-width: 30ch; font-size: 20px; color: var(--ink-2); text-wrap: pretty; }

@media (min-width: 900px) {
  .lhero { grid-template-columns: 1fr 1.02fr; align-items: start; gap: 56px; padding-top: 40px; }
  .lhero-copy { position: sticky; top: 90px; }
  .lsteps ol { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .lsteps li { grid-template-columns: 1fr; }
  .lshow { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  .lshow p { margin: 0; }
  .sticky-cta { display: none; }
}
@media (min-width: 600px) { body:has(.app.wide) { background: var(--paper); } }

/* ---------- precise details: tick scale, two-digit ranks, hairlines ---------- */
.row .pos, .lrow .pos { letter-spacing: 0.02em; }
.list li + li .row, .list li + li .lrow { box-shadow: inset 0 1px 0 var(--line); border-radius: 0; }
.list li:first-child .lrow { border-radius: 16px; }
.row.me, .list li + li .row.me { border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: 0 12px 28px -14px rgba(var(--shadow), 0.6); }
.row.me .pos, .row.me .sub { color: var(--pos-on-ink); }
.row.me .avatar.me { box-shadow: none; }

/* ---------- tabs: bottom bar on phones, top nav inside the column on wide screens ---------- */
.tabs {
  position: fixed; left: 50%; bottom: 0; z-index: 25; width: 100%; max-width: 460px; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px 8px max(6px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
}
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-3); text-decoration: none;
}
.tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { color: var(--ink); font-weight: 800; }
.tab.on svg { stroke-width: 2.3; }
.tab.on::before { content: ""; position: absolute; top: -5px; left: 50%; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px; background: var(--ink); }
.app.has-tabs .screen { padding-bottom: calc(var(--tabbar) + 22px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) {
  .tabs {
    position: sticky; top: 0; left: auto; bottom: auto; transform: none; max-width: none;
    grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px;
    padding: 10px var(--pad); border-top: 0; border-bottom: 1px solid var(--line);
  }
  .tab { flex-direction: row; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 15px; }
  .tab svg { width: 20px; height: 20px; }
  .tab.on { background: var(--ink); color: var(--paper); }
  .tab.on::before { display: none; }
  .app.has-tabs .screen { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* ---------- today: reps first, one column per exercise ---------- */
.top .page-title { margin: 0; }
.quiet { font-size: 15px; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
.today .hero { padding: 6px 0 18px; }
.today .quip { margin: 0; }
.hero-when { margin: 18px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.today-switch { width: 100%; margin-top: 12px; }
.today-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.segcount { min-width: 1.6em; padding: 1px 7px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 13px; font-weight: 800; }
.today-switch button[aria-checked="true"] .segcount { background: color-mix(in srgb, currentColor 16%, transparent); color: inherit; }
.excol { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; padding-top: 22px; }
.exrank { color: inherit; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.excol .big { line-height: 0.8; font-size: var(--big-size, 176px); }
.excol .big.pop { animation: pop 0.22s var(--ease); }
.exweek { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.extarget { margin-top: 4px; white-space: pre-line; font-size: 14px; line-height: 1.3; color: var(--ink-3); text-wrap: balance; }
.tapwrap { position: relative; width: 100%; padding-top: 20px; }
.excol .tap { width: 100%; min-width: 0; height: 76px; font-size: 38px; }
.pending {
  position: absolute; right: 8px; top: 5px; padding: 1px 8px; border-radius: 999px; background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--ink); font-size: 13px; font-weight: 800; opacity: 0; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s var(--ease); pointer-events: none;
}
.pending.on { opacity: 1; transform: none; }
.steps { display: flex; gap: 2px; width: 100%; margin-top: 8px; padding: 3px; border-radius: 999px; background: var(--paper-deep); }
.steps button { flex: 1; height: 32px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 700; color: var(--ink-3); transition: background 0.15s; }
.steps button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(var(--shadow), 0.18); }
.other { margin-top: 6px; padding: 6px 0; border: 0; background: none; font-size: 14px; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.streakline { margin: 22px 0 0; font-size: 15px; color: var(--ink-3); text-wrap: balance; }
.streakline b { color: var(--ink); font-weight: 800; }
.streakline .hot { color: var(--hot); font-weight: 700; }
.streakline.ok::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; background: var(--ink); vertical-align: middle; }
.streakline.pop { animation: pop 0.34s var(--ease); }
.duel {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 18px; padding: 16px 0 2px;
  border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--ink-2);
}
.duel b { color: var(--ink); font-weight: 800; }
.duel strong { color: var(--ink); font-weight: 800; }
.duel .soft { color: var(--ink-3); }
.duel .chev { margin-left: auto; width: 18px; height: 18px; color: var(--faint); flex: none; }
.rules-link { display: block; align-self: center; margin-top: 14px; font-size: 14px; }

/* ---------- segmented controls ---------- */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 4px; border-radius: 999px; background: var(--paper-deep); }
.seg button { height: 44px; border: 0; border-radius: 999px; background: none; font-size: 16px; font-weight: 700; color: var(--ink-2); transition: background 0.15s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.board-controls { margin-top: 18px; }
.board-controls .seg + .seg { margin-top: 8px; width: 70%; }
.board-controls .seg + .seg button { height: 34px; font-size: 14px; }
.board-controls .seg + .seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(var(--shadow), 0.18); }

/* ---------- board ---------- */
.find-me { flex: none; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; font-size: 14px; font-weight: 800; }
.board-gap { margin: 18px 0 0; font-size: 17px; line-height: 1.35; color: var(--ink-2); text-wrap: balance; }
.board-gap b { color: var(--ink); font-weight: 800; }
.who-col { display: flex; flex-direction: column; min-width: 0; }
.who-col .name { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { font-size: 13px; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub .tag { font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.row.me .sub .tag { color: var(--paper); }
.row .val { font-size: 28px; font-weight: 900; font-stretch: 64%; }
.list li.me-li { position: sticky; top: 8px; bottom: calc(var(--tabbar) + 10px + env(safe-area-inset-bottom)); z-index: 2; }
.list li.skip { margin: 6px 0; text-align: center; color: var(--faint); }
.row.flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 0%, 100% { transform: none; } 20% { transform: scale(1.035); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); } 60% { transform: none; } }
@media (min-width: 760px) { .list li.me-li { top: 66px; bottom: 14px; } }
.board-head { margin-top: 18px; }
.foot a { color: var(--ink-2); }
.refetching { opacity: 0.55; transition: opacity 0.2s; }
.lboard .seg { margin: 10px 0 6px; }
.lboard .seg button { height: 38px; font-size: 15px; }
.lrow .who-col .name { font-size: 17px; font-weight: 600; }

/* ---------- profile: reps first ---------- */
.repfigs { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 6px; }
.repfig { min-width: 0; }
.repfig + .repfig { padding-left: 16px; border-left: 1px solid var(--line); }
.repfig-name { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.repfig b { display: block; margin-top: 8px; font-size: 64px; line-height: 0.85; font-weight: 900; font-stretch: 62%; }
.repfig span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.repfig span a { color: var(--ink-2); font-weight: 700; }
.repfig em { display: block; margin-top: 14px; font-style: normal; font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 66%; }
.profile .figures { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.profile .figures b { font-size: 32px; }
.rival-btn { min-height: 52px; margin: -6px 0 22px; font-size: 17px; }
.rival-on { margin: -8px 0 20px; font-size: 15px; color: var(--ink-2); }
.rival-on .link, .link { border: 0; background: none; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.h2h { margin: 10px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.h2h-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; }
.h2h h2 { margin: 0; font-size: 30px; line-height: 1; font-weight: 900; font-stretch: 64%; overflow-wrap: anywhere; }
.legend { display: flex; gap: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.key { display: inline-block; width: 14px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.key.you { background: var(--ink); }
.key.them { background: var(--them); }
.h2h-sum { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.h2h-ex { margin-top: 22px; }
.h2h-ex h3 { margin: 0 0 4px; font-size: 22px; line-height: 1; font-weight: 900; font-stretch: 66%; }
.cmp-row { margin-top: 10px; }
.cmp-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.cmp-lead { color: var(--ink); font-weight: 800; }
.cmp-nums { display: grid; grid-template-columns: minmax(44px, auto) 1fr minmax(44px, auto); align-items: center; gap: 10px; margin-top: 2px; }
.cmp-nums b { font-size: 26px; line-height: 1.1; font-weight: 900; font-stretch: 64%; }
.cmp-nums .them-num { text-align: right; }
.cmp-bar { display: flex; gap: 2px; height: 8px; }
.cmp-bar i { display: block; min-width: 3px; border-radius: 4px; }
.cmp-bar .you { background: var(--ink); }
.cmp-bar .them { background: var(--them); }
.cmp-bar.empty i { opacity: 0.25; }
.me-links { display: flex; flex-direction: column; margin-top: 4px; }
.me-links a { display: grid; grid-template-columns: 1fr auto; padding: 13px 0; border-top: 1px solid var(--line); text-decoration: none; }
.me-links span { font-size: 17px; font-weight: 700; }
.me-links small { grid-row: 2; font-size: 14px; color: var(--ink-3); }
.me-links .chev { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 18px; height: 18px; color: var(--faint); }

/* ---------- charts (single axis, thin marks, recessive chrome; text in ink tokens) ---------- */
.chart { position: relative; margin-top: 12px; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.chart-svg:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.grid-line { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.base-line { stroke: var(--faint); stroke-width: 1; shape-rendering: crispEdges; }
.bar { fill: var(--ink); transition: opacity 0.12s; }
.hovering .bar { opacity: 0.32; }
.hovering .bar.lit { opacity: 1; }
.min-line { stroke: var(--ink-3); stroke-width: 1; shape-rendering: crispEdges; }
.avg-line { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.axis-text, .ref-text, .avg-text, .value-text, .end-text { font-family: var(--font); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.axis-text { fill: var(--ink-3); }
.ref-text { fill: var(--ink-3); }
.avg-text { fill: var(--ink); font-weight: 800; }
.value-text { fill: var(--ink-2); font-weight: 800; }
.ref-text, .avg-text, .value-text { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.end-text { fill: var(--ink); font-size: 12px; font-weight: 800; }
.end-text.muted { fill: var(--ink-2); }
.today-mark { fill: var(--done); }
.crosshair { stroke: var(--ink-3); stroke-width: 1; }
.series { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.series.you { stroke: var(--ink); }
.series.them { stroke: var(--them); }
.end-dot, .hover-dot { stroke: var(--paper); stroke-width: 2; }
.end-dot.you, .hover-dot.you { fill: var(--ink); }
.end-dot.them, .hover-dot.them { fill: var(--them); }
.chart-tip {
  position: absolute; left: 0; top: 0; z-index: 3; display: flex; flex-direction: column; gap: 1px; padding: 8px 11px;
  border-radius: 10px; background: var(--field); color: var(--ink-2); font-size: 13px; line-height: 1.35; white-space: nowrap;
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(var(--shadow), 0.5); pointer-events: none;
}
.chart-tip[hidden] { display: none; }
.tip-title { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.tip-row b { color: var(--ink); font-weight: 800; font-size: 15px; }
.tip-key { display: inline-block; width: 12px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.chart-empty { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.chart-title { margin: 8px 0 0; font-size: 14px; color: var(--ink-3); }
.show-numbers { padding: 8px 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.numbers-slot { max-height: 320px; overflow: auto; }
.numbers { width: 100%; border-collapse: collapse; font-size: 14px; }
.numbers th, .numbers td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.numbers thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.numbers .n { text-align: right; }

/* ---------- stats ---------- */
.stats > .seg { margin-top: 18px; }
.stats-streak { margin: 14px 0 0; font-size: 15px; color: var(--ink-3); }
.stats-streak b { color: var(--ink); font-weight: 800; }
.stat-block { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.stat-block h2 { margin: 0; font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 64%; }
.statfigs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 0; }
.statfigs div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.statfigs b { display: block; font-size: 34px; line-height: 0.9; font-weight: 900; font-stretch: 62%; }
.statfigs span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-3); }

/* ---------- log ---------- */
.logday { margin-top: 24px; }
.logday h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-size: 21px; line-height: 1.1; font-weight: 900; font-stretch: 66%; }
.logday h2 small { font-size: 13px; font-weight: 600; font-stretch: 100%; color: var(--ink-3); }
.logday ul { list-style: none; margin: 0; padding: 0; }
.logrow { display: grid; grid-template-columns: 52px 1fr auto auto; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font-size: 16px; }
.logrow .time { font-size: 14px; color: var(--ink-3); }
.logrow .amt { font-size: 21px; font-weight: 900; font-stretch: 66%; }
.logrow .edit { font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
div.logrow { grid-template-columns: 52px 1fr auto; }
.locked .logrow { color: var(--ink-2); }
.lock-note { margin: 28px 0 -8px; padding: 10px 14px; border-radius: 12px; background: var(--paper-deep); font-size: 14px; color: var(--ink-2); }
.sheet .sub a { color: var(--ink-2); font-weight: 600; }

/* ---------- what counts ---------- */
.rule { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.rule h2 { margin: 0 0 6px; font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 64%; }
.rule p { margin: 0; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.rule-art { width: 92px; height: 92px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rule-art .bar-line { stroke-width: 4; }
.rule-art .mark-line { stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 2 4; }

@media (hover: hover) {
  .tab:hover { color: var(--ink); }
  .seg button:hover:not([aria-checked="true"]), .steps button:hover:not([aria-checked="true"]) { color: var(--ink); }
  .duel:hover .chev, .me-links a:hover .chev { color: var(--ink); }
  .logrow:hover .edit, .quiet:hover, .other:hover, .show-numbers:hover { color: var(--ink); }
}

@media (prefers-color-scheme: dark) {
  .steps button[aria-checked="true"], .board-controls .seg + .seg button[aria-checked="true"] { background: #3d342a; color: var(--ink); box-shadow: none; }
}

/* ---------- settings ---------- */
.settings-head { margin: 26px 0 0; font-size: 26px; line-height: 1; font-weight: 900; font-stretch: 64%; }
.target-row { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.target-row legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.target-row .seg { width: 60%; }
.target-row .seg button { height: 36px; font-size: 14px; }
.target-amount { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 4px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--field); }
.target-amount input { flex: 1; width: 100%; min-width: 0; height: 48px; border: 0; background: none; outline: none; font-size: 22px; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.target-amount input::-webkit-outer-spin-button, .target-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.target-amount span { font-size: 15px; color: var(--ink-3); }
.settings form .err { margin-top: 16px; }
