[hidden]{display:none!important}
:root{color-scheme:dark;--ink:#fff5dd;--gold:#e2be76;--border:#e2be7650;--panel:#15221dcc}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#14201c;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #ffe0a1;outline-offset:4px}#view{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline:none}#view:active{cursor:grabbing}.shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(#08130d95,transparent 27%,transparent 65%,#08130d95)}.top{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 30px;pointer-events:none}.top>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:"Songti SC","SimSun",serif;font-size:23px;letter-spacing:.18em;text-shadow:0 2px 12px #000}.brand small{display:block;font:8px system-ui;letter-spacing:.2em;margin-top:6px;color:#e1d0ac}.seal{border:1px solid var(--gold);width:38px;height:44px;display:grid;place-items:center;color:var(--gold);font-size:25px}nav{display:flex;gap:5px;border:1px solid var(--border);padding:5px;background:var(--panel);border-radius:50px;backdrop-filter:blur(14px)}nav button{border:0;background:none;border-radius:30px;padding:10px 22px;font-size:12px;letter-spacing:.08em;color:#e0ddcb}nav button[aria-pressed=true]{background:var(--gold);color:#1d2d24}.tools{display:flex;gap:9px}.tools button,.view-tools button{background:var(--panel);border:1px solid var(--border);border-radius:4px;padding:10px 13px;font-size:11px;backdrop-filter:blur(14px)}.scene-label{position:fixed;top:126px;left:32px;pointer-events:none;text-shadow:0 2px 15px #000}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--gold)}.scene-label h1{font-family:"Songti SC","SimSun",serif;font-weight:400;font-size:24px;letter-spacing:.1em;margin:10px 0}.scene-label p{font-size:10px;color:#e4dfcf;letter-spacing:.12em;margin:0}.welcome{position:fixed;left:32px;bottom:112px;width:350px;padding:25px;background:linear-gradient(130deg,#0c1b18eb,#1b2b24b5);border:1px solid var(--border);backdrop-filter:blur(18px);border-radius:4px}.welcome h2{font-family:"Songti SC",serif;font-size:27px;font-weight:400;line-height:1.5;margin:14px 0}.welcome p{font-size:12px;line-height:1.9;color:#e1dfd0;margin:0 0 20px}.welcome small{display:block;font-size:9px;color:#c8c6b2;margin-top:16px;letter-spacing:.06em}.primary{background:var(--gold);border:0;color:#1d2b23;padding:12px 18px;width:100%;text-align:left;font-size:12px;letter-spacing:.1em}.primary span{float:right}.reticle{position:fixed;left:50%;top:50%;width:5px;height:5px;border:1px solid #fff9;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%)}.compass{position:fixed;right:34px;top:124px;text-align:center;pointer-events:none}.compass>span{font-size:11px;letter-spacing:.08em}.compass small{font-size:8px;display:block;color:#dfd7c0}.compass-line{position:relative;height:36px;width:36px;border:1px solid #ffe3a966;border-radius:50%;margin:8px auto;display:grid;place-items:center}.compass-line i{display:block;width:2px;height:24px;background:linear-gradient(var(--gold) 50%,#ffffff40 50%);transform-origin:center}.bottom{position:fixed;left:32px;bottom:28px;right:200px;pointer-events:none;display:flex;align-items:center;gap:30px}.controls-note>span{font-size:11px;letter-spacing:.06em}.controls-note small{display:block;font-size:9px;letter-spacing:.05em;color:#d4d1c3;margin-top:7px}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);margin-right:7px}.walk-progress{height:2px;background:#ffffff35;width:90px}.walk-progress i{height:2px;background:var(--gold);display:block;width:0;transition:width .1s linear}.dpad{position:fixed;right:30px;bottom:28px;display:grid;grid-template-columns:43px 43px 43px;grid-template-rows:43px 43px 43px;gap:4px}.dpad button{border:1px solid var(--border);border-radius:5px;background:var(--panel);font-size:23px;touch-action:none;user-select:none}.dpad button.active{background:var(--gold);color:#19271e}.dpad [data-walk=forward]{grid-column:2;grid-row:1}.dpad [data-walk=left]{grid-column:1;grid-row:2}.dpad [data-walk=right]{grid-column:3;grid-row:2}.dpad [data-walk=back]{grid-column:2;grid-row:3}.view-tools{position:fixed;right:30px;bottom:191px;display:flex;gap:5px}.view-tools button{padding:8px 12px}#hotspots{position:fixed;inset:0;pointer-events:none}.hotspot{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);background:#16291deb;border:1px solid var(--gold);color:#fff0cb;padding:9px 13px;border-radius:25px;font-size:11px;letter-spacing:.05em;box-shadow:0 0 0 5px #fff1cb18,0 4px 16px #0005;white-space:nowrap}.hotspot::before{content:'↗';margin-right:7px;color:var(--gold)}.hotspot:hover{background:#e2be76;color:#16231b}.hotspot:hover::before{color:inherit}#notice{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);padding:9px 15px;border:1px solid var(--border);background:#10221ce8;border-radius:3px;font-size:12px;opacity:0;transition:opacity .2s;pointer-events:none;max-width:80vw}#notice.visible{opacity:1}#loading{position:fixed;inset:0;z-index:20;background:#102019;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity .4s}#loading p{font-size:13px;letter-spacing:.18em;color:var(--gold)}.spinner{display:block;width:24px;height:24px;border:1px solid #dbbd7830;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{background:#14241ff5;color:var(--ink);border:1px solid var(--border);border-radius:6px;padding:30px;width:min(580px,90vw);max-height:85dvh;line-height:1.9;box-shadow:0 20px 80px #0009}dialog::backdrop{background:#06100ca6;backdrop-filter:blur(8px)}dialog h2{font:400 24px "Songti SC",serif;margin:14px 0 22px}dialog h3{font-size:14px;color:var(--gold)}dialog p{font-size:12px;color:#e0ddce}dialog a{color:var(--gold)}.close{position:absolute;right:14px;top:12px;border:0;background:none;font-size:26px;color:var(--gold)}@media(max-width:760px){.top{padding:17px 16px;flex-wrap:wrap;gap:16px}.brand{font-size:19px}.brand small{font-size:6px}.seal{width:30px;height:35px;font-size:20px}nav{order:3;width:100%;justify-content:center}nav button{flex:1;padding:10px 6px}.tools button{font-size:10px;padding:9px}.scene-label{left:18px;top:145px}.scene-label h1{font-size:20px}.compass{top:150px;right:18px}.welcome{left:18px;bottom:128px;width:min(330px,calc(100vw - 36px));padding:21px}.welcome h2{font-size:24px}.bottom{left:18px;right:155px;bottom:23px}.controls-note>span{font-size:10px}.controls-note small{max-width:160px;font-size:9px;line-height:1.6}.walk-progress{display:none}.dpad{right:15px;bottom:17px;grid-template-columns:38px 38px 38px;grid-template-rows:38px 38px 38px;gap:3px}.view-tools{right:16px;bottom:156px}.view-tools button{padding:7px 9px}.scene-label p{font-size:9px}#notice{bottom:105px;width:max-content;text-align:center}.reticle{display:none}}@media(max-height:530px){.scene-label{top:107px}.compass{top:107px}.welcome{bottom:80px;padding:16px;width:300px}.welcome h2{font-size:22px;margin:8px 0}.welcome p{font-size:11px;margin:0 0 10px}.welcome small{margin-top:9px}.top{padding-top:12px}.view-tools{bottom:160px}}
nav button b{display:block;font-size:12px;font-weight:500}nav button span{display:block;font-size:9px;letter-spacing:.08em;margin-top:4px;opacity:.8}.tools .lesson-toggle{color:var(--gold);border-color:var(--gold)}#fifth-views{display:flex;gap:5px;margin-top:14px;pointer-events:auto}#fifth-views button{background:var(--panel);border:1px solid var(--border);border-radius:3px;font-size:10px;padding:7px 12px}#fifth-views button[aria-pressed=true]{background:var(--gold);color:#17271f}.lesson-peek{position:fixed;left:32px;bottom:96px;border:1px solid var(--border);background:#15271ee0;backdrop-filter:blur(12px);border-radius:3px;padding:11px 15px;font-size:11px;color:var(--gold);letter-spacing:.04em}.lesson-panel{position:fixed;left:32px;bottom:100px;width:370px;max-height:calc(100dvh - 238px);overflow:auto;border:1px solid var(--border);border-radius:5px;background:#14241ff3;backdrop-filter:blur(18px);padding:23px 24px;box-shadow:0 12px 40px #0006;scrollbar-width:thin;scrollbar-color:#9d8755 transparent}.lesson-panel h2{font:400 23px "Songti SC",serif;margin:13px 0 19px;letter-spacing:.08em}.lesson-panel blockquote{border-left:2px solid var(--gold);margin:0;padding:0 0 0 13px;font:19px/1.8 "Songti SC","SimSun",serif;color:#fff0ce;letter-spacing:.05em}.lesson-panel blockquote span{display:block}.lesson-panel cite{font-size:10px;display:block;font-style:normal;color:#bfbba9;margin-top:10px}.lesson-panel p{font-size:11px;line-height:1.9;color:#dfddcf}.observe-box{margin:18px 0 14px;border:1px solid #e2be7635;padding:11px 12px;background:#0d1b15}.observe-box strong{font-size:10px;color:var(--gold);letter-spacing:.08em}.observe-box p{margin:6px 0 0}.lesson-panel details{border-top:1px solid #e2be7630;padding-top:13px;margin:13px 0}.lesson-panel summary{font-size:11px;line-height:1.8;cursor:pointer;list-style:none;color:#ece7d6}.lesson-panel summary:after{content:'＋ 展开参考';display:block;color:var(--gold);font-size:9px;margin-top:5px}.lesson-panel details[open] summary:after{content:'－ 收起参考'}.question-label{display:block;font-size:10px;color:var(--gold);margin-bottom:5px}.poetry-mode{border:1px solid var(--gold);background:#1a2f23;padding:10px 13px;text-align:left;width:100%;border-radius:3px}.poetry-mode span{font-size:11px;color:var(--gold)}.poetry-mode small{font-size:9px;color:#ccc5ac;float:right;margin-top:2px}.poetry-mode[aria-pressed=true]{background:#b08d42}.poetry-mode[aria-pressed=true] span,.poetry-mode[aria-pressed=true] small{color:#102019}.lesson-panel .mood-note{font-size:9px;color:#aaa992;margin:6px 0 14px}.lesson-actions{display:flex;gap:7px}.lesson-actions button{border:1px solid var(--border);background:transparent;border-radius:3px;padding:8px 11px;font-size:10px}.whole-poem{font:18px/2.5 "Songti SC",serif;color:#fff0cf;letter-spacing:.03em;margin:20px 0 25px}.hotspot.observation{border-style:dashed;background:#493c25e0}.hotspot.observation::before{content:'◇'}@media(max-width:760px){nav button{padding:8px 4px}nav button b{font-size:11px}nav button span{font-size:8px;letter-spacing:0}.tools{gap:5px}.tools button{padding:9px 8px}.scene-label{top:154px}.compass{top:159px}.lesson-peek{left:18px;bottom:122px;max-width:210px;font-size:10px;padding:10px 11px}.lesson-panel{left:14px;right:14px;bottom:145px;width:auto;max-height:calc(100dvh - 304px);padding:18px 20px}.lesson-panel h2{font-size:21px}.lesson-panel blockquote{font-size:18px}.whole-poem{font-size:15px;letter-spacing:0;line-height:2.4}.welcome{bottom:164px}#fifth-views{margin-top:10px}}@media(min-width:761px) and (max-width:1100px){nav button{padding:9px 12px}.top{gap:13px;padding-left:22px;padding-right:22px}.brand{font-size:20px}.brand small{font-size:7px}.tools button{padding:9px 10px}.lesson-panel{width:330px}}@media(max-height:530px){.lesson-panel{bottom:85px;max-height:calc(100dvh - 200px)}.lesson-peek{bottom:85px}.scene-label{top:115px}.scene-label h1{font-size:18px}.compass{top:115px}.welcome{bottom:95px}}
/* Keep the floor title and fifth-floor indoor/outdoor controls above the reading panel. */
.lesson-panel{top:255px;bottom:100px;max-height:none}@media(max-width:760px){.lesson-panel{top:270px;bottom:145px;max-height:none}}@media(max-height:530px){.lesson-panel{top:235px;bottom:85px;max-height:none}}

@media(max-width:760px){.lesson-open .view-tools{display:none}}
/* Museum-style viewing chrome and spatial navigation. */
.shade{background:linear-gradient(180deg,#06140d7a,transparent 24%,transparent 72%,#06140d70)}.top{padding:22px 28px;gap:18px}.brand{font-size:22px;letter-spacing:.2em}.brand small{font-size:7px;letter-spacing:.24em}.seal{border-color:#d8ba7d90;color:#e6cb96;background:#10251c22}.top nav{border-radius:13px;padding:4px;background:#11261f99;border-color:#dbc69a35;box-shadow:0 8px 28px #0002}nav button{border-radius:9px;padding:9px 22px;transition:background .2s,color .2s}nav button[aria-pressed=true]{background:#e0c58a25;color:#ffe1a3;box-shadow:inset 0 -2px #dfbd79}nav button span{font-size:9px;color:inherit;opacity:.65}nav button b{font-weight:400;letter-spacing:.12em}.tools{gap:6px}.tools button{border-color:#dbc69a35;background:#10251f99;min-height:34px;font-size:11px;padding:9px 12px;border-radius:6px}.tools .lesson-toggle{color:#f1d49c;border-color:#e0c58a70}.tools button:hover,.tools button[aria-pressed=true]{background:#d8bb7d26;border-color:#d8bb7d9c}.scene-label{top:127px;left:30px;transition:opacity .4s}.scene-label h1{font-size:23px;letter-spacing:.12em;text-shadow:0 3px 20px #0008}.scene-label .eyebrow{font-size:9px;color:#f0dfb9aa}.scene-label p{font-size:9px;opacity:.78}.compass{right:30px;top:126px;opacity:.7}.reticle{display:none}.welcome{border-radius:10px;background:linear-gradient(135deg,#11251ee8,#0f2419bd);border-color:#dbc79c50;box-shadow:0 15px 55px #0003;padding:27px}.welcome h2{font-size:26px;line-height:1.6}.welcome small{line-height:1.7;color:#c8c6b39c}.primary{border-radius:4px;background:#d9be84;box-shadow:0 6px 18px #0002}.primary:hover{background:#ecd3a1}.lesson-peek{border-radius:30px;background:#0e261dcc;border-color:#dac29055;font-size:10px;padding:10px 16px;box-shadow:0 5px 18px #0002}.lesson-panel{border-radius:11px;border-color:#dbc79c50;background:#0e231eea;box-shadow:0 20px 65px #0005;padding:24px}.lesson-panel h2{font-size:24px;line-height:1.5}.lesson-panel blockquote{border-left:1px solid #d9bd7d90;letter-spacing:.1em}.lesson-panel p{font-size:12px;color:#e2e2d4d9;line-height:1.95}.observe-box{background:#0b1c165e;border-color:#d8c3912c;border-radius:5px}.observe-box strong{font-weight:500}.lesson-panel details{border-color:#d8c3912c}.lesson-panel .mood-note{font-size:9px;color:#b6b69d99}.poetry-mode{border-color:#dec58a80;background:#16332870;border-radius:5px}.poetry-mode[aria-pressed=true]{background:#cfb37c22}.poetry-mode[aria-pressed=true] span,.poetry-mode[aria-pressed=true] small{color:#f3d9a7}.lesson-actions button{border-radius:4px;border-color:#dcc99a50;color:#e0d8c0}.lesson-actions button:hover{background:#d9bc7d1a}.whole-poem{line-height:2.6}.bottom{left:30px;bottom:27px}.controls-note>span{font-size:10px;color:#f6eddaa6}.controls-note small{font-size:9px;color:#e2ddc08c}.dpad button{border-radius:8px;background:#0c241b8c;border-color:#dcc69a38;color:#eee1c1b0;backdrop-filter:blur(10px);font-size:20px}.dpad button:hover{background:#d7bc7b30;border-color:#d7bc7b80;color:#ffe8ac}.dpad button.active{background:#dcc38c;color:#14251c}.view-tools button{border-radius:6px;background:#10241bb5;border-color:#dcc69a38}.hotspot{border:0;background:transparent;padding:0;width:120px;height:65px;border-radius:0;box-shadow:none;white-space:nowrap;display:flex;align-items:center;flex-direction:column;justify-content:center;color:#fff5d7;filter:drop-shadow(0 3px 4px #0005)}.hotspot::before{display:none}.hotspot-core{width:46px;height:28px;border:1px solid #fce4acb0;background:#d7b66d22;border-radius:50%;display:grid;place-items:center;font-size:20px;line-height:1;color:#ffe4a3;box-shadow:0 0 0 5px #ffe2a00c;transition:background .25s,box-shadow .25s;transform:perspective(120px) rotateX(27deg)}.hotspot-caption{font-size:10px;letter-spacing:.06em;margin-top:10px;padding:5px 8px;border-radius:4px;background:#10231cc2;color:#ead9b3;max-width:190px;opacity:.9;transition:opacity .2s,transform .2s}.hotspot:hover{background:transparent;color:inherit}.hotspot:hover .hotspot-core,.hotspot:focus-visible .hotspot-core{background:#dabe7d55;box-shadow:0 0 0 9px #ffe2a014;color:#fff1bc}.hotspot.observation{width:42px;height:42px;background:none;border:0}.hotspot.observation .hotspot-core{width:27px;height:27px;border-radius:50%;transform:none;font-family:"Songti SC",serif;font-size:13px;background:#162b22cc;border-color:#e3c586a6;box-shadow:0 0 0 4px #ffe2a012}.hotspot.observation .hotspot-caption{position:absolute;top:34px;opacity:0;transform:translateY(-4px);pointer-events:none}.hotspot.observation:hover .hotspot-caption,.hotspot.observation:focus-visible .hotspot-caption{opacity:1;transform:translateY(0)}.in-transit .scene-label{opacity:.5}.in-transit #hotspots{pointer-events:none}.guiding .dpad{opacity:.3;transition:opacity .25s}.guiding .dpad:hover{opacity:1}#exit-pure{position:fixed;z-index:25;right:24px;top:24px;background:#11271db5;border:1px solid #dfc79b66;border-radius:20px;padding:10px 16px;font-size:11px;color:#f1dec0}#exit-pure kbd{border:1px solid #e3c89444;border-radius:3px;margin-left:9px;padding:1px 4px;font-size:9px;font-family:inherit;color:#d9cfb8}.pure-provenance{position:fixed;left:24px;bottom:20px;font-size:9px;color:#fff9;letter-spacing:.05em;pointer-events:none;text-shadow:0 2px 5px #000}.pure-view .top,.pure-view .scene-label,.pure-view .bottom,.pure-view .dpad,.pure-view .view-tools,.pure-view .lesson-panel,.pure-view .lesson-peek,.pure-view .compass,.pure-view .welcome,.pure-view #hotspots{display:none!important}.pure-view .shade{background:linear-gradient(transparent 92%,#07140d30)}@media(max-width:760px){.top{padding:17px 15px;gap:13px}.brand{font-size:18px;gap:8px}.brand small{font-size:6px;letter-spacing:.13em}.tools{gap:4px}.tools button{font-size:10px;padding:8px 8px;min-height:31px}nav button{padding:8px 4px}.top nav{width:100%;border-radius:12px}nav button b{font-size:10px}nav button span{font-size:8px;letter-spacing:0}.scene-label{left:18px;top:153px}.scene-label h1{font-size:20px}.compass{right:19px;top:158px}.lesson-panel{padding:20px;border-radius:9px}.lesson-panel h2{font-size:22px}.lesson-panel p{font-size:11px}.lesson-peek{left:18px;bottom:124px;padding:9px 13px;font-size:9px}.bottom{left:18px;bottom:23px}.hotspot-caption{font-size:9px;padding:5px 7px;max-width:160px}.hotspot-core{width:40px;height:25px}.hotspot.observation .hotspot-core{width:26px;height:26px}.welcome{padding:22px}.welcome h2{font-size:23px}.dpad button{font-size:18px}#exit-pure{right:17px;top:18px}.pure-provenance{left:17px;bottom:17px;font-size:8px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Spatial, animated poet guide. The atlas contains walking and speaking poses. */
.top{z-index:12}.scene-label{z-index:5}.lesson-panel{z-index:11}.lesson-peek{z-index:7}.compass,.bottom,.dpad,.view-tools{z-index:6}#hotspots{z-index:4}.welcome{z-index:10}#notice{z-index:14}.poet-avatar{position:fixed;z-index:3;transform:translate(-50%,-100%);cursor:pointer;touch-action:manipulation;outline:none;filter:drop-shadow(0 4px 3px #10201920)}.avatar-sprite{position:absolute;inset:0;background-size:400% 200%;background-repeat:no-repeat;background-position:100% 100%;pointer-events:none;transform-origin:50% 96%}.avatar-shadow{position:absolute;left:35%;right:30%;height:6%;bottom:1%;border-radius:50%;background:#0b17199c;filter:blur(5px);transform:scaleY(.65)}.avatar-name{position:absolute;left:50%;bottom:-28px;transform:translateX(-50%);padding:5px 12px;background:#15291ed9;border:1px solid #e1c58b66;border-radius:15px;white-space:nowrap;color:#f7e4bd;font-size:11px;letter-spacing:.06em;box-shadow:0 3px 10px #0002}.avatar-name small{font-size:8px;letter-spacing:.03em;color:#d3cbaa;margin-left:7px}.poet-avatar:focus-visible .avatar-name,.poet-avatar:hover .avatar-name{background:#4b5032;border-color:#ecd094}.poet-avatar.walking .avatar-sprite{animation:scholar-walk .92s steps(1,end) infinite}.poet-avatar.walking .avatar-shadow{animation:scholar-shadow .46s ease-in-out infinite alternate}.poet-avatar.speaking .avatar-sprite{animation:scholar-talk 6s steps(1,end) infinite}@keyframes scholar-walk{0%{background-position:0% 0%}25%{background-position:33.33333% 0%}50%{background-position:66.66667% 0%}75%{background-position:100% 0%}}@keyframes scholar-talk{0%{background-position:0% 100%}28%{background-position:33.33333% 100%}55%{background-position:66.66667% 100%}82%{background-position:100% 100%}}@keyframes scholar-shadow{from{opacity:.6;transform:scale(.93,.65)}to{opacity:.9;transform:scale(1.04,.65)}}.guide-caption{position:fixed;z-index:8;left:50%;bottom:100px;transform:translateX(-50%);width:min(500px,calc(100vw - 440px));padding:13px 17px 11px;background:#11291ee8;border:1px solid #dfc89860;border-radius:9px;box-shadow:0 9px 35px #0003;backdrop-filter:blur(14px)}.guide-caption-head{display:flex;align-items:center;justify-content:space-between;color:#d8c390;font-size:10px;letter-spacing:.08em}.guide-caption-head button{border:1px solid #ddc79555;border-radius:4px;background:transparent;padding:4px 8px;color:#e6d8b9;font-size:9px}.guide-caption p{font:15px/1.8 "Songti SC","SimSun",serif;letter-spacing:.05em;color:#fff1d0;margin:9px 0 12px}.guide-audio-track{height:1px;background:#dac39530}.guide-audio-track i{height:1px;display:block;width:0;background:#d7bb7d;transition:width .15s linear}.lesson-open .guide-caption{left:auto;right:193px;transform:none;width:min(440px,calc(100vw - 625px))}.lesson-open .guide-caption p{font-size:13px}.pure-view .avatar-name,.pure-view .guide-caption{display:none!important}#guide-audio{display:none}@media(max-width:760px){.top{gap:11px}.brand{font-size:17px}.brand small{font-size:5px}.tools button{padding:8px 7px;font-size:9px}.tools{gap:4px}.guide-caption{left:16px;right:16px;transform:none;bottom:150px;width:auto;padding:11px 13px}.guide-caption p{font-size:13px;line-height:1.8}.guide-caption-head{font-size:9px}.lesson-open .guide-caption,.lesson-open .poet-avatar{display:none!important}.avatar-name{font-size:10px;padding:5px 10px;bottom:-25px}.avatar-name small{font-size:7px;margin-left:5px}}@media(max-height:530px){.guide-caption{bottom:90px;max-width:380px;padding:9px 13px}.guide-caption p{font-size:12px;margin:5px 0}.avatar-name{font-size:9px}}@media(prefers-reduced-motion:reduce){.poet-avatar .avatar-sprite,.poet-avatar .avatar-shadow{animation:none!important}}
.source-audio-actions{display:flex;gap:7px;margin-top:10px}.source-audio-actions button{font-size:10px;padding:6px 9px;border:1px solid #ddc89955;border-radius:4px;background:transparent;color:#ecddb9}.source-audio-actions button:hover{background:#d6bf8030}.source-credit{display:block;font-size:8px;color:#cbc4a58a;letter-spacing:.02em;margin-top:8px}.guide-caption{bottom:77px}.guide-caption p{font-size:14px;margin:8px 0 10px;line-height:1.75}@media(max-width:760px){.guide-caption{bottom:150px}.guide-caption p{font-size:12px}.source-audio-actions button{font-size:9px}.source-credit{font-size:7px}}
/* Keep the original-voice player clear of the guide's feet and touch controls. */
.guide-caption{left:30px;right:auto;bottom:102px;transform:none;width:350px}.voice-open .lesson-peek{display:none}.lesson-open .guide-caption{left:auto;right:193px;width:min(440px,calc(100vw - 625px))}@media(max-width:760px){.guide-caption{left:16px;right:auto;bottom:18px;width:calc(100vw - 164px);padding:10px}.guide-caption-head{font-size:8px;letter-spacing:0}.guide-caption-head button{font-size:8px;padding:3px 5px}.guide-caption p{font-size:10px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0}.source-audio-actions{gap:5px;margin-top:7px}.source-audio-actions button{font-size:8px;padding:5px}.source-credit{display:none}.voice-open .bottom{display:none}.lesson-open .guide-caption{display:none!important}}
/* Foot-registered canvas animation: no CSS sprite jumps or detached shadow pulsing. */
.poet-avatar{transform:translate(-50%,-95%);filter:none;transition:opacity .18s linear}.poet-avatar .avatar-sprite{display:block;background:none!important;animation:none!important;transform:none!important;width:100%;height:100%;transform-origin:50% 95%}.poet-avatar .avatar-shadow{left:38%;right:33%;height:3.4%;bottom:3.1%;filter:blur(2px);transform:scaleY(.46);background:radial-gradient(ellipse,#14140cd9 0%,#17170b50 45%,transparent 75%);opacity:var(--contact-shadow,.27);animation:none!important}.poet-avatar .avatar-shadow:after{content:'';position:absolute;left:-20%;right:-60%;top:-20%;bottom:-30%;background:radial-gradient(ellipse,#2120104d,transparent 70%);transform:skewX(-25deg);filter:blur(3px)}.avatar-name{opacity:0;transition:opacity .2s;background:#14261e99;border-color:#d5c29440;font-size:9px;padding:4px 9px}.poet-avatar:hover .avatar-name,.poet-avatar:focus-visible .avatar-name{opacity:1}#narration-toggle{color:#d8c69d}#narration-toggle[aria-pressed=true]{background:#ccb67a36;color:#ffe6b3;border-color:#dac488a6}@media(max-width:430px){.tools #help{display:none}.tools #fullscreen{font-size:0;width:27px;padding:6px}.tools #fullscreen:after{content:'⛶';font-size:15px}.tools button{font-size:8px;padding:8px 6px}.top{gap:8px}.tools{gap:3px}}

/* Character locomotion is independent of scene navigation and audio. */
#actor-walk-toggle[aria-pressed=true]{background:#ccb67a36;border-color:#dac488a6;color:#ffe6b3}
@media(max-width:430px){.tools button{padding:8px 5px}.tools{gap:2px}.tools #guided-tour{font-size:8px}.brand small{letter-spacing:.05em}}

/* The contact patch is centered on the same registered foot point as the figure. */
.poet-avatar .avatar-shadow{left:35%;right:35%;bottom:3.3%;height:3.4%;filter:blur(1px);opacity:.56;transform:scaleY(.5)}
.poet-avatar .avatar-shadow:after{opacity:.4}

/* Phone and tablet presentation: safe areas, usable touch targets and landscape. */
.touch-instructions{display:none}
@media(pointer:coarse){.desktop-instructions{display:none}.touch-instructions{display:inline}button{touch-action:manipulation}}
@media(max-width:1100px){
 .top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;padding-top:max(12px,env(safe-area-inset-top))}
 .top .brand{font-size:16px;gap:7px;letter-spacing:.12em}.brand small{font-size:5px;letter-spacing:.06em}.seal{width:26px;height:32px;font-size:18px}
 .tools{margin-left:auto;gap:3px}.tools button{min-height:40px;font-size:10px;padding:8px 7px;white-space:nowrap}
 .top nav{order:3;width:100%;max-width:none;justify-content:center;padding:3px;gap:3px}.top nav button{flex:1;padding:7px 3px;min-height:44px}.top nav button b{font-size:11px}.top nav button span{font-size:8px;letter-spacing:0}
 .scene-label{top:143px;left:16px}.scene-label h1{font-size:19px}.compass{top:146px;right:16px}
 .dpad{right:max(12px,env(safe-area-inset-right));bottom:calc(12px + env(safe-area-inset-bottom));grid-template-columns:44px 44px 44px;grid-template-rows:44px 44px 44px;gap:4px}
 .dpad button{font-size:21px}.view-tools{right:max(12px,env(safe-area-inset-right));bottom:calc(168px + env(safe-area-inset-bottom));gap:4px}.view-tools button{min-height:40px;padding:8px 11px}
 .welcome{left:16px;bottom:calc(175px + env(safe-area-inset-bottom));width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - 325px);overflow:auto;padding:20px}.welcome h2{font-size:22px;line-height:1.5}.welcome p{font-size:12px;line-height:1.8}.welcome small{font-size:9px}
 .primary{min-height:44px}.bottom{left:16px;bottom:calc(18px + env(safe-area-inset-bottom));right:166px}.bottom small{line-height:1.6;max-width:170px}.walk-progress{display:none}
 .lesson-peek{left:16px;bottom:calc(172px + env(safe-area-inset-bottom));font-size:10px;max-width:calc(100vw - 180px);white-space:normal}
 .guide-caption{left:12px;right:auto;bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100vw - 176px);max-width:350px;padding:10px;transform:none}.guide-caption-head{font-size:9px;letter-spacing:0}.guide-caption-head button{min-height:32px;font-size:10px}.guide-caption p{font-size:12px;line-height:1.6;white-space:normal;margin:8px 0}.source-audio-actions{flex-wrap:wrap;gap:5px;margin-top:8px}.source-audio-actions button{min-height:34px;font-size:10px;padding:6px}.source-credit{display:none}
 .voice-open .bottom{display:none}.lesson-panel{left:12px;right:12px;width:auto;top:230px;bottom:calc(172px + env(safe-area-inset-bottom));padding:20px;max-height:none}.lesson-open .guide-caption{display:none!important}.lesson-open .view-tools{display:none}
 .lesson-actions button{min-height:40px}.close{min-width:40px;min-height:40px}.whole-poem{font-size:14px;line-height:2.5;letter-spacing:0}#notice{bottom:calc(170px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);font-size:11px;white-space:normal}
 #exit-pure{top:calc(12px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-height:40px}.pure-provenance{bottom:calc(12px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.top{padding-left:10px;padding-right:10px}.top .brand{font-size:14px;gap:5px}.seal{width:22px;height:29px;font-size:17px}.brand small{display:none}.tools{gap:2px}.tools button{font-size:9px;padding:8px 5px}.tools #fullscreen{width:28px;padding:5px}.guide-caption p{font-size:11px}.guide-caption-head{flex-wrap:wrap;gap:3px}.welcome{padding:16px}.welcome h2{font-size:20px}.guide-caption{padding:9px}.source-audio-actions button{font-size:9px}}
@media(max-height:520px) and (min-width:600px){
 .top{padding:8px 16px;gap:5px}.top .brand{font-size:16px}.top nav{width:100%;margin:auto;max-width:510px}.top nav button{min-height:37px;padding:4px}.top nav button span{font-size:8px}.tools button{min-height:36px}
 .scene-label{top:108px;left:16px}.scene-label h1{font-size:17px;margin:6px 0}.compass{top:108px}.scene-label p{font-size:8px}.welcome{bottom:16px;max-height:calc(100dvh - 160px);width:310px;padding:16px}.welcome h2{font-size:20px;margin:7px 0}.welcome p{margin:0 0 12px;font-size:11px}.welcome small{display:none}
 .lesson-panel{top:105px;bottom:16px;width:min(400px,calc(100vw - 210px));right:auto;padding:20px}.lesson-panel h2{font-size:21px}.lesson-peek{bottom:16px}.guide-caption{bottom:12px;width:min(350px,calc(100vw - 205px))}.bottom{display:none}.view-tools{bottom:166px}.dpad{bottom:12px}.source-audio-actions{margin-top:5px}.guide-caption p{margin:5px 0;font-size:12px}
 #fifth-views{margin-top:7px}.lesson-open .scene-label{display:none}.lesson-open .compass{display:none}
}
