/* /yours/ — everything a visitor keeps on the site, in one place (UX run-16, DESIGN.md § 13). A v2 page
   on the css/toys.css tokens: putty surface, physical depth, springy keys, light and dark, Geist + Geist
   Mono like the family pages. One accent, cobalt (the brand tile: you and Vasya): the «Waiting for you»
   slab and the dots on what waits. Kept places are neutral cards; places never started are dashed;
   «Take it with you» is an ink slab. The shared header floats fixed over the page; the body clears it. */
body.yr {
  --t-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --yr-gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --yr-cobalt: #2f55ff;
  --yr-ink-slab: #141414;
  --yr-slab-text: #f2f0ea;
  --yr-slab-text-2: #bdbab1; /* 9.4:1 on the ink slab */
  padding-top: var(--header-h);
  font-family: var(--t-display);
  font-variation-settings: normal;
}
@media (prefers-color-scheme: dark) {
  body.yr { --yr-ink-slab: #0e0e0d; }
}
html:has(body.yr) { scroll-padding-top: calc(var(--header-h) + 18px); }
body.yr .t-wrap,
body.yr .container-wide { width: min(100% - 2 * var(--yr-gutter), 1240px); }
.yr-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Until yours.js has drawn the cards, everything under the masthead is laid out but not painted. */
html.yr-wait .yr-main > section:not(.yr-mast),
html.yr-wait .site-foot { visibility: hidden; animation: yr-show 0s 3s forwards; }
@keyframes yr-show { to { visibility: visible; } }
@media (scripting: none) { .yr-carry, .yr-forget, .yr-sum { display: none; } }
.yr-noscript { margin: 0 0 32px; padding: 18px 20px; border-radius: var(--t-r-m); background: var(--t-card); box-shadow: inset 0 0 0 2px var(--t-line); }

/* Masthead */
.yr-main { padding-bottom: 40px; }
.yr-mast { padding: 36px 0 28px; }
.yr-kicker { margin: 0 0 14px; color: var(--t-ink-2); }
.yr-mast h1 {
  margin: 0; max-width: 11ch;
  font-size: 2.75rem; line-height: .94; font-weight: 800; letter-spacing: -.02em; text-wrap: balance;
  animation: yr-rise .7s var(--t-spring) both;
}
.yr-lede { margin: 20px 0 0; max-width: 54ch; font-size: 1.125rem; line-height: 1.4; color: var(--t-ink-2); text-wrap: pretty; }
.yr-lede strong { color: var(--t-ink); font-weight: 600; }
.yr-sum {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; min-height: 40px; padding: 8px 14px;
  border-radius: 999px; background: var(--t-card); box-shadow: inset 0 0 0 1.5px var(--t-line);
  font: 500 .8125rem/1.35 var(--t-mono); letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.yr-sum.has-wait::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--yr-cobalt); box-shadow: 0 0 0 3px rgba(47, 85, 255, .22); }
@keyframes yr-rise { from { transform: translateY(28px) scale(.97); } }
@media (min-width: 380px) { .yr-mast h1 { font-size: 3rem; } }
@media (min-width: 600px) { .yr-mast h1 { font-size: 4.5rem; } .yr-lede { font-size: 1.3125rem; } }
@media (min-width: 1100px) { .yr-mast { padding-top: 56px; } .yr-mast h1 { font-size: 5.75rem; } }

/* «Tell me» (UX run-20, DESIGN.md § 13a): one line at the top of the page, and it lands where it belongs.
   An ink slab like «Take it with you», with the brand's cobalt for the send key, the picked place and
   the words that decided it. The field is off-white with ink text in both schemes; the marks sit behind
   the visitor's own text in a backdrop that scrolls with it. */
