:root {
  --night-1: #0c0e1d;
  --night-2: #1b1230;
  --text: #f3efff;
  --dim: #9c94b8;
  --line: rgba(243, 239, 255, 0.15);
  --card: rgba(243, 239, 255, 0.055);
  --card-hover: rgba(243, 239, 255, 0.11);
  --neon-a: #ffb347;
  --neon-b: #4ce0e6;
  --neon-c: #ff7ac8;
  --ink-a: #b06a0c;
  --ink-b: #0e858b;
  --ink-c: #d63f95;
  --paper-ink: #241d15;
  --paper-dim: #7c7263;
  --ambience: 0.55;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

html { scroll-behavior: smooth; background-color: var(--night-1); }
html[data-detour="safe"] { --ambience: 0.3; }
html[data-detour="far"] { --ambience: 0.85; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(160deg, var(--night-1), var(--night-2) 65%, #241038);
  background-attachment: fixed;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .cta, .q-option, .trio-name, .delib-name, .curator-name {
  font-feature-settings: "palt" 1;
}
h1, h2 { text-wrap: balance; }

button { font: inherit; cursor: pointer; }
button:active { transform: scale(0.975); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--neon-b);
  outline-offset: 3px;
}

/* ---------- ambience ---------- */
.glow {
  position: fixed;
  z-index: 0;
  width: 52vmax;
  height: 52vmax;
  border-radius: 50%;
  opacity: var(--ambience);
  pointer-events: none;
  transition: opacity 0.8s ease;
  animation: drift 16s ease-in-out infinite alternate;
  will-change: transform;
}
.glow-1 { top: -20vmax; right: -16vmax; background: radial-gradient(circle, rgba(255, 122, 200, 0.32) 0%, rgba(255, 122, 200, 0.1) 40%, transparent 68%); }
.glow-2 { bottom: -22vmax; left: -18vmax; background: radial-gradient(circle, rgba(76, 224, 230, 0.26) 0%, rgba(76, 224, 230, 0.08) 40%, transparent 68%); animation-delay: -8s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vmax, 3vmax, 0) scale(1.12); }
}
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    11vw 16vh 0 0 rgba(255, 255, 255, 0.4),
    27vw 64vh 0 0 rgba(255, 255, 255, 0.22),
    43vw 9vh 0 0.4px rgba(255, 255, 255, 0.5),
    58vw 41vh 0 0 rgba(255, 255, 255, 0.24),
    71vw 22vh 0 0.6px rgba(255, 255, 255, 0.42),
    83vw 70vh 0 0 rgba(255, 255, 255, 0.26),
    91vw 33vh 0 0.4px rgba(255, 255, 255, 0.38),
    16vw 84vh 0 0 rgba(255, 255, 255, 0.2),
    64vw 88vh 0 0.4px rgba(255, 255, 255, 0.3),
    6vw 44vh 0 0 rgba(255, 255, 255, 0.3);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 1; } }

main { position: relative; z-index: 1; width: min(100% - 40px, 680px); margin: 0 auto; padding: 56px 0 64px; }

