/* SC3: reading progress bar */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 9999;
  pointer-events: none;
  transition: width .1s linear;
}


/* === Node page === */
.node-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px var(--pad-x-lg) 0;
}

/* Breadcrumb / progress */
.node-progress {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.node-progress .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(193,53,43,.15);
  animation: pulseGlow 2s infinite ease-in-out;
}
.node-progress .bar {
  flex: 1; height: 2px; background: var(--line-soft); border-radius: 999px;
  overflow: hidden; max-width: 280px;
}
.node-progress .bar i {
  display: block; height: 100%;
  width: 12%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}

/* === The trapezoid hero === */
.node-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 36px;
}
.trap {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: url(#trap-shape);
  background: var(--surface);
}
.trap::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.85) 100%),
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.trap-img {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, #2d1f28 0%, #1a1217 40%, #0c0709 100%);
  background-size: cover;
  background-position: center;
}
.trap-img::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 30% 70% at 22% 60%, rgba(60,40,55,.9), transparent 60%),
    radial-gradient(ellipse 35% 80% at 78% 65%, rgba(60,40,55,.9), transparent 60%),
    radial-gradient(ellipse 50% 30% at 50% 35%, rgba(220,200,255,.18), transparent 60%),
    radial-gradient(circle 200px at 50% 45%, rgba(255,200,140,.15), transparent 70%);
}
.trap-img::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><defs><pattern id='p' patternUnits='userSpaceOnUse' width='80' height='80' patternTransform='rotate(15)'><path d='M0 40 Q20 10 40 40 T80 40' stroke='rgba(180,140,170,.06)' fill='none' stroke-width='1.5'/><path d='M0 70 Q30 50 50 80 T90 70' stroke='rgba(120,90,110,.05)' fill='none' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23p)'/></svg>");
  mix-blend-mode: screen;
  opacity: .8;
}

.trap-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 36px 56px 60px;
  z-index: 3;
}
.trap-title-wrap { margin-top: 0; text-align: center; }
.trap-logo {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.trap-logo .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 8px 22px var(--accent-glow);
}
.trap-title-wrap {
  margin-top: auto;
  text-align: center;
}
.trap-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 64px);
  letter-spacing: .04em;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0,0,0,.7);
  line-height: 1.05;
}

/* N4: while loading, title text pulses to signal "fetching" */
.trap-title.is-loading {
  animation: pulseDim 1.4s ease-in-out infinite;
}

/* SH3: skeleton shimmer on trap-img while loading */
.trap-img.is-loading {
  background-image: linear-gradient(90deg, var(--surface) 0%, var(--surface-2, #1c1c24) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.8s ease-in-out infinite;
}

/* GL3: accent perimeter glow on image load (one-shot 1.5s) */
.trap-img.is-loaded {
  animation: trapLoad 1.5s ease-out forwards;
}

/* === Meta row === */
.node-meta {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.relics-strip {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.relic-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-soft);
  transition: all .2s;
}
.relic-pill:hover { color: var(--ink); border-color: var(--accent); background: rgba(193,53,43,.08); }
.relic-pill .gem {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent-2);
}

.tag-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
}

:root[data-theme="dark"] .tag-date {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .tag-date {
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.tag-date:hover {
  border-color: var(--accent);
  color: var(--ink);
}

:root[data-theme="dark"] .tag-date:hover {
  background: rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .tag-date:hover {
  background: var(--surface-2);
}

.tag-date svg {
  opacity: 0.7;
}

/* === Story body === */
.story-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  text-wrap: pretty;
  margin-bottom: 28px;
}
.story-body p { margin: 0 0 18px; }
.story-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  float: left;
  line-height: .85;
  margin: 4px 12px 0 0;
}

:root[data-theme="dark"] .story-body p:first-child::first-letter {
  color: var(--accent-2);
  animation: dropCapGlow 4s ease-in-out infinite;
}

:root[data-theme="light"] .story-body p:first-child::first-letter {
  color: var(--accent);
  animation: dropCapGlow 4s ease-in-out infinite;
}

.prompt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 36px 0 18px;
  display: flex; align-items: center; gap: 14px;
}

/* Desktop: separate footer from last choice. Margin lives on footer, not prompt. */
@media (min-width: 901px) {
  #footer-mount .wi-footer { margin-top: 96px; }
}
.prompt::before, .prompt::after {
  content: ''; flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

/* === Choice buttons === */
.choices { display: flex; flex-direction: column; gap: 12px; }
.choice {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  display: flex; align-items: center; gap: 18px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.choice .ix {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: all .2s;
}
.choice .arrow {
  margin-left: auto;
  color: var(--ink-faint);
  transition: all .2s;
  flex-shrink: 0;
}
:root[data-theme="dark"] .choice:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(193,53,43,.08), var(--bg-2));
  transform: translateX(4px);
}

:root[data-theme="light"] .choice:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(168,38,30,.06), var(--bg-2));
  transform: translateX(4px);
}

