:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #150908;
  color: #f8eee5;
  --gold: #e8b66d;
  --muted: #bbaaa0;
  --line: #76513c;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button { font: inherit; }
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-shell { min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(circle at 45% -15%, #582319 0, #1b0b09 43%, #110807 100%); }
.topbar { min-height: 76px; padding: 15px clamp(18px, 3vw, 46px); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #ffffff1d; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand strong,.brand span { display: block; }
.brand strong { font-size: 19px; font-weight: 500; letter-spacing: .08em; }
.brand div>span { margin-top: 3px; color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.topbar-note { color: #d3bbab; font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
.note-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 2px; border-radius: 50%; background: #f2ad5b; box-shadow: 0 0 9px #f2ad5b; }
.note-separator { margin: 0 7px; opacity: .5; }
.main-content { width: 100%; max-width: 1800px; margin: 0 auto; padding: clamp(14px, 2vw, 28px) clamp(14px, 3vw, 46px) 16px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.scene-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, 330px); min-height: 0; flex: 1; border: 1px solid #9a624447; border-radius: 16px; overflow: hidden; background: #140908; box-shadow: 0 22px 80px #0007; }
.image-frame { position: relative; min-height: 440px; max-height: calc(100svh - 275px); overflow: clip; display: grid; place-items: center; background: #0d0706; touch-action: pan-y; }
.image-backdrop { position: absolute; inset: -30px; background-position: center; background-size: cover; filter: blur(30px) brightness(.3); opacity: .8; }
.scene-image { position: relative; width: 100%; height: 100%; max-height: calc(100svh - 275px); object-fit: contain; }
.hotspot-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hotspot-layer[hidden],.hotspot-card[hidden],.hotspot-toggle[hidden] { display: none; }
.hotspot { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; cursor: pointer; pointer-events: auto; }
.hotspot::before { content: ''; position: absolute; width: 25px; height: 25px; border: 0; background: radial-gradient(circle, #ffe7ac75 0, #efbd7750 31%, transparent 72%); animation: hotspot-breath 3.4s ease-in-out infinite; }
.hotspot::after { content: ''; position: absolute; width: 15px; height: 15px; border: 1px solid #fff0cf; border-radius: 50%; box-shadow: 0 0 5px #f6d69f, inset 0 0 4px #f6d69f80; animation: hotspot-breath 3.4s ease-in-out infinite; }
.hotspot-core { position: relative; z-index: 1; width: 6px; height: 6px; border-radius: 50%; background: #fff4d7; box-shadow: 0 0 5px 1px #ffedc2, 0 0 11px 3px #e9be7f9e; animation: hotspot-breath 3.4s ease-in-out infinite; }
.hotspot:hover::before,.hotspot.active::before { background: radial-gradient(circle, #fff2c5a8 0, #f1c6846b 34%, transparent 72%); }
.hotspot:hover .hotspot-core,.hotspot.active .hotspot-core { box-shadow: 0 0 6px 2px #fff4d7, 0 0 15px 5px #f1c684b5; }
@keyframes hotspot-breath { 0%,100% { opacity: .66; scale: .94; } 50% { opacity: .95; scale: 1.08; } }
.hotspot-toggle { align-self: flex-end; margin-top: 11px; padding: 7px 10px; border: 1px solid #f4c98a70; border-radius: 5px; background: #1a0c0a88; color: #ffe0ad; font-size: 12px; cursor: pointer; }
.hotspot-toggle:hover { background: #6d261acb; }
.hotspot-card { position: absolute; z-index: 5; bottom: 58px; width: min(300px, calc(100% - 32px)); max-height: calc(100% - 116px); overflow-x: hidden; overflow-y: auto; padding: 17px 18px 14px; border: 1px solid transparent; border-radius: 11px; background: linear-gradient(145deg, #421c17f2, #190b0cf5 75%) padding-box, linear-gradient(125deg, #9c603d, #ffe6ad, #7d3c2e) border-box; box-shadow: 0 15px 32px #000a, 0 0 25px #efac5d33, inset 0 1px 0 #ffe8ba26; backdrop-filter: blur(12px); }
.hotspot-card[data-side="left"] { left: 16px; transform-origin: bottom left; }
.hotspot-card[data-side="right"] { right: 16px; transform-origin: bottom right; }
.hotspot-card.reveal { animation: hotspot-card-in .38s cubic-bezier(.18,.8,.24,1) both; }
.hotspot-card::before { content: ''; position: absolute; right: -54px; top: -85px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, #ffdc9950 0, #efa45315 42%, transparent 70%); pointer-events: none; }
.hotspot-card::after { content: ''; position: absolute; left: -65%; top: 0; width: 45%; height: 1px; background: linear-gradient(90deg, transparent, #fff6dd, transparent); box-shadow: 0 0 9px #ffe5b3; animation: card-glint 5s ease-in-out infinite; pointer-events: none; }
@keyframes hotspot-card-in { from { opacity: 0; transform: translateY(12px) scale(.88); filter: blur(5px); } 70% { opacity: 1; filter: blur(0); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes card-glint { 0%,28% { left: -65%; opacity: 0; } 40% { opacity: .9; } 65%,100% { left: 120%; opacity: 0; } }
.hotspot-card-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #eebb78; font-size: 12px; letter-spacing: .08em; }
.hotspot-card-head::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #ffe1aa; box-shadow: 0 0 8px #ffc77a; }
.hotspot-card-head button { position: relative; width: 23px; height: 23px; flex: none; margin-left: auto; padding: 0; border: 1px solid #f6d7aa69; border-radius: 50%; background: #ffffff0d; cursor: pointer; }
.hotspot-card-head button::before,.hotspot-card-head button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 1px; border-radius: 1px; background: #ffebcf; transform-origin: center; }
.hotspot-card-head button::before { transform: translate(-50%, -50%) rotate(45deg); }
.hotspot-card-head button::after { transform: translate(-50%, -50%) rotate(-45deg); }
.hotspot-card-head button:hover { background: #b364424d; }
.hotspot-card h2 { position: relative; z-index: 1; margin: 15px 0 9px; color: #fff0d4; font-size: 21px; font-weight: 500; line-height: 1.35; letter-spacing: .03em; text-shadow: 0 0 14px #f8bb754d; }
.hotspot-summary { position: relative; z-index: 1; margin: 0; color: #ead9cb; font-size: 14px; line-height: 1.7; }
.image-type { position: absolute; top: 17px; left: 18px; padding: 7px 11px; border: 1px solid #f6cb8869; border-radius: 3px; background: #220d0bcf; color: #f6d8a6; font-size: 12px; letter-spacing: .08em; }
.image-expand { position: absolute; top: 15px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff65; border-radius: 6px; background: #1a0c0acc; color: white; font-size: 24px; cursor: pointer; }
.image-expand:hover,.image-controls button:hover:not(:disabled) { background: #6d261acb; }
.image-controls { position: absolute; right: 16px; bottom: 15px; display: flex; align-items: center; gap: 10px; padding: 4px; border: 1px solid #ffffff47; border-radius: 999px; background: #190907d9; box-shadow: 0 5px 25px #0008; }
.image-controls button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #ffffff12; color: white; cursor: pointer; }
.image-controls button:disabled { opacity: .34; cursor: default; }
.image-controls span { min-width: 102px; text-align: center; color: #f7e3c7; font-size: 12px; letter-spacing: .03em; }
.scene-info { padding: 22px 24px 24px; display: flex; flex-direction: column; overflow-y: auto; background: linear-gradient(165deg, #421912 0%, #220e0c 46%, #160a08 100%); border-left: 1px solid #a8734b42; }
.info-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #ead3b0; font-size: 12px; letter-spacing: .08em; }
.info-topline span:last-child { color: #c2a492; }
.info-main { margin: auto 0; padding: 40px 0 32px; }
.info-kicker { margin: 0 0 10px; color: var(--gold); font-size: 13px; letter-spacing: .16em; }
.info-main h1 { margin: 0 0 16px; color: #ffebce; font: 500 clamp(29px, 2.6vw, 40px)/1.3 "Microsoft YaHei", sans-serif; letter-spacing: .04em; }
.info-main>p:not(.info-kicker) { margin: 0; color: #e2d2c5; font-size: 15px; line-height: 1.8; }
.info-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.info-tags span { padding: 7px 11px; border: 1px solid #da9d615c; border-radius: 99px; color: #f5d4a6; background: #8f392024; font-size: 12px; }
.info-bottom { border-top: 1px solid #ffffff28; padding-top: 17px; }
.info-bottom p { margin: 0; color: #c0aaa0; font-size: 12px; line-height: 1.7; }
.primary-action { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 19px; padding: 12px 15px; border: 1px solid #ffca84; border-radius: 6px; background: #eebc7f; color: #2d130d; font-size: 15px; font-weight: 600; cursor: pointer; }
.primary-action:hover { background: #ffe0af; }
.primary-action[hidden] { display: none; }
.route { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.route-stop { position: relative; min-width: 0; height: 96px; padding: 0; display: flex; align-items: stretch; overflow: hidden; border: 1px solid #85583e8c; border-radius: 9px; background: #210e0c; color: #f5e7d8; text-align: left; cursor: pointer; }
.route-stop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #17090808 0%, #170908d0 45%, #170908f5 100%); pointer-events: none; }
.route-stop:hover { border-color: #d59e67; transform: translateY(-2px); }
.route-stop.active { border-color: #f2bc78; box-shadow: 0 0 0 1px #f2bc78, 0 0 22px #bb6d3642; }
.route-stop img { width: 62%; height: 100%; object-fit: cover; object-position: center; }
.route-number { position: absolute; z-index: 1; top: 7px; left: 8px; padding: 4px 6px; background: #1c0909be; color: #ffdda9; font: 700 12px/1.2 Consolas, monospace; }
.route-copy { position: absolute; z-index: 1; left: 43%; right: 6px; bottom: 11px; min-width: 0; }
.route-copy b,.route-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-copy b { color: #ffdfb3; font-size: 13px; font-weight: 500; }
.route-copy small { margin-top: 4px; color: #baa99b; font-size: 12px; }
.site-footer { width: 100%; max-width: 1800px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 46px) 15px; display: flex; justify-content: space-between; gap: 20px; color: #ae9890; font-size: 12px; line-height: 1.5; }
.lightbox { width: 100vw; max-width: none; height: 100svh; max-height: none; padding: 25px; border: 0; background: #0a0505f2; color: #f3d8b4; }
.lightbox::backdrop { background: #080303e8; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100svh - 83px); width: auto; height: auto; margin: auto; object-fit: contain; }
.lightbox p { margin: 10px 0 0; text-align: center; font-size: 14px; }
.lightbox button { position: fixed; z-index: 2; right: 20px; top: 16px; width: 39px; height: 39px; border: 1px solid #ffffff68; border-radius: 50%; background: #1b0b0a; color: white; font-size: 25px; cursor: pointer; }
@media (max-width: 1000px) {
  .scene-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  .scene-info { padding: 17px; }
  .route { overflow-x: auto; display: flex; padding-bottom: 4px; scrollbar-color: #a66a41 #210e0c; }
  .route-stop { flex: 0 0 180px; }
  .site-footer span:last-child { display: none; }
}
@media (max-width: 700px) {
  .topbar { min-height: 64px; padding: 10px 14px; }
  .brand strong { font-size: 17px; }
  .brand div>span { font-size: 12px; }
  .topbar-note { display: none; }
  .main-content { padding: 10px 10px 12px; gap: 10px; }
  .scene-layout { display: flex; flex-direction: column; }
  .image-frame { min-height: 0; height: min(54svh, 470px); flex: none; }
  .scene-image { max-height: none; }
  .hotspot-card { bottom: 51px; width: min(290px, calc(100% - 26px)); max-height: calc(100% - 102px); padding: 15px 16px; }
  .hotspot::before { width: 22px; height: 22px; }
  .hotspot::after { width: 14px; height: 14px; }
  .hotspot-card[data-side="left"] { left: 13px; }
  .hotspot-card[data-side="right"] { right: 13px; }
  .hotspot-card h2 { font-size: 20px; }
  .hotspot-summary { font-size: 14px; }
  .scene-info { min-height: 230px; flex: 1; border-left: 0; border-top: 1px solid #a8734b42; }
  .info-main { margin: 0; padding: 16px 0 15px; }
  .info-main h1 { margin-bottom: 10px; font-size: 27px; }
  .info-main>p:not(.info-kicker) { font-size: 15px; line-height: 1.75; }
  .info-tags { margin-top: 11px; }
  .info-bottom { padding-top: 9px; }
  .primary-action { margin-top: 10px; }
  .route-stop { height: 86px; flex-basis: 190px; }
  .site-footer { padding: 0 10px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hotspot::before,.hotspot::after,.hotspot-core,.hotspot-card,.hotspot-card::after { animation: none; }
  .route-stop { transition: none; }
}