/* ---------- landing ---------- */
.landing { display: flex; flex-direction: column; justify-content: center; min-height: 84vh; }
.r { animation: fade-up 0.7s var(--ease-out) both; }
.r0 { animation-delay: 0.05s; }
.r1 { animation-delay: 0.14s; }
.r2 { animation-delay: 0.26s; }
.r3 { animation-delay: 0.38s; }
.r4 { animation-delay: 0.52s; }
.r5 { animation-delay: 0.62s; }
.r6 { animation-delay: 0.72s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand { margin: 0 0 44px; font: 800 12px/1 system-ui, sans-serif; letter-spacing: 0.34em; color: var(--neon-c); text-shadow: 0 0 18px rgba(255, 122, 200, 0.6); }
.gift-invite { margin: 0 0 28px; padding: 12px 16px; border: 1px solid rgba(255, 122, 200, .4); border-radius: 14px; background: rgba(255, 122, 200, .1); color: #ffd9ef; font-size: 13px; }
.logo { margin: 0 0 20px; font-size: clamp(40px, 9vw, 76px); font-weight: 800; line-height: 1.22; letter-spacing: -0.02em; }
.logo em {
  font-style: normal;
  background: linear-gradient(92deg, var(--neon-c), var(--neon-a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: neon-flicker 2.6s linear 0.9s 1;
}
@keyframes neon-flicker {
  0%, 38%, 44%, 48%, 100% { opacity: 1; }
  40% { opacity: 0.45; }
  46% { opacity: 0.65; }
}
.lede { margin: 0; max-width: 34em; color: var(--dim); font-size: 16px; }
.lede strong { color: var(--text); }

.cta {
  align-self: flex-start;
  margin-top: 36px;
  padding: 17px 26px;
  border: 0;
  border-radius: 99px;
  color: #1b0d1c;
  background: linear-gradient(92deg, var(--neon-c), var(--neon-a));
  font-size: 16px;
  font-weight: 800;
  animation: fade-up 0.7s var(--ease-out) both, breathe 3.2s ease-in-out infinite;
  transition: transform 0.18s var(--ease-out);
}
.cta:hover { transform: translateY(-2px) scale(1.02); }
.cta:active { transform: scale(0.97); }
.cta span { margin-left: 14px; display: inline-block; transition: transform 0.18s var(--ease-out); }
.cta:hover span { transform: translateX(3px); }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 26px rgba(255, 122, 200, 0.35); }
  50% { box-shadow: 0 0 46px rgba(255, 150, 140, 0.55); }
}

.portrait-panel { margin-top: clamp(48px, 8vw, 76px); }
.portrait-kicker { margin: 0 0 24px; color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: .24em; text-align: center; }
.portrait-stage { display: flex; align-items: end; justify-content: center; padding: 14px clamp(8px, 4vw, 30px) 20px; isolation: isolate; }
.hero-portrait {
  position: relative;
  flex: 0 0 min(36%, 192px);
  aspect-ratio: 4 / 5;
  min-width: 0;
  margin: 0 -1.8%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 4vw, 32px);
  background: var(--card);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .34);
  text-align: left;
  transform-origin: 50% 100%;
  animation: portrait-spotlight 9s ease-in-out infinite;
  transition: transform .28s var(--ease-out), box-shadow .28s, border-color .28s;
}
.hero-portrait::after { content: ""; position: absolute; z-index: 1; inset: 36% 0 0; background: linear-gradient(180deg, transparent, rgba(7, 5, 18, .24) 22%, rgba(7, 5, 18, .92)); pointer-events: none; }
.portrait-a { z-index: 1; transform: translateX(5%) rotate(-4deg); animation-delay: 0s; }
.portrait-b { z-index: 3; transform: translateY(-16px) scale(1.035); animation-delay: -6s; }
.portrait-c { z-index: 2; transform: translateX(-5%) rotate(4deg); animation-delay: -3s; }
.hero-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--ease-out), filter .5s; }
.hero-portrait figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; gap: 3px; padding: clamp(13px, 2.8vw, 20px); }
.hero-portrait strong { color: #fffaf4; font-size: clamp(13px, 2.1vw, 17px); letter-spacing: .04em; }
.hero-portrait span { color: rgba(255, 250, 244, .72); font-size: clamp(9px, 1.55vw, 12px); line-height: 1.45; }
.hero-portrait[data-curator="A"] { border-color: color-mix(in srgb, var(--neon-a) 52%, transparent); }
.hero-portrait[data-curator="B"] { border-color: color-mix(in srgb, var(--neon-b) 52%, transparent); }
.hero-portrait[data-curator="C"] { border-color: color-mix(in srgb, var(--neon-c) 52%, transparent); }
.hero-portrait:hover { z-index: 5; animation-play-state: paused; box-shadow: 0 28px 58px rgba(0, 0, 0, .46), 0 0 28px rgba(255, 255, 255, .11); }
.portrait-a:hover { transform: translateX(5%) translateY(-8px) rotate(-2deg) scale(1.03); }
.portrait-b:hover { transform: translateY(-24px) scale(1.065); }
.portrait-c:hover { transform: translateX(-5%) translateY(-8px) rotate(2deg) scale(1.03); }
.hero-portrait:hover img { transform: scale(1.045); }
@keyframes portrait-spotlight {
  0%, 22%, 100% { box-shadow: 0 22px 48px rgba(0, 0, 0, .34); filter: saturate(.92); }
  8%, 14% { box-shadow: 0 26px 56px rgba(0, 0, 0, .44), 0 0 30px rgba(255, 154, 190, .18); filter: saturate(1.08); }
}
.portrait-note { max-width: 39em; margin: 24px auto 0; color: var(--dim); font-size: 12px; line-height: 1.7; text-align: center; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 62px; }
.trio-card {
  padding: 16px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  text-align: left;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.trio-card:hover { transform: translateY(-5px); background: var(--card-hover); }
.trio-card[data-curator="A"]:hover { border-color: var(--neon-a); box-shadow: 0 10px 34px rgba(255, 179, 71, 0.16); }
.trio-card[data-curator="B"]:hover { border-color: var(--neon-b); box-shadow: 0 10px 34px rgba(76, 224, 230, 0.16); }
.trio-card[data-curator="C"]:hover { border-color: var(--neon-c); box-shadow: 0 10px 34px rgba(255, 122, 200, 0.16); }
.trio-avatar { display: inline-block; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 0 16px rgba(255, 255, 255, 0.22); }
[data-curator="A"] .trio-avatar, [data-curator="A"] .delib-avatar, .curator-avatar[data-curator="A"] { background: var(--neon-a); box-shadow: 0 0 16px rgba(255, 179, 71, 0.55); }
[data-curator="B"] .trio-avatar, [data-curator="B"] .delib-avatar, .curator-avatar[data-curator="B"] { background: var(--neon-b); box-shadow: 0 0 16px rgba(76, 224, 230, 0.55); }
[data-curator="C"] .trio-avatar, [data-curator="C"] .delib-avatar, .curator-avatar[data-curator="C"] { background: var(--neon-c); box-shadow: 0 0 16px rgba(255, 122, 200, 0.55); }
.trio-name { display: block; margin: 10px 0 4px; font-size: 14px; font-weight: 800; }
.trio-line { display: block; margin: 0; color: var(--dim); font-size: 12px; line-height: 1.7; }
.trio-hint { margin: 14px 0 0; color: var(--dim); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- flow ---------- */
.flow { padding-top: 26px; min-height: 78vh; }
.flow-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.back { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--dim); font-size: 13px; transition: color 0.2s, border-color 0.2s; }
.back:hover { color: var(--text); border-color: var(--dim); }

.walk { width: 132px; height: 30px; overflow: visible; }
.walk-bg { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.walk-fill { fill: none; stroke: var(--neon-c); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 122, 200, 0.8)); transition: stroke-dasharray 0.5s var(--ease-out); }
.walk-dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 122, 200, 0.95)); transition: cx 0.5s var(--ease-out), cy 0.5s var(--ease-out); }

