:root {
  --ink: #e7dfce;
  --muted: #a7a99f;
  --gold: #c9a86a;
  --gold-bright: #f0d597;
  --black: #05090b;
  --panel: rgba(7, 13, 15, .9);
  --line: rgba(211, 190, 145, .22);
  --serif-cn: 'Noto Serif SC', 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  --serif-display: 'Cinzel', 'Baskerville', 'Iowan Old Style', 'Palatino Linotype', var(--serif-cn);
  font-family: var(--serif-cn);
  color: var(--ink);
  background: var(--black);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body, #app { width: 100%; min-height: 100%; margin: 0; }
body { overflow: hidden; background: #05090b; }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
svg { display: block; }

.experience, .journey, .arrival, .prologue-opening {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #071015;
}

.prologue-opening { background: #040a0d; }
.prologue-opening-art { position: absolute; inset: 0; overflow: hidden; }
.prologue-opening-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) brightness(.68) contrast(1.08);
  transform: scale(1.045);
  animation: prologue-world-arrive 2.4s cubic-bezier(.18,.75,.18,1) both;
}
.prologue-war-mist {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(ellipse at 79% 63%, transparent 0 12%, rgba(3,8,10,.16) 32%, rgba(3,8,10,.48) 70%),
    linear-gradient(90deg, rgba(2,7,9,.94) 0%, rgba(2,7,9,.76) 36%, rgba(2,7,9,.15) 72%),
    linear-gradient(0deg, rgba(2,6,8,.42), transparent 45%);
  pointer-events: none;
}
.prologue-opening-card {
  position: absolute;
  z-index: 5;
  left: clamp(30px, 7vw, 112px);
  top: 16%;
  width: min(620px, 48vw);
  padding: 31px 35px 34px;
  border: 1px solid rgba(201,168,106,.26);
  border-left: 2px solid var(--gold);
  background: rgba(3,9,11,.62);
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
  backdrop-filter: blur(7px);
  animation: prologue-card-arrive 1.1s .55s cubic-bezier(.18,.79,.2,1) both;
}
.prologue-opening-card > span { color: var(--gold); font: 400 10px var(--serif-display); letter-spacing: .23em; text-transform: uppercase; }
.prologue-opening-kicker { margin: 22px 0 7px; color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.prologue-opening-card h1 { margin: 0 0 19px; font: 500 clamp(46px, 5vw, 72px)/1.05 var(--serif-cn); letter-spacing: .03em; }
.prologue-opening-story { max-width: 550px; padding-left: 17px; border-left: 1px solid rgba(201,168,106,.52); }
.prologue-opening-story p { margin: 0 0 9px; color: #cbc7bc; font-size: 12px; line-height: 1.85; letter-spacing: .025em; }
.prologue-opening-story p:last-child { margin-bottom: 0; color: #e2d8c4; }
.prologue-opening-card button {
  width: min(300px, 100%);
  min-height: 52px;
  margin-top: 23px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(201,168,106,.5);
  background: rgba(33,23,14,.58);
  color: var(--gold-bright);
  cursor: pointer;
}
.prologue-opening-card button:hover { color: #17100c; background: var(--gold-bright); }
.prologue-opening-card button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.prologue-opening-coordinate { position: absolute; z-index: 5; right: 4.2vw; bottom: 38px; display: flex; align-items: center; gap: 13px; color: rgba(200,186,153,.48); font: 9px var(--serif-display); letter-spacing: .18em; }
.prologue-opening-coordinate i { width: 42px; height: 1px; background: rgba(201,168,106,.5); }

.preload-screen {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #040a0d;
}
.preload-scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 0 18%, rgba(3,8,10,.62) 60%, rgba(2,6,8,.88) 100%),
    linear-gradient(180deg, rgba(2,7,9,.86), rgba(2,7,9,.64));
  pointer-events: none;
}
.preload-modal {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 52%;
  width: min(520px, calc(100vw - 48px));
  padding: 42px 44px 44px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(194,163,102,.38);
  border-top: 2px solid var(--gold);
  background: rgba(4,10,12,.88);
  box-shadow: 0 28px 80px rgba(0,0,0,.52);
  text-align: center;
  backdrop-filter: blur(12px);
  animation: viewpoint-decision-in .7s cubic-bezier(.18,.79,.2,1) both;
}
.preload-eyebrow { margin: 0 0 14px; color: var(--gold); font: 400 11px var(--serif-display); letter-spacing: .32em; text-transform: uppercase; }
.preload-modal h1 {
  margin: 0 0 22px;
  font: 500 clamp(52px, 7vw, 92px) var(--serif-cn);
  letter-spacing: .12em;
  text-shadow: 0 0 46px rgba(201,168,106,.22);
}
html[lang="en"] .preload-modal h1 { font-family: var(--serif-display); font-size: clamp(56px, 7.4vw, 96px); letter-spacing: .04em; }
.preload-modal blockquote {
  max-width: 400px;
  margin: 0 auto 38px;
  color: #c5c0b3;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .08em;
}
html[lang="en"] .preload-modal blockquote { font-family: var(--serif-display); font-size: 16px; line-height: 1.7; letter-spacing: .04em; }
.preload-modal button {
  position: relative;
  overflow: hidden;
  width: min(320px, 100%);
  min-height: 52px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--gold);
  background: rgba(37,27,17,.66);
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .14em;
  transition: background .25s, color .25s, opacity .25s;
}
.preload-modal button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201,168,106,.35), rgba(240,213,151,.35));
  transform: translateX(calc(-100% + var(--preload-progress, 0%)));
  transition: transform .25s ease-out;
  pointer-events: none;
}
.preload-modal button.is-ready::before { display: none; }
.preload-modal button.is-loading { opacity: .7; cursor: wait; }
.preload-modal button.is-ready { opacity: 1; }
.preload-modal button:hover:not(:disabled) { color: #17100c; background: var(--gold-bright); }
.preload-modal button:disabled { cursor: wait; }
.preload-modal button svg { position: relative; z-index: 1; width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.preload-modal button span { position: relative; z-index: 1; }

.theme-home {
  --ink: #f0e3cd;
  --muted: #bca995;
  --gold: #cb8f4b;
  --gold-bright: #f1c67a;
  --panel: rgba(35, 21, 15, .92);
  --line: rgba(215, 162, 95, .27);
}

.topbar {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto 0;
  height: 82px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(2, 6, 8, .74), rgba(2, 6, 8, .06));
}

.wordmark { display: flex; align-items: center; }
.wordmark-greek {
  color: var(--ink);
  font-family: 'Palatino', 'Palatino Linotype', 'New Athena Unicode', 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .035em;
  text-shadow: 0 0 22px rgba(201, 168, 106, .14);
}
.review-return {
  position: absolute;
  left: 50%;
  min-height: 36px;
  padding: 0 14px 0 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(201,168,106,.42);
  background: rgba(6,12,13,.62);
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .12em;
}
.review-return::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
.review-return b { font: 400 12px var(--serif-display); }
.review-return:hover { background: rgba(201,168,106,.15); }

.tools { display: flex; align-items: center; gap: 7px; }
.tool-button, .language-switch button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.tool-button {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  transition: color .25s, background .25s;
}
.tool-button:hover, .tool-button.is-active { color: var(--ink); background: rgba(231, 223, 206, .06); }
.tool-button svg, .narration-card button svg, .chapter-action button svg, .chapter-seal button svg, .arrival-card button svg, .viewpoint-decision button svg, .quote-panel a svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.language-switch { display: flex; align-items: center; gap: 7px; margin-left: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.language-switch button { padding: 8px 3px; color: #707775; font: 500 11px var(--serif-display); letter-spacing: .1em; }
.language-switch button.is-active { color: var(--gold-bright); }
.language-switch i { width: 1px; height: 13px; background: var(--line); transform: rotate(18deg); }

.scene-stage { position: absolute; inset: 0; overflow: hidden; }
.scene-art { position: absolute; inset: 0; transform: scale(1.015); animation: scene-arrive 1.4s cubic-bezier(.2,.75,.2,1) both; }
.scene-fallback, .scene-plate { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-fallback { z-index: 0; }
.scene-plate {
  z-index: 1;
  object-fit: cover;
  object-position: var(--plate-object-position, var(--plate-x, 50%) center);
  filter: saturate(.92) contrast(1.03);
  animation: scene-plate-drift 14s cubic-bezier(.18,.68,.22,1) both;
}
.scene-art::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at var(--scene-focus-x, 60%) var(--scene-focus-y, 55%), rgba(218, 182, 111, .08), transparent 15%),
    linear-gradient(115deg, rgba(2, 7, 9, .1), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.scene-art::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,5,7,.75) 0%, transparent 39%, transparent 72%, rgba(1,5,7,.35) 100%),
    linear-gradient(0deg, rgba(1,5,7,.78) 0%, transparent 35%, rgba(1,5,7,.2) 100%);
  pointer-events: none;
}
.theme-home .scene-art::after { background: linear-gradient(90deg, rgba(20,11,8,.72), transparent 45%, rgba(20,11,8,.25)), linear-gradient(0deg, rgba(20,11,8,.78), transparent 42%); }
.scene-svg { width: 100%; height: 100%; }
.svg-stars circle { animation: twinkle 5s ease-in-out infinite alternate; }
.svg-stars circle:nth-child(3n) { animation-delay: -2s; }

.chapter-index {
  position: absolute;
  z-index: 4;
  top: 113px;
  left: clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--serif-cn);
  text-align: left;
}
.chapter-index::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.chapter-index b { color: var(--gold-bright); font-weight: 400; }
.chapter-index i { width: 7px; height: 7px; margin-left: -9px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.chapter-index[aria-expanded="true"] i { transform: rotate(225deg) translate(-2px, -1px); }
.chapter-index:hover span, .chapter-index:focus-visible span { color: var(--ink); }
.chapter-index.is-reviewing::after { content: '回顾'; padding: 3px 6px; color: var(--gold); border: 1px solid var(--line); font-size: 8px; letter-spacing: .16em; }
html[lang="en"] .chapter-index.is-reviewing::after { content: 'REVIEW'; }

.scene-title {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 7vw, 110px);
  top: 28%;
  width: min(560px, 45vw);
  animation: title-in .8s .2s both;
}
.scene-entry-settled .scene-art {
  opacity: 1;
  filter: none;
  transform: scale(1.015);
  animation: none;
}
.scene-entry-settled .scene-plate {
  transform: scale(1.005);
  animation: none;
}
.scene-entry-settled .scene-title {
  opacity: 1;
  transform: none;
  animation: none;
}
.scene-title p { margin: 0 0 10px; color: var(--gold); font: 500 11px var(--serif-display); letter-spacing: .2em; text-transform: uppercase; }
.scene-title h1 { margin: 0; max-width: 550px; font: 500 clamp(38px, 4.5vw, 66px)/1.08 var(--serif-cn); letter-spacing: .02em; word-break: keep-all; text-shadow: 0 5px 28px rgba(0,0,0,.5); }
html[lang="en"] .scene-title h1 { font-family: var(--serif-display); font-size: clamp(46px, 5.8vw, 84px); letter-spacing: -.02em; }
.scene-story {
  max-width: 520px;
  margin-top: 22px;
  padding: 14px 18px 15px;
  color: #d9d5ca;
  border-left: 1px solid var(--gold);
  background: linear-gradient(90deg, rgba(3, 8, 10, .62), rgba(3, 8, 10, .12));
  backdrop-filter: blur(5px);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.95;
  letter-spacing: .045em;
}
.theme-home .scene-story { background: linear-gradient(90deg, rgba(35, 20, 14, .68), rgba(35, 20, 14, .12)); }
html[lang="en"] .scene-story { font-family: var(--serif-display); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.65; letter-spacing: .015em; }

