/* Korean in the wish: NanumSquareRound R, renamed Willow Hangul Round because
   NAVER reserves the Nanum names for the original (OFL 1.1,
   assets/fonts/willow-hangul-round/OFL.txt). Self-hosted and cut to Hangul
   (every syllable and the letters ㄱ–ㅣ, 113 KB) so it only loads once Korean
   is typed; Latin stays Nunito. size-adjust keeps Hangul from looking bigger
   than Nunito next to it. There is no italic face on purpose: the browser
   slants it to go with Nunito's italic. */
@font-face {
  font-family: "Willow Hangul Round";
  src: url("../assets/fonts/willow-hangul-round/willow-hangul-round.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  size-adjust: 90%;
  unicode-range: U+3131-318E, U+AC00-D7A3;
}

:root {
  --bg: #030303;
  /* the package: cream card, one red ink */
  --ink: #dcd9c8;
  --ink-soft: rgba(220, 217, 200, 0.62);
  --ink-faint: rgba(220, 217, 200, 0.36);
  --red: #c4241f;
  --ember: #e8b877;
  --serif: "Nunito", "Willow Hangul Round", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --display: "Lilita One", "Arial Rounded MT Bold", Impact, "Arial Black", sans-serif;
  --vvh: 100dvh;
  --vvtop: 0px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  overscroll-behavior: none;
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  position: fixed;
  inset: 0;
}

#scene, #fx {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  display: block;
}

#scene {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  outline: none;
  cursor: default;
}
#scene.can-grab { cursor: grab; }
#scene.grabbing { cursor: grabbing; }

#fx {
  pointer-events: none;
  z-index: 30;
}

.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 40;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-size: 180px 180px;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-6%, 4%); }
  33%  { transform: translate(5%, -7%); }
  50%  { transform: translate(-3%, 9%); }
  67%  { transform: translate(8%, 2%); }
  83%  { transform: translate(-7%, -4%); }
  100% { transform: translate(2%, 6%); }
}

/* ------------------------------------------------------------------ */
/* Gate: one tap to begin (it also unlocks sound for the snap)          */
/* ------------------------------------------------------------------ */

.gate {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: opacity 1s ease;
}
.gate.leaving { opacity: 0; pointer-events: none; }
.gate[hidden] { display: none; }
/* 3D: the button sits invisibly over the box itself */
.gate.boxmode {
  inset: auto;
  padding: 0;
  border-radius: 18px;
}
.gate.boxmode .gate-go {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 28px;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-block;
  opacity: 0;
  color: var(--ink-faint);
  transition: opacity 1.6s ease 1.2s;
}
.gate.boxmode.on .gate-go { opacity: 1; animation: breathe 4.2s ease-in-out 2.4s infinite; }
@media (max-width: 480px) { .gate.boxmode .gate-go { font-size: 10px; letter-spacing: 0.16em; text-indent: 0.16em; white-space: normal; width: 90vw; } }
.gate.boxmode:focus-visible { outline: 1px solid rgba(239, 230, 214, 0.25); outline-offset: 6px; }