@media (scripting: none) { .yr-tell { display: none; } }
@media (min-width: 1000px) {
  .yr-mast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: 48px; align-items: start; }
}
.yr-tell {
  position: relative; margin-top: 28px; padding: 22px 16px 18px; border-radius: 34px;
  background: var(--yr-ink-slab); color: var(--yr-slab-text);
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, .05), 0 20px 40px -24px rgba(0, 0, 0, .5);
  animation: yr-rise .7s .08s var(--t-spring) both;
}
@media (prefers-color-scheme: dark) { .yr-tell { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); } }
@media (min-width: 600px) { .yr-tell { padding: 26px 24px 22px; } }
@media (min-width: 1000px) { .yr-tell { margin-top: 0; padding: 28px 28px 24px; } }
.yr-tell-k {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  color: var(--yr-slab-text-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase;
}
.yr-tell-v {
  display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 6px;
  background: var(--yr-cobalt); color: #fff; font: 800 .9375rem/1 var(--t-display); letter-spacing: 0; text-transform: none;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.yr-tell-title { margin: 0 0 16px; font-size: 1.875rem; line-height: 1; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
@media (min-width: 600px) { .yr-tell-title { font-size: 2.25rem; } }
.tl-form { margin: 0; }

/* The field, with its marks behind the text. */
.tl-field {
  position: relative; border-radius: var(--t-r-m); background: #f7f6f2;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12);
}
body.yr .tl-back, body.yr .tl-input {
  box-sizing: border-box; width: 100%; min-height: 56px; margin: 0; padding: 15px 16px 17px;
  border: 0; border-radius: var(--t-r-m);
  font: 400 1.125rem/1.33 var(--t-display); letter-spacing: 0; text-align: start; word-spacing: 0;
}
.tl-back {
  position: absolute; inset: 0; overflow: hidden; white-space: pre; color: transparent; pointer-events: none;
}
/* Room after the last word, so the backdrop can scroll as far as the field does. */
.tl-back::after { content: ""; display: inline-block; width: 16px; }
.tl-input {
  position: relative; display: block; background: transparent; color: #141414; caret-color: var(--yr-cobalt);
  -webkit-appearance: none; appearance: none;
}
.tl-input::placeholder { color: #6b6962; opacity: 1; }
.tl-input:disabled { cursor: progress; }
body.yr .tl-input:focus-visible { outline: 3px solid var(--yr-cobalt); outline-offset: 3px; }
body.yr .tl-input:focus { outline: 3px solid var(--yr-cobalt); outline-offset: 3px; }
.tl-m { color: transparent; border-radius: 5px; background: #d9e0ff; box-shadow: 0 0 0 2px #d9e0ff; }
.tl-m-cue { background: transparent; box-shadow: inset 0 -3px 0 var(--yr-cobalt); border-radius: 0; }

/* Where it goes, and how it was read. */
.tl-read[hidden], .tl-try[hidden], .tl-out[hidden] { display: none; }
.tl-read { display: grid; gap: 12px; margin-top: 14px; }
.tl-places { margin: 0; padding: 0; border: 0; min-width: 0; }
.tl-legend { margin: 0 0 8px; padding: 0; color: var(--yr-slab-text-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
.tl-place-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-place { position: relative; display: inline-flex; }
.tl-place input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tl-place span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--t-r-btn, 10px);
  color: var(--yr-slab-text); font-weight: 600; font-size: .9375rem; line-height: 1.2;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3);
  transition: background-color var(--t-base) var(--t-out), transform var(--t-base) var(--t-spring);
}
.tl-place input:hover + span { background: rgba(255, 255, 255, .08); }
.tl-place input:checked + span { background: #f7f6f2; color: #141414; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.tl-place input:checked + span::before { content: ""; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--yr-cobalt); }
.tl-place input:focus-visible + span { outline: 3px solid #ffd23f; outline-offset: 2px; }
.tl-place.is-guess span::after { content: "my guess"; margin-left: 8px; color: var(--yr-slab-text-2); font: 500 .6875rem/1 var(--t-mono); letter-spacing: .04em; text-transform: uppercase; }
.tl-reading { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; min-height: 30px; }
.tl-chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: var(--yr-slab-text);
  font: 500 .8125rem/1.3 var(--t-mono); letter-spacing: .01em; overflow-wrap: anywhere;
}
.tl-chip-title { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); font-family: var(--t-display); font-weight: 600; font-size: .875rem; }
.tl-why { color: var(--yr-slab-text); font-size: .9375rem; line-height: 1.45; }
body.yr .tl-go {
  justify-self: start; min-height: 48px; padding: 12px 20px; border: 0; border-radius: var(--t-r-btn, 10px); cursor: pointer;
  background: var(--yr-cobalt); color: #fff; font: 700 1rem/1.2 var(--t-display);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .28);
  transition: transform var(--t-base) var(--t-spring);
}
body.yr .tl-go:hover { transform: translateY(-2px); }
body.yr .tl-go:active { transform: translateY(2px) scale(.98); transition-duration: var(--t-fast); }
body.yr .tl-go:disabled { cursor: not-allowed; transform: none; background: transparent; color: var(--yr-slab-text-2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
@media (max-width: 599px) { body.yr .tl-go { justify-self: stretch; } }
.tl-help { margin: 12px 0 0; color: var(--yr-slab-text-2); font-size: .9375rem; line-height: 1.45; text-wrap: pretty; }

/* Lines to try. */
.tl-try { margin-top: 14px; }
.tl-try-k { margin: 0 0 8px; color: var(--yr-slab-text-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
.tl-try-keys { display: flex; flex-wrap: wrap; gap: 8px; }
/* The language key (UX run-28, js/say.js): «Try» on the left, the three languages on the right. */
.tl-try-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; }
.tl-try-head .tl-try-k { margin: 0; }
.tl-native { margin: 0 0 10px; color: var(--yr-slab-text); font-size: .9375rem; line-height: 1.45; text-align: start; }
.yr-tell .say-key { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
body.yr .yr-tell .say-opt {
  min-width: 44px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--yr-slab-text); font: 600 .9375rem/1.2 var(--t-display);
  transition: background-color var(--t-base) var(--t-out);
}
body.yr .yr-tell .say-opt:hover { background: rgba(255, 255, 255, .1); }
body.yr .yr-tell .say-opt[aria-pressed="true"] { background: #f7f6f2; color: #141414; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.tl-card-lines li, .tl-asked, .tl-card-t { unicode-bidi: plaintext; }
body.yr .tl-try-key {
  min-height: 44px; padding: 10px 14px; border: 0; border-radius: var(--t-r-btn, 10px); cursor: pointer; text-align: start;
  background: rgba(255, 255, 255, .08); color: var(--yr-slab-text); font: 500 .9375rem/1.25 var(--t-display);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16);
  transition: background-color var(--t-base) var(--t-out);
}
body.yr .tl-try-key:hover { background: rgba(255, 255, 255, .16); }
body.yr .yr-tell :focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
body.yr .yr-tell .tl-input:focus-visible, body.yr .yr-tell .tl-input:focus { outline-color: var(--yr-cobalt); outline-offset: 3px; }

/* What came back: off-white cards, the newest first. */
.tl-out { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.tl-card {
  display: grid; gap: 8px; padding: 16px 16px 14px; border-radius: var(--t-r-m);
  background: #f7f6f2; color: #141414; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .1);
  animation: tl-in .5s var(--t-spring) both;
}
.tl-card:focus { outline: none; }
.tl-card + .tl-card, .tl-card:not(:first-child) { animation: none; }
.tl-card:not(:first-child) .tl-quote, .tl-card:not(:first-child) .tl-card-lines { display: none; }
.tl-card.is-undone { opacity: .78; }
.tl-card.is-undone .tl-card-t { text-decoration: line-through; }
.tl-asked { margin: 0; color: #5d5b55; font-size: .9375rem; overflow-wrap: anywhere; }
.tl-card-k { margin: 0; color: #5d5b55; font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
.tl-card-t { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; text-wrap: pretty; }
.tl-card .tl-chip { background: #e1dfd8; color: #141414; }
.tl-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tl-card-l { margin: 0; color: #5d5b55; font-size: .9375rem; }
.tl-card-lines { display: grid; gap: 4px; margin: 0; padding: 0 0 0 18px; font-size: .9688rem; line-height: 1.45; }
.tl-quote { margin: 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--yr-cobalt); font-size: 1.0625rem; line-height: 1.45; }
.tl-quote p { margin: 0; }
.tl-card-keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tl-card-keys:empty { display: none; }
body.yr .tl-key {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px;
  border: 0; border-radius: var(--t-r-btn, 10px); cursor: pointer; text-decoration: none;
  background: transparent; color: #141414 !important; font: 600 .9375rem/1.2 var(--t-display);
  box-shadow: inset 0 0 0 1.5px rgba(20, 20, 20, .28);
}
body.yr .tl-key-ink { background: #141414; color: #f2f0ea !important; box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .14); }
body.yr .tl-key-ink::after { content: "\2192"; margin-left: 8px; }
body.yr .yr-tell .tl-card :focus-visible { outline-color: var(--yr-cobalt); }
@keyframes tl-in { from { transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  .yr-tell, .tl-card { animation: none; }
  .tl-place span, body.yr .tl-go, body.yr .tl-try-key, body.yr .yr-tell .say-opt { transition: none; }
  body.yr .tl-go:hover, body.yr .tl-go:active { transform: none; }
}

/* Section heads */
.yr-h2 { margin: 0 0 6px; font-size: 1.75rem; line-height: 1.05; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.yr-sub { margin: 0 0 18px; max-width: 62ch; color: var(--t-ink-2); text-wrap: pretty; }
.yr-kept, .yr-fresh, .yr-forget { margin-top: 44px; }
.yr-kept .yr-h2 { margin-bottom: 18px; }
@media (min-width: 760px) { .yr-h2 { font-size: 2.25rem; } }

/* Cards: one place each, the whole card is the link. */
.yr-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .yr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .yr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.yr-cards > li { display: grid; min-width: 0; }
.yr-card {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: 196px; min-width: 0;
  padding: 18px 20px 16px; border-radius: var(--t-r-l); text-decoration: none;
  background: var(--t-card); color: var(--t-ink) !important;
  box-shadow: inset 0 0 0 1.5px var(--t-line), inset 0 -6px 0 rgba(0, 0, 0, .06);
  transition: transform var(--t-slow) var(--t-spring), box-shadow var(--t-base) var(--t-out);
}
.yr-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.yr-card:active { transform: translateY(2px) scale(.985); transition-duration: var(--t-fast); }
body.yr .yr-card:focus-visible { outline: 4px solid var(--t-ink); outline-offset: 4px; }
.yr-card-k { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; color: var(--t-ink-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
.yr-card-body { display: grid; align-content: start; gap: 8px; min-width: 0; }
.yr-card-t { margin: 0; font-size: 1.375rem; line-height: 1.15; font-weight: 800; letter-spacing: -.012em; overflow-wrap: anywhere; text-wrap: pretty; }
.yr-card-t.is-quote { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.yr-card-l { margin: 0; color: var(--t-ink-2); font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.yr-card-go { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 40px; font-weight: 700; font-size: .9375rem; }
.yr-card-go::after { content: "\2192"; display: inline-block; transition: transform var(--t-base) var(--t-out); }
.yr-card:hover .yr-card-go::after { transform: translateX(4px); }
.yr-card-group { color: var(--t-ink-2); }

/* Waiting for you: the cobalt slab, its cards white objects with a cobalt dot. */
.yr-now {
  position: relative; padding: 22px 16px 18px; border-radius: 34px;
  background: var(--yr-cobalt); color: #fff;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .18), 0 20px 40px -24px rgba(0, 0, 0, .45);
}
.yr-now[hidden], .yr-kept[hidden], .yr-fresh[hidden], .yr-preview[hidden] { display: none; }
.yr-now-title { margin: 0 0 16px 4px; font: 500 .8125rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.yr-now .yr-card { background: #f7f6f2; color: #141414 !important; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), 0 16px 30px -22px rgba(0, 0, 0, .6); }
.yr-now .yr-card-k, .yr-now .yr-card-l { color: #5d5b55; }
.yr-now .yr-card-k::after { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--yr-cobalt); box-shadow: 0 0 0 3px rgba(47, 85, 255, .2); }
body.yr .yr-now .yr-card:focus-visible { outline-color: #fff; }
@media (min-width: 760px) {
  .yr-now { padding: 26px 22px 22px; }
  /* The most pressing place gets the whole first row. */
  .yr-cards-now > li:first-child { grid-column: 1 / -1; }
  .yr-cards-now > li:first-child .yr-card { min-height: 0; padding: 24px 28px 20px; }
  .yr-cards-now > li:first-child .yr-card-t { font-size: 2.125rem; line-height: 1.05; max-width: 28ch; }
  .yr-cards-now > li:first-child .yr-card-l { font-size: 1.0625rem; max-width: 70ch; }
}

/* Not tried yet: dashed cards in three groups. */
.yr-groups { display: grid; gap: 26px; }
.yr-group-t { margin: 0 0 12px; color: var(--t-ink-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
.yr-fresh .yr-card {
  min-height: 0; background: transparent; box-shadow: none;
  border: 2px dashed color-mix(in srgb, var(--t-ink) 28%, transparent);
}
.yr-fresh .yr-card:hover { background: var(--t-card); }
.yr-fresh .yr-card-t { font-size: 1.1875rem; }
.yr-card-k .yr-new { padding: 3px 8px; border-radius: 999px; background: var(--t-surface-2); color: var(--t-ink); letter-spacing: .04em; }
.yr-fresh.is-first .yr-h2 { font-size: 2.25rem; }
@media (min-width: 760px) { .yr-fresh.is-first .yr-h2 { font-size: 3rem; } }

/* Keys */
body.yr .yr-key {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 18px; border: 0; border-radius: var(--t-r-btn, 10px); cursor: pointer;
  background: var(--t-card); color: var(--t-ink); text-decoration: none; text-align: center;
  font: 600 .9375rem/1.2 var(--t-display);
  box-shadow: inset 0 0 0 1.5px var(--t-line), inset 0 -4px 0 rgba(0, 0, 0, .08);
  transition: transform var(--t-base) var(--t-spring), background-color var(--t-base) var(--t-out);
}
body.yr .yr-key:hover { transform: translateY(-2px); }
body.yr .yr-key:disabled { cursor: not-allowed; transform: none; box-shadow: inset 0 0 0 1.5px var(--t-line); background: transparent; color: var(--t-ink-2); }
body.yr .yr-carry .yr-key:disabled { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); color: var(--yr-slab-text-2); }
body.yr .yr-key:active { transform: translateY(2px) scale(.98); transition-duration: var(--t-fast); }
body.yr .yr-key-ink { background: var(--t-ink); color: var(--t-surface); box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .14); }
body.yr .yr-key-light { background: #f7f6f2; color: #141414; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14); }
body.yr .yr-key-ghost { background: transparent; color: var(--yr-slab-text); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34); }
body.yr .yr-key-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Take it with you: the ink slab. */
.yr-carry {
  display: grid; gap: 20px; margin-top: 44px; padding: 24px 20px 22px; border-radius: 34px;
  background: var(--yr-ink-slab); color: var(--yr-slab-text);
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, .05), 0 20px 40px -24px rgba(0, 0, 0, .5);
}
@media (prefers-color-scheme: dark) { .yr-carry { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); } }
.yr-carry-k { margin: 0 0 10px; color: var(--yr-slab-text-2); }
.yr-carry-title { margin: 0 0 10px; font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -.015em; }
.yr-carry-text { margin: 0; max-width: 60ch; color: var(--yr-slab-text-2); text-wrap: pretty; }
.yr-carry-keys, .yr-preview-keys, .yr-dialog-keys { display: flex; flex-wrap: wrap; gap: 10px; }
.yr-carry .yr-key { flex: 1 1 11rem; }
body.yr .yr-carry :focus-visible { outline-color: #ffd23f; outline-width: 3px; }
.yr-preview { padding: 18px; border-radius: var(--t-r-m); background: #23231f; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.yr-preview-title { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 800; line-height: 1.25; }
.yr-preview-title:focus { outline: none; }
.yr-preview-text { margin: 0 0 14px; color: var(--yr-slab-text-2); overflow-wrap: break-word; }
.yr-carry-status { margin: 0; min-height: 1.45em; color: var(--yr-slab-text); font-weight: 600; }
.yr-carry-status:empty { display: none; }
@media (min-width: 900px) {
  .yr-carry { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; padding: 34px 34px 30px; column-gap: 40px; }
  .yr-carry-title { font-size: 2.75rem; }
  .yr-preview, .yr-carry-status { grid-column: 1 / -1; }
}

/* Forget everything */
.yr-forget-status { margin: 12px 0 0; min-height: 1.45em; font-weight: 600; }
.yr-forget-status:empty { display: none; }
.yr-dialog {
  width: min(100% - 32px, 460px); padding: 24px 22px 20px; border: 0; border-radius: var(--t-r-l);
  background: var(--t-card); color: var(--t-ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.yr-dialog::backdrop { background: rgba(10, 10, 10, .55); }
.yr-dialog-title { margin: 0 0 10px; font-size: 1.5rem; line-height: 1.1; font-weight: 800; letter-spacing: -.012em; }
.yr-dialog-text { margin: 0 0 18px; color: var(--t-ink-2); overflow-wrap: break-word; }
.yr-dialog-keys { margin: 0; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) {
  .yr-mast h1 { animation: none; }
  .yr-card, .yr-card:hover, .yr-card:active, body.yr .yr-key, body.yr .yr-key:hover, body.yr .yr-key:active { transition: none; transform: none; }
  .yr-card-go::after, .yr-card:hover .yr-card-go::after { transition: none; transform: none; }
}
/* Together (UX run-24): the way to the other parent's phone, with what they have not had yet. */
#yr-together { margin-top: 12px; }
#yr-together a { display: inline-flex; align-items: center; min-height: 44px; color: var(--yr-slab-text); font-weight: 600; text-underline-offset: 3px; }
#yr-together-wait { display: block; color: var(--yr-slab-text); font-weight: 600; }
#yr-together-wait:empty { display: none; }

/* ---------- The family app offer (UX run-25, /app/) ---------- */
.yr-app {
  position: relative;
  margin: 0 0 28px; padding: 22px 20px 20px 96px; border-radius: var(--t-r-l);
  background: var(--t-card); box-shadow: inset 0 0 0 1.5px var(--t-line), inset 0 -6px 0 rgba(0, 0, 0, .05);
}
.yr-app[hidden] { display: none; }
.yr-app::before {
  content: ""; position: absolute; left: 20px; top: 22px; width: 56px; height: 56px; border-radius: 14px;
  background: #2f55ff url("/app/icon-192.png") center / cover no-repeat;
  box-shadow: 0 8px 18px -8px rgba(26, 51, 184, .9);
}
.yr-app-k { margin: 0 0 6px; font: 500 .8125rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-ink-2); }
.yr-app-title { margin: 0 0 6px; font-size: 1.5rem; line-height: 1.05; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.yr-app-text { margin: 0 0 14px; max-width: 58ch; color: var(--t-ink-2); }
.yr-app-keys { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 479px) { .yr-app { padding-left: 20px; padding-top: 92px; } .yr-app-keys > .yr-key { flex: 1 1 auto; } }
#yr-app-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--yr-slab-text); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Your first week (UX run-30, DESIGN.md § 13b, yours/first-week.js) ----------
   Seven family tools, one an evening, on a path under the masthead. A neutral card with a rail of seven
   stops: a stop done is mint with a check, tonight's is the page's cobalt, the rest are rings. Tonight's
   step opens as a cobalt slab with its one key; the others are one-line links. The reminder and «Put it
   away» sit under the path. Drawn before the page is shown, so nothing moves once it is seen; on a
   phone «Tell me» under the masthead waits for it too. */
@media (max-width: 999px) { html.yr-wait-fw .yr-tell { visibility: hidden; animation: yr-show 0s 3s forwards; } }
/* From 1000 px the path takes the masthead's left column under the copy, beside «Tell me»; below, it follows
   «Tell me» and a key under the summary leads to it. */
@media (min-width: 1000px) {
  .yr-mast { grid-template-rows: auto 1fr; }
  .yr-mast-copy { grid-column: 1; grid-row: 1; }
  .yr-tell { grid-column: 2; grid-row: 1 / span 2; }
  .fw { grid-column: 1; grid-row: 2; align-self: start; }
  .fw-jump { display: none !important; }
}
.fw-jump[hidden] { display: none; }
.fw-jump {
  display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; min-height: 44px; padding: 10px 44px 10px 16px;
  position: relative; border-radius: 18px; text-decoration: none;
  background: var(--yr-cobalt); color: #fff !important;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18);
}
.fw-jump::after { content: "\2193"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; }
.fw-jump-k { font: 500 .75rem/1.35 var(--t-mono); letter-spacing: .06em; text-transform: uppercase; }
.fw-jump-t { font-weight: 700; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
body.yr .fw-jump:focus-visible { outline: 3px solid var(--t-ink); outline-offset: 3px; }
.fw {
  margin: 26px 0 0; max-width: 640px; padding: 20px 16px 14px; border-radius: var(--t-r-l);
  background: var(--t-card); box-shadow: inset 0 0 0 1.5px var(--t-line), inset 0 -6px 0 rgba(0, 0, 0, .05);
}
.fw[hidden] { display: none; }
@media (min-width: 600px) { .fw { padding: 24px 24px 16px; } }
.fw-k {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
  color: var(--t-ink-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.fw-k::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--yr-cobalt); box-shadow: 0 0 0 3px rgba(47, 85, 255, .22); }
.fw[data-state="done"] .fw-k::before { background: #17c787; box-shadow: 0 0 0 3px rgba(23, 199, 135, .25); }
.fw-title { margin: 0; font-size: 1.625rem; line-height: 1.02; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
@media (min-width: 600px) { .fw-title { font-size: 2rem; } }
.fw-line { margin: 10px 0 0; max-width: 60ch; color: var(--t-ink-2); font-size: 1rem; line-height: 1.45; text-wrap: pretty; }

/* The path: a rail through seven stops. */
.fw-path { margin: 18px 0 0; padding: 0; list-style: none; }
.fw-step { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.fw-step::before {
  content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px;
  background: color-mix(in srgb, var(--t-ink) 18%, transparent);
}
.fw-step:first-child::before { top: 22px; }
.fw-step:last-child::before { bottom: auto; height: 22px; }
/* A done stop's own stretch of rail, down to the next stop, turns mint-deep. */
.fw-step.is-done::before { background: #0b8a5b; }
.fw-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-top: 6px; border-radius: 50%;
  background: var(--t-card); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--t-ink) 30%, transparent);
  color: var(--t-ink-2); font: 600 .8125rem/1 var(--t-mono); font-variant-numeric: tabular-nums;
}
.fw-step.is-now .fw-dot { margin-top: 14px; background: var(--yr-cobalt); color: #fff; box-shadow: 0 0 0 5px rgba(47, 85, 255, .2); }
.fw-step.is-done .fw-dot { background: #17c787; box-shadow: none; }
.fw-step.is-done .fw-dot-n { display: none; }
.fw-step.is-done .fw-dot::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-left: 2.5px solid #141414; border-bottom: 2.5px solid #141414; transform: rotate(-45deg);
}
.fw-row {
  display: grid; gap: 2px; min-height: 44px; margin: 0 0 2px; padding: 6px 10px 7px; border-radius: 12px;
  color: var(--t-ink) !important; text-decoration: none;
  transition: background-color var(--t-base) var(--t-out);
}
.fw-row:hover { background: var(--t-surface-2); }
body.yr .fw-row:focus-visible { outline: 3px solid var(--yr-cobalt); outline-offset: 0; }
.fw-step-k { margin: 0; color: var(--t-ink-2); font: 500 .75rem/1.35 var(--t-mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.fw-step.is-done .fw-step-k { color: #096b47; }
@media (prefers-color-scheme: dark) { .fw-step.is-done .fw-step-k { color: #17c787; } }
.fw-row .fw-step-t { font-size: 1rem; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.fw-step.is-done .fw-row .fw-step-t { color: var(--t-ink-2); }

/* Tonight's step: the cobalt slab with its one key. */
.fw-body {
  margin: 4px 0 10px; padding: 16px 16px 16px; border-radius: 20px;
  background: var(--yr-cobalt); color: #fff;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .18), 0 16px 30px -22px rgba(26, 51, 184, .9);
}
.fw-body .fw-step-k { color: #fff; }
.fw-body .fw-step-t { margin: 6px 0 0; font-size: 1.375rem; line-height: 1.1; font-weight: 800; letter-spacing: -.012em; overflow-wrap: anywhere; text-wrap: balance; }
.fw-body .fw-step-l { margin: 8px 0 14px; color: #fff; font-size: .9375rem; line-height: 1.45; text-wrap: pretty; }
@media (min-width: 600px) { .fw-body { padding: 18px 20px; } .fw-body .fw-step-t { font-size: 1.625rem; } }

body.yr .fw-key {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--t-r-btn, 10px); cursor: pointer;
  background: transparent; color: var(--t-ink); text-decoration: none; text-align: center;
  font: 600 .9375rem/1.2 var(--t-display);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--t-ink) 30%, transparent);
  transition: transform var(--t-base) var(--t-spring), background-color var(--t-base) var(--t-out);
}
body.yr .fw-key:hover { transform: translateY(-2px); }
body.yr .fw-key:active { transform: translateY(2px) scale(.98); transition-duration: var(--t-fast); }
body.yr .fw-key:focus-visible { outline: 3px solid var(--yr-cobalt); outline-offset: 2px; }
body.yr .fw-key-ink { background: var(--t-ink); color: var(--t-surface); box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .14); }
body.yr .fw-body .fw-key { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
body.yr .fw-body .fw-key-go { background: #f7f6f2; color: #141414; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14); }
body.yr .fw-body .fw-key:focus-visible { outline-color: #fff; }
.fw-go-arrow::after { content: "\2192"; display: inline-block; transition: transform var(--t-base) var(--t-out); }
.fw-key:hover .fw-go-arrow::after { transform: translateX(3px); }

/* After the seventh: what keeps it going. */
.fw-next[hidden] { display: none; }
.fw-next { margin: 14px 0 0; }
.fw-next-k { margin: 0 0 8px; color: var(--t-ink-2); font: 500 .75rem/1.4 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; }
.fw-next-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .fw-next-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fw-next-a {
  display: grid; gap: 4px; min-height: 44px; height: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 16px;
  background: var(--t-surface-2); color: var(--t-ink) !important; text-decoration: none;
}
.fw-next-a:hover { background: color-mix(in srgb, var(--t-surface-2) 80%, var(--t-ink) 8%); }
body.yr .fw-next-a:focus-visible { outline: 3px solid var(--yr-cobalt); outline-offset: 2px; }
.fw-next-t { font-weight: 700; line-height: 1.25; }
.fw-next-l { color: var(--t-ink-2); font-size: .875rem; line-height: 1.35; }

/* The evening reminder and «Put it away». */
.fw-remind { margin: 14px 0 0; padding: 14px 0 0; border-top: 1.5px solid var(--t-line); }
.fw-remind[hidden] { display: none; }
.fw-remind-l { display: block; margin: 0 0 8px; font-weight: 600; font-size: .9375rem; }
.fw-remind-keys { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body.yr .fw-time {
  min-height: 44px; padding: 0 34px 0 14px; border: 0; border-radius: var(--t-r-btn, 10px); cursor: pointer;
  background: var(--t-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d5b55' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat;
  color: var(--t-ink); font: 600 1rem/1 var(--t-mono); font-variant-numeric: tabular-nums;
  -webkit-appearance: none; appearance: none; box-shadow: inset 0 0 0 1.5px var(--t-line);
}
body.yr .fw-time:focus-visible { outline: 3px solid var(--yr-cobalt); outline-offset: 2px; }
.fw-remind-note { margin: 8px 0 0; max-width: 60ch; color: var(--t-ink-2); font-size: .875rem; line-height: 1.4; text-wrap: pretty; }
.fw-status { margin: 6px 0 0; font-size: .875rem; font-weight: 600; line-height: 1.4; }
.fw-status:empty { display: none; }
body.yr .fw-away {
  display: inline-flex; align-items: center; min-height: 44px; margin: 6px 0 0; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--t-ink-2); font: 500 .875rem/1.2 var(--t-display); text-decoration: underline; text-underline-offset: 3px;
}
body.yr .fw-away:hover { color: var(--t-ink); }
body.yr .fw-away:focus-visible { outline: 3px solid var(--yr-cobalt); outline-offset: 2px; }
@media (max-width: 379px) { .fw-remind-keys > .fw-key { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) {
  body.yr .fw-key, .fw-row, .fw-go-arrow::after { transition: none; }
  body.yr .fw-key:hover, body.yr .fw-key:active { transform: none; }
  .fw-key:hover .fw-go-arrow::after { transform: none; }
}
