/* ==========================================================================
   莫比宇宙 · 创始人交互式漫游志（Founder's Odyssey）独立样式表
   Apple 级克制工业美学 · 零私人照片 · 纯代码拟物信物与架构叙事
   ========================================================================== */

.odyssey-body {
  position: relative;
  overflow-x: clip;
  --od-bg: #fbfaf7;
  --od-surface: rgba(255, 255, 255, 0.84);
  --od-surface-strong: #ffffff;
  --od-ink: #111316;
  --od-muted: #5b6270;
  --od-border: rgba(17, 19, 22, 0.11);
  --od-gold: #b9935a;
  --od-gold-soft: rgba(185, 147, 90, 0.13);
  --od-shadow: 0 18px 50px rgba(17, 19, 22, 0.07);
  background: var(--od-bg);
  color: var(--od-ink);
  transition: background-color 0.75s cubic-bezier(0.22, 1, 0.36, 1), color 0.55s ease;
}

.odyssey-body[data-theme="night"] {
  --od-bg: #161923;
  --od-surface: rgba(31, 36, 50, 0.8);
  --od-surface-strong: #1f2434;
  --od-ink: #f5f2eb;
  --od-muted: #a9b1c2;
  --od-border: rgba(245, 242, 235, 0.13);
  --od-gold: #d6be8a;
  --od-gold-soft: rgba(214, 190, 138, 0.15);
  --od-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  background: #161923;
  color: #f5f2eb;
}

.odyssey-starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background:
    radial-gradient(circle at 20% 22%, rgba(214, 190, 138, 0.11), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(133, 119, 157, 0.15), transparent 42%),
    radial-gradient(1.5px 1.5px at 14% 16%, rgba(255, 250, 240, 0.7), transparent),
    radial-gradient(1px 1px at 28% 34%, rgba(255, 250, 240, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(214, 190, 138, 0.78), transparent),
    radial-gradient(1px 1px at 63% 27%, rgba(255, 250, 240, 0.58), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(255, 250, 240, 0.72), transparent),
    radial-gradient(1px 1px at 88% 38%, rgba(214, 190, 138, 0.62), transparent);
}

.odyssey-body[data-theme="night"] .odyssey-starfield {
  opacity: 1;
}

.odyssey-main,
.odyssey-footer {
  position: relative;
  z-index: 1;
}

.odyssey-header {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.88), rgba(251, 250, 247, 0));
  transition: background 0.5s ease;
}

.odyssey-body[data-theme="night"] .odyssey-header {
  background: linear-gradient(180deg, rgba(22, 25, 35, 0.88), rgba(22, 25, 35, 0));
}

.odyssey-header .brand-mark,
.odyssey-header .desktop-nav {
  color: #fbfaf7;
  background: rgba(25, 27, 36, 0.76);
  border-color: rgba(255, 255, 255, 0.16);
}

.odyssey-header .desktop-nav a.is-active {
  background: rgba(185, 147, 90, 0.28);
  color: #f7e6c4;
}

/* ==========================================================================
   序章极简铭牌
   ========================================================================== */
.odyssey-hero {
  padding: 108px clamp(18px, 5vw, 64px) 34px;
  max-width: 1240px;
  margin: 0 auto;
}

.odyssey-hero-inner {
  max-width: 820px;
}

.odyssey-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--od-surface);
  border: 1px solid var(--od-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--od-ink);
  margin-bottom: 18px;
}

.odyssey-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--od-gold);
}

.odyssey-main-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.odyssey-hero-sub {
  margin: 0 0 22px;
  font-size: clamp(14.5px, 1.42vw, 16.8px);
  line-height: 1.74;
  color: var(--od-muted);
}

.odyssey-chapter-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chapter-rail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--od-surface);
  border: 1px solid var(--od-border);
  color: var(--od-muted);
  transition: all 0.22s ease;
  cursor: pointer;
}

.chapter-rail-pill:hover,
.chapter-rail-pill.is-active {
  border-color: var(--od-gold);
  background: var(--od-gold-soft);
  color: var(--od-ink);
}