.gate-title {
  position: fixed;
  left: 0;
  right: 0;
  top: 22%;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  pointer-events: none;
  z-index: 34;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 2.4s ease, filter 2.6s ease;
}
.gate-title.on { opacity: 1; filter: none; }
.gate-title[hidden] { display: none; }
.brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.brand sup { font-size: 0.32em; vertical-align: 0.9em; margin-left: 0.15em; letter-spacing: 0; }
.brand-sub {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.brand-sub b { font-style: normal; font-weight: 700; color: var(--red); letter-spacing: 0.08em; }

.gate-go { display: none; }
.gate.boxmode:focus-visible { outline: 1px solid rgba(239, 230, 214, 0.25); outline-offset: 6px; }

.gate-title {
  position: fixed;
  left: 0;
  right: 0;
  top: 22%;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 0.01em;
  color: var(--ink);
  pointer-events: none;
  z-index: 34;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 2.4s ease, filter 2.6s ease;
}
.gate-title b {
  font-style: normal;
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.gate-title.on { opacity: 0.9; filter: none; }
.gate-title[hidden] { display: none; }

.gate-go {
  margin-top: 90px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 1.6s ease;
}
.gate.go .gate-go { opacity: 1; animation: breathe 4.2s ease-in-out 1.6s infinite; }
.gate:focus-visible .gate-go { color: var(--ink-soft); }

.credit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(12px, env(safe-area-inset-bottom));
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(220, 217, 200, 0.28);
  z-index: 36;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.8s ease;
}
.credit.on { opacity: 1; pointer-events: auto; }
.credit[hidden] { display: none; }
.credit-line { display: block; text-wrap: balance; }
#credit-more, .nowrap { white-space: nowrap; }
.credit-line[hidden], #credit-more[hidden] { display: none; }
/* the first screen: the fan-made notice and Credits, which opens the model credit */
.credit:not(.end) .credit-anon,
.credit:not(.end) .credit-contact { display: none; }
.credit-open {
  /* a small link in the line; the padding only widens what a finger can hit */
  margin: -8px -4px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: rgba(220, 217, 200, 0.5);
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(220, 217, 200, 0.24);
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}
.credit-open:hover,
.credit-open:focus-visible { color: var(--ink); }
/* after the wish: two small, quiet lines and nothing else */
.credit.end .credit-line:not(.credit-anon):not(.credit-contact) { display: none; }
/* the final screens: the maker's X and email, under the anonymity line */
.credit.end .credit-contact {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: normal;
  color: var(--ink);
  opacity: 0.35;
}
.credit-contact a { color: inherit; text-decoration: underline; text-decoration-color: rgba(220, 217, 200, 0.3); text-underline-offset: 3px; }
.credit-contact a:hover, .credit-contact a:focus-visible { text-decoration-color: currentColor; outline: none; }
.credit.end .credit-anon {
  font-size: 11.5px;
  letter-spacing: normal;
  color: var(--ink);
  opacity: 0.35;
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* A quiet instruction that sits just under the stick, never in a corner. */
.hint {
  position: fixed;
  left: 0;
  right: 0;
  top: 70%;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: 0.06em;
  color: rgba(220, 217, 200, 0.42);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hint.on { opacity: 1; }
.hint.away { opacity: 0; transition-duration: 0.35s; }
@media (max-width: 480px) {
  .hint { letter-spacing: 0.2em; text-indent: 0.2em; }
}

/* ------------------------------------------------------------------ */
/* Wish                                                                */
/* ------------------------------------------------------------------ */

.wish {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--vvtop);
  height: var(--vvh);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 16px;
  z-index: 20;
  pointer-events: none;
  visibility: hidden;
}
.wish.shown { visibility: visible; }
.wish.shown .wish-inner { pointer-events: auto; }

/* The prompt and the field at the top, the Hold pill and the fine print at the
   foot: the broken halves lie in between, so the pill never covers them. */
.wish-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(620px, 100%);
  height: 100%;
  padding-top: clamp(64px, calc(var(--vvh) * 0.2), 220px);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  text-align: center;
}
.wish-inner > * { flex-shrink: 0; }
.wish-top { width: 100%; }
/* With the keyboard up, the prompt and the field sit in the middle of what is
   left above it (a touch high), and the hidden pill and fine print leave the flow. */
.wish.compact .wish-inner { padding-top: 24px; padding-bottom: calc(24px + var(--vvh) * 0.06); }
.wish.compact .wish-top { margin: auto 0; }
.wish.compact .hold,
.wish.compact .wish-note,
.wish.compact .wish-others { position: absolute; visibility: hidden; }

.wish-kicker {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  transition: opacity 2s ease 0.6s;
}
.wish.q-on .wish-kicker { opacity: 0.9; }
.wish-q {
  margin: 0 0 clamp(28px, 6vh, 56px);
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0;
  filter: blur(6px);
  transform: translateY(8px);
  transition: opacity 2.4s ease, filter 2.6s ease, transform 3s cubic-bezier(.2,.7,.2,1);
}
.wish.q-on .wish-q { opacity: 1; filter: none; transform: none; }

.wish-field {
  position: relative;
  margin: 0 auto;
  width: min(540px, 100%);
  opacity: 0;
  transition: opacity 1.8s ease;
}
.wish.field-on .wish-field { opacity: 1; }

#wish-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 4px 12px;
  border: 0;
  outline: 0;
  resize: none;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  caret-color: var(--ember);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.01em;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
#wish-input::placeholder {
  color: rgba(239, 230, 214, 0.24);
  font-style: italic;
}
#wish-input:focus::placeholder { color: rgba(239, 230, 214, 0.14); }
#wish-input::selection { background: rgba(232, 184, 119, 0.28); }

