/* Shared by the public pages (index, lore, support, privacy, error). Self-contained: nothing loads from other sites. */
:root {
  --bg: #f7f2ea;
  --surface: #ffffff;
  --text: #2a211b;
  --muted: #6d5f54;
  --line: #e6dccf;
  --accent: #c76a1c;
  --accent-soft: #f5e3cf;
  --glow: rgba(232, 150, 60, 0.28);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110f;
    --surface: #1e1915;
    --text: #f3ebe1;
    --muted: #b3a597;
    --line: #342b24;
    --accent: #f0a04b;
    --accent-soft: #3a2a1c;
    --glow: rgba(240, 160, 75, 0.22);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
}
header.hero {
  text-align: center;
  padding: 72px 0 56px;
  background: radial-gradient(ellipse at 50% 30%, var(--glow), transparent 65%);
}
.hero img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 12px 40px var(--glow);
}
h1 {
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1.1;
  margin: 24px 0 12px;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
h2 {
  font-size: 1.5rem;
  margin: 0 0 20px;
  text-align: center;
}
section { padding: 40px 0; }
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.card p { margin: 0; color: var(--muted); }
svg.icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge svg.icon { width: 20px; height: 20px; }
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 max(28px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
footer a, .prose a { color: var(--accent); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 8px; }
.prose { max-width: 680px; margin: 0 auto; padding: 48px 0 24px; }
.prose h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); margin: 0 0 8px; }
.prose h2 { text-align: left; font-size: 1.25rem; margin: 36px 0 10px; }
.prose .muted { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; text-decoration: none; }
/* "a.button" so it outranks ".prose a" (link colour), or the label turns accent on accent */
a.button, .prose a.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.button svg.icon { stroke: currentColor; }