.chapter-rail-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--od-gold);
}

/* ==========================================================================
   Scrollytelling 主舞台
   ========================================================================== */
.odyssey-stage {
  display: grid;
  grid-template-columns: minmax(340px, 46%) minmax(0, 54%);
  gap: clamp(24px, 3.6vw, 52px);
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 56px) 64px;
}

.globe-dock {
  position: sticky;
  top: 78px;
  height: calc(100vh - 104px);
  min-height: 460px;
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-stage-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 48%, rgba(185, 147, 90, 0.13), transparent 64%),
    var(--od-surface);
  border: 1px solid var(--od-border);
  box-shadow: var(--od-shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  overflow: hidden;
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}

.globe-hud-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  z-index: 2;
}

.globe-hud-act {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--od-gold);
  color: #181920;
}

.globe-hud-place {
  font-size: 14px;
  font-weight: 700;
}

.globe-hud-coords {
  margin-left: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: var(--od-muted);
}

.globe-canvas-box {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

#odysseyGlobe {
  display: block;
  max-width: 100%;
  max-height: 100%;
  cursor: grab;
}

#odysseyGlobe:active {
  cursor: grabbing;
}

.globe-touch-tip {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  white-space: nowrap;
  background: rgba(17, 19, 22, 0.76);
  color: #f6ead2;
  border: 1px solid rgba(214, 190, 138, 0.35);
  pointer-events: none;
}

.globe-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.globe-prog-dot {
  width: 26px;
  height: 5px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(125, 132, 148, 0.28);
  cursor: pointer;
  transition: all 0.3s ease;
}

.globe-prog-dot.is-active {
  width: 44px;
  background: var(--od-gold);
}

/* ==========================================================================
   五幕卡片通用排版
   ========================================================================== */
.narrative-stream {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vh, 108px);
  padding-bottom: 28px;
}

.odyssey-act-card {
  position: relative;
  border-radius: 24px;
  padding: clamp(22px, 3.2vw, 36px);
  background: var(--od-surface-strong);
  border: 1px solid var(--od-border);
  box-shadow: var(--od-shadow);
  transition: border-color 0.45s ease, background-color 0.6s ease;
  scroll-margin-top: 96px;
}

.odyssey-act-card.is-current {
  border-color: rgba(185, 147, 90, 0.55);
}

.act-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.act-chapter-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--od-gold);
}

.act-period-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--od-gold-soft);
  color: var(--od-gold);
}

.act-place-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 8px;
}

.act-place-zh {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.act-place-en {
  font-size: 14px;
  font-weight: 500;
  color: var(--od-muted);
}

.act-headline {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 700;
  line-height: 1.42;
}

.act-summary {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.74;
  color: var(--od-muted);
}

.act-quote {
  margin: 0 0 22px;
  padding: 11px 15px;
  border-left: 3px solid var(--od-gold);
  background: var(--od-gold-soft);
  border-radius: 0 10px 10px 0;
  font-size: 13.8px;
  font-weight: 500;
  line-height: 1.6;
}

.interaction-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--od-muted);
}

/* ==========================================================================
   第一幕：通信工程波形拓扑仪 ⇄ 巴黎 24fps 电影场记板（纯代码拟物双面卡）
   ========================================================================== */
.paris-switch-bar {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: rgba(17, 19, 22, 0.06);
  border: 1px solid var(--od-border);
  margin-bottom: 12px;
  gap: 4px;
}

.odyssey-body[data-theme="night"] .paris-switch-bar {
  background: rgba(255, 255, 255, 0.06);
}

.paris-side-btn {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--od-muted);
  cursor: pointer;
  transition: all 0.22s ease;
}

.paris-side-btn.is-active {
  background: var(--od-ink);
  color: var(--od-bg);
}

.flip-stage {
  perspective: 1400px;
  cursor: pointer;
}

