@font-face {
  font-family: "Source Han Sans UI";
  src: url("/assets/fonts/source-han-sans-cn-ui.woff2") format("woff2");
  font-style: normal;
  font-weight: 250 900;
  font-display: swap;
}

:root {
  --ink: #302720;
  --ink-soft: #786b60;
  --paper: #f2eadf;
  --paper-light: #fff9f0;
  --walnut: #6b4935;
  --walnut-deep: #3b2b23;
  --caramel: #b18457;
  --bronze: #987249;
  --mocha: #775844;
  --map-canvas: #e1e0e0;
  --line: rgba(82, 61, 45, 0.14);
  --shadow: 0 18px 48px rgba(67, 47, 34, 0.15);
  color-scheme: light;
  font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  background: #d8cec1;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { color: var(--ink); }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, audio:focus-visible {
  outline: 3px solid rgba(107, 73, 53, 0.44);
  outline-offset: 3px;
}

.preview-stage {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.7), transparent 30%),
    linear-gradient(145deg, #e9e0d5, #cbbcac);
}

.app-frame {
  position: relative;
  width: min(600px, calc(100vw - 48px));
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(46, 39, 31, 0.24);
}

.brand-splash {
  position: absolute;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom));
  background: #f7f3ea;
}

html[data-daily-splash="show"] .brand-splash,
html[data-daily-splash="hold"] .brand-splash {
  display: grid;
  animation: brand-splash-in 240ms ease-out both;
}

.brand-splash__brand {
  width: 100%;
  margin-top: -4.8vh;
  text-align: center;
}

.brand-splash__logo {
  display: block;
  width: min(82%, 410px);
  height: auto;
  margin: 0 auto;
}

.brand-splash__subtitle {
  margin: clamp(25px, 3.7vh, 34px) 0 0;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(15px, 2.8vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-indent: .14em;
  color: #37322b;
}

html[data-daily-splash="show"] .brand-splash.brand-splash--leaving {
  opacity: 0;
  transition: opacity 350ms ease;
  animation: none;
  pointer-events: none;
}

@keyframes brand-splash-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.app-scroll { width: 100%; height: 100%; overflow: auto; scroll-behavior: smooth; scrollbar-width: none; }
.app-scroll::-webkit-scrollbar { display: none; }
.view { display: none; min-height: 100%; background: var(--paper); }
.view--active { display: block; animation: view-in 180ms ease-out; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }

.editorial-cover {
  position: relative;
  height: clamp(460px, 72dvh, 720px);
  overflow: hidden;
  color: #fffaf0;
  background: #5e4433;
}

.cover-photo,
.cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-photo {
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.96) contrast(.98);
}

.cover-shade {
  background:
    linear-gradient(180deg, rgba(24,16,11,.18), rgba(29,18,12,.03) 42%, transparent 64%, rgba(19, 14, 11, 0) 100%),
    radial-gradient(ellipse 125% 58% at 0 20%, rgba(20,13,9,.58), rgba(20,13,9,.32) 34%, transparent 70%);
}

.cover-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(82%, 420px);
  padding: 70px 0 0 32px;
  flex-direction: column;
  align-items: flex-start;
}

.cover-place {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,244,226,.92);
  text-shadow: 0 2px 6px rgba(24,16,10,.3);
}

.cover-title {
  margin: 11px 0 0;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: clamp(44px, 8vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 2px;
  text-shadow: 0 3px 10px rgba(24,16,10,.34);
  white-space: nowrap;
}

.cover-description {
  margin: 28px 0 0;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,250,240,.94);
  text-shadow: 0 2px 7px rgba(24,16,10,.32);
}

.cover-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 138px;
  height: 48px;
  margin-top: 24px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #594536;
  background: rgba(248,245,232,.74);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 15px;
  box-shadow: 0 5px 16px rgba(32,21,15,.17);
  backdrop-filter: blur(7px);
  transition: transform 120ms ease, background 120ms ease;
}

.cover-cta img { flex: 0 0 auto; width: 15px; height: 15px; }
.cover-cta__label { flex: 1; text-align: left; }
.cover-cta:active { transform: scale(.97); background: rgba(255,253,246,.9); }

.content-panel {
  position: relative;
  z-index: 2;
  min-height: 100%;
  margin-top: -180px;
  padding: 140px 22px 42px;
  background: linear-gradient(
    180deg,
    rgba(242, 234, 223, 0) 0,
    rgba(242, 234, 223, 0.03) 34px,
    rgba(242, 234, 223, 0.12) 68px,
    rgba(242, 234, 223, 0.32) 102px,
    rgba(242, 234, 223, 0.64) 126px,
    rgba(242, 234, 223, 0.9) 145px,
    #f2eadf 165px,
    #f2eadf 100%
  );
}

.content-panel::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 150px;
  pointer-events: none;
  content: "";
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    rgba(0, 0, 0, 0.04) 20%,
    rgba(0, 0, 0, 0.18) 44%,
    rgba(0, 0, 0, 0.48) 68%,
    rgba(0, 0, 0, 0.85) 86%,
    #000 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    rgba(0, 0, 0, 0.04) 20%,
    rgba(0, 0, 0, 0.18) 44%,
    rgba(0, 0, 0, 0.48) 68%,
    rgba(0, 0, 0, 0.85) 86%,
    #000 100%
  );
}

.content-panel > * {
  position: relative;
  z-index: 1;
}