.wish-line {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 1px;
  width: 0;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(239, 230, 214, 0.34), transparent);
  transition: width 2.2s cubic-bezier(.2,.7,.2,1) 0.2s, background 0.8s ease;
}
.wish.field-on .wish-line { width: 100%; }
#wish-input:focus ~ .wish-line {
  background: linear-gradient(90deg, transparent, rgba(232, 184, 119, 0.6), transparent);
}

.wish-count {
  position: absolute;
  right: 0;
  bottom: -22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wish-count.on { opacity: 1; }

/* MIN-194: one quiet line under the field. No box, no card; the whole label is
   the tap target (min 44px high) while the box itself stays small. */
.wish-private {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 14px auto 0;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(220, 217, 200, 0.34);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transition: opacity 1.8s ease, color 0.4s ease;
}
.wish.field-on .wish-private { opacity: 1; }
.wish-private:hover, .wish-private:has(input:checked) { color: rgba(220, 217, 200, 0.6); }
.wish-private input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 12px;
  height: 12px;
  margin: 0;
  border: 1px solid rgba(220, 217, 200, 0.34);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.wish-private input:checked {
  border-color: rgba(232, 184, 119, 0.7);
  background: rgba(232, 184, 119, 0.55);
}
.wish-private input:checked::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 0.5px;
  width: 3px;
  height: 6.5px;
  border: solid #1a1612;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.wish-private input:focus-visible { outline: 1px solid var(--ink-soft); outline-offset: 3px; }

/* The Hold button, at the foot of the screen under the broken halves. It only
   shows once there is a wish and, on a phone, the keyboard is down (js/wish.js). */
.hold {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: auto 0 0;
  padding: 14px 22px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  outline: none;
}
.hold:disabled { cursor: default; pointer-events: none; }
.hold.ready { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease, color 0.4s ease; }
.hold:focus-visible .hold-label { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(239,230,214,0.3); }
.hold.pressing { color: var(--ink); }

.hold-track {
  position: relative;
  display: block;
  width: 180px;
  height: 1px;
  background: rgba(239, 230, 214, 0.14);
  overflow: hidden;
}
.hold-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232,184,119,0.4), var(--ember), rgba(232,184,119,0.4));
  transform: scaleX(0);
  transform-origin: 50% 50%;
  box-shadow: 0 0 10px rgba(232, 184, 119, 0.8);
}