.flip-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  transform-style: preserve-3d;
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-stage.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  grid-area: 1 / 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-stage:not(.is-flipped) .flip-face-back {
  pointer-events: none;
}
.flip-stage.is-flipped .flip-face-front {
  pointer-events: none;
}

/* Side A: 通信工程频谱蓝图 */
.flip-face-front {
  background:
    linear-gradient(rgba(158, 197, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 197, 219, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #16222f, #213548);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  color: #eef4f8;
  border: 1px solid rgba(158, 197, 219, 0.3);
}

/* 动态信号示波器图形框 */
.blueprint-oscilloscope {
  position: relative;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(10, 17, 25, 0.62);
  border: 1px solid rgba(158, 197, 219, 0.22);
}

.osc-wave-svg {
  width: 100%;
  height: 54px;
  display: block;
}

.osc-wave-path {
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
  animation: waveFlow 5s linear infinite;
}

@keyframes waveFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -840; }
}

.blueprint-spec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(158, 197, 219, 0.14);
}

.blueprint-spec-cell span {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #8bb4cc;
}

.blueprint-spec-cell strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #eef6fa;
}

/* Side B: 巴黎电影场记板 */
.flip-face-back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, #17161b, #26201d);
  color: #f7f1e5;
  border: 1px solid rgba(214, 190, 138, 0.4);
  padding-top: 0;
}

.clapper-bar {
  margin: 0 -22px 18px;
  height: 26px;
  background: repeating-linear-gradient(
    -45deg,
    #17161b,
    #17161b 15px,
    #d6be8a 15px,
    #d6be8a 30px
  );
  border-bottom: 2px solid #d6be8a;
  transform-origin: left bottom;
}

.flip-stage.is-flipped .clapper-bar {
  animation: clapperSnap 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.18s both;
}

@keyframes clapperSnap {
  0% { transform: rotate(-10deg); }
  65% { transform: rotate(0deg); }
  82% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.slate-engraved-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1.5px solid rgba(214, 190, 138, 0.42);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.slate-cell {
  padding: 10px 12px;
  border-right: 1px solid rgba(214, 190, 138, 0.24);
  border-bottom: 1px solid rgba(214, 190, 138, 0.24);
}
.slate-cell:nth-child(2n) { border-right: 0; }
.slate-cell:nth-child(n+3) { border-bottom: 0; }

.slate-cell span {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #b9935a;
}

.slate-cell strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: #f8eed9;
}

.face-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #d6be8a;
  margin-bottom: 12px;
}

.flip-face-front .face-top-meta {
  color: #9ec5db;
}

.face-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 750;
}

.face-ensub {
  margin: 0 0 12px;
  font-size: 12px;
  opacity: 0.7;
}

.face-points {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13.8px;
  line-height: 1.66;
  opacity: 0.92;
}

.face-points li + li {
  margin-top: 5px;
}

.face-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  opacity: 0.82;
}

/* ==========================================================================
   第二幕：北京三段跨界 · 多窗口工作台切换器
   ========================================================================== */
.beijing-window {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--od-border);
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1d2028;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
}
.window-chrome::-webkit-scrollbar { display: none; }

