/* 共享布局：两个主题都用。颜色、字体、质感在各自主题文件里。 */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--focus, #2d5b8a); outline-offset: 3px; }

.topbar { display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 36px); }
.brand { background: none; border: 0; padding: 0; text-align: left; display: flex; flex-direction: column; }
.brand-title { font-size: 20px; line-height: 1.1; }
.brand-sub { font-size: 11px; letter-spacing: .14em; opacity: .7; }
.passport { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 14px; cursor: default; user-select: none; }
.passport-label { font-size: 12px; white-space: nowrap; }
.p-stamp { width: 34px; height: 34px; display: grid; place-items: center; font-size: 11px; }
.theme-switch { font-size: 12px; white-space: nowrap; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(16px, 2.5vw, 32px);
  padding: 0 clamp(16px, 3vw, 36px) 84px; max-width: 1440px; margin: 0 auto; align-items: start; }
.layout.screen-home, .layout.screen-menu { grid-template-columns: minmax(0, 1fr) 440px; }
.stage { min-height: 520px; position: relative; }
.guide { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.ai-status { font-size: 12px; line-height: 1.5; padding: 6px 12px; border-radius: 12px; }
.ai-status[hidden] { display: none; }

.concierge-card { display: flex; flex-direction: column; gap: 10px; }
.guide-top { display: flex; align-items: center; gap: 12px; }
.mascot { width: 108px; height: 112px; position: relative; flex: none; }
.mascot img { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 100%; }
.mascot-meta { display: flex; flex-direction: column; gap: 2px; }
.mascot-name { font-size: 16px; line-height: 1.2; }
.mascot-role { font-size: 12px; opacity: .72; }
.m-dots { position: absolute; top: -6px; right: -16px; display: none; gap: 4px; padding: 6px 8px; border-radius: 14px; }
.m-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dot 1s infinite; }
.m-dots i:nth-child(2) { animation-delay: .15s; } .m-dots i:nth-child(3) { animation-delay: .3s; }
.mascot[data-state="idle"] img { animation: bob 3.2s ease-in-out infinite; }
.mascot[data-state="talk"] img { animation: talk .36s ease-in-out infinite alternate; }
.mascot[data-state="think"] img { animation: bob 1.2s ease-in-out infinite; filter: saturate(.85); }
.mascot[data-state="think"] .m-dots { display: flex; }
.mascot[data-state="cheer"] img { animation: cheer .7s cubic-bezier(.3,1.6,.5,1) 2; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes talk { from { transform: rotate(-3deg) scale(1, .98); } to { transform: rotate(3deg) scale(1, 1.02); } }
@keyframes cheer { 40% { transform: translateY(-34px) rotate(-8deg) scale(1.05); } 70% { transform: translateY(0) scale(1.08, .92); } }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .4; } }

.bubble { position: relative; display: grid; align-items: start; padding: 16px 18px; min-height: 84px; cursor: pointer; }
.bubble p { grid-area: 1 / 1; margin: 0; line-height: 1.75; font-size: 15.5px; white-space: pre-wrap; }
.bubble-ghost { visibility: hidden; pointer-events: none; user-select: none; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; }
.source-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; padding: 4px 10px; }
.actions { display: flex; flex-direction: column; gap: 8px; }
.action { text-align: left; padding: 12px 16px; font-size: 15px; line-height: 1.4; transition: transform .15s, box-shadow .15s; }
.action:active { transform: scale(.97); }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 4px; }
.nav-link { background: none; border: 0; padding: 4px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.is-busy .action, .is-busy .chip, .is-busy .stamp, .is-busy .chapter { pointer-events: none; opacity: .7; }

/* 地图 */
.stage-map { display: flex; flex-direction: column; gap: 12px; }
.map-wrap { position: relative; }
.map-canvas { position: relative; border-radius: 18px; overflow: hidden; }
.map { width: 100%; height: auto; display: block; }
.map-fold-fx { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; pointer-events: none; opacity: 0; }
.map-fold-fx span { height: 100%; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 10px 2px; font-size: 12px; line-height: 1.5; }
.ml-item { display: inline-flex; align-items: center; gap: 6px; }
.ml-item i { width: 9px; height: 9px; flex: none; display: inline-block; }
.ml-item.is-pin i { border-radius: 50%; }
.ml-item.is-city i, .ml-item.is-ref i { transform: rotate(45deg); border-radius: 2px; }
.pin.is-clickable, .city-landmark.is-clickable { cursor: pointer; }
.city-hit { fill: transparent; }
.pin-label { font-size: 20px; }
.map-hint { text-align: center; font-size: 14px; margin: 8px 0 0; }
.map-hint.is-swap { animation: softSwap .26s cubic-bezier(.22,1,.36,1) both; }

/* 首页 */
.stage-home { position: relative; }
.home-title { margin-bottom: 10px; }
.home-title p { margin: 0; font-size: 15px; line-height: 1.5; }
.stamp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.home-stamps { margin-top: 0; }
.stamp { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px 14px; text-align: left; }
.stamp .icon { width: 38px; height: 38px; display: block; }
.stamp-no { position: absolute; top: 10px; right: 12px; font-size: 12px; }
.stamp-title { font-size: 17px; line-height: 1.25; }
.stamp-sub { font-size: 12px; opacity: .75; }

/* 卡片类 */
.stage-cards { display: flex; flex-direction: column; gap: 16px; }
.stage-text { display: grid; place-items: center; min-height: 460px; }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: min(760px, 100%); margin-top: 4px; }
.choice-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; text-align: left; }
.choice-big { font-size: 52px; line-height: 1; }
.choice-label { font-size: 20px; }
.choice-sub { font-size: 13px; opacity: .75; }
.stage-kicker { margin: 0 0 4px; font-size: 13.5px; letter-spacing: .04em; }