.step-root.enter { animation: step-in 0.4s var(--ease-out) both; }
@keyframes step-in {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
.q-kicker { margin: 0 0 8px; font: 800 12px/1 system-ui, sans-serif; letter-spacing: 0.22em; color: var(--neon-b); text-shadow: 0 0 14px rgba(76, 224, 230, 0.5); }
.q-title { margin: 0 0 26px; font-size: clamp(24px, 5.4vw, 34px); font-weight: 800; line-height: 1.42; letter-spacing: -0.01em; }
.q-options { display: grid; gap: 10px; }
@media (min-width: 641px) {
  .q-options[data-count="5"],
  .q-options[data-count="7"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-options[data-count="5"] .q-option:last-child,
  .q-options[data-count="7"] .q-option:last-child { grid-column: 1 / -1; }
}
.q-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.15s var(--ease-out), background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.opt-label { display: flex; align-items: center; gap: 12px; }
.option-avatar { flex: none; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; object-position: center; transition: transform 0.2s var(--ease-spring), border-color 0.2s, box-shadow 0.2s; }
.q-option[data-who="A"] .option-avatar { border-color: rgba(255, 179, 71, 0.8); }
.q-option[data-who="B"] .option-avatar { border-color: rgba(76, 224, 230, 0.8); }
.q-option[data-who="C"] .option-avatar { border-color: rgba(255, 122, 200, 0.8); }
.q-option:hover .option-avatar { transform: scale(1.16) rotate(-3deg); box-shadow: 0 0 12px rgba(255, 255, 255, 0.3); }
.q-option::after { content: "→"; color: var(--dim); opacity: 0; transform: translateX(-6px); transition: opacity 0.15s, transform 0.15s; }
.q-option:hover { background: var(--card-hover); border-color: var(--dim); transform: translateX(4px); }
.q-option:hover::after { opacity: 1; transform: translateX(0); }
.q-option[data-flair="2"] { border-color: rgba(76, 224, 230, 0.3); }
.q-option[data-flair="3"] { border-color: rgba(255, 122, 200, 0.4); box-shadow: 0 0 20px rgba(255, 122, 200, 0.1); }
.q-option.selected { animation: pop 0.3s ease; }
.q-option.selected::after { content: "✓"; opacity: 1; transform: none; }
.q-option[data-who="A"].selected { border-color: var(--neon-a); background: rgba(255, 179, 71, 0.13); }
.q-option[data-who="A"].selected::after { color: var(--neon-a); }
.q-option[data-who="B"].selected { border-color: var(--neon-b); background: rgba(76, 224, 230, 0.11); }
.q-option[data-who="B"].selected::after { color: var(--neon-b); }
.q-option[data-who="C"].selected { border-color: var(--neon-c); background: rgba(255, 122, 200, 0.13); }
.q-option[data-who="C"].selected::after { color: var(--neon-c); }
.q-option:disabled { cursor: default; }
.q-option:disabled:not(.selected) { opacity: 0.35; transform: none; box-shadow: none; }
@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.reaction { min-height: 92px; margin-top: 26px; }
.reaction-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  background: var(--card);
}
.reaction-bubble.v-A { animation: seep-in 0.6s ease-out both; border-color: rgba(255, 179, 71, 0.35); }
.reaction-bubble.v-B { animation: snap-in 0.18s var(--ease-spring) both; border-color: rgba(76, 224, 230, 0.35); }
.reaction-bubble.v-C { animation: bounce-in 0.5s var(--ease-spring) both; border-color: rgba(255, 122, 200, 0.35); }
@keyframes seep-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes snap-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes bounce-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.reaction-bubble .curator-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center; }
.reaction-name { margin: 0; font-size: 12px; font-weight: 800; }
.v-A .reaction-name { color: var(--neon-a); }
.v-B .reaction-name { color: var(--neon-b); }
.v-C .reaction-name { color: var(--neon-c); }
.reaction-text { margin: 0; font-size: 14px; min-height: 1.7em; }