.window-dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}
.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.window-dots i:nth-child(1) { background: #e06c60; }
.window-dots i:nth-child(2) { background: #e5b567; }
.window-dots i:nth-child(3) { background: #78b76c; }

.window-tab-list {
  display: flex;
  gap: 6px;
  flex: 1;
}

.window-tab-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s ease;
}

.window-tab-btn.is-active {
  background: #d6be8a;
  color: #171920;
  border-color: #d6be8a;
}

.window-body {
  padding: 22px;
  min-height: 268px;
  transition: background 0.35s ease, color 0.35s ease;
}

.window-body[data-skin="chalkboard"] {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(155deg, #1d332b, #254036);
  color: #f3f5ee;
}

.window-body[data-skin="diplomatic"] {
  background: linear-gradient(160deg, #faf6ec, #f0e8d6);
  color: #1f2229;
}

.window-body[data-skin="dashboard"] {
  background:
    radial-gradient(circle at 85% 15%, rgba(185, 147, 90, 0.18), transparent 42%),
    linear-gradient(155deg, #181c26, #23293a);
  color: #f2f4f8;
}

.win-stage-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.win-org-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(214, 190, 138, 0.2);
  color: #e8cfa0;
}

.window-body[data-skin="diplomatic"] .win-org-badge {
  background: rgba(140, 45, 45, 0.09);
  color: #7d2929;
  border: 1px solid rgba(140, 45, 45, 0.24);
}

.win-duration {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  opacity: 0.72;
}

.win-headline {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 750;
}

.win-desc {
  margin: 0 0 14px;
  font-size: 14.2px;
  line-height: 1.7;
  opacity: 0.92;
}

.win-contrast-box {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed rgba(243, 245, 238, 0.28);
  margin-bottom: 14px;
  font-size: 12.8px;
}

.win-contrast-bad { opacity: 0.72; }
.win-contrast-good { color: #f6dfab; font-weight: 600; }

.win-highlights {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.65;
}

.win-diplomatic-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px double rgba(125, 41, 41, 0.36);
  background: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7d2929;
}

.seal-wax {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b53b3b, #6e1c1c);
  color: #f8e3b4;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.win-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.win-metric-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(214, 190, 138, 0.22);
}

.win-metric-box span {
  display: block;
  font-size: 11px;
  opacity: 0.68;
  margin-bottom: 2px;
}

.win-metric-box strong {
  font-size: 13.5px;
  color: #e8cfa0;
}

/* ==========================================================================
   第三幕：巴基斯坦 · 35mm 变形宽银幕监视器 + 导演场记分镜台（零照片纯工业）
   ========================================================================== */
.viewfinder-shell {
  position: relative;
  border-radius: 18px;
  background: #141317;
  color: #f4efe6;
  padding: 18px;
  border: 1px solid rgba(214, 190, 138, 0.3);
  overflow: hidden;
}

.vf-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(214, 190, 138, 0.72);
  border-style: solid;
  pointer-events: none;
}
.vf-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.vf-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.vf-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.vf-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.vf-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 6px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.vf-rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff5c5c;
  font-weight: 700;
}

.vf-rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.9);
  animation: recBlink 1.15s steps(2, start) infinite;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.18; }
}

.film-sprocket-row {
  height: 12px;
  margin: 0 -18px;
  background-color: #0b0b0d;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 10px,
    rgba(244, 239, 230, 0.24) 10px,
    rgba(244, 239, 230, 0.24) 18px,
    transparent 18px,
    transparent 28px
  );
}

.shot-log-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 76%);
  gap: 12px;
  overflow-x: auto;
  padding: 14px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot-log-card {
  scroll-snap-align: start;
  padding: 16px;
  border-radius: 10px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(214, 190, 138, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.shot-log-roll {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #d6be8a;
}

.shot-log-card h4 {
  margin: 4px 0 6px;
  font-size: 15.5px;
  color: #fbf7ee;
}

.shot-log-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.78);
}

.shot-log-spec {
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: rgba(214, 190, 138, 0.8);
}

/* ==========================================================================
   第四幕：五刷美国 · 拟物登机牌票根 × 真实语境切片（Boarding Pass Stub）
   ========================================================================== */
.us-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.us-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--od-border);
  background: var(--od-surface);
  color: var(--od-ink);
  font-size: 12.8px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.22s ease;
}

.us-city-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--od-gold);
  box-shadow: 0 0 8px rgba(185, 147, 90, 0.8);
}

.us-city-pill.is-active {
  background: var(--od-ink);
  color: var(--od-bg);
  border-color: var(--od-ink);
}

.boarding-pass-stub {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1b1f2b, #23293a);
  color: #f5f1e7;
  border: 1px solid rgba(214, 190, 138, 0.36);
  animation: cardFadeIn 0.28s ease;
}

