
.atlas-root{--ink:#151d38;--muted:#4b5572;--line:#d2d9ea;--paper:#f8faff;--flare:#f86146;--night:#101831;--dusk:#192a55;--ice:#b9ccff;color:var(--ink);background:var(--paper);font:16px/1.62 system-ui,"Microsoft YaHei",sans-serif;isolation:isolate;border:1px solid var(--line);overflow:clip;margin:0 0 34px}
.atlas-root *, .atlas-root *::before,.atlas-root *::after{box-sizing:border-box}
.atlas-root [hidden]{display:none!important}
.atlas-root a{color:#294da5;text-underline-offset:.18em}
.atlas-root :is(a,button,summary):focus-visible{outline:3px solid #709bff;outline-offset:3px}
.atlas-root button{font:inherit;cursor:pointer}
.atlas-root :is(h1,h2,h3,p,figure,dl){margin:0}
.atlas-root .wrap{width:100%;margin-inline:auto;max-width:1310px;padding-inline:clamp(16px,3.4vw,46px)}
.atlas-root .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.atlas-root .mast{color:#ecf1ff;background:#101831;border-bottom:1px solid #364264}
.atlas-root .mast-inner{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.atlas-root .wordmark{display:flex;align-items:center;gap:8px;color:white;text-decoration:none;font-size:.91rem;font-weight:780;white-space:nowrap}
.atlas-root .seal{width:29px;height:29px;display:grid;place-items:center;background:var(--flare);color:#111831;font:700 17px/1 Georgia,KaiTi,serif}
.atlas-root nav,.atlas-root .langs,.atlas-root .hero-actions{display:flex;gap:clamp(7px,1.3vw,20px);flex-wrap:wrap;align-items:center}
.atlas-root nav a{color:#dee7ff;text-decoration:none;font-size:.83rem;font-weight:670}
.atlas-root nav a:hover{text-decoration:underline}
.atlas-root .langs{gap:1px;flex-wrap:nowrap;border:1px solid #46577f;border-radius:3px;padding:3px}
.atlas-root .langs button{border:0;background:none;color:#e8edff;padding:6px 7px;font-size:.79rem;white-space:nowrap}
.atlas-root .langs button[aria-pressed=true]{color:#0e1833;background:#c8d7ff}
.atlas-root .lang-small{display:none}
.atlas-root .hero{display:grid;grid-template-columns:minmax(245px,.83fr) minmax(0,1.34fr);align-items:center;gap:clamp(20px,3vw,48px);padding-block:clamp(24px,5.1vw,68px);background:var(--night);color:white;max-width:none}
.atlas-root .hero .edition{color:#ff8c76;font-size:.8rem;font-weight:820;letter-spacing:.105em}
.atlas-root .hero h1{font:700 clamp(50px,7.1vw,104px)/.99 Georgia,"Noto Serif CJK SC",SimSun,serif;letter-spacing:-.05em;margin:15px 0 18px;color:#f8f9ff;text-wrap:balance}
.atlas-root .hero h1 span{display:block;white-space:nowrap}
.atlas-root:not([lang=zh-Hans]) .hero h1{font-size:clamp(45px,5.5vw,80px);line-height:.98}
.atlas-root .hero .dek{color:#d0dcfa;font-size:clamp(.98rem,1.5vw,1.11rem);max-width:35ch}
.atlas-root .hero-actions{margin-top:24px}
.atlas-root .cta,.atlas-root .hero-side{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;background:var(--flare);color:#15172b;text-decoration:none;font-weight:830;font-size:.9rem}
.atlas-root .hero-side{color:#e7efff;background:none;border:1px solid #66739a}
.atlas-root .cta:hover{background:#ff907e}
.atlas-root .atlas-kicker{display:block;padding-top:17px;color:#aebff0;font-size:.76rem;font-weight:690;letter-spacing:.065em}
.atlas-root img{display:block;max-width:100%;width:100%;object-fit:cover}
.atlas-root .hero-fig{position:relative}
.atlas-root .hero-fig img{aspect-ratio:1.47;max-height:560px;object-position:center;background:#1b345c}
.atlas-root .hero-fig figcaption{display:flex;gap:14px;justify-content:space-between;color:#b6c6ef;background:#172244;padding:7px 11px}
.atlas-root figure figcaption{font-size:.76rem;color:var(--muted)}
.atlas-root .chapter{padding-block:clamp(35px,5.5vw,68px);scroll-margin-top:12px}
.atlas-root .chapter+.chapter{border-top:1px solid var(--line)}
.atlas-root .chapter-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:baseline;margin-bottom:clamp(14px,3vw,28px)}
.atlas-root .number{color:#274c9b;font:750 13px/1 monospace;letter-spacing:.02em;border-top:2px solid var(--flare);padding-top:8px}
.atlas-root h2{font:700 clamp(31px,4.65vw,58px)/1.08 Georgia,"Noto Serif CJK SC",SimSun,serif;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.atlas-root .chapter-head p{margin-top:9px;color:var(--muted);max-width:65ch}
.atlas-root #atlas-exhibit{background:#e7edff}
.atlas-root .map-grid{display:grid;grid-template-columns:minmax(0,1.31fr) minmax(0,.95fr);gap:clamp(16px,3vw,38px);align-items:start}
.atlas-root .legend{display:flex;flex-wrap:wrap;gap:4px 12px;padding:0 0 8px;border-bottom:1px solid var(--line)}
.atlas-root .legend button{background:none;color:#26334f;border:0;border-bottom:2px solid transparent;padding:7px 0;font-size:.91rem;font-weight:720;min-height:40px}
.atlas-root .legend button[aria-pressed=true]{color:#1d469e;border-bottom-color:var(--flare)}
.atlas-root .map-reading{display:none}
.atlas-root .scene{position:relative;min-width:0}
.atlas-root .wm-baidu{position:relative;isolation:isolate;height:clamp(360px,39vw,500px);border:1px solid #b6c5ef;overflow:hidden}
.atlas-root .wm-baidu.wm-loading{position:absolute;inset:0;visibility:hidden;pointer-events:none}
.atlas-root .wm-toolbar{display:flex;justify-content:flex-end;padding:4px 0}
.atlas-root .wm-tilt{background:none;color:#234798;border:0;border-bottom:1px solid #819bdc;font-size:.79rem;padding:4px 1px}
.atlas-root .wm .wm-caption,.atlas-root .wm .wm-hint{color:var(--muted)}
.atlas-root .wm .wm-caption a{color:#294da5}
.atlas-root .wm .wm-marker{background:#243e83}
.atlas-root .wm .wm-marker[aria-pressed=true]{background:#a13327}
.atlas-root .stop{display:flex;flex-flow:column-reverse;gap:14px}
.atlas-root .stop figure img{aspect-ratio:2.18;background:#dce6ff}
.atlas-root .stop figure figcaption{padding-top:3px}
.atlas-root .stop h3{font:700 clamp(26px,3.05vw,44px)/1.13 Georgia,"Noto Serif CJK SC",SimSun,serif;color:var(--ink)}
.atlas-root .stop-copy>.edition,.atlas-root .pronunciation{color:#36569a;font-weight:710}
.atlas-root .parallel-names{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin-block:7px;padding-block:5px;border-block:1px solid var(--line);font-size:.86rem}
.atlas-root .parallel-names dt{font-weight:735}.atlas-root .parallel-names dd{margin:0}
.atlas-root .stop-copy>p:not([id=stop-label]){margin-block:5px 8px}
.atlas-root .stop-meta{display:flex;flex-wrap:wrap;gap:7px 11px;align-items:center;font-size:.83rem}
.atlas-root .replay,.atlas-root .editor-audio{background:#e5ecff;color:#1b3a79;border:1px solid #94a9d9;border-radius:3px;padding:6px 9px;font-size:.84rem;font-weight:730;min-height:38px}
.atlas-root .observe{padding:8px 11px;border-left:3px solid #466ed6;background:#e9efff}
.atlas-root .useful-phrase,.atlas-root .stop-lexicon{font-size:.9rem}
.atlas-root .stop-lexicon{display:flex;flex-wrap:wrap;gap:4px 12px}
.atlas-root .note{font-size:.75rem;color:var(--muted);margin:5px 0}
.atlas-root .story-grid,.atlas-root .editor-lab,#studio .atlas-root #questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(15px,3vw,32px)}
.atlas-root .story-grid video{width:100%;display:block;aspect-ratio:16/9;background:#121935}
.atlas-root .story-grid .replay{margin-block:5px}
.atlas-root .comic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px}
.atlas-root .comic-grid img{aspect-ratio:1.63}
.atlas-root .editor-lab{grid-template-columns:minmax(0,1.19fr) minmax(0,.81fr)}
.atlas-root .editor-lab>div{padding:clamp(12px,2.2vw,24px);background:#edf2ff;border-top:2px solid #607edf}
.atlas-root .editor-lab>div+div{background:#172543;color:#f0f4ff;border-color:var(--flare)}
.atlas-root .editor-kicker{display:block;color:#2c4d9e;font-size:.8rem;font-weight:830;margin-bottom:4px}
.atlas-root .editor-lab>div+div .editor-kicker{color:#ffad9d}
.atlas-root .editor-audience{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0}
.atlas-root .editor-audience button,.atlas-root .quiz-card button{color:#132e66;border:1px solid #879ed6;background:#f9faff;padding:6px 9px;border-radius:3px;text-align:left;font-size:.9rem}
.atlas-root .editor-audience button[aria-pressed=true],.atlas-root .quiz-card button[aria-pressed=true]{color:white;background:#2d4e9e;border-color:#2d4e9e}
.atlas-root .editor-lab>div+div button[aria-pressed=true]{color:#151b32;background:#ff9a86;border-color:#ff9a86}
.atlas-root .editor-lab blockquote{margin:12px 0 9px;font:500 clamp(1.12rem,2.1vw,1.47rem)/1.52 Georgia,KaiTi,serif}
.atlas-root #editor-difference,.atlas-root #editor-feedback{font-size:.88rem;margin-top:7px}
.atlas-root #editor-transfer{margin:13px 0}
.atlas-root .quiz-card{border-top:1px solid #9fb0da;padding:11px 0}
.atlas-root .quiz-card button{margin:4px 5px 4px 0}.atlas-root .q-note{min-height:1.5em}
.atlas-root .footer{border-top:1px solid var(--line);padding-block:20px 24px}
.atlas-root .footer details{margin:10px 0;font-size:.85rem}
.atlas-root .final{background:#1c2d58;color:#f0f3ff;padding:13px 17px;display:flex;gap:13px;flex-wrap:wrap;align-items:center;justify-content:space-between}
#studio #atlas-sample{padding:0}html[data-class-page=studio] #studio>.class-masthead{border-bottom:0;padding-top:16px;padding-bottom:12px}#studio #studio-title{font-family:system-ui,"Microsoft YaHei",sans-serif;letter-spacing:-.025em}
@media(max-width:800px){.atlas-root .mast nav{display:none}.atlas-root .hero{gap:19px}.atlas-root .map-grid{grid-template-columns:1fr}.atlas-root .map-reading{display:inline-block;margin:5px 0}.atlas-root .stop figure img{aspect-ratio:2.7}}
@media(max-width:570px){.atlas-root .hero,.atlas-root .story-grid,.atlas-root .editor-lab,#studio .atlas-root #questions{grid-template-columns:1fr}.atlas-root .hero h1{font-size:clamp(43px,11vw,67px)}.atlas-root .hero-fig img{aspect-ratio:1.57}.atlas-root .wm-baidu{height:343px}.atlas-root .hero-actions{margin-top:14px}.atlas-root .atlas-kicker{padding-top:9px}.atlas-root .wordmark span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.atlas-root *{scroll-behavior:auto!important}}


.atlas-root .postcard-grid{display:grid;grid-template-columns:minmax(200px,.75fr) minmax(0,1.25fr);gap:clamp(15px,4vw,42px);align-items:start}.atlas-root .postcard-grid canvas{display:block;width:100%;height:auto;background:#111b35}.atlas-root .postcard-form label{display:block;font-size:.85rem;font-weight:770;margin:8px 0 4px}.atlas-root .postcard-form :is(textarea,select){display:block;width:100%;border:1px solid #8297cb;background:white;padding:8px;color:#172546;font:inherit;border-radius:3px}.atlas-root .cta{border:0}.atlas-root .postcard-form .hero-actions{margin-top:12px}@media(max-width:640px){.atlas-root .postcard-grid{grid-template-columns:1fr}}

/* Exhibit typography and readable live-map composition. */
.atlas-root .chapter-head{display:block;margin-bottom:25px}
.atlas-root .chapter-head h2{font-size:clamp(32px,4.1vw,54px);line-height:1.13;letter-spacing:.015em}
.atlas-root[lang=zh-Hans] .chapter-head h2,.atlas-root[lang=zh-Hans] .hero h1,.atlas-root[lang=zh-Hans] .stop h3{font-family:"STKaiti","KaiTi","Kaiti SC","Noto Serif CJK SC",serif;font-weight:700}
.atlas-root[lang=zh-Hans] .chapter-head h2{letter-spacing:.06em}
.atlas-root .chapter-head p{margin-top:6px;line-height:1.45;font-size:clamp(1rem,1.45vw,1.15rem);max-width:50ch}
.atlas-root[lang=zh-Hans] .chapter-head p{font-family:"STKaiti","KaiTi","Kaiti SC",serif;letter-spacing:.04em}
.atlas-root .map-tools{display:flex;gap:10px 18px;align-items:center;flex-wrap:wrap;margin:0 0 15px}
.atlas-root .map-tools .langs{border-color:#bec9df;padding:3px;gap:2px}
.atlas-root .map-tools .langs button{color:#263455;border-radius:2px;min-height:34px;padding:4px 10px}
.atlas-root .map-tools .langs button[aria-pressed=true]{color:#fff;background:#233866}
.atlas-root .map-grid{grid-template-columns:minmax(0,1.46fr) minmax(0,1fr);gap:clamp(20px,3.8vw,48px)}
.atlas-root .map-grid .stop{flex-flow:column;gap:12px;border-left:1px solid #d7dfef;padding-inline-start:clamp(15px,2.65vw,34px)}
.atlas-root .stop-copy>.edition{color:#455f91;letter-spacing:.08em;font-size:.8rem;margin:1px 0 7px}
.atlas-root .stop-copy>p[id="stop-details"]{font-size:1.02rem;line-height:1.64;margin:14px 0 12px}
.atlas-root .stop-copy>p[id="stop-pinyin"]{margin:4px 0 12px}
.atlas-root #stop-names-detail,.atlas-root #stop-notes{border-top:1px solid #d7dfef;padding:6px 0;margin:5px 0}
.atlas-root :is(#stop-names-detail,#stop-notes) summary{font-size:.83rem;font-weight:680;color:#294677;cursor:pointer}
.atlas-root .parallel-names{border-bottom:0}
.atlas-root #stop .useful-phrase{padding:9px 0;border-block-start:1px solid #d7dfef;line-height:1.6;font-size:.90rem}
.atlas-root #stop .useful-phrase strong{color:#294677;display:block}
.atlas-root .atlas-to-work{display:inline-block;color:#cedcff;margin-top:12px;font-size:.85rem}
.atlas-root .wm-gate{display:grid;place-content:center;justify-items:center;gap:9px;text-align:center;min-height:220px;padding:18px;color:#253d68;background:#edf2ff}
.atlas-root .wm-offline{border:1px solid #99abd4;background:white;color:#263a62;font-size:.83rem;padding:5px 8px}
.atlas-root .atlas-file-launch{font-size:.83rem}
.atlas-root .wm-caption{gap:.35rem .8rem}
@media(max-width:800px){.atlas-root .map-grid{grid-template-columns:1fr}.atlas-root .map-grid .stop{border-left:0;border-top:1px solid #d7dfef;padding-inline-start:0;padding-block-start:13px}.atlas-root .map-tools .langs button{padding-inline:8px}.atlas-root .chapter-head h2{font-size:clamp(28px,7.5vw,45px)}}

/* Stop the classroom header theme from leaking into the midnight exhibit. */
#studio #atlas-sample .hero #title, #studio #atlas-sample .hero #title span{color:#f8f9ff!important;text-shadow:none!important}
#studio #atlas-sample .hero #title{max-width:100%;font-size:clamp(45px,6.1vw,88px);line-height:1.04;letter-spacing:.002em}
#studio #atlas-sample[lang=zh-Hans] .hero #title span{white-space:normal}
#studio #atlas-sample:not([lang=zh-Hans]) .hero #title{font-size:clamp(42px,4.9vw,72px)}
#studio #atlas-sample .hero .dek{color:#d8e2ff!important;line-height:1.62}
#studio #atlas-sample .hero .edition{color:#ffa28f!important;font-weight:690}
#studio #atlas-sample .hero-side{color:#eef3ff!important}
#studio #atlas-sample .hero .cta{color:#15172b!important}
@media(max-width:580px){#studio #atlas-sample .hero #title{font-size:clamp(43px,10vw,60px)}}

#studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(40px,5vw,70px);letter-spacing:0;line-height:1.11}
#studio #atlas-sample[lang=zh-Hans] .hero #title span{white-space:nowrap}
#studio #atlas-sample .hero-fig figcaption a{color:#c2d2ff;text-decoration:underline}
#studio>.class-masthead #studio-title{font-size:clamp(1.35rem,3.4vw,2.35rem);line-height:1.14}

/* Editorial atlas: content stands as an exhibition rather than another classroom hero. */
#studio #atlas-sample{--ink:#17232f;--paper:#fff;--muted:#475c69;--line:#dce3e6;background:#fff;border:0;margin-block:14px 42px}
#studio #atlas-sample .mast{background:#fff;color:#17232f;border-bottom:1px solid #dce3e6}
#studio #atlas-sample .mast-inner{min-height:59px}
#studio #atlas-sample .mast .wordmark{color:#1b2d36;letter-spacing:.055em}
#studio #atlas-sample .mast nav a{color:#263b48;padding:12px 2px}
#studio #atlas-sample .mast .langs{border:1px solid #d2dbdf}
#studio #atlas-sample .mast .langs button{color:#263b48}
#studio #atlas-sample .mast .langs button[aria-pressed=true]{background:#183b45;color:white}
#studio #atlas-sample .hero{background:#fff;color:#17232f;grid-template-columns:minmax(0,1.05fr) minmax(0,.73fr);gap:22px clamp(24px,4vw,70px);align-items:end;padding-block:clamp(26px,5.5vw,60px) 0}
#studio #atlas-sample .hero .edition{color:#596c75!important;letter-spacing:.10em;font-weight:720;margin-bottom:9px}
#studio #atlas-sample .hero #title,#studio #atlas-sample .hero #title span{color:#17232f!important}
#studio #atlas-sample .hero #title{margin:0;font-size:clamp(43px,5.7vw,76px);line-height:1.05;letter-spacing:-.035em}
#studio #atlas-sample[lang=zh-Hans] .hero #title{font:700 clamp(47px,6.1vw,86px)/1.00 SimSun,"Noto Serif CJK SC",serif;letter-spacing:-.027em}
#studio #atlas-sample[lang=zh-Hans] .hero #title span+span{font-family:KaiTi,SimSun,serif;font-weight:700;margin-top:.055em;letter-spacing:.015em}
#studio #atlas-sample:not([lang=zh-Hans]) .hero #title{font-family:"Times New Roman",Georgia,serif;letter-spacing:-.04em}
#studio #atlas-sample .hero .dek{color:#394e59!important;max-width:40ch;font-size:clamp(1rem,1.4vw,1.1rem);line-height:1.68}
#studio #atlas-sample .hero-actions{margin:13px 0 0;gap:7px 16px}
#studio #atlas-sample .hero .cta{background:#193b45;color:#fff!important;padding:9px 15px;line-height:1.1}
#studio #atlas-sample .hero-side{color:#193b45!important;border:0;border-bottom:1px solid #8ca6ab;padding:2px 0;min-height:28px}
#studio #atlas-sample .atlas-to-work{color:#3b5660;margin:9px 0 2px;text-underline-offset:.22em}
#studio #atlas-sample .hero-fig{grid-column:1/-1}
#studio #atlas-sample .hero-fig img{width:100%;height:clamp(285px,32vw,460px);aspect-ratio:auto;object-fit:cover;object-position:center 67%;background:#dbe5e8}
#studio #atlas-sample .hero-fig figcaption{background:white;color:#455a66;padding:6px 0;flex-wrap:wrap}
#studio #atlas-sample .hero-fig figcaption a{color:#375763}
#studio #atlas-sample #atlas-exhibit{background:#f1f6f5}
#studio #atlas-sample .chapter-head h2{color:#182d37}
#studio #atlas-sample[lang=zh-Hans] .chapter-head h2{font-family:SimSun,"Noto Serif CJK SC",serif;letter-spacing:.025em}
#studio #atlas-sample[lang=zh-Hans] .chapter-head p{font-family:system-ui,"Microsoft YaHei",sans-serif;letter-spacing:.01em;color:#4c625e}
#studio #atlas-sample .chapter-head h2{font-size:clamp(31px,4.1vw,58px);line-height:1.12}
#studio #atlas-sample .chapter-head{margin-bottom:21px}
#studio #atlas-sample #postcard{background:#f6f8f8}
#studio #atlas-sample .postcard-grid{grid-template-columns:minmax(180px,.72fr) minmax(0,1.35fr)}
#studio #atlas-sample :is(.postcard-form,.editor-lab) label{color:#1e3740}
#studio #atlas-sample .postcard-form :is(textarea,select){border-color:#97aaac}
#studio #atlas-sample .postcard-form .cta{background:#193b45;color:white}
#studio #atlas-sample .map-tools .langs button[aria-pressed=true]{background:#193b45;color:white}
#studio #atlas-sample .map-grid .stop{border-color:#d9e4e5}
#studio #atlas-sample .stop h3{color:#19343c}
#studio #atlas-sample .stop-copy>.edition,#studio #atlas-sample .pronunciation{color:#42616b}
#studio #atlas-sample :is(.replay,.editor-audio){background:#edf4f2;border-color:#9aafa9;color:#21434a}
#studio #atlas-sample .editor-lab>div{background:#eef4f2;border-color:#6a8e87}
#studio #atlas-sample .editor-lab>div+div{background:#213b43;color:#f3fbf9;border-color:#a6574b}
@media(max-width:650px){
 #studio #atlas-sample .hero,#studio #atlas-sample .postcard-grid{grid-template-columns:1fr}
 #studio #atlas-sample .hero{gap:12px;padding-top:25px}
 #studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(43px,10.5vw,66px)}
 #studio #atlas-sample .hero-fig img{height:clamp(230px,70vw,405px)}
 #studio #atlas-sample .hero-actions{margin-top:10px}
 #studio #atlas-sample .mast .wordmark span:last-child{display:initial}
 #studio #atlas-sample .mast .wordmark{white-space:normal;font-size:.79rem}
}

/* Main image starts the story, with a short caption and one clear invitation. */
#studio #atlas-sample{margin-top:7px}
#studio #atlas-sample .hero{padding-top:0;display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:14px 42px;align-items:center}
#studio #atlas-sample .hero-fig{grid-column:1/-1;grid-row:1;margin:0}
#studio #atlas-sample .hero-fig img{height:clamp(252px,29vw,390px);object-fit:cover;object-position:51% 52%}
#studio #atlas-sample .hero-text{padding-block:0 13px}
#studio #atlas-sample .hero .edition{margin:0 0 7px;letter-spacing:.065em}
#studio #atlas-sample[lang=zh-Hans] .hero #title{font-family:SimSun,"Noto Serif CJK SC",serif;font-size:clamp(36px,4.2vw,57px);line-height:1.13;letter-spacing:.012em;font-weight:700}
#studio #atlas-sample:not([lang=zh-Hans]) .hero #title{font-size:clamp(35px,4.2vw,60px);line-height:1.02}
#studio #atlas-sample .hero-brief{padding-block:0 12px}
#studio #atlas-sample .hero-brief .dek{color:#334954!important;line-height:1.56}
#studio #atlas-sample .hero-fig figcaption{padding-block:5px;color:#4e626b}
#studio #atlas-sample .hero-brief .atlas-to-work{margin-top:6px}
@media(max-width:650px){
 #studio #atlas-sample .hero{grid-template-columns:1fr;gap:9px}
 #studio #atlas-sample .hero-fig img{height:clamp(205px,59vw,310px)}
 #studio #atlas-sample .hero-text{padding-bottom:0}
 #studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(32px,8.8vw,53px)}
}

#studio #atlas-sample .postcard-form input{width:100%;border:1px solid #97aaac;border-radius:3px;background:#fff;padding:8px;font:inherit;color:#172546}
#studio #atlas-sample #postcard-options{border-top:1px solid #cdd8d9;padding-block:7px;margin-top:9px}
#studio #atlas-sample #postcard-options summary{cursor:pointer;font-size:.88rem;color:#37545c}

#studio #atlas-sample .wm-inline-frame{border:0;display:block;width:100%;height:490px}
#studio #atlas-sample .wm-inline-frame[hidden]{display:none}
#studio #atlas-sample .wm-inline-status{font-size:.84rem;padding:7px 0;color:#395762}

#studio #atlas-sample .stop h3{font-family:SimSun,'Noto Serif CJK SC',serif;font-size:clamp(22px,2.45vw,36px);text-wrap:balance;line-height:1.2}
#studio #atlas-sample #stop-extra[hidden]{display:none}

/* The showcase is part of the classroom, not a second framed page. */
html[data-class-page=studio] body,html[data-class-page=studio] #classroom-student{background:#fff}
html[data-class-page=studio] #classroom-student{width:100%;max-width:none;padding-inline:clamp(12px,3.4vw,56px)}
html[data-class-page=studio] #classroom-student>.bar{max-width:1290px;margin-inline:auto}
html[data-class-page=studio] #studio{max-width:1290px;margin-inline:auto}
#studio #atlas-sample{margin-top:0!important}
#studio #atlas-sample .mast-inner{min-height:57px;padding-inline:clamp(10px,2vw,25px)}
#studio #atlas-sample .hero{padding:0;grid-template-columns:minmax(0,1fr) minmax(0,.6fr);gap:14px clamp(15px,4vw,80px)}
#studio #atlas-sample .hero-fig img{height:clamp(245px,36vw,510px);object-position:50% 54%;filter:none}
#studio #atlas-sample .hero-fig figcaption{padding:6px 7px 0}
#studio #atlas-sample .hero-text,#studio #atlas-sample .hero-brief{padding-inline:clamp(4px,2vw,28px)}
#studio #atlas-sample .hero .edition{display:none}
#studio #atlas-sample .hero #title{font-size:clamp(33px,4.4vw,66px)}
#studio #atlas-sample[lang=zh-Hans] .hero #title{font-family:"Noto Serif SC","Source Han Serif SC",SimSun,serif;font-weight:600;letter-spacing:-.02em}
#studio #atlas-sample .hero-brief .dek{font-size:.98rem;line-height:1.55}
#studio #atlas-sample #postcard,#studio #atlas-sample #atlas-exhibit{background:#fff}
#studio #atlas-sample .atlas-to-work{display:none}
#studio #atlas-sample .chapter+.chapter{border-top:1px solid #e5ebed}
#studio #atlas-sample #atlas-scan-view{min-height:0}
@media(max-width:670px){#studio #atlas-sample .hero{grid-template-columns:1fr;gap:10px}
 #studio #atlas-sample .hero-fig img{height:clamp(220px,59vw,340px)}
 #studio #atlas-sample .mast-inner{gap:8px;padding-inline:2px}
}

/* Unified editorial system for the original classroom site's two workshop views. */
html:is([data-class-page=showcase],[data-class-page=studio],[data-class-page=create]) body,
html:is([data-class-page=showcase],[data-class-page=studio],[data-class-page=create]) #classroom-student{background:#F7F3EB;color:#252522;--accent:#873D4E;--ink:#252522;--cream:#fffdf8;--muted:#534b45;--line:#ded4c8}
html:is([data-class-page=showcase],[data-class-page=studio],[data-class-page=create]) #studio{padding-top:0}
#studio #atlas-sample{background:#F7F3EB;color:#252522;margin:0;--accent:#873D4E;--paper:#F7F3EB;--ink:#252522;--muted:#534b45;--line:#ded4c8}
#studio #atlas-sample :is(.mast,.wrap,.map-grid,.postcard-grid,.chapter,.hero,.footer,.stop,.stop-copy,.hero-fig figcaption){background:#F7F3EB;color:#252522}
#studio #atlas-sample .hero{grid-template-columns:minmax(0,1.26fr) minmax(0,.74fr);gap:12px clamp(20px,6vw,88px);padding:clamp(25px,5vw,52px) 0 0;align-items:end}
#studio #atlas-sample .hero .hero-text,#studio #atlas-sample .hero .hero-brief{padding:0}
#studio #atlas-sample .hero-fig{grid-row:2;margin-top:16px}
#studio #atlas-sample .hero-fig img{height:clamp(280px,34vw,470px);object-fit:cover;object-position:50% 48%;filter:none;background:#e9e1d3}
#studio #atlas-sample .hero #title{color:#252522!important;font:680 clamp(38px,5.4vw,73px)/1.07 "Times New Roman",serif;margin:0 0 12px}
#studio #atlas-sample[lang=zh-Hans] .hero #title{font-family:SimSun,"Noto Serif SC",serif;letter-spacing:0}
#studio #atlas-sample .hero-question{font-size:clamp(1.14rem,2vw,1.47rem);line-height:1.45;margin:0}
#studio #atlas-sample .hero-campus{max-width:62ch;margin:10px 0 0;color:#4b413a}
#studio #atlas-sample :is(.hero .cta,.atlas-footer .cta){display:inline-block;background:#873D4E;color:#fff!important;border-color:#873D4E;text-decoration:none;padding:11px 18px;border-radius:2px}
#studio #atlas-sample :is(.wordmark,.mast nav a,.hero-fig figcaption a,.back-to-showcase){color:#692d3a!important}
#studio #atlas-sample .chapter{padding-top:clamp(35px,6vw,78px);padding-bottom:clamp(19px,4vw,45px);border-color:#d7c9b9}
#studio #atlas-sample .chapter h2{font-family:"Times New Roman",SimSun,serif;color:#252522}
#studio #atlas-sample[lang=zh-Hans] .chapter h2{font-family:SimSun,"Noto Serif SC",serif}
#studio #atlas-sample .map-grid{gap:clamp(17px,3vw,34px)}
#studio #atlas-sample #stop-notes{padding:10px 0;border-top:1px solid #d7c9b9}
#studio #atlas-sample #stop-notice{font-size:1.14rem;color:#692d3a}
#studio #atlas-sample #sun-intro,#studio #atlas-sample #stop-details{line-height:1.7}
#studio #atlas-sample .scan-in-story{margin-block:28px 2px;padding-block:20px;border-top:1px solid #d7c9b9}
#studio #atlas-sample .reference-toggle{padding:14px 0;border-block:1px solid #d7c9b9}
#studio #atlas-sample .reference-toggle summary{color:#692d3a;cursor:pointer;font-weight:700}
#studio #atlas-sample .reference-toggle .story-grid{margin-top:20px}
#studio #atlas-sample .postcard-share-tip{font-size:.89rem;color:#534b45;margin:7px 0}
#studio #atlas-sample .atlas-footer{padding-block:30px 62px}
#creation-view{padding-top:23px}
#creation-view .back-to-showcase{display:inline-block;margin-bottom:16px}
#creation-view .class-masthead{background:transparent;color:#252522;border:0;padding-inline:0}
#creation-view .studio-stepbar{gap:5px 18px}
#creation-view :is(.studio-page-card,.studio-preview){box-shadow:none;border-radius:4px}
@media(max-width:700px){
 #studio #atlas-sample .hero{grid-template-columns:1fr;gap:12px;padding-top:23px}
 #studio #atlas-sample .hero-fig{grid-row:auto}
 #studio #atlas-sample .hero-fig img{height:clamp(210px,57vw,335px);object-position:50% 48%}
 #studio #atlas-sample :is(.map-grid,.postcard-grid){grid-template-columns:minmax(0,1fr)}
 #studio #atlas-sample .mast-inner{row-gap:9px;flex-wrap:wrap}
 #studio #atlas-sample .chapter{padding-top:40px}
}

/* Keep action colors consistent after desktop and postcard visual review. */
#studio #atlas-sample .mast .langs{border-color:#d7c9b9}
#studio #atlas-sample .mast .langs button{color:#252522;min-height:35px}
#studio #atlas-sample .mast .langs button[aria-pressed=true],
#studio #atlas-sample #postcard #postcard-save{background:#873D4E!important;color:#fff!important;border-color:#873D4E!important}
#studio #atlas-sample #postcard,
#studio #atlas-sample #postcard .chapter-head,
#studio #atlas-sample #postcard .postcard-form{background:#F7F3EB!important;color:#252522}
#studio #atlas-sample #postcard :is(input,select,textarea){background:#fffdf8;color:#252522;border-color:#bcaea0}
#studio #atlas-sample #postcard :is(.replay,summary){background:transparent;color:#692d3a!important;border-color:#bcaea0}
#studio #atlas-sample #postcard .postcard-form{padding-right:clamp(8px,1.7vw,24px)}
#studio #atlas-sample #postcard .chapter-head{margin-bottom:clamp(12px,2vw,27px)}
#studio #atlas-sample #postcard .chapter-head h2{font-size:clamp(28px,3.65vw,50px)}
#studio #atlas-sample #postcard .hero-actions{gap:8px}
#studio #atlas-sample #postcard .postcard-form input::placeholder,
#studio #atlas-sample #postcard .postcard-form textarea::placeholder{color:#655a50}
#studio #atlas-sample :is(.mast,.postcard-form) :focus-visible{outline-color:#873D4E}

/* Ink, cool paper, and one accent. Keep this confined to the workshop. */
html:is([data-class-page=showcase],[data-class-page=studio],[data-class-page=create]) body,
html:is([data-class-page=showcase],[data-class-page=studio],[data-class-page=create]) #classroom-student{
  background:#f4f6f7;color:#17272d;--paper:#f4f6f7;--ink:#17272d;--cream:#fff;--muted:#45565b;--line:#d6dfe0;--accent:#733d4c;
}
#studio #atlas-sample{background:#f4f6f7;color:#17272d;--paper:#f4f6f7;--ink:#17272d;--muted:#45565b;--line:#d6dfe0;--accent:#733d4c;--atlas-accent:#733d4c}
#studio #atlas-sample :is(.mast,.wrap,.map-grid,.chapter,.hero,.footer,.hero-fig figcaption,#postcard,#postcard .chapter-head,#postcard .postcard-form,#postcard .postcard-grid){
 background:transparent!important;color:#17272d;
}
#studio #atlas-sample .mast{border-color:#d6dfe0}
#studio #atlas-sample .mast-inner{min-height:47px}
#studio #atlas-sample .map-tools:empty{display:none}
#studio #atlas-sample .hero{
 grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto auto;column-gap:clamp(20px,5vw,70px);row-gap:8px;
 align-items:center;padding:clamp(19px,3vw,39px) 0 9px;
}
#studio #atlas-sample .hero .hero-text{grid-column:1;grid-row:1;align-self:end}
#studio #atlas-sample .hero .hero-brief{grid-column:1;grid-row:2;align-self:start}
#studio #atlas-sample .hero-fig{grid-column:2;grid-row:1/3;margin:0}
#studio #atlas-sample .hero-fig img{
 height:clamp(172px,24vw,302px);width:100%;object-fit:cover;object-position:53% 46%;
 border-radius:3px;background:#dce4e8;
}
#studio #atlas-sample .hero-fig figcaption{font-size:.76rem;padding:.48rem 0 0;color:#46565c}
#studio #atlas-sample .hero-campus{font-size:.8rem;margin:.28rem 0 0;line-height:1.5;color:#46565c}
#studio #atlas-sample .hero-question{font-size:clamp(1.03rem,1.45vw,1.31rem);line-height:1.48;max-width:22em;text-wrap:pretty}
#studio #atlas-sample .hero-brief .dek{color:#4c5c61!important;font-size:.93rem;margin:.1rem 0 1rem}
#studio #atlas-sample[lang=zh-Hans] .hero #title,
#studio #atlas-sample[lang=zh-Hans] :is(.chapter h2,#stop-name,.scan-heading){
 font-family:STXingkai,"华文行楷",STKaiti,KaiTi,serif!important;font-weight:400!important;letter-spacing:.022em!important;color:#16282e!important;
}
#studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(48px,6vw,82px);line-height:.97;margin:0 0 13px}
#studio #atlas-sample[lang=zh-Hans] .chapter h2{font-size:clamp(32px,4.4vw,55px);line-height:1.12}
#studio #atlas-sample[lang=zh-Hans] #stop-name{font-size:clamp(29px,3vw,42px);line-height:1.1}
#studio #atlas-sample .chapter{border-color:#d6dfe0;padding-block:clamp(28px,4vw,56px) clamp(20px,3vw,40px)}
#studio #atlas-sample :is(.hero .cta,.atlas-footer .cta,#postcard #postcard-save){
 background:#233a40!important;color:#fff!important;border:1px solid #233a40!important;border-radius:4px;
 min-height:42px;padding:9px 17px!important;line-height:1.35;font-weight:650;text-decoration:none!important;
}
#studio #atlas-sample :is(.hero .cta,.atlas-footer .cta,#postcard #postcard-save):hover{background:#365258!important}
#studio #atlas-sample :is(.atlas-footer .cta,.hero .cta)::after{content:" ↗";margin-left:.32em;font-weight:400}
#studio #atlas-sample :is(.replay,.langs button,.scan-actions button){
 border:1px solid #bbc8cc!important;background:#fff!important;color:#233a40!important;border-radius:4px;
 padding:7px 11px!important;line-height:1.35;font-weight:650;
}
#studio #atlas-sample .mast .langs{border:0}
#studio #atlas-sample .mast .langs button{border-color:transparent!important;background:transparent!important}
#studio #atlas-sample .mast .langs button[aria-pressed="true"]{background:#e4ebee!important;color:#16282e!important;border-color:#c8d5da!important}
#studio #atlas-sample :is(.replay,.langs button,.scan-actions button):hover{border-color:#74898e!important}
#studio #atlas-sample :is(.mast nav a,.wordmark,.note a,.map-reading,.stop-meta a){color:#385960!important}
#studio #atlas-sample :is(.replay,summary,a,button,input,textarea,select):focus-visible{outline-color:#733d4c}
#studio #atlas-sample #stop{
 display:flex;flex-direction:column;align-self:start;min-width:0;overflow:hidden;background:white!important;
 border:1px solid #d1dcdf!important;border-radius:8px;box-shadow:0 7px 29px #233b4210;
}
#studio #atlas-sample #stop>figure{order:-1;margin:0;width:100%;background:#dce5e8}
#studio #atlas-sample #stop-image{width:100%;height:clamp(150px,17vw,220px);object-fit:cover;object-position:50% 46%}
#studio #atlas-sample #stop .stop-copy{background:white!important;padding:clamp(16px,2vw,25px);width:100%;border:0}
#studio #atlas-sample #stop-notice{
 margin:.7rem 0;padding:.55rem 0 .55rem .7rem;background:transparent;color:#733d4c!important;border-left:2px solid #946775;
 font-size:1rem;
}
#studio #atlas-sample #map-legend button[aria-pressed="true"]{color:#733d4c!important;border-color:#733d4c!important}
#studio #atlas-sample :is(.stop-travel,.stop-annotations,.stop-city-detail){border-top:1px solid #d6dfe0;padding:.66rem 0;margin:.32rem 0}
#studio #atlas-sample :is(.stop-travel,.stop-annotations,.stop-city-detail) summary{font-weight:650;color:#233a40;cursor:pointer}
#studio #atlas-sample .stop-travel dl{margin:.66rem 0 .27rem}
#studio #atlas-sample .stop-travel dt{font-size:.77rem;color:#655058;font-weight:750}
#studio #atlas-sample .stop-travel dd{margin:0 0 .58rem;font-size:.9rem;color:#263e44;line-height:1.53}
#studio #atlas-sample .stop-travel dd strong{color:#733d4c}
#studio #atlas-sample .stop-city-detail p{margin:.64rem 0 .32rem;font-size:.91rem}
#studio #atlas-sample .stop-annotations form{display:grid;gap:7px;margin-top:8px}
#studio #atlas-sample .stop-annotations :is(input,textarea){min-height:34px;display:block;width:100%;border:1px solid #bbc8cc;border-radius:4px;padding:7px;color:#17272d;background:#fff}
#studio #atlas-sample .stop-annotations textarea{min-height:64px}
#studio #atlas-sample .stop-annotations label{font-size:.81rem}
#studio #atlas-sample .stop-annotations form button{justify-self:start}
#studio #atlas-sample .stop-annotations ul{padding-left:1.15rem;margin:.6rem 0;color:#344d52;overflow-wrap:anywhere}
#studio #atlas-sample .stop-annotations li{margin:.26rem 0}
#studio #atlas-sample .stop-annotations li button{border:0;background:none;color:#733d4c;margin-left:.4rem;padding:.1rem .3rem;cursor:pointer}
#studio #atlas-sample #postcard .postcard-grid{grid-template-columns:minmax(210px,.40fr) minmax(0,1fr);gap:clamp(16px,3.4vw,44px);align-items:start}
#studio #atlas-sample #postcard .postcard-form{padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 11px}
#studio #atlas-sample #postcard .postcard-form>*{grid-column:1/-1;margin:0}
#studio #atlas-sample #postcard .postcard-form label{font-size:.85rem;color:#34474c}
#studio #atlas-sample #postcard :is(input,select,textarea){width:100%;border:1px solid #c4d0d4;border-radius:4px;background:#fff;color:#17272d;display:block;margin:0 0 4px;min-height:37px;padding:8px 9px}
#studio #atlas-sample #postcard textarea{min-height:72px}
#studio #atlas-sample #postcard #postcard-canvas{
 width:100%;height:auto;aspect-ratio:3/2;display:block;background:#fff;border:1px solid #d1dcdf;
 border-radius:3px;box-shadow:0 10px 32px #223e4912
}
#studio #atlas-sample :is(#hero-credit,#stop-credit,#postcard-credit,.story-grid .note){display:none!important}
#studio #atlas-sample #asset-credits{border-top:1px solid #d6dfe0;padding-top:17px;margin-top:26px;color:#526066;font-size:.76rem}
#studio #atlas-sample #asset-credits summary{color:#526066;cursor:pointer}
#studio #atlas-sample #asset-credits ul{margin:.6rem 0 0;padding-left:1.25rem;columns:2;column-gap:1rem}
#studio #atlas-sample #asset-credits li{break-inside:avoid;padding:.15rem 0}
#studio #atlas-sample #asset-credits a{color:#385960}
#studio #atlas-sample .atlas-footer{padding-block:26px 47px}
@media(max-width:700px){
 #studio #atlas-sample .hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:10px;padding:22px 0 4px}
 #studio #atlas-sample .hero .hero-text,#studio #atlas-sample .hero .hero-brief,#studio #atlas-sample .hero .hero-fig{grid-column:1;grid-row:auto}
 #studio #atlas-sample .hero-fig img{height:clamp(142px,44vw,210px)}
 #studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(43px,11vw,60px)}
 #studio #atlas-sample #postcard .postcard-grid{grid-template-columns:minmax(0,1fr)}
 #studio #atlas-sample #asset-credits ul{columns:1}
 #studio #atlas-sample #stop-image{height:clamp(135px,39vw,205px)}
}

#studio #atlas-sample .postcard-preview{min-width:0}
#studio #atlas-sample .postcard-face-tools{display:flex;gap:.45rem;margin:0 0 .65rem}
#studio #atlas-sample .postcard-face-tools .replay[aria-pressed="true"]{background:#e4ebee!important;border-color:#8fa5ad!important}
#studio #atlas-sample .postcard-cultural-caption{margin:.66rem .1rem 0;line-height:1.6;font-size:.88rem;color:#45565b}

@media(min-width:701px){
 #studio #atlas-sample .hero{padding:21px 0 6px!important}
 #studio #atlas-sample .hero-fig img{height:clamp(170px,21vw,267px)}
 #studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(37px,4.7vw,63px);width:max-content;max-width:100%;white-space:nowrap}
}
@media(max-width:700px){
 #studio #atlas-sample[lang=zh-Hans] .hero #title{max-width:none;white-space:nowrap;font-size:clamp(35px,10.5vw,52px)}
}

/* The map is the dominant object; selected detail opens below it. */
#studio #atlas-sample #map .map-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:14px}
#studio #atlas-sample #map .map-spread{min-width:0}
#studio #atlas-sample #map #stop[hidden]{display:none!important}
#studio #atlas-sample #map #stop:not([hidden]){
 display:grid!important;grid-template-columns:minmax(165px,.34fr) minmax(0,.66fr);width:min(100%,900px);
 margin-inline:auto;align-items:start;align-self:initial;
}
#studio #atlas-sample #map #stop>figure{order:0;grid-column:1;grid-row:1}
#studio #atlas-sample #map #stop .stop-copy{grid-column:2;grid-row:1;padding:15px 20px 14px}
#studio #atlas-sample #map #stop-image{height:178px;object-position:50% 44%}
#studio #atlas-sample #map #stop-name{
 font-family:"Segoe UI","Microsoft YaHei",sans-serif!important;font-size:clamp(22px,2.6vw,29px)!important;
 line-height:1.18;letter-spacing:0!important;font-weight:620!important;max-width:none;margin:0 0 7px;text-wrap:balance;overflow-wrap:normal;
}
#studio #atlas-sample #map #stop .stop-more-all{margin:.35em 0 .65em;color:#284851}
#studio #atlas-sample #map #stop .stop-more-all>summary{font-size:.86rem;font-weight:650;cursor:pointer}
#studio #atlas-sample #map #stop #stop-notice{margin:7px 0 10px!important;padding:0!important;border:0!important}
#studio #atlas-sample #map #stop #sun-intro{font-size:.9rem;line-height:1.53;margin:6px 0 7px}
#studio #atlas-sample #map #stop #postcard-open{min-height:33px;font-size:.83rem}
#studio #atlas-sample #scenery-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 18px}
#studio #atlas-sample #scenery-gallery article{min-width:0;border-bottom:1px solid #cbd7da}
#studio #atlas-sample #scenery-gallery article img{width:100%;height:clamp(145px,19vw,217px);object-fit:cover;border-radius:4px}
#studio #atlas-sample #scenery-gallery article:last-child img{object-position:50% 60%}
#studio #atlas-sample #scenery-gallery article>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:.65rem 0}
#studio #atlas-sample #scenery-gallery h3{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:1.08rem;letter-spacing:0;line-height:1.2;margin:0}
#studio #atlas-sample #scenery-gallery button{background:none;border:0;text-decoration:underline;text-underline-offset:.2em;color:#385960;cursor:pointer;white-space:nowrap;padding:7px 0}
#studio #atlas-sample #food-feature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 22px}
#studio #atlas-sample #food-feature article{background:#fff;min-width:0;border:1px solid #d1dcdf;border-radius:5px;overflow:hidden}
#studio #atlas-sample #food-feature article img{width:100%;height:clamp(150px,20vw,250px);object-fit:cover}
#studio #atlas-sample #food-feature article>div{padding:15px 18px 18px}
#studio #atlas-sample #food-feature h3{font:620 1.24rem/1.2 "Segoe UI","Microsoft YaHei",sans-serif;margin:0 0 8px}
#studio #atlas-sample #food-feature p{margin:0 0 7px;font-size:.93rem}
#studio #atlas-sample #food-feature a{font-size:.79rem;color:#385960}
#studio #atlas-sample[lang=zh-Hans] .hero #title,#studio #atlas-sample[lang=zh-Hans] :is(.chapter h2,.scan-heading){
 font-family:STXinwei,"华文新魏",STKaiti,KaiTi,serif!important;font-weight:400!important;letter-spacing:0!important;
}
#studio #atlas-sample:not([lang=zh-Hans]) .chapter h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,4vw,47px);letter-spacing:-.025em}
#studio #atlas-sample #postcard-entry .cta{background:#233a40!important;color:white!important;border-radius:4px;padding:9px 14px;min-height:40px}
#studio #atlas-sample .postcard-back-link{display:inline-block;font-size:.87rem;color:#385960;margin:0 0 1rem}
html[data-class-page=postcard] :is(body,#classroom-student){background:#f4f6f7;color:#17272d}
html[data-class-page=postcard] #studio #atlas-sample :is(.mast,#atlas-top>*:not(#postcard),.atlas-footer>.cta){display:none!important}
html:not(:is([data-class-page=postcard],[data-class-page=showcase],[data-class-page=studio])) #studio #atlas-sample #postcard{display:none!important}
html[data-class-page=postcard] #studio #atlas-sample #postcard{display:block}
@media(max-width:700px){
 #studio #atlas-sample #map #stop:not([hidden]){grid-template-columns:minmax(0,1fr)}
 #studio #atlas-sample #map #stop>figure,#studio #atlas-sample #map #stop .stop-copy{grid-column:1;grid-row:auto}
 #studio #atlas-sample #map #stop-image{height:168px}
 #studio #atlas-sample #scenery-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #studio #atlas-sample #scenery-gallery article>div{display:grid;gap:1px}
 #studio #atlas-sample #scenery-gallery article img{height:clamp(95px,31vw,150px)}
 #studio #atlas-sample #food-feature{grid-template-columns:1fr;gap:12px}
}

html[data-postcard-recipient=true] #studio #atlas-sample #postcard .postcard-form{display:none!important}
html[data-postcard-recipient=true] #studio #atlas-sample #postcard .postcard-grid{grid-template-columns:minmax(0,1fr);width:min(100%,900px);margin-inline:auto}


/* Gulou editorial: white page, Song headlines, one continuous map. */
html:is([data-class-page=showcase],[data-class-page=studio],[data-class-page=postcard]) :is(body,#classroom-student,#studio) {
  background:#fff!important;
}
#studio #atlas-sample {
  --paper:#fff;--ink:#182724;--muted:#4b5853;--line:#e0e5e1;--accent:#214b3f;
  --editorial-song:"Noto Serif SC","Source Han Serif SC","Songti SC",SimSun,serif;
  background:#fff!important;border:0!important;color:var(--ink);
}
#studio #atlas-sample :is(.mast,.wrap,.map-grid,.chapter,.hero,.footer,.hero-fig figcaption,#postcard,#postcard .chapter-head,#postcard .postcard-form,#postcard .postcard-grid){
  background:#fff!important;border-color:var(--line);
}
#studio #atlas-sample .wrap{width:min(100% - 64px,1100px);padding-inline:0}
#studio #atlas-sample .mast-inner{min-height:56px;padding-inline:0}
#studio #atlas-sample .mast :is(.wordmark,nav a){color:#273e36!important}
#studio #atlas-sample .mast .wordmark span{display:inline}
#studio #atlas-sample .mast .langs button[aria-pressed="true"]{background:#edf3ef!important;color:#214b3f!important;border-color:transparent!important}
#studio #atlas-sample .hero{
  grid-template-columns:minmax(0,1fr) minmax(0,.62fr);grid-template-rows:auto auto;
  gap:20px 34px;padding:clamp(28px,4vw,51px) 0 0!important;align-items:end;
}
#studio #atlas-sample .hero .hero-text{grid-area:1/1;margin:0;padding:0}
#studio #atlas-sample .hero .hero-brief{grid-area:1/2;align-self:end;padding:0;margin:0 0 3px}
#studio #atlas-sample .hero .hero-fig{grid-area:2/1/3/3;margin:0}
#studio #atlas-sample .hero-fig img{height:clamp(195px,23vw,318px);max-height:none;border:0;border-radius:0;object-position:50% 50%}
#studio #atlas-sample .hero-fig figcaption{font-size:.79rem;color:#4b5853;padding:8px 0 0}
#studio #atlas-sample .hero-campus{font-size:.82rem;color:#4b5853;margin:2px 0 0}
#studio #atlas-sample .hero #title{color:#182724!important;text-wrap:balance}
#studio #atlas-sample[lang=zh-Hans] .hero #title,
#studio #atlas-sample[lang=zh-Hans] :is(.chapter h2,.scan-heading){
  font-family:var(--editorial-song)!important;font-weight:700!important;letter-spacing:.015em!important;
}
#studio #atlas-sample[lang=zh-Hans] .hero #title{
  font-size:clamp(48px,5.7vw,78px);line-height:1.11;margin:0 0 10px;
  width:auto;max-width:100%;white-space:normal;
}
#studio #atlas-sample:not([lang=zh-Hans]) .hero #title{font-family:Georgia,serif;font-size:clamp(39px,5vw,66px);line-height:1.02}
#studio #atlas-sample .hero-question{color:#253a32;font-weight:500;font-size:clamp(1.04rem,1.45vw,1.26rem);max-width:28em}
#studio #atlas-sample .hero-brief .dek{color:#4b5853!important;margin:0 0 .7rem}
#studio #atlas-sample :is(.hero .cta,.atlas-footer .cta,#postcard-entry .cta,#postcard #postcard-save){
  background:#214b3f!important;color:#fff!important;border:1px solid #214b3f!important;
  border-radius:3px;min-height:42px;padding:.52rem .88rem;text-decoration:none;
}
#studio #atlas-sample :is(.hero .cta,.atlas-footer .cta,#postcard-entry .cta,#postcard #postcard-save):hover{background:#183b31!important}
#studio #atlas-sample .chapter{padding-block:clamp(31px,4vw,53px) clamp(22px,3vw,37px)}
#studio #atlas-sample .chapter-head h2{color:#182724;font-size:clamp(30px,3.4vw,49px);line-height:1.18}
#studio #atlas-sample .chapter-head p{color:#4b5853;margin:7px 0 0}
#studio #atlas-sample #map .map-grid{grid-template-columns:minmax(0,1fr)!important;gap:17px}
#studio #atlas-sample #map :is(.wm-inline-frame,.wm-baidu){width:100%;height:clamp(340px,39vw,490px)}
#studio #atlas-sample #map .map-spread #walk-map{border-color:#dfe7e2;background:#f0f5f1}
#studio #atlas-sample #map #map-legend{display:flex;flex-wrap:wrap;gap:6px 15px;margin:0 0 9px}
#studio #atlas-sample #map #map-legend button{box-shadow:none;border-bottom:1px solid transparent;border-radius:0;color:#344d42!important}
#studio #atlas-sample #map #map-legend button[aria-pressed="true"]{background:#edf3ef!important;border-color:#214b3f!important;color:#183b31!important}
#studio #atlas-sample #map #stop:not([hidden]){
  width:100%;border:0!important;border-bottom:1px solid #dde5e1!important;border-radius:0;
  box-shadow:none;padding:0 0 14px;gap:22px;grid-template-columns:minmax(0,.285fr) minmax(0,.715fr);
}
#studio #atlas-sample #map #stop .stop-copy{padding:5px 0 0;background:#fff!important}
#studio #atlas-sample #map #stop-image{height:clamp(125px,14vw,182px)}
#studio #atlas-sample #map #stop #stop-notice{color:#344d42!important}
#studio #atlas-sample #scenery-gallery article img,#studio #atlas-sample #food-feature article{border-radius:0}
#studio #atlas-sample #food-feature article{border:0;border-bottom:1px solid #dde5e1}
#studio #atlas-sample #food-feature article>div{padding:12px 0 15px}
#studio #atlas-sample :is(#scenery-gallery,#food-feature) h3{color:#182724}
#studio #atlas-sample :is(a,button,summary,input,textarea,select):focus-visible{outline:2px solid #286652;outline-offset:3px}
@media(max-width:700px){
  #studio #atlas-sample .wrap{width:calc(100% - 32px)}
  #studio #atlas-sample .mast-inner{min-height:49px}
  #studio #atlas-sample .hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:12px;padding-top:22px!important}
  #studio #atlas-sample .hero :is(.hero-text,.hero-brief,.hero-fig){grid-area:auto}
  #studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(41px,11vw,56px);margin-bottom:7px}
  #studio #atlas-sample .hero-fig img{height:clamp(155px,49vw,248px)}
  #studio #atlas-sample #map :is(.wm-inline-frame,.wm-baidu){height:325px}
  #studio #atlas-sample #map #stop:not([hidden]){grid-template-columns:minmax(0,1fr);gap:10px}
}

/* C composition: opening spread, then the map; A typography and paper. */
#studio #atlas-sample .hero{
 grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);grid-template-rows:auto auto;gap:8px clamp(18px,3.2vw,43px);
 padding-top:clamp(22px,3.2vw,41px)!important;align-items:center;
}
#studio #atlas-sample .hero .hero-text{grid-area:1/1;align-self:end}
#studio #atlas-sample .hero .hero-brief{grid-area:2/1;align-self:start}
#studio #atlas-sample .hero .hero-fig{grid-area:1/2/3/3;align-self:center}
#studio #atlas-sample .hero-fig img{height:clamp(180px,19vw,272px);object-position:50% 51%;clip-path:polygon(5% 0,100% 0,100% 100%,0 100%)}
#studio #atlas-sample .hero-kicker{font-size:.78rem;font-weight:680;color:#38584b;letter-spacing:.09em;margin:0 0 10px}
#studio #atlas-sample .hero-kicker::after{content:"";display:block;width:29px;height:2px;background:#214b3f;margin-top:7px}
#studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(47px,5.4vw,73px)}
#studio #atlas-sample .hero-jump{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px}
#studio #atlas-sample .hero-jump>a:not(.cta){color:#214b3f;text-decoration:none;font-size:.88rem;padding:8px 0}
#studio #atlas-sample .hero-jump>a:not(.cta):hover{text-decoration:underline}
#studio #atlas-sample .hero-fig :is(figcaption,.hero-campus){margin-left:5%}
#studio #atlas-sample .food-diet-guide{font-size:.9rem;line-height:1.55;color:#385148;margin:0 0 19px;border-inline-start:2px solid #47715f;padding:.18rem 0 .18rem .75rem}
#studio #atlas-sample #food-feature .food-diet{color:#3d574c;font-size:.87rem}
#studio #atlas-sample #food-feature .food-secondary{grid-column:1/-1}
#studio #atlas-sample #food-feature .food-secondary>div{padding:7px 0 10px}
#studio #atlas-sample #food-feature .food-secondary h3{font-size:1.02rem}
#studio #atlas-sample #food-feature .food-photo-link{display:inline-block;margin-top:.2rem}
@media(max-width:700px){
 #studio #atlas-sample .hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:10px}
 #studio #atlas-sample .hero :is(.hero-text,.hero-brief,.hero-fig){grid-area:auto}
 #studio #atlas-sample .hero-fig img{height:clamp(150px,45vw,238px);clip-path:none}
 #studio #atlas-sample .hero-fig :is(figcaption,.hero-campus){margin-left:0}
 #studio #atlas-sample[lang=zh-Hans] .hero #title{font-size:clamp(39px,11vw,55px)}
}

#studio #atlas-sample #map #stop-dialog:not([open]){display:none}
#studio #atlas-sample #map #stop-dialog{
 border:0;border-radius:9px;padding:0;color:#182724;background:#fff;
 width:min(456px,calc(100% - 32px));max-width:none;max-height:min(86dvh,740px);
 box-shadow:0 12px 55px #173a2c44;overflow:auto;overscroll-behavior:contain;
}
#studio #atlas-sample #map #stop-dialog::backdrop{background:#15231d57}
#studio #atlas-sample #map #stop-dialog #stop:not([hidden]){
 display:flex!important;flex-direction:column;gap:0;width:100%;padding:0;margin:0;
 border:0!important;box-shadow:none;overflow:visible;
}
#studio #atlas-sample #map #stop-dialog #stop-close{
 position:absolute;inset:10px 10px auto auto;z-index:2;display:grid;place-items:center;
 width:38px;height:38px;min-height:0;padding:0;border-radius:50%;border:0;background:white;color:#1b3c31;
 font:27px/1 system-ui;cursor:pointer;box-shadow:0 1px 6px #11271a35;
}
#studio #atlas-sample #map #stop-dialog #stop>figure{order:-1;width:100%}
#studio #atlas-sample #map #stop-dialog #stop-image{height:clamp(126px,25vw,198px);object-position:center 48%}
#studio #atlas-sample #map #stop-dialog #stop .stop-copy{padding:17px 20px 21px}
#studio #atlas-sample #map #stop-dialog #stop-name{font-size:1.42rem!important}
#studio #atlas-sample #map #stop-dialog .stop-fun{font-size:.98rem;line-height:1.55;color:#32493d;margin:0 0 12px}
#studio #atlas-sample #map #stop-dialog .stop-more-all{border-top:1px solid #e1e9e4;padding-top:8px;margin:0 0 10px}
#studio #atlas-sample #map #stop-dialog #atlas-scan{padding:10px 0 2px}

#studio #atlas-sample[lang=zh-Hans] :is(.hero #title,.chapter h2,.scan-heading),
#studio #atlas-sample[lang=zh-Hans] .hero #title span{
 font-family:"Noto Sans SC","Noto Sans CJK SC","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif!important;
 font-weight:850!important;letter-spacing:.008em!important;
}
#studio #atlas-sample .hero{padding-top:clamp(22px,3.3vw,40px)!important}
#studio #atlas-sample .hero-fig img{clip-path:polygon(13% 0,100% 0,100% 100%,0 100%)}
#studio #atlas-sample .hero-fig :is(figcaption,.hero-campus){margin-left:0}
#studio #atlas-sample .hero-fig figcaption{padding-top:8px}
#studio #atlas-sample .hero-kicker{font-size:.88rem;letter-spacing:.035em}
#studio #atlas-sample .hero-jump>a:not(.cta){font-weight:650}
#studio #atlas-sample #guide-categories{border-top:1px solid #dfe8e2;scroll-margin-top:12px}
#studio #atlas-sample #guide-categories .chapter{padding-block:18px 26px;border:none}
#studio #atlas-sample #guide-categories .chapter[hidden]{display:none!important}
#studio #atlas-sample #guide-categories .chapter-head{margin-bottom:13px}
#studio #atlas-sample #guide-categories .chapter-head h2{font-size:clamp(24px,3vw,36px);margin:0}
#studio #atlas-sample .guide-tabs{display:flex;gap:8px 22px;border-bottom:1px solid #dae5df;padding:0;overflow:auto}
#studio #atlas-sample .guide-tabs button{
 background:white;color:#41534a;border:0;border-bottom:3px solid transparent;border-radius:0;
 cursor:pointer;font-family:inherit;font-size:1.05rem;font-weight:680;padding:11px 3px 8px;white-space:nowrap;
}
#studio #atlas-sample .guide-tabs button[aria-selected=true]{color:#194b37;border-bottom-color:#24593f}
#studio #atlas-sample #scenery-gallery article img{height:clamp(95px,14vw,165px)}
#studio #atlas-sample #food-feature{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#studio #atlas-sample #food-feature article img{height:clamp(120px,15vw,187px)}
#studio #atlas-sample .gift-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:center}
#studio #atlas-sample .gift-feature img{width:100%;height:clamp(115px,21vw,228px);object-fit:contain;background:#11251d}
#studio #atlas-sample .gift-feature h3{margin:0 0 7px;font-size:1.25rem}
#studio #atlas-sample .gift-feature p{margin:0 0 7px;line-height:1.58}
@media(max-width:700px){
 #studio #atlas-sample .hero-fig img{clip-path:none}
 #studio #atlas-sample #food-feature{grid-template-columns:repeat(2,minmax(0,1fr))}
 #studio #atlas-sample .gift-feature{grid-template-columns:minmax(0,1fr);gap:12px}
}

#studio #atlas-sample #map .map-grid:has(#stop-dialog[open]){
 grid-template-columns:minmax(0,1fr) minmax(232px,28%)!important;align-items:start;gap:clamp(12px,1.8vw,24px);
}
#studio #atlas-sample #map #stop-dialog[open]{
 position:relative;inset:auto;display:block;width:100%;min-width:0;max-width:none;
 max-height:clamp(320px,44vw,540px);margin:0;background:white;border:1px solid #dfe8e2;
 border-radius:5px;box-shadow:none;
}
#studio #atlas-sample #map #stop-dialog #stop-image{height:clamp(105px,12vw,156px)}
#studio #atlas-sample #map #stop-dialog #stop .stop-copy{padding:11px 14px 14px}
#studio #atlas-sample #map #stop-dialog #stop-close{width:34px;height:34px;inset:8px 8px auto auto;font-size:23px}
#studio #atlas-sample #map #stop-dialog .stop-fun{font-size:.91rem}
@media(max-width:760px){
 #studio #atlas-sample #map .map-grid:has(#stop-dialog[open]){grid-template-columns:minmax(0,1fr)!important}
 #studio #atlas-sample #map #stop-dialog[open]{max-height:430px}
}

html:is([data-class-page=showcase],[data-class-page=studio]) :is(.shell,#classroom-student,#studio){
 width:100%!important;max-width:none!important;padding-inline:0!important;
}
html:is([data-class-page=showcase],[data-class-page=studio]) #classroom-student>.bar{
 padding-inline:clamp(16px,2.7vw,50px)!important;
}
html:is([data-class-page=showcase],[data-class-page=studio]) #studio #atlas-sample .wrap{
 width:calc(100% - clamp(28px,5.4vw,100px));max-width:none;padding-inline:0;
}
#studio #atlas-sample #map .chapter-head{margin-bottom:9px}
#studio #atlas-sample #map .chapter-head h2{font-size:clamp(23px,2.75vw,35px)}
#studio #atlas-sample #guide-categories .guide-tabs{gap:8px clamp(15px,3vw,43px)}
#studio #atlas-sample #map :is(.wm-inline-frame,.wm-baidu){height:clamp(332px,50vh,490px)}
#studio #atlas-sample #map .map-grid:has(#stop-dialog[open]){
 grid-template-columns:minmax(0,1fr) minmax(238px,min(25%,370px))!important;
}
#studio #atlas-sample #food-feature{grid-template-columns:repeat(auto-fit,minmax(min(100%,228px),1fr))}
#studio #atlas-sample #map #stop-dialog img{object-fit:cover}
@media (max-width:760px){
 #studio #atlas-sample #map .map-grid:has(#stop-dialog[open]){grid-template-columns:minmax(0,1fr)!important}
 #studio #atlas-sample #food-feature{grid-template-columns:repeat(2,minmax(0,1fr))}
}

#studio #atlas-sample #guide-categories{--guide-font:"Noto Sans SC","Noto Sans CJK SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif}
#studio #atlas-sample #map .chapter-head{margin-bottom:13px}
#studio #atlas-sample #map .chapter-head h2{font-size:clamp(23px,2.65vw,37px);letter-spacing:.004em!important}
#studio #atlas-sample #map .chapter-head p{
 font:400 clamp(14px,1.15vw,17px)/1.55 var(--guide-font);color:#4b5d54;letter-spacing:0;margin-top:6px;
}
#studio #atlas-sample #map #map-legend{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:11px 0 0;padding:0;
 border-block:1px solid #dbe6de;
}
#studio #atlas-sample #map #map-legend button{
 display:flex;align-items:center;justify-content:flex-start;gap:clamp(5px,.7vw,12px);
 font:550 clamp(14px,1.02vw,17px)/1.42 var(--guide-font);letter-spacing:0;text-align:left;
 color:#25382f!important;background:#fff!important;border:0!important;border-inline-start:1px solid #e2ebe5!important;
 min-height:50px;padding:8px clamp(5px,1.04vw,17px);white-space:normal;border-radius:0;
}
#studio #atlas-sample #map #map-legend button:first-child{border-inline-start:0!important}
#studio #atlas-sample #map #map-legend button:hover{background:#f3f7f4!important}
#studio #atlas-sample #map #map-legend button[aria-pressed=true]{
 background:#eaf2ec!important;box-shadow:inset 0 -2px #24593f;color:#194632!important;
}
#studio #atlas-sample #map #map-legend .station-number{flex:none;color:#3b644f;font:650 .72rem/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums}
#studio #atlas-sample #map #map-legend .station-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:900px){
 #studio #atlas-sample #map #map-legend{grid-template-columns:repeat(3,minmax(0,1fr))}
 #studio #atlas-sample #map #map-legend button:nth-child(n+4){border-top:1px solid #e2ebe5!important}
 #studio #atlas-sample #map #map-legend button:nth-child(4){border-inline-start:0!important}
}

html:is([data-class-page=showcase],[data-class-page=studio]) #studio #atlas-sample .wrap{
 width:calc(100% - clamp(32px,9vw,164px));max-width:1500px;
}
html:is([data-class-page=showcase],[data-class-page=studio]) #classroom-student>.bar{
 width:calc(100% - clamp(32px,9vw,164px));max-width:1500px;padding-inline:0!important;margin-inline:auto;
}
#studio #atlas-sample #map{padding:26px 0 23px}
#studio #atlas-sample #guide-categories{padding-top:3px}
#studio #atlas-sample :is(#scenery-gallery,#food-feature,.gift-grid){
 display:grid;gap:20px clamp(13px,2.1vw,30px);align-items:start;
}
#studio #atlas-sample #scenery-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
#studio #atlas-sample :is(#food-feature,.gift-grid){grid-template-columns:repeat(4,minmax(0,1fr))}
#studio #atlas-sample .gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
#studio #atlas-sample :is(#scenery-gallery,#food-feature,.gift-grid) article{
 display:block;min-width:0;border:0;border-bottom:1px solid #e0e8e2;overflow:hidden;
}
#studio #atlas-sample :is(#scenery-gallery,#food-feature,.gift-grid) article img{
 width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block;border-radius:0;
}
#studio #atlas-sample #scenery-gallery article>div,#studio #atlas-sample :is(#food-feature,.gift-grid) article>div{
 display:grid;align-content:start;justify-content:stretch;gap:5px;padding:11px 0 12px;
}
#studio #atlas-sample :is(#scenery-gallery,#food-feature,.gift-grid) h3{
 margin:0;color:#182724;font-size:clamp(.94rem,1.35vw,1.18rem);font-weight:720;line-height:1.28;
}
#studio #atlas-sample :is(#scenery-gallery,#food-feature,.gift-grid) p{
 margin:0;color:#40554a;font:400 clamp(.85rem,1.08vw,1rem)/1.6 system-ui,"Microsoft YaHei",sans-serif;
}
#studio #atlas-sample #scenery-gallery button{justify-self:start;padding:1px 0;font-size:.81rem}
#studio #atlas-sample #food-feature .food-diet{font-size:.77rem;color:#4a6055}
#studio #atlas-sample .gift-feature a{font-size:.82rem}
@media(max-width:820px){
 #studio #atlas-sample :is(#scenery-gallery,#food-feature,.gift-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 html:is([data-class-page=showcase],[data-class-page=studio]) #studio #atlas-sample .wrap{width:calc(100% - 32px)}
}
#studio #atlas-sample #gifts .gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}

#studio #atlas-sample #postcard .postcard-face-tools[hidden],
#studio #atlas-sample #postcard :is(.postcard-form label[hidden],.postcard-form input[hidden]){display:none!important}
html:not([data-class-page=postcard]) #studio #atlas-sample .postcard-back-link{display:none}
#studio #atlas-sample #postcard #postcard-canvas{height:auto;max-width:820px;margin-inline:auto}

#studio #atlas-sample #map #stop-dialog #stop-more-all[hidden],
#studio #atlas-sample #map #stop-dialog #stop-fun[hidden]{display:none!important}
#studio #atlas-sample #map #stop-key-facts{margin:8px 0 9px;display:grid;gap:2px}
#studio #atlas-sample #map #stop-key-facts dt{font-size:.76rem;line-height:1.25;color:#235240;font-weight:750}
#studio #atlas-sample #map #stop-key-facts dd{margin:0 0 5px;color:#24382f;font-size:.87rem;line-height:1.43}
#studio #atlas-sample #map #stop-fact-sources{font-size:.72rem;line-height:1.35;margin:1px 0 8px}
#studio #atlas-sample #map #stop-fact-sources a{color:#3e6655}
#studio #atlas-sample #map #stop-dialog .stop-meta{margin:4px 0 5px;gap:7px}
#studio #atlas-sample #map #stop-dialog #atlas-scan{padding:5px 0}

#studio #atlas-sample #map #stop-dialog[open]{
 border:1px solid #d4e3d9;border-radius:10px;box-shadow:0 13px 32px #1d423729;
 overscroll-behavior:contain;background:#fff;
}
#studio #atlas-sample #map #stop-dialog #stop .stop-copy{padding:14px 16px 17px}
#studio #atlas-sample #map #stop-key-facts dt{margin-top:3px;font-size:.81rem}
#studio #atlas-sample #map #stop-key-facts dd{font-size:.91rem}
@media (min-width:761px){
 #studio #atlas-sample #map .map-grid:has(#stop-dialog[open]){
   --stop-card-width:clamp(260px,27%,370px);--stop-card-gap:19px;
   display:grid!important;position:relative;grid-template-columns:minmax(0,1fr)!important;
   padding-inline-end:calc(var(--stop-card-width) + var(--stop-card-gap));
 }
 #studio #atlas-sample #map .map-grid #stop-dialog[open]{
   position:absolute;inset-block-start:7px;inset-inline-end:0;inset-inline-start:auto;
   width:var(--stop-card-width);max-height:calc(100% - 14px);z-index:4;
 }
}

#studio #atlas-sample #map #stop-key-facts{gap:0;margin-top:10px}
#studio #atlas-sample #map #stop-key-facts dt{color:#244c3a;font-size:.91rem;line-height:1.38;margin:0 0 3px;font-weight:720}
#studio #atlas-sample #map #stop-key-facts dd{color:#303d36;font-size:.86rem;line-height:1.5;margin:0 0 9px}

#atlas-sample .wm-hint,#atlas-sample #map .chapter-head p:empty,#atlas-sample #guide-categories .chapter-head p:empty{display:none!important}
#studio #atlas-sample #people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px clamp(15px,2.6vw,34px)}
#studio #atlas-sample #people-grid article{min-width:0;border-bottom:1px solid #e0e8e2}
#studio #atlas-sample #people-grid img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
#studio #atlas-sample #people-grid article>div{padding:10px 0 12px}
#studio #atlas-sample #people-grid h3{margin:0 0 5px;color:#182724;font-weight:720}
#studio #atlas-sample #people-grid p{margin:0 0 6px;color:#40554a;line-height:1.54}
#studio #atlas-sample #people-grid a{font-size:.79rem;color:#285b48;margin-inline-end:10px}
#studio #atlas-sample #atlas-scan{margin-top:14px;padding:0}
#studio #atlas-sample #atlas-scan .atlas-real-scan{gap:.25rem}
#studio #atlas-sample #food-feature .food-photo-reference{border-top:2px solid #47715f;background:#f4f8f5;padding:9px 14px}
#studio #atlas-sample #food-feature .food-photo-reference .food-photo-link{color:#285b48}
@media(max-width:620px){#studio #atlas-sample #people-grid{grid-template-columns:1fr}}

#studio #atlas-sample #map #stop-dialog #stop-name{font-size:1.55rem!important}
#studio #atlas-sample #map #stop-dialog #stop .stop-copy{padding:17px 19px 19px}
#studio #atlas-sample #map #stop-dialog #stop-key-facts dt{font-size:1rem;line-height:1.38;margin:1px 0 4px;color:#1d4638}
#studio #atlas-sample #map #stop-dialog #stop-key-facts dd{font-size:.97rem;line-height:1.56;margin:0 0 12px;color:#24382f}
#studio #atlas-sample #map #stop-dialog #stop-fact-sources{font-size:.79rem}
#studio #atlas-sample #people-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#studio #atlas-sample #people-grid [data-person=pearl] img{object-position:center 25%}
@media(min-width:761px){#studio #atlas-sample #map .map-grid:has(#stop-dialog[open]){--stop-card-width:clamp(318px,32%,420px)}}
@media(max-width:920px){#studio #atlas-sample #people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:490px){#studio #atlas-sample #people-grid{grid-template-columns:1fr}}


/* Opening photograph and postcard writing surface. */
#studio #atlas-sample .hero{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);grid-template-rows:auto;align-items:center}
#studio #atlas-sample .hero .hero-brief[hidden]{display:none!important}
#studio #atlas-sample .hero .hero-text{grid-area:1 / 1;align-self:center}
#studio #atlas-sample .hero .hero-fig{grid-area:1 / 2}
#studio #atlas-sample .hero-fig img{display:block;width:100%;height:clamp(238px,22vw,328px);object-fit:cover;object-position:50% 49%;aspect-ratio:auto;clip-path:polygon(16% 0,100% 0,100% 100%,0 100%);background:transparent}
#studio #atlas-sample #postcard .postcard-grid{grid-template-columns:minmax(210px,.45fr) minmax(0,1fr);gap:clamp(22px,4vw,58px)}
#studio #atlas-sample #postcard #postcard-canvas{background:#fdfdfb;border-color:#d7dad4;border-radius:2px;box-shadow:0 8px 28px #253a2b0c}
#studio #atlas-sample #postcard .postcard-optional{display:flex;align-items:center;gap:8px;margin:12px 0}
#studio #atlas-sample #postcard .postcard-optional input{display:inline-block;width:1rem;min-height:0;margin:0;padding:0;accent-color:#254b3d}
html[data-postcard-recipient=true] #studio #atlas-sample #postcard .postcard-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:740px){
 #studio #atlas-sample .hero{grid-template-columns:minmax(0,1fr)}
 #studio #atlas-sample .hero-fig img{height:clamp(150px,42vw,240px);clip-path:polygon(11% 0,100% 0,100% 100%,0 100%)}
 #studio #atlas-sample .hero .hero-text,#studio #atlas-sample .hero .hero-fig{grid-area:auto}
 #studio #atlas-sample #postcard .postcard-grid{grid-template-columns:minmax(0,1fr)}
}

/* Tuck the original slanted photograph into the headline spread. */
@media(min-width:920px){
 #studio #atlas-sample .hero{grid-template-columns:minmax(0,.58fr) minmax(0,1.42fr);column-gap:0}
 #studio #atlas-sample .hero .hero-text{position:relative;z-index:1}
 #studio #atlas-sample .hero .hero-fig{margin-inline-start:-26px;width:calc(100% + 26px)}
 #studio #atlas-sample[lang=zh-Hans] .hero .hero-question{width:max-content;max-width:calc(100% + 54px)}
 #studio #atlas-sample .hero-fig figcaption{padding-inline-start:10px}
}

#studio #atlas-sample .story-grid .comic-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(9px,1.25vw,17px);list-style:none;padding:0;margin:0;
}
#studio #atlas-sample .story-grid .comic-grid li{margin:0;min-width:0;overflow:hidden;background:#fff;border:1px solid #d6dcd8}
#studio #atlas-sample .story-grid .comic-grid img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
#studio #atlas-sample .story-grid .comic figcaption{margin-top:.72rem}

#studio #atlas-sample .gallery-facts{margin:5px 0 9px;color:#294a3d;font-size:.88rem}
#studio #atlas-sample .gallery-facts summary{cursor:pointer;font-weight:680}
#studio #atlas-sample .gallery-facts ul{margin:5px 0 0;padding-inline-start:1.2em;line-height:1.52;color:#25312c}
#studio #atlas-sample .gallery-facts li+li{margin-top:.4em}
#studio #atlas-sample .gallery-facts li a{font-size:.75rem;text-underline-offset:2px;white-space:nowrap}
