/* Figma: Wfky4UB3cRvMm10juSh2D6. Real journey data remains the source of content. */
@font-face{font-family:"Xiaobo Xingshu Core";src:url("/assets/fonts/sanjixing-xingshu-core.woff2?v=ui-20261109") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Xiaobo Xingshu";src:url("/assets/fonts/sanjixing-xingshu-full.woff2?v=ui-20261109") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Xiaobo YaHei Core";src:url("/assets/fonts/msyh-regular-core.woff2?v=ui-20261107") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Xiaobo YaHei";src:url("/assets/fonts/msyh-regular-full.woff2?v=ui-20261107") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Xiaobo YaHei Core";src:url("/assets/fonts/msyh-bold-core.woff2?v=ui-20261107") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Xiaobo YaHei";src:url("/assets/fonts/msyh-bold-full.woff2?v=ui-20261107") format("woff2");font-style:normal;font-weight:700;font-display:swap}
:root{--font-body:"Xiaobo YaHei Core","Xiaobo YaHei","Microsoft YaHei UI","Microsoft YaHei",sans-serif;--font-display:"Xiaobo Xingshu Core","Xiaobo Xingshu","Xiaobo YaHei Core","Xiaobo YaHei",sans-serif;--font-handwritten:var(--font-display);--font:var(--font-body);--paper:#f7eed1;--surface:#f8ecd0;--ink:#354d3e;--muted:#75846b;--green:#4e715a;--gold:#e1a134;--soft:#e8dfbf;--line:#d7d8ad;--danger:#a44c35;--shadow:0 7px 14px #18452720}
html,body{background:#e2e4d6}body{font-family:var(--font-body)}
#app-frame{width:min(100%,480px);background:var(--paper);border-color:#c3ccb7}
#onboarding,#conversation-shell{background:var(--paper);background-image:linear-gradient(#f7eed1cc,#f7eed1cc),url('/assets/figma/9166c.webp');background-size:auto,900px auto;background-position:center;background-repeat:repeat-y}
.brush{font-family:var(--font-handwritten);font-weight:400;font-synthesis:none;line-height:1.2;letter-spacing:.025em}
.brand-slogan{font-family:var(--font-display);font-weight:400;font-synthesis:none}
.brand-slogan strong{font-weight:400}
.temple{display:block;width:83px;height:27px;background:var(--green);mask:url('/assets/figma/1122e.webp') center/contain no-repeat;-webkit-mask:url('/assets/figma/1122e.webp') center/contain no-repeat}
.design-icon{width:20px;height:20px;object-fit:contain;flex:none}.design-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:30px;background:var(--green);color:var(--surface);padding:13px 22px;min-height:48px;font-size:16px;font-weight:700;text-decoration:none}.design-cta>span:last-child{font-size:24px;line-height:1}.design-cta.secondary{background:transparent;border:1px solid var(--green);color:var(--green)}.entry-error{padding:12px;color:var(--danger);font-size:14px}.entry-back{position:absolute;z-index:4;left:14px;top:calc(12px + env(safe-area-inset-top));border-radius:50%;background:#f7eed1d9}
.design-startup{min-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px}.design-startup h1{font-size:64px;color:var(--gold);margin:30px 0}.design-startup h1 span{display:block;font-size:32px;color:var(--green);margin-top:18px}.design-startup p{font-size:14px;color:var(--muted)}
/* Entry frames share the 402 × 874 Figma coordinate system. Width scales once
   at the boundary; the home layout also adapts to the available screen height. */
#app-frame:has(>#onboarding:not([hidden])[data-screen=home]),#app-frame:has(>#onboarding:not([hidden])[data-screen=museum]),#app-frame:has(>#onboarding:not([hidden])[data-screen=exhibition]){width:min(100%,402px)}
#onboarding:is([data-screen=home],[data-screen=museum],[data-screen=exhibition]){background:var(--paper);scrollbar-width:none;overflow-x:hidden}
.entry-design-page{position:relative;isolation:isolate;width:402px;min-height:max(874px,var(--entry-viewport-height,874px));zoom:var(--entry-scale,1);overflow:hidden;background:var(--paper);font-family:var(--font-body);color:var(--green)}
.entry-design-page:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/assets/figma/9166c.webp') -1px -25.234px/924.482px 462.234px repeat-y;opacity:.2}
.entry-design-page .brush{letter-spacing:0}
.entry-design-page .design-cta{position:absolute;padding:0;gap:8px;min-height:48px;height:48px;border-radius:26px;font-size:16px;font-weight:700;white-space:nowrap;line-height:24px}
.entry-cta-label{font-size:inherit;line-height:inherit}.entry-cta-label>span{color:var(--gold)}
.entry-design-page .entry-arrow{width:18.1724px;height:26.1751px;transform:rotate(-90deg);margin:0 4px}
.entry-design-header{position:absolute;inset:0 0 auto;height:80px;z-index:3}
#onboarding .entry-design-header button{position:absolute;top:31px;min-height:44px;height:44px;width:44px;display:grid;place-items:center;padding:0;border:0;background:transparent;border-radius:10px}
.entry-design-back{left:5px}.entry-design-back .design-icon{width:12px;height:21px}
.entry-design-voice{left:314px}.entry-design-voice .design-icon{width:23.775px;height:18px}
.entry-design-menu{left:348px}.entry-design-menu .design-icon{width:20px;height:18px}
.entry-design-header .museum-roof{position:absolute;left:159px;top:42px;width:83px;height:22px;mask-image:url('/assets/figma/2930e.webp');-webkit-mask-image:url('/assets/figma/2930e.webp')}
.entry-design-page .entry-error{position:absolute;left:24px;right:24px;bottom:1px;z-index:6;padding:6px 12px;margin:0;background:var(--surface);border:1px solid var(--danger);border-radius:10px;font-size:12px;line-height:18px}
/* Reserve real space for all home content; Safari's browser bars can leave
   much less than the 874px design height. Short landscape views may scroll. */
.design-home{display:flex;flex-direction:column;height:max(560px,var(--entry-viewport-height,874px));min-height:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.home-composition{position:relative;flex:1;min-height:220px;width:402px;pointer-events:none}
.home-artwork{position:absolute;left:0;bottom:0;width:402px;height:520px;transform:scale(var(--home-art-scale,1));transform-origin:center bottom}
.home-slab{position:absolute;left:81px;top:100px;width:240px;height:400px;background:var(--green);border-radius:20px;transform:rotate(4.62deg)}
.home-roof{position:absolute;left:175.6px;top:78.7px;height:25px;transform:rotate(4.62deg)}
.home-listen{position:absolute;left:26px;top:128px;width:200px;height:96px;padding:14px 21px;border-radius:20px;background:var(--surface);box-shadow:0 10px 10px #18452766;font-size:16px;line-height:24px}
.home-listen>div{display:flex;align-items:center;gap:8px;margin-top:8px}.home-listen .design-icon{width:36px;height:36px}.home-listen .wave{width:115px;height:36px}
.home-path{position:absolute;left:107px;top:181px;width:177.088px;height:266.5px}
.home-route-point{position:absolute;width:20px;height:20px}.home-route-point.point-1{left:99px;top:434px}.home-route-point.point-2{left:147px;top:297.17px}.home-route-point.point-3{left:274px;top:257px}.home-route-point.point-4{left:243px;top:171px}
.home-jade,.home-vase,.home-ding,.home-person{position:absolute;object-fit:contain}
.home-jade{left:115.27px;top:385.51px;width:39.725px;height:39.725px;transform:rotate(-60deg)}.home-vase{left:268px;top:146px;width:40px;height:58.006px}.home-ding{left:201.5px;top:257.67px;width:40px;height:40px}.home-person{left:148px;top:273px;width:16.48px;height:20.1px}
.home-location{position:absolute;left:128px;top:321.17px;width:57px;height:23px;display:grid;place-items:center;background:var(--surface);border-radius:8px;box-shadow:0 10px 10px #18452766;font-size:12px;font-weight:700;line-height:18px}
.home-question{position:absolute;left:216px;top:353px;width:160px;height:44px;display:grid;place-items:center;background:var(--gold);border-radius:20px 20px 0 20px;color:var(--surface);box-shadow:0 10px 10px #18452766;font-size:16px;font-weight:700}
.home-narrator{position:absolute;left:176px;top:413px;width:200px;height:72px;background:var(--surface);border-radius:20px;box-shadow:0 10px 10px #18452766;display:flex;align-items:center;padding:12px 16px;gap:8px;font-size:16px;line-height:24px}.home-narrator em{font-style:normal;color:var(--gold)}
.home-narrator-badge{position:relative;display:block;flex:none;width:48px;height:48px}.home-narrator-badge .design-icon{width:48px;height:48px}.home-narrator-badge>span{position:absolute;left:4px;top:18px;width:39.84px;height:12px;background:var(--surface);mask:url('/assets/figma/c04c2.webp') center/contain no-repeat;-webkit-mask:url('/assets/figma/c04c2.webp') center/contain no-repeat}
.home-copy{position:relative;flex:none;margin-top:clamp(12px,calc(var(--entry-viewport-height,874px) * .05 - 22.7px),21px);text-align:center}.home-copy h1{margin:0;font-size:48px;line-height:1.3;white-space:nowrap}.home-copy h1>span{display:block;width:100%;font-size:64px;line-height:.975;color:var(--gold)}.home-copy h1>br{display:none}
.design-home .home-bottom{position:relative;flex:none;height:48px;padding:0;margin:clamp(16px,calc(var(--entry-viewport-height,874px) * .21 - 126.5px),57px) 0 40px}.home-bottom>.design-cta{left:111px;width:180px;top:0}
.design-museums{display:flex;flex-direction:column;min-height:max(620px,var(--entry-viewport-height,874px));overflow:clip}
.design-museums>h1{position:relative;margin:112px 24px 30px;font-size:48px;line-height:1.05}.design-museums>h1 span{color:var(--gold)}
.museum-search{position:relative;margin:0 24px 22px;flex:none;display:flex;gap:6px;height:36px}.museum-search>label{position:relative;display:flex;align-items:center;background:var(--surface);border-radius:20px;box-shadow:0 1px 4px #0006}.museum-search>label:first-child{width:240px}.museum-search label>.design-icon{position:absolute;left:12px;top:9px;width:19px;height:19px;pointer-events:none}.museum-search input{width:100%;height:36px;min-width:0;border:0;background:transparent;border-radius:20px;padding:0 12px 0 39px;font-size:12px;color:var(--green);outline-offset:2px}.museum-search input::placeholder{color:#4e715a80;opacity:1}
.museum-search .museum-city{width:108px}.museum-search .museum-city>.design-icon{left:16px;top:6px;width:16.51px;height:20.167px}.museum-city select{appearance:none;width:100%;height:36px;border:0;border-radius:20px;background:transparent;color:var(--green);padding:0 27px 0 40px;font-size:16px;font-weight:700}.museum-search .museum-city>.city-chevron{left:86px;top:12px;width:6px;height:12px;transform:rotate(-90deg)}
.museum-section-heading,.museum-more-heading{position:relative;margin:0 24px 12px;flex:none;width:354px;display:flex;justify-content:space-between;align-items:center;height:24px}.museum-section-heading h2,.museum-more-heading h2{font-size:16px;font-weight:700;line-height:24px;margin:0}.museum-section-heading>span{font-size:12px;line-height:18px}.museum-more-heading{margin-top:24px}
#onboarding .museum-filter{display:grid;place-items:center;width:44px;min-height:44px;margin-right:-15px;padding:0;border:0;border-radius:12px;background:transparent}.museum-filter .design-icon{width:14px;height:13.86px}.museum-filter[aria-pressed=true]{background:#4e715a18}
.museum-feature{position:relative;display:block;flex:none;margin:0 24px;width:354px;height:220px;border:0;border-radius:20px;background:var(--green);box-shadow:0 4px 4px #4e715a66;text-align:left;color:var(--surface);padding:0}
.museum-feature-title{position:absolute;left:14px;top:22px;font-size:16px;line-height:24px}.museum-feature-title strong,.museum-feature-title>span{display:block;font-size:16px;font-weight:700;white-space:nowrap}
.museum-preview{position:absolute;left:14px;top:74px;width:329px;height:73px;display:grid;grid-template-columns:98px 111px 112px;gap:4px}.museum-preview>img,.museum-preview>span{position:relative;width:100%;height:73px;border-radius:8px;overflow:hidden}.museum-preview>img{object-fit:cover}.museum-preview>span>img{position:absolute;max-width:none;object-fit:fill}.preview-poster img{width:103.45%;height:207.49%;left:-1.82%;top:-2.45%}.preview-jade img{width:111%;height:226.06%;left:-5.55%;top:-122.67%}
.museum-feature-location{position:absolute;left:14px;top:159px;width:329px;border-top:1px solid var(--surface);padding-top:7px}.museum-feature-location>strong{display:block;font-size:12px;line-height:18px}.museum-feature-location small{display:flex;align-items:center;gap:3px;font-size:10px;line-height:15px}.museum-feature-location .design-icon{width:9.824px;height:12px}.museum-selected{position:absolute;right:11px;bottom:16px;display:block;width:20px;height:20px}.museum-selected img{width:20px;height:20px}
.museum-empty{position:absolute;top:250px;left:24px;width:354px;z-index:4;margin:0;font-size:12px;line-height:18px;border-radius:8px;background:var(--surface);box-shadow:var(--shadow);padding:7px 10px}
.museum-coming{position:relative;margin:0 24px 12px;flex:none;width:354px;display:grid;gap:6px}.museum-coming>button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:start;width:354px;height:86px;padding:0 17px;border:0;border-radius:20px;background:var(--gold);box-shadow:0 4px 4px #4e715a66;color:var(--surface);text-align:left}.museum-coming>button+button{background:var(--green)}.museum-coming strong{font-size:16px;line-height:24px}.museum-coming small{font-size:12px;line-height:18px}.museum-coming .design-icon{position:absolute;right:17px;top:33px;width:20px;height:20px}
.museum-footer{position:sticky;left:0;bottom:0;flex:none;margin-top:auto;z-index:5;width:402px;height:99px;background:var(--surface);border-radius:20px 20px 0 0;box-shadow:0 -4px 5px #4e715a66}.museum-footer>span{position:absolute;left:22px;top:25px;font-size:12px;line-height:18px;color:#000b}.museum-footer strong,.museum-footer small{display:block;font-size:10px;line-height:15px;font-weight:400;color:var(--green)}.museum-footer .design-cta{left:207px;top:21px;width:180px}
.design-exhibition{display:flex;flex-direction:column;min-height:0;height:max(600px,var(--entry-viewport-height,874px));padding:78px 0 40px}
.exhibition-carousel{position:relative;flex:none;width:402px;height:calc(508px * var(--exhibition-scene-scale,1));touch-action:pan-y;-webkit-user-select:none;user-select:none}.exhibition-scene{position:relative;width:402px;height:508px;transform:scale(var(--exhibition-scene-scale,1));transform-origin:center top}.exhibition-carousel:focus:not(:focus-visible){outline:none}.exhibition-hero{position:absolute;left:81px;top:22px;width:240px;height:400px;border-radius:20px;background:var(--gold)}.exhibition-hero.green{background:var(--green)}.exhibition-hero .temple{position:absolute;left:79px;top:-22px;height:25px;background:inherit}
.exhibition-artifact{position:absolute;pointer-events:none}.exhibition-artifact img{display:block;max-width:none;object-fit:contain}.jade .exhibition-artifact{left:-130px;top:78px;width:456px;height:379px;filter:drop-shadow(0 10px 10px #73511580)}.jade .exhibition-artifact img{width:100%;height:100%}
.pot .exhibition-artifact{left:39px;top:87px;width:297px;height:367px;overflow:hidden;filter:drop-shadow(0 10px 10px #071f0f80)}.pot .exhibition-artifact img{position:absolute;width:127.99%;height:105.21%;left:-27.91%;top:-2.92%;object-fit:fill}
.ivory .exhibition-artifact{left:7px;top:51px;width:437.139px;height:406.466px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 10px 10px #be7d1866)}.ivory .exhibition-artifact img{width:400.038px;height:200.019px;transform:rotate(38.77deg)}
.exhibition-dots{position:absolute;left:165px;top:462px;display:flex;gap:0}.exhibition-dots button{position:relative;width:24px;min-height:48px!important;height:48px;padding:0;border:0;background:transparent}.exhibition-dots button>span{position:absolute;left:8px;top:20px;width:8px;height:8px;background:var(--gold);opacity:.4;border-radius:50%}.exhibition-dots button[aria-pressed=true]>span{opacity:1}.pot .exhibition-dots button>span{background:var(--green)}
.design-exhibition>h1{position:relative;flex:none;width:288px;margin:-10px auto 12px;text-align:center;font-size:72px;line-height:83px;color:var(--gold)}.pot>h1{color:var(--green)}
.design-exhibition>.exhibition-description{position:relative;flex:none;width:288px;margin:0 auto;font-size:16px;line-height:24px;text-align:center;color:var(--green)}.design-exhibition>.exhibition-tagline{position:relative;flex:none;width:240px;text-align:center;margin:12px auto 0;font-size:20px;line-height:24px;font-weight:400;color:var(--gold)}.exhibition-tagline strong{color:var(--green)}.design-exhibition.pot>.exhibition-tagline{color:var(--green)}.pot .exhibition-tagline strong{color:var(--gold)}
.design-exhibition>.design-cta{position:relative;flex:none;margin:auto auto 0;width:144px;background:var(--gold)}.design-exhibition.pot>.design-cta{background:var(--green)}
.entry-design-dialog{position:fixed;inset:0;width:min(354px,calc(100vw - 40px));padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--green)}.entry-design-dialog::backdrop{background:#18382466}.entry-design-dialog h2{font-size:20px;margin:0 0 16px}.entry-design-dialog p{font-size:14px;line-height:1.7}.entry-design-dialog button{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--green);font-size:14px}.entry-design-dialog .dialog-done{background:var(--green);color:var(--surface);border-color:var(--green)}
.design-orientation{padding:32px 24px}.design-orientation>.temple{margin:0 auto 26px}.design-orientation>h1{font-size:42px}.design-orientation>h1 span{color:var(--gold)}.orientation-page{padding:0;overflow:visible}.orientation-page h2{font-size:18px}.entrance-venue,.entrance-landmark,.entrance-facing{font-size:14px}.orientation-map{background:var(--surface);border-radius:20px}.entry-map-details{margin:20px 0}.entry-map-details summary{min-height:44px;cursor:pointer;font-size:14px}
/* Each page owns its scroll; navigation keeps its DOM and audio identity. */
.conversation-header{min-height:62px;padding:9px 18px;border:0;gap:8px}.conversation-header .icon-button{min-width:36px;min-height:36px;width:36px;height:36px;padding:7px;border-radius:50%}.experience-back{margin-right:auto}.header-actions{margin-left:auto;gap:5px}.conversation-header .identity{flex:none;gap:8px}.conversation-header .narrator-avatar-frame{width:36px;height:36px}.conversation-header .narrator-avatar{width:36px;height:36px}.conversation-header .narrator-heading h1{font-size:15px}.conversation-header .narrator-heading p{font-size:10px}.experience-tabs{display:flex;justify-content:center;gap:26px;flex:none;padding:5px 24px 14px}.experience-tabs button{flex:1;max-width:156px;min-height:36px;border:1px solid var(--green);background:var(--gold);color:var(--surface);border-radius:22px;font-size:15px}.experience-tabs button.selected{background:var(--green)}#experience-body{flex:1;display:flex;flex-direction:column;min-height:0;position:relative}.experience-page{flex:1;overflow:auto;overscroll-behavior:contain;padding:22px 24px 30px;min-height:0;scrollbar-width:thin}.experience-page .message>.bubble{max-width:100%;padding:0}.experience-page .assistant-label{display:none}.experience-page .message{margin:0 0 20px}.experience-page .message-text{font-size:14px;line-height:1.8}.experience-page .attachment{background:transparent;border:0;padding:0;margin:14px 0 0;border-radius:0}.page-empty{font-size:14px;line-height:1.8;text-align:center;color:var(--muted);padding:100px 12px}.preferences-heading h1{font-size:clamp(36px,calc(13.56vw - 6.51px),48px);line-height:1.05;margin:4px 0 30px;letter-spacing:0}.preferences-title-line{display:block;white-space:nowrap}.preferences-heading h1 em{color:var(--gold);font-style:normal}#page-preferences{padding:12px 24px 30px}.design-preferences{position:relative;border:0;background:transparent;padding:0;margin-bottom:20px}.preferences-fields{position:relative;border-radius:20px;background:var(--green);padding:19px 12px 14px}.preferences-fields>.temple{position:absolute;left:50%;top:-24px;transform:translateX(-50%)}.design-preferences fieldset{border:0;padding:0;margin:0;min-width:0}.preference-section{background:var(--surface);box-shadow:var(--shadow);border-radius:20px;padding:16px 12px 18px;margin-bottom:6px}.preference-title{display:flex;gap:7px;align-items:center;color:var(--green);font-size:16px;font-weight:700;line-height:24px;margin:0 0 8px}.preference-title .design-icon{width:20px;height:20px}.preference-title small{margin-left:auto;font-size:12px;font-weight:400}.preference-section>input,.preference-section>textarea{background:transparent;border:2px solid var(--gold);border-radius:10px;width:100%;height:36px;padding:5px 10px;font-size:16px;line-height:22px;color:var(--green);min-height:36px}.preference-section>textarea{display:block;resize:vertical;min-height:36px;max-height:130px}.preference-section>textarea::placeholder{font-size:12px;color:var(--muted)}.duration-choices,.topic-choices,.depth-choices{display:grid;gap:6px;grid-template-columns:repeat(4,minmax(0,1fr))}.topic-choices,.depth-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.topic-choices{gap:8px 6px}.choice-pill{position:relative;display:flex;min-width:0;cursor:pointer}.choice-pill>input{appearance:none;position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.choice-pill>span{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:36px;border:2px solid var(--gold);border-radius:10px;font-size:12px;line-height:18px;color:var(--green);white-space:nowrap}.choice-pill>input:checked+span{background:var(--green);color:var(--surface);border-color:var(--green);font-weight:700}.choice-pill>input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}.depth-choices .choice-pill>span{flex-direction:column;gap:4px;padding:8px 2px;border-radius:10px;min-height:68px}.depth-choices .design-icon{width:24px;height:24px}.depth-choices input:checked+span .design-icon{filter:brightness(0) invert(93%) sepia(11%) saturate(555%)}.topic-choices .choice-pill>span{min-height:30px}.preference-hint{display:block;font-size:10px;margin-top:8px;color:var(--muted)}.preference-hint.sr-only{position:absolute;display:block}.custom-duration{display:flex;gap:5px;align-items:center;font-size:13px;margin-top:10px}.custom-duration input{width:95px;border:2px solid var(--gold);border-radius:10px;background:transparent;padding:5px 9px;min-width:0;font-size:16px}.design-preferences .design-cta{position:relative;display:flex;background:var(--green);width:calc(100% - 98px);min-height:44px;margin:10px auto 0;padding:9px 8px;border-radius:24px;font-size:16px;line-height:24px;gap:10px}.design-preferences .design-cta .entry-arrow{width:18px;height:26px}.design-preferences .opening-error{background:var(--surface);padding:12px;border-radius:12px}
.tour-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:25px}.map-scope-controls{display:flex;gap:4px;flex-wrap:wrap}.tour-toolbar button{border:0;background:transparent;color:var(--green);font-size:11px;padding:5px 4px;min-height:32px}.map-scope-controls [aria-pressed=true]{border-radius:14px;background:var(--green);color:var(--surface);padding:5px 10px}.tour-toolbar .along-open{color:#a37021;text-decoration:underline;text-underline-offset:4px}.tour-overview{position:relative;background:var(--green);border-radius:20px;padding:16px 10px 12px;margin-bottom:22px}.tour-overview>.temple{position:absolute;right:30px;top:-24px}.tour-map{height:340px;background:var(--surface);border-radius:14px;overflow:hidden}.tour-map svg{width:100%;height:100%}.tour-part-tabs{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;padding-top:12px}.tour-part-tabs button{font-size:10px;border:0;border-radius:20px;background:transparent;color:var(--surface);padding:4px 7px;min-height:32px}.tour-part-tabs [aria-pressed=true]{background:var(--gold)}#page-tour .route-attachment{border-radius:20px;background:#f8ecd0ce;padding:18px;box-shadow:var(--shadow)}#page-tour .route-introduction{font-size:14px;margin-bottom:20px}#page-tour .route-attachment h2{font-family:var(--font-display);font-weight:400;font-synthesis:none;font-size:23px}#page-tour .card-metadata{font-size:12px;gap:7px 12px}#page-tour .card-metadata strong{font-size:17px}.experience-page .guidance-map{border-radius:20px;border:12px solid var(--green);background:var(--green);overflow:hidden;margin:0}.experience-page .guidance-map svg{width:100%;max-height:380px;min-height:260px;border-radius:10px}.experience-page .guidance-map figcaption{color:var(--surface);font-size:10px;line-height:1.7;padding-top:10px}.experience-page .guidance-instructions{max-height:none;overflow:visible}.showing-overview [data-message-type=guidance] .attachment{display:none}.arrival-card{position:relative;border-radius:20px!important;background:var(--green)!important;padding:15px!important;color:var(--surface)}.arrival-card h3{font-size:15px!important;color:var(--surface)}.arrival-card p,.arrival-card figcaption,.arrival-card .receipt{color:var(--surface)!important}.arrival-card .primary{background:var(--gold);border-color:var(--gold);border-radius:22px;color:var(--surface)}.arrival-card .destination-media{background:transparent}.arrival-card .destination-media .exhibit-photo-window{max-height:180px}.arrival-card .photo-perspective{color:var(--surface)}.tour-footer-actions{display:flex;justify-content:space-between;gap:15px;margin-top:24px}.tour-footer-actions button{border:0;border-radius:24px;padding:8px 18px;min-height:38px;background:var(--green);color:var(--surface);font-size:12px}.tour-footer-actions .end-button{background:var(--gold)}
.chat-dock{position:relative;flex:none;display:flex;align-items:center;gap:10px;min-height:66px;border:0;border-radius:22px 22px 0 0;background:var(--paper);box-shadow:0 -6px 14px #18452720;color:var(--green);padding:16px 26px}.chat-dock .temple{position:absolute;right:36px;top:-20px;width:65px;height:22px;background:var(--paper)}.drawer-handle{display:block;position:absolute;top:9px;width:42px;height:4px;border-radius:8px;background:var(--green);opacity:.5;left:50%;transform:translateX(-50%)}.chat-dock .brush{font-size:24px;color:var(--gold)}.chat-dock>span:not(.temple):not(.drawer-handle):not(.brand-slogan){font-size:11px}
.chat-dock>.brand-slogan{font-size:18px;line-height:1.2;white-space:nowrap}.chat-dock>span:last-child{margin-left:auto}#experience-status:empty{display:none}#experience-status{flex:none;max-height:105px;overflow:auto;padding:0 24px}#experience-status .message{margin:0}#experience-status .bubble{padding:0;background:transparent}#experience-status .loading-message{font-size:12px;padding:10px 0;color:var(--green)}.generation-elapsed{background:#e6dfc0;color:var(--green)}
.narration-card .narration-hero{position:relative;background:var(--gold);border-radius:20px;padding:18px 12px 8px;margin:3px 0 24px}.narration-hero:before{content:'';position:absolute;right:28px;top:-24px;width:83px;height:27px;background:var(--gold);mask:url('/assets/figma/1122e.webp') center/contain no-repeat;-webkit-mask:url('/assets/figma/1122e.webp') center/contain no-repeat}.narration-hero h3{color:var(--surface);font-size:22px!important;font-family:var(--font-display);font-weight:400;font-synthesis:none;line-height:1.5!important;margin-bottom:15px!important}.narration-hero .narration-media{border:0;background:transparent;margin:0}.narration-hero .exhibit-photo-window{background:#f8ecd0a8;border-color:transparent;min-height:260px;max-height:355px}.narration-hero figcaption{color:var(--surface);font-size:11px}.narration-hero .exhibit-photo-controls{color:var(--surface)}.narration-hero .quiet-button{color:var(--surface);border-color:#f8ecd075}.narration-hero .source-entry-label{color:var(--surface)!important}.narration-card .narration-section{border:0;padding:0;margin:20px 0}.narration-card .narration-section h3{font-size:16px}.narration-card p{font-size:14px;color:var(--green);line-height:1.9}.narration-card .audio-row{position:sticky;bottom:0;background:var(--surface);box-shadow:var(--shadow);border-radius:20px;margin:22px 0}.narration-card .audio-toggle{background:var(--gold);width:42px;height:42px}.narration-card .audio-progress-track{background:#c9cfaa}.narration-card .audio-progress{background:var(--gold)}.narration-card .audio-caption{font-size:10px}.narration-card .audio-rate{font-size:12px}.narration-card .card-actions button{font-size:12px;border-radius:23px}.narration-card .card-actions .primary{background:var(--gold);border-color:var(--gold)}.foldout summary{font-size:13px}.source-list{font-size:13px}
.narrator-dialog,.along-dialog{background:var(--surface);width:calc(100% - 40px);max-width:360px;border:0;border-radius:20px;box-shadow:0 15px 60px #18452730;padding:0;color:var(--green)}.narrator-dialog .dialog-header,.along-dialog .dialog-header{background:transparent;border:0;padding:20px 16px 0}.narrator-dialog h2,.along-dialog h2{font-family:var(--font-display);font-weight:400;font-synthesis:none}.narrator-dialog h2{font-size:36px!important}.along-dialog h2{font-size:32px!important}.narrator-dialog .dialog-header{align-items:start;min-height:76px;padding:24px 24px 10px}.narrator-dialog .dialog-header h2{line-height:42px;margin:0}.narrator-dialog .dialog-header .icon-button{width:32px;height:32px;min-height:32px;padding:7px}.narrator-dialog-body{padding:0 16px 20px}.narrator-dialog-body>p{font-size:11px;margin:0 0 10px;line-height:16px}.narrator-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.narrator-choice{min-width:0;display:flex;flex-direction:row;justify-content:flex-start;text-align:left;position:relative;align-items:center;gap:8px;padding:8px;border:0;border-radius:20px;background:var(--green);color:var(--surface);min-height:80px}.narrator-choice[aria-pressed=true]{background:var(--gold);border:0;box-shadow:none}.narrator-choice:disabled{opacity:.62}.narrator-choice>img{flex:none;width:64px;height:64px;border-radius:50%;object-fit:cover;background:var(--paper)}.narrator-choice-copy{min-width:0;flex:1;padding-right:8px}.narrator-choice-name{display:block;font-size:16px;font-weight:700;line-height:22px}.narrator-choice-description{display:block;font-size:10px;line-height:14px;color:inherit}.narrator-badge{display:block;font-size:8px;line-height:10px;font-weight:400;background:none;color:inherit;padding:0;margin:2px 0 0}.narrator-choice-check{display:block;position:absolute;right:4px;top:32px;width:16px;height:16px;border:1px solid var(--surface);border-radius:50%}.narrator-choice-check svg{display:none}.narrator-choice[aria-pressed=true] .narrator-choice-check{background:var(--surface)}.along-body{padding:0 18px 22px;max-height:65dvh;overflow:auto}.along-stops{list-style:none;padding:0;margin:10px 0}.along-stops li{position:relative;padding:0 0 14px 5px}.along-stops li:before{content:'';position:absolute;top:24px;bottom:-5px;left:19px;width:2px;background:var(--green)}.along-stops li:last-child:before{display:none}.along-stops .map-stop-button{border:0;border-radius:16px;background:var(--green);color:var(--surface);padding:12px;gap:12px;width:100%;text-align:left}.along-stops .map-stop-number{background:var(--gold);color:var(--surface);font-size:13px}.along-stops .map-stop-site{color:#dce2bd}.along-stops .map-stop-names{font-size:13px}
.visit-recap .recap-heading{padding:0}.recap-heading h2{font-family:var(--font-display);font-weight:400;font-synthesis:none;font-size:38px!important;line-height:1.3!important;margin:16px 0!important}.recap-heading h2 span{color:var(--gold)}.recap-heading .recap-date{color:var(--gold);font-size:13px}.recap-heading p{font-size:13px}.recap-metrics{position:relative;border:0;border-radius:20px;background:var(--green);color:var(--surface);padding:20px 12px;gap:14px 8px}.visit-recap .recap-metric{border:0;background:transparent}.recap-metric dt{color:var(--surface);font-size:11px}.recap-metric dd,.recap-metric dd strong{color:var(--surface);font-size:22px}.recap-metric dd span{font-size:11px;color:var(--surface)}.recap-sites h3{font-size:15px}.recap-sites li{background:var(--green);color:var(--surface);font-size:11px;border:0}.visit-recap .primary{background:var(--gold);border-color:var(--gold);border-radius:26px}.recap-note{font-size:10px!important;color:var(--muted)!important}.recap-home{width:100%;margin-top:12px;border-radius:24px}
@media(min-width:601px){#app-frame{height:min(950px,calc(var(--app-height) - 32px));max-height:calc(100dvh - 32px);border-radius:26px}#map-dialog{max-width:480px}#app-frame .toast{max-width:430px}}
@media(max-width:374px){.experience-page{padding-left:18px;padding-right:18px}.preferences-heading h1{font-size:clamp(36px,calc(13.56vw - 6.51px),48px)}.preference-section{padding:13px 10px}.duration-choices{gap:4px}.choice-pill>span{font-size:11px}.tour-toolbar{flex-wrap:wrap}.chat-heading,#conversation-shell[data-chat-open=true] #timeline,.chat-shortcuts,#composer{margin-left:16px;margin-right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important}}

.design-cta .entry-arrow{width:16px;height:24px;transform:rotate(-90deg);margin:0 4px}.brush[tabindex="-1"]:focus{outline:none}
/* Selection icons follow their label, regardless of the colour in the Figma source. */
.depth-choices .choice-icon{display:block;background:currentColor;mask:var(--choice-icon) center/contain no-repeat;-webkit-mask:var(--choice-icon) center/contain no-repeat}
.depth-choices input:checked+span .choice-icon{filter:none}

/* Figma map and object pages share a frame, not a conversation transcript. */
#conversation-shell:is([data-page=tour],[data-page=narration]) .experience-tabs{margin:0 38px 0;padding:6px 12px;gap:10px;border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}
#conversation-shell:is([data-page=tour],[data-page=narration]) .experience-tabs button{min-height:25px;border:0;background:transparent;color:var(--green);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}
.experience-tabs button:before{content:'';width:16px;height:16px;background:currentColor;mask:url('/assets/figma/f7217.svg') center/contain no-repeat;-webkit-mask:url('/assets/figma/f7217.svg') center/contain no-repeat}
.experience-tabs button[data-view=narration]:before{mask-image:url('/assets/figma/82f89.svg');-webkit-mask-image:url('/assets/figma/82f89.svg')}
#conversation-shell .experience-tabs button.selected{background:var(--green);color:var(--surface)}
#conversation-shell[data-page=narration] .experience-tabs button{color:var(--gold)}
#conversation-shell[data-page=narration] .experience-tabs button.selected{background:var(--gold);color:var(--surface)}
.experience-tabs button:disabled{opacity:.55}
#page-tour,#page-narration{padding:35px 38px 24px}
.tour-overview{height:406px;padding:18px 20px 45px;margin:0 0 11px;border-radius:20px}
.tour-overview>.temple{left:50%;right:auto;transform:translateX(-50%);width:83px;height:27px;top:-24px}
.tour-map{height:100%;background:transparent;border-radius:0}
.tour-map svg{overflow:visible}
.tour-map-brand{position:absolute;top:35%;left:50%;width:190px;max-width:60%;transform:translateX(-50%);text-align:center;color:var(--surface);pointer-events:none}
.tour-map-brand strong{display:block;font-size:32px;font-weight:400;line-height:1.4;margin-bottom:8px;white-space:nowrap}
.tour-map-brand>span{display:block;font-size:12px;line-height:18px}
.tour-map .selected-route{stroke:var(--gold)}
.venue-map .selected-route{stroke:var(--gold)}
.venue-map .walked-route{fill:none;stroke:var(--green);stroke-width:var(--overview-route-width);vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}
.venue-map :is(.route-repeat,.route-repeat-halo,.route-pass-arrow){fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}
.venue-map .route-repeat-halo{stroke:var(--surface);stroke-width:calc(var(--overview-route-width) + 2px)}
.venue-map .route-repeat{stroke:var(--gold);stroke-width:var(--overview-route-width)}
.venue-map .route-pass-arrow{stroke:var(--gold);stroke-width:1.5px}
.venue-map.has-current-leg :is(.selected-route,.route-repeat,.route-halo,.route-repeat-halo){opacity:.28}
.venue-map.has-current-leg .walked-route{opacity:.4}
.venue-map :is(.current-route,.current-route-halo,.current-route-direction){fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.venue-map .current-route-halo{stroke:var(--surface);stroke-width:calc(var(--guidance-route-width) + 2px)}
.venue-map .current-route{stroke:var(--current-route-color);stroke-width:var(--guidance-route-width)}
.venue-map .current-route-direction{stroke:var(--surface);stroke-width:2.4px}
.has-route-key{display:flex;flex-direction:column;gap:6px}
.has-route-key>svg.venue-map{flex:1;min-height:0;height:0}
.map-route-key{display:flex;flex:none;align-items:center;justify-content:center;gap:10px;height:22px;min-height:22px;padding:3px 6px;border-radius:12px;background:var(--surface);color:var(--green);font-family:var(--font-body);font-size:11px;line-height:16px;white-space:nowrap;pointer-events:none}
.map-route-key>span{display:inline-flex;align-items:center;gap:4px}
.map-route-key i{display:block;flex:none;width:15px;border-top:2px solid var(--gold)}
.map-route-key .current{font-weight:700}.map-route-key .current i{border-top:4px solid var(--current-route-color)}
.map-route-key .future i{opacity:.35}.map-route-key .past i{border-color:var(--green);opacity:.5}
.legend-route{background:var(--gold)}
.tour-map .route-halo{stroke:var(--surface)}
.tour-map .number-badge{fill:var(--gold);stroke:var(--surface)}
.tour-map .stop-number{fill:var(--surface)}
.tour-part-tabs{position:absolute;right:-13px;bottom:82px;display:flex;flex-direction:column;gap:2px;padding:0}
.tour-part-tabs button{width:26px;min-height:19px;padding:1px 4px;border:1px solid var(--green);border-radius:0 12px 12px 0;background:var(--surface);color:var(--green);font-size:8px}
.tour-part-tabs [aria-pressed=true]{background:var(--green);color:var(--surface)}
.tour-route-progress{position:absolute;bottom:18px;left:26px;right:26px;color:var(--surface)}
.tour-route-progress>span{display:block;text-align:right;font-size:8px;margin-bottom:5px}
.tour-route-progress>div{display:flex;align-items:center;justify-content:space-between;gap:0;position:relative;height:8px}
.tour-route-progress>div:before{content:'';height:1px;background:var(--surface);position:absolute;left:0;right:0;top:4px}
.tour-route-progress i{z-index:1;flex:1;min-width:0;max-width:8px;height:8px;border-radius:50%;background:var(--surface);border:1px solid var(--surface)}
.tour-route-progress i.visited{background:var(--green)}
.tour-toolbar{display:block;margin:0 0 12px}
.tour-theme-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.tour-theme-heading h2{font-size:32px;font-weight:400;margin:0;line-height:1.3}
.tour-toolbar .along-open{border-radius:20px;background:var(--green);color:var(--surface);font-size:12px;font-weight:700;min-height:26px;width:96px;padding:4px 8px;text-decoration:none}
.tour-theme-copy p{font-size:12px;line-height:1.5;color:#333;margin:0 0 8px}
.tour-route-heading{margin:0 0 34px;color:var(--green)}
.tour-route-heading h1{font-size:24px;font-weight:400;line-height:1.3;margin:0 0 8px;overflow-wrap:anywhere}
.tour-route-metrics{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;line-height:1.5;margin:0}
.tour-route-actions>.card-actions{margin:0 0 10px}
#page-tour [data-message-type=route] .message-voice{margin:4px 0 10px}
#page-tour [data-message-type=route] [data-action=start-route]{display:none}
#page-tour [data-message-type=arrival]{display:none}
#page-tour [data-message-type=guidance]{margin:0}
#page-tour [data-message-type=guidance]>.bubble{border-radius:20px;overflow:hidden}
.guidance-panel{--guidance-media-height:clamp(80px,22vw,104px);display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:15px;align-items:center;padding:16px 16px 18px;background:var(--green);color:var(--surface);border-radius:20px 20px 0 0;min-height:113px}
.guidance-visuals{display:flex;gap:6px;min-width:0;align-items:stretch;height:var(--guidance-media-height)}
.guidance-map-open{background:none;border:0;padding:0;flex:1;min-width:0;display:block;cursor:zoom-in}
.guidance-panel .guidance-visuals .guidance-map{border:0;border-radius:6px;margin:0;height:100%;flex:1;min-width:0}
.guidance-panel .guidance-visuals .guidance-map svg{display:block;min-height:0;max-height:none;width:100%;height:100%;border:0;border-radius:0}
.guidance-visuals .guidance-map figcaption{display:none}
.guidance-image-dialog{width:min(92vw,520px);max-width:520px;max-height:88dvh;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--paper);overflow:auto}
#guidance-image-content{padding:0 18px 18px}
#guidance-image-content .guidance-map{margin:0}
#guidance-image-content .guidance-map svg{width:100%;height:auto;max-height:65dvh}
#guidance-image-content .guidance-map figcaption{display:none}
.guidance-visuals .destination-photos{flex:1.3;min-width:0;margin:0;background:none;border:0;padding:0}
.guidance-visuals .photo-section-label,.guidance-visuals figcaption{display:none}
.guidance-visuals .arrival-carrier-photos{display:block;height:100%;margin:0}
.guidance-visuals .tour-photo-tile{margin:0;height:100%}
.guidance-visuals .tour-photo-tile:not(:first-child){display:none}
.guidance-visuals .arrival-carrier-photos .exhibit-photo-button{width:100%;height:100%;padding:0;border:0;border-radius:6px;background:transparent}
/* The crop window keeps the reviewed photo ratio. Constraining the source img
   itself would distort its percentage-based crop and perspective correction. */
.guidance-visuals .arrival-carrier-photos .exhibit-photo-window{width:min(100%,calc(var(--guidance-media-height) * var(--photo-ratio)));height:auto;min-height:0;max-height:none;border:0;border-radius:0;background:var(--surface)}
.guidance-visuals .exhibit-photo{max-height:none}
/* Clear the legacy chat panel shell; the Figma card supplies its own surface. */
.guidance-panel .guidance-instructions{min-width:0;min-height:0;height:var(--guidance-media-height);max-height:var(--guidance-media-height);overflow-y:auto;overscroll-behavior:contain;padding:0 3px 0 0;border:0;border-radius:0;background:transparent;color:var(--surface);scrollbar-width:thin;scrollbar-color:var(--surface) transparent;scrollbar-gutter:auto;overflow-wrap:anywhere}
.guidance-panel .guidance-instructions h3{font-size:12px;color:inherit;line-height:1.4;margin:0 0 6px}
.guidance-panel .guidance-instructions p{font-size:12px;color:inherit;line-height:1.5;margin:0 0 7px}
.guidance-panel .guidance-instructions>:last-child{margin-bottom:0}
.guidance-panel .guidance-destination{min-width:0;align-self:center;overflow-wrap:anywhere;color:var(--surface)}
.guidance-panel .guidance-destination h3{font-size:13px;line-height:1.55;margin:0;color:inherit}
/* Adjacent-panel directions contain labels rather than a miniature SVG map. */
.guidance-panel:has(.adjacent-panel-map){grid-template-columns:minmax(0,1fr)}
.guidance-visuals:has(.adjacent-panel-map){height:auto;align-items:center}
.guidance-panel .guidance-visuals .adjacent-panel-map{height:auto}
.guidance-visuals:has(.adjacent-panel-map) .guidance-map-open{flex:2}
.guidance-visuals:has(.adjacent-panel-map) .destination-photos{flex:1}
.guidance-visuals:has(.adjacent-panel-map) .exhibit-photo-button{height:var(--guidance-media-height)}
.guidance-visuals .panel-neighbors{padding:6px;gap:4px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);border:0;border-radius:8px}
.guidance-visuals .adjacent-panel{padding:6px 4px;gap:4px;border-radius:6px}
.guidance-visuals .adjacent-panel span{font-size:10px}
.guidance-visuals .adjacent-panel strong{font-size:11px;line-height:1.5}
.guidance-visuals .adjacent-panel-arrow{font-size:18px}
#page-tour [data-message-type=guidance] .message-voice{padding:0 16px 4px;margin:0;background:var(--green);color:var(--surface)}
#page-tour [data-message-type=guidance] .message-voice-toggle{gap:9px;padding:8px 2px;min-height:44px;border:0;border-radius:0;background:none;color:var(--surface);font-size:12px;line-height:18px}
#page-tour [data-message-type=guidance] .message-voice-status{display:none}
.tour-footer-actions{gap:5px;margin:0;align-items:end;position:relative;padding-top:0}
.tour-footer-actions button{padding:5px 4px;font-size:12px;min-height:26px;flex:1;white-space:nowrap;font-weight:700;line-height:1.4}
.tour-guidance-controls{display:flex;flex:1;min-width:0;align-items:stretch;border-radius:24px;background:var(--green)}
.tour-footer-actions .tour-primary-button{flex:1;min-height:26px;border-radius:24px;display:flex;align-items:center;justify-content:center;gap:4px}
.tour-footer-actions .tour-primary-button span{font-size:18px;line-height:16px;font-weight:400}
.tour-footer-actions.is-guiding .tour-guidance-controls{position:relative;flex:2.15;min-height:40px;justify-content:center;border-radius:0 0 24px 24px}
/* Round the inward shoulders where the arrival tab meets the guidance card. */
.tour-footer-actions.is-guiding:not(.is-reviewing) .tour-guidance-controls::before,.tour-footer-actions.is-guiding:not(.is-reviewing) .tour-guidance-controls::after{content:"";position:absolute;top:0;width:12px;height:12px;pointer-events:none}
.tour-footer-actions.is-guiding:not(.is-reviewing) .tour-guidance-controls::before{right:100%;background:radial-gradient(circle at 0 100%,transparent 12px,var(--green) 12.5px)}
.tour-footer-actions.is-guiding:not(.is-reviewing) .tour-guidance-controls::after{left:100%;background:radial-gradient(circle at 100% 100%,transparent 12px,var(--green) 12.5px)}
.tour-footer-actions.is-guiding .tour-primary-button{flex:0 1 auto;min-width:0;min-height:40px;border-radius:0;background:transparent;font-size:12px;padding:5px 3px}
.tour-footer-actions :is(.tour-guide-back,.tour-guide-forward){flex:0 1 34px;min-width:26px;min-height:40px;padding:4px 0;font-size:28px;line-height:1;font-weight:400;background:transparent}
.tour-footer-actions :is(.tour-guide-back,.tour-guide-forward):disabled{opacity:.35}
.tour-footer-actions.is-reviewing .tour-primary-button{font-size:10px;padding:5px 1px}
.tour-guidance-review{font-size:11px;text-align:center;color:var(--green);margin:7px 0}
.tour-footer-actions .end-button{background:var(--green)}
.tour-primary-button:disabled{opacity:.6}
#conversation-shell:is([data-page=tour],[data-page=narration]) .chat-dock{min-height:38px;height:38px;padding:0;justify-content:center}
#conversation-shell:is([data-page=tour],[data-page=narration]) .chat-dock>.temple{width:75px;height:24px;top:10px;left:50%;right:auto;transform:translateX(-50%);background:var(--green)}
#conversation-shell:is([data-page=tour],[data-page=narration]) .chat-dock>.drawer-handle{width:160px;top:27px;opacity:1;height:5px}
#conversation-shell:is([data-page=tour],[data-page=narration]) .chat-dock>:not(.temple):not(.drawer-handle){display:none}
.along-dialog{width:calc(100% - 40px);max-width:360px;height:480px;max-height:calc(100dvh - 48px);overflow:hidden;background:#f8ecd0;border-radius:20px;padding:0}
.along-dialog::backdrop{background:#0008}
.along-dialog .along-body{display:flex;flex-direction:column;padding:0;height:100%;max-height:none;overflow:hidden}
.along-heading{flex:none;padding:24px 24px 0}
.along-dialog h2{font-size:32px!important;font-weight:400;letter-spacing:0;margin:0;line-height:1.35;color:#4e715a;outline:none}
.along-dialog .along-metrics{display:flex;align-items:baseline;gap:18px;margin:24px 0 15px;font-size:12px;font-weight:700;line-height:20px;color:#4e715a;white-space:nowrap}
.along-metrics>span{height:20px}
.along-metrics strong{font-size:16px;font-weight:700;color:#e1a134}
.along-list-viewport{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}
.along-list-viewport::-webkit-scrollbar,.along-photos::-webkit-scrollbar{display:none}
.along-dialog .along-stops{margin:0;padding:0 25px 24px 63px}
.along-dialog .along-stops li{position:relative;margin:0 0 12px;padding:0}
.along-dialog .along-stops li:before{content:'';position:absolute;left:-22px;top:50%;bottom:calc(-50% - 12px);width:2px;background:transparent url('/assets/figma/along-route/timeline.svg') repeat-y}
.along-dialog .along-stops li:last-child:before{display:none}
.along-dialog .along-stops li:after{content:'';position:absolute;left:-27.5px;top:calc(50% - 5.5px);width:11px;height:11px;border-radius:0;background:transparent url('/assets/figma/along-route/dot.svg') no-repeat}
.along-stop-card{min-height:147px;padding:13px 16px;border-radius:8px;background:#4e715a;color:#f8ecd0}
.along-dialog .map-stop-button{display:block;width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;text-align:left;color:#e1a134;font-size:12px;font-weight:700;line-height:15px}
.along-gallery{margin-top:6px}
.along-photos{display:flex;gap:4px;align-items:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none}
.along-photo{display:block;flex:none;width:calc(80px * var(--photo-ratio));min-width:0;margin:0;font-size:8px;line-height:10px}
/* Fix the viewport height, and derive width from the reviewed crop's aspect
   ratio rather than stretching differently shaped photos into equal columns. */
.along-photo>.exhibit-photo-window{width:100%;height:80px;min-height:0;max-height:none;border:0;border-radius:0;background:transparent;margin:0}
.along-photo .exhibit-photo{max-height:none}
.along-photo figcaption{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:8px;line-height:10px;color:#f8ecd0}
.along-photo-track{height:2px;margin-top:6px;position:relative;background:#f8ecd033}
.along-photo-track>span{position:absolute;left:var(--along-thumb-left,0%);top:0;height:100%;width:var(--along-thumb-width,100%);background:#f8ecd0}
.along-close{position:absolute;z-index:2;right:4px;top:4px;display:grid;place-items:center;width:32px;height:32px;min-height:32px;border:0;border-radius:50%;padding:0;background:#f8ecd0;color:#4e715a;font-size:22px;line-height:1;cursor:pointer}
.along-close:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.along-empty{padding:0 24px;font-size:14px}
@media(max-width:360px){.along-heading{padding-left:20px;padding-right:20px}.along-dialog h2{font-size:28px!important}.along-dialog .along-metrics{gap:10px}.along-dialog .along-stops{padding-left:50px;padding-right:20px}}
/* The temple extends above the card; photo windows handle their own clipping. */
#page-narration .narration-card{margin:0;overflow:visible}
.narration-card .narration-hero{padding:16px 10px 10px;margin:0 0 18px;min-height:406px}
.narration-hero:before{right:calc(50% - 42px)}
.narration-hero h3{font-size:24px!important;margin:0 0 12px!important}
.narration-hero .exhibit-photo-window{min-height:285px;max-height:320px;background:transparent}
.narration-card .narration-transcript{max-height:180px;overflow:auto;scrollbar-width:thin;padding-right:4px;overscroll-behavior:contain;font-size:17px;line-height:1.75;color:#333;gap:12px}
.narration-card .narration-transcript p{font-size:inherit;line-height:inherit;color:inherit;margin:0}
.narration-card .audio-row{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px 9px;min-height:100px;margin:18px 0 10px;color:var(--gold)}
.audio-timeline{display:flex;align-items:center;gap:8px;width:100%;font-size:12px;font-variant-numeric:tabular-nums}
.audio-timeline>span{min-width:36px;text-align:center}
.audio-seek{flex:1;min-width:0;width:100%;height:24px;min-height:24px;padding:0;margin:0;accent-color:var(--gold);cursor:pointer}
.audio-controls{display:grid;grid-template-columns:minmax(56px,1fr) repeat(3,40px) minmax(56px,1fr);align-items:center;gap:4px;width:100%;min-height:44px}
.audio-controls button{border:0;padding:0;background:none;color:var(--gold);min-height:44px}
.audio-controls .audio-sources{font-size:14px;justify-self:start;white-space:nowrap}
/* Center the painted icons in one row. The fallback text inside the play
   button must not create a second grid row above/below its pseudo-element. */
.audio-controls .audio-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:44px;border:0;border-radius:0;background:none;box-shadow:none;font-size:0;line-height:0;color:var(--gold)}
.audio-controls .audio-toggle::before{content:"";display:block;flex:none;width:22px;height:25px;background:url('/assets/figma/01977.svg') center/contain no-repeat}
.audio-controls .audio-toggle[aria-label="暂停讲解"]::before{width:16px;height:22px;background:linear-gradient(to right,var(--gold) 0 5px,transparent 5px 11px,var(--gold) 11px 16px)}
.audio-controls .audio-skip{display:flex;align-items:center;justify-content:center;min-width:0;width:40px;height:44px;line-height:0}
.audio-skip-symbol{position:relative;display:block;width:28px;height:28px}
.audio-skip-symbol>img{position:absolute;left:1.5px;top:1.5px;width:25px;height:25px}
.audio-forward .audio-skip-symbol>img{transform:scaleX(-1)}
.audio-skip-number{position:absolute;left:6px;top:6px;width:16px;font-family:var(--font-body);font-size:14px;font-weight:400;font-synthesis:none;line-height:16px;text-align:center}
.audio-controls .audio-rate{justify-self:end;border:0;background:transparent;color:var(--gold);font-size:14px;min-width:0;width:100%;max-width:64px;min-height:44px;height:44px;padding:0}
.audio-controls button:disabled{opacity:.4}
.narration-card>.foldout{margin:4px 0 12px}
.narration-card>.foldout:not([open]){display:none}
.narration-card>.card-actions{justify-content:center;gap:8px;margin:16px 0}
.narration-card>.card-actions button{min-height:36px;font-size:12px}
/* Image and transcript share one reader. The player and departure control
   keep their place while the complete reader scrolls above them. */
#page-narration{display:flex;flex-direction:column;overflow:hidden;padding-top:11px;padding-bottom:18px}
#page-narration>.narration-next-stop{display:flex;flex:none;align-self:center;align-items:center;justify-content:center;gap:6.4px;width:155px;height:36px;min-height:36px;margin:10px 0 0;padding:0;border:0;border-radius:20.8px;background:var(--gold);color:var(--surface);font-family:var(--font-body);font-size:12.8px;font-weight:700;line-height:16px}
.narration-next-icon{position:relative;display:block;flex:none;width:20.9401px;height:16px}
.narration-next-icon>img{position:absolute;left:50%;top:50%;display:block;width:14.5379px;height:20.9401px;max-width:none;transform:translate(-50%,-50%) rotate(-90deg);transform-origin:center}
#page-narration>.message:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
#page-narration>.message>.bubble{display:flex;flex-direction:column;flex:1;min-height:0}
#conversation-shell #page-narration .narration-card{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;padding:0;margin:0;gap:8px;overflow:visible}
#page-narration .narration-content-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;padding:24px 0 12px;scrollbar-width:thin;scrollbar-color:var(--gold) #d7d8ad80}
#page-narration .narration-hero{display:flex;flex-direction:column;flex:none;min-height:0;padding:16px 14px 10px;margin:0 0 18px}
#page-narration .narration-exhibition-brand{flex:none;align-self:flex-end;margin:0 3px 4px;color:var(--surface);text-align:right;pointer-events:none}
.narration-exhibition-brand strong{display:block;font-family:var(--font-display);font-size:32px;font-weight:400;font-synthesis:none;line-height:1}
.narration-exhibition-brand small{display:block;margin-top:4px;font-family:var(--font-body);font-size:8px;line-height:1.25}
#page-narration .narration-media{display:flex;flex-direction:column;flex:none;min-height:0;min-width:0;margin:0}
.narration-image-track{display:flex;flex:1;min-width:0;min-height:0;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:10px}
.narration-image-track::-webkit-scrollbar,.narration-image-dots::-webkit-scrollbar{display:none}
.narration-image-track.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
.narration-image-track.is-dragging .exhibit-photo-button{cursor:grabbing}
.narration-image-slide{display:flex;flex-direction:column;flex:0 0 100%;min-width:0;min-height:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
#page-narration .narration-image-track{flex:none;align-items:stretch}
#page-narration .narration-image-slide{height:auto}
#page-narration .exhibit-photo-button{display:grid;place-items:center;flex:none;width:100%;min-height:0;height:auto;aspect-ratio:var(--photo-ratio);padding:0;container-type:size;border:0;border-radius:0;background:transparent}
/* Fit the authored crop in both dimensions without stretching the photograph. */
#page-narration .exhibit-photo-window{width:min(100cqw,calc(100cqh * var(--photo-ratio)));height:auto;min-height:0;max-height:none;aspect-ratio:var(--photo-ratio)}
#page-narration .exhibit-photo-caption{flex:none;display:block;min-width:0;margin:8px 6px 0;color:var(--surface);font-family:var(--font-display);font-size:20px;line-height:1.35;font-synthesis:none;white-space:normal;overflow-wrap:anywhere}
.narration-image-dots{position:relative;display:flex;flex:none;max-width:100%;margin:0 auto;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.narration-image-dot{display:grid;place-items:center;flex:0 0 24px;width:24px;min-width:24px;min-height:28px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.narration-image-dot span{display:block;width:8px;height:8px;border-radius:50%;background:var(--surface);opacity:.4}
.narration-image-dot[aria-pressed=true] span{opacity:1}
#page-narration .narration-title{flex:none;margin:0 0 12px!important;color:var(--gold);font-family:var(--font-display);font-size:24px!important;font-weight:400;font-synthesis:none;line-height:1.2!important}
#page-narration .narration-content-scroll>.source-entry-label{margin:0 0 12px;font-size:12px}
#page-narration .narration-transcript{flex:none;min-height:0;max-height:none;overflow:visible;margin:0;padding-right:0}
#page-narration .audio-row{flex:none;min-height:88px;gap:4px;margin:0;padding:8px 9px}
#page-narration .playback-error{flex:none;margin:0!important}
#page-narration .narration-card>.foldout[open]{position:absolute;z-index:3;bottom:100px;left:0;right:0;max-height:calc(100% - 32px);overflow:auto;margin:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}
@media(max-width:374px){#page-tour,#page-narration{padding-left:26px;padding-right:26px}.tour-overview{height:365px;padding-left:12px;padding-right:12px}#conversation-shell:is([data-page=tour],[data-page=narration]) .experience-tabs{margin-left:26px;margin-right:26px}.guidance-panel{gap:10px;padding-left:10px;padding-right:10px}.audio-controls{grid-template-columns:minmax(56px,1fr) repeat(3,32px) minmax(56px,1fr);gap:2px}.audio-controls :is(.audio-toggle,.audio-skip){width:32px}.narration-hero h3{font-size:24px!important}}

/* The recap uses the same ticket, photo cards and section hierarchy as the
   Figma screen, while the figures and images still come from the visit. */
#page-review{overflow:hidden;padding:22px 21px 18px}
#page-review .message{height:100%;min-height:0;margin:0}
#page-review .message>.bubble{height:100%}
#conversation-shell[data-page="review"] #header-narrator{display:none}
#page-review .visit-recap{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;padding:0!important;margin:0;background:transparent;border:0;overflow:visible}
#page-review .recap-content-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:2px}
#page-review .recap-heading{display:flex;flex-direction:column;align-items:center;text-align:center;border:0;padding:0}
#page-review .recap-heading::before{content:'';display:block;width:83px;height:25px;background:var(--green);mask:url('/assets/figma/1122e.webp') center/contain no-repeat;-webkit-mask:url('/assets/figma/1122e.webp') center/contain no-repeat}
#page-review .recap-heading h2{margin:4px 0 0!important;font-size:48px!important;line-height:1.05!important;color:var(--green)}
#page-review .recap-heading h2 span{color:inherit}
#page-review .recap-metrics{position:relative;display:grid;grid-template-columns:39% minmax(0,1fr);grid-template-rows:repeat(3,auto);gap:8px 0;min-height:140px;margin:30px 0 0;padding:20px 0;border:0;border-radius:18px;background:var(--green)}
#page-review .recap-metrics::before,#page-review .recap-metrics::after{content:'';position:absolute;left:39%;width:32px;height:32px;border-radius:50%;background:var(--paper);transform:translateX(-50%)}
#page-review .recap-metrics::before{top:-16px}#page-review .recap-metrics::after{bottom:-16px}
#page-review .recap-metric{min-width:0;padding:0 16px 0 32px;border:0;border-radius:0;background:transparent}
#page-review .recap-metric:not(:first-child){display:flex;align-items:center;gap:10px}
#page-review .recap-metric:not(:first-child) dd strong{font-weight:400}
#page-review .recap-metric:first-child{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;justify-content:center;padding:0 12px 0 26px;border-right:1px dashed #f8ecd080}
#page-review .recap-metric:nth-child(2){grid-column:2;grid-row:3}#page-review .recap-metric:nth-child(3){grid-column:2;grid-row:1}#page-review .recap-metric:nth-child(4){grid-column:2;grid-row:2}
#page-review .recap-metric dt{flex:none;margin:0;color:var(--gold);font-size:12px;line-height:1.45}
#page-review .recap-metric dd{display:flex;min-width:0;margin:0;gap:4px;align-items:baseline;color:var(--surface);line-height:1.45}
#page-review .recap-metric:not(:first-child) dd{flex-wrap:wrap;gap:0;overflow-wrap:anywhere}
#page-review .recap-metric dd strong{font-size:16px;font-weight:600;color:var(--surface)}
#page-review .recap-metric:first-child dd{flex-wrap:wrap;gap:0 4px;margin-top:12px}
#page-review .recap-metric:first-child dd strong{font-size:clamp(28px,calc(144px / var(--recap-count-digits,1)),64px);line-height:1;overflow-wrap:normal}
#page-review .recap-metric dd span{color:var(--surface);font-size:16px}
#page-review .recap-photos h3,#page-review .recap-sites h3,#page-review .recap-stops summary{font-family:var(--font-display);font-weight:400;color:var(--gold);font-size:32px!important;line-height:1.3}
#page-review .recap-photos h3,#page-review .recap-sites h3{margin:24px 0 6px!important}
#page-review .recap-photo-grid{margin:0;padding:0;gap:12px}
#page-review .recap-photo-grid.related-exhibit-scroll>.tour-photo-tile{flex:0 0 calc(50% - 6px);padding:6px;border-radius:12px;background:var(--green)}
#page-review .recap-photo-grid.related-exhibit-scroll>.tour-photo-tile:only-child{flex-basis:50%}
#page-review .recap-photo-grid .exhibit-photo-button{height:86px;padding:0;overflow:hidden}
#page-review .recap-photo-grid figcaption{margin:0;padding:5px 3px 2px;color:var(--surface);font-size:13px;line-height:1.45}
#page-review .recap-sites-content{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
#page-review .recap-sites ul{min-width:0;margin:0;padding:0;gap:8px}
#page-review .recap-sites li{max-width:100%;overflow-wrap:anywhere;border:1px solid var(--gold);border-radius:16px;padding:4px 12px;background:transparent;color:var(--green);font-size:14px;line-height:1.45}
#page-review .recap-site-count{color:var(--muted);font-size:13px;white-space:nowrap}
#page-review .recap-sites-content p,#page-review .recap-empty{margin:0;font-size:14px;color:var(--muted)}
#page-review .recap-stops{margin-top:24px;padding-top:0;border:0}
#page-review .recap-stops summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
#page-review .recap-stops summary::-webkit-details-marker{display:none}
#page-review .recap-stops summary span{flex:none;font-family:var(--font-body);font-size:13px;color:var(--muted)}
#page-review .recap-stops ol{padding:0;margin:8px 0 0;list-style:none}
#page-review .recap-stop{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 84px;column-gap:14px;min-width:0;padding:0 0 14px 20px;color:var(--green);font-size:14px;line-height:1.45}
#page-review .recap-stop::before{content:'';position:absolute;z-index:1;left:4px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--green)}
#page-review .recap-stop:first-child::before{background:var(--gold)}
#page-review .recap-stop:not(:last-child)::after{content:'';position:absolute;left:6.5px;top:10px;bottom:-10px;width:1px;background:#ddd3b4}
#page-review .recap-stop-copy{min-width:0;overflow-wrap:anywhere}
#page-review .recap-stop-title{display:block}
#page-review .recap-stop small{display:block;margin:2px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
#page-review .recap-stop-time{display:block;min-width:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#page-review .recap-actions{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
#page-review .recap-actions .primary{width:100%;min-height:40px;margin:0;padding:8px 12px;background:var(--gold);border:0;border-radius:16px;color:var(--surface);font-size:16px}
@media(max-width:374px){
  #page-review .recap-heading h2{font-size:42px!important}
  #page-review .recap-metric:first-child dd strong{font-size:clamp(28px,calc(132px / var(--recap-count-digits,1)),52px)}
  #page-review .recap-photos h3,#page-review .recap-sites h3,#page-review .recap-stops summary{font-size:28px!important}
}

/* Figma chat drawer: a toolbar, a scrollable conversation, and a fixed composer.
   The plus menu is separate from the two suggested questions. */
.chat-backdrop[hidden],.chat-sheet[hidden],.chat-quick-menu[hidden]{display:none!important}
.chat-backdrop{position:absolute;inset:0;background:#203a2d66;z-index:20}
.chat-sheet{position:absolute;z-index:21;inset:0;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:inherit}
.chat-sheet .conversation-header{flex:none;min-height:44px;height:44px;padding:4px 16px;border:0;background:transparent}
.chat-sheet .conversation-header .icon-button{width:36px;min-width:36px;height:36px;min-height:36px;padding:7px}
.chat-sheet-content{position:relative;display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;border-radius:20px 20px 0 0;background:var(--surface);box-shadow:0 -3px 5px #4e715a40}
.chat-heading{position:relative;flex:none;height:62px;margin:0;padding:0;touch-action:none;user-select:none}
.chat-collapse{position:relative;display:block;width:100%;height:100%;padding:34px 0 4px;border:0;background:transparent;color:var(--green);cursor:pointer}
.chat-heading .temple{position:absolute;left:50%;right:auto;top:12px;transform:translateX(-50%);width:58px;height:20px}
.chat-heading .drawer-handle{position:absolute;left:50%;top:28px;transform:translateX(-50%);width:160px;height:5px;border-radius:3px;background:var(--green);opacity:1}
.chat-brand{display:flex;align-items:center;justify-content:center;gap:8px}
.chat-brand strong{color:var(--gold);font-size:24px;font-weight:400;line-height:1}
.chat-brand>.brand-slogan{font-size:18px;line-height:1.2;white-space:nowrap}
.chat-collapse:focus-visible,.chat-dock:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
.chat-dock{touch-action:none}
.chat-dock[data-pending=true]::after{content:'';position:absolute;top:7px;right:calc(50% - 51px);width:9px;height:9px;background:var(--gold);border:2px solid var(--paper);border-radius:50%}
#conversation-shell[data-chat-open=true] #timeline{flex:1;min-height:0;margin:0;padding:8px 24px 12px;border-radius:0;background:var(--surface);overflow-y:auto;overscroll-behavior:contain}
.chat-time{display:block;margin:0 0 16px;text-align:center;color:var(--green);font-size:14px;line-height:20px}
#timeline .message{position:relative;margin:0 0 28px;padding:8px 57px 0;min-width:0}
#timeline .message[data-role=user]{display:flex;justify-content:flex-end;margin-top:0}
#timeline .message .bubble{width:100%;max-width:240px;padding:12px;border-radius:8px;color:var(--surface);font-size:17px;line-height:1.65}
#timeline .message[data-role=user] .bubble{max-width:240px;background:var(--gold);border-radius:8px;padding:8px 12px}
#timeline .message[data-role=assistant]>.bubble{max-width:240px;background:var(--green);border-radius:8px;padding:12px}
#timeline .message-text{font-size:inherit;line-height:inherit}
#timeline .message[data-role=assistant]::before{content:'';position:absolute;left:0;top:0;width:48px;height:48px;border-radius:50%;background:var(--green)}
#timeline .message[data-role=assistant]::after{content:'';position:absolute;left:7px;top:17px;width:34px;height:14px;background:var(--surface);mask:url('/assets/figma/1122e.webp') center/contain no-repeat;-webkit-mask:url('/assets/figma/1122e.webp') center/contain no-repeat}
#timeline .message[data-role=user]::after{content:'';position:absolute;right:0;top:0;width:48px;height:48px;background:url('/assets/figma/ff0a2.svg') center/contain no-repeat}
#timeline .assistant-label{display:none}
#timeline .message[data-role=assistant] .attachment{background:var(--surface);border:0;border-radius:10px;padding:10px;color:var(--green);font-size:16px;line-height:1.6}
#timeline .message[data-role=assistant] .attachment p{color:var(--green);font-size:inherit;line-height:inherit}
#timeline .message[data-role=assistant] .bubble>.answer-exhibit-images figcaption{color:var(--surface)}
#timeline .message .foldout{color:inherit;font-size:16px;line-height:1.6}
#timeline .message .foldout summary{font-size:16px;line-height:1.5;min-height:44px;padding:8px 0}
#timeline .message .foldout :is(p,li,.source-entry-meta,.source-entry-label){font-size:inherit;line-height:inherit}
#timeline .message .foldout h4{font-size:16px;line-height:1.5}
/* Bibliographies need their own surface: the same citation component is also
   used inside dark chat bubbles and must never inherit dark-on-dark colors. */
.source-terms{background:var(--surface);color:#254b39;padding:12px 14px 12px 34px;border-radius:10px}
.source-terms :is(.source-entry h4,.source-entry-meta){color:#254b39;font-family:var(--font-body);font-size:16px;line-height:1.65;opacity:1}
.source-terms li::marker{color:#254b39}
#timeline .message .foldout summary::before{color:inherit}
#timeline .message .foldout .source-terms{color:#254b39;font-size:16px;line-height:1.65}
#timeline .message .foldout .source-terms :is(h4,p,li,.source-entry-meta){color:#254b39;font-size:16px;line-height:1.65;opacity:1}
.exhibit-search-result-list{display:flex;flex-direction:column;gap:8px;max-height:min(44dvh,360px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;margin-top:10px;padding-right:3px}
.exhibit-search-result{display:flex;align-items:center;gap:8px;flex:none;width:100%;min-width:0;min-height:86px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--green);text-align:left}
.exhibit-search-result[aria-pressed=true]{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.exhibit-search-thumb{display:grid;place-items:center;flex:none;width:68px;height:82px;overflow:hidden;border-radius:7px;background:var(--paper)}
.exhibit-search-thumb .exhibit-photo-window{display:block;width:min(68px,calc(82px * var(--photo-ratio)));height:auto;aspect-ratio:var(--photo-ratio)}
.exhibit-search-result-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.exhibit-search-result-copy strong{font-size:16px;line-height:1.45}.exhibit-search-result-copy small{font-size:13px;line-height:1.5}
.exhibit-search-select{flex:none;font-size:24px;line-height:1;color:var(--green)}
#timeline .itinerary-update-actions{max-width:240px;margin-top:8px}
#timeline .itinerary-guidance-link{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;border:0;border-radius:10px;background:var(--gold);color:#254b39;font-family:var(--font-body);font-size:16px;font-weight:700;line-height:1.5}
.selected-exhibit-card h3{font-family:var(--font-body);font-size:17px;line-height:1.5;margin:0 0 8px;color:var(--surface)}
.selected-exhibit-card .selected-exhibit-place{font-size:15px;line-height:1.6;margin:0}
.selected-exhibit-card .target-preview-media{margin:10px 0 0}.selected-exhibit-card .target-preview-media figcaption{display:none}
.selected-exhibit-card .exhibit-photo-button{display:flex;justify-content:flex-start;align-items:center;width:auto;max-width:100%;height:auto;min-height:0;padding:0;border:0;background:transparent;border-radius:8px;overflow:hidden}
.selected-exhibit-card .exhibit-photo-window{display:block;width:min(150px,calc(160px * var(--photo-ratio)));height:auto;aspect-ratio:var(--photo-ratio)}
#timeline .message .selected-exhibit-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:240px;margin:6px 0 0}
.selected-exhibit-actions button{min-width:0;min-height:44px;padding:6px 4px;border:0;border-radius:9px;background:var(--gold);color:var(--surface);font-family:var(--font-body);font-size:14px;line-height:20px;text-align:center;white-space:normal}
#timeline .chip{font-size:14px;min-height:40px;padding:6px 10px;background:var(--gold);color:var(--surface);border:0}
.chat-empty{text-align:center;padding:80px 12px;color:var(--green)}
.chat-empty strong{font-size:18px}.chat-empty p{font-size:14px;line-height:1.6;margin-top:12px}
.chat-shortcuts{flex:none;margin:0;padding:8px 37px 0;color:var(--green);background:var(--surface)}
.chat-question-options{display:flex;gap:8px}
.chat-question-options button{flex:1;min-width:0;min-height:44px;margin:0;padding:6px 8px;border:0;border-radius:10px;background:var(--gold);color:var(--surface);font-size:14px;line-height:20px;white-space:normal;overflow-wrap:anywhere}
#conversation-shell[data-chat-open=true] #composer{position:relative;flex:none;margin:0;padding:12px 24px max(10px,env(safe-area-inset-bottom));border:0;border-radius:0;background:var(--surface);z-index:2}
.composer-row{display:flex;gap:16px;align-items:flex-end}
.chat-input-field{position:relative;display:flex;align-items:flex-end;flex:1;min-width:0;min-height:36px;border:1px solid var(--gold);border-radius:20px;background:transparent}
.chat-plus{display:grid;place-items:center;flex:none;width:36px;min-width:36px;height:34px;min-height:34px;margin:0;padding:7px;border:0;border-radius:50%;background:transparent;color:var(--gold)}
.chat-plus svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
#message-input{display:block;flex:1;min-width:0;min-height:36px;max-height:104px;margin:-1px 0;border:0;border-radius:0 20px 20px 0;background:transparent;color:var(--green);font-size:16px;line-height:22px;padding:7px 10px 7px 0;box-shadow:none;outline:none;resize:none}
.chat-input-field:focus-within{outline:2px solid #e1a13450;outline-offset:1px}
#message-input::placeholder{color:transparent}
#voice-input,#send-message{display:grid;place-items:center;flex:none;min-width:36px;width:36px;min-height:36px;height:36px;margin:0;padding:7px;border:0;border-radius:50%;background:var(--gold);color:var(--surface)}
#voice-input{background:transparent url('/assets/figma/db038.svg') center/contain no-repeat}
#voice-input svg{display:none}
#voice-input[aria-pressed=true]{background:var(--gold)}
#voice-input[aria-pressed=true] svg{display:block;width:22px;height:22px}
#composer[data-mode=voice] #send-message,#composer:is([data-mode=send],[data-mode=stop]) #voice-input{display:none}
#send-message svg{width:22px;height:22px}
.chat-quick-menu{position:absolute;left:20px;bottom:calc(100% - 9px);width:109px;height:109px;display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:19px 14px 20px;background:url('/assets/figma/343e1.svg') center/100% 100% no-repeat;z-index:4}
.chat-quick-menu button{display:block;width:100%;min-height:27px;padding:2px 0;border:0;background:none;color:var(--green);font-size:16px;font-weight:700;line-height:23px;text-align:center;white-space:nowrap}
.chat-sheet .latest-message{bottom:calc(var(--composer-height) + 80px)}
@media(max-width:374px){
 #conversation-shell[data-chat-open=true] #timeline{padding-left:16px;padding-right:16px}
 #timeline .message{padding-left:49px;padding-right:49px}
 #timeline .message[data-role=assistant]::before,#timeline .message[data-role=user]::after{width:40px;height:40px}
 #timeline .message[data-role=assistant]::after{left:6px;top:14px;width:28px;height:12px}
 .chat-shortcuts{padding-left:24px;padding-right:24px}
 .chat-question-options button{font-size:14px}
 #conversation-shell[data-chat-open=true] #composer{padding-left:16px;padding-right:16px}
 .composer-row{gap:12px}.chat-quick-menu{left:12px}
}

/* iOS zooms focused fields smaller than 16px. Keep the rendered size safe even
   inside the scaled Figma entry canvas; leave manual/pinch zoom available. */
.entry-design-page{--editable-font-size:max(16px,calc(16px / var(--entry-scale,1)))}
#app-frame :is(textarea,select,input:where(:not([type]),[type=text],[type=search],[type=email],[type=tel],[type=url],[type=password],[type=number])){font-size:var(--editable-font-size,16px)!important}
@media(max-width:600px){
  /* Keep WebKit's focus scrolling out of the document. The app follows only
     the visible viewport; the conversation/form owns its own scrolling. */
  html,body{overscroll-behavior:none}
  body{position:fixed;inset:0;width:100%;min-height:0;align-items:start}
  #app-frame{position:fixed;top:var(--app-offset-top,0px);left:0;right:0;bottom:auto;height:var(--app-height);max-height:none;min-height:0;margin:0 auto}
  /* A short visible viewport needs room for the conversation and multiline
     input. Keep the toolbar and plus menu available while the keyboard is up. */
  html[data-compact-viewport] #conversation-shell .chat-sheet .conversation-header{height:44px;min-height:44px}
  html[data-compact-viewport] .chat-heading,html[data-compact-viewport] .chat-shortcuts{display:none}
}

@media(max-width:380px){.narrator-choice>img{width:48px;height:48px}.narrator-choice{gap:6px}.narrator-choice-name{font-size:15px}}
.exhibit-search-dialog{width:calc(100% - 28px);max-width:480px;max-height:88dvh;margin:auto;border:0;border-radius:22px;padding:18px;background:var(--surface);color:var(--green);overflow:auto}
.exhibit-search-dialog .dialog-header{padding:0 0 10px;align-items:center;border:0}.exhibit-search-dialog h2{font-family:var(--font-body);font-size:20px;margin:0}.exhibit-search-dialog [data-close-exhibit-search]{min-width:40px;min-height:40px;padding:4px;border:0;border-radius:50%;background:transparent;font-size:27px;color:var(--green)}
.exhibit-search-dialog>p{font-size:15px;line-height:1.6;margin:4px 0 12px}.exhibit-directory-search{display:flex;gap:8px;margin:0 0 10px}.exhibit-directory-search input{flex:1;min-width:0;width:100%;height:44px;border:1px solid var(--green);border-radius:22px;background:transparent;padding:8px 14px;font:16px/1.5 var(--font-body);color:var(--green)}.exhibit-directory-search button{min-width:58px;min-height:44px;border:0;border-radius:22px;padding:8px 12px;background:var(--green);color:var(--surface);font:15px/1.5 var(--font-body)}
.exhibit-search-dialog .exhibit-search-result-list{max-height:52dvh;margin-top:0}.exhibit-search-dialog [data-exhibit-search-status]{font-size:14px;margin-bottom:10px}.original-route-return h3{font-family:var(--font-body);color:var(--surface);font-size:18px;margin:14px 0 5px}.original-route-return>p{margin:0 0 10px;font-size:16px}.original-return-choices{display:flex;flex-direction:column;gap:8px}.original-return-choices button{display:flex;align-items:flex-start;flex-direction:column;gap:3px;min-height:58px;padding:10px 12px;border:0;border-radius:12px;background:var(--surface);color:var(--green);font:16px/1.5 var(--font-body);text-align:left;overflow-wrap:anywhere}.original-return-choices button span{font-size:14px}.original-return-choices button strong{font-size:16px}.original-return-choices button:disabled{opacity:.5}
/* Route planning owns the map surface, including its progress and recovery. */
.tour-overview[data-planning=true]{opacity:.55}
#experience-status[data-planning-state=notice]{max-height:min(38dvh,300px);padding:10px 24px}
#experience-status[data-planning-state=notice] .message{margin:0}
.route-origin-dialog{width:calc(100% - 32px);max-width:440px;max-height:88dvh;margin:auto;padding:20px;border:0;border-radius:22px;background:var(--surface);color:var(--green);overflow:auto}
.route-origin-dialog .dialog-header{padding:0 0 12px;border:0}.route-origin-dialog h2{margin:0;font:700 20px/1.5 var(--font-body)}.route-origin-dialog [aria-label="关闭起点确认"]{border:0;border-radius:50%;background:transparent;min-width:40px;min-height:40px;color:var(--green);font-size:26px}.route-origin-dialog p{font-size:16px;line-height:1.7;margin:0 0 14px}.route-origin-dialog .exhibit-photo-window{display:block;width:min(100%,calc(240px * var(--photo-ratio)));height:auto;aspect-ratio:var(--photo-ratio);margin:0 auto 16px}.route-origin-dialog .route-origin-error{color:var(--danger)}
