:root {
  --ink: #071318;
  --ink-soft: #0d2228;
  --paper: #eee7d6;
  --paper-dim: #b9b29e;
  --cyan: #65d5d1;
  --cyan-soft: #2d817f;
  --blue: #164f67;
  --wine: #a94035;
  --gold: #cfad6d;
  --line: rgba(238, 231, 214, 0.2);
  --panel: rgba(6, 19, 24, 0.88);
  --scene: 0;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button, input { font: inherit; }
button { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.portrait-notice { display: none; }

.entry {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #0a2830;
  color: var(--paper);
  text-align: center;
  transition: transform 0.9s cubic-bezier(.72, 0, .2, 1), opacity 0.6s ease 0.2s;
}

.entry::before,
.entry::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  border: 1px solid rgba(207, 173, 109, 0.25);
  background-color: rgba(9, 24, 29, 0.23);
  transition: transform 1.05s cubic-bezier(.78, 0, .22, 1);
}

.entry::before { left: 0; transform-origin: left center; }
.entry::after { right: 0; transform-origin: right center; }

.entry.opening { pointer-events: none; background: transparent; }
.entry.opening::before { transform: perspective(1000px) rotateY(86deg); }
.entry.opening::after { transform: perspective(1000px) rotateY(-86deg); }
.entry.opening > * { opacity: 0; transform: translateY(-10px); }
.entry.hidden { visibility: hidden; opacity: 0; }

.entry-grain {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.entry > * { transition: opacity 0.35s ease, transform 0.35s ease; }

.entry-kicker {
  position: relative;
  margin: 0 0 2vh;
  color: var(--gold);
  font-size: clamp(10px, 0.8vw, 14px);
  letter-spacing: 0.5em;
}

.entry-mark {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.6vw;
  height: 12vh;
  margin-bottom: 1.4vh;
  color: #fff;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(54px, 6vw, 104px);
  line-height: 1;
}

.entry-mark i {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--gold);
  transform: rotate(23deg);
}

.entry h1 {
  position: relative;
  max-width: 70vw;
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(28px, 3.1vw, 58px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.entry-deck {
  position: relative;
  width: min(680px, 66vw);
  margin: 2.4vh 0 3.3vh;
  color: rgba(238, 231, 214, 0.68);
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(12px, 1vw, 17px);
  line-height: 1.8;
}

.door-handle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2vw;
  min-width: 210px;
  padding: 14px 18px 14px 24px;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.18em;
}

.door-handle b {
  margin-left: auto;
  color: var(--gold);
  font-size: 22px;
  transition: transform 0.25s ease;
}
.door-handle:hover b { transform: translateX(7px); }

.entry-meta {
  position: absolute;
  bottom: 4.2vh;
  margin: 0;
  color: rgba(238, 231, 214, 0.48);
  font-size: 10px;
  letter-spacing: 0.25em;
}

.app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: clamp(180px, 17vw, 310px) 1fr;
  grid-template-rows: clamp(58px, 8vh, 78px) 1fr clamp(28px, 4vh, 42px);
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.app.ready { opacity: 1; }

.topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: clamp(210px, 23vw, 380px) 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #071318;
  z-index: 20;
}

.brand {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 1.2vw;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.seal {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 22px;
}

.brand b,
.brand small { display: block; }
.brand b { font-family: "STSong", "SimSun", serif; font-size: 15px; letter-spacing: 0.12em; }
.brand small { margin-top: 3px; color: var(--paper-dim); font-size: 9px; letter-spacing: 0.16em; }

.time-axis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(238, 231, 214, 0.52);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.time-axis i { width: min(6vw, 92px); height: 1px; background: rgba(101, 213, 209, 0.45); }
.time-axis strong { color: var(--cyan); font-weight: 500; }

.top-actions { display: flex; align-items: center; height: 100%; }
.top-actions button {
  height: 100%;
  padding: 0 1.2vw;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--paper-dim);
  font-size: 10px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.top-actions button:hover { color: var(--cyan); }
.sound-btn span {
  display: inline-block;
  width: 5px;
  height: 12px;
  margin-right: 8px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  vertical-align: -2px;
}
.sound-btn[aria-pressed="false"] { opacity: 0.42; }

.building {
  position: relative;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 1.25vw 4vh;
  border-right: 1px solid var(--line);
  background: #0a1d23;
  z-index: 10;
}

.building-title { position: absolute; top: 2.2vh; left: 1.25vw; }
.building-title span,
.building-title b { display: block; }
.building-title span { color: var(--cyan-soft); font-size: 8px; letter-spacing: 0.32em; }
.building-title b { margin-top: 4px; font-family: "STSong", "SimSun", serif; font-size: 15px; font-weight: 500; letter-spacing: 0.12em; }

.roof {
  width: calc(100% + 12px);
  height: 16px;
  margin-left: -6px;
  border-top: 5px double rgba(207, 173, 109, 0.62);
  border-bottom: 1px solid rgba(207, 173, 109, 0.35);
  transform: skewX(-12deg);
}

.floor {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 7px;
  align-items: center;
  min-height: clamp(76px, 15vh, 138px);
  padding: 0 10px;
  border: 0;
  border-left: 1px solid rgba(238, 231, 214, 0.23);
  border-right: 1px solid rgba(238, 231, 214, 0.23);
  border-bottom: 1px solid rgba(238, 231, 214, 0.23);
  background-color: #0d242b;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.35s ease, padding-left 0.35s ease;
}

.floor::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(238, 231, 214, 0.08);
}
.floor:hover { background-color: #12343d; }
.floor.active { background-color: #164f67; padding-left: 16px; }
.floor-num { color: var(--cyan); font: 10px Consolas, monospace; }
.floor-name { position: relative; z-index: 1; }
.floor-name b,
.floor-name small { display: block; }
.floor-name b { font-family: "STSong", "SimSun", serif; font-size: clamp(13px, 1.2vw, 20px); font-weight: 500; letter-spacing: 0.1em; }
.floor-name small { margin-top: 7px; color: rgba(238, 231, 214, 0.58); font-size: 9px; letter-spacing: 0.16em; }
.floor-light { width: 5px; height: 5px; border: 1px solid var(--cyan); border-radius: 50%; }
.floor.active .floor-light { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.building-base { display: grid; place-items: center; height: 31px; border: 1px solid rgba(238, 231, 214, 0.23); border-top: 0; color: var(--paper-dim); font-size: 8px; letter-spacing: 0.18em; }
.nav-tip { margin: 1.6vh 0 0; color: rgba(238, 231, 214, 0.34); font-size: 8px; letter-spacing: 0.14em; text-align: center; }

.viewport { position: relative; grid-column: 2; grid-row: 2; overflow: hidden; }
.scene-track { width: 100%; height: 100%; }
.scene {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1), visibility 0s linear 0.65s;
  overflow: hidden;
}
.scene.active { visibility: visible; opacity: 1; transform: scale(1); transition-delay: 0s; }
.photo-layer { position: absolute; inset: 0; background-position: center; background-size: cover; }
.one-photo { background-image: url("exterior.jpg"); background-position: center 42%; }
.two-photo { background-image: url("second-floor.jpg"); background-position: center 50%; filter: saturate(0.75) contrast(1.06); }
.photo-shade { position: absolute; inset: 0; background-color: rgba(4, 17, 22, 0.36); }
.photo-shade.dark { background-color: rgba(3, 13, 17, 0.62); }
.credit { position: absolute; right: 1.3vw; bottom: 6.1vh; margin: 0; color: rgba(255,255,255,.62); font-size: 8px; letter-spacing: .08em; z-index: 4; }

.scene-heading { position: absolute; left: 3vw; top: 7vh; width: min(31vw, 520px); z-index: 4; }
.scene-heading > span { color: var(--cyan); font: 9px Consolas, monospace; letter-spacing: 0.24em; }
.scene-heading h2 {
  margin: 1.6vh 0 1.5vh;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(29px, 3.35vw, 62px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 26px rgba(0,0,0,.46);
}
.scene-heading p { width: 90%; margin: 0; color: rgba(238, 231, 214, 0.76); font-family: "STSong", "SimSun", serif; font-size: clamp(11px, .95vw, 16px); line-height: 1.8; }
.scene-heading.compact { top: 6vh; width: min(28vw, 460px); }

.journey {
  position: absolute;
  left: 3vw;
  bottom: 7.3vh;
  width: min(46vw, 700px);
  height: clamp(170px, 27vh, 255px);
  padding-top: 4px;
  z-index: 5;
}
.journey-line { position: absolute; left: 18px; right: 38%; top: 22px; height: 1px; background: rgba(238, 231, 214, 0.33); }
.journey-line i { display: block; width: 0%; height: 2px; margin-top: -1px; background: var(--cyan); transition: width 0.45s ease; }
.journey-node {
  position: relative;
  display: inline-grid;
  grid-template-columns: 26px auto;
  align-items: center;
  gap: 7px;
  width: 20%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(238, 231, 214, 0.56);
  text-align: left;
  cursor: pointer;
}
.journey-node b { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(238, 231, 214, 0.42); border-radius: 50%; background: #10242a; font: 9px Consolas, monospace; }
.journey-node span { font-size: 10px; letter-spacing: .18em; }
.journey-node.active { color: var(--paper); }
.journey-node.active b { border-color: var(--cyan); color: var(--cyan); }
.journey-card { width: 62%; margin-top: 2.1vh; padding: 2vh 1.3vw; border-left: 2px solid var(--cyan); background: var(--panel); }
.journey-card > span { color: var(--gold); font-size: 8px; letter-spacing: .15em; }
.journey-card h3 { margin: .8vh 0 .8vh; font-family: "STSong", "SimSun", serif; font-size: clamp(15px, 1.4vw, 23px); font-weight: 500; }
.journey-card p { margin: 0; color: rgba(238,231,214,.7); font-size: clamp(9px, .76vw, 12px); line-height: 1.65; }
.journey-meter { height: 2px; margin-top: 1.5vh; background: rgba(238,231,214,.14); }
.journey-meter i { display: block; width: 28%; height: 100%; background: var(--cyan); transition: width .45s ease; }

.orbit-card {
  position: absolute;
  right: 3vw;
  top: 9vh;
  width: min(30vw, 450px);
  height: clamp(260px, 48vh, 470px);
  border: 1px solid rgba(238,231,214,.28);
  background: rgba(5,18,23,.64);
  z-index: 5;
  overflow: hidden;
}
.orbit-card img { width: 100%; height: 65%; object-fit: cover; filter: saturate(.82); transition: opacity .25s ease, transform .55s ease; }
.orbit-card > div { padding: 1.5vh 1.2vw; }
.orbit-card small, .orbit-card strong, .orbit-card span { display: block; }
.orbit-card small { color: var(--cyan); font-size: 8px; letter-spacing: .17em; }
.orbit-card strong { margin: .55vh 0; font-family: "STSong", "SimSun", serif; font-size: clamp(15px, 1.3vw, 22px); font-weight: 500; }
.orbit-card span { color: rgba(238,231,214,.65); font-size: clamp(9px,.75vw,12px); line-height: 1.55; }
.orbit-knob {
  position: absolute;
  right: 1vw;
  top: calc(65% - 29px);
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #0b2228;
  cursor: pointer;
  transition: transform .45s ease;
}
.orbit-knob::before, .orbit-knob::after { content:""; position:absolute; background:var(--gold); }
.orbit-knob::before { width: 24px; height:1px; left:16px; top:28px; }
.orbit-knob::after { width:1px; height:24px; left:28px; top:16px; }
.orbit-knob i { position:absolute; left:50%; top:4px; width:5px; height:5px; border-radius:50%; background:var(--cyan); }

#qushuiCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.water-console {
  position: absolute;
  left: 3vw;
  bottom: 8vh;
  width: min(30vw, 470px);
  padding: 1.5vh 1.3vw;
  border: 1px solid rgba(101,213,209,.38);
  background: var(--panel);
  z-index: 5;
}
.console-head { display:flex; justify-content:space-between; color: var(--cyan); font-size: 9px; letter-spacing:.12em; }
.console-head output { color: var(--paper-dim); font: 9px Consolas, monospace; }
.water-console input { width:100%; margin:1.5vh 0 1vh; accent-color: var(--cyan); }
.water-console p { margin:0; color:rgba(238,231,214,.62); font-size:9px; line-height:1.55; }

.ritual-points { position:absolute; inset:0; z-index:5; }
.ritual-point { position:absolute; display:flex; align-items:center; gap:9px; padding:7px 10px; border:0; background:rgba(4,17,22,.7); color:rgba(238,231,214,.64); font-size:9px; letter-spacing:.15em; cursor:pointer; }
.ritual-point i { width:10px; height:10px; border:1px solid var(--cyan); border-radius:50%; }
.ritual-point.active { color:var(--paper); }
.ritual-point.active i { background:var(--cyan); box-shadow:0 0 18px var(--cyan); }
.ritual-point.p1 { left:44%; top:28%; }
.ritual-point.p2 { left:59%; top:50%; }
.ritual-point.p3 { left:72%; top:28%; }
.ritual-card { position:absolute; right:3vw; bottom:10vh; width:min(25vw,390px); padding:2vh 1.5vw; border-top:2px solid var(--gold); background:var(--panel); z-index:5; }
.ritual-card span { color:var(--gold); font-size:8px; letter-spacing:.16em; }
.ritual-card h3 { margin:.8vh 0; font-family:"STSong","SimSun",serif; font-size:clamp(16px,1.55vw,26px); font-weight:500; }
.ritual-card p { margin:0; color:rgba(238,231,214,.7); font-size:clamp(9px,.78vw,12px); line-height:1.7; }

.panorama { position:absolute; inset:0; overflow:hidden; cursor:grab; touch-action:none; }
.panorama.dragging { cursor:grabbing; }
.pano-strip { position:absolute; inset:0 auto 0 0; display:flex; width:210%; transform:translate3d(var(--pano-x, -28%),0,0); will-change:transform; }
.pano-strip > div { width:33.333%; height:100%; flex:0 0 33.333%; background-size:cover; background-position:center; }
.pano-strip.day { opacity:calc(1 - var(--night, .18)); }
.pano-strip.night { opacity:var(--night, .18); filter:saturate(.82) brightness(.64) contrast(1.08) sepia(.12); }
.pano-shade { background-color:rgba(4,16,20,.22); pointer-events:none; }
.angle-indicator { position:absolute; left:3vw; top:4vh; z-index:5; display:grid; grid-template-columns:auto 80px auto; align-items:center; gap:10px; font:9px Consolas,monospace; color:rgba(238,231,214,.75); }
.angle-indicator i { height:1px; background:var(--cyan); }
.angle-indicator small { font-family:"Microsoft YaHei",sans-serif; letter-spacing:.15em; }
.terrace-heading { top:11vh; }

.day-night-control {
  position:absolute;
  left:3vw;
  bottom:8vh;
  width:min(34vw,520px);
  padding:1.5vh 1.35vw;
  border:1px solid rgba(238,231,214,.32);
  background:var(--panel);
  z-index:6;
}
.day-night-control > div { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; }
.day-night-control b { font-family:"STSong","SimSun",serif; font-size:15px; font-weight:500; letter-spacing:.14em; }
.day-night-control b:last-child { text-align:right; }
.day-night-control span { color:var(--cyan); font:10px Consolas,monospace; }
.day-night-control input { width:100%; margin:1.5vh 0 .7vh; accent-color:var(--gold); }
.day-night-control p { margin:0; color:rgba(238,231,214,.54); font-size:8px; letter-spacing:.12em; }

.verdict {
  position:absolute;
  right:3vw;
  top:9vh;
  width:min(27vw,420px);
  padding:2.1vh 1.6vw;
  border-left:2px solid var(--cyan);
  background:rgba(5,18,23,.84);
  z-index:6;
}
.verdict > span { color:var(--cyan); font-size:8px; letter-spacing:.18em; }
.verdict h3 { margin:.8vh 0 .65vh; font-family:"STSong","SimSun",serif; font-size:clamp(18px,1.7vw,29px); font-weight:500; }
.verdict p { margin:0 0 1.4vh; color:rgba(238,231,214,.6); font-size:9px; }
.gesture-list { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }
.gesture-list button { padding:9px 4px; border:1px solid rgba(238,231,214,.27); background:transparent; color:var(--paper-dim); font-size:9px; letter-spacing:.12em; cursor:pointer; }
.gesture-list button.active { border-color:var(--cyan); background:#164f67; color:#fff; }
.verdict-meter { height:3px; margin:1.4vh 0 1.2vh; background:rgba(238,231,214,.15); }
.verdict-meter i { display:block; width:8%; height:100%; background:var(--cyan); transition:width .4s ease; }
.verdict strong { display:block; min-height:2.8em; font-family:"STSong","SimSun",serif; font-size:clamp(11px,.95vw,15px); font-weight:500; line-height:1.5; color:var(--gold); }

.scene-pagination {
  position:absolute;
  left:50%;
  bottom:1.2vh;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:1.4vw;
  z-index:8;
}
.scene-pagination button { padding:5px 8px; border:0; background:transparent; color:rgba(238,231,214,.66); font-size:9px; letter-spacing:.1em; cursor:pointer; }
.scene-pagination button:disabled { opacity:.25; cursor:default; }
.scene-pagination button span { color:var(--cyan); margin:0 6px; }
.scene-pagination div { display:flex; gap:7px; }
.scene-pagination i { width:18px; height:2px; background:rgba(238,231,214,.25); transition:width .3s ease, background .3s ease; }
.scene-pagination i.active { width:34px; background:var(--cyan); }

.footerline {
  grid-column:1 / -1;
  grid-row:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 1.3vw;
  border-top:1px solid var(--line);
  background:#071318;
  color:rgba(238,231,214,.42);
  font-size:8px;
  letter-spacing:.13em;
  z-index:20;
}
.footerline strong { color:rgba(207,173,109,.7); font-weight:400; }

.source-drawer {
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  z-index:70;
  width:min(520px,44vw);
  padding:8vh 3vw 4vh;
  background:#0b2026;
  border-left:1px solid rgba(101,213,209,.38);
  transform:translateX(105%);
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
  overflow:auto;
}
.source-drawer.open { transform:translateX(0); }
.drawer-mask { position:fixed; inset:0; z-index:60; visibility:hidden; opacity:0; background:rgba(1,7,9,.66); transition:opacity .35s ease, visibility 0s linear .35s; }
.drawer-mask.open { visibility:visible; opacity:1; transition-delay:0s; }
.drawer-close { position:absolute; right:2vw; top:2vh; width:38px; height:38px; border:1px solid var(--line); background:transparent; color:var(--paper); font-size:24px; cursor:pointer; }
.drawer-kicker { color:var(--cyan); font:9px Consolas,monospace; letter-spacing:.16em; }
.source-drawer h2 { margin:1.4vh 0; font-family:"STSong","SimSun",serif; font-size:clamp(25px,2.3vw,39px); font-weight:500; }
.source-drawer > p { margin:0 0 3vh; color:var(--paper-dim); font-size:12px; line-height:1.7; }
.source-drawer ol { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.source-drawer li { border-bottom:1px solid var(--line); }
.source-drawer a { display:block; padding:2vh 4px; color:inherit; text-decoration:none; }
.source-drawer a:hover { background:#12333b; }
.source-drawer a b, .source-drawer a span { display:block; }
.source-drawer a b { color:var(--paper); font-family:"STSong","SimSun",serif; font-size:15px; font-weight:500; }
.source-drawer a span { margin-top:5px; color:var(--paper-dim); font-size:10px; line-height:1.55; }
.drawer-note { margin-top:3vh; padding:1.4vh 1vw; border-left:2px solid var(--gold); color:rgba(238,231,214,.58); font-size:9px; line-height:1.7; }

@media (max-height: 680px) {
  .scene-heading { top: 4.5vh; }
  .scene-heading h2 { margin: 1vh 0; }
  .journey { bottom: 5.7vh; }
  .journey-card { margin-top: 1.3vh; padding-top: 1.2vh; padding-bottom: 1.2vh; }
  .orbit-card { top: 5vh; height: 51vh; }
  .water-console, .day-night-control { bottom: 6vh; }
  .ritual-card { bottom: 8vh; }
  .verdict { top: 5.5vh; }
}

@media (max-width: 1050px) {
  .app { grid-template-columns: 176px 1fr; }
  .time-axis { display:none; }
  .topbar { grid-template-columns:1fr auto; }
  .journey { width:48vw; }
  .orbit-card { width:31vw; }
}

@media (orientation: portrait) and (max-width: 820px) {
  .portrait-notice {
    position:fixed;
    inset:0;
    z-index:100;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:32px;
    background:#091b21;
    color:var(--paper);
    text-align:center;
  }
  .portrait-notice strong { font-family:"STSong","SimSun",serif; font-size:24px; font-weight:500; }
  .portrait-notice small { color:var(--paper-dim); }
  .rotate-icon { width:52px; height:32px; border:2px solid var(--cyan); transform:rotate(-20deg); animation:rotateHint 1.8s ease-in-out infinite alternate; }
  @keyframes rotateHint { to { transform:rotate(0deg); } }
}

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