@keyframes cardFadeIn {
  from { opacity: 0.5; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.bp-left {
  padding: 18px 16px;
  border-right: 1.5px dashed rgba(214, 190, 138, 0.34);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.18);
}

.bp-stop-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #d6be8a;
}

.bp-iata {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #f8e5ba;
  margin: 6px 0 4px;
}

.bp-city-name {
  font-size: 13.5px;
  font-weight: 700;
}

.bp-barcode {
  margin-top: 14px;
  height: 18px;
  opacity: 0.55;
  background: repeating-linear-gradient(
    90deg,
    #d6be8a 0px,
    #d6be8a 2px,
    transparent 2px,
    transparent 5px,
    #d6be8a 5px,
    #d6be8a 6px,
    transparent 6px,
    transparent 9px
  );
}

.bp-right {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.bp-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.bp-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(214, 190, 138, 0.16);
  color: #ebd09b;
}

.bp-coords {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  opacity: 0.65;
}

.bp-slice {
  margin: 0;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(245, 241, 231, 0.92);
}

.bp-echo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #d6be8a;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bp-echo-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   第五幕终章：大理沙溪 · 莫比乌斯拓扑收敛台 + 数字双灵魂（零私人照片）
   ========================================================================== */
.shaxi-arch-panel {
  border-radius: 16px;
  padding: 18px;
  background: rgba(15, 18, 27, 0.58);
  border: 1px solid rgba(214, 190, 138, 0.3);
  margin-bottom: 14px;
}

.shaxi-arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--od-gold);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(214, 190, 138, 0.16);
}

.shaxi-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shaxi-pillar-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shaxi-pillar-item span {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  color: var(--od-gold);
  margin-bottom: 3px;
}

.shaxi-pillar-item strong {
  font-size: 13px;
  font-weight: 650;
}

.shaxi-companions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.companion-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--od-border);
}

.companion-mini-card img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(214, 190, 138, 0.1);
  flex-shrink: 0;
}

.companion-mini-card strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.companion-mini-card span {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  color: var(--od-gold);
  margin-bottom: 4px;
}

.companion-mini-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
  color: var(--od-muted);
}

/* ==========================================================================
   底部产品生态转化入口
   ========================================================================== */
.odyssey-portal {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px clamp(18px, 4vw, 48px) 72px;
}

.portal-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 32px;
}

.portal-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.25;
}

.portal-head p {
  margin: 0;
  font-size: 15px;
  color: var(--od-muted);
}

.portal-featured-course {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(36, 42, 58, 0.96), rgba(25, 28, 40, 0.98));
  color: #f6f2e9;
  border: 1px solid rgba(214, 190, 138, 0.42);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  margin-bottom: 24px;
}

.portal-course-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(214, 190, 138, 0.2);
  color: #ecd39f;
  margin-bottom: 10px;
}

.portal-featured-course h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 28px);
}

.portal-featured-course p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.82);
}

.portal-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.portal-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #d6be8a, #b9935a);
  color: #161820;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.portal-btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.portal-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(246, 242, 233, 0.24);
  color: #f6f2e9;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.portal-btn-ghost:hover {
  border-color: #d6be8a;
  background: rgba(214, 190, 138, 0.12);
}

.portal-course-poster {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.portal-course-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-triad-block {
  margin-bottom: 24px;
}

.portal-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.portal-subhead h3 { margin: 0; font-size: 18px; }
.portal-subhead span { font-size: 13px; color: var(--od-muted); }

.portal-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portal-triad-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 18px;
  background: var(--od-surface-strong);
  border: 1px solid var(--od-border);
  box-shadow: var(--od-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.portal-triad-card:hover {
  transform: translateY(-3px);
  border-color: var(--od-gold);
}

.portal-triad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.portal-triad-top strong { font-size: 16px; }
.portal-triad-top span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--od-gold-soft);
  color: var(--od-gold);
  font-weight: 600;
}

.portal-triad-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--od-muted);
}

.portal-triad-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--od-gold);
}