.hotspot {
  --size: 50px;
  position: absolute;
  z-index: 8;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.hotspot > i { position: absolute; inset: 0; border: 1px solid rgba(221, 203, 156, .64); border-radius: 50%; animation: pulse 2.8s ease-out 2; }
.hotspot > i:nth-child(2) { inset: 12px; background: var(--gold-bright); border: 0; box-shadow: 0 0 20px var(--gold); animation: breathe 2.6s infinite; }
.hotspot > span {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: max-content;
  max-width: 210px;
  padding: 7px 10px;
  transform: translateX(-50%);
  color: var(--ink);
  background: rgba(4,9,10,.85);
  border: 1px solid var(--line);
  opacity: 1;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.55;
  transition: color .2s, border-color .2s, background .2s;
}
.hotspot:hover > span, .hotspot:focus-visible > span { color: var(--gold-bright); border-color: var(--gold); background: rgba(4,9,10,.94); }
.hotspot.is-seen > i:first-child { border-color: var(--gold); opacity: .42; animation: none; }
.hotspot.is-seen > i:nth-child(2) { width: 7px; height: 7px; inset: 22px; animation: none; opacity: .65; }

.edge-inscription { position: absolute; z-index: 3; right: 22px; top: 28%; color: rgba(205,191,153,.19); writing-mode: vertical-rl; font: 12px var(--serif-display); letter-spacing: .35em; }

.progress-block {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 4vw, 64px);
  bottom: 34px;
  width: min(320px, 32vw);
}
.progress-copy { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 10px; letter-spacing: .11em; }
.progress-copy strong { color: var(--ink); font-weight: 400; }
.progress-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress-track i { position: relative; height: 2px; background: rgba(215,220,207,.16); overflow: hidden; }
.progress-track i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-101%); transition: transform .5s; }
.progress-track i.is-found::after { transform: none; }
.progress-track i.is-current { box-shadow: 0 0 8px rgba(225,193,123,.25); }
.progress-block > p { margin: 9px 0 0; color: var(--muted); font: 10px var(--serif-display); letter-spacing: .11em; text-transform: uppercase; }
.progress-block em { color: var(--gold-bright); font-style: normal; }