/* Home page */
:root {
  --fire: #d4541f;
  --water: #2a86c4;
  --earth: #5f8a3a;
  --wind: #7c8fb0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fire: #f07a45;
    --water: #5bb2ea;
    --earth: #8fbf63;
    --wind: #aab9d6;
  }
}
.tagline {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 28px;
}
.actions .badge { margin-top: 0; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg.icon { width: 18px; height: 18px; }
.card a { color: var(--accent); }
.section-lead {
  max-width: 36em;
  margin: -8px auto 24px;
  text-align: center;
  color: var(--muted);
}
ol.grid { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps .card { position: relative; counter-increment: step; }
.steps .card::before {
  content: counter(step);
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.6;
}
.stages {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.stages::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 9px;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--accent));
}
.stages li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
.stages .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}
.stages li:last-child .dot {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--glow);
}
@media (max-width: 400px) {
  .stages li { font-size: 0.78rem; }
}
.elements {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.element {
  --el: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--el);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.element strong { color: var(--el); font-size: 1.05rem; }
.element span { color: var(--muted); font-size: 0.9rem; }
.el-fire { --el: var(--fire); }
.el-water { --el: var(--water); }
.el-earth { --el: var(--earth); }
.el-wind { --el: var(--wind); }
.fusion-lead {
  margin: 22px 0 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Each fusion wears both parents' colours: two overlapping dots, a two-colour top bar and a faint tint. */
.fusions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}
.fusions li {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--a) 13%, transparent), color-mix(in srgb, var(--b) 13%, transparent)),
    var(--surface);
}
.fusions li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--a), var(--b));
}
.fusions .pair { grid-row: 1 / 3; display: flex; }
.fusions .pair i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--a);
  border: 2px solid var(--surface);
}
.fusions .pair i + i { background: var(--b); margin-left: -7px; }
.fusions strong { font-size: 1.05rem; line-height: 1.25; }
.fusions .from { color: var(--muted); font-size: 0.82rem; line-height: 1.3; }
@media (max-width: 640px) {
  .fusions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 340px) {
  .fusions { gap: 8px; }
  .fusions li { column-gap: 9px; padding: 12px 10px 10px; }
  .fusions .pair i { width: 15px; height: 15px; }
}
.story {
  text-align: center;
  margin: 24px 0 40px;
  padding: 48px 20px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, var(--glow), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.story blockquote {
  max-width: 30em;
  margin: 0 auto 24px;
  font-size: clamp(1.1rem, 3.8vw, 1.35rem);
  line-height: 1.5;
}

/* Support page */
.wick-hello {
  max-width: 680px;
  margin: 8px auto 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.wick-hello img {
  width: 128px;
  height: 128px;
  flex: none;
  filter: drop-shadow(0 8px 24px var(--glow));
  animation: wick-float 4s ease-in-out infinite;
}
@keyframes wick-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .wick-hello img { animation: none; }
}
.bubble {
  position: relative;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
}
.bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}
.bubble p { margin: 0; }
.bubble .who {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
@media (max-width: 480px) {
  .wick-hello { flex-direction: column; text-align: center; gap: 8px; }
  .wick-hello img { width: 112px; height: 112px; }
  .bubble::before { left: 50%; top: -8px; transform: translateX(-50%) rotate(135deg); }
}
.faq { padding-top: 16px; }
.faq h2 { margin-top: 24px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { margin: 0 18px 14px; color: var(--muted); }
.faq details ul { padding-left: 1.2em; }
.kofi {
  max-width: 680px;
  margin: 32px auto 48px;
  padding: 32px 24px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, var(--glow), transparent 70%), var(--surface);
}
.kofi h2 { margin-bottom: 12px; }
.kofi p { color: var(--muted); max-width: 32em; margin: 0 auto 12px; }
.kofi .kofi-icon { width: 36px; height: 36px; }
.kofi .small { font-size: 0.9rem; margin-top: 12px; }

/* Lore page */
.story-page {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.08rem;
  line-height: 1.75;
}
.story-page .back, .story-page .eyebrow, .story-page .chapters, .story-page .button, .story-page .num {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.story-page h1, .story-page h2 { font-family: inherit; font-weight: 700; }
.chapters {
  margin: 28px 0 8px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-size: 0.95rem;
}
.chapters ol { margin: 0; padding-left: 1.6em; list-style: upper-roman; }
.chapters li { margin: 4px 0; }
.chapters a { text-decoration: none; }
/* Lore page contents: numbered rows, two columns once there's room */
.lore-toc { padding: 6px; }
.lore-toc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  margin: 0;
  padding: 10px 14px 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lore-toc-meta { color: var(--muted); font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.lore-toc ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 6px;
}
@media (min-width: 560px) {
  .lore-toc ol { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; }
}
.lore-toc li { margin: 0; }
.lore-toc a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 14px;
  line-height: 1.35;
  border-radius: 10px;
  color: var(--text);
  transition: background-color .15s ease, color .15s ease;
}
.lore-toc a:hover, .lore-toc a:focus-visible { background: var(--accent-soft); color: var(--accent); }
.lore-toc-num {
  flex: none;
  width: 2.4em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.lore-toc-title { flex: 1; min-width: 0; }
.chapter { padding: 32px 0 8px; scroll-margin-top: 16px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter .num {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.story-page .chapter h2 { margin: 2px 0 14px; font-size: 1.5rem; }
.opening::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 0.9;
  padding: 6px 8px 0 0;
  color: var(--accent);
  font-weight: 700;
}
.story-page blockquote {
  margin: 20px 0 8px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  font-size: 1.2rem;
  font-style: italic;
}
.story-page blockquote p { margin: 0; }
.story-page cite {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}
.story-page cite::before { content: "\2014\00a0"; }
.gifts { list-style: none; padding: 0 !important; }
.gifts li {
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
}
.pull {
  text-align: center;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
  margin: 28px 0;
}
.closing {
  margin-top: 28px;
  font-style: italic;
  text-align: center;
  color: var(--muted);
}
.story-end { text-align: center; margin-top: 32px; }

/* Lore scenes: silhouettes against a dusk sky. The sky is dusk in both themes, so these colours don't switch. */
:root {
  --sky-1: #3a2a3e;
  --sky-2: #7a4630;
  --sky-3: #d07a35;
  --sil: #140e0c;
  --rays: #ffe3a8;
  --moon: #cdbdf5;
  --s-fire: #ff8a50;
  --s-water: #6cc4f5;
  --s-earth: #9fd06c;
  --s-wind: #c3d0ea;
}
.scene-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene-fig { margin: 4px 0 22px; }
.scene { display: block; width: 100%; height: auto; border-radius: 16px; }
.scene .sil { fill: var(--sil); color: var(--sil); }
.scene .burst, .scene .cycle { fill: none; stroke: var(--rays); stroke-width: 2.5; stroke-linecap: round; }
.scene .burst { stroke-width: 3; }
.scene .cycle { stroke-width: 2; opacity: 0.85; }
.scene .ring { fill: none; stroke: var(--rays); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: 0.35; }
.scene .ray-fill, .scene .star, .scene .print { fill: var(--rays); }
.scene .breath { fill: none; stroke: var(--rays); stroke-width: 3; stroke-linecap: round; opacity: 0.55; }
.scene .bird { fill: none; stroke: var(--sil); stroke-width: 2.5; stroke-linecap: round; }
.scene .void-ring { fill: none; stroke: var(--sil); stroke-width: 6; }
.scene .glyph { fill: var(--rays); color: var(--rays); }
.scene .glyph-stroke { stroke: var(--rays); }
.scene .ash { fill: #e6d6c4; opacity: 0.55; }
.scene .ghost { color: var(--sil); opacity: 0.32; }
.scene .still { color: #d6ecff; opacity: 0.75; }
.scene .still-lines { fill: none; stroke: #8fb3d6; stroke-width: 1.2; }
.scene .unmade { color: none; fill: none; stroke: var(--moon); stroke-width: 2; stroke-dasharray: 7 5; }
.scene .unmade-bit { color: var(--moon); opacity: 0.25; clip-path: inset(0 55% 40% 0); }
.scene .egg { fill: #f7ead6; }
.scene .bridge { fill: none; stroke-width: 7; stroke-linecap: round; }
.scene .c-fire { fill: var(--s-fire); }
.scene .c-water { fill: var(--s-water); }
.scene .c-earth { fill: var(--s-earth); }
.scene .c-wind-fill { fill: var(--s-wind); }
.scene .c-fire-stroke { stroke: var(--s-fire); }
.scene .c-water-stroke { stroke: var(--s-water); }
.scene .c-earth-stroke { stroke: var(--s-earth); }
.scene .c-wind-stroke { stroke: var(--s-wind); }

/* Privacy page */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.policy-head { padding-bottom: 8px; }
.policy-head .intro { font-size: 1.08rem; }
.glance { max-width: 680px; margin: 8px auto 0; }
.glance .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.glance .card { padding: 16px 18px; }
.glance .card h3 { font-size: 1rem; }
.glance .card p { font-size: 0.92rem; }
.policy { padding-top: 24px; }
.toc {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.toc .eyebrow { margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 24px; }
@media (max-width: 420px) { .toc ol { columns: 1; } }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.policy section { scroll-margin-top: 16px; }
.policy h2 { display: flex; align-items: center; gap: 10px; }
.policy h2 svg.icon { width: 22px; height: 22px; }
.keeps-pair { display: grid; gap: 14px; margin-top: 36px; }
.panel {
  padding: 4px 20px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.panel h2 { margin-top: 18px !important; }
.nots { list-style: none; padding-left: 0 !important; }
.nots li { position: relative; padding-left: 26px; }
.nots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.callout {
  margin-top: 36px;
  padding: 4px 20px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 0% 0%, var(--glow), transparent 70%), var(--surface);
}
.callout h2 { margin-top: 18px !important; }
.callout .how {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
}
.faq .still-stuck { margin-top: 18px; color: var(--muted); text-align: center; }

/* Roadmap page: the lore page's look (story-page, chapters, scenes), with feature cards */
.store-note {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 12px;
  background: var(--accent-soft); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 0.95rem;
}
.roadmap .lead-left { color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; }
.road-nav li { margin: 6px 0; }
.road-nav a { font-weight: 700; }
.road-nav span { display: block; color: var(--muted); font-size: 0.88rem; }
.feats {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.feat {
  margin: 0 !important;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.feat h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.02rem; line-height: 1.3; }
.feat h3 svg.icon { width: 22px; height: 22px; }
.feat p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
#built .feat { border-left: 3px solid var(--accent); }
.ideas .feat { border-style: dashed; background: transparent; }
.roadmap .note { color: var(--muted); font-style: italic; text-align: center; margin: 0 0 16px; }
.promises {
  margin-top: 32px;
  padding: 8px 22px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, var(--glow), transparent 70%), var(--surface);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
}
.promises .eyebrow { margin: 14px 0 4px; text-align: center; }
.roadmap .promises h2 { text-align: center; margin: 0 0 10px; }
.scene .arc { fill: none; stroke: var(--rays); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0.8; }
.scene .thread { fill: none; stroke: var(--rays); stroke-width: 2.4; stroke-linecap: round; opacity: 0.9; }
.scene .const { fill: none; stroke: var(--rays); stroke-width: 1.2; opacity: 0.55; }
.scene .star-dim { fill: var(--rays); opacity: 0.3; }
.scene .moon-fill { fill: var(--moon); }
.scene .sun-fill { fill: #ffd27a; }

/* Wick page: Wick on a warm stage, his line in a bubble, a row of mood chips (his rig is in wick.css) */
.wick-hero { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 8px 28px; align-items: center; margin-bottom: 8px; }
.wick-stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: 28px;
  background: radial-gradient(circle at 50% 55%, rgba(255, 220, 160, 0.35), transparent 62%), linear-gradient(#2e2a36, #3a2620);
  display: grid; place-items: center; overflow: hidden;
}
.wick-stage #wick { width: 78%; aspect-ratio: 140 / 160; margin-top: 6%; }
.wick-intro h1 { margin: 0 0 4px; }
.wick-tag { color: var(--muted); margin: 0 0 14px; font-size: 1.05rem; }
.bubble {
  position: relative; margin: 0; padding: 12px 16px; border-radius: 16px; min-height: 3.4em;
  background: var(--surface); border: 1px solid var(--line); font-weight: 600;
}
.bubble::before {
  content: ""; position: absolute; left: -8px; top: 18px; width: 14px; height: 14px; transform: rotate(45deg);
  background: var(--surface); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.wick-page h2 { text-align: left; }
.wick-hero .moods { grid-column: 1 / -1; }
.moods-lead { margin: 6px 0 0; color: var(--muted); }
.mood-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; }
.mood-chips button {
  font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
}
.mood-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.mood-chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mood-note { color: var(--muted); min-height: 1.6em; margin: 0; }
.wick-page blockquote { margin: 18px 0 6px; padding: 4px 0 4px 16px; border-left: 3px solid var(--accent); font-style: italic; }
.wick-page blockquote p { margin: 0; }
.wick-page cite { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; font-style: normal; }
.wick-page cite::before { content: "\2014\00a0"; }
.pebble-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.pebble-art { width: 96px; height: auto; margin-top: 36px; }
@media (max-width: 560px) {
  .wick-hero { grid-template-columns: 1fr; text-align: center; }
  .wick-stage { width: min(240px, 70vw); margin: 0 auto; }
  .bubble { text-align: left; }
  .bubble::before { left: calc(50% - 7px); top: -8px; border-left: 1px solid var(--line); border-bottom: 0; border-top: 1px solid var(--line); }
  .pebble-card { grid-template-columns: 1fr; }
  .pebble-art { margin: 0 auto; width: 84px; }
}