.portal-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.portal-content-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--od-surface-strong);
  border: 1px solid var(--od-border);
  box-shadow: var(--od-shadow);
}

.portal-content-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--od-gold);
}

.portal-content-card h4 {
  margin: 4px 0 8px;
  font-size: 17px;
}

.portal-content-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--od-muted);
}

.portal-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  font-weight: 650;
}

.portal-inline-links a.is-primary { color: var(--od-gold); }
.portal-inline-links a:hover { text-decoration: underline; }

.odyssey-body[data-theme="night"] .odyssey-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(246, 242, 233, 0.85);
}

.odyssey-body[data-theme="night"] .odyssey-footer .footer-account-name {
  color: #f6f2e9;
  font-weight: 700;
}

.odyssey-body[data-theme="night"] .odyssey-footer .footer-account-links a,
.odyssey-body[data-theme="night"] .odyssey-footer .footer-support-mail,
.odyssey-body[data-theme="night"] .odyssey-footer #contactWechatBtn {
  color: rgba(246, 242, 233, 0.88);
}

.odyssey-body[data-theme="night"] .odyssey-footer .footer-account-links a:hover,
.odyssey-body[data-theme="night"] .odyssey-footer .footer-support-mail:hover,
.odyssey-body[data-theme="night"] .odyssey-footer #contactWechatBtn:hover {
  color: #ecd39f;
}

.odyssey-body[data-theme="night"] .odyssey-footer .footer-account-tag,
.odyssey-body[data-theme="night"] .odyssey-footer .footer-icp,
.odyssey-body[data-theme="night"] .odyssey-footer .ai-footer-tagline em {
  color: rgba(246, 242, 233, 0.62);
}

/* ==========================================================================
   移动端深度适配（微信 / 小红书 / 抖音竖屏）
   ========================================================================== */
@media (max-width: 1023px) {
  .odyssey-header {
    padding: 10px 14px;
    pointer-events: none;
  }

  .odyssey-header .desktop-nav { display: none; }

  .odyssey-header .brand-mark {
    pointer-events: auto;
    min-height: 34px;
    padding: 0 11px;
    font-size: 12.5px;
  }

  .odyssey-hero { padding: 60px 16px 18px; }

  .odyssey-stage {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 14px 44px;
  }

  .globe-dock {
    position: sticky;
    top: 0;
    z-index: 14;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 -14px;
    padding: 46px 12px 12px;
    background: linear-gradient(
      180deg,
      var(--od-bg) 0%,
      var(--od-bg) 82%,
      rgba(251, 250, 247, 0) 100%
    );
  }

  .odyssey-body[data-theme="night"] .globe-dock {
    background: linear-gradient(
      180deg,
      #161923 0%,
      #161923 82%,
      rgba(22, 25, 35, 0) 100%
    );
  }

  .globe-stage-wrap {
    height: clamp(208px, 30svh, 252px);
    border-radius: 18px;
    padding: 10px 14px;
  }

  .globe-hud-place { font-size: 13px; }
  .globe-hud-coords { font-size: 10.5px; }
  .globe-touch-tip { font-size: 10.5px; padding: 3px 9px; }

  .narrative-stream { gap: 34px; }

  .odyssey-act-card {
    padding: 20px 16px;
    border-radius: 20px;
    scroll-margin-top: 290px;
  }

  .boarding-pass-stub {
    grid-template-columns: 1fr;
  }

  .bp-left {
    border-right: 0;
    border-bottom: 1.5px dashed rgba(214, 190, 138, 0.34);
    flex-direction: row;
    align-items: center;
    padding: 14px 16px;
  }

  .bp-iata { font-size: 26px; margin: 0 10px; }
  .bp-barcode { display: none; }

  .blueprint-spec-row,
  .shaxi-pillar-grid,
  .shaxi-companions-grid,
  .portal-featured-course,
  .portal-triad-grid,
  .portal-content-grid {
    grid-template-columns: 1fr;
  }

  .win-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}