.wish-note {
  /* the fine print, at the foot of the screen under the Hold pill */
  max-width: 300px;
  margin: clamp(18px, 3.5vh, 32px) auto 0;
  text-wrap: balance;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(220, 217, 200, 0.28);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hold.ready + .wish-note { opacity: 1; }
/* with the keyboard up the foot of the screen is the keyboard's edge: keep it clear */
.wish.compact .wish-note { opacity: 0; }

.wish-others {
  margin: 12px auto 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: rgba(220, 217, 200, 0.68);
  font: 600 12px var(--serif);
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  touch-action: manipulation;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.wish.field-on .wish-others { opacity: 1; }
.wish-others[hidden] { display: none; }
.wish-others:hover, .wish-others:focus-visible { color: var(--ink); }
.wish-others:focus-visible { outline: 1px solid var(--ink-soft); outline-offset: 2px; border-radius: 6px; }

.wish.leaving .wish-kicker,
.wish.leaving .wish-q,
.wish.leaving .wish-line,
.wish.leaving .hold,
.wish.leaving .wish-note,
.wish.leaving .wish-private,
.wish.leaving .wish-count {
  opacity: 0 !important;
  transition: opacity 1.4s ease;
}
.wish.leaving .wish-others { visibility: hidden; pointer-events: none; }
.wish.leaving #wish-input { color: transparent; caret-color: transparent; }
.wish.leaving #wish-input::placeholder { color: transparent; }

/* ------------------------------------------------------------------ */
/* Others' wishes: many to a screen, scrolled, none the star (MIN-122)  */
/* ------------------------------------------------------------------ */

/* The whole screen, on the same dark stage. Each wish is set like the one the
   visitor wrote (italic, cream, centred) and they follow one another down the
   page with a small ember between them: read in passing, not as posts. */
.social {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: radial-gradient(120% 70% at 50% 0%, #15120e 0%, #080706 55%, #050404 100%) fixed;
  color: var(--ink);
  font-family: var(--serif);
}
.social::backdrop { background: var(--bg); }
.social-shell {
  width: min(620px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 0 22px max(36px, calc(env(safe-area-inset-bottom) + 20px));
  text-align: center;
}
/* Back stays reachable while scrolling; the wishes pass under a soft fade */
.social-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -22px;
  padding: max(14px, env(safe-area-inset-top)) 22px 18px;
  background: linear-gradient(#080706 62%, rgba(8, 7, 6, 0));
}
.social-brand {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.social-brand sup { font: 600 8px var(--serif); vertical-align: super; }
.social-back,
.social-more {
  min-height: 44px;
  border: 1px solid rgba(220, 217, 200, 0.3);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(3, 3, 3, 0.62);
  color: var(--ink);
  font: 700 11px var(--serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
  transition: border-color 0.4s ease, opacity 0.4s ease;
}
.social-back:hover,
.social-more:hover,
.social-back:focus-visible,
.social-more:focus-visible { border-color: var(--ink); }
.social-more[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.social-kicker {
  margin: clamp(26px, 6vh, 64px) 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--red);
}
.social h2 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.social-intro {
  max-width: 30em;
  margin: 0 auto 18px;
  text-wrap: balance;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.social-status {
  min-height: 1.6em;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.social-status:empty { margin: 0; min-height: 0; }
.social-list[aria-busy="true"] ~ .social-more[aria-disabled="true"] { animation: social-breathe 1.6s ease-in-out infinite; }
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-wish {
  position: relative;
  padding: 34px 0;
  animation: social-in 0.9s ease both;
}
/* a small ember between two wishes */
.social-wish + .social-wish::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px rgba(232, 184, 119, 0.7);
  opacity: 0.55;
}
.social-wish p {
  max-width: 28em;
  margin: 0 auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
  font-style: italic;
  font-size: clamp(17px, 4.6vw, 20px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.social-more { display: block; margin: 18px auto 0; }
.social-more[hidden] { display: none; }
.social-footer {
  margin: 56px 0 0;
  text-wrap: balance;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.7;
}
.social-footer span { display: block; }
@keyframes social-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes social-breathe { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) {
  .social-wish,
  .social-list[aria-busy="true"] ~ .social-more[aria-disabled="true"] { animation: none; }
}

/* ------------------------------------------------------------------ */
/* Likes (MIN-160): rows with a heart, the visitor's own wish, the toast */
/* ------------------------------------------------------------------ */

.heart { width: 1em; height: 1em; vertical-align: -0.14em; fill: var(--red); }

/* With likes the feed reads as rows: the wish on the left, its heart on the
   right at the height of the first line, closer together than before. */
.social-list.rows .social-wish {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 0 15px;
  text-align: left;
}
.social-list.rows .social-wish + .social-wish::before {
  left: 0;
  margin-left: 0;
  width: 100%;
  height: 1px;
  border-radius: 0;
  background: rgba(220, 217, 200, 0.08);
  box-shadow: none;
  opacity: 1;
}
/* the top: tighter, and no intro line, so others' wishes come up sooner */
.social.likes .social-kicker { margin-top: 2px; }
.social.likes h2 { margin: 6px 0 16px; font-size: clamp(28px, 7.4vw, 40px); }
.social.likes .social-intro { display: none; }

.social-list.rows .social-body { flex: 1 1 auto; min-width: 0; }
/* upright, for long wishes and Hangul; at most three lines, More for the rest (js/likes.js makeExpandable) */
.social-list.rows .social-text {
  max-width: none;
  margin: 0;
  font-style: normal;
  font-size: 16.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.social-list.rows .social-text.open { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
.can-open { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* "More" / "Less" under a cut wish: small, but 44px tall to touch */
.more-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -10px 0 -12px;
  padding: 0 14px 0 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 700 12.5px var(--serif);
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: rgba(220, 217, 200, 0.3);
  text-underline-offset: 3px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.more-toggle:hover, .more-toggle:focus-visible { color: var(--ink); text-decoration-color: currentColor; }

/* the order of the list (MIN-196): "Popular ▾", small, right-aligned just
   above it; it opens a short menu under itself */
.social-sort {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  margin: 0 -8px 0 0;
}
.social-sort[hidden] { display: none; }
.social-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 0 8px 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 700 11px var(--serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.social-sort-btn::after { content: "▾"; font-size: 10px; letter-spacing: 0; transition: transform 0.2s ease; }
.social-sort-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.social-sort-btn:hover,
.social-sort-btn:focus-visible,
.social-sort-btn[aria-expanded="true"] { color: var(--ink); }
.social-sort-btn:focus-visible { box-shadow: inset 0 0 0 1px var(--ink-soft); border-radius: 999px; }
.social-sort-menu {
  position: absolute;
  top: 100%;
  right: 8px;
  min-width: 150px;
  padding: 6px;
  border: 1px solid rgba(220, 217, 200, 0.22);
  border-radius: 14px;
  background: #0d0b09;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  animation: social-in 0.2s ease both;
}
.social-sort-menu[hidden] { display: none; }
.social-sort-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font: 700 13px var(--serif);
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}
.social-sort-item:hover,
.social-sort-item:focus-visible { background: rgba(220, 217, 200, 0.07); color: var(--ink); }
/* the one in use: cream, with a small red dot */
.social-sort-item[aria-checked="true"] { color: var(--ink); }
.social-sort-item[aria-checked="true"]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* the heart: 44×44 at least, its middle on the first line's middle */
.social-like {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 52px;
  min-height: 44px;
  /* 44px to touch, but only the first line's height in the row */
  margin: calc((16.5px * 1.55 - 44px) / 2) -10px calc((16.5px * 1.55 - 44px) / 2) 0;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(220, 217, 200, 0.56);
  font: 700 13px var(--serif);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: color 0.3s ease;
}
.social-like-heart {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.social-like:hover,
.social-like:focus-visible { color: var(--ink); }
.social-like:focus-visible { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.social-like[aria-pressed="true"] { color: var(--ink); }
.social-like[aria-pressed="true"] .social-like-heart { fill: var(--red); stroke: var(--red); }
.social-like.pop .social-like-heart { animation: like-pop 0.34s cubic-bezier(.2,.7,.3,1.4); }
@keyframes like-pop { 40% { transform: scale(1.28); } }

/* grey rows while the first page comes */
.social-skeleton { margin: 0; }
.social-skeleton[hidden] { display: none; }
.social-skeleton-row { display: flex; align-items: flex-start; gap: 18px; padding: 18px 0 17px; }
.social-skeleton-row + .social-skeleton-row { border-top: 1px solid rgba(220, 217, 200, 0.06); }
.social-skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.social-skeleton-lines span,
.social-skeleton-heart {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: rgba(220, 217, 200, 0.07);
  animation: social-breathe 1.6s ease-in-out infinite;
}
.social-skeleton-heart { flex: 0 0 auto; width: 34px; margin-top: 6px; }
.social-status-quiet {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* the visitor's own wish: on a faint panel (no outline), pinned above the others */
.social-mine { margin: 0 0 6px; text-align: left; }
.social-mine[hidden] { display: none; }
.my-wish {
  padding: 12px 14px 4px;
  border-radius: 14px;
  background: rgba(220, 217, 200, 0.055);
  animation: social-in 0.6s ease both;
}
.my-wish-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.my-wish-label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.my-wish-private {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-soft);
}
.my-wish-text {
  margin: 4px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.my-wish-text.open { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
.my-wish-text:last-child { margin-bottom: 10px; }
.my-wish .more-toggle:last-child { margin-bottom: -4px; }
/* what others gave it, not a heart they pressed: "Received ♥ 12" */
.my-wish-count {
  flex: 0 0 auto;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.my-wish-received {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.my-wish-count.zero .my-wish-n { color: var(--ink-faint); }
.my-wish-count.zero .heart { fill: currentColor; }
.likes-since {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ember);
  white-space: nowrap;
}

/* the email ask: a small "Get notified"; the form opens under it in the card */
.my-wish-email { margin: 0; }
.my-wish-ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 700 12px var(--serif);
  letter-spacing: 0.06em;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}
.my-wish-ask::after { content: "▾"; font-size: 10px; transition: transform 0.2s ease; }
.my-wish-ask[aria-expanded="true"]::after { transform: rotate(180deg); }
.my-wish-ask:hover, .my-wish-ask:focus-visible { color: var(--ink); }
.my-wish-ask[hidden], .my-wish-form[hidden], .my-wish-done[hidden] { display: none; }
.my-wish-form { margin: 0 0 12px; animation: social-in 0.4s ease both; }
.my-wish-what { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.my-wish-field-label {
  display: block;
  margin: 0 0 6px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.my-wish-row { display: flex; gap: 8px; }
.my-wish-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(220, 217, 200, 0.26);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.4);
  color: var(--ink);
  caret-color: var(--ember);
  font: 600 16px var(--serif); /* 16px or more, or iOS zooms in on focus */
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
}
.my-wish-input::placeholder { color: rgba(220, 217, 200, 0.36); }
.my-wish-input:focus { border-color: rgba(220, 217, 200, 0.6); }
.my-wish-input[aria-invalid="true"] { border-color: var(--red); }
.my-wish-submit {
  flex: 0 0 auto;
  height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #0b0a09;
  font: 800 11px var(--serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}
.my-wish-submit:focus-visible { box-shadow: 0 0 0 2px #0b0a09, 0 0 0 4px var(--ink); }
.my-wish-submit:disabled { opacity: 0.5; cursor: default; }
/* the six-month notice, in the open form, readable */
.my-wish-fine { margin: 8px 0 0 2px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.my-wish-error { margin: 8px 0 0 2px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.my-wish-error:empty { display: none; }
.my-wish-done { margin: 0; min-height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.my-wish-done[hidden] { display: none; }
.my-wish-done:focus { outline: none; }

/* the revisit screen: at the top, clear of the lines in the middle and of Share at the foot */
.likes-toast {
  position: fixed;
  top: max(14px, calc(env(safe-area-inset-top) + 8px));
  left: 50%;
  z-index: 38;
  width: min(340px, calc(100vw - 32px));
  padding: 12px 16px 14px;
  border: 1px solid rgba(220, 217, 200, 0.3);
  border-radius: 18px;
  background: rgba(11, 10, 9, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
  font-family: var(--serif);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.likes-toast.on { opacity: 1; transform: translate(-50%, 0); transition-duration: 0.9s; }
.likes-toast[hidden] { display: none; }
.likes-toast-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-faint);
  font: 24px/1 var(--serif);
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
}
.likes-toast-close:hover,
.likes-toast-close:focus-visible { color: var(--ink); }
.likes-toast-line {
  margin: 4px 30px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.likes-toast-n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.likes-toast-line[hidden] { display: none; }
.likes-toast-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(220, 217, 200, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 700 11px var(--serif);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
  transition: border-color 0.4s ease;
}
.likes-toast-go:hover,
.likes-toast-go:focus-visible { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .social-like.pop .social-like-heart, .my-wish, .social-skeleton-lines span, .social-skeleton-heart { animation: none; }
  .likes-toast, .likes-toast.on { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------ */
/* Ending                                                              */
/* ------------------------------------------------------------------ */

.ending {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(96px, 26vh, 300px) 16px 0;
  text-align: center;
  pointer-events: none;
  z-index: 25;
}
.ending-main {
  margin: 0;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  max-width: 22ch;
  color: var(--ink);
  opacity: 0;
  filter: blur(5px);
  transition: opacity 3s ease, filter 3.2s ease;
}
.ending-main.caps {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(13px, 1.9vw, 16px);
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  text-transform: uppercase;
  line-height: 2;
  max-width: none;
}
.ending-main.on { opacity: 0.94; filter: none; }
.ending-sub {
  margin: 22px 0 0;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  max-width: 40ch;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 2.6s ease;
}
.ending-sub.on { opacity: 1; }
/* the revisit screen has nothing to build up to: it comes in quicker */
.ending.revisit .ending-main { transition-duration: 1.6s, 1.8s; }
.ending.revisit .ending-sub { transition-duration: 1.4s; }
.credit.quick { transition-duration: 1.2s; }

/* ------------------------------------------------------------------ */
/* Share: a small pill that comes up for a while, then goes             */
/* ------------------------------------------------------------------ */

.share {
  position: fixed;
  left: 50%;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 37;
  width: max-content;
  max-width: calc(100vw - 32px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.9s ease, transform 0.9s ease, visibility 0s linear 0.9s;
}
.share.on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.share [hidden] { display: none; }
/* Share on top, "See others' wishes" under it: always stacked, always the same width */
.share {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.share-btn,
.share-url {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  border: 1px solid rgba(220, 217, 200, 0.3);
  background: rgba(3, 3, 3, 0.62);
  color: var(--ink);
  font-family: var(--serif);
  outline: none;
  transition: border-color 0.4s ease;
}
.share-btn {
  padding: 0 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.share-btn:hover { border-color: rgba(220, 217, 200, 0.6); }
/* the second button: outline only, quieter than Share */
.share-alt {
  background: transparent;
  border-color: rgba(220, 217, 200, 0.16);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}
.share-alt:hover { border-color: rgba(220, 217, 200, 0.45); color: var(--ink); }
.share-url {
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: text;
  user-select: all;
  -webkit-user-select: all;
}
.share-btn:focus-visible,
.share-url:focus-visible { border-color: var(--ink); }
.share-url::selection { background: rgba(232, 184, 119, 0.28); }

/* ------------------------------------------------------------------ */
/* "See others' wishes": not open yet, leave an email (MIN-158)        */
/* ------------------------------------------------------------------ */

/* The dialog itself is only a transparent frame over the visible area (so the
   card stays clear of an on-screen keyboard); the card is what shows. */
.interest,
.credits {
  position: fixed;
  top: var(--vvtop);
  left: 0;
  width: 100%;
  max-width: none;
  height: var(--vvh);
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.interest[open],
.credits[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.interest::backdrop,
.credits::backdrop { background: rgba(2, 2, 2, 0.72); }

.interest-card,
.credits-card {
  position: relative;
  width: min(380px, 100%);
  margin: auto;
  padding: 34px 26px 26px;
  border: 1px solid rgba(220, 217, 200, 0.3);
  border-radius: 18px;
  background: #0b0a09;
  text-align: center;
  font-family: var(--serif);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
}
.interest-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.interest-close:hover,
.interest-close:focus-visible { color: var(--ink); outline: none; }
.interest-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.interest-form { margin: 0; }
.interest-body {
  margin: 14px 0 22px;
  text-wrap: balance;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-soft);
}
.interest-input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(220, 217, 200, 0.3);
  border-radius: 999px;
  background: rgba(220, 217, 200, 0.05);
  color: var(--ink);
  caret-color: var(--ember);
  font-family: var(--serif);
  font-size: 16px; /* 16px or more, or iOS zooms in on focus */
  font-weight: 600;
  text-align: center;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
}
.interest-input::placeholder { color: rgba(220, 217, 200, 0.3); }
.interest-input:focus { border-color: rgba(220, 217, 200, 0.7); }
.interest-input[aria-invalid="true"] { border-color: var(--red); }
.interest-fine {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}
.interest-error {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.interest-error:empty { display: none; }
.interest-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 18px 0 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #0b0a09;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
  transition: opacity 0.3s ease;
}
.interest-submit:hover { opacity: 0.88; }
.interest-submit:focus-visible { box-shadow: 0 0 0 2px #0b0a09, 0 0 0 4px var(--ink); }
.interest-submit:disabled { opacity: 0.5; cursor: default; }
.interest-done {
  margin: 16px 0 4px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}
.interest-done:focus { outline: none; }
.interest-done[hidden], .interest-form[hidden] { display: none; }

/* Credits: the model's CC BY 4.0 attribution, behind the link on the first screen */
.credits-card { width: min(340px, 100%); padding: 30px 24px 24px; }
.credits-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.credits-body {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-soft);
}
.credits-name { color: var(--ink); }
.credits-fine {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}
.credits a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(220, 217, 200, 0.3); text-underline-offset: 3px; }
.credits a:hover, .credits a:focus-visible { text-decoration-color: var(--ink); outline: none; }

.noscript {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .gate.go .gate-go { animation: none; }
  .share, .share.on { transform: translateX(-50%); }
}