.choice:hover .ix { background: var(--accent); border-color: var(--accent); color: #fff; }
.choice:hover .arrow { color: var(--accent-2); transform: translateX(4px); }

.choice.relic-use {
  border-color: rgba(201,164,97,.4);
  background: linear-gradient(180deg, rgba(201,164,97,.05), var(--bg-2));
  animation: relicUseGlow 2.5s ease-in-out infinite;
}
.choice.relic-use:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,164,97,.12), var(--bg-2));
}

/* SH2: subtle diagonal shimmer sweep on choice hover */
.choice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.09) 50%, transparent 70%);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}
.choice:hover::before {
  animation: shimmerSweep45 .7s ease forwards;
}
.choice.relic-use .relic-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #8c6f3e);
  display: grid; place-items: center;
  color: #1a1310;
  flex-shrink: 0;
  margin-right: -4px;
  /* N3: subtle pulse hint that this choice needs an item */
  animation: relicHint 2.5s ease-in-out infinite;
}

/* N1: choices get stagger via JS (animationDelay set per-item) — .fade-up utility from styles.css */
.choices .choice.fade-up {
  animation-duration: .4s;
}

/* Reliquia found banner */
.relic-found {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-radius: 16px;
  display: flex; align-items: center; gap: 16px;
}

:root[data-theme="dark"] .relic-found {
  background: linear-gradient(135deg, rgba(201,164,97,.12), rgba(193,53,43,.08));
  border: 1px solid rgba(201,164,97,.3);
}

:root[data-theme="light"] .relic-found {
  background: linear-gradient(135deg, rgba(156,122,50,.10), rgba(168,38,30,.06));
  border: 1px solid rgba(156,122,50,.35);
}

.relic-found.hidden { display: none; }
.relic-found .star {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #8c6f3e);
  display: grid; place-items: center;
  color: #1a1310;
  flex-shrink: 0;
}

/* N2: star pops in when relic is revealed + GL2: gold aura on the banner + SH4: gold flash on star */
.relic-found.is-revealed .star {
  animation: popIn .4s cubic-bezier(.34,1.56,.64,1) both, starFlash .8s .4s ease forwards;
}
.relic-found.is-revealed {
  /* relicAura shorthand resets animation-name → kills fadeUp inherited from
     .fade-up.in-view. Pin opacity/transform to the final fadeUp state so the
     banner is visible regardless. */
  animation: relicAura 6s ease-out forwards;
  opacity: 1;
  transform: none;
}
.relic-found h5 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}
.relic-found p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* === Cross-fade overlay for multi-artist transitions === */
.trap-img-next {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
  transition: opacity .4s ease;
  pointer-events: none;
}
.trap-img-next.fading-in { opacity: 1; }

/* === Shimmer pill for multiple artists === */
.artists-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  background: rgba(225,91,77,.12);
  border: 1px solid rgba(225,91,77,.35);
  color: var(--accent-2);
  transition: border-color .2s, background .2s;
}
/* Artist name in normal case; counter in uppercase */
#artists-pill-name { text-transform: none; letter-spacing: 0; }
.artists-pill-sep  { opacity: .45; font-weight: 400; }
.artists-pill-counter { letter-spacing: .08em; text-transform: uppercase; }
.artists-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(-100%);
  will-change: transform;
  animation: shimmer-sweep 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer-sweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.artists-pill:hover { background: rgba(225,91,77,.2); border-color: var(--accent-2); }
.artists-pill.hidden { display: none; }

/* === Artists modal list === */
.artists-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.artist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.artist-item:hover { border-color: var(--accent-2); transform: translateX(3px); }
.artist-item.active { border-color: var(--accent-2); background: rgba(225,91,77,.08); }
.artist-item .artist-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-3);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.artist-item .artist-info {
  flex: 1;
  min-width: 0;
}
.artist-item .artist-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}
.artist-item .artist-link {
  font-size: 11px;
  color: var(--ink-dim);
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom strip */
.node-bottom {
  margin-top: 80px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.ending-msg {
  text-align: center;
  font-size: 18px;
  color: var(--ink-soft);
  padding: 40px 20px;
}

/* === Modals === */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid; place-items: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-2);
  transform: translateY(0);
  transition: transform .3s cubic-bezier(0.2, 0, 0, 1);
}
.modal-overlay.hidden .modal-content { transform: translateY(16px); }

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.modal-close {
  font-size: 24px;
  color: var(--ink-dim);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--accent-2); background: rgba(225,91,77,.08); }

.modal-body { padding: 24px 28px 32px; overflow-y: auto; }

.changelog-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.changelog-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-soft);
}
.changelog-item .date { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-left: auto; }
.changelog-item .type {
  font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
  flex-shrink: 0;
}
.changelog-item.creation .type { color: var(--gold); background: rgba(201,164,97,.1); border-color: rgba(201,164,97,.25); }

/* SC4: story paragraph reveal */
@media (prefers-reduced-motion: no-preference) {
  .story-body .story-p {
    opacity: 0;
    transform: translateY(10px);
  }
  .story-body .story-p.in-view {
    animation-name: fadeUp;
    animation-duration: .45s;
    animation-timing-function: ease;
    animation-fill-mode: both;
    animation-delay: var(--p-delay, 0ms);
  }
}