/* fine-tune step */
.fine-grid { display: grid; gap: 18px; }
.fine-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fine-grid label, .fine-label { display: grid; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; color: var(--dim); }
textarea {
  min-height: 76px;
  resize: vertical;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: 14px/1.6 "Hiragino Sans", sans-serif;
  transition: border-color 0.2s;
}
textarea:focus { outline: none; border-color: var(--neon-b); box-shadow: 0 0 0 1px var(--neon-b), 0 0 18px rgba(76, 224, 230, 0.15); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s var(--ease-out);
}
.chip:hover { color: var(--text); border-color: var(--dim); transform: translateY(-1px); }
.chip.on { color: #14101f; background: var(--neon-b); border-color: var(--neon-b); box-shadow: 0 0 14px rgba(76, 224, 230, 0.5); }
.chip.on.free { background: var(--neon-a); border-color: var(--neon-a); box-shadow: 0 0 14px rgba(255, 179, 71, 0.5); }
.fine-submit { margin-top: 10px; animation: breathe 3.2s ease-in-out infinite; }
.fine-note { margin: 12px 0 0; color: var(--dim); font-size: 12px; }

/* ---------- deliberation ---------- */
.deliberation { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; }
.delib-kicker { margin: 0 0 30px; font-size: 16px; font-weight: 800; letter-spacing: 0.04em; animation: blink-soft 1.6s ease-in-out infinite; }
@keyframes blink-soft { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.delib-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.delib-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  transition: transform 0.4s var(--ease-spring), opacity 0.35s, border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.delib-head { display: flex; align-items: center; gap: 10px; }
.delib-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center; }
.delib-name { margin: 0; font-size: 13px; font-weight: 800; }
.delib-say { min-height: 3.4em; margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--ease-out); }
.delib-say.show { opacity: 1; transform: none; }
.delib-card.winner { transform: translateY(-8px) scale(1.05); background: var(--card-hover); }
.delib-card[data-curator="A"].winner { border-color: var(--neon-a); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 179, 71, 0.25); }
.delib-card[data-curator="B"].winner { border-color: var(--neon-b); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 0 30px rgba(76, 224, 230, 0.25); }
.delib-card[data-curator="C"].winner { border-color: var(--neon-c); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 122, 200, 0.25); }
.delib-card.lose { opacity: 0.32; transform: scale(0.97); }