.text-card { width: min(760px, 100%); aspect-ratio: 3 / 2; display: grid; grid-template-columns: 1.3fr 1fr; }
.tc-left { padding: 7% 6%; display: flex; flex-direction: column; justify-content: center; }
.tc-title { font-size: clamp(44px, 7vw, 92px); line-height: 1; }
.tc-sub { font-size: 13px; letter-spacing: .12em; margin-top: 10px; }
.tc-tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tc-tags li { padding: 4px 12px; font-size: 14px; }
.tc-right { padding: 7% 6%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.tc-stamp { width: 92px; height: 108px; padding: 8px; }
.tc-stamp img { width: 100%; height: 100%; object-fit: contain; }
.tc-lines { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.tc-lines span { padding-bottom: 4px; font-size: 15px; min-height: 26px; }

/* 景点 */
.stage-scene { display: flex; flex-direction: column; gap: 14px; }
.tour-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.tour-dots { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; flex: 1; }
.tour-dots li { flex: 1; position: relative; padding-top: 16px; font-size: 12px; text-align: center; white-space: nowrap; }
.tour-dots li::before { content: ''; position: absolute; top: 3px; left: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translateX(-50%); }
.tour-dots li::after { content: ''; position: absolute; top: 7px; left: calc(50% + 8px); right: calc(-50% + 8px); height: 2px; }
.tour-dots li:last-child::after { display: none; }
.scene-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.scene-name { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.scene-vp { font-size: 14px; margin-top: 4px; }
.era-toggle { display: inline-flex; padding: 3px; flex: none; }
.era-toggle button { border: 0; background: none; padding: 8px 18px; font-size: 14px; }
.photo-single, .photo-pair { position: relative; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.photo { margin: 0; }
.photo-frame { position: relative; overflow: hidden; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-single .photo-frame img { aspect-ratio: 16 / 10; }
.photo-tag { position: absolute; left: 12px; top: 12px; font-size: 12px; padding: 4px 10px; }
.postmark-date { position: absolute; right: 14px; top: 12px; width: 74px; height: 74px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 11px; transform: rotate(-13deg); pointer-events: none; }
.postmark-date b { font-size: 14px; line-height: 1.1; }
.postmark-date i { font-style: normal; letter-spacing: .16em; font-size: 9px; line-height: 1.1; }
.photo-more { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; font-size: 13px; }
.photo figcaption { display: flex; flex-direction: column; gap: 4px; padding: 10px 4px 2px; }
.cap-title { font-size: 15px; }
.cap-text { font-size: 13px; line-height: 1.6; }
.cap-credit { font-size: 11px; opacity: .7; }
.archive-note { position: absolute; left: 6%; bottom: 22%; max-width: 60%; padding: 14px 18px; font-size: 15px; line-height: 1.6; transform: rotate(-1.5deg); }
.archive-card { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ac-badge { align-self: flex-start; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.ac-title { margin: 0; font-size: 22px; line-height: 1.3; }
.ac-body { margin: 0; font-size: 15px; line-height: 1.85; }
.ac-note { font-size: 12px; opacity: .72; padding-top: 8px; border-top: 1px dashed rgba(122,88,50,.28); }
.arrival-hint, .hotspot-tag { font-size: 15px; }

/* 左侧：本站建筑与历史探索区 */
.explore-box { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.explore-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.explore-head h3 { margin: 0; font-size: 19px; }
.explore-head span { font-size: 13px; opacity: .7; }
.explore-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-pill { padding: 6px 14px; font-size: 13px; border-radius: 999px; transition: .15s; }
.hotspot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hotspot-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; text-align: left; transition: transform .15s, box-shadow .15s; }
.hotspot-card:hover { transform: translateY(-2px); }
.hc-thumb { width: 92px; height: 74px; object-fit: cover; border-radius: 10px; }
.hc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hc-title { font-size: 15px; line-height: 1.3; }
.hc-sub { font-size: 12px; line-height: 1.45; opacity: .78; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-go { font-size: 12px; margin-top: 2px; }

/* 左侧：点击热点后的图文详解页 */
.stage-detail { display: flex; flex-direction: column; gap: 12px; }
.detail-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.detail-back { border: 0; padding: 7px 14px; font-size: 14px; border-radius: 999px; }
.detail-crumb { font-size: 13px; opacity: .72; }
.detail-card { overflow: hidden; display: grid; grid-template-columns: minmax(260px, 44%) minmax(0, 1fr); }
.detail-hero { position: relative; min-height: 300px; background: #f3ece0; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-badge { position: absolute; left: 12px; top: 12px; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.detail-year { position: absolute; left: 12px; bottom: 12px; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.detail-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.detail-title { margin: 0; font-size: 26px; line-height: 1.2; }
.detail-cap { font-size: 13px; opacity: .72; }
.detail-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.detail-pills li { font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.detail-text { display: flex; flex-direction: column; gap: 10px; }
.detail-text p { margin: 0; font-size: 15px; line-height: 1.85; }

/* 右侧：路线行动分组 */
.action-group { display: flex; flex-direction: column; gap: 8px; }
.action-group-title { font-size: 12px; letter-spacing: .08em; opacity: .72; padding-left: 4px; }
.fact-spotlight { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; animation: spotIn .28s cubic-bezier(.22,1,.36,1) both; }
.fs-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fs-tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.fs-title { margin: 0; font-size: 20px; }
.fs-text { margin: 0; font-size: 16px; line-height: 1.85; }
@keyframes spotIn { from { opacity: 0; transform: translateY(-6px); } }
.bubble.is-fresh { animation: bubbleGlow .55s ease; }
@keyframes bubbleGlow { 0% { opacity: .92; } 100% { opacity: 1; } }

/* 规划 */
.ticket { position: relative; padding: 28px 30px 26px; overflow: hidden; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1.5px dashed rgba(45,91,138,.2); }
.ticket-kicker { display: block; font-size: 13px; opacity: .75; margin-bottom: 2px; }
.ticket-title { font-size: 24px; line-height: 1.2; }
.ticket-no { font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.scope-note { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.65; }
.conflict-scope { margin: 0; font-size: 13px; line-height: 1.65; opacity: .82; }
.ticket-group { border: 0; padding: 12px 0; margin: 0; }
.ticket-group legend { font-size: 14px; padding: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; font-size: 14px; }
.stage-routes { display: grid; gap: 16px; }
.route-card { text-align: left; padding: 20px 22px; }
.route-body { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 18px; align-items: center; }
.route-main { display: flex; flex-direction: column; gap: 10px; }
.mini-map { width: 170px; aspect-ratio: 44 / 36; border-radius: 12px; overflow: hidden; border: 1px solid rgba(45,91,138,.15); }
.mini-map svg { width: 100%; height: 100%; display: block; }
.route-title { font-size: 20px; }
.route-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; }
.route-stops li + li::before { content: '→'; margin: 0 8px; opacity: .5; }
.route-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.route-reason { font-size: 13px; line-height: 1.55; padding: 6px 12px; border-radius: 10px; }
.route-desc, .route-note { margin: 0; font-size: 14px; line-height: 1.7; }
.route-diff { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.diff-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.diff-tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.conflict { padding: 18px; }

/* 第三章 & 第四章：社区、SPU 核对小互动、SAIG 赛程与公告 */
.stage-chapter { display: flex; flex-direction: column; gap: 16px; }
.ch4-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ch4-head .stage-kicker { margin: 0; width: auto; }
.ch4-switch { border: 0; padding: 6px 14px; font-size: 13px; border-radius: 999px; white-space: nowrap; }
.game-win-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hub-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.hub-card h3 { margin: 0; font-size: 21px; }
.hub-card p { margin: 0; font-size: 14px; line-height: 1.7; }
.hub-tag { align-self: flex-start; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hub-link { font-size: 13px; margin-top: 4px; }

.timeline-card { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.tl-head { display: flex; justify-content: space-between; align-items: baseline; }
.tl-head h3 { margin: 0; font-size: 20px; }
.tl-hint { font-size: 13px; opacity: .7; }
.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tl-btn { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; text-align: left; transition: transform .15s; }
.tl-no { font-size: 12px; }
.tl-name { font-size: 14px; line-height: 1.3; }
.tl-detail { padding: 14px 16px; border-radius: 14px; }
.tl-detail strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tl-detail p { margin: 0; font-size: 14px; line-height: 1.7; }

.cap-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-pill { padding: 6px 14px; font-size: 14px; }
.spu-game { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.game-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.game-head h3 { margin: 0 0 4px; font-size: 21px; }
.game-head p { margin: 0; font-size: 14px; line-height: 1.6; }
.game-badge { flex: none; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.game-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.game-line { width: 100%; display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.gl-mark { flex: none; width: 22px; text-align: center; font-weight: 700; }
.gl-fix { margin: 6px 0 0 32px; font-size: 13px; line-height: 1.6; padding: 8px 12px; border-radius: 10px; }
.game-win { padding: 14px 16px; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-win p { margin: 0; font-size: 14px; line-height: 1.6; }

.saig-flow { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.saig-flow h3 { margin: 0; font-size: 20px; }
.saig-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.saig-steps li { padding: 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 6px; }
.saig-steps b { font-size: 16px; }
.saig-steps span { font-size: 13px; line-height: 1.6; }
.saig-pillars { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pillar-k { font-size: 13px; margin-right: 4px; }
.pillar { font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.notice-card { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.notice-top { display: flex; justify-content: space-between; align-items: center; }
.notice-badge { font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.notice-date { font-size: 12px; opacity: .75; }
.notice-card p { margin: 0; font-size: 14px; line-height: 1.7; }
.notice-link { align-self: flex-start; font-size: 14px; padding: 8px 16px; border-radius: 999px; text-decoration: none; }

/* 行程明信片弹窗与醒目横幅 */
.postcard-btn, .finish-pill { border: 0; padding: 6px 14px; font-size: 13px; border-radius: 999px; white-space: nowrap; }
.postcard-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 20px; margin-bottom: 6px; }
.pb-text { display: flex; flex-direction: column; gap: 4px; }
.pb-text strong { font-size: 18px; }
.pb-text span { font-size: 13px; opacity: .85; }
.ferry-opt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.ferry-note { font-size: 12px; opacity: .7; }
.ticket-footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 2px dashed rgba(45,91,138,.18); }
.ticket-footer .action { flex: 1 1 200px; text-align: center; }
.conflict { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.conflict-msg { margin: 0; font-size: 15px; line-height: 1.7; }
.conflict-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.case-brief { padding: 12px 16px; border-radius: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.6; }
.case-tag { align-self: flex-start; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.case-rows { display: flex; flex-direction: column; gap: 2px; }
.tl-out { margin-top: 8px; font-size: 13px; font-weight: 700; }
.modal-card.is-wide { width: min(760px, 100%); }
.postcard-canvas { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: 0 10px 28px rgba(45,91,138,.16); }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 开场封面 · 潇潇的自我介绍 + 航空信封拆开折纸展图 */
.intro-cover { min-height: 100vh; display: grid; place-items: center; padding: clamp(20px, 4vw, 48px); position: relative; overflow: hidden; }
.intro-card { position: relative; z-index: 2; width: min(920px, 100%); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; animation: fadeIn .65s cubic-bezier(.22,1,.36,1) both; transition: transform .42s cubic-bezier(.4,0,.2,1), opacity .36s ease; }
.intro-card.is-folding-out { opacity: 0; transform: scale(.9) translateY(14px); pointer-events: none; }

.env-stage {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 24px;
  opacity: 0; transition: opacity .42s ease;
  cursor: pointer;
}
.env-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  opacity: 1; transition: opacity .38s ease;
  pointer-events: none;
}
.env-stage.is-ready { opacity: 1; }
.env-stage.is-morphing { pointer-events: none; }
.env-stage.is-morphing::before { opacity: 0; }
.env-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; transform: translateY(22px) scale(.9); transition: transform .56s cubic-bezier(.22,1.08,.36,1), opacity .52s ease; }
.env-stage.is-ready .env-wrap { transform: translateY(0) scale(1); }
.env-stage.is-morphing .env-wrap { transform: translateY(76px) scale(.9); opacity: 0; }

/* 融合放大期间：首页周围元素先轻隐，随大地图放大到位柔和浮现 */
#app.is-morph-prep .topbar,
#app.is-morph-prep .concierge-card,
#app.is-morph-prep .home-stamps,
#app.is-morph-prep .home-title,
#app.is-morph-prep .stage-home .map-hint,
#app.is-morph-prep .stage-home .postcard-banner,
#app.is-morph-prep .stage-home .map-legend {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .56s cubic-bezier(.22,1,.36,1), transform .62s cubic-bezier(.22,1,.36,1);
}
#app.is-morph-prep.is-morph-reveal .topbar,
#app.is-morph-prep.is-morph-reveal .concierge-card,
#app.is-morph-prep.is-morph-reveal .home-stamps,
#app.is-morph-prep.is-morph-reveal .home-title,
#app.is-morph-prep.is-morph-reveal .stage-home .map-hint,
#app.is-morph-prep.is-morph-reveal .stage-home .postcard-banner,
#app.is-morph-prep.is-morph-reveal .stage-home .map-legend {
  opacity: 1;
  transform: none;
}
#app.is-morph-prep .stage-home .map-wrap.is-morphing {
  position: relative;
  z-index: 40;
  will-change: transform, opacity;
  box-shadow: 0 24px 60px rgba(45,91,138,.18);
}
.map-wrap.is-morphing .map-fold-fx { animation: foldCreaseFade 1.12s cubic-bezier(.22,1,.36,1) both; }
.map-wrap.is-settled .pin .pin-inner { animation: pinPop .48s cubic-bezier(.22,1.28,.36,1) both; transform-box: fill-box; transform-origin: center; }
.env-box { position: relative; width: min(370px, 86vw); height: 238px; perspective: 1100px; }
.env-back { position: absolute; inset: 0; border-radius: 16px; }
.env-sheet {
  position: absolute; left: 10px; right: 10px; top: 14px; height: 196px;
  display: grid; grid-template-columns: .7fr 2.8fr .7fr; gap: 3px;
  border-radius: 14px; padding: 10px 8px;
  transform: translateY(16px) scale(.86); opacity: 0;
  transition: transform .96s cubic-bezier(.18,1.08,.32,1), opacity .42s ease;
  z-index: 2; perspective: 900px;
}
.env-stage.is-pull .env-sheet { transform: translateY(-136px) scale(1.16); opacity: 1; z-index: 5; }
.env-sheet-fold { border-radius: 8px; transition: transform .88s .22s cubic-bezier(.22,1,.36,1); }
.env-sheet-fold.is-left { transform-origin: right center; transform: rotateY(64deg); }
.env-sheet-fold.is-right { transform-origin: left center; transform: rotateY(-64deg); }
.env-stage.is-pull .env-sheet-fold.is-left,
.env-stage.is-pull .env-sheet-fold.is-right { transform: rotateY(0deg); }
.env-sheet-fold.is-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px 6px; text-align: center; }
.env-sheet-k { font-size: 9px; letter-spacing: .16em; opacity: .72; }
.env-sheet-fold.is-mid strong { font-size: 14px; line-height: 1.2; }
.env-map-box { width: 100%; margin-top: 4px; }
.env-mini-map { width: 100%; height: auto; display: block; border-radius: 7px; border: 1px solid rgba(45,91,138,.14); }
.env-front {
  position: absolute; inset: 0; border-radius: 16px; z-index: 3; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 18px 20px 22px;
}
.env-airmail { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; }
.env-to { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.env-to span { font-size: 16px; }
.env-to small { font-size: 11.5px; opacity: .72; }
.env-flap {
  position: absolute; left: 0; right: 0; top: 0; height: 142px; z-index: 4;
  transform-origin: top center; transform: rotateX(0deg);
  transition: transform .72s cubic-bezier(.22,.88,.3,1);
}
.env-stage.is-open .env-flap { transform: rotateX(-168deg); z-index: 1; }
.env-seal {
  position: absolute; left: 50%; bottom: 6px; width: 46px; height: 46px; margin-left: -23px;
  border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  transition: transform .42s cubic-bezier(.3,1.3,.4,1), opacity .36s ease;
}
.env-stage.is-open .env-seal { transform: scale(1.26) translateY(-6px); opacity: 0; }
.env-caption { font-size: 13.5px; letter-spacing: .04em; opacity: .82; }

/* 实用出行信息牌（站点 + 全城五大名胜弹窗） */
.practical-strip { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ps-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ps-badge { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.ps-level { font-size: 12px; opacity: .74; }
.practical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.practical-grid.is-compact { gap: 8px; }
.pg-item { padding: 10px 12px; border-radius: 12px; display: flex; flex-direction: column; gap: 3px; }
.pg-k { font-size: 11.5px; opacity: .76; }
.pg-item strong { font-size: 13.2px; line-height: 1.5; font-weight: 600; }

.landmark-modal { display: flex; flex-direction: column; gap: 14px; animation: cardPop .32s cubic-bezier(.22,1.12,.36,1) both; }
.lm-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lm-top .qa-close { margin-left: auto; }
.lm-level { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.lm-town { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.lm-title { margin: 0; font-size: 26px; line-height: 1.2; }
.lm-summary { margin: 0; font-size: 14.5px; line-height: 1.78; }

/* 第二章：双模式行程切换与大武汉经典全城线 */
.planner-tabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border-radius: 14px; margin-bottom: 14px;
}
.pt-slider {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 10px; transition: transform .28s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.pt-slider.is-right { transform: translateX(100%); }
.pt-btn {
  position: relative; z-index: 1; border: 0; background: none;
  padding: 9px 12px; font-size: 13.5px; border-radius: 10px; line-height: 1.3;
  transition: color .2s ease;
}
.planner-pane.is-swap, .city-route-detail.is-swap { animation: softSwap .26s cubic-bezier(.22,1,.36,1) both; }
.city-route-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.city-route-pill {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 11px 13px; border-radius: 14px; text-align: left;
  transition: transform .18s cubic-bezier(.22,1,.36,1), border-color .18s, background-color .18s, box-shadow .18s;
}
.city-route-pill:hover { transform: translateY(-2px); }
.crp-tag { font-size: 11px; opacity: .78; }
.city-route-pill strong { font-size: 14px; line-height: 1.3; }
.city-route-detail { padding: 18px 20px; border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.crd-head { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 16px; align-items: center; }
.crd-copy { display: flex; flex-direction: column; gap: 7px; }
.crd-badge { align-self: flex-start; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.crd-copy h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.crd-summary { margin: 0; font-size: 13.8px; line-height: 1.7; }
.crd-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.crd-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.crd-stop { display: flex; align-items: flex-start; gap: 12px; position: relative; }
.crd-stop + .crd-stop::before { content: ''; position: absolute; left: 13px; top: -11px; height: 13px; width: 2px; border-left: 2px dashed rgba(45,91,138,.26); }
.crd-no { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.crd-stop-body { flex: 1; min-width: 0; padding: 9px 13px; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.crd-stop-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.crd-stop-link { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-align: left; }
.crd-stop-link i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; }
.crd-stay { font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.crd-stop-body p { margin: 0; font-size: 13px; line-height: 1.6; opacity: .88; }
.intro-badge { font-size: 12px; letter-spacing: .16em; opacity: .7; }
.intro-hero { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.intro-mascot { position: relative; display: grid; place-items: center; padding: 14px 0 22px; }
.intro-mascot img { width: 205px; height: 214px; object-fit: contain; position: relative; z-index: 2; animation: bob 3s ease-in-out infinite; }
.intro-ripple { position: absolute; bottom: 10px; width: 148px; height: 32px; border-radius: 50%; z-index: 1; }
.intro-copy { display: flex; flex-direction: column; gap: 12px; }
.intro-copy h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; }
.intro-sub { margin: 0; font-size: 16px; }
.intro-speech { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-radius: 18px; }
.intro-speech p { margin: 0; font-size: 15px; line-height: 1.85; }
.intro-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.intro-tags span { font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.intro-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.intro-go { padding: 13px 28px; font-size: 17px; }
.intro-tip { font-size: 13px; opacity: .72; }
.intro-waves { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; pointer-events: none; z-index: 1; }
.intro-replay { background: none; border: 1px dashed rgba(45,91,138,.3); border-radius: 999px; padding: 4px 12px; font-size: 12px; white-space: nowrap; }

/* 站点彩蛋 & 收尾寄语 & 轻柔彩带 */
.egg-wrap { display: flex; flex-direction: column; gap: 0; }
.egg-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; font-size: 14px; transition: background-color .16s ease, border-color .16s ease, transform .14s ease; }
.egg-btn:active { transform: scale(.97); }
.egg-arrow { font-size: 12px; opacity: .75; }
.egg-collapse { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .24s cubic-bezier(.22,1,.36,1), opacity .2s ease, margin-top .24s ease; margin-top: 0; }
.egg-collapse.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.egg-collapse-inner { overflow: hidden; }
.egg-note { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; }
.egg-note img { width: 64px; height: 66px; object-fit: contain; flex: none; }
.egg-note p { margin: 0; font-size: 15px; line-height: 1.8; }

.closing-note { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; }
.closing-note img { width: 68px; height: 70px; object-fit: contain; flex: none; }
.closing-note p { margin: 0 0 8px; font-size: 14px; line-height: 1.85; }
.closing-note p:last-child { margin-bottom: 0; }

.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.confetti-piece { position: absolute; top: -18px; width: 10px; height: 14px; border-radius: 3px; opacity: .9; animation: confettiFall 2.6s ease-out forwards; }
@keyframes confettiFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: .95; }
  80% { opacity: .9; }
  100% { transform: translate3d(var(--dx, 40px), 102vh, 0) rotate(var(--rot, 360deg)); opacity: 0; }
}

/* 全站统一丝滑创意转场（纯 GPU transform / opacity，60fps 无卡顿） */
.tr-fade { animation: fadeIn .3s cubic-bezier(.22,1,.36,1) both; }
.tr-home-return { animation: homeReturn .34s cubic-bezier(.22,1,.36,1) both; }
.tr-swim { animation: slideIn .5s .12s cubic-bezier(.22,1,.36,1) both; }
.tr-flip .photo-frame { animation: flipIn .46s ease both; }
.tr-photo-fan .photo-pair > *:first-child { animation: fanLeft .42s cubic-bezier(.22,1,.36,1) both; }
.tr-photo-fan .photo-pair > *:last-child { animation: fanRight .42s .05s cubic-bezier(.22,1,.36,1) both; }
.tr-photo-fan .photo-single { animation: cardPop .36s cubic-bezier(.22,1,.36,1) both; }

/* 开场拆信封 → 三折纸水彩地图缓缓展开 + 地标与邮票错峰落纸 */
.map-wrap.is-unfolding .map-canvas { animation: origamiUnfold 1.25s cubic-bezier(.22,1,.36,1) both; }
.map-wrap.is-unfolding .map-fold-fx { animation: foldCreaseFade 1.35s cubic-bezier(.22,1,.36,1) both; }
.pin.is-pop .pin-inner { animation: pinPop .58s calc(.45s + var(--pi, 0) * 75ms) cubic-bezier(.22,1.32,.36,1) both; transform-box: fill-box; transform-origin: center; }
.map-wrap.is-unfolding .city-landmark { animation: cityPop .68s calc(.68s + var(--ci, 0) * 90ms) cubic-bezier(.22,1.2,.36,1) both; }
.home-stamps.is-unfolding .stamp { animation: stampLand .68s calc(.36s + var(--si, 0) * 110ms) cubic-bezier(.22,1.08,.36,1) both; }
.home-stamps.is-unfolding .stamp:nth-child(1) { --si: 0; }
.home-stamps.is-unfolding .stamp:nth-child(2) { --si: 1; }
.home-stamps.is-unfolding .stamp:nth-child(3) { --si: 2; }
.home-stamps.is-unfolding .stamp:nth-child(4) { --si: 3; }

/* 第一章 · 地图轻展与城市名片柔缓上浮 */
.tr-map-reveal .map-wrap .map-canvas { animation: mapReveal .48s cubic-bezier(.22,1,.36,1) both; }
.tr-map-reveal .map-wrap .map-fold-fx { animation: foldCreaseFade .58s cubic-bezier(.22,1,.36,1) both; }
.tr-map-reveal .city-profile { animation: glideUp .42s .1s cubic-bezier(.22,1,.36,1) both; }

/* 第二章 · 航空行程票券滑落出票 + 选项错峰浮现 */
.tr-ticket-drop .stage-planner.ticket { animation: ticketDrop .48s cubic-bezier(.22,1.08,.36,1) both; }
.tr-ticket-drop .ticket-group { animation: glideUp .36s calc(.08s + var(--gi, 0) * 38ms) cubic-bezier(.22,1,.36,1) both; }

/* 第二章候选路线 · 卡片错峰 + 迷你路线一笔画出 */
.tr-route-draw .route-card { animation: glideUp .42s cubic-bezier(.22,1,.36,1) both; }
.tr-route-draw .route-card:nth-of-type(2) { animation-delay: .07s; }
.tr-route-draw .route-card:nth-of-type(3) { animation-delay: .14s; }
.mini-route-path { stroke-dasharray: 100; stroke-dashoffset: 0; }
.tr-route-draw .mini-route-path, .city-route-detail .mini-route-path { animation: routeDraw .78s .14s cubic-bezier(.22,1,.36,1) both; }

/* 第三章 & 第四章 · 画册展板错峰铺陈 */
.tr-album-spread .stage-chapter > *,
.tr-album-spread .choice-cards > * { animation: glideUp .4s cubic-bezier(.22,1,.36,1) both; }
.tr-album-spread .stage-chapter > *:nth-child(2),
.tr-album-spread .choice-cards > *:nth-child(2) { animation-delay: .05s; }
.tr-album-spread .stage-chapter > *:nth-child(3) { animation-delay: .1s; }
.tr-album-spread .stage-chapter > *:nth-child(4) { animation-delay: .15s; }
.tr-album-spread .stage-chapter > *:nth-child(5) { animation-delay: .2s; }

/* 顶栏护照 · 真实朱砂火漆印章敲落 */
.p-stamp.is-just-stamped { animation: waxStampDrop .52s cubic-bezier(.22,1.28,.36,1) both; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(7px); } }
@keyframes homeReturn { from { opacity: 0; transform: scale(.985) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(48px) rotate(1deg); } }
@keyframes flipIn { from { transform: perspective(900px) rotateY(-70deg); opacity: .2; } }
@keyframes cardPop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes glideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes origamiUnfold {
  0% { opacity: .25; transform: perspective(1200px) scaleX(.76) scaleY(.92) rotateX(8deg); }
  58% { opacity: 1; transform: perspective(1200px) scaleX(1.012) scaleY(1.004) rotateX(0deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes mapReveal {
  0% { opacity: .45; transform: perspective(1100px) scaleX(.92) scaleY(.97) translateY(8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes foldCreaseFade {
  0% { opacity: .95; }
  65% { opacity: .38; }
  100% { opacity: 0; }
}
@keyframes pinPop {
  0% { opacity: 0; transform: scale(0); }
  70% { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cityPop {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes stampLand {
  0% { opacity: 0; transform: translateY(18px) scale(.94) rotate(-2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes ticketDrop {
  0% { opacity: 0; transform: translateY(-22px) rotate(-.7deg) scale(.985); }
  70% { opacity: 1; transform: translateY(2px) rotate(.15deg) scale(1); }
  100% { opacity: 1; transform: none; }
}
@keyframes routeDraw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
@keyframes fanLeft {
  from { opacity: 0; transform: translateX(24px) rotate(-3.5deg) scale(.97); }
  to { opacity: 1; transform: rotate(-.9deg); }
}
@keyframes fanRight {
  from { opacity: 0; transform: translateX(-24px) rotate(3.5deg) scale(.97); }
  to { opacity: 1; transform: rotate(.8deg) translateY(8px); }
}
@keyframes waxStampDrop {
  0% { transform: scale(2.15) rotate(-28deg); opacity: .25; }
  65% { transform: scale(.88) rotate(-8deg); opacity: 1; }
  100% { transform: scale(1) rotate(-10deg); opacity: 1; }
}
.swimmer { position: fixed; z-index: 50; width: 120px; top: 42%; left: -140px; pointer-events: none; transform: scaleX(-1); animation: swim 1.3s ease-in-out forwards; }
@keyframes swim { 0% { left: -140px; } 50% { transform: scaleX(-1) translateY(-30px) rotate(6deg); } 100% { left: 110vw; transform: scaleX(-1) translateY(0); } }

/* 弹窗与提示 */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal-card { width: min(520px, 100%); max-height: 92vh; overflow-y: auto; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.modal-card h3 { margin: 0; font-size: 22px; }
.modal-card blockquote { margin: 0; padding: 12px 16px; line-height: 1.8; }
.modal-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.modal-card dt { opacity: .7; } .modal-card dd { margin: 0; }
.modal-k { font-size: 12px; letter-spacing: .12em; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; transition: .35s; z-index: 70; padding: 12px 20px; font-size: 15px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.boot-error { max-width: 420px; margin: 18vh auto; text-align: center; line-height: 1.8; }
.boot-error img { width: 140px; margin: 0 auto 12px; }

/* 语言切换 & 新增官方扩展组件（城市名片、社区图库、SPU 公式滑块、SAIG 权益卡、问潇潇浮层） */
.intro-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang-switch { display: inline-flex; padding: 2px; border-radius: 999px; flex: none; }
.lang-switch button { border: 0; background: none; padding: 4px 11px; font-size: 12px; border-radius: 999px; line-height: 1.2; }

.city-profile { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; margin-top: 2px; }
.cp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.cp-kicker { display: block; font-size: 12px; letter-spacing: .06em; margin-bottom: 3px; }
.cp-head h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.cp-src { font-size: 12px; opacity: .72; }
.cp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cp-tab { border-radius: 12px; padding: 9px 10px; font-size: 13px; text-align: center; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .14s cubic-bezier(.22,1,.36,1), box-shadow .18s ease; }
.cp-tab:active { transform: scale(.96); }
.cp-body { display: flex; flex-direction: column; gap: 14px; padding: 0; border-radius: 14px; }
.cp-body.is-swap, .tl-detail.is-swap { animation: softSwap .26s cubic-bezier(.22,1,.36,1) both; }
@keyframes softSwap { from { opacity: .24; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.cp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-photo { margin: 0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.cp-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.cp-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .42s cubic-bezier(.22,1,.36,1); }
.cp-photo:hover .cp-frame img { transform: scale(1.035); }
.cp-pbadge { position: absolute; left: 10px; top: 10px; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; }
.cp-photo figcaption { padding: 9px 12px; font-size: 12.5px; line-height: 1.55; }
.cp-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cp-metric { padding: 10px 12px; border-radius: 12px; display: flex; flex-direction: column; gap: 2px; }
.cp-metric strong { font-size: 17px; line-height: 1.25; }
.cp-metric span { font-size: 12px; line-height: 1.4; opacity: .82; }
.cp-copy { padding: 15px 17px; border-radius: 14px; display: flex; flex-direction: column; gap: 7px; }
.cp-stat { align-self: flex-start; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.cp-copy h4 { margin: 2px 0 0; font-size: 18.5px; line-height: 1.3; }
.cp-copy p { margin: 0; font-size: 14.5px; line-height: 1.82; }
.cp-cta { align-self: flex-start; margin-top: 4px; border: 0; border-radius: 999px; padding: 7px 15px; font-size: 13px; transition: transform .16s cubic-bezier(.22,1,.36,1), opacity .16s; }
.cp-cta:hover { transform: translateY(-1px); opacity: .94; }

/* 第一章专属 · 大武汉详细地理全览图卡片 */
.atlas-card { padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.atlas-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.atlas-head h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.atlas-layers { display: flex; flex-wrap: wrap; gap: 6px; }
.atlas-layer-btn { border-radius: 999px; padding: 6px 12px; font-size: 12.5px; transition: background-color .16s, border-color .16s, color .16s, transform .14s; }
.atlas-layer-btn:active { transform: scale(.96); }
.atlas-wrap { padding: 6px; border-radius: 20px; }
.atlas-zone.is-clickable { cursor: pointer; }
.atlas-hint { margin: 2px 0 0; }

.metric-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric-box { padding: 14px 16px; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; }
.metric-box strong { font-size: 21px; line-height: 1.2; }
.metric-box span { font-size: 12.5px; line-height: 1.45; opacity: .82; }

.comm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comm-photo { margin: 0; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.comm-frame { position: relative; border-radius: 8px; overflow: hidden; }
.comm-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.comm-photo figcaption { display: flex; flex-direction: column; gap: 3px; padding: 2px 4px; }

.pillars-card, .practice-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pillar-item { padding: 13px 15px; border-radius: 14px; display: flex; flex-direction: column; gap: 5px; }
.pillar-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pillar-tag { align-self: flex-start; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }
.pillar-item strong { font-size: 15px; }
.pillar-item p { margin: 0; font-size: 13.5px; line-height: 1.65; }

.formula-card { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.f-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.f-head h3 { margin: 0 0 4px; font-size: 20px; }
.f-head p { margin: 0; font-size: 13.5px; line-height: 1.55; opacity: .82; }
.f-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.f-presets .chip { padding: 6px 12px; font-size: 12.5px; }
.f-readout { display: flex; align-items: baseline; gap: 6px; padding: 12px 16px; border-radius: 14px; flex-wrap: wrap; }
.f-eq { font-size: 18px; }
.f-num { font-size: 32px; line-height: 1; }
.f-bar { height: 12px; border-radius: 999px; overflow: hidden; }
.f-bar-fill { height: 100%; border-radius: 999px; transition: width .22s ease, background-color .22s ease; }
.f-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-slider { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.f-slider input[type="range"] { width: 100%; cursor: pointer; }
.f-verdict { margin: 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.65; }

.saig-hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.saig-hl-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; }
.saig-hl-top { display: flex; align-items: center; gap: 8px; }
.saig-hl-icon { font-size: 18px; }
.saig-hl-badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.saig-hl-card h4 { margin: 2px 0 0; font-size: 16.5px; line-height: 1.35; }
.saig-hl-card p { margin: 0; font-size: 13.5px; line-height: 1.68; }
.saig-hl-link { align-self: flex-start; margin-top: 4px; font-size: 13px; text-decoration: none; }

.qa-root { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.qa-fab { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px; border-radius: 999px; border: 0; font-size: 14.5px; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s, background-color .2s, color .2s; }
.qa-fab:hover { transform: translateY(-2px); }
.qa-fab img { width: 32px; height: 34px; object-fit: contain; }
.qa-drawer {
  width: min(410px, calc(100vw - 24px)); max-height: min(580px, calc(100vh - 104px));
  display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.95);
  transition: opacity .22s cubic-bezier(.22,1,.36,1), transform .26s cubic-bezier(.22,1,.36,1), visibility .22s;
}
.qa-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.qa-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(45,91,138,.12); }
.qa-head img { width: 40px; height: 42px; object-fit: contain; flex: none; }
.qa-head-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.qa-head-meta strong { font-size: 15px; line-height: 1.25; }
.qa-head-meta span { font-size: 11.5px; line-height: 1.4; opacity: .74; }
.qa-close { border: 0; background: none; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; flex: none; transition: background-color .15s; }
.qa-list { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.qa-msg { max-width: 92%; padding: 10px 13px; border-radius: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13.8px; line-height: 1.65; }
.qa-msg.is-enter { animation: qaMsgIn .24s cubic-bezier(.22,1,.36,1) both; }
@keyframes qaMsgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.qa-msg p { margin: 0; }
.qa-msg.is-bot { align-self: flex-start; border-bottom-left-radius: 4px; }
.qa-msg.is-user { align-self: flex-end; border-bottom-right-radius: 4px; }
.qa-typing-row { flex-direction: row; align-items: center; gap: 8px; padding: 9px 13px; }
.qa-typing-dots { display: inline-flex; gap: 4px; align-items: center; }
.qa-typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-deep, #2d5b8a); opacity: .45; animation: dot 1s infinite; }
.qa-typing-dots i:nth-child(2) { animation-delay: .15s; }
.qa-typing-dots i:nth-child(3) { animation-delay: .3s; }
.qa-typing-txt { font-size: 12.5px; opacity: .75; }
.qa-badge { align-self: flex-start; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.qa-jump { align-self: flex-start; border: 0; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; margin-top: 2px; transition: transform .15s, opacity .15s; }
.qa-jump:hover { transform: translateY(-1px); }
.qa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; border-top: 1px dashed rgba(45,91,138,.14); max-height: 92px; overflow-y: auto; }
.qa-chip { border-radius: 999px; padding: 4px 10px; font-size: 12px; text-align: left; transition: background-color .15s, border-color .15s, transform .12s; }
.qa-chip:active { transform: scale(.96); }
.qa-form { display: flex; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid rgba(45,91,138,.12); }
.qa-input { flex: 1; min-width: 0; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13.5px; }
.qa-send { border: 0; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; flex: none; }

@media (max-width: 900px) {
  .metric-strip, .comm-gallery, .pillar-grid, .f-sliders, .saig-hl-grid, .practical-grid { grid-template-columns: 1fr; }
  .cp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crd-head { grid-template-columns: minmax(0, 1fr) 156px; }
  .city-route-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .city-route-pill { padding: 9px 10px; }
  .city-route-pill strong { font-size: 13px; }
  .qa-root { right: 12px; bottom: 12px; }
  .layout, .layout.screen-home, .layout.screen-menu { grid-template-columns: 1fr; gap: 16px; }
  .layout .guide { display: contents; position: static; }
  .layout .concierge-card { order: 1; }
  .layout .stage { order: 2; }
  .layout .home-stamps { order: 3; }
  .layout .action-group { order: 4; }
  .layout .nav-links { order: 5; }
  .concierge-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
  .ai-status { flex: 1 0 100%; }
  .guide-top { flex-direction: column; align-items: center; gap: 4px; flex: none; }
  .mascot { width: 72px; height: 76px; }
  .mascot-role { display: none; }
  .mascot-name { font-size: 13px; }
  .bubble { flex: 1; min-height: 64px; padding: 12px 14px; }
  .bubble::before { display: none; }
  .stamp-grid { grid-template-columns: 1fr 1fr; }
  .stage-home .pin-label { font-size: 16px; }
  .stage { min-height: 0; }
  .stage-cards, .stage-text { min-height: 0; }
  .photo-pair { grid-template-columns: 1fr; }
  .text-card { aspect-ratio: auto; grid-template-columns: 1fr; }
  .home-title { margin-bottom: 8px; }
  .passport-label { display: none; }
  .p-stamp { width: 30px; height: 30px; font-size: 10px; }
  .brand-title { font-size: 18px; white-space: nowrap; }
  .brand-sub { display: none; }
  .hub-grid, .tl-steps, .saig-steps, .hotspot-grid, .detail-card { grid-template-columns: 1fr; }
  .detail-hero { min-height: 220px; max-height: 280px; }
  .intro-hero { grid-template-columns: 1fr; text-align: center; }
  .intro-mascot img { width: 148px; height: 154px; }
  .intro-tags, .intro-actions { justify-content: center; }
  .intro-speech { text-align: left; }
  .closing-note { flex-direction: column; align-items: center; }
  .toast { top: 16px; bottom: auto; }
}
@media (max-width: 620px) {
  .choice-cards, .route-body, .crd-head, .city-route-tabs, .planner-tabs, .cp-gallery, .cp-metrics { grid-template-columns: 1fr; }
  .pt-slider { display: none; }
  .mini-map { width: 100%; max-width: 240px; }
  .finish-pill, .intro-replay { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
