:root {
  color-scheme: light;
  --page: #faf9ff;
  --surface: #fff;
  --ink: #211d39;
  --muted: #565268;
  --accent: #5841a4;
  --accent-hover: #402d80;
  --line: #e3dff0;
  --shadow: 0 10px 30px #3b2b6311;
  --display: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  font-family: var(--display);
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
p { line-height: 1.75; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7556ce; outline-offset: 4px; }
.container { width: min(1180px, 91vw); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 5; background: #fffffffa; border-bottom: 1px solid var(--line); }
.masthead { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); white-space: nowrap; font-size: 22px; font-weight: 750; }
.wordmark small { color: var(--accent); font: 700 9px/1.2 system-ui,sans-serif; letter-spacing: .11em; margin-left: 4px; }
.wordmark .brand-text { display: grid; gap: 2px; line-height: 1.05; }
.wordmark .brand-text small { margin: 0; }
.masthead-nav { display: flex; align-items: center; gap: clamp(15px, 3.1vw, 42px); font-size: 14px; color: var(--muted); }
.mobile-site-nav { display: none; }
.masthead-nav a:hover, .footer nav a:hover { color: var(--accent); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 46px; width: fit-content; max-width: 100%; padding: 10px 19px;
  border: 1px solid var(--accent); border-radius: 12px; background: var(--accent);
  color: white; font-size: 14px; font-weight: 600; line-height: 1.45;
  transition: background .18s, color .18s, box-shadow .18s;
}
.button:hover { background: var(--accent-hover); box-shadow: 0 5px 16px #36245a26; }
.button:disabled { cursor: progress; opacity: .65; }
.button-small { min-height: 39px; padding-inline: 13px; font-size: 13px; }
.button-outline { color: var(--accent); background: white; }
.button-outline:hover { color: white; }
.line-link { width: fit-content; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; line-height: 1.6; }
.line-link:hover { color: var(--accent-hover); }
button.line-link { border: 0; padding: 0; background: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.account-links { display: flex; align-items: center; gap: 10px; }
.account-links .line-link { font-size: 13px; white-space: nowrap; }
.place-label { color: var(--accent); font-weight: 650; font-size: 13px; letter-spacing: .06em; }
.opening { position: relative; isolation: isolate; background: #ede7fb; }
.opening-film { position: relative; }
.opening-film video { width: 100%; height: auto; aspect-ratio: 1080 / 608; background: #435345; }
.opening-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#211a37b5 0%,#211a374a 26%, transparent 42%, transparent 71%,#211a374d 100%); pointer-events: none; }
.film-bar { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; color: white; }
.film-bar > span, .film-actions button { border: 1px solid #ffffff82; border-radius: 8px; background: #252039bf; color: white; font-size: 12px; }
.film-location { display: inline-flex; align-items: center; gap: 9px; align-self: start; padding: 7px 9px; }
.film-location > span { white-space: nowrap; }
.film-actions { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: end; gap: 5px; }
.film-actions button { display: grid; place-items: center; width: 40px; height: 36px; padding: 0; }
.film-actions button:hover { background: #241d37; }
.film-icon { position: relative; display: block; width: 20px; height: 20px; }
.film-icon::before, .sound-icon::after { content: ""; position: absolute; }
.play-icon::before { left: 6px; top: 3px; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor; }
[data-playing="true"] .play-icon::before {
  top: 3px; left: 4px; width: 4px; height: 14px; border: 0; border-radius: 1px;
  background: currentColor; box-shadow: 8px 0 currentColor;
}
.sound-icon::before {
  inset: 3px auto 3px 1px; width: 12px; background: currentColor;
  clip-path: polygon(0 30%, 36% 30%, 86% 0, 86% 100%, 36% 70%, 0 70%);
}
.sound-icon::after { top: 3px; right: 2px; width: 10px; height: 14px; border-radius: 50%; border-right: 2px solid currentColor; }
[data-muted="true"] .sound-icon::after {
  top: 9px; right: 1px; width: 19px; height: 2px; border: 0; border-radius: 1px;
  background: currentColor; box-shadow: 0 0 0 1px #252039; transform: rotate(-45deg);
}
.opening-copy { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding-block: clamp(62px,7.5vw,143px) clamp(27px,5.5vw,94px); text-align: center; color: white; pointer-events: none; }
.hero-type .place-label { color: #fcf7ff; font-size: clamp(20px,2.65vw,37px); font-weight: 720; letter-spacing: .085em; line-height: 1.25; text-shadow: 0 2px 14px #1f172daa; }
.opening-copy h1 { font-size: clamp(35px,4.85vw,70px); font-weight: 810; letter-spacing: -.04em; line-height: 1.13; margin-top: 11px; text-shadow: 0 2px 22px #1f172daa; }
.hero-actions { pointer-events: auto; justify-content: center; }
.hero-actions .button {
  min-height: 49px; padding-inline: clamp(16px,2.3vw,32px); min-width: 134px;
  border-color: #fff9; background: #211b3280; color: white;
  box-shadow: inset 0 1px #fff5, 0 8px 25px #16112135;
  -webkit-backdrop-filter: blur(13px) saturate(125%);
  backdrop-filter: blur(13px) saturate(125%);
}
.hero-actions .hero-button-primary { background: #4c3d75a0; border-color: #ffffffb0; }
.hero-actions .button:hover { background: #4e436ac9; border-color: white; }
.section { padding-block: clamp(46px,6.4vw,92px); }
.section-heading { text-align: center; margin: 0 auto clamp(20px,3.3vw,42px); max-width: 43em; }
.section-heading h1, .section-heading h2, .visit-copy h2, .finish h2, .share-copy h2, .experience-copy h2, .culture-heading h2 { font-size: clamp(30px,4.1vw,52px); font-weight: 780; line-height: 1.17; letter-spacing: -.055em; }
.section-heading p { margin-top: 9px; color: var(--muted); }
.experience-section { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); align-items: center; gap: clamp(23px,5vw,74px); }
.experience-photo img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: 50% 65%; border-radius: 12px; }
.experience-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.experience-copy h2 { margin: 0 0 17px; font-size: clamp(30px,3.8vw,48px); letter-spacing: -.04em; }
.experience-links { border-top: 1px solid var(--line); }
.experience-links a {
  display: grid; grid-template-columns: minmax(7.25em,auto) minmax(0,1fr) auto;
  align-items: center; gap: 8px 12px; min-height: 57px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.experience-links a:hover { color: var(--accent); }
.experience-links strong { font-size: clamp(14px,1.45vw,17px); font-weight: 720; }
.experience-links a > span { color: var(--muted); font-size: 13px; }
.experience-links a > span[aria-hidden] { color: var(--accent); font-size: 23px; line-height: 1; }
.example-section { background: #f3f0fa; }
.example-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(11px,1.7vw,23px); }
.example-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.example-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.example-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8e3ee; }
.example-caption { padding: clamp(11px,1.5vw,17px); }
.example-caption h3 { font-size: clamp(15px,1.7vw,21px); font-weight: 730; line-height: 1.25; }
.example-caption p { color: var(--muted); font-size: clamp(12px,1.2vw,14px); margin-top: 4px; }
.section-action { display: flex; justify-content: center; margin-top: 25px; }
.share-section { padding-bottom: 0; }
.share-panel {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.76fr); align-items: center;
  gap: clamp(17px,4vw,50px); padding: clamp(23px,5.1vw,66px);
  background: linear-gradient(124deg,#eae0fb,#f5f1fd 61%,#e4edf3);
  border: 1px solid #e3d9f3; border-radius: 21px;
}
.share-copy p, .share-steps p { color: var(--muted); }
.share-copy p { margin: 10px 0 16px; }
.share-steps { display: grid; gap: 6px; margin: 0; padding-left: 28px; }
.share-steps li { padding: 9px 0 9px 8px; border-bottom: 1px solid #ccc2e4; }
.share-steps li:last-child { border-bottom: 0; }
.share-steps li::marker { color: var(--accent); font-weight: 700; }
.share-steps strong { font-weight: 730; }
.share-steps p { font-size: 13px; }
.route { background: white; border: 1px solid var(--line); border-radius: 21px; overflow: hidden; box-shadow: var(--shadow); }
.route-photo { position: relative; min-height: clamp(260px,39.5vw,520px); background: #777e69; cursor: grab; touch-action: pan-y; }
.route-photo:active { cursor: grabbing; }
.route-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#1e1b32cb); pointer-events: none; }
.route-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.route-caption { position: absolute; z-index: 1; bottom: clamp(13px,3.5vw,40px); left: clamp(13px,3.75vw,48px); color: white; text-shadow: 0 1px 14px #1c1b29; }
.route-caption span { font-size: 12px; }
.route-caption h3 { font-size: clamp(29px,4vw,54px); font-weight: 770; letter-spacing: -.04em; }
.route-arrows { position: absolute; z-index: 1; bottom: clamp(13px,3.5vw,40px); right: clamp(13px,3.75vw,48px); display: flex; gap: 6px; }
.route-arrows button { min-width: 42px; min-height: 42px; border: 1px solid #fff9; background: #25203ac9; border-radius: 10px; color: white; font-size: 19px; }
.route-arrows button:hover { background: #251e40; }
.route-arrows button:disabled { opacity: .5; cursor: default; }
.route-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(6px,1vw,12px); padding: clamp(9px,1.85vw,22px); }
.route-steps button { padding: 6px 6px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); color: var(--muted); font-size: 13px; }
.route-steps button img { width: 100%; height: clamp(36px,6.55vw,90px); margin-bottom: 5px; border-radius: 7px; object-fit: cover; }
.route-steps button:hover { border-color: var(--accent); }
.route-steps button[aria-pressed="true"] { background: #eee8fc; color: var(--accent-hover); border-color: var(--accent); font-weight: 700; }
.route-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 0 clamp(12px,1.85vw,22px) 17px; }
.route-foot p { color: var(--muted); font-size: 14px; }
.culture-section { background: #eeeaf5; }
.culture-intro { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); align-items: start; gap: clamp(18px,4.2vw,58px); }
.culture-copy { max-width: 38em; color: var(--muted); }
.culture-heading h2 { margin-bottom: 10px; }
.culture-copy p + p { margin-top: 11px; }
.culture-lead { color: var(--accent-hover); font-size: clamp(17px,2.1vw,23px); font-weight: 650; }
.culture-stones { margin-top: clamp(24px,4.1vw,48px); padding-top: 16px; border-top: 1px solid #d6cde5; }
.stone-gallery-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 13px; }
.stone-gallery-header h3 { font-size: clamp(20px,2.3vw,28px); font-weight: 740; }
.stone-gallery-header p { color: var(--muted); font-size: 13px; }
.stone-meanings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2.1vw,26px); }
.stone-profile { overflow: hidden; border: 1px solid #ddd6e8; border-radius: 12px; background: #fff; }
.stone-profile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f2eef5; }
.stone-profile figcaption { padding: 11px clamp(10px,1.45vw,17px) 14px; }
.stone-profile h4 { margin: 0; font-size: clamp(15px,1.75vw,20px); font-weight: 740; }
.stone-profile h4 span { display: inline-block; margin-left: 3px; color: var(--accent-hover); font-size: 13px; font-weight: 600; }
.stone-profile p { margin-top: 4px; color: var(--muted); font-size: clamp(12px,1.22vw,14px); line-height: 1.6; }
.culture-detail { margin-top: 16px; color: var(--muted); font-size: 14px; }
.visit-section { background: #f1f4f1; }
.visit-panel { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); align-items: center; overflow: hidden; border-radius: 18px; background: white; border: 1px solid #dce5df; }
.visit-panel > img { height: clamp(233px,33vw,395px); width: 100%; object-fit: cover; }
.visit-copy { padding: clamp(20px,4.65vw,61px); }
.visit-copy h2 { margin-block: 5px 12px; font-size: clamp(28px,4vw,47px); }
.visit-copy p:not(.place-label) { margin-bottom: 16px; color: var(--muted); }
.faq { margin: clamp(29px,4.6vw,57px) auto 0; max-width: 740px; }
.faq h2 { margin-bottom: 13px; font-size: clamp(23px,3vw,31px); }
.faq details { border-bottom: 1px solid #cfdad0; }
.faq details:first-of-type { border-top: 1px solid #cfdad0; }
.faq summary { padding: 13px 0; cursor: pointer; }
.faq p { color: var(--muted); font-size: 14px; padding-bottom: 12px; }
.finish { background: linear-gradient(120deg,#ebe1fa,#e4e7f8); text-align: center; }
.finish .button { margin-top: 19px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 11px 18px; border-top: 1px solid var(--line); padding: 23px 0 24px; font-size: 12px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer .wordmark { font-size: 18px; }
@media (max-width: 880px) {
  .masthead-nav { gap: 11px; font-size: 13px; }
  .opening-copy { padding-top: clamp(61px,9vw,80px); }
}
@media (max-width: 785px) {
  .example-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .container { width: 92vw; }
  .masthead { min-height: 60px; }
  .masthead-nav { display: none; }
  html:has(.home-page) { scroll-padding-top: 105px; }
  .mobile-site-nav { display: flex; align-items: center; gap: clamp(15px,6vw,29px); min-height: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
  .mobile-site-nav a { padding: 9px 0; }
  .account-links { gap: 7px; }
  .account-links .line-link { font-size: 12px; }
  .wordmark { font-size: 19px; gap: 7px; }
  .film-bar { padding-top: 8px; }
  .film-location { gap: 6px; padding: 6px 7px; font-size: 11px; }
  .film-actions button { width: 36px; height: 34px; }
  .opening-film::after { background: none; }
  .opening-copy { position: static; padding: 21px 0 26px; gap: 14px; color: var(--ink); pointer-events: auto; }
  .hero-type .place-label { color: var(--accent); font-size: clamp(17px,4.5vw,24px); text-shadow: none; }
  .opening-copy h1 { font-size: clamp(25px,7vw,45px); text-shadow: none; margin-block: 6px; }
  .hero-actions .button { min-height: 43px; font-size: 13px; }
  .hero-actions .button { background: #ffffff73; color: #402d80; border-color: #fff; box-shadow: inset 0 1px #fff8, 0 4px 13px #4b337413; }
  .hero-actions .hero-button-primary { background: #d2c3f08c; border-color: #b29adfe0; }
  .hero-actions .button:hover { background: #d7c7f5; }
  .section { padding-block: 38px; }
  .experience-section { grid-template-columns: minmax(0,1fr); }
  .culture-intro { grid-template-columns: minmax(0,1fr); }
  .stone-meanings { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .experience-photo img { aspect-ratio: 1.7; }
  .experience-links a { grid-template-columns: minmax(6.8em,auto) minmax(0,1fr) auto; }
  .example-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .route-photo { min-height: 250px; }
  .route-caption h3 { font-size: clamp(23px,7vw,34px); }
  .route-arrows button { min-width: 35px; min-height: 35px; }
  .route-steps button { font-size: 11px; }
  .visit-panel, .share-panel { grid-template-columns: minmax(0,1fr); }
  .share-section { padding-bottom: 0; }
  .visit-panel > img { height: min(61vw,270px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