/* ---------- letter ---------- */
.result { padding: 48px 0 24px; }
.letter-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 6vw, 52px);
  border-radius: 20px;
  background: #fff8ee;
  color: var(--paper-ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  animation: letter-arrives 0.7s var(--ease-out) both;
}
.letter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.letter-card[data-curator="A"] { background: #fcf3df; }
.letter-card[data-curator="B"] { background: #f5f8f7; }
.letter-card[data-curator="C"] { background: #fdf2f3; }
@keyframes letter-arrives {
  from { opacity: 0; transform: translateY(26px) rotate(0.6deg) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.rise { animation: rise-up 0.55s var(--ease-out) both; }
@keyframes rise-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.letter-band { position: absolute; top: 0; left: 0; right: 0; height: 7px; }
.letter-band[data-curator="A"] { background: linear-gradient(90deg, var(--neon-a), #ffd9a0); }
.letter-band[data-curator="B"] { background: linear-gradient(90deg, var(--neon-b), #b6f4f6); }
.letter-band[data-curator="C"] { background: linear-gradient(90deg, var(--neon-c), #ffc4e5); }

.stamp {
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 3px double currentColor;
  border-radius: 50%;
  font-weight: 800;
  font-size: 25px;
  mix-blend-mode: multiply;
  animation: stamp-in 0.4s var(--ease-spring) 0.75s both;
}
.stamp[data-curator="A"] { color: var(--ink-a); }
.stamp[data-curator="B"] { color: var(--ink-b); }
.stamp[data-curator="C"] { color: var(--ink-c); }
@keyframes stamp-in {
  from { opacity: 0; transform: rotate(6deg) scale(1.9); }
  to { opacity: 0.8; transform: rotate(-8deg) scale(1); }
}

.curator-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; padding-right: 76px; }
.curator-avatar { display: inline-block; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 2px 10px rgba(36, 29, 21, 0.18); }
.curator-name { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.curator-name-main { font-size: 16px; font-weight: 800; }
.curator-name[data-curator="A"] .curator-name-main { color: var(--ink-a); }
.curator-name[data-curator="B"] .curator-name-main { color: var(--ink-b); }
.curator-name[data-curator="C"] .curator-name-main { color: var(--ink-c); }
.curator-name-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--paper-dim); }
.gift-delivery { margin: 0 76px 18px 0; padding: 9px 12px; border-radius: 9px; background: rgba(0, 0, 0, .055); color: var(--paper-dim); font-size: 12px; font-weight: 700; }
.handoff { margin: 18px 0 4px; color: var(--paper-dim); font-size: 13px; font-weight: 700; }

.letter-card h2 { margin: 0; font-size: clamp(28px, 6vw, 44px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.episode { margin: 4px 0 0; font-weight: 700; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding-bottom: 14px; }
.meta-row span { padding: 3px 11px; border-radius: 99px; background: rgba(0, 0, 0, 0.055); color: #5c5344; font-size: 12px; font-weight: 700; }
.credit-line { margin: 0; padding-bottom: 12px; color: #6b6152; font-size: 12.5px; line-height: 1.6; }
.award-badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 99px; background: rgba(196, 148, 60, 0.14); border: 1px solid rgba(196, 148, 60, 0.35); color: #8a6a1f; font-size: 12px; font-weight: 800; }
.detour-mark { margin: 0 0 14px; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, 0.08); color: var(--paper-dim); font-size: 12px; font-weight: 700; }
.fallback-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fff1c9; color: #6d5515; font-size: 12px; font-weight: 700; }

.letter-card section { margin-top: 26px; }
.letter-card h3 { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; }
.letter-card h3[data-curator="A"] { color: var(--ink-a); }
.letter-card h3[data-curator="B"] { color: var(--ink-b); }
.letter-card h3[data-curator="C"] { color: var(--ink-c); }
.letter-card section p { margin: 0; font-size: 15px; }
.core-reason { margin-top: 20px !important; padding: 17px 18px; border-radius: 12px; background: rgba(255, 255, 255, .52); }
.core-reason p { font-size: 16px !important; line-height: 1.75; }
.quick-warning { margin: 12px 0 0; color: var(--paper-dim); font-size: 11.5px; line-height: 1.6; }
.quick-warning strong { color: var(--paper-ink); }

blockquote { margin: 30px 0 16px; padding: 4px 0 4px 18px; border-left: 3px solid var(--paper-ink); font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 17px; font-weight: 600; line-height: 1.8; }
blockquote footer { margin-top: 8px; border: 0; padding: 0; color: var(--paper-dim); font-family: "Hiragino Sans", sans-serif; font-size: 12px; font-weight: 400; text-align: left; }
.warning, .availability { margin: 12px 0 0; font-size: 12.5px; color: var(--paper-dim); }
.warning strong { color: var(--paper-ink); }

.watch-link {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 99px;
  color: #fff8ee;
  background: var(--paper-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s;
}
.watch-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(36, 29, 21, 0.3); }
.watch-link span { margin-left: 10px; }
.affiliate-note { max-width: 38em; margin: 8px 0 0; color: var(--paper-dim); font-size: 10.5px; line-height: 1.55; }

.letter-details { margin-top: 24px; border-top: 1px solid rgba(0, 0, 0, .1); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.letter-details summary { padding: 15px 2px; color: var(--paper-ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.letter-details summary::marker { color: var(--paper-dim); }
.letter-details-body { padding: 4px 0 24px; }
.letter-details-body .credit-line { padding-bottom: 10px; }

.send-this { margin-top: 34px; padding: 18px 20px; border: 1px dashed #d9c9ae; border-radius: 14px; background: rgba(0, 0, 0, 0.03); }
.send-kicker { margin: 0 0 4px; font-size: 14px; font-weight: 800; }
.send-this > p:not(.send-kicker):not(.share-status) { margin: 0; font-size: 13px; color: var(--paper-dim); }
.gift-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.gift-fields label { display: grid; gap: 5px; color: var(--paper-dim); font-size: 11px; font-weight: 700; }
.gift-fields input { width: 100%; padding: 10px 11px; border: 1px solid #cbbc9f; border-radius: 9px; background: rgba(255, 255, 255, .58); color: var(--paper-ink); font: 13px/1.4 system-ui, sans-serif; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-button, .copy-button { padding: 11px 16px; border-radius: 99px; font-size: 13px; font-weight: 800; transition: transform 0.15s var(--ease-out); }
.share-button { border: 0; color: #fff8ee; background: var(--paper-ink); }
.copy-button { border: 1px solid #cbbc9f; color: var(--paper-ink); background: transparent; }
.share-button:hover, .copy-button:hover { transform: translateY(-1px); }
.share-status { min-height: 1.6em; margin: 8px 0 0; font-size: 12px; color: var(--paper-dim); }

.adjustments { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.adjustments p { margin: 0 0 10px; font-size: 14px; font-weight: 800; }
.adjustments button {
  margin: 0 6px 6px 0;
  padding: 10px 16px;
  border: 1px solid #cbbc9f;
  border-radius: 99px;
  background: transparent;
  color: var(--paper-ink);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s var(--ease-out);
}
.adjustments button:hover { background: var(--paper-ink); color: #fff8ee; }

.gift-cta { margin-top: 34px; padding: 16px 18px; border: 1px dashed #d9c9ae; border-radius: 14px; background: rgba(0, 0, 0, 0.03); }
.gift-cta p { margin: 0 0 12px; font-size: 13px; color: var(--paper-dim); line-height: 1.7; }
.gift-cta button {
  padding: 12px 18px;
  border: 0;
  border-radius: 99px;
  color: #fff8ee;
  background: var(--paper-ink);
  font-size: 13.5px;
  font-weight: 800;
  transition: transform 0.15s var(--ease-out);
}
.gift-cta button:hover { transform: translateY(-1px); }

.followup {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 560px;
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}
.followup[data-curator="A"] { border-color: rgba(255, 179, 71, 0.4); }
.followup[data-curator="B"] { border-color: rgba(76, 224, 230, 0.4); }
.followup[data-curator="C"] { border-color: rgba(255, 122, 200, 0.4); }
.followup .curator-avatar { flex: none; width: 44px; height: 44px; }
.followup-body { flex: 1; min-width: 0; }
.followup-name { margin: 0 0 4px; font-size: 12px; font-weight: 800; color: var(--dim); }
.followup-q { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--text); }
.followup-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.followup-actions button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}
.followup-actions button:hover { border-color: var(--dim); background: rgba(255, 255, 255, 0.06); }
.followup-actions button:first-child { border-color: rgba(255, 255, 255, 0.35); }
.followup-reply { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text); }

.empty-copy { margin: 12px 0 0; font-size: 15px; }
.empty-back { margin-top: 22px; padding: 13px 20px; border: 0; border-radius: 99px; color: #fff8ee; background: var(--paper-ink); font-size: 14px; font-weight: 800; }

.reset { margin-top: 26px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--dim); font-size: 13px; transition: color 0.2s, border-color 0.2s; }
.reset:hover { color: var(--text); border-color: var(--dim); }

.site-footer { position: relative; z-index: 1; margin-top: 48px; padding: 42px 20px 34px; color: var(--dim); border-top: 1px solid var(--line); }
.footer-inner { width: min(100%, 680px); margin: 0 auto; }
.footer-brand { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-logo { margin: 0; color: var(--text); font-size: 13px; font-weight: 900; letter-spacing: .26em; }
.footer-tagline { margin: 0; font-size: 12px; line-height: 1.7; text-align: right; }
.footer-note { max-width: 56em; margin: 21px 0 0; font-size: 10.5px; line-height: 1.85; }
.footer-rights { margin: 7px 0 0; font-size: 10.5px; line-height: 1.7; }
.footer-copy { margin: 24px 0 0; color: rgba(255, 255, 255, .52); font-size: 10px; letter-spacing: .08em; }

@media (max-width: 640px) {
  main { width: min(100% - 30px, 680px); padding-top: 36px; }
  .portrait-panel { margin-top: 48px; }
  .portrait-kicker { margin-bottom: 17px; }
  .portrait-stage { padding-inline: 0; }
  .hero-portrait { flex-basis: 35.5%; margin-inline: -1.4%; border-radius: 20px; }
  .portrait-b { transform: translateY(-10px) scale(1.025); }
  .hero-portrait figcaption { padding: 11px 9px; }
  .hero-portrait span { font-size: 8.5px; }
  .portrait-note { margin-top: 18px; }
  .trio { grid-template-columns: 1fr; gap: 10px; margin-top: 46px; }
  .trio-card { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
  .trio-line { grid-column: 2; }
  .pc-br { display: none; }
  .fine-duo { grid-template-columns: 1fr; }
  .delib-stage { grid-template-columns: 1fr; gap: 10px; }
  .delib-say { min-height: 0; }
  .delib-say:empty { margin: 0; }
  .stamp { top: 20px; right: 18px; width: 54px; height: 54px; font-size: 21px; }
  .curator-head { padding-right: 62px; }
  .gift-fields { grid-template-columns: 1fr; }
  .site-footer { margin-top: 34px; padding: 34px 20px 30px; }
  .footer-brand { display: grid; gap: 8px; }
  .footer-tagline { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