/* ST1: dramatic drop cap entrance */
@media (prefers-reduced-motion: no-preference) {
  @keyframes dropCapEntrance {
    from { opacity: 0; transform: scale(.4) rotate(-20deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
  }
  :root[data-theme="dark"] .story-body p:first-child::first-letter,
  :root[data-theme="light"] .story-body p:first-child::first-letter {
    font-size: 3.8em;
    line-height: .75;
    float: left;
    margin: .04em .1em 0 0;
    font-family: var(--font-display);
    animation: dropCapEntrance .6s cubic-bezier(.34,1.56,.64,1) both, dropCapGlow 4s .7s ease-in-out infinite;
  }
}

/* ST3: trap-title letter-spacing breathes in on load */
@media (prefers-reduced-motion: no-preference) {
  @keyframes titleSpacingIn {
    from { letter-spacing: .02em; }
    to   { letter-spacing: .04em; }
  }
  .trap-title { animation: titleSpacingIn .3s ease both; }
}

/* ST7: ripple on choice click */
@keyframes rippleOut {
  from { transform: scale(0); opacity: .35; }
  to   { transform: scale(2.5); opacity: 0; }
}
.choice-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  pointer-events: none;
  animation: rippleOut .6s ease-out forwards;
}

/* TR4: story body skeleton while loading */
.story-body:empty::before {
  content: '';
  display: block;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2, #1c1c24) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.8s ease-in-out infinite;
  margin-bottom: 12px;
}
.story-body:empty::after {
  content: '';
  display: block;
  height: 14px;
  width: 75%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2, #1c1c24) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer-sweep 1.8s ease-in-out infinite;
}

/* DE2: corner ornaments on relic-found */
.relic-found::before,
.relic-found::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--accent-2);
  border-style: solid;
  opacity: .4;
}
.relic-found::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.relic-found::after  { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

/* DE5: subtle logo watermark in story-body background */
.story-body {
  position: relative;
}
.story-body::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 301 303.49'><g fill='%23E14658'><polygon points='150.5 2.06 100.5 202.06 .5 52.06 .5 102.06 100.5 302.06 150.5 102.06 200.5 302.06 300.5 102.06 300.5 52.06 200.5 202.06 150.5 2.06'/><polygon points='10.5 42.06 90.5 162.06 110.5 102.06 10.5 42.06'/><polygon points='290.5 42.06 210.5 162.06 190.5 102.06 290.5 42.06'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .03;
  pointer-events: none;
  z-index: 0;
}
.story-body > * { position: relative; z-index: 1; }

/* Tablet */
@media (max-width: 960px) {
  .node-wrap { padding-left: var(--pad-x-md); padding-right: var(--pad-x-md); }
}

/* Mobile */
@media (max-width: 640px) {
  .node-wrap { padding: 20px var(--pad-x) 0; }
  .node-hero { aspect-ratio: 4 / 5; margin-bottom: 24px; }
  .trap-overlay { padding: 20px 24px 32px; }
  .trap-logo { font-size: 12px; }
  .trap-logo .mark { width: 32px; height: 32px; }
  .node-progress { font-size: 11px; gap: 10px; margin-bottom: 18px; }
  .node-meta { margin-bottom: 22px; gap: 8px; }
  .story-body { font-size: 16px; line-height: 1.7; }
  .story-body p:first-child::first-letter { font-size: 44px; }
  .prompt { margin: 28px 0 14px; font-size: 12px; gap: 10px; }
  .choice {
    padding: 16px 18px;
    font-size: 14.5px;
    gap: 14px;
    border-radius: 14px;
    min-height: var(--touch-min);
  }
  .choice .ix { width: 36px; height: 36px; font-size: 13px; }
  .relic-pill { min-height: 36px; padding: 8px 14px 8px 10px; font-size: 12px; }
  .tag-date { min-height: 32px; padding: 8px 14px; font-size: 11px; }
  .relics-strip { margin-left: 0; width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .relic-found { padding: 14px 16px; gap: 12px; }
  .relic-found .star { width: 36px; height: 36px; }
  .modal-content { max-height: 88vh; border-radius: 18px; }
  .modal-header { padding: 18px 20px; }
  .modal-header h3 { font-size: 16px; }
  .modal-body { padding: 18px 20px 22px; }
  .node-bottom { margin-top: 48px; padding: 18px 0; }
}

/* ============ Inline-style replacements ============ */
/* Hidden SVG holding the trapezoid clipPath defs */
.node-defs-svg { position: absolute; }

/* Empty state in the changelog modal */
.changelog-empty { width: 100%; text-align: center; color: var(--ink-dim); }

/* Staggered fade-up delays (was inline style="animation-delay:…") */
.node-meta.fade-up   { animation-delay: .1s; }
.story-body.fade-up  { animation-delay: .15s; }
.relic-found.fade-up { animation-delay: .18s; }
.choices.fade-up     { animation-delay: .2s; }