.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 3px 23px; }
.panel-heading__eyebrow { margin: 0 0 5px; font-family: Georgia, serif; font-size: 11px; letter-spacing: 2px; color: #9a6d49; }
.panel-heading__title { margin: 0; font-family: "Songti SC", STSong, Georgia, serif; font-size: 31px; font-weight: 400; }
.a11y-control { padding-bottom: 3px; }

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  padding: 0 8px 0 17px;
  text-align: left;
  background: #fffdf9;
  border: 1px solid rgba(65,47,36,.1);
  border-radius: 29px;
  box-shadow: 0 10px 26px rgba(62,48,39,.09);
}
.search-box__leading { width: 19px; height: 19px; margin-right: 12px; }
.search-box__placeholder { flex: 1; overflow: hidden; font-size: 14px; color: #9b9188; text-overflow: ellipsis; white-space: nowrap; }
.search-box__voice { display: grid; width: 40px; height: 40px; place-items: center; background: #584030; border-radius: 50%; }
.search-box__voice img { width: 20px; height: 20px; }
.location-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px 4px; font-size: 12px; color: #8a8077; }
.location-pill { display: flex; gap: 5px; align-items: center; }
.location-pill i { width: 6px; height: 6px; background: #8b684c; border-radius: 50%; box-shadow: 0 0 0 3px rgba(139,104,76,.12); }
.location-pill strong { font-weight: 500; color: #3e3028; }

.editorial-heading { margin: 37px 3px 16px; }
.editorial-heading--routes { margin-top: 42px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.category-card { position: relative; display: flex; min-height: 118px; padding: 15px; flex-direction: column; text-align: left; background: rgba(255,253,249,.9); border: 1px solid rgba(65,47,36,.1); border-radius: 7px; }
.category-card__number { font: 11px Georgia, serif; color: #a77b57; }
.category-card strong { margin-top: 18px; font-family: "Songti SC", STSong, Georgia, serif; font-size: 20px; font-weight: 500; }
.category-card small { margin-top: 5px; font-size: 11px; color: #948980; }
.category-card > img { position: absolute; top: 14px; right: 14px; width: 15px; height: 15px; }

.home-kids-section { margin-top: 42px; }
.home-kids-section .editorial-heading { margin: 0 3px 16px; }
.kids-guide-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 196px;
  padding: 0;
  overflow: hidden;
  font: inherit;
  color: #473225;
  text-align: left;
  background: #f7f0e5;
  border: 1px solid rgba(65, 47, 36, .1);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(73, 54, 35, .08);
  appearance: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.kids-guide-card:active { transform: scale(.992); box-shadow: 0 8px 20px rgba(73, 54, 35, .1); }
.kids-guide-card__scene {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -13%;
  width: 116%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  opacity: .72;
  filter: saturate(.82) contrast(.94);
}
.kids-guide-card__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, .98) 0%, rgba(255, 253, 249, .94) 42%, rgba(255, 253, 249, .42) 68%, rgba(255, 253, 249, .08) 100%),
    linear-gradient(0deg, rgba(86, 61, 44, .06), transparent 48%);
}
.kids-guide-card__copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 68%;
  min-height: 196px;
  padding: 22px 0 20px 22px;
  flex-direction: column;
  align-items: flex-start;
}
.kids-guide-card__copy small { font-size: 10px; letter-spacing: 1.5px; color: #8b6544; }
.kids-guide-card__copy strong { margin-top: 7px; font-family: "Songti SC", STSong, SimSun, serif; font-size: 23px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.kids-guide-card__copy > span:not(.kids-guide-card__cta) { max-width: 260px; margin-top: 9px; font-size: 12px; line-height: 1.55; color: rgba(71, 50, 37, .74); }
.kids-guide-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #6b4935;
  background: rgba(255, 253, 249, .76);
  border: 1px solid rgba(107, 73, 53, .24);
  border-radius: 14px;
}
.kids-guide-card__tutu {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 0;
  display: block;
  width: 146px;
  line-height: 0;
  filter: drop-shadow(0 3px 4px rgba(79, 48, 29, .1)) drop-shadow(0 10px 18px rgba(70, 47, 33, .12));
  pointer-events: none;
}
.kids-guide-card__tutu-image {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.2) contrast(1.02) brightness(1.04);
}

.kids-intro {
  position: absolute;
  z-index: 80;
  inset: 0;
  display: grid;
  overflow: hidden;
  color: #473225;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 16%, rgba(185, 219, 130, .34), transparent 29%),
    radial-gradient(circle at 84% 72%, rgba(171, 220, 230, .3), transparent 31%),
    linear-gradient(180deg, #fffaf1 0%, #f6ead8 100%);
}
.kids-intro[hidden] { display: none; }
.kids-intro::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image:
    repeating-linear-gradient(8deg, rgba(91, 65, 42, .08) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(98deg, rgba(169, 120, 82, .045) 0 1px, transparent 1px 13px);
  mix-blend-mode: multiply;
}
.kids-intro__close {
  position: absolute;
  z-index: 9;
  top: max(18px, env(safe-area-inset-top));
  left: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 253, 249, .76);
  border: 1px solid rgba(107, 73, 53, .18);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(77, 54, 36, .1);
}
.kids-intro__close span::before,
.kids-intro__close span::after {
  position: absolute;
  top: 21px;
  left: 13px;
  width: 18px;
  height: 1.5px;
  content: "";
  background: #684936;
  transform-origin: center;
}
.kids-intro__close span::before { transform: rotate(45deg); }
.kids-intro__close span::after { transform: rotate(-45deg); }
.kids-intro__scene { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.kids-intro__books {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.kids-intro__book {
  position: absolute;
  top: -110px;
  left: var(--book-left);
  width: clamp(42px, 9vw, 68px);
  aspect-ratio: 3 / 4;
  opacity: 0;
  background-image: url("/assets/images/kids-intro/falling-books-sheet.png");
  background-repeat: no-repeat;
  background-size: 400% 200%;
  filter: drop-shadow(0 7px 6px rgba(91, 65, 42, .17));
  transform: translate3d(-50%, -120px, 0) rotate(var(--book-start-turn)) scale(var(--book-scale));
  will-change: transform, opacity, filter;
}
.kids-intro__book[data-kids-intro-sprite="0"] { background-position: 0% 0%; }
.kids-intro__book[data-kids-intro-sprite="1"] { background-position: 33.333% 0%; }
.kids-intro__book[data-kids-intro-sprite="2"] { background-position: 66.667% 0%; }
.kids-intro__book[data-kids-intro-sprite="3"] { background-position: 100% 0%; }
.kids-intro__book[data-kids-intro-sprite="4"] { background-position: 0% 100%; }
.kids-intro__book[data-kids-intro-sprite="5"] { background-position: 33.333% 100%; }
.kids-intro__book[data-kids-intro-sprite="6"] { background-position: 66.667% 100%; }
.kids-intro__book[data-kids-intro-sprite="7"] { background-position: 100% 100%; }
.kids-intro__book[data-kids-intro-book="0"] { --book-left: 3%; --book-drift: 54px; --book-delay: 0ms; --book-duration: 2.2s; --book-scale: .85; --book-start-turn: -42deg; --book-end-turn: 19deg; }
.kids-intro__book[data-kids-intro-book="1"] { --book-left: 76%; --book-drift: -42px; --book-delay: 80ms; --book-duration: 2.7s; --book-scale: 1.02; --book-start-turn: 28deg; --book-end-turn: -17deg; }
.kids-intro__book[data-kids-intro-book="2"] { --book-left: 28%; --book-drift: 36px; --book-delay: 180ms; --book-duration: 2.35s; --book-scale: .92; --book-start-turn: -26deg; --book-end-turn: 24deg; }
.kids-intro__book[data-kids-intro-book="3"] { --book-left: 94%; --book-drift: -52px; --book-delay: 300ms; --book-duration: 2.6s; --book-scale: 1.1; --book-start-turn: 37deg; --book-end-turn: -21deg; }
.kids-intro__book[data-kids-intro-book="4"] { --book-left: 51%; --book-drift: 28px; --book-delay: 420ms; --book-duration: 2.25s; --book-scale: .8; --book-start-turn: -34deg; --book-end-turn: 15deg; }
.kids-intro__book[data-kids-intro-book="5"] { --book-left: 13%; --book-drift: -24px; --book-delay: 550ms; --book-duration: 2.9s; --book-scale: 1; --book-start-turn: 24deg; --book-end-turn: -13deg; }
.kids-intro__book[data-kids-intro-book="6"] { --book-left: 65%; --book-drift: 48px; --book-delay: 700ms; --book-duration: 2.4s; --book-scale: .9; --book-start-turn: -31deg; --book-end-turn: 27deg; }
.kids-intro__book[data-kids-intro-book="7"] { --book-left: 39%; --book-drift: -44px; --book-delay: 820ms; --book-duration: 2.75s; --book-scale: 1.08; --book-start-turn: 43deg; --book-end-turn: -16deg; }
.kids-intro__book[data-kids-intro-book="8"] { --book-left: 86%; --book-drift: 32px; --book-delay: 950ms; --book-duration: 2.2s; --book-scale: .86; --book-start-turn: -21deg; --book-end-turn: 31deg; }
.kids-intro__book[data-kids-intro-book="9"] { --book-left: 21%; --book-drift: -56px; --book-delay: 1.05s; --book-duration: 2.55s; --book-scale: .96; --book-start-turn: 32deg; --book-end-turn: -23deg; }
.kids-intro__book[data-kids-intro-book="10"] { --book-left: 58%; --book-drift: -28px; --book-delay: 1.15s; --book-duration: 2.85s; --book-scale: 1.04; --book-start-turn: -45deg; --book-end-turn: 18deg; }
.kids-intro__book[data-kids-intro-book="11"] { --book-left: 7%; --book-drift: 40px; --book-delay: 1.22s; --book-duration: 2.3s; --book-scale: .88; --book-start-turn: 22deg; --book-end-turn: -19deg; }
.kids-intro__book[data-kids-intro-book="12"] { --book-left: 96%; --book-drift: -48px; --book-delay: 1.3s; --book-duration: 2.62s; --book-scale: .94; --book-start-turn: -29deg; --book-end-turn: 26deg; }
.kids-intro__book[data-kids-intro-book="13"] { --book-left: 45%; --book-drift: 56px; --book-delay: 1.4s; --book-duration: 2.45s; --book-scale: 1.12; --book-start-turn: 39deg; --book-end-turn: -14deg; }
.kids-intro__book[data-kids-intro-book="14"] { --book-left: 72%; --book-drift: -36px; --book-delay: 1.5s; --book-duration: 2.95s; --book-scale: .82; --book-start-turn: -36deg; --book-end-turn: 21deg; }
.kids-intro__book[data-kids-intro-book="15"] { --book-left: 33%; --book-drift: 24px; --book-delay: 1.62s; --book-duration: 2.5s; --book-scale: 1; --book-start-turn: 27deg; --book-end-turn: -25deg; }
.kids-intro__tutu {
  position: absolute;
  z-index: 3;
  bottom: max(37%, 310px);
  left: 50%;
  display: block;
  width: clamp(154px, 34vw, 198px);
  aspect-ratio: 1;
  opacity: 0;
  filter: saturate(1.6) contrast(1.18) brightness(1.03) drop-shadow(0 13px 10px rgba(89, 67, 45, .12));
  transform: translate3d(-50%, 44%, 0) rotate(-3deg) scale(.94);
  will-change: transform, opacity, filter;
}
.kids-intro__tutu > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.kids-intro__tutu-wave { opacity: 0; }
[data-kids-intro-wave-state="waving"] .kids-intro__tutu-still { opacity: 0; }
[data-kids-intro-wave-state="waving"] .kids-intro__tutu-wave { opacity: 1; }
[data-kids-intro-state="books-falling"] .kids-intro__book {
  animation: kids-intro-book-drop var(--book-duration) cubic-bezier(.2, .72, .32, 1) var(--book-delay) forwards;
}
[data-kids-intro-state="peeking"] .kids-intro__tutu {
  animation: kids-intro-tutu-peek 1.05s cubic-bezier(.18, .78, .25, 1) forwards;
}
[data-kids-intro-state="peeking"] .kids-intro__book { opacity: 0; transition: opacity 160ms ease; }
[data-kids-intro-state="coming-soon"] .kids-intro__tutu {
  opacity: 1;
  transform: translate3d(-50%, -4%, 0) rotate(1deg) scale(1);
}
@keyframes kids-intro-book-drop {
  0% { opacity: 0; filter: blur(3px); transform: translate3d(-50%, -120px, 0) rotate(var(--book-start-turn)) scale(var(--book-scale)); }
  10% { opacity: 1; filter: blur(0); }
  78% { opacity: 1; filter: blur(0); }
  100% { opacity: .08; filter: blur(1px); transform: translate3d(calc(-50% + var(--book-drift)), calc(100dvh + 120px), 0) rotate(var(--book-end-turn)) scale(var(--book-scale)); }
}
@keyframes kids-intro-tutu-peek {
  0% { opacity: 0; transform: translate3d(-50%, 44%, 0) rotate(-4deg) scale(.94); }
  68% { opacity: 1; transform: translate3d(-50%, -7%, 0) rotate(3deg) scale(1.02); }
  84% { opacity: 1; transform: translate3d(-50%, -2%, 0) rotate(-1deg) scale(1); }
  90% { opacity: 1; transform: translate3d(-50%, -4%, 0) rotate(1deg) scale(1); }
  100% { opacity: 1; filter: saturate(1.6) contrast(1.18) brightness(1.03) drop-shadow(0 13px 10px rgba(89, 67, 45, .12)); transform: translate3d(-50%, -4%, 0) rotate(1deg) scale(1); }
}
.kids-intro__copy {
  position: absolute;
  z-index: 6;
  right: 24px;
  bottom: clamp(72px, 9vh, 120px);
  left: 24px;
  display: flex;
  min-height: 208px;
  align-items: center;
  flex-direction: column;
}
.kids-intro__eyebrow {
  margin: 0;
  font: 10px Georgia, serif;
  letter-spacing: 2px;
  color: #9a6d49;
}
.kids-intro__copy h1 {
  margin: 10px 0 0;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(38px, 8vw, 54px);
  font-weight: 600;
  line-height: 1.08;
}
.kids-intro__subtitle { min-height: 24px; margin: 12px 0 0; font-size: 14px; color: rgba(71, 50, 37, .72); }
.kids-intro__status {
  margin-top: 12px;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .16em;
  text-indent: .16em;
  color: #6b4935;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}
[data-kids-intro-state="coming-soon"] .kids-intro__status { opacity: 1; transform: translateY(0); }
.kids-intro__skip,
.kids-intro__final-actions button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 22px;
}
.kids-intro__skip { margin-top: 16px; color: #6b4935; background: rgba(255, 253, 249, .74); border: 1px solid rgba(107, 73, 53, .22); }
.kids-intro__final-actions { display: flex; gap: 10px; margin-top: 18px; }
.kids-intro__final-actions[hidden] { display: none; }
.kids-intro__final-actions button:first-child { color: #6b4935; background: #fffaf1; border: 1px solid rgba(107, 73, 53, .25); }
.kids-intro__final-actions button:last-child { color: #fffaf1; background: #6b4935; border: 1px solid #6b4935; box-shadow: 0 8px 18px rgba(77, 54, 36, .18); }

.home-audio-section { margin-top: 42px; }
.home-audio-section .editorial-heading { margin: 0 3px 16px; }
.home-audio-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  padding: 20px;
  text-align: left;
  background: linear-gradient(135deg, rgba(255,253,249,.98), rgba(238,231,220,.96));
  border: 1px solid rgba(65,47,36,.1);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(73,54,35,.08);
  transition: transform 120ms ease, background 120ms ease;
}
.home-audio-card__icon,
.home-audio-card__play { display: grid; place-items: center; border-radius: 50%; }
.home-audio-card__icon { width: 48px; height: 48px; background: rgba(225,215,198,.72); }
.home-audio-card__icon img { width: 23px; height: 23px; }
.home-audio-card__copy { display: flex; min-width: 0; flex-direction: column; }
.home-audio-card__copy > span { font-size: 10px; letter-spacing: 1.5px; color: var(--bronze); }
.home-audio-card__copy strong { margin-top: 5px; overflow: hidden; font-family: "Songti SC", STSong, SimSun, serif; font-size: 19px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.home-audio-card__copy small { margin-top: 6px; font-size: 11px; color: var(--ink-soft); }
.home-audio-card__play { width: 44px; height: 44px; background: rgba(255,253,249,.9); border: 1px solid rgba(89,69,54,.12); box-shadow: 0 6px 14px rgba(73,54,35,.09); }
.home-audio-card__play img { width: 17px; height: 17px; }
.home-audio-card:active { transform: scale(.985); background: #fffdf9; }

.editorial-route-list { display: flex; gap: 11px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.editorial-route-list::-webkit-scrollbar { display: none; }
.editorial-route { display: flex; flex: 0 0 78%; min-height: 150px; padding: 17px; flex-direction: column; text-align: left; color: #fffaf0; background: linear-gradient(132deg, rgba(255,231,193,.13), transparent 52%), #4d372a; border: 0; border-radius: 8px; scroll-snap-align: start; }
.editorial-route__top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: rgba(255,250,240,.62); }
.editorial-route__top em { font-family: Georgia, serif; font-style: normal; }
.editorial-route__top > span { display: flex; gap: 4px; align-items: center; }
.editorial-route__top img { width: 13px; height: 13px; }
.editorial-route > strong { margin-top: 25px; font-family: "Songti SC", STSong, Georgia, serif; font-size: 22px; font-weight: 500; }
.editorial-route > small { margin-top: 8px; line-height: 1.5; color: rgba(255,250,240,.65); }

.home-hero { position: relative; height: 43%; min-height: 354px; overflow: hidden; color: #fffdf7; background: var(--walnut); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 52%; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(38,28,21,.24), rgba(38,28,21,.01) 42%, rgba(35,26,20,.38)),
    linear-gradient(90deg, rgba(34,29,20,.2), transparent 68%);
}
.hero-nav { position: relative; z-index: 2; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 20px 24px; }
.hero-nav__title { overflow: hidden; font-family: "Songti SC", STSong, Georgia, serif; font-size: 19px; letter-spacing: 2px; text-align: center; text-shadow: 0 2px 8px rgba(30,24,17,.24); white-space: nowrap; }
.icon-button { display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border-radius: 50%; }
.icon-button--glass { background: rgba(43,31,23,.28); border: 1px solid rgba(255,255,255,.32); box-shadow: 0 8px 20px rgba(28,24,16,.12); }
.icon-button img { width: 23px; height: 23px; filter: brightness(0) invert(1); }
.icon-button:active { transform: scale(.94); background: rgba(43,31,23,.46); }
.hero-copy { position: absolute; z-index: 2; right: 32px; bottom: 45px; left: 32px; }
.hero-kicker, .section-kicker, .subview-header p, .sheet-header p, .hours-dialog > p { margin: 0; font-family: Georgia, serif; font-size: 11px; letter-spacing: 3px; }
.hero-kicker { color: rgba(255,251,238,.88); text-shadow: 0 2px 8px rgba(34,27,18,.28); }
.hero-title { margin: 8px 0 0; font-family: "Songti SC", STSong, Georgia, serif; font-size: clamp(44px, 8vw, 56px); font-weight: 500; line-height: 1.14; letter-spacing: 3px; text-shadow: 0 3px 12px rgba(34,27,18,.3); }
.hero-subtitle { margin: 11px 0 0; font-size: 15px; letter-spacing: 1px; color: rgba(255,253,245,.94); text-shadow: 0 2px 8px rgba(34,27,18,.3); }

.home-content { position: relative; z-index: 3; margin-top: -25px; padding: 0 22px 42px; }
.opening-card { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 96px; padding: 18px 21px; text-align: left; background: rgba(255,252,244,.98); border: 1px solid rgba(83,65,46,.09); border-radius: 22px; box-shadow: var(--shadow); transition: transform 120ms ease; }
.opening-card__status { display: flex; gap: 13px; align-items: center; }
.opening-card__dot { width: 12px; height: 12px; background: var(--bronze); border: 4px solid rgba(152,114,73,.16); border-radius: 50%; box-shadow: 0 0 0 3px rgba(152,114,73,.1); }
.opening-card__heading { display: flex; flex-direction: column; }
.opening-card__heading strong { font-family: "Songti SC", STSong, Georgia, serif; font-size: 26px; font-weight: 500; white-space: nowrap; }
.opening-card__heading span { margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.opening-card__time { display: flex; gap: 7px; align-items: center; font-family: Georgia, serif; font-size: 14px; font-weight: 600; color: var(--walnut); white-space: nowrap; }
.opening-card__time img { width: 15px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 34px 3px 16px; }
.section-heading--first { margin-top: 33px; }
.section-heading--routes { margin-top: 42px; }
.section-kicker { margin-bottom: 5px; color: var(--bronze); }
.section-title { margin: 0; font-family: "Songti SC", STSong, Georgia, serif; font-size: 27px; font-weight: 500; line-height: 1.2; }
.section-heading__hint { padding-bottom: 3px; font-size: 12px; color: #8d8175; }
/* 提示文案随布局切换：手机端是横向轮播，桌面端是栅格。
   默认隐藏计数文案，由文件末尾的 ≥1024px 媒体块反转 */
.section-heading__hint-count { display: none; }
.large-text-control { position: relative; display: flex; gap: 8px; align-items: center; font-size: 13px; color: #74685e; cursor: pointer; }
.large-text-control input { position: absolute; opacity: 0; }
.switch-track { display: flex; align-items: center; width: 40px; height: 23px; padding: 3px; background: #d7d1c7; border-radius: 20px; transition: background 160ms ease; }
.switch-track span { width: 17px; height: 17px; background: #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: transform 160ms ease; }
.large-text-control input:checked + .switch-track { background: var(--walnut); }
.large-text-control input:checked + .switch-track span { transform: translateX(17px); }

.primary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.primary-action { position: relative; display: flex; flex-direction: column; min-height: 190px; overflow: hidden; padding: 18px; text-align: left; border: 0; border-radius: 21px; transition: transform 120ms ease, filter 120ms ease; }
.primary-action--map { color: #443429; background: linear-gradient(145deg,#ded1bf,#bea488); }
.primary-action--route { color: #493520; background: linear-gradient(145deg,#ead9c1,#c59c6c); }
.primary-action__icon { display: grid; width: 47px; height: 47px; place-items: center; background: rgba(255,255,255,.56); border: 1px solid rgba(74,63,42,.08); border-radius: 15px; }
.primary-action__icon img { width: 25px; height: 25px; }
.primary-action__copy { position: relative; z-index: 2; display: flex; flex-direction: column; margin-top: 17px; }
.primary-action__copy strong { font-family: "Songti SC", STSong, Georgia, serif; font-size: 24px; white-space: nowrap; }
.primary-action__copy span { margin-top: 6px; font-size: 12px; opacity: .72; }
.map-preview { position: absolute; right: -10px; bottom: -5px; width: 110px; height: 70px; transform: rotate(-7deg); }
.map-preview__sheet { position: absolute; right: 0; width: 100px; height: 46px; background: rgba(255,255,255,.6); border: 1px solid rgba(88,64,48,.2); border-radius: 8px; box-shadow: 0 7px 12px rgba(78,56,42,.12); }
.map-preview__sheet--back { top: 0; right: 9px; opacity: .58; }
.map-preview__sheet--front { top: 20px; }
.route-preview { position: absolute; right: 13px; bottom: 14px; display: flex; gap: 8px; align-items: center; }
.route-preview span:first-child, .route-preview span:last-child { width: 9px; height: 9px; background: rgba(71,54,27,.68); border: 3px solid rgba(255,255,255,.54); border-radius: 50%; }
.route-preview span:nth-child(2) { width: 45px; height: 2px; background: rgba(71,54,27,.45); transform: rotate(-22deg); }

.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.quick-action { display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 17px 5px 15px; background: rgba(255,252,245,.82); border: 1px solid var(--line); border-radius: 18px; }
.quick-action > span { display: grid; width: 42px; height: 42px; place-items: center; background: #ebe4d7; border-radius: 14px; }
.quick-action img { width: 22px; height: 22px; }
.quick-action strong { font-size: 12px; font-weight: 500; white-space: nowrap; }
.route-list { display: grid; gap: 10px; }
.route-card { display: grid; grid-template-columns: 43px 1fr 18px; gap: 13px; align-items: center; width: 100%; padding: 17px; text-align: left; background: rgba(255,252,245,.84); border: 1px solid var(--line); border-radius: 18px; }
.route-card__number { font-family: Georgia, serif; font-size: 16px; color: var(--bronze); }
.route-card__copy { display: flex; min-width: 0; flex-direction: column; }
.route-card__copy > strong, .route-card__title-row strong { font-family: "Songti SC", STSong, Georgia, serif; font-size: 19px; font-weight: 600; }
.route-card__copy > span:last-child { margin-top: 5px; overflow: hidden; font-size: 12px; color: var(--ink-soft); text-overflow: ellipsis; white-space: nowrap; }
.route-card > img { width: 17px; }
.route-card__title-row { display: flex; gap: 8px; align-items: center; }
.route-card__title-row em { padding: 3px 7px; font-size: 10px; font-style: normal; color: var(--walnut-deep); background: #e8ddd0; border-radius: 10px; }
.demo-notice { display: flex; gap: 10px; margin-top: 20px; padding: 15px; font-size: 12px; line-height: 1.55; color: #766a5f; background: rgba(225,215,198,.56); border-radius: 16px; }
.demo-notice img { width: 18px; height: 18px; opacity: .7; }
.demo-notice p { margin: 0; }
.opening-card:active, .primary-action:active, .quick-action:active, .route-card:active { transform: scale(.98); filter: brightness(1.05); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.explore-view {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--map-canvas);
}

.explore-view.view--active { display: flex; flex-direction: column; }

.explore-top-dock {
  position: relative;
  z-index: 8;
  flex: none;
  background: rgba(255, 253, 249, .98);
  border-bottom: 1px solid rgba(48, 39, 32, .08);
  box-shadow: 0 4px 16px rgba(48, 39, 32, .06);
}

.explore-nav {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  min-height: 62px;
  padding: 7px 18px 5px;
  border-bottom: 1px solid rgba(48, 39, 32, .06);
}

.explore-nav__back,
.explore-nav__route {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
}

.explore-nav__back span {
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--walnut-deep);
  border-left: 2px solid var(--walnut-deep);
  transform: rotate(45deg);
}

.explore-nav__route { justify-self: end; }
.explore-nav__route img { width: 23px; height: 23px; }
.explore-nav__title { text-align: center; }
.explore-nav__title p { margin: 0 0 3px; font-family: Georgia, serif; font-size: 10px; letter-spacing: 2.1px; color: var(--bronze); }
.explore-nav__title h1 { margin: 0; font-family: "Songti SC", STSong, SimSun, serif; font-size: 22px; font-weight: 500; letter-spacing: 2px; }

.explore-directory { padding: 7px 10px 8px; }

.explore-category-bar {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.explore-category-bar::-webkit-scrollbar { display: none; }

.explore-category {
  position: relative;
  display: flex;
  gap: 5px;
  flex: 0 0 78px;
  height: 62px;
  padding: 4px 7px 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 0;
  scroll-snap-align: start;
  transition: color 160ms ease, transform 140ms ease;
}

.explore-category img { width: 25px; height: 25px; opacity: .46; transition: opacity 160ms ease, filter 160ms ease; }
.explore-category span { font-size: 12px; line-height: 1; white-space: nowrap; }
.explore-category:active { transform: scale(.96); }
.explore-category::after { position: absolute; right: 19px; bottom: 0; left: 19px; height: 2px; content: ""; background: transparent; border-radius: 2px; }

.explore-category--active {
  color: var(--walnut);
}

.explore-category--active img { opacity: .95; filter: sepia(1) saturate(1.3) hue-rotate(338deg) brightness(.72); }
.explore-category--active::after { background: var(--walnut); }

.explore-map-stage {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  background: var(--map-canvas);
}

.explore-map-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background: var(--map-canvas);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  user-select: none;
}

.explore-map-viewport.is-dragging { cursor: grabbing; }

.interactive-floor-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(96%, 780px);
  aspect-ratio: 1491 / 1055;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transform-origin: center;
  will-change: transform;
}

.interactive-floor-map svg { display: block; width: 100%; height: 100%; }
.interactive-floor-map[hidden] { display: none; }
.interactive-floor-map .region { transition: fill 180ms ease, stroke 180ms ease, opacity 180ms ease; }
.interactive-floor-map .region.is-category-match { pointer-events: auto; fill: rgba(177, 132, 87, .12); stroke: rgba(140, 99, 63, .5); stroke-width: 2; }
.interactive-floor-map .region.is-category-muted { pointer-events: none; fill: transparent; stroke: transparent; }
.interactive-floor-map .region.is-selected { pointer-events: auto; fill: rgba(107, 73, 53, .24); stroke: var(--walnut-deep); stroke-width: 4; }

.explore-map-markers { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.explore-map-marker { position: absolute; display: grid; width: 36px; height: 36px; padding: 8px; place-items: center; color: #fff; background: #bd9662; border: 2px solid rgba(255, 255, 255, .88); border-radius: 50% 50% 50% 8px; box-shadow: 0 5px 12px rgba(72, 56, 43, .24); transform: translate(-50%, -96%) rotate(-45deg); pointer-events: auto; transition: transform 140ms ease, background 140ms ease; }
.explore-map-marker::after { position: absolute; inset: 2px; content: ""; border: 1px solid rgba(255, 255, 255, .18); border-radius: inherit; }
.explore-map-marker img { width: 18px; height: 18px; filter: brightness(0) invert(1); transform: rotate(45deg); }
.explore-map-marker:active { background: var(--walnut); transform: translate(-50%, -96%) rotate(-45deg) scale(.92); }

.explore-map-loading,
.explore-map-error {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 9px;
  place-content: center;
  margin: 0;
  font-size: 11px;
  text-align: center;
  color: var(--ink-soft);
}

.explore-map-loading i { width: 26px; height: 26px; margin: auto; border: 2px solid #d7cab9; border-top-color: var(--walnut); border-radius: 50%; animation: map-spin .8s linear infinite; }
@keyframes map-spin { to { transform: rotate(360deg); } }

.explore-location-entry {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 44px;
  min-width: 188px;
  margin-inline: auto;
  padding: 3px 3px 3px 13px;
  align-items: center;
  color: var(--walnut);
  background: rgba(255, 250, 243, .97);
  border: 1px solid rgba(48, 39, 32, .07);
  border-radius: 24px;
  box-shadow: 0 7px 20px rgba(48, 39, 32, .1);
}
.explore-location-entry__icon { display: grid; width: 25px; height: 25px; place-items: center; }
.explore-location-entry__icon img { width: 20px; height: 20px; filter: sepia(1) saturate(1.2) hue-rotate(335deg) brightness(.68); }
.explore-location-entry strong { flex: 1; padding: 0 9px 0 4px; font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: .4px; white-space: nowrap; }
.explore-location-entry__cta { display: grid; width: 50px; height: 38px; place-items: center; font-size: 11px; font-weight: 600; line-height: 1.05; color: #fff; background: var(--walnut); border-radius: 20px; }
.explore-location-entry:active { transform: scale(.97); }

.explore-map-tools { position: absolute; z-index: 4; right: 14px; bottom: 14px; display: flex; overflow: hidden; background: rgba(255, 250, 243, .97); border: 1px solid rgba(48, 39, 32, .08); border-radius: 18px; box-shadow: 0 6px 18px rgba(48, 39, 32, .1); }
.explore-map-tools button { display: grid; width: 35px; height: 35px; padding: 0; place-items: center; color: var(--walnut-deep); background: transparent; border: 0; border-right: 1px solid rgba(82, 61, 45, .1); font: 20px Georgia, serif; }
.explore-map-tools button:last-child { border-right: 0; }
.explore-map-tools .explore-map-tools__scale { width: 49px; font-family: Georgia, serif; font-size: 10px; letter-spacing: .2px; }

.explore-floor-two {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(96%, 780px);
  aspect-ratio: 1491 / 1055;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transform-origin: center;
  will-change: transform;
}
.explore-floor-two[hidden] { display: none; }
.explore-floor-two__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(rgba(107, 73, 53, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 73, 53, .06) 1px, transparent 1px),
    var(--map-canvas);
  background-size: 36px 36px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.explore-floor-two__zone { position: absolute; display: grid; padding: 6px; place-items: center; font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size: 12px; font-weight: 500; text-align: center; border: 1px solid rgba(82, 61, 45, .18); border-radius: 9px; }
#explore-floor-two-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 12px; color: var(--ink-soft); }
#explore-floor-two-empty[hidden] { display: none; }

.explore-bottom-dock {
  position: relative;
  z-index: 8;
  flex: none;
  padding: 8px 20px 12px;
  background: var(--paper-light);
  border-top: 1px solid rgba(48, 39, 32, .08);
  box-shadow: 0 -5px 18px rgba(48, 39, 32, .06);
}

.explore-place-card {
  position: relative;
  display: grid;
  min-height: 48px;
  padding: 0 0 0 2px;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.explore-selection-summary { display: flex; gap: 10px; align-items: center; min-width: 0; }
.explore-selection-summary__icon { display: grid; flex: none; width: 38px; height: 38px; place-items: center; background: #bd9662; border-radius: 50%; box-shadow: 0 4px 12px rgba(73, 52, 38, .14); }
.explore-selection-summary__icon img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.explore-selection-summary > div { min-width: 0; }
.explore-place-card header p { margin: 0 0 1px; font-family: Georgia, serif; font-size: 10px; letter-spacing: 1.1px; color: var(--bronze); }
.explore-place-card header h2 { margin: 0; overflow: hidden; font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size: 18px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.explore-place-card header button { position: absolute; top: 8px; right: 0; width: 32px; height: 32px; padding: 0; font-size: 22px; color: var(--ink-soft); background: transparent; border: 0; }
.explore-place-card header button[hidden] { display: none; }
.explore-place-card.has-selection { padding-right: 143px; }
.explore-place-card__actions { position: absolute; top: 4px; right: 38px; display: flex; gap: 6px; }
.explore-place-card__actions[hidden] { display: none; }
.explore-place-card__actions button { min-height: 38px; padding: 0 12px; font-size: 12px; color: var(--walnut); background: #eee8df; border: 0; border-radius: 19px; }
.explore-place-card__actions button:last-child { color: #fff9ef; background: var(--walnut); }

.explore-floor-switcher { margin-top: 7px; }
.explore-floor-switcher > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.explore-floor-tab { height: 43px; padding: 0; color: #827b75; background: #fff; border: 1px solid rgba(48, 39, 32, .1); border-radius: 3px; font: 17px Georgia, serif; }
.explore-floor-tab--active { color: #fff; background: var(--walnut-deep); border-color: var(--walnut-deep); box-shadow: 0 6px 14px rgba(59, 43, 35, .15); }

.subview-header { position: sticky; top: 0; z-index: 4; display: flex; gap: 18px; align-items: center; min-height: 126px; padding: 30px 24px 24px; color: #fff; }
.subview-header--walnut { background: linear-gradient(145deg,#34261f,#6a4d3a); }
.subview-header--caramel { background: linear-gradient(145deg,#5d412d,#896548); }
.subview-header--mocha { background: linear-gradient(145deg,#493126,#745542); }
.subview-header p { margin-bottom: 5px; color: rgba(255,255,255,.72); }
.subview-header h1 { margin: 0; font-family: "Songti SC", STSong, Georgia, serif; font-size: 31px; font-weight: 500; }
.back-button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.back-button img { width: 22px; }
.subview-body { padding: 23px 22px 44px; }
.floor-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #e6ded1; border-radius: 15px; }
.floor-tab { padding: 11px; background: transparent; border: 0; border-radius: 12px; }
.floor-tab--active { color: #fff; background: var(--walnut); box-shadow: 0 6px 13px rgba(74,50,37,.22); }
.map-card { position: relative; height: 260px; margin-top: 18px; overflow: hidden; background: #eee7dc; border: 1px solid var(--line); border-radius: 24px; }
.map-zone { position: absolute; display: grid; padding: 7px; place-items: center; overflow: hidden; font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size: 12px; font-weight: 500; text-align: center; background: #d8cdbf; border: 1px solid rgba(88,64,48,.2); border-radius: 10px; }
.map-zone--sand { background:#e6d5bb; }.map-zone--oat { background:#d9cdbe; }.map-zone--stone { background:#d2c6ba; }.map-zone--biscuit { background:#d8bfa8; }.map-zone--wheat { background:#dcc798; }.map-zone--espresso { color:#fff; background:#5a4335; }
.floor-summary { display: flex; align-items: flex-end; justify-content: space-between; margin: 24px 2px 13px; }
.floor-summary p { margin: 0 0 4px; font-size: 11px; letter-spacing: 1px; color: var(--bronze); }
.floor-summary h2 { margin: 0; font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size: 22px; font-weight: 600; }
.floor-summary > span { font-size: 12px; color: var(--ink-soft); }
.place-list { display: grid; gap: 9px; }
.place-item { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; background: rgba(255,252,245,.86); border: 1px solid var(--line); border-radius: 15px; }
.place-item div { display:flex; flex-direction:column; }.place-item strong { font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size:18px; font-weight:600; }.place-item span { margin-top:4px; font-size:12px; color:#6f6259; }.place-item img { width:17px; }

.route-selector-card, .route-result-card { padding: 20px; background: var(--paper-light); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 30px rgba(73,54,35,.07); }
.route-selector-card label:not(.accessible-check) { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.route-selector-card select { width: 100%; padding: 11px 0; color: var(--ink); background: transparent; border: 0; font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size: 20px; font-weight: 600; }
.route-divider { display: block; height: 1px; margin: 12px 0; background: var(--line); }
.accessible-check { display: flex; gap: 9px; align-items: center; margin-top: 15px; font-size: 12px; color: var(--walnut-deep); }
.route-result-card { margin-top: 15px; }
.route-result-card__top { display:flex; justify-content:space-between; font-size:12px; color:var(--ink-soft); }.route-result-card__top strong { color:var(--walnut); }
.route-result-card ol { display:grid; gap:18px; padding:0; margin:20px 0 0; list-style:none; }
.route-result-card li { position:relative; display:flex; gap:13px; }.route-result-card li:not(:last-child)::after { position:absolute; top:27px; bottom:-16px; left:13px; width:1px; content:""; background:#d6cbbd; }
.route-result-card li > span { position:relative; z-index:1; display:grid; flex:0 0 27px; width:27px; height:27px; place-items:center; font:12px Georgia,serif; color:#fff; background:var(--walnut); border-radius:50%; }
.route-result-card li p { display:flex; flex-direction:column; margin:1px 0 0; }.route-result-card li strong { font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size:17px; font-weight:600; }.route-result-card li small { margin-top:4px; color:var(--ink-soft); }
.primary-cta { width:100%; margin-top:18px; padding:15px; font-weight:600; color:#fff; background:var(--walnut); border:0; border-radius:16px; box-shadow:0 10px 22px rgba(74,50,37,.22); }

.audio-feature { display:flex; flex-direction:column; align-items:center; padding:30px 22px; text-align:center; background:linear-gradient(155deg,#fffaf1,#eaded0); border:1px solid var(--line); border-radius:24px; }
.audio-feature__icon { display:grid; width:62px; height:62px; place-items:center; background:#fff; border-radius:50%; box-shadow:0 12px 24px rgba(73,54,35,.12); }.audio-feature__icon img { width:30px; }
.audio-feature p { margin:20px 0 5px; font-size:11px; letter-spacing:2px; color:var(--bronze); }.audio-feature h2 { margin:0; font-family:"Songti SC",STSong,serif; font-size:25px; }.audio-feature > span:not(.audio-feature__icon) { margin-top:8px; font-size:12px; color:var(--ink-soft); }.audio-feature audio { width:100%; margin-top:24px; }
.audio-list { display:grid; gap:10px; margin-top:18px; }.audio-list button { display:flex; align-items:center; justify-content:space-between; padding:17px; text-align:left; background:var(--paper-light); border:1px solid var(--line); border-radius:17px; }.audio-list button > span { display:flex; flex-direction:column; }.audio-list strong { font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size:18px; font-weight:600; }.audio-list small { margin-top:5px; color:var(--ink-soft); }.audio-list img { width:28px; }

.sheet-layer { position:absolute; z-index:20; inset:0; }
.sheet-layer[hidden] { display:none; }
.sheet-backdrop { position:absolute; inset:0; width:100%; height:100%; background:rgba(34,28,23,.34); border:0; backdrop-filter:blur(2px); }
.guide-sheet { position:absolute; right:0; bottom:0; left:0; max-height:82%; padding:10px 22px 28px; overflow:auto; background:#fbf7ee; border-radius:28px 28px 0 0; box-shadow:0 -18px 60px rgba(43,33,24,.18); animation:sheet-in 220ms ease; }
@keyframes sheet-in { from { transform:translateY(30px); opacity:0; } }
.sheet-handle { width:38px; height:4px; margin:0 auto 15px; background:#d4cabd; border-radius:4px; }
.sheet-header { display:flex; align-items:center; justify-content:space-between; }.sheet-header p { margin-bottom:4px; color:var(--bronze); }.sheet-header h2 { margin:0; font-family:"Songti SC",STSong,serif; font-size:26px; font-weight:500; }
.sheet-close { display:grid; width:38px; height:38px; padding:0; place-items:center; background:#ebe3d6; border:0; border-radius:50%; }.sheet-close img { width:18px; }
.sheet-search { display:flex; gap:10px; align-items:center; margin-top:18px; padding:13px 15px; background:#fffdfa; border:1px solid var(--line); border-radius:15px; }.sheet-search img { width:20px; }.sheet-search input { width:100%; background:transparent; border:0; outline:0; }
.filter-list { display:flex; gap:8px; margin-top:13px; overflow:auto; }.filter-chip { flex:none; padding:8px 13px; font-size:12px; background:transparent; border:1px solid #d6cabb; border-radius:18px; }.filter-chip--active { color:#fff; background:var(--walnut); border-color:var(--walnut); }
.sheet-summary { display:flex; justify-content:space-between; margin:20px 2px 10px; }.sheet-summary strong { font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size:18px; font-weight:600; }.sheet-summary span { font-size:12px; color:#6f6259; }
.search-results { display:grid; gap:8px; }.search-result { display:grid; grid-template-columns:38px 1fr 17px; gap:12px; align-items:center; padding:14px; text-align:left; background:#fffdfa; border:1px solid var(--line); border-radius:14px; }.search-result__floor { font:17px Georgia,serif; color:var(--bronze); }.search-result__copy { display:flex; flex-direction:column; min-width:0; }.search-result__copy strong { font-family: "Source Han Sans UI", "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", sans-serif; font-size:17px; font-weight:600; }.search-result__copy span { margin-top:3px; overflow:hidden; font-size:12px; color:#6f6259; text-overflow:ellipsis; white-space:nowrap; }.search-result > img { width:17px; }
.search-empty { padding:30px 10px; text-align:center; color:var(--ink-soft); }

.hours-dialog { width:min(380px,calc(100% - 44px)); padding:27px; text-align:center; color:var(--ink); background:#fffaf1; border:1px solid rgba(255,255,255,.8); border-radius:24px; box-shadow:0 30px 90px rgba(44,35,27,.3); }.hours-dialog::backdrop { background:rgba(34,28,23,.38); backdrop-filter:blur(3px); }.hours-dialog > img { width:28px; }.hours-dialog > p { margin-top:12px; color:var(--bronze); }.hours-dialog h2 { margin:5px 0 16px; font-family:"Songti SC",STSong,serif; font-size:25px; }.hours-dialog > strong { display:block; font:24px Georgia,serif; color:var(--walnut); }.hours-dialog > span { display:block; margin-top:12px; font-size:12px; line-height:1.6; color:var(--ink-soft); }.hours-dialog button { width:100%; margin-top:21px; padding:12px; color:#fff; background:var(--walnut); border:0; border-radius:13px; }
.toast { position:absolute; z-index:30; right:50%; bottom:24px; width:max-content; max-width:80%; padding:11px 17px; font-size:12px; color:#fff; background:rgba(42,36,31,.88); border-radius:18px; transform:translateX(50%); box-shadow:0 10px 30px rgba(0,0,0,.18); }
.toast[hidden] { display:none; }

.large-mode { font-size: 112%; }
.large-mode .cover-place { font-size: 13px; }
.large-mode .cover-title { font-size: clamp(48px, 9vw, 64px); }
.large-mode .cover-description { font-size: 19px; }
.large-mode .cover-cta { width: 148px; height: 52px; font-size: 16px; }
.large-mode .panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow control"
    "title title";
  gap: 8px 12px;
  align-items: center;
}
.large-mode .panel-heading > div { display: contents; }
.large-mode .panel-heading__eyebrow { grid-area: eyebrow; margin: 0; font-size: 10px; letter-spacing: 1px; white-space: nowrap; }
.large-mode .panel-heading__title { grid-area: title; font-size: 36px; }
.large-mode .large-text-control { grid-area: control; margin: 0; padding-bottom: 0; font-size: 16px; }
.large-mode .search-box { height: 64px; }
.large-mode .search-box__placeholder { font-size: 17px; }
.large-mode .location-row { font-size: 14px; }
.large-mode .section-title { font-size: 32px; }
.large-mode .section-heading__hint { font-size: 14px; }
.large-mode .category-card { min-height: 130px; }
.large-mode .category-card__number { font-size: 13px; }
.large-mode .category-card strong { font-size: 24px; }
.large-mode .category-card small { font-size: 13px; }
.large-mode .kids-guide-card { min-height: 214px; }
.large-mode .kids-guide-card__copy { width: 72%; min-height: 214px; }
.large-mode .kids-guide-card__copy small { font-size: 12px; }
.large-mode .kids-guide-card__copy strong { font-size: 27px; }
.large-mode .kids-guide-card__copy > span:not(.kids-guide-card__cta) { font-size: 14px; }
.large-mode .kids-guide-card__cta { font-size: 13px; }
.large-mode .kids-guide-card__tutu { width: 154px; }
.large-mode .home-audio-card { min-height: 124px; }
.large-mode .home-audio-card__copy > span { font-size: 12px; }
.large-mode .home-audio-card__copy strong { font-size: 23px; }
.large-mode .home-audio-card__copy small { font-size: 13px; }
.large-mode .editorial-route { min-height: 165px; }
.large-mode .editorial-route__top { font-size: 13px; }
.large-mode .editorial-route > strong { font-size: 26px; }
.large-mode .editorial-route > small { font-size: 15px; }
.large-mode .demo-notice { font-size: 14px; }
.large-mode .hero-subtitle,
.large-mode .primary-action__copy span,
.large-mode .quick-action strong,
.large-mode .route-card__copy > span:last-child { font-size: 14px; }

@media (max-width: 650px) {
  .preview-stage { display:block; min-height:100dvh; padding:0; background:var(--paper); }
  .app-frame { width:100%; height:100dvh; max-height:none; aspect-ratio:auto; border:0; border-radius:0; box-shadow:none; }
}

@media (max-width: 360px) {
  .hero-nav { grid-template-columns: 50px 1fr 50px; padding-inline: 18px; }
  .hero-nav__title { font-size: 17px; }
  .hero-copy { right: 24px; left: 24px; }
  .hero-title { font-size: 42px; }
  .hero-subtitle { font-size: 13px; }
  .home-content { padding-inline: 14px; }
  .opening-card { min-height: 88px; padding: 15px 14px; }
  .opening-card__status { gap: 8px; }
  .opening-card__heading strong { font-size: 21px; }
  .opening-card__heading span { font-size: 10px; }
  .opening-card__time { gap: 4px; font-size: 11px; }
  .opening-card__time img { width: 13px; }
  .primary-grid { gap: 8px; }
  .primary-action { min-height: 174px; padding: 14px; }
  .primary-action__copy strong { font-size: 20px; }
  .primary-action__copy span { font-size: 10px; }
  .quick-grid { gap: 6px; }
  .quick-action { padding-inline: 2px; }
  .quick-action strong { font-size: 11px; }
  .explore-place-card.has-selection { padding-right: 132px; }
  .explore-place-card__actions button { padding-inline: 8px; }
}

@media (max-height: 720px) and (max-width: 1023px) {
  .explore-nav { min-height: 54px; padding-block: 4px; }
  .explore-directory { padding-block: 4px 5px; }
  .explore-category { height: 55px; }
  .explore-bottom-dock { padding-block: 6px 8px; }
  .explore-place-card { min-height: 44px; }
  .explore-floor-tab { height: 38px; }
}

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

/* ==========================================================================
   桌面端顶部导航栏 — 基础样式（默认隐藏，由文件末尾的 ≥1024px 媒体块显示）
   背景用与页面完全一致的 --paper，使其不成其为一条色带；
   左右内边距与 .content-panel 用同一算式，使品牌与导航项对齐内容列
   ========================================================================== */
.app-rail { display: none; align-items: center; gap: 2px; min-height: 64px; padding: 0 max(28px, calc((100% - 1120px) / 2)); background: var(--paper); }
.app-rail__brand { margin: 0 auto 0 0; padding-right: 24px; font-family: "Songti SC", STSong, Georgia, serif; font-size: 16px; letter-spacing: 2px; color: var(--walnut-deep); white-space: nowrap; }
.app-rail__item { display: flex; gap: 8px; align-items: center; min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--mocha); background: transparent; border: 0; border-radius: 10px; transition: background 120ms ease; }
.app-rail__item:hover { background: rgba(107,73,53,.06); }
.app-rail__item img { width: 17px; height: 17px; opacity: .48; filter: brightness(0); }
.app-rail__item--active { color: var(--walnut-deep); background: rgba(107,73,53,.1); }
.app-rail__item--active img { opacity: .8; }

/* ==========================================================================
   桌面端响应式重排（≥1024px）
   手机端（≤1023px）行为完全不受影响；全部为增量覆盖，不修改任何基础规则
   ========================================================================== */
@media (min-width: 1024px) {

  /* --- 外壳：溶解手机壳，改为「顶栏 + 内容」网格 --- */
  .preview-stage { display: block; min-height: 100dvh; padding: 0; background: var(--paper); }

  /* height 必须保持确定值（不能用 min-height），否则 #app-scroll 高度变不确定，
     .explore-map-viewport 会塌成 0 高，地图静默消失 */
  .app-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100dvh;
    max-height: none;
    aspect-ratio: auto;
    padding: 0;              /* 保持 0：绝对定位覆盖层以 padding box 为包含块 */
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* 顶栏占第一行，滚动区占第二行整宽 */
  .app-rail { display: flex; grid-column: 1; grid-row: 1; }
  #app-scroll { grid-column: 1; grid-row: 2; }

  /* --- 首页主视觉 --- */
  /* 与手机端一致，照片通栏铺满。只把文案左内边距对齐到内容列，
     否则基础的 32px 会比下方 1120px 内容列差 12px */
  .cover-copy { padding-left: max(28px, calc((100% - 1120px) / 2)); }

  /* 取景上移：桌面端是横向条带，纵向裁切很重。基础值 48% 是按手机竖框调的，
     调大百分比可把画面下方的馆名与倒影池提进视野。
     压暗层保持基础值不动——不再额外加暗，避免主视觉发黑 */
  .cover-photo { object-position: center 80%; }

  /* --- 首页 --- */
  /* padding-inline 居中内容列，同时保留 7 段渐变与 ::before 模糊条通栏 */
  /* 保留基础的 margin-top:-180px / padding-top:140px —— 内容上提压住照片是原始设计 */
  .content-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    align-content: start;
    padding-inline: max(28px, calc((100% - 1120px) / 2));
  }
  /* 顺序敏感：> * 的全宽规则必须排在下面两条 grid-column:auto 之前 */
  .content-panel > * { grid-column: 1 / -1; }
  .home-kids-section,
  .home-audio-section { grid-column: auto; }
  .home-audio-section { display: flex; flex-direction: column; }
  .home-audio-card { flex: 1; }

  .category-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

  /* 手机端的横向轮播改为自动换行网格 */
  .editorial-route-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 11px; overflow: visible; }

  /* 路线已改为栅格，不再滑动，提示文案相应换成计数式 */
  .section-heading__hint-swipe { display: none; }
  .section-heading__hint-count { display: inline; }

  /* --- 探索页 --- */
  /* 地图按高度驱动放大。缩放下限锁死为 1，若只放宽 width 上限，
     超出高度的部分会被裁剪且永久不可达 */
  .interactive-floor-map,
  .explore-floor-two { width: auto; height: min(96%, 900px); max-width: 96%; }

  .explore-category-bar { justify-content: center; }

  /* 底部 dock 由竖排改为横排；下面四条必须成套修改：
     .has-selection 的 143px 右内边距与 __actions 的绝对定位是配对的手机宽度 hack */
  .explore-bottom-dock { display: flex; gap: 22px; align-items: center; }
  .explore-place-card { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; }
  .explore-selection-summary { flex: 1; min-width: 0; }
  .explore-place-card header button { position: static; flex: none; }
  .explore-place-card.has-selection { padding-right: 0; }
  .explore-place-card__actions { position: static; margin-left: auto; }
  .explore-floor-switcher { flex: 0 0 340px; margin-top: 0; }

  /* --- 路线页 / 讲解页 --- */
  .subview-header,
  .subview-body { padding-inline: max(28px, calc((100% - 1120px) / 2)); }

  .audio-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