.chapter-action { position: absolute; z-index: 7; right: clamp(24px, 4vw, 64px); bottom: 29px; display: flex; align-items: center; gap: 22px; }
.chapter-action p { max-width: 420px; margin: 0; color: var(--muted); font-size: 11px; text-align: right; line-height: 1.7; }
.chapter-action button, .chapter-seal button, .narration-card button, .arrival-card button, .viewpoint-decision button {
  min-height: 48px;
  padding: 0 19px 0 22px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--gold);
  background: rgba(11,15,15,.68);
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
  transition: background .25s, color .25s, opacity .25s;
}
.chapter-action button:hover:not(:disabled), .chapter-seal button:hover, .narration-card button:hover, .arrival-card button:hover, .viewpoint-decision button:hover { color: #17100c; background: var(--gold-bright); }
.chapter-action button:disabled { opacity: .3; cursor: not-allowed; filter: grayscale(1); }

.chapter-seal {
  position: absolute;
  z-index: 9;
  right: clamp(24px, 5vw, 76px);
  bottom: clamp(38px, 7vh, 68px);
  width: min(780px, 66vw);
  min-height: 285px;
  padding: 22px 26px 25px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: linear-gradient(105deg, rgba(5, 12, 14, .9), rgba(8, 14, 15, .68));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .34);
  backdrop-filter: blur(12px);
  animation: completion-action-in .65s cubic-bezier(.18,.79,.2,1) both;
}
.theme-home .chapter-seal { background: linear-gradient(105deg, rgba(43, 25, 17, .94), rgba(32, 20, 15, .78)); }
.seal-header { display: flex; align-items: baseline; gap: 13px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.seal-header span { color: var(--gold); font-size: 9px; letter-spacing: .16em; white-space: nowrap; }
.seal-header h2 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.seal-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 205px; }
.seal-original {
  position: relative;
  padding: 20px 28px 4px 0;
  border-right: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(143, 109, 62, .07), transparent 68%);
}
.seal-original::after { content: 'Ω'; position: absolute; right: 13px; bottom: 1px; color: rgba(196, 164, 103, .08); font: 74px/1 'GFS Porson', 'New Athena Unicode', Palatino, serif; }
.seal-original blockquote {
  margin: 0 0 12px;
  color: #bdad8b;
  font-family: 'GFS Porson', 'New Athena Unicode', 'Palatino', 'Palatino Linotype', 'Times New Roman', serif;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .025em;
  text-shadow: 0 1px rgba(0, 0, 0, .7), 0 0 18px rgba(177, 137, 73, .09);
}
.seal-original p { margin: 0 0 10px; color: #bbb7ac; font-size: clamp(12px, 1vw, 14px); line-height: 1.75; letter-spacing: .035em; }
.seal-original a { position: relative; z-index: 1; color: #857d6c; font: 9px var(--serif-display); letter-spacing: .08em; text-decoration: none; }
.seal-original a:hover { color: var(--gold-bright); }
.seal-lesson {
  min-width: 0;
  padding: 20px 0 0 29px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
}
.seal-lesson blockquote {
  margin: auto 0 14px;
  color: var(--ink);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.7;
  letter-spacing: .045em;
  text-align: left;
}
.seal-lesson button { width: 100%; min-height: 45px; justify-content: space-between; background: rgba(13, 17, 16, .5); }
.is-complete .progress-block { opacity: .48; }

.narration-scrim { position: absolute; z-index: 10; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,.48)); backdrop-filter: blur(2px); animation: fade-in .35s both; }
.narration-card {
  position: absolute;
  z-index: 14;
  right: clamp(26px, 8vw, 130px);
  top: 50%;
  width: min(570px, 43vw);
  min-height: 315px;
  padding: clamp(28px, 4vw, 56px);
  transform: translateY(-48%);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(8,16,18,.96), rgba(8,13,15,.88));
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  animation: narration-in .55s cubic-bezier(.18,.79,.2,1) both;
}
.theme-home .narration-card { background: linear-gradient(135deg, rgba(48,28,18,.96), rgba(26,17,13,.91)); }
.narration-card::before { content: '“'; position: absolute; top: 29px; right: 38px; color: rgba(201,168,106,.13); font: 130px/1 var(--serif-display); }
.narration-card header { display: flex; align-items: center; gap: 13px; color: var(--gold); font-size: 10px; letter-spacing: .15em; }
.narration-card header span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; }
.narration-card header p { margin: 0; }
.narration-card blockquote { position: relative; margin: 30px 0 36px; color: #f0e8d8; font: 400 clamp(17px, 1.6vw, 23px)/2 var(--serif-cn); letter-spacing: .04em; }
html[lang="en"] .narration-card blockquote { font-family: var(--serif-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.55; letter-spacing: .01em; }
.narration-card button { margin-left: auto; background: transparent; }

.side-panel {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  width: min(480px, 94vw);
  height: 100%;
  padding: 112px 56px 48px;
  border-left: 1px solid var(--line);
  background: var(--panel);
  box-shadow: -30px 0 80px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
  animation: panel-in .4s cubic-bezier(.2,.8,.2,1) both;
}
.panel-scrim { position: absolute; z-index: 39; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(1,5,7,.48); cursor: default; animation: fade-in .25s both; }
.panel-close { position: absolute; top: 98px; right: 28px; width: 38px; height: 38px; padding: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.panel-close svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.eyebrow { color: var(--gold); font: 10px var(--serif-display); letter-spacing: .2em; }
.side-panel h2 { margin: 13px 0 35px; font: 500 36px var(--serif-cn); }
html[lang="en"] .side-panel h2 { font-family: var(--serif-display); font-size: 44px; }
.quote-panel blockquote { margin: 0; color: #e6d7b8; font: 400 27px/1.7 var(--serif-display); }
.quote-panel .translation { margin: 31px 0; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 2; }
.quote-panel a { display: flex; align-items: center; gap: 12px; color: var(--gold-bright); font-size: 11px; text-decoration: none; letter-spacing: .08em; }
.quote-panel small { position: absolute; bottom: 36px; left: 56px; color: var(--muted); font-size: 9px; }

.chapter-drawer {
  left: 0;
  right: auto;
  width: min(430px, 96vw);
  padding: 108px 34px 28px;
  border-right: 1px solid var(--line);
  border-left: 0;
  background:
    linear-gradient(100deg, rgba(10,17,17,.97), rgba(6,12,14,.93)),
    url('/assets/visual/map/concepts/overview/homeric-chart-overview-v01.png') center/cover;
  box-shadow: 30px 0 90px rgba(0,0,0,.48);
  animation: chapter-drawer-in .45s cubic-bezier(.2,.8,.2,1) both;
}
.chapter-drawer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(197,160,91,.055), transparent 72%); pointer-events: none; }
.chapter-drawer .panel-close { left: auto; right: 22px; }
.chapter-drawer h2 { margin-bottom: 8px; }
.chapter-scroll-intro { position: relative; margin: 0 0 24px; color: var(--muted); font-size: 11px; line-height: 1.8; letter-spacing: .04em; }
.chapter-scroll-list { position: relative; height: calc(100% - 125px); padding-right: 7px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(201,168,106,.4) transparent; }
.chapter-scroll-item {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 12px 13px 12px 10px;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-top: 1px solid rgba(211,190,145,.13);
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.chapter-scroll-item:last-child { border-bottom: 1px solid rgba(211,190,145,.13); }
button.chapter-scroll-item { cursor: pointer; }
.chapter-scroll-item > b { color: #777a73; font: 400 18px var(--serif-display); letter-spacing: .09em; }
.chapter-scroll-item > span { min-width: 0; }
.chapter-scroll-item strong { display: block; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 400; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.chapter-scroll-item small { display: block; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
.chapter-scroll-item em { color: var(--gold); font-size: 9px; font-style: normal; letter-spacing: .1em; white-space: nowrap; }
.chapter-scroll-item.is-complete:hover, .chapter-scroll-item.is-complete:focus-visible { background: rgba(201,168,106,.085); }
.chapter-scroll-item.is-complete:hover > b { color: var(--gold-bright); }
.chapter-scroll-item.is-current { background: linear-gradient(90deg, rgba(201,168,106,.15), transparent); box-shadow: inset 2px 0 var(--gold); }
.chapter-scroll-item.is-current > b, .chapter-scroll-item.is-current em { color: var(--gold-bright); }
.chapter-scroll-item.is-reviewing { background: rgba(95,109,103,.08); }
.chapter-scroll-item.is-locked { min-height: 51px; grid-template-columns: 43px 1fr; opacity: .44; }
.chapter-scroll-item.is-locked > b { color: #555b58; font-size: 14px; }
.chapter-lock-mark { position: relative; height: 19px; }
.chapter-lock-mark::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, rgba(126,128,119,.34), transparent); }
.chapter-lock-mark i { position: absolute; top: 5px; width: 8px; height: 8px; border: 1px solid rgba(135,130,113,.48); transform: rotate(45deg); }
.chapter-lock-mark i:first-child { left: 24%; }
.chapter-lock-mark i:last-child { left: 27%; opacity: .34; transform: rotate(45deg) translate(4px,-4px); }

.constellation-canvas { position: relative; height: 430px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 50%, rgba(167,134,76,.09), transparent 55%); }
.constellation-canvas::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(234,213,162,.28) 0 1px, transparent 1.5px); background-size: 43px 37px; opacity: .3; }
.constellation-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.constellation-canvas line { stroke: #c9ad73; stroke-width: .35; vector-effect: non-scaling-stroke; opacity: .6; }
.constellation-canvas .relation-distant, .constellation-canvas .relation-guiding { stroke-dasharray: 2 3; }
.constellation-canvas .relation-opposed { stroke: #9b4d36; }
.star-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%); text-align: center; }
.star-node i { display: block; width: 7px; height: 7px; margin: auto; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 14px var(--gold); }
.star-node b { display: block; margin-top: 7px; color: var(--ink); font-size: 10px; font-weight: 500; white-space: nowrap; }
.star-node span { display: none; position: absolute; left: 50%; top: 30px; width: 160px; transform: translateX(-50%); color: var(--muted); font-size: 9px; }
.star-node:hover span { display: block; }
.constellation-note { color: var(--muted); font-size: 10px; line-height: 1.8; }

.journey { background: #061016; }
.journey-map, .viewpoint-art { position: absolute; inset: 0; overflow: hidden; background: #050b0e; }
.homeric-chart-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) brightness(.83) contrast(1.06);
}
.homeric-chart-picture { position: absolute; inset: 0; }
.homeric-chart-picture, .homeric-chart-picture img { width: 100%; height: 100%; }
.map-layer-inscription {
  position: absolute;
  z-index: 4;
  right: 24px;
  top: 104px;
  color: rgba(216,194,143,.52);
  font: 9px var(--serif-cn);
  letter-spacing: .28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.chart-sea-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 62% 42%, rgba(21,60,70,.12), transparent 36%),
    linear-gradient(180deg, rgba(3,8,10,.24), transparent 34%, rgba(2,6,8,.35));
  box-shadow: inset 0 0 120px rgba(0,0,0,.58);
  pointer-events: none;
}
.journey-svg { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.journey-map.map-traveling .homeric-chart-base { animation: map-pullback 4.2s cubic-bezier(.22,.68,.2,1) both; }
.map-location circle:first-child { fill: rgba(5,12,14,.25); stroke: #c4a76a; stroke-width: 1; stroke-dasharray: 3 7; }
.map-location circle:nth-child(2) { fill: #e0bf78; filter: drop-shadow(0 0 7px #bd9552); }
.map-location text { fill: #d2c29d; font: 12px var(--serif-cn); letter-spacing: .1em; paint-order: stroke; stroke: #071014; stroke-width: 4px; }
.map-location-to { opacity: .18; animation: reveal-destination 1.4s 2.5s forwards; }
.journey-route { stroke: #d2ad62; stroke-width: 2; stroke-dasharray: .018 .028; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(213,177,101,.45)); animation: draw-route 2.7s .75s ease-in-out forwards; }
.travel-token {
  fill: #090b0b;
  stroke: #c09a5c;
  stroke-width: 1.7;
  offset-path: path('M920 363 C958 425 984 510 1025 598');
  offset-distance: 0%;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.55));
  animation: travel 2.8s 1s cubic-bezier(.35,.02,.25,1) forwards;
}
.layered-journey-map .layered-token-wrap {
  offset-path: var(--journey-path);
  offset-distance: 0%;
  animation: travel 3.15s 1s cubic-bezier(.35,.02,.25,1) forwards;
}
.layered-journey-map .travel-token { offset-path: none; animation: none; }
.map-arrived.layered-journey-map .layered-token-wrap { offset-distance: 100%; animation: none; }
.journey-map-stage { position: absolute; inset: 0; overflow: hidden; }
.multi-stage-journey-map .stage-1 { z-index: 2; animation: map-stage-depart 4.2s ease-in-out both; }
.multi-stage-journey-map .stage-2 { z-index: 3; opacity: 0; animation: map-stage-arrive 4.2s ease-in-out both; }
.multi-stage-journey-map.map-arrived .stage-1 { display: none; }
.multi-stage-journey-map.map-arrived .stage-2 { opacity: 1; animation: none; }
.multi-stage-journey-map .stage-1 .layered-token-wrap { animation-duration: 1.7s; }
.multi-stage-journey-map .stage-2 .layered-token-wrap { animation-delay: 2.25s; animation-duration: 1.55s; }
.map-loss-marks { color: #8f4f3c; fill: none; stroke: #a9654d; stroke-width: 1.3; opacity: .76; }
.map-loss-marks circle { fill: rgba(75,31,24,.16); stroke-dasharray: 2 4; }
.map-loss-marks text { fill: #b77c63; stroke: none; font: 10px var(--serif-cn); }
.map-context-routes { fill: none; stroke: #8e7951; stroke-width: 1.2; stroke-linecap: round; opacity: .44; }
.context-route { stroke-dasharray: 5 10; filter: drop-shadow(0 0 2px rgba(155,126,72,.2)); }
.context-route.is-reviewing { opacity: 1; stroke: #d8b467; stroke-width: 2.2; }
.context-route-loss-marked-wanderings { stroke: #756b58; stroke-dasharray: 3 11; }
.context-route-telemachus-gold-route { stroke: #b89958; opacity: .72; }
.context-route-river-current { stroke: #748f8e; stroke-width: 3; stroke-dasharray: 2 8; opacity: .58; }
.route-telemachus-gold-sea .layered-active-route { stroke: #dfbd70; }
.route-ochre-land-road .layered-active-route { stroke: #bc8a51; stroke-dasharray: .01 .02; }
.route-scheria-river-road .layered-active-route { stroke: #d2c18e; }
.route-fleet-homeward-sea .layered-active-route,
.route-fleet-loss-sea .layered-active-route,
.route-memory-return-sea .layered-active-route,
.route-single-survivor-sea .layered-active-route,
.route-calm-white-homeward .layered-active-route { stroke: #c8ae75; }
.route-fractured-blue-sea .layered-active-route { stroke: #657f8f; }
.route-unfinished-home-ring .layered-active-route { stroke: #d0b16d; stroke-dasharray: .04 .018; }
.route-underworld-descent .layered-active-route { stroke: #697278; filter: drop-shadow(0 0 6px rgba(55,80,94,.7)); }
.route-reverse-fractured-drift .layered-active-route,
.route-storm-broken-raft .layered-active-route { stroke: #9ca7a0; stroke-dasharray: .012 .03; }
.route-ithaca-inland-ochre .layered-active-route,
.route-father-son-double-path .layered-active-route { stroke: #b18c58; }
.route-loom-thread-path .layered-active-route,
.route-bow-chest-interior .layered-active-route,
.route-arrow-shadow-axis .layered-active-route,
.route-cooling-dark-corridor .layered-active-route { stroke: #bda06a; }
.route-living-root-path .layered-active-route { stroke: #8c9b66; }
.travel-telemachus-ship .token-hull { fill: #090b0b; }
.travel-telemachus-ship .token-mast { fill: rgba(187,153,86,.24); }
.travel-token .token-lamp { fill: #f0c979; stroke: none; filter: drop-shadow(0 0 7px #c79d53); }
.travel-chariot { fill: none; stroke: #b88650; stroke-linecap: round; stroke-linejoin: round; }
.travel-chariot circle:not(.token-lamp) { fill: rgba(15,12,10,.72); stroke-width: 2; }
.travel-chariot .chariot-box { fill: rgba(45,27,16,.8); }
.travel-chariot .chariot-pole, .travel-chariot .chariot-horses { fill: none; stroke-width: 2.2; }
.travel-linen-walker { stroke: #c5ad76; stroke-linecap: round; stroke-linejoin: round; }
.travel-linen-walker .walker-head, .travel-linen-walker .walker-body { fill: rgba(10,14,14,.82); }
.travel-linen-walker .walker-limbs { fill: none; stroke-width: 2.5; }
.travel-linen-walker .linen-guide { fill: none; stroke: #ddd2ad; stroke-width: 3.2; filter: drop-shadow(0 0 4px rgba(221,210,173,.42)); }
.travel-fleet .fleet-ship { transform: scale(.72); transform-origin: center; }
.travel-fleet .fleet-ship-a { transform: translate(-8px,-9px) scale(.72); }
.travel-fleet .fleet-ship-b { transform: translate(18px,12px) scale(.62); }
.travel-fleet .fleet-ship-c { transform: translate(-25px,17px) scale(.55); }
.travel-fleet-reduced .fleet-ship-a { transform: translate(-10px,-7px) scale(.78); }
.travel-fleet-reduced .fleet-ship-b { transform: translate(18px,12px) scale(.62); opacity: .64; }
.travel-white-sail .token-mast { fill: rgba(226,216,178,.62); stroke: #e0d3ab; }
.travel-raft, .travel-wreckage, .travel-walker, .travel-double-walker,
.travel-palace-threads, .travel-bow-chest, .travel-arrow-shadow,
.travel-ash-water, .travel-living-root { fill: none; stroke: #c3a66d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.travel-wreckage circle { fill: rgba(221,224,211,.3); stroke: #cad1cb; }
.travel-walker path:first-of-type { fill: rgba(11,14,14,.78); }
.travel-double-walker .dark-walker { opacity: .45; }
.travel-palace-threads { stroke-width: 1.5; }
.travel-bow-chest rect { fill: rgba(42,27,16,.68); }
.travel-arrow-shadow .arrow-shadow-line { opacity: .3; transform: translateY(5px); }
.travel-ash-water { stroke: #9daaa7; }
.travel-living-root { stroke: #9eaa72; stroke-width: 2.4; filter: drop-shadow(0 0 4px rgba(127,143,86,.4)); }
.map-layer-l2 .homeric-chart-base { filter: saturate(.75) brightness(.76) contrast(1.08); }
.map-layer-l2.map-traveling .homeric-chart-base { animation: location-map-pullback 4.2s cubic-bezier(.22,.68,.2,1) both; }
.travel-driftwood, .travel-linen, .travel-olive, .travel-olive-root, .travel-double-route, .travel-threads, .travel-bow-chest, .travel-arrow-shadow, .travel-ash-water { fill: rgba(9,11,11,.38); stroke-linecap: round; stroke-linejoin: round; }
.travel-driftwood path { fill: none; stroke-width: 3; }
.travel-driftwood circle { fill: #e1c47e; stroke: none; filter: drop-shadow(0 0 5px #bd9552); }
.travel-linen { fill: rgba(219,211,183,.24); stroke-width: 1.3; }
.travel-linen path + path { fill: none; stroke-width: 1; opacity: .7; }
.travel-olive { fill: rgba(97,112,69,.42); stroke: #c5ad6b; stroke-width: 1.4; }
.travel-olive path + path { fill: none; stroke: #d5bd78; stroke-width: 1; opacity: .85; }
.travel-olive-root { fill: none; stroke: #b89d61; stroke-width: 1.7; }
.travel-olive-root .root-spine { stroke: #ddc17d; stroke-width: 2.8; filter: drop-shadow(0 0 4px rgba(221,193,125,.5)); }
.travel-olive-root circle { fill: #c9ad69; stroke: none; }
.travel-double-route { fill: none; stroke-width: 2.4; }
.travel-double-route .route-bright { stroke: #dfc179; fill: #dfc179; filter: drop-shadow(0 0 4px rgba(223,193,121,.55)); }
.travel-double-route .route-dark { stroke: #80664d; fill: #80664d; }
.travel-threads { fill: none; stroke: #b79b69; stroke-width: 1.15; }
.travel-threads path:first-child { stroke: #d5bd78; }
.travel-threads path:last-child { opacity: .58; }
.travel-bow-chest { fill: rgba(40,25,17,.76); stroke: #b89559; stroke-width: 1.35; }
.travel-bow-chest path + path { fill: none; stroke-width: 1; }
.travel-bow-chest .bow-mark { stroke: #d3b36f; opacity: .86; }
.travel-arrow-shadow { fill: none; stroke: #c7aa70; stroke-width: 2; }
.travel-arrow-shadow path:first-child { filter: drop-shadow(0 0 4px rgba(199,170,112,.45)); }
.travel-ash-water { fill: none; stroke: #8ea0a0; stroke-width: 1.45; }
.travel-ash-water path:nth-child(2) { opacity: .76; }
.travel-ash-water path:nth-child(3) { opacity: .5; }
.travel-ash-water circle { fill: #9e5038; stroke: none; filter: drop-shadow(0 0 4px rgba(158,80,56,.7)); }
.map-arrived .homeric-chart-base { transform: scale(1); }
.map-arrived .journey-route { stroke-dashoffset: 0; animation: none; }
.map-arrived .travel-token { offset-distance: 100%; animation: none; }
.map-arrived .map-location-to { opacity: 1; animation: none; }
.final-return-map .homeric-chart-base { transform-origin: 77% 48%; }
.final-return-map.map-traveling .homeric-chart-base { animation: final-map-pullback 5.6s cubic-bezier(.2,.7,.18,1) both; }
.final-memory-routes { fill: none; stroke: #a88852; stroke-width: 1.4; stroke-dasharray: 5 9; opacity: .62; }
.final-return-map.map-traveling .final-memory-routes { stroke-dasharray: 1; stroke-dashoffset: 1; animation: final-routes-reveal 4.8s .4s ease-out forwards; }
.final-loss-marks { fill: #70544b; stroke: #b58a65; stroke-width: 1; opacity: .78; }
.final-peace-origin path { fill: none; stroke: #dac17e; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(218,193,126,.55)); }
.final-peace-origin circle { fill: none; stroke: #c7aa69; stroke-width: 1.15; opacity: .76; transform-origin: center; }
.final-return-map.map-traveling .final-peace-origin circle { transform: scale(.08); opacity: 0; animation: peace-ring-expand 2.6s 2.1s cubic-bezier(.2,.7,.18,1) forwards; }
.final-return-map.map-traveling .final-peace-origin circle:nth-of-type(2) { animation-delay: 2.45s; }
.final-return-map.map-traveling .final-peace-origin circle:nth-of-type(3) { animation-delay: 2.8s; }
.final-return-label { fill: #dfc98f; font: 13px var(--serif-cn); letter-spacing: .15em; paint-order: stroke; stroke: #071014; stroke-width: 5px; }
.final-return-card h1 em { display: inline-block; font-size: .46em; color: var(--gold-bright); }
.viewpoint-shift { background: #061118; }
.viewpoint-art .homeric-chart-base { z-index: 0; opacity: 0; transform: scale(1.12); animation: chart-reveal 5.2s cubic-bezier(.2,.7,.18,1) both; }
.viewpoint-svg { z-index: 4; animation: viewpoint-overlay-reveal 5.2s ease-in-out both; }
.viewpoint-plate {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  transform-origin: 50% 12%;
  animation: viewpoint-plate-to-chart 5.2s cubic-bezier(.2,.7,.18,1) both;
}
.viewpoint-character {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.viewpoint-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}
.viewpoint-character-left {
  -webkit-mask-image: radial-gradient(ellipse 23% 52% at 25% 61%, #000 0 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 23% 52% at 25% 61%, #000 0 54%, transparent 100%);
}
.viewpoint-character-right {
  -webkit-mask-image: radial-gradient(ellipse 22% 50% at 77% 59%, #000 0 54%, transparent 100%);
  mask-image: radial-gradient(ellipse 22% 50% at 77% 59%, #000 0 54%, transparent 100%);
}
.viewpoint-character-left.viewpoint-to img { filter: brightness(1.32) contrast(1.04); }
.viewpoint-light-turn {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,8,10,.08), rgba(3,8,10,.42) 48%, rgba(64,38,21,.18));
  pointer-events: none;
  animation: viewpoint-light-turn 5.2s ease-in-out both;
}
.viewpoint-star { transform: translate(var(--viewpoint-star-x, 600px), var(--viewpoint-star-y, 155px)); transform-origin: 0 0; animation: viewpoint-star-hold 5.2s ease-in-out both; }
.fixed-star-glyph { fill: #d3ae65; stroke: #f2d38e; stroke-width: 1.1; filter: drop-shadow(0 0 8px rgba(225,189,112,.78)); }
.viewpoint-star text, .viewpoint-person-label text { fill: #d8c79e; font: 14px var(--serif-cn); letter-spacing: .12em; }
.viewpoint-star text { font-size: 11px; fill: #b9aa88; }
.viewpoint-person-label .viewpoint-role { fill: #817f75; font-size: 9px; letter-spacing: .08em; }
.viewpoint-from { animation: viewpoint-from-release 5.2s ease-in-out both; }
.viewpoint-to { opacity: 0; animation: viewpoint-to-rise 5.2s ease-in-out both; }
.viewpoint-label-from { animation: viewpoint-from-release 5.2s ease-in-out both; }
.viewpoint-label-to { opacity: 0; animation: viewpoint-to-rise 5.2s ease-in-out both; }
.viewpoint-copy {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 45%;
  width: min(610px, 72vw);
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  animation: viewpoint-copy-sequence 5.2s ease-in-out both;
}
.viewpoint-copy > p { margin: 0 0 15px; color: var(--gold); font-size: 10px; letter-spacing: .28em; }
.viewpoint-copy > div { display: flex; align-items: center; justify-content: center; gap: 20px; }
.viewpoint-copy > div span, .viewpoint-copy > div strong { min-width: 150px; font: 400 clamp(25px, 3vw, 42px) var(--serif-cn); }
.viewpoint-copy > div span { color: #8c9893; }
.viewpoint-copy > div strong { color: #e5c98f; font-weight: 400; }
.viewpoint-copy > div i { width: 54px; height: 1px; background: linear-gradient(90deg, #798781, var(--gold-bright)); }
.viewpoint-copy blockquote { max-width: 560px; margin: 18px auto 0; color: #bcb9ad; font-size: 12px; line-height: 1.9; letter-spacing: .04em; }
.viewpoint-arrival .homeric-chart-base, .viewpoint-arrival .viewpoint-plate, .viewpoint-arrival .viewpoint-light-turn,
.viewpoint-arrival .viewpoint-svg, .viewpoint-arrival .viewpoint-star, .viewpoint-arrival .viewpoint-from,
.viewpoint-arrival .viewpoint-to, .viewpoint-arrival .viewpoint-label-from,
.viewpoint-arrival .viewpoint-label-to { animation: none; }
.viewpoint-arrival .homeric-chart-base { opacity: 1; transform: scale(1); }
.viewpoint-arrival .viewpoint-plate { opacity: .06; transform: scale(1.08); }
.viewpoint-arrival .viewpoint-light-turn { opacity: .18; }
.viewpoint-arrival .viewpoint-from { opacity: .12; filter: blur(1px); }
.viewpoint-arrival .viewpoint-to { opacity: 1; }
.viewpoint-arrival .viewpoint-character-left.viewpoint-to img { filter: brightness(1.5) contrast(1.06) drop-shadow(0 0 16px rgba(195,156,91,.18)); }
.viewpoint-arrival .viewpoint-label-from { opacity: .18; }
.viewpoint-arrival .viewpoint-label-to { opacity: 1; }
@media (min-width: 801px) {
  .viewpoint-arrival-to-left .arrival-card { left: auto; right: 7%; }
}
.viewpoint-prompt .homeric-chart-base { animation: viewpoint-prompt-map-in 1.8s cubic-bezier(.2,.7,.18,1) both; }
.viewpoint-prompt .viewpoint-plate { animation: viewpoint-prompt-plate-settle 1.8s cubic-bezier(.2,.7,.18,1) both; }
.viewpoint-prompt .viewpoint-character { display: none; }
.viewpoint-prompt .viewpoint-svg { opacity: 0; animation: none; }
.viewpoint-prompt .viewpoint-light-turn { opacity: .34; animation: none; }
.viewpoint-decision {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 52%;
  width: min(610px, calc(100vw - 48px));
  padding: 31px 35px 34px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(194,163,102,.38);
  border-top: 2px solid var(--gold);
  background: rgba(4,10,12,.88);
  box-shadow: 0 28px 80px rgba(0,0,0,.52);
  text-align: center;
  backdrop-filter: blur(12px);
  animation: viewpoint-decision-in .7s .85s cubic-bezier(.18,.79,.2,1) both;
}
.viewpoint-decision > p { margin: 0 0 18px; color: var(--gold); font-size: 10px; letter-spacing: .28em; }
.viewpoint-decision h1 { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0; font: 400 clamp(26px, 3.2vw, 42px) var(--serif-cn); }
.viewpoint-decision h1 span { color: #929993; }
.viewpoint-decision h1 strong { color: #e7cb91; font-weight: 400; }
.viewpoint-decision h1 i { width: 54px; height: 1px; background: linear-gradient(90deg, #78847d, var(--gold-bright)); }
.viewpoint-decision blockquote { max-width: 510px; margin: 20px auto 25px; color: #c5c0b3; font-size: 13px; line-height: 1.9; }
.viewpoint-decision button { width: min(290px, 100%); margin: 0 auto; justify-content: space-between; background: rgba(37,27,17,.66); }
.journey-copy { position: absolute; z-index: 4; left: 50%; top: 52%; width: min(680px, 80vw); transform: translate(-50%,-50%); text-align: center; pointer-events: none; }
.journey-copy p { margin: 0 0 16px; color: var(--gold); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.journey-copy h1 { margin: 0; display: flex; align-items: center; justify-content: center; gap: 23px; font: 400 clamp(32px, 4vw, 56px) var(--serif-cn); }
.journey-copy h1 i { width: 70px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.journey-copy span { display: block; margin-top: 21px; color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.semantic-scale { position: absolute; z-index: 5; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 0; }
.semantic-scale span { position: relative; min-width: 120px; padding-top: 13px; color: #596360; border-top: 1px solid #34403d; text-align: center; font-size: 9px; letter-spacing: .1em; }
.semantic-scale span::before { content: ''; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #34403d; }
.semantic-scale .is-past { color: #89928a; }
.semantic-scale .is-past::before { background: #89928a; }
.semantic-scale .is-current { color: var(--gold-bright); border-color: var(--gold); }
.semantic-scale .is-current::before { background: var(--gold-bright); box-shadow: 0 0 12px var(--gold); }

.arrival-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 8, 10, .82) 0%, rgba(3, 8, 10, .38) 43%, transparent 72%); }
.arrival-card {
  position: absolute;
  z-index: 5;
  left: clamp(28px, 7vw, 110px);
  top: 28%;
  width: min(510px, 42vw);
  padding: 30px 34px 33px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: rgba(5, 12, 14, .83);
  box-shadow: 0 25px 65px rgba(0,0,0,.35);
  text-align: left;
  backdrop-filter: blur(10px);
  animation: map-arrival-card 1s .25s both;
}
.arrival-card > p { margin: 0; color: var(--gold); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; }
.arrival-card > span { display: block; margin-top: 19px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.arrival-card h1 { margin: 14px 0 28px; font: 500 clamp(30px, 3.8vw, 54px)/1.25 var(--serif-cn); }
.arrival-card h1 em { color: var(--gold-bright); font: 400 .42em/1 var(--serif-display); letter-spacing: .18em; }
html[lang="en"] .arrival-card h1 { font-family: var(--serif-display); }
.arrival-card button { width: 100%; justify-content: space-between; background: rgba(14,12,10,.48); }

@keyframes scene-arrive { from { transform: scale(1.08); opacity: .3; filter: blur(6px); } to { transform: scale(1.015); opacity: 1; filter: none; } }
@keyframes prologue-world-arrive { from { transform: scale(1.12); filter: saturate(.55) brightness(.42) blur(5px); } to { transform: scale(1.045); filter: saturate(.78) brightness(.68) contrast(1.08); } }
@keyframes prologue-card-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes scene-plate-drift { from { transform: scale(1.035); } to { transform: scale(1.005); } }
@keyframes title-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes narration-in { from { opacity: 0; transform: translate(35px,-48%); } to { opacity: 1; transform: translate(0,-48%); } }
@keyframes panel-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes chapter-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(.55); opacity: 0; } 35% { opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes breathe { 50% { transform: scale(.72); opacity: .6; } }
@keyframes twinkle { from { opacity: .25; } to { opacity: .9; } }
@keyframes map-pullback { from { transform: scale(2.2); filter: blur(3px); } 35% { filter: none; } to { transform: scale(1); } }
@keyframes location-map-pullback { from { transform: scale(1.62); filter: blur(2px) saturate(.64) brightness(.68); } 40% { filter: blur(0) saturate(.72) brightness(.73); } to { transform: scale(1); filter: saturate(.78) brightness(.8); } }
@keyframes final-map-pullback { from { transform: scale(2.65); filter: blur(4px) brightness(.72); } 36% { filter: blur(0) brightness(.83); } to { transform: scale(1); filter: saturate(.9) brightness(.88); } }
@keyframes final-routes-reveal { to { stroke-dashoffset: 0; } }
@keyframes peace-ring-expand { to { transform: scale(1); opacity: .76; } }
@keyframes chart-reveal { 0%, 20% { opacity: 0; transform: scale(1.12); } 58% { opacity: .78; } 100% { opacity: 1; transform: scale(1); } }
@keyframes viewpoint-plate-to-chart { 0%, 22% { opacity: 1; transform: scale(1.055); } 64% { opacity: .32; } 100% { opacity: .06; transform: scale(1.08); } }
@keyframes viewpoint-overlay-reveal { 0%, 38% { opacity: 0; } 62% { opacity: .72; } 100% { opacity: 1; } }
@keyframes viewpoint-prompt-map-in { from { opacity: 0; transform: scale(1.18); } to { opacity: .44; transform: scale(1.07); } }
@keyframes viewpoint-prompt-plate-settle { from { opacity: 1; transform: scale(1.055); } to { opacity: .68; transform: scale(1.025); } }
@keyframes viewpoint-decision-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes draw-route { to { stroke-dashoffset: 0; } }
@keyframes travel { to { offset-distance: 100%; } }
@keyframes map-stage-depart { 0%, 43% { opacity: 1; } 57%, 100% { opacity: 0; transform: scale(.94); } }
@keyframes map-stage-arrive { 0%, 46% { opacity: 0; transform: scale(1.13); } 62%, 100% { opacity: 1; transform: scale(1); } }
@keyframes reveal-destination { to { opacity: 1; } }
@keyframes arrival-focus { to { transform: scale(1.02); filter: blur(0); } }
@keyframes arrival-card { from { opacity: 0; transform: translate(-50%,calc(-50% + 20px)); } to { opacity: 1; transform: translate(-50%,-50%); } }
@keyframes completion-action-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes map-arrival-card { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes viewpoint-world-turn {
  0% { transform: translateX(78px) scale(1.16); filter: saturate(.72); }
  42% { transform: translateX(0) scale(1.04); }
  100% { transform: translateX(-62px) scale(1); filter: saturate(1); }
}
@keyframes viewpoint-plate-breathe { from { transform: scale(1.055); } to { transform: scale(1.02); } }
@keyframes viewpoint-light-turn { 0%, 20% { opacity: .18; } 52% { opacity: .58; } 100% { opacity: .16; } }
@keyframes viewpoint-fixed-star-hold { 0%, 100% { opacity: .7; } 48% { opacity: 1; filter: brightness(1.16); } }
@keyframes viewpoint-cold-recede { 0%, 35% { opacity: .94; } 100% { opacity: .34; } }
@keyframes viewpoint-warm-rise { 0%, 32% { opacity: 0; } 100% { opacity: 1; } }
@keyframes viewpoint-star-hold { 0%, 100% { opacity: 1; } 46% { opacity: 1; filter: drop-shadow(0 0 5px #f0d28f); } 55% { opacity: .76; } }
@keyframes viewpoint-from-release { 0%, 28% { opacity: 1; } 68%, 100% { opacity: .14; filter: blur(1px); } }
@keyframes viewpoint-to-rise { 0%, 38% { opacity: 0; filter: blur(5px); } 76%, 100% { opacity: 1; filter: none; } }
@keyframes viewpoint-axis-release { 0%, 30% { opacity: .72; } 78%, 100% { opacity: .12; } }
@keyframes viewpoint-axis-receive { 0%, 38% { opacity: 0; stroke-dashoffset: 72; } 82%, 100% { opacity: .75; stroke-dashoffset: 0; } }
@keyframes viewpoint-copy-sequence { 0%, 16% { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); } 32%, 82% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: .76; } }

@media (max-width: 800px) {
  .experience, .journey, .arrival, .prologue-opening { min-height: 580px; }
  .preload-screen { min-height: 580px; }
  .preload-modal { width: calc(100vw - 32px); padding: 32px 26px 34px; }
  .preload-modal h1 { font-size: 56px; }
  html[lang="en"] .preload-modal h1 { font-size: 52px; }
  .preload-modal blockquote { font-size: 14px; }
  .preload-modal button { width: 100%; min-height: 50px; }
  .topbar { height: 66px; padding: 0 17px; }
  .wordmark-greek { font-size: 22px; }
  .review-return { left: 134px; min-height: 32px; padding: 0 9px; gap: 7px; transform: none; }
  .review-return span { display: none; }
  .review-return::before { content: '返回'; width: auto; height: auto; background: none; }
  html[lang="en"] .review-return::before { content: 'BACK'; }
  .tool-button span { display: none; }
  .tool-button { width: 36px; padding: 8px; justify-content: center; }
  .language-switch { margin-left: 2px; padding-left: 8px; }
  .chapter-index { top: 88px; left: 20px; padding: 0; gap: 13px; }
  .chapter-index::before { width: 25px; }
  .chapter-index.is-reviewing::after { display: none; }
  .scene-title { top: 20%; left: 20px; width: calc(100vw - 40px); }
  .scene-plate { object-position: var(--plate-mobile-object-position, var(--plate-object-position, center)); }
  .scene-art::before { background: radial-gradient(circle at var(--scene-mobile-focus-x, var(--scene-focus-x, 60%)) var(--scene-mobile-focus-y, var(--scene-focus-y, 55%)), rgba(218, 182, 111, .08), transparent 15%), linear-gradient(115deg, rgba(2, 7, 9, .1), transparent 55%); }
  .hotspot { left: var(--mobile-x, var(--x)); top: var(--mobile-y, var(--y)); }
  .scene-title h1 { max-width: 85vw; font-size: clamp(34px, 10vw, 52px); }
  html[lang="en"] .scene-title h1 { font-size: clamp(40px, 12vw, 58px); }
  .scene-story { max-width: 86vw; margin-top: 17px; padding: 11px 13px; font-size: 11px; line-height: 1.75; }
  .hotspot > span { max-width: 170px; white-space: normal; }
  .scene-art::after { background: linear-gradient(0deg, rgba(1,5,7,.9), transparent 62%), linear-gradient(90deg, rgba(1,5,7,.43), transparent); }
  .progress-block { left: 20px; bottom: 88px; width: 210px; }
  .chapter-action { left: 20px; right: 20px; bottom: 20px; justify-content: flex-end; }
  .chapter-action p { display: none; }
  .chapter-action button { flex: 1; justify-content: space-between; }
  .chapter-seal {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    min-height: 0;
    max-height: calc(100svh - 88px);
    padding: 15px 17px 17px;
    overflow-y: auto;
  }
  .seal-header { padding-bottom: 11px; }
  .seal-header h2 { font-size: 11px; }
  .seal-body { display: block; min-height: 0; }
  .seal-original { padding: 13px 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .seal-original blockquote { margin-bottom: 8px; font-size: 15px; line-height: 1.45; }
  .seal-original p { margin-bottom: 7px; font-size: 12px; line-height: 1.65; }
  .seal-lesson { padding: 13px 0 0; }
  .seal-lesson blockquote { margin: 0 0 12px; font-size: 14px; line-height: 1.65; }
  .seal-lesson button { width: 100%; }
  .narration-scrim { backdrop-filter: blur(1px); }
  .narration-card { left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; min-height: 0; padding: 25px 24px; transform: none; }
  .narration-card { animation: mobile-narration-in .4s cubic-bezier(.18,.79,.2,1) both; }
  .has-narration .progress-block, .has-narration .chapter-action { opacity: 0; pointer-events: none; }
  .narration-card blockquote { margin: 18px 0 23px; font-size: 15px; line-height: 1.85; }
  html[lang="en"] .narration-card blockquote { font-size: 18px; line-height: 1.45; }
  .narration-card button { width: 100%; justify-content: space-between; }
  .side-panel { padding: 90px 25px 30px; }
  .chapter-drawer { width: 100vw; padding: 86px 20px 18px; }
  .chapter-drawer .panel-close { top: 70px; right: 14px; }
  .chapter-scroll-list { height: calc(100% - 105px); }
  .chapter-scroll-item { min-height: 64px; grid-template-columns: 39px 1fr auto; padding-left: 7px; }
  .panel-close { top: 75px; right: 16px; }
  .side-panel h2 { margin-bottom: 24px; font-size: 30px; }
  .quote-panel blockquote { font-size: 23px; }
  .quote-panel small { left: 25px; bottom: 20px; }
  .constellation-canvas { height: 390px; }
  .journey-copy { top: 48%; }
  .journey-copy h1 { flex-direction: column; gap: 12px; font-size: 30px; }
  .journey-copy h1 i { width: 1px; height: 35px; background: linear-gradient(var(--gold), transparent); }
  .semantic-scale { width: calc(100% - 32px); bottom: 24px; }
  .semantic-scale span { min-width: 0; flex: 1; font-size: 8px; }
  .viewpoint-copy { top: 43%; width: calc(100vw - 38px); }
  .viewpoint-copy > div { gap: 10px; }
  .viewpoint-copy > div span, .viewpoint-copy > div strong { min-width: 0; flex: 1; font-size: clamp(21px, 7vw, 29px); }
  .viewpoint-copy > div i { width: 32px; flex: 0 0 32px; }
  .viewpoint-copy blockquote { max-width: 330px; font-size: 11px; line-height: 1.75; }
  .viewpoint-decision { top: auto; bottom: 22px; width: calc(100vw - 32px); padding: 24px 21px 22px; transform: translateX(-50%); }
  .viewpoint-decision h1 { gap: 10px; font-size: clamp(22px, 7vw, 29px); }
  .viewpoint-decision h1 i { width: 28px; flex: 0 0 28px; }
  .viewpoint-decision blockquote { margin: 16px auto 19px; font-size: 12px; line-height: 1.75; }
  .layered-journey-map .map-location text { display: none; }
  .layered-journey-map .map-location circle:first-child { display: none; }
  .layered-journey-map .map-location circle:nth-child(2) {
    transform: scaleX(2.7);
    transform-box: fill-box;
    transform-origin: center;
  }
  .layered-token-wrap > .travel-token {
    transform: scaleX(2.55);
    transform-origin: center;
    transform-box: fill-box;
  }
  .viewpoint-character-left {
    -webkit-mask-image: radial-gradient(ellipse 38% 48% at 25% 62%, #000 0 52%, transparent 100%);
    mask-image: radial-gradient(ellipse 38% 48% at 25% 62%, #000 0 52%, transparent 100%);
  }
  .viewpoint-character-right {
    -webkit-mask-image: radial-gradient(ellipse 38% 46% at 77% 60%, #000 0 52%, transparent 100%);
    mask-image: radial-gradient(ellipse 38% 46% at 77% 60%, #000 0 52%, transparent 100%);
  }
  .viewpoint-person-label .viewpoint-role { display: none; }
  .arrival-vignette { background: linear-gradient(0deg, rgba(3,8,10,.78), transparent 70%); }
  .arrival-card { left: 16px; right: 16px; top: auto; bottom: 74px; width: auto; padding: 22px; }
  .arrival-card h1 { font-size: 31px; }
  .prologue-opening-art img { object-position: center; transform: scale(1.02); }
  .prologue-war-mist {
    background:
      linear-gradient(180deg, rgba(2,7,9,.5) 0%, rgba(2,7,9,.22) 35%, rgba(2,7,9,.76) 76%, rgba(2,7,9,.96) 100%),
      linear-gradient(90deg, rgba(2,7,9,.46), transparent 70%);
  }
  .prologue-opening-card {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 18px;
    width: auto;
    max-height: calc(100svh - 92px);
    padding: 21px 22px 22px;
    overflow-y: auto;
  }
  .prologue-opening-card > span { font-size: 9px; }
  .prologue-opening-kicker { margin-top: 15px; }
  .prologue-opening-card h1 { margin-bottom: 14px; font-size: clamp(38px, 11vw, 51px); }
  .prologue-opening-story { padding-left: 12px; }
  .prologue-opening-story p { margin-bottom: 7px; font-size: 10.5px; line-height: 1.7; }
  .prologue-opening-card button { width: 100%; min-height: 48px; margin-top: 16px; }
  .prologue-opening-coordinate { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@keyframes mobile-narration-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 800px) {
  @keyframes viewpoint-decision-in {
    from { opacity: 0; transform: translate(-50%, 18px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }
}
