:root{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;color:#344b40;background:#dce8df;font-synthesis:none;font-weight:400;--ink:#344b40;--muted:#687666;--paper:#f8f6ec;--green:#506f5c;--border:#d6ddce;--soft:#edf0e5}
*{box-sizing:border-box}body{margin:0}html,body,#app,.town-shell{width:100%;height:100%;height:100dvh;overflow:hidden}button,input,select{font:inherit}button{min-height:44px;min-width:44px;border:1px solid var(--border);border-radius:10px;background:var(--paper);color:var(--ink);padding:9px 13px;line-height:1.4;cursor:pointer;touch-action:manipulation;transition:background .15s,border-color .15s,box-shadow .15s}button:hover{background:#edf0e4;border-color:#a9b8a5}button:active{background:#dfe7d8}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #648c9a;outline-offset:3px}a{color:#426b70;text-underline-offset:3px}h1,h2,h3,p{margin-top:0}p{line-height:1.75}h1{font-size:25px;line-height:1.45;font-weight:600;letter-spacing:-.4px}h2{font-size:23px}h3{font-size:17px;margin-bottom:12px}small{font-size:12px;line-height:1.6}hr{border:0;border-top:1px solid var(--border);margin:24px 0}[hidden]{display:none!important}.primary{background:var(--green);border-color:var(--green);color:#fffdf3}.primary:hover{background:#3e5c4b;color:white}.selected,button[aria-pressed=true]{background:#e2eadd;border-color:#71917a;box-shadow:inset 0 0 0 1px #71917a}.danger{color:#8b524b;border-color:#cda99a}.eyebrow{display:block;font-size:11px;letter-spacing:1.7px;font-weight:600;color:#70836c}.microcopy{font-size:12px;line-height:1.7;color:var(--muted);margin:10px 0}.button-row{display:flex;gap:8px;flex-wrap:wrap}.button-row>button{flex:1}.stage{position:absolute;inset:0;overflow:hidden}.stage canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-5px}.stage:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 100px 10px #eef4e426}.world-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.world-labels button{position:absolute;top:0;left:0;pointer-events:auto;white-space:nowrap;will-change:transform}.station-label{font-size:12px;min-height:44px;box-shadow:0 4px 12px #345c4512;border-radius:24px;background:#faf9efed;border-color:#cdd6c6;padding:9px 15px}.station-label:after{content:"";position:absolute;width:5px;height:5px;bottom:-7px;left:50%;background:#526b51;border-radius:50%;box-shadow:0 0 0 4px #f5f5e9a0}.station-label.home-label{background:#f5ecdbed;color:#745b3c}.object-label{font-size:11px;min-height:44px;border-radius:22px;background:#fcfaeccf;box-shadow:0 3px 10px #334f3812;padding:7px 12px}.top-bar{position:absolute;top:max(24px,env(safe-area-inset-top));left:30px;right:30px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;gap:16px}.top-bar nav{display:flex;gap:8px;pointer-events:auto}.top-bar nav button{background:#faf9efed;box-shadow:0 3px 12px #36583c08;font-size:13px}.brand{padding:0 4px;text-shadow:0 1px 16px #f5fbef}.wordmark{display:block;font:400 39px/1.1 Georgia,"Times New Roman",serif;letter-spacing:-1.9px;color:#365843}.wordmark i{color:#8e674b}.brand-sub{display:block;margin-top:9px;font-size:12px;letter-spacing:2px;color:#52684f}.journal-count{display:inline-flex;align-items:center;justify-content:center;background:#e9ecd9;border-radius:50%;width:20px;height:20px;font-size:11px;margin-left:5px}.region-badge{position:absolute;top:125px;left:35px;display:flex;align-items:center;gap:7px;color:#66795f;font-size:11px;letter-spacing:1px}.small-dot{width:5px;height:5px;display:inline-block;background:#77916c;border-radius:50%}.hint-card{position:absolute;bottom:145px;left:34px;max-width:305px;background:#faf8ebed;border:1px solid #d3ddc8;border-radius:16px;padding:20px 23px;box-shadow:0 8px 35px #34573b0a}.hint-card:before{content:"";display:block;width:23px;height:3px;background:#c29a78;border-radius:3px;margin-bottom:15px}.hint-card p{font-size:14px;line-height:1.8;margin:12px 0 0}.view-controls{position:absolute;right:30px;bottom:148px;display:grid;grid-template-columns:1fr 1fr;gap:4px;max-width:120px}.view-controls button{font-size:11px;border-radius:8px;padding:6px 9px;background:#f5f6e8e0}.view-controls button:last-child{grid-column:1/-1}.travel-bar{position:absolute;bottom:max(48px,calc(env(safe-area-inset-bottom) + 32px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:9px 11px 9px 20px;background:#faf9efed;border:1px solid #d4ddc8;box-shadow:0 10px 35px #3b614718;border-radius:18px;white-space:nowrap}.travel-label{font-size:11px;letter-spacing:1.5px;color:#79816a;margin-right:9px}.travel-bar button{border-color:transparent;background:#eef0e4;font-size:13px;min-height:48px;display:flex;align-items:center;gap:10px;padding:10px 18px}.travel-bar button:hover{background:#e3e8d7}.travel-bar small{font:italic 14px Georgia,serif;color:#9d8b69}.world-footer{position:absolute;bottom:max(15px,env(safe-area-inset-bottom));left:35px;right:35px;display:flex;justify-content:space-between;pointer-events:none;font-size:10px;letter-spacing:1px;color:#647d61}.toast{position:absolute;top:93px;left:50%;transform:translateX(-50%);z-index:20;max-width:min(580px,88vw);width:max-content;background:#f9f7eb;border:1px solid #c8d4bd;box-shadow:0 6px 24px #274b321f;border-radius:12px;padding:13px 20px;font-size:13px;line-height:1.7;pointer-events:none}.experiment-panel{position:absolute;right:20px;top:88px;bottom:22px;width:368px;border:1px solid #d2daca;background:#faf8efed;border-radius:20px;box-shadow:0 12px 40px #324d3c1a;overflow:auto;scrollbar-width:thin;scrollbar-color:#c1cdb8 transparent;padding:21px 22px 0;overscroll-behaviour:contain}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.panel-top button{font-size:11px;min-height:44px;background:transparent;padding:6px 11px}.experiment-panel h1{font-size:22px;margin-bottom:11px;max-width:310px}.claim{font-size:12px;color:#78816e;line-height:1.8;margin-bottom:16px}.guess{font-size:12px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:6px 0;margin-bottom:16px}.guess summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#637b60}.guess summary:before{content:"＋";margin-right:8px}.guess[open] summary:before{content:"－"}.guess label{display:block;padding-bottom:10px;color:#73816a}.guess input{width:100%;margin-top:8px;border:1px solid var(--border);background:#fffef7;border-radius:8px;min-height:44px;padding:10px}.step-line{display:flex;align-items:center;gap:6px;font-size:10px;margin:8px 0 20px}.step{color:#939a8c;white-space:nowrap}.step:not(:last-child):after{content:"›";margin-left:7px;color:#a5ad9a}.step.current{color:#536e4f}.control-group{margin-bottom:17px}.field-label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;letter-spacing:.5px}.segments{display:flex;flex-wrap:wrap;gap:5px}.segments button{flex:1;min-width:55px;padding:8px 7px;font-size:12px;border-radius:8px;background:#f4f4e9}.segments button.selected{background:#e2eadd}.readout{padding:13px 15px;border-radius:10px;background:#eaeee2;font-size:12px;line-height:1.8;margin-bottom:12px}.readout span{font-size:11px;color:#7c8472}.controls-body>.button-row{margin:8px 0 16px}.observation-tool{display:flex;flex-direction:column;gap:6px;align-items:center;margin:18px 0 10px;padding-top:16px;border-top:1px solid var(--border)}.observation-tool>button{width:100%;background:#e8ede5;border-color:#c9d4c4;font-size:13px}.observation-tool>span{font-size:10px;letter-spacing:1px;color:#87907f}.legend{padding:12px 14px;background:#f0f0e4;border-radius:10px;display:flex;flex-wrap:wrap;gap:8px 12px;font-size:11px;color:#6d7867}.legend small{width:100%;font-size:10px}.legend-line:before{content:"";display:inline-block;width:18px;height:0;border-top:2px dashed #b89e67;margin:0 5px 3px 0}.legend-line.blue:before{border-color:#7397a4}.legend-dot:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#748b9c;margin:0 6px 1px 0}.live-state{font-size:11px;line-height:1.7;color:#72846a;min-height:32px;margin:12px 0}.panel-actions{position:sticky;bottom:0;padding:14px 0 11px;background:#faf8effa;border-top:1px solid var(--border);z-index:2}.panel-actions .button-row button{font-size:12px}.sub-actions{display:flex;gap:8px;margin-top:7px}.sub-actions button{flex:1;border-color:transparent;background:transparent;min-height:44px;font-size:11px;color:#78856e}.sub-actions button:hover{background:#eef1e5}.observation-result{border-left:3px solid #c8ac82;background:#f0eddf;padding:16px;border-radius:0 12px 12px 0;margin:16px 0}.observation-result p{font-size:13px;line-height:1.85;margin:9px 0 10px}.observation-result button{font-size:12px;border-color:#d4d5bd;background:#f8f5e8}.short-explanation p{font-size:13px}.short-explanation button{font-size:12px}.next-cue{padding:12px;background:#ebefe2;border-radius:9px;font-size:12px;line-height:1.8}.timer{display:flex;align-items:baseline;gap:9px;background:#f0eddf;border-radius:12px;padding:12px 16px;margin:0 0 14px}.timer span{font-size:11px}.timer output{font:32px Georgia,serif;letter-spacing:-1px;color:#836443;font-variant-numeric:tabular-nums}.timer small{font-size:10px;color:#8a8974}.zone-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.zone-grid button{display:flex;flex-direction:column;align-items:center;font-size:12px;gap:3px;min-height:61px;border-radius:12px}.zone-grid button span{font-size:10px;color:#8b907c}.zone-grid button.covered{background:#dfe9da;border-color:#7a9a76}.zone-grid button.covered:after{content:"已覆盖";font-size:9px;color:#63805d}.coverage-caption{font-size:11px;margin:10px 0 16px;color:#74876c}.in-experiment .hint-card,.in-experiment .travel-bar,.in-experiment .world-footer{display:none}.in-experiment .view-controls{right:auto;left:28px;bottom:28px}.in-experiment .region-badge{top:113px}.in-experiment .brand .wordmark{font-size:31px}.in-experiment .brand-sub{font-size:10px}.in-experiment .top-bar{top:22px}.sheet-dialog{width:min(800px,94vw);max-height:88dvh;border:1px solid #d2d8c8;border-radius:22px;padding:0;background:#faf8ef;color:var(--ink);box-shadow:0 24px 90px #2845323a;overscroll-behavior:contain}.sheet-dialog::backdrop{background:#3d574940;backdrop-filter:blur(4px)}.dialog-content{padding:25px 30px 32px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;top:0;background:#faf8effa;z-index:3;padding:0 0 16px;border-bottom:1px solid var(--border);margin-bottom:19px}.dialog-heading h2{margin:0;font-size:21px}.dialog-heading button{font-size:12px}.dialog-intro{font-size:13px;color:#7c8470}.compare-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.comparison-record{border:1px solid #d7ddcc;border-radius:15px;background:#f3f3e7;padding:17px}.comparison-record label b{display:block;font:italic 22px Georgia,serif;color:#8b7653;margin-bottom:9px}.comparison-record select{width:100%;font-size:12px}.record-preview{margin:15px 0;padding:20px 12px;background:#e5ecdf;min-height:150px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:10px}.record-preview small{font-size:10px;color:#6e7e68}.record-preview strong{font-size:15px}.preview-sun{font-size:13px;color:#9a814f}.path-diagram{display:flex;align-items:center;justify-content:center;font-size:10px;gap:4px;margin:5px 0}.path-diagram i{display:block;width:29px;border-top:2px dashed #af9863}.path-diagram i.sheltered{position:relative}.path-diagram i.sheltered:before{content:"";display:block;width:6px;height:18px;background:#cebc91;position:absolute;top:-10px;left:5px}.path-diagram .sky-path{border-color:#7198a2}.path-diagram strong{padding:9px 7px;border-radius:6px;background:#f6edcf;font-size:11px}.food-diagram{position:relative;height:70px;display:flex;align-items:flex-start;justify-content:center;padding-top:7px}.food-diagram span{display:block;width:65px;height:32px;border-radius:50%;background:#dfc895;border:5px solid #b48e5f;z-index:1}.food-diagram .watermelon{background:#d99b86;border-color:#84a278;border-radius:10px 10px 28px 28px}.contact-line{position:absolute;bottom:8px;left:20%;width:60%;height:15px;border-radius:3px;background:repeating-linear-gradient(90deg,#e6e9d8 0,#e6e9d8 14px,#a2ac92 15px,#a2ac92 16px)}.contact-line.carpet{background:repeating-linear-gradient(90deg,#bea894 0,#bea894 3px,#ab9082 4px,#ab9082 5px)}dl{margin:0 0 16px;font-size:11px}dl>div{display:grid;grid-template-columns:80px 1fr;gap:10px;padding:6px 0;border-bottom:1px solid #d8dfce}dt{color:#7c8874}dd{margin:0;overflow-wrap:anywhere;line-height:1.7}.comparison-record>button{font-size:11px;width:100%}.comparison-diff{padding:20px 0;margin-top:8px}.comparison-diff p,.explanation p{font-size:13px;line-height:1.9}.comparison-diff h3{margin:0 0 8px}.comparison-diff details summary{font-size:13px;min-height:44px;display:flex;align-items:center;cursor:pointer}.comparison-diff details summary:before{content:"－";margin-right:8px}.comparison-diff details:not([open]) summary:before{content:"＋"}.caution{padding:12px 15px;background:#f0e7d8;border-radius:9px;color:#85664d}.explanation{background:#e8eedf;padding:20px;border-radius:13px}.coverage-diagram{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.coverage-diagram span{background:#f5f3e7;border:1px solid #d1d9c6;border-radius:9px;padding:8px 4px;font-size:9px}.coverage-diagram b{display:block;font-size:11px;margin-top:4px}.coverage-diagram .done{background:#d3e1c8;border-color:#8ca77b}.journal-topic{border-bottom:1px solid var(--border);padding:10px 0 23px;margin-bottom:20px}.journal-title{display:flex;gap:16px;align-items:center;margin-bottom:16px}.topic-number{font:italic 28px Georgia,serif;color:#b2966e}.journal-title h3{margin:0 0 6px}.journal-title p{font-size:11px;color:#7e8c72;margin:0}.journal-title button{margin-left:auto;font-size:11px}.journal-topic details>summary{cursor:pointer;font-size:12px;min-height:44px;line-height:44px}.journal-record{border:1px solid var(--border);background:#f2f3e7;border-radius:10px;padding:15px;margin-top:12px}.journal-record time{font-size:11px;color:#859278;display:block;margin-bottom:8px}.journal-record button{font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;margin:25px 0}.settings-grid label{font-size:13px;display:flex;flex-direction:column;gap:9px}.settings-grid .check{flex-direction:row;align-items:center;gap:10px;min-height:44px}.settings-grid input[type=checkbox]{width:21px;height:21px;accent-color:#648366}select{border:1px solid #ccd6c1;border-radius:8px;min-height:44px;background:#f4f4e8;color:#4e6548;padding:8px 10px;max-width:100%}.source-content p{font-size:13px;line-height:1.95}.source-content h3{margin-top:25px;padding-top:15px;border-top:1px solid #dce1d2}.source-record{margin-top:20px;padding-bottom:13px;border-bottom:1px solid var(--border)}.source-record a{font-size:13px;line-height:1.7;display:block;overflow-wrap:anywhere}.source-record p{font-size:12px;margin:8px 0}.source-record small{color:#87907e}.review-note{padding:15px;background:#e9eee1;border-radius:11px;color:#6c7c61}.boot{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#5c7754;background:#e5eddc;font-size:16px}.boot progress{width:200px;accent-color:#6c9069;height:9px}.boot small{font-size:12px;color:#86967b}.fallback{max-width:960px;height:100dvh;overflow:auto;margin:auto;padding:35px 28px;background:#f8f7ed}.fallback h1{font-size:23px;margin:30px 0 20px}.fallback p{font-size:14px}.fallback details{border-top:1px solid #d5ddc9;margin-top:20px;padding-top:10px}.fallback summary{min-height:44px;cursor:pointer;font-size:16px;line-height:1.8;padding:10px 0}.reduce-motion *{transition:none!important;scroll-behavior:auto!important}
@media(min-width:1600px){.experiment-panel{right:32px;width:405px;top:105px;bottom:30px;padding:25px 27px 0}.top-bar{left:42px;right:42px;top:32px}.hint-card{left:44px}.travel-bar{bottom:52px}.wordmark{font-size:45px}}
@media(max-width:1050px) and (min-width:961px){.experiment-panel{width:332px;right:12px;padding:18px 17px 0}.top-bar{left:20px;right:20px;top:18px}.wordmark{font-size:33px}.hint-card{max-width:260px;left:20px;padding:18px}.travel-label{display:none}.travel-bar{padding:8px}.travel-bar button{padding:9px 13px;font-size:12px}.top-bar nav{gap:5px}.top-bar nav button{font-size:11px;padding:8px 10px}.in-experiment .region-badge{left:25px;font-size:10px}.in-experiment .brand .wordmark{font-size:28px}}
@media(max-width:960px){.top-bar{left:17px;right:15px;top:max(18px,env(safe-area-inset-top));gap:8px}.wordmark{font-size:28px;letter-spacing:-1.3px}.brand-sub{font-size:9px;letter-spacing:1px;margin-top:7px}.top-bar nav{gap:5px}.top-bar nav button{font-size:11px;padding:8px 9px;border-radius:9px}.top-bar [data-action=depth]{display:none}.journal-count{width:16px;height:16px;font-size:9px;margin-left:2px}.region-badge{left:20px;top:95px;font-size:10px}.hint-card{left:16px;right:16px;max-width:none;bottom:132px;padding:13px 17px;border-radius:13px;background:#faf8ebe8}.hint-card:before{display:none}.hint-card .eyebrow{font-size:10px}.hint-card p{margin:6px 0 0;font-size:12px;line-height:1.65}.hint-card br{display:none}.view-controls{right:16px;bottom:240px;gap:4px;max-width:99px}.view-controls button{font-size:10px;min-height:44px;padding:7px 4px}.travel-bar{left:13px;right:13px;bottom:max(36px,calc(env(safe-area-inset-bottom) + 20px));transform:none;gap:5px;padding:7px;border-radius:14px}.travel-label{display:none}.travel-bar button{flex:1;flex-direction:column;gap:1px;min-width:0;font-size:10px;white-space:normal;padding:7px 3px;min-height:61px;line-height:1.65}.travel-bar small{font-size:13px}.world-footer{left:18px;right:18px;bottom:max(13px,env(safe-area-inset-bottom));font-size:8px;letter-spacing:0}.station-label{font-size:10px;padding:8px 10px;min-height:44px;max-width:160px;white-space:normal!important}.station-label.home-label{font-size:9px}.toast{top:82px;font-size:11px;padding:11px 15px;max-width:91vw}.experiment-panel{top:45dvh;bottom:0;left:0;right:0;width:100%;padding:16px 19px 0;border-radius:21px 21px 0 0;border-left:none;border-right:none;box-shadow:0 -5px 25px #39543a12;background:#faf8ef}.in-experiment .stage{height:45dvh;bottom:auto}.in-experiment .top-bar{top:max(12px,env(safe-area-inset-top));left:16px;right:14px}.in-experiment .brand .wordmark{font-size:25px}.in-experiment .brand-sub{font-size:8px;letter-spacing:.7px;margin-top:4px}.in-experiment .top-bar nav button{font-size:10px;padding:6px 8px}.in-experiment .region-badge{display:none}.in-experiment .view-controls{bottom:auto;top:76px;left:12px;right:auto;display:flex;gap:4px;max-width:none}.in-experiment .view-controls button{font-size:9px;min-width:44px;padding:5px}.in-experiment .view-controls [data-action=rotate-left],.in-experiment .view-controls [data-action=rotate-right]{display:none}.in-experiment .toast{top:126px}.panel-top{margin-bottom:10px}.panel-top .eyebrow{font-size:10px}.experiment-panel h1{font-size:21px;max-width:none;margin-bottom:9px}.claim{font-size:11px;margin-bottom:10px}.guess{margin-bottom:12px}.step-line{margin-bottom:16px}.controls-body{padding-bottom:2px}.panel-actions{padding-bottom:max(9px,env(safe-area-inset-bottom));margin:0 -19px;padding-left:19px;padding-right:19px}.panel-actions .button-row button{min-height:46px}.observation-result{padding:13px 15px}.object-label{font-size:10px;min-height:44px;max-width:150px;white-space:normal!important;padding:6px 10px}.sheet-dialog{width:calc(100vw - 22px);max-height:91dvh;border-radius:18px}.dialog-content{padding:19px 17px 25px}.dialog-heading h2{font-size:19px}.dialog-heading{gap:10px}.compare-columns{gap:9px}.comparison-record{padding:11px 9px;border-radius:11px;min-width:0}.comparison-record label b{font-size:20px}.comparison-record select{font-size:10px;padding:7px 4px}.record-preview{min-height:136px;padding:10px 7px}.record-preview small{font-size:9px}.record-preview strong{font-size:12px}.path-diagram{flex-wrap:wrap;font-size:9px;gap:3px}.path-diagram span:last-child{flex-basis:100%;margin-top:5px}.path-diagram i{width:17px}.path-diagram strong{font-size:10px;padding:7px 4px}.comparison-record dl>div{display:block;padding:8px 0}.comparison-record dt{font-size:10px;margin-bottom:4px}.comparison-record dd{font-size:10px;line-height:1.7}.coverage-diagram{grid-template-columns:1fr 1fr}.coverage-diagram span{font-size:8px}.journal-title{gap:9px}.journal-title h3{font-size:14px}.journal-title button{font-size:10px;padding:8px}.topic-number{font-size:22px}.settings-grid{grid-template-columns:1fr;gap:14px}.settings-grid label{font-size:12px}.sheet-dialog p{font-size:12px}.comparison-diff p,.explanation p{font-size:12px}.comparison-diff h3,.explanation h3{font-size:16px}.source-content h3{font-size:16px}}
@media(max-height:600px) and (min-width:961px){.hint-card{bottom:120px}.view-controls{bottom:120px}.experiment-panel{top:74px;bottom:10px}.region-badge{top:105px}.top-bar{top:16px}.wordmark{font-size:29px}.travel-bar{bottom:35px}.brand-sub{font-size:10px}.panel-top{margin-bottom:8px}.experiment-panel h1{font-size:20px}}
/* Keep the exit action reachable while scrolling an observation panel. */
.panel-top{position:sticky;top:-21px;z-index:4;background:#faf8effa;padding:5px 0 7px;margin-top:-5px}
@media(max-width:960px){.panel-top{top:-16px;margin-top:0;padding-top:4px}}
#app[data-sound-caption]:after{content:attr(data-sound-caption);position:fixed;left:50%;bottom:12px;transform:translateX(-50%);background:#f4f4e5ed;border:1px solid #d2dbc6;color:#728268;font-size:11px;padding:6px 12px;border-radius:8px;pointer-events:none;z-index:30}

.principle-badge{position:absolute;left:30px;top:150px;max-width:320px;padding:9px 13px;background:#faf8efef;border:1px solid #d6decd;border-radius:9px;font-size:11px;color:#425c49;pointer-events:none;z-index:4}
@media(max-width:960px){.principle-badge{left:12px;top:auto;bottom:10px;max-width:calc(100% - 24px);padding:7px 10px;font-size:10px}}

/* v0.7: optional detours use the same accessible scene/panel split, not another dashboard. */
.travel-bar .map-entry{background:#e3e9d9;border-color:#cbd6bd;color:#46634e;gap:4px;min-width:84px}
.scenic-label{background:#f0efdfeb;border-style:dashed;font-size:11px;color:#65705c}
.scenic-subtitle{font-size:11px;color:#74806b;margin-bottom:20px}
.scenic-instruction{font-size:13px;line-height:1.9}
.scenic-state{margin:20px 0 17px;padding:17px;border:1px solid #d4ddc9;background:#eaf0e0;border-radius:12px;display:flex;flex-direction:column;gap:8px}
.scenic-state span{font-size:11px;color:#6b7c63;letter-spacing:1px}.scenic-state strong{font-size:22px;font-weight:500}
.scenic-limits{margin:24px 0 22px;border-top:1px solid #d6decd;padding-top:18px}.scenic-limits p{font-size:12px;color:#6b7865;line-height:1.85;margin:10px 0}
.scenic-views{display:grid;gap:8px}.scenic-views button{text-align:left;padding:11px 14px;font-size:13px}
.in-exploration .panel-actions .button-row button:first-child{background:#56755f;color:#fffdf3;border-color:#56755f}
.town-map{border:1px solid #dce0cf;background:#edf0e3;border-radius:15px;overflow:hidden;margin:18px 0 23px;padding:10px}.town-map svg{display:block;width:100%;max-height:310px}.map-key{display:block;text-align:center;font-size:10px;line-height:1.7;color:#6a7b61;padding:6px}
.scenic-destinations{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.scenic-destinations section{border:1px solid #d9dece;border-radius:12px;padding:14px;background:#f7f6eb}.scenic-place-title{display:flex;gap:10px;margin-bottom:15px;align-items:flex-start}.scenic-place-title>span{font:italic 25px Georgia,serif;color:#a0835c}.scenic-place-title h3{font-size:14px;line-height:1.7;margin-bottom:4px}.scenic-place-title p{font-size:10px;line-height:1.7;color:#78836e;margin-bottom:0}.scenic-destinations .button-row{flex-direction:column}.scenic-destinations button{font-size:12px}
.walk-notes{border-top:1px solid #d5ddc8;margin-top:25px;padding-top:24px}.walk-notes article{display:grid;grid-template-columns:1fr auto;gap:6px;border-bottom:1px solid #e2e5d8;padding:12px 0}.walk-notes article span{font-size:11px;color:#718367}.walk-notes article strong{font-size:12px;font-weight:400;grid-column:1}.walk-notes article time{font-size:10px;color:#78836d;grid-column:2;grid-row:1/3}
@media(max-width:960px){.travel-bar .map-entry{min-width:58px;flex:.75;font-size:11px;padding:8px}.scenic-label{font-size:9px;max-width:135px}.scenic-destinations{grid-template-columns:1fr;gap:10px}.scenic-destinations .button-row{flex-direction:row}.scenic-place-title{margin-bottom:9px}.town-map svg{max-height:250px}.scenic-state{margin:16px 0;padding:13px}.scenic-state strong{font-size:19px}.in-exploration .experiment-panel{top:48dvh}.in-exploration .stage{height:48dvh}.scenic-instruction{font-size:12px}.in-exploration .scenic-limits{margin:18px 0}.in-exploration .panel-actions{position:relative}.in-exploration .panel-top{top:-16px}}
/* v0.8: compact science tools, import confirmation, map destinations and small-screen overflow. */
.travel-bar{max-width:calc(100% - 40px);overflow-x:auto;justify-content:flex-start;scrollbar-width:thin;overscroll-behaviour:contain}.travel-bar>button{flex-shrink:0}.travel-bar .map-entry{position:sticky;left:0;z-index:1;background:#f8f4e7}.segment{border:0;padding:0;margin:15px 0;min-inline-size:0}.segment legend{font-weight:600;font-size:13px;margin-bottom:8px}.segment .button-row{flex-wrap:wrap}.readout small{display:block;margin-top:5px;font-size:11px;font-weight:400;line-height:1.55}.scenario-tools{display:flex;align-items:center;gap:10px;margin:4px 0 13px}.scenario-tools span{font-size:11px;line-height:1.5;color:#617064}.comparison-assistant{border-left:3px solid #93b4a1;background:#edf1e5;padding:12px;margin:14px 0}.comparison-assistant p{font-size:12px;line-height:1.65}.comparison-assistant button{font-size:12px;width:100%}.scenario-list{display:grid;gap:14px}.scenario-list article{padding:16px;border:1px solid #d5daca;border-radius:12px;background:#f5f4e8}.scenario-list h3{margin:0 0 8px}.scenario-list p{line-height:1.7}.science-destinations{display:grid;grid-template-columns:1fr 1fr;gap:12px}.science-destinations section{padding:14px;border:1px solid #d1daca;border-radius:12px;background:#f1f3e8}.science-destinations h3{font-size:15px;margin:0}.science-destinations p{font-size:12px;color:#596958;line-height:1.7}.science-destinations button{font-size:12px;flex:1}.physics-snapshot{display:grid;gap:12px;padding:20px 10px;text-align:center;min-height:120px;background:#eef0e1;border-radius:10px}.physics-snapshot span{font-size:17px;color:#456659}.physics-snapshot small{font-size:11px;line-height:1.6}.diagnostics{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:220px;overflow:auto;background:#edf0e5;padding:12px}.file-import{display:grid;gap:8px;font-weight:600;margin:15px 0}.file-import input{max-width:100%;min-height:44px;padding:8px;background:#f4f3e8;border:1px solid #ccd5c6;border-radius:8px;font:inherit;font-size:12px}.storage-state{background:#edf1e5;padding:12px;border-left:3px solid #82a18b;font-size:13px;line-height:1.7}.sheet-dialog input[type=file]::file-selector-button{min-height:44px;border:1px solid #aebea8;border-radius:6px;background:#fdfaf0;padding:6px 12px;font:inherit}.fallback .button-row{display:flex;gap:12px;flex-wrap:wrap}.fallback button{min-height:44px}
@media(max-width:960px){.science-destinations{grid-template-columns:1fr}.travel-bar{max-width:calc(100% - 20px);width:calc(100% - 20px);bottom:27px;left:10px;transform:none}.travel-bar>button{min-width:106px}.travel-bar .map-entry{min-width:94px}.science-destinations .button-row{flex-wrap:wrap}.segment .button-row button{font-size:12px;flex:1;min-width:56px}.scenario-tools{gap:7px}.scenario-tools span{max-width:95px}.comparison-assistant button{font-size:11px}.in-experiment .principle-badge{font-size:10px;max-width:calc(100% - 28px);white-space:normal;text-align:center;line-height:1.5}.physics-snapshot{padding:12px;min-height:100px}.physics-snapshot span{font-size:14px}}
.segment .button-row{gap:7px}.segment .button-row button{flex:1 1 68px;min-width:68px;white-space:nowrap;padding:10px 12px}.segment .button-row button[data-action$="step"]{flex-basis:125px}.segment .button-row button[data-action="medium"]{flex-basis:88px}.legend{line-height:1.7}.scenario-tools button{white-space:nowrap}

.condition-diagram{display:block;width:100%;height:auto;max-height:150px;border-radius:8px;background:#faf8ef}.condition-diagram text{font:12px "Microsoft YaHei","PingFang SC",sans-serif;fill:#435d51}.physics-snapshot{gap:8px;padding:12px 8px}.physics-snapshot>span{font-size:16px}@media(max-width:960px){.condition-diagram{max-height:110px}.physics-snapshot>span{font-size:13px}}
/* v0.9 contextual guidance: restrained hierarchy, no decorative achievement/count pills. */
.player-marker{position:absolute;top:0;left:0;pointer-events:none;z-index:3;will-change:transform;filter:drop-shadow(0 2px 3px #38543d38)}
.player-marker span{display:block;transform:translateX(-50%);white-space:nowrap;background:#fff8df;border:1px solid #6e917e;border-radius:7px;padding:4px 9px;color:#355c49;font-size:12px;font-weight:600;line-height:1.4}
.player-marker i{display:block;position:absolute;left:-5px;width:10px;height:10px;transform:rotate(45deg);background:#fff8df;border-right:1px solid #6e917e;border-bottom:1px solid #6e917e;bottom:-5px}
.player-marker.offscreen span{border-style:dashed}
.hint-card{max-width:318px;padding:16px 18px;bottom:140px}.hint-card:before{display:none}.hint-card p{font-size:13px;margin:8px 0 12px;line-height:1.7}
.guide-actions{display:flex;gap:6px;flex-wrap:wrap}.guide-actions button{font-size:12px;padding:8px 10px}.guide-actions button:first-child{background:#e7edde}.guide-actions button:last-child{background:transparent;color:#5d735e}
.hint-card>[data-action=audio-enable]{margin-top:6px;font-size:12px;background:transparent;width:100%;text-align:left;border-color:transparent}
.inline-guide{border-left:3px solid #bf9e7a;background:#edf0e4;border-radius:0 9px 9px 0;padding:12px;margin:0 0 14px}.inline-guide p{font-size:12px;line-height:1.65;margin:7px 0 9px}.inline-guide .eyebrow{letter-spacing:.5px;color:#45674e}
.scenario-tools{flex-wrap:wrap}.scenario-tools button{white-space:normal;flex:0 1 auto;max-width:100%}.scenario-tools span{max-width:none}
@media(max-width:960px){.experiment-panel.awaiting-observation .panel-actions{position:static}}
.guide-off .hint-card,.guide-off .inline-guide{display:none!important}.in-experiment [data-action=locate-player]{display:none}
.view-controls [data-action=locate-player]{font-size:11px;min-width:90px}
.honey-note{font-size:12px;color:#586c58;border-left:2px solid #c3aa73;padding:9px 12px;background:#f2ebd9;margin:10px 0 14px}
.volume-control{display:flex;align-items:center;gap:15px;margin:12px 0;min-height:44px}.volume-control input{width:100%;min-height:44px;accent-color:#62816b}
.condition-preview{margin:0;padding:8px}.condition-preview svg{display:block;width:100%;max-height:144px}.condition-preview figcaption{font-size:11px;line-height:1.6;color:#667762;text-align:center}
.travel-bar{max-width:calc(100% - 36px);overflow-x:auto;scrollbar-width:thin;padding:9px;justify-content:flex-start}.travel-bar button{padding:9px 14px;flex-shrink:0}
@media(max-width:960px){.hint-card{left:14px;bottom:114px;max-width:calc(100% - 140px);padding:12px;}.hint-card p{font-size:12px}.hint-card .eyebrow{font-size:11px;letter-spacing:.3px}.guide-actions button{font-size:11px}.view-controls{bottom:116px}.player-marker span{font-size:11px}.inline-guide{padding:10px;margin-bottom:12px}.travel-bar{max-width:calc(100% - 20px)}.condition-preview svg{max-height:110px}}
@media(max-width:480px){.hint-card{max-width:calc(100% - 126px);bottom:117px}.hint-card>[data-action=audio-enable]{text-align:center}.guide-actions{gap:4px}.guide-actions button{flex:1;min-width:76px}.hint-card p{line-height:1.6}.view-controls{right:12px;max-width:96px}.player-marker span{max-width:200px}.inline-guide .guide-actions button{font-size:12px}.travel-bar button{font-size:12px}}
@media(max-height:520px) and (min-width:700px){.hint-card{max-width:310px;bottom:102px}.hint-card p{display:none}.hint-card>[data-action=audio-enable]{display:none}.view-controls{bottom:100px}.brand-sub,.region-badge{display:none}.top-bar{top:12px}.travel-bar{bottom:25px}.inline-guide p{display:none}}

/* Short landscape: use the available horizontal space instead of stacking two tiny panes.
   Header/footer must not sandwich a 44px target out of the scrollable viewport. */
@media (min-width:600px) and (max-width:960px) and (max-height:520px) and (orientation:landscape){
 .in-experiment .stage{width:calc(100% - 350px);height:100dvh;bottom:auto;right:auto}
 .in-experiment .experiment-panel{left:auto;right:0;top:64px;bottom:0;width:350px;padding:12px 16px 0;border-radius:16px 0 0 0;border-left:1px solid var(--border);scroll-padding-block:12px}
 .in-experiment .panel-top{position:static;margin-top:0;padding:0 0 7px}
 .in-experiment .panel-actions{position:static;margin:0 -16px;padding:12px 16px max(9px,env(safe-area-inset-bottom))}
 .in-experiment .view-controls{top:auto;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:auto}
 .in-experiment .principle-badge{top:auto;bottom:68px;left:12px;max-width:calc(100% - 24px)}
 .in-experiment .inline-guide p{display:block}
 .in-experiment .experiment-panel h1{font-size:20px}
}
/* v0.12 — tactile, roomy apparatus controls; native range inputs remain keyboard accessible. */
.play-range{display:grid;gap:4px;margin:15px 0;min-width:0;font-size:13px}.play-range>span{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#405e53}.play-range output{font-variant-numeric:tabular-nums;background:#e8efdf;border:1px solid #d0dbc5;border-radius:8px;min-width:70px;text-align:center;padding:6px 9px;font-size:12px}.play-range input{accent-color:#698e81;width:100%;min-height:44px;cursor:pointer}.play-instruction{padding:12px 14px;border-radius:12px;background:#f3eddf;color:#4b6558;font-size:13px;line-height:1.85;margin:0 0 12px;border:1px solid #e5ddc7}.model-readout{margin:16px 0;padding:13px;background:#eef2e6;border-radius:12px;border:1px solid #d3dfcb}.model-readout>small{color:#677b68;font-size:11px}.model-readout dl{margin:10px 0 0;display:grid;gap:10px}.model-readout dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;font-size:12px}.model-readout dt{color:#56735f}.model-readout dd{margin:0;font-variant-numeric:tabular-nums;font-size:15px;color:#365c4d;font-weight:600}.control-group{margin:15px 0}.field-label{display:block;font-size:12px;color:#5d745d;margin-bottom:9px}.segments{display:flex;gap:7px;flex-wrap:wrap}.segments button{flex:1;min-width:70px;font-size:12px}.selected{background:#dce9d4!important;border-color:#7d9b75!important;color:#355c44!important}.microcopy{font-size:11px;color:#61745f;line-height:1.85;margin:13px 0}.play-range input:focus-visible{outline:2px solid #678e78;outline-offset:2px;border-radius:5px}.condition-preview svg text{font-family:"Microsoft YaHei","PingFang SC",sans-serif}
@media(max-width:960px){.play-instruction{font-size:12px;line-height:1.75;padding:10px 12px}.play-range{margin:12px 0}.model-readout{padding:12px}.model-readout dd{font-size:14px}}
@media(prefers-reduced-motion:reduce){button,input,.player-marker{transition:none!important}}

/* Scene labels participate in touch camera gestures; control-panel buttons remain native. */
.world-labels .station-label{touch-action:none}

/* v0.13: camera-only inspection. Model disclosure remains visible; inactive tools are inert. */
[data-action=inspect],.inspect-caption{display:none}
.in-experiment:not(.in-exploration) [data-action=inspect]{display:block;grid-column:1/-1;background:#f6eedc;border-color:#bfa984}
.inspection-mode .experiment-panel,.inspection-mode .world-labels,.inspection-mode .region-badge,.inspection-mode .player-marker{display:none!important}
.inspection-mode .stage{width:100%!important;height:100dvh!important;inset:0!important}
.inspection-mode .view-controls{left:22px!important;right:auto!important;top:auto!important;bottom:28px!important;max-width:120px;z-index:5}
.inspection-mode .principle-badge{left:30px!important;right:auto!important;top:115px!important;bottom:auto!important;max-width:calc(100% - 60px)!important}
.inspection-mode .inspect-caption{display:block;position:absolute;right:28px;bottom:28px;max-width:320px;background:#fbf8efed;border:1px solid #d8d1bc;border-radius:18px;padding:17px 21px;pointer-events:none}
.inspect-caption strong{display:block;font:600 22px/1.5 "Microsoft YaHei","PingFang SC",sans-serif;margin:6px 0;color:#365849}
.inspect-caption p{font-size:12px;line-height:1.9;margin:8px 0 0;color:#607365}
.inspection-mode .top-bar nav{display:none}
@media(max-width:600px){
 .inspection-mode .brand-sub{display:none}
 .inspection-mode .principle-badge{left:14px!important;top:74px!important;max-width:calc(100% - 28px)!important;font-size:10px}
 .inspection-mode .inspect-caption{right:12px;bottom:20px;max-width:calc(100% - 142px);padding:12px 13px}
 .inspect-caption strong{font-size:17px}.inspect-caption p{font-size:11px;line-height:1.7}
 .inspection-mode .view-controls{left:12px!important;bottom:20px!important;max-width:105px}
}
@media(max-height:520px){.inspection-mode .inspect-caption{padding:10px 15px;bottom:12px}.inspection-mode .inspect-caption p{margin-top:3px}.inspection-mode .view-controls{bottom:12px!important}.inspection-mode .principle-badge{top:72px!important}}

/* Cottage-garden art pass: matte cream chrome, crisp text and no grey-white veil. */
:root{--paper:#fff9ec;--border:#d6ddcb;--soft:#eef3e7;--green:#4d8274;--ink:#2d5449}
.stage:after{box-shadow:none}
.top-bar{filter:drop-shadow(0 1px 1px #fff5e440)}
.brand{padding:11px 16px 12px;background:#fffaeced;border:1px solid #e1dfc7;border-radius:16px;box-shadow:0 4px 18px #496e5610}
.wordmark{font-size:31px!important;letter-spacing:-1.2px}.wordmark i{color:#bc795f}
.brand-sub{font-size:10px!important;letter-spacing:1.2px;margin-top:5px}
.region-badge{background:#fffbeded;border:1px solid #e0deca;border-radius:9px;padding:7px 10px;top:127px}
.station-label{border-radius:10px!important;background:#fffbeded!important;box-shadow:0 3px 10px #355b4520!important;border:1px solid #c6d5bd!important;font-weight:500}
.player-marker span{background:#fff5cc;border:1px solid #b4bf93;box-shadow:0 3px 9px #42664a16}
.view-controls button{background:#fffbedee;box-shadow:0 2px 6px #37533b0d}
.view-controls [data-action=vista]{grid-column:1/-1;font-size:11px}
.in-experiment [data-action=vista]{display:none}
.travel-bar{background:#fff9edee!important;box-shadow:0 5px 23px #345a4220!important;border:1px solid #e3e1cc}
.travel-bar button{background:#edf3e5;border:1px solid transparent;border-radius:9px!important;color:#355e4b}
.travel-bar button:hover{background:#dfead4;border-color:#8fae8d}
.experiment-panel{background:#fff9eff5;box-shadow:0 12px 30px #34533c19}
@media(max-width:960px){.brand{padding:7px 10px;border-radius:11px}.wordmark{font-size:24px!important}.region-badge{top:101px}.in-experiment .brand .wordmark{font-size:21px!important}.brand-sub{font-size:8px!important}.top-bar nav button{background:#fff9eef0}.view-controls [data-action=vista]{font-size:10px}}
@media(max-width:480px){.brand{padding:6px 8px}.wordmark{font-size:21px!important}.brand-sub{letter-spacing:0}.top-bar{left:12px;right:12px}.region-badge{top:95px}.hint-card{padding:10px}.view-controls{bottom:123px}}
/* Full-screen inspection needs its own grid: do not inherit the mobile horizontal toolbar. */
.inspection-mode .view-controls{display:grid!important;grid-template-columns:repeat(2,minmax(44px,1fr))!important;gap:5px!important;width:105px!important;height:auto!important;max-width:105px!important;flex-wrap:unset!important}
.inspection-mode .view-controls [data-action=rotate-left],.inspection-mode .view-controls [data-action=rotate-right]{display:block!important}
.inspection-mode .view-controls [data-action=inspect]{grid-column:1/-1!important;white-space:nowrap!important}

/* v0.14 — A real globe above the dioramas; travel does not replace the science UI. */
.earth-entry,.travel-bar [data-action=earth]{background:#497e79;color:#fff6df;border-color:#497e79;font-weight:600}.earth-entry:hover,.travel-bar [data-action=earth]:hover{background:#3c6c68;color:#fff}
.atlas-dialog{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#ecf2ec;color:#345951;overflow:hidden;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;box-shadow:none;z-index:60}
.atlas-dialog::backdrop{background:#c5dedc}.atlas-shell{display:flex;flex-direction:column;height:100%;background:radial-gradient(ellipse at 27% 47%,#d4e9e7 0%,#eaf1ea 48%,#f6f3e9 84%)}
.atlas-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 38px 16px;flex:none}.atlas-kicker{font-size:11px;letter-spacing:2.3px;color:#789186}.atlas-header h1{font-size:28px;letter-spacing:1px;margin:9px 0 0;font-weight:600}.atlas-header button{background:#fff9eccc;white-space:nowrap}
.atlas-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 370px;padding:0 28px 22px;gap:16px}
.atlas-earth{position:relative;min-height:0;min-width:0;isolation:isolate;overflow:hidden;border-radius:28px}
.atlas-earth canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-5px;position:absolute;inset:0;z-index:1}.atlas-earth canvas:active{cursor:grabbing}
.atlas-orbit{position:absolute;left:15%;right:15%;top:18%;bottom:18%;border:1px solid #8cb3ac32;border-radius:50%;box-shadow:0 0 0 26px #eaf7ed25,0 0 0 27px #a1bbb628;transform:rotate(-18deg);pointer-events:none}
.atlas-earth-note{position:absolute;left:12px;right:12px;bottom:76px;text-align:center;pointer-events:none;color:#51796f;z-index:3}.atlas-earth-note span{font-size:13px;letter-spacing:3px}.atlas-earth-note p{font-size:11px;letter-spacing:.2px;margin:9px 0 0}
.atlas-controls{position:absolute;left:10px;right:10px;bottom:14px;display:flex;justify-content:center;flex-wrap:wrap;gap:7px;z-index:4}.atlas-controls button{min-height:44px;padding:8px 13px;font-size:12px;background:#fffaf0d9;border-color:#b8cec0;border-radius:11px}
.atlas-pins{position:absolute;inset:0;z-index:2;pointer-events:none}.atlas-pin{position:absolute;left:0;top:0;width:1px;height:1px;min-width:0;min-height:0;padding:0;border:0;background:none!important;box-shadow:none!important;pointer-events:auto;overflow:visible}.atlas-pin i{position:absolute;left:-8px;top:-8px;width:16px;height:16px;border:4px solid #fff3d5;background:#af7960;border-radius:50%;box-shadow:0 0 0 5px #fbefcf45,0 2px 7px #234d6755}.atlas-pin span{position:absolute;left:-50px;top:-54px;min-width:100px;min-height:44px;background:#fff6df;border:1px solid #b39c75;border-radius:12px;display:grid;place-items:center;white-space:nowrap;font-size:13px;padding:7px 12px;box-shadow:0 3px 14px #345f4829}.atlas-pin.chosen span{background:#456f66;color:#fff8df;border-color:#365e55}.atlas-pin:focus-visible span{outline:3px solid #f1bc6b;outline-offset:2px}
.atlas-itinerary{overflow:auto;min-height:0;scrollbar-width:thin;background:#fffbedce;border:1px solid #dcdccb;border-radius:24px;padding:20px;box-shadow:0 12px 42px #486b4820;scroll-padding:16px}
.atlas-selection-label{font-size:11px;color:#839185;letter-spacing:.6px;margin:0 0 7px}.atlas-passport-progress{display:flex;align-items:baseline;gap:5px;margin:0 0 12px;padding:7px 10px;border-radius:11px;background:#edf2e7;color:#6f8575;font-size:10px}.atlas-passport-progress strong{font-size:16px;color:#466f62}.atlas-destinations{display:grid;gap:8px}.atlas-destination{display:flex;align-items:center;text-align:left;padding:8px 12px 8px 7px;gap:12px;width:100%;min-height:76px;background:#f8f5e9;border:1px solid #e0e1d1;border-radius:15px}.atlas-destination strong{display:block;font-size:16px;letter-spacing:1px}.atlas-destination small{display:block;font-size:12px;margin-top:3px;color:#80917e}.atlas-destination.chosen{background:#e4eddf!important;border-color:#9bad8e!important;box-shadow:inset 0 0 0 1px #bec9ae!important}.atlas-mini{width:70px;flex:none}.atlas-mini svg{display:block;width:100%;height:48px}.atlas-visited{margin-left:auto;font-size:10px;color:#839280;white-space:nowrap}
.atlas-card{margin:22px 0 0;padding-top:20px;border-top:1px solid #dadccb}.atlas-country{font-size:9px;letter-spacing:1.5px;color:#9b8b69}.atlas-card h2{font-size:26px;letter-spacing:2px;margin:9px 0 12px;font-weight:600}.atlas-card p{font-size:13px;line-height:1.9;color:#657b6c;margin-bottom:13px}.atlas-features{display:flex;flex-wrap:wrap;gap:7px}.atlas-features span{font-size:11px;border:1px solid #d8decd;border-radius:5px;padding:4px 7px;color:#78927d}.atlas-experiment-note{font-size:12px;line-height:1.9;margin:18px 0 13px;color:#537462}.atlas-experiment-note small{font-size:10px;color:#84937f}
.atlas-card .atlas-depart{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:54px;background:#487e71;color:#fff7df;border-color:#487e71;border-radius:13px;font-size:15px;box-shadow:0 4px 0 #355e5523}.atlas-depart span{font-size:21px}.atlas-footer{margin:20px 0 0;font-size:11px;line-height:1.7}.atlas-footer>button{width:100%;background:transparent;font-size:12px;min-height:44px}.atlas-footer p{color:#8a9380;font-size:10px;line-height:1.8;margin:12px 0 0}.atlas-footer details{margin:10px 0 0}.atlas-footer summary{min-height:44px;padding:12px 0;font-size:11px}.atlas-footer a{font-size:11px}.atlas-error{position:absolute;top:14%;left:15%;right:15%;text-align:center;padding:24px;background:#fff7e7;border-radius:18px;z-index:4;font-size:14px;line-height:1.8}
.in-destination:not(.in-experiment) .hint-card{max-width:270px}.in-destination .world-footer span:first-child{font-size:11px}.in-destination .travel-bar{justify-content:center}
@media(min-width:1450px){.atlas-layout{grid-template-columns:minmax(0,1fr) 415px;gap:24px;padding-right:50px}.atlas-itinerary{padding:26px}.atlas-header{padding-left:50px}.atlas-header h1{font-size:33px}.atlas-destination{min-height:90px}.atlas-card p{font-size:14px}}
@media(max-width:850px){.atlas-header{padding:15px 18px 12px;gap:10px}.atlas-header h1{font-size:20px}.atlas-kicker{font-size:9px;letter-spacing:1px}.atlas-header button{font-size:11px;padding:8px 11px}.atlas-layout{grid-template-columns:minmax(0,1fr) 300px;padding:0 12px 12px;gap:10px}.atlas-itinerary{padding:15px}.atlas-mini{width:48px}.atlas-card h2{font-size:22px}.atlas-controls{gap:4px}.atlas-controls button{padding:7px 9px;font-size:11px}}
@media(max-width:600px) and (orientation:portrait){.atlas-header{padding:14px 14px 9px}.atlas-header h1{font-size:17px;letter-spacing:.4px}.atlas-kicker{font-size:8px;letter-spacing:.6px}.atlas-header button{max-width:110px;white-space:normal;font-size:11px}.atlas-layout{display:flex;flex-direction:column;gap:0;padding:0 10px 10px}.atlas-earth{height:38dvh;min-height:228px;flex:none}.atlas-orbit{top:10%;bottom:20%;left:19%;right:19%}.atlas-earth-note{display:none}.atlas-controls{bottom:8px}.atlas-pin span{font-size:11px;min-width:72px;left:-36px;top:-50px;padding:5px 9px}.atlas-itinerary{flex:1;border-radius:20px;overflow:auto;padding:13px}.atlas-selection-label{font-size:10px;margin-bottom:6px}.atlas-passport-progress{margin-bottom:9px;padding:5px 8px}.atlas-destinations{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.atlas-destination{min-height:87px;display:flex;flex-direction:column;gap:3px;padding:5px;text-align:center;justify-content:center}.atlas-mini{display:none}.atlas-visited{display:none}.atlas-destination strong{font-size:13px;letter-spacing:0}.atlas-destination small{font-size:11px}.atlas-card{margin-top:12px;padding-top:12px}.atlas-card h2{margin:6px 0 7px;font-size:22px}.atlas-card p{font-size:12px;line-height:1.8}.atlas-features{gap:5px}.atlas-features span{font-size:10px}.atlas-experiment-note{font-size:11px;margin:10px 0}.atlas-footer{margin-top:14px}.atlas-card .atlas-depart{min-height:49px}.atlas-controls button{min-width:44px;min-height:44px}.atlas-earth canvas{height:calc(100% - 36px)}}
@media(max-height:520px) and (min-width:600px){.atlas-header{padding:8px 16px}.atlas-header h1{font-size:18px;margin:3px 0 0}.atlas-layout{grid-template-columns:minmax(0,1fr) 310px}.atlas-earth-note{display:none}.atlas-controls{bottom:3px}.atlas-itinerary{padding:12px}.atlas-destination{min-height:63px}.atlas-card{margin-top:12px;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.atlas-dialog *{transition:none!important}}

/* Labels themselves are real 44px hit targets, not 1px marker parents. */
.atlas-pin{width:100px;height:44px;min-width:100px;min-height:44px;margin-left:-50px;margin-top:-54px}
.atlas-pin span{inset:0;min-width:100%;min-height:44px}.atlas-pin i{left:42px;top:46px}
@media(max-width:600px) and (orientation:portrait){.atlas-pin{width:76px;min-width:76px;margin-left:-38px;margin-top:-50px}.atlas-pin span{inset:0;min-width:76px}.atlas-pin i{left:30px;top:42px}}

.top-bar nav .earth-entry{background:#497e79!important;color:#fff8e4!important;border-color:#497e79!important}
@media(min-width:601px) and (min-height:521px){.atlas-earth canvas{height:calc(100% - 110px)}}
@media(max-height:520px) and (min-width:600px){.atlas-earth canvas{height:calc(100% - 46px)}}
/* An overflowing itinerary must start at its first item, not clip it on the left. */
.in-destination .travel-bar{justify-content:flex-start;scroll-padding-inline:12px}

/* v0.16 world atlas: search/filter affordances for a larger destination set. */
.atlas-tools{display:grid;gap:9px;margin:0 0 12px}.atlas-tools label{display:grid;gap:5px;font-size:10px;color:#7b8d7f}.atlas-tools input{min-height:44px;width:100%;border:1px solid #d2d9c9;border-radius:12px;background:#fffaf0;padding:9px 12px;color:#3d6258;font:inherit;outline:none}.atlas-tools input:focus{border-color:#739889;box-shadow:0 0 0 3px #91b09c32}.atlas-filters{display:flex;gap:5px;overflow:auto;padding-bottom:2px;scrollbar-width:thin}.atlas-filters button{min-height:44px;white-space:nowrap;padding:7px 10px;border-radius:999px;font-size:10px;background:#f5f2e6;border-color:#d8ddcd}.atlas-filters button[aria-pressed=true]{background:#557d71;color:#fff7df;border-color:#557d71}.atlas-destination[hidden]{display:none!important}.atlas-destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.atlas-destination{min-width:0}.atlas-destination strong,.atlas-destination small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atlas-mini{width:54px}.atlas-mini svg{height:42px}.atlas-visited{display:none}
@media(min-width:1450px){.atlas-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-mini{width:62px}}
@media(max-width:850px){.atlas-destinations{grid-template-columns:1fr}.atlas-mini{width:42px}.atlas-tools{margin-bottom:8px}}
@media(max-width:600px) and (orientation:portrait){.atlas-tools{position:sticky;top:-13px;background:#fffbedf5;z-index:2;padding:3px 0 7px}.atlas-tools label span{display:none}.atlas-filters button{min-height:44px}.atlas-destinations{grid-template-columns:repeat(3,minmax(0,1fr))}.atlas-destination{min-height:74px}.atlas-destination small{max-width:92px}.atlas-mini{display:none}}


/* v0.18 — authored travel moments: postcard framing, lighter HUD and deliberate arrival hierarchy. */
.destination-arrival{position:absolute;left:34px;top:118px;z-index:11;width:min(340px,calc(100% - 68px));padding:12px 15px;border:1px solid #eadfc8;background:#fff9edeb;backdrop-filter:blur(10px);border-radius:16px;box-shadow:0 12px 34px #2f59401c;color:#355d50;pointer-events:none}.destination-arrival span{display:block;font-size:10px;letter-spacing:1.1px;color:#7c917f;margin-bottom:3px}.destination-arrival strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:500}.destination-arrival small{display:block;margin-top:4px;color:#718174;line-height:1.55}.postcard-entry{background:#fff1cf!important;border-color:#d8c491!important;color:#6d5c35!important}.postcard-entry:hover{background:#f6e4b8!important}
.postcard-mode{position:absolute;z-index:28;left:50%;bottom:34px;transform:translateX(-50%);width:min(620px,calc(100% - 36px));padding:18px 20px 16px;border:1px solid #e7d7b4;border-radius:22px;background:#fff8e9ee;box-shadow:0 18px 55px #24483538;backdrop-filter:blur(14px);text-align:center;color:#345b4e}.postcard-kicker{display:block;font-size:9px;letter-spacing:1.8px;color:#8b967d}.postcard-mode strong{display:block;margin:4px 0 3px;font:500 24px/1.25 Georgia,'Times New Roman',serif}.postcard-mode p{margin:0 auto 12px;max-width:520px;font-size:12px;line-height:1.7;color:#67786c}.postcard-mode small{display:block;margin-top:8px;color:#8a927f}.postcard-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.in-postcard .top-bar,.in-postcard .travel-bar,.in-postcard .view-controls,.in-postcard .hint-card,.in-postcard .world-footer,.in-postcard .region-badge,.in-postcard .player-marker,.in-postcard .world-labels,.in-postcard .destination-arrival{opacity:0;pointer-events:none}.in-postcard .stage:after{content:'';position:absolute;inset:16px;border:1px solid #fff6dfb8;border-radius:24px;box-shadow:inset 0 0 0 1px #496d5d2e;pointer-events:none;z-index:12}.reduce-motion .destination-arrival,.reduce-motion .postcard-mode{transition:none!important}
@media(max-width:960px){.destination-arrival{left:12px;top:88px;width:min(310px,calc(100% - 24px));padding:10px 12px}.destination-arrival strong{font-size:16px}.postcard-mode{bottom:16px;padding:14px}.postcard-mode strong{font-size:21px}.postcard-actions button{flex:1;min-width:138px}.in-postcard .stage{height:100dvh!important}.in-postcard .postcard-mode{position:fixed}}
@media(max-height:520px) and (min-width:700px){.destination-arrival{display:none}.postcard-mode{left:auto;right:12px;bottom:12px;transform:none;width:360px;text-align:left}.postcard-actions{justify-content:flex-start}.postcard-mode p{font-size:11px}.postcard-mode strong{font-size:19px}}

.atlas-passport-progress span{margin-left:auto;font-size:10px;color:#8a9079}.atlas-postcard-note{margin:-2px 0 10px;padding:8px 10px;border-radius:10px;background:#fff3d7;color:#75633e;font-size:11px;line-height:1.5}.atlas-destination .atlas-visited{font-weight:600}.atlas-destination .atlas-visited:not(:empty){padding:3px 7px;border-radius:999px;background:#fff6de}


/* v1.0 vivid toy-world pass: richer colour without neon glare. */
:root{--ink:#263f36;--muted:#5e6f63;--paper:#fff8e9;--green:#2f8065;--border:#cfdbc4;--soft:#edf3dd;background:#cbe7de}
.stage:after{box-shadow:inset 0 0 90px 6px #f8f3d91f}
.brand{background:linear-gradient(145deg,#fff8eedd,#fff2d7c9);border:1px solid #efd7ae80;box-shadow:0 9px 28px #28584518}
.wordmark{color:#215a46;text-shadow:0 2px 0 #fff8e5}.wordmark i{color:#d4644e}.brand-sub{color:#41785d;font-weight:650}
.top-bar nav button,.station-label,.object-label{background:#fff8e9f2;border-color:#e6cfa9;box-shadow:0 6px 17px #355f4720}
.station-label:after{background:#2f8065;box-shadow:0 0 0 4px #fff6dcb8}
.earth-entry,.travel-bar [data-action=earth]{background:linear-gradient(180deg,#2e8d79,#267260);border-color:#206556;color:#fff8dc;box-shadow:0 4px 0 #1b594d33}
.hint-card,.experiment-panel,.sheet-dialog{background:#fff9ecf5;border-color:#ead9b9;box-shadow:0 13px 38px #2f5f451c}
.hint-card:before{background:linear-gradient(90deg,#f2a65f,#df6c59,#69a985);height:4px;width:42px}
.travel-bar{background:#fff7e8f3;border-color:#e5cfab;box-shadow:0 13px 42px #315d4326}
.travel-bar button{background:#eef5dc;color:#285f48}.travel-bar button:hover{background:#ddedc7;border-color:#82ad73}.travel-bar .map-entry{background:#ffe8b9;color:#77522d;border-color:#efc77c}
.primary{background:linear-gradient(180deg,#3b956f,#2d795d);border-color:#286d55}.primary:hover{background:#276e55}
.selected,button[aria-pressed=true]{background:#dff0c8;border-color:#67a477;box-shadow:inset 0 0 0 1px #67a477,0 2px 8px #497a4d18}
.readout,.timer,.next-cue,.comparison-assistant,.scenic-state{background:#edf4dc;border-color:#c8dba9}.observation-result{background:#fff0cf;border-left-color:#ed9f5f}
.principle-badge{background:#fff5dcf2;border-color:#efcf91;color:#4d654b}.toast{background:#fff4d7;border-color:#e9c77f;box-shadow:0 8px 28px #6e593120}
.atlas-shell{background:radial-gradient(ellipse at 27% 47%,#c4eced 0%,#e6f1d7 50%,#fff2d2 100%)}
.atlas-itinerary{background:#fff7e9e8;border-color:#e4cda5;box-shadow:0 16px 46px #315d4326}.atlas-destination{background:#fff4d8;border-color:#ead3a9}.atlas-destination.chosen{background:#dff0cc!important;border-color:#6ba87c!important;box-shadow:inset 0 0 0 1px #83ba83,0 6px 18px #527d4d18!important}.atlas-card .atlas-depart{background:linear-gradient(180deg,#2f9277,#266e60);border-color:#246657}.atlas-pin span{background:#fff2cc;border-color:#d7a75c;color:#2c5543;font-weight:700}.atlas-pin i{background:#e26853;border-color:#fff0b7;box-shadow:0 0 0 5px #ffd78466,0 3px 9px #214f6455}
.atlas-controls button{background:#fff5dfe8;border-color:#d6bc8b;color:#355f4b}
@media(max-width:960px){.brand{background:#fff8eee8}.experiment-panel{background:#fff9eff8}}

/* v1.0 — atlas readability after the multilingual pass: country names should read fully, not as clipped codes. */
@media(min-width:851px){.atlas-layout{grid-template-columns:minmax(0,1fr) 430px}.atlas-destination strong{font-size:15px;letter-spacing:.35px}.atlas-destination small{font-size:11.5px}.atlas-mini{width:50px}.atlas-itinerary{padding:20px}.atlas-filters button{font-size:9.5px;padding-inline:9px}}
@media(min-width:1450px){.atlas-layout{grid-template-columns:minmax(0,1fr) 460px}.atlas-itinerary{padding:24px}.atlas-mini{width:58px}}
@media(max-width:600px) and (orientation:portrait){
 .in-experiment:not(.in-exploration) .stage{height:40dvh}
 .in-experiment:not(.in-exploration) .experiment-panel{top:40dvh}
 .in-experiment .experiment-panel h1{font-size:20px;line-height:1.35;margin-bottom:6px}
 .in-experiment .claim{margin-bottom:9px;line-height:1.5}
 .in-experiment .inline-guide{padding:8px 10px;margin-bottom:8px}
 .in-experiment .inline-guide p{font-size:11px;line-height:1.45;margin:4px 0 6px}
 .in-experiment .inline-guide .guide-actions button{min-height:38px}
 .in-experiment .guess{margin-bottom:7px;padding:0}
 .in-experiment .step-line{margin:5px 0 10px}
}

/* Keep the UI readable with Windows font metrics and on narrow phones. */
:root,.atlas-dialog{font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif}
.dialog-heading h2{min-width:0;overflow-wrap:anywhere;line-height:1.3}
.dialog-heading button{flex:0 0 auto;white-space:nowrap;min-width:52px}
.experiment-panel.awaiting-observation .panel-actions{position:static}
.dialog-scroll-hint{display:none}
.atlas-filters button{flex:0 0 auto}
@media(max-height:620px){.dialog-scroll-hint{display:block;margin:0 0 10px;font-size:11px;color:#718578;line-height:1.35}}
@media(max-width:600px) and (orientation:portrait){
 .top-bar{top:max(10px,env(safe-area-inset-top));left:10px;right:10px;gap:6px}
 .brand{flex:0 0 auto;padding:7px 9px 8px;border-radius:12px}
 .brand .wordmark,.in-experiment .brand .wordmark{font-size:clamp(18px,5.3vw,23px)!important;letter-spacing:-.8px;white-space:nowrap}
 .brand-sub{display:none}
 .top-bar nav{gap:4px}
 .top-bar nav button{min-width:44px;max-width:76px;padding:5px 6px;font-size:10px;line-height:1.25}
 .region-badge,.world-footer{display:none}
 #app:not(.in-experiment) .hint-card{top:max(89px,calc(env(safe-area-inset-top) + 77px));bottom:auto;left:10px;width:min(300px,calc(100% - 20px));max-width:none;padding:10px 12px}
 .hint-card p{font-size:12px;line-height:1.45;margin:4px 0 8px}
 .hint-card .guide-actions button{min-width:0;padding:6px 8px;font-size:11px}
 .hint-card>[data-action=audio-enable]{display:none}
 #app:not(.in-experiment) .view-controls{left:auto;right:10px;bottom:max(105px,calc(env(safe-area-inset-bottom) + 96px));display:grid;grid-template-columns:1fr;max-width:86px;gap:4px}
 #app:not(.in-experiment) .view-controls [data-action=zoom-in],#app:not(.in-experiment) .view-controls [data-action=zoom-out],#app:not(.in-experiment) .view-controls [data-action=rotate-left],#app:not(.in-experiment) .view-controls [data-action=rotate-right],#app:not(.in-experiment) .view-controls [data-action=inspect]{display:none}
 .view-controls button{min-height:44px;white-space:normal}
 .travel-bar{bottom:max(9px,env(safe-area-inset-bottom));left:10px;width:calc(100% - 20px);max-width:none}
 .in-experiment .view-controls{top:77px;left:auto;right:10px;bottom:auto;display:flex;gap:4px;max-width:none}
 .in-experiment .view-controls [data-action=zoom-in],.in-experiment .view-controls [data-action=zoom-out]{display:none}
 .sheet-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:17px}
 .dialog-content{padding:15px 14px 22px}
 .dialog-heading{gap:8px;padding-bottom:11px;margin-bottom:12px}
 .dialog-heading h2{font-size:18px}
 .dialog-heading button{padding:7px 10px}
 .file-import input{width:100%;min-width:0}
 .dialog-scroll-hint{display:block;margin:0 0 10px;font-size:11px!important;color:#718578;line-height:1.35}
 .dialog-intro{font-size:12px;line-height:1.6}
 .settings-grid{margin:15px 0;gap:10px}
 .town-map{margin:12px 0 16px;padding:7px}
 .town-map svg{max-height:210px}
 .scenario-list{gap:10px}
 .scenario-list article{padding:12px}
 .scenario-list article p{line-height:1.55}
 .atlas-header{padding:10px 12px 6px;gap:8px}
 .atlas-header h1{font-size:18px;line-height:1.25;margin:3px 0 0}
 .atlas-header button{flex:0 0 auto;max-width:none;min-width:58px;white-space:nowrap;padding:7px 10px}
 .atlas-earth{height:37dvh;min-height:230px}
 .atlas-earth canvas{height:calc(100% - 48px)}
 .atlas-controls{left:3px;right:3px;bottom:4px;flex-wrap:nowrap;gap:3px}
 .atlas-controls button{flex:1 1 0;min-width:0;min-height:44px;padding:4px 2px;font-size:10px;line-height:1.15;overflow-wrap:anywhere}
 .atlas-destination strong,.atlas-destination small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.25}
}
@media(max-width:350px) and (orientation:portrait){
 .top-bar nav button{max-width:57px;padding:5px 3px}
 .in-experiment:not(.in-exploration) .stage{height:44dvh}
 .in-experiment:not(.in-exploration) .experiment-panel{top:44dvh}
 .atlas-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}
 .town-map svg{max-height:180px}
}

/* Keep the town visible at tablet widths and when browser zoom narrows the layout. */
@media(max-width:1100px){
 .brand-sub,#app:not(.in-experiment) .region-badge,.world-footer{display:none}
 .top-bar [data-action=depth]{display:none}
 .top-bar nav button{white-space:nowrap}
 .brand .wordmark{font-size:clamp(21px,2.7vw,29px)!important;white-space:nowrap}
 #app:not(.in-experiment) .hint-card{top:max(82px,calc(env(safe-area-inset-top) + 72px));bottom:auto;left:14px;right:auto;width:min(262px,calc(100vw - 28px));max-width:none;padding:10px 12px}
 #app:not(.in-experiment) .hint-card p{font-size:11px;line-height:1.45;margin:4px 0 7px}
 #app:not(.in-experiment) .hint-card .eyebrow{font-size:10px;letter-spacing:.5px}
 #app:not(.in-experiment) .hint-card .guide-actions button{min-height:44px;padding:5px 8px;font-size:11px}
 #app:not(.in-experiment) .hint-card>[data-action=audio-enable]{display:none}
 #app:not(.in-experiment) .view-controls{display:flex;left:auto;right:14px;top:auto;bottom:max(94px,calc(env(safe-area-inset-bottom) + 89px));width:auto;max-width:none;gap:5px}
 #app:not(.in-experiment) .view-controls [data-action=zoom-in],#app:not(.in-experiment) .view-controls [data-action=zoom-out],#app:not(.in-experiment) .view-controls [data-action=rotate-left],#app:not(.in-experiment) .view-controls [data-action=rotate-right],#app:not(.in-experiment) .view-controls [data-action=inspect]{display:none}
 #app:not(.in-experiment) .view-controls button{min-width:44px;max-width:92px;min-height:44px;white-space:normal;padding:5px 8px;font-size:10px;line-height:1.2}
 #app:not(.in-destination):not(.in-experiment) .travel-bar{left:14px;right:14px;width:calc(100% - 28px);max-width:none;bottom:max(12px,env(safe-area-inset-bottom));transform:none;overflow:hidden;padding:7px;gap:6px;justify-content:space-between}
 #app:not(.in-destination) .travel-bar .dock-extra{display:none}
 #app:not(.in-destination):not(.in-experiment) .travel-bar>button{flex:1 1 0;min-width:0;min-height:56px;justify-content:center;text-align:center;white-space:normal;padding:7px 9px;font-size:12px;line-height:1.3}
 #app:not(.in-destination) .travel-bar .map-entry{position:static;min-width:0}
}
@media(max-width:600px){
 #app:not(.in-experiment) .hint-card{left:10px;top:max(74px,calc(env(safe-area-inset-top) + 64px));width:min(262px,calc(100vw - 20px))}
 #app:not(.in-experiment) .view-controls{right:10px;bottom:max(88px,calc(env(safe-area-inset-bottom) + 83px))}
 #app:not(.in-destination):not(.in-experiment) .travel-bar{left:10px;right:10px;width:calc(100% - 20px)}
}
@media(max-width:350px){#app:not(.in-destination) .travel-bar .dock-secondary{display:none}}

/* A small camera menu keeps every camera action available without covering the town. */
.in-experiment .view-controls [data-action=camera-tools]{display:none!important}
#app:not(.in-experiment) .top-bar [data-action=depth],#app:not(.in-experiment) .world-footer{display:none}
#app:not(.in-experiment) .view-controls>button:not([data-action=camera-tools]):not([data-action=locate-player]){display:none}
#app:not(.in-experiment) .view-controls [data-action=camera-tools],#app:not(.in-experiment) .view-controls [data-action=locate-player]{min-width:76px;min-height:44px;white-space:nowrap}
#app:not(.in-experiment).camera-open .view-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:190px;max-width:none;max-height:calc(100dvh - 158px);overflow-y:auto;overscroll-behavior:contain;gap:5px}
#app:not(.in-experiment).camera-open .view-controls>button{display:block!important;max-width:none;min-width:0;min-height:44px;white-space:normal}
#app:not(.in-experiment).camera-open .view-controls [data-action=vista]{grid-column:auto}
#app:not(.in-experiment).camera-open .view-controls [data-action=camera-tools],#app:not(.in-experiment).camera-open .view-controls [data-action=inspect],#app:not(.in-experiment).camera-open .view-controls [data-action=locate-player]{grid-column:1/-1}
#app:not(.in-destination):not(.in-experiment) .travel-bar .dock-extra:not(.dock-desktop){display:none}
@media(min-width:1101px){
 #app:not(.in-experiment):not(.in-destination) .brand-sub,#app:not(.in-experiment):not(.in-destination) .region-badge{display:none}
 #app:not(.in-experiment):not(.in-destination) .brand{padding:8px 12px;border-radius:12px;background:#fff8eee8}
 #app:not(.in-experiment):not(.in-destination) .hint-card{top:86px;bottom:auto;left:30px;width:270px;max-width:none;padding:12px 14px}
 #app:not(.in-experiment):not(.in-destination) .hint-card p{font-size:12px;line-height:1.5;margin:5px 0 8px}
 #app:not(.in-experiment):not(.in-destination) .hint-card>[data-action=audio-enable]{display:none}
 #app:not(.in-experiment) .view-controls{display:flex;right:30px;bottom:112px;width:auto;max-width:none;gap:6px}
 #app:not(.in-destination):not(.in-experiment) .travel-bar{width:min(980px,calc(100% - 36px));max-width:980px;bottom:24px;overflow:hidden;justify-content:space-between;padding:8px;gap:8px}
 #app:not(.in-destination):not(.in-experiment) .travel-bar>button{flex:1 1 0;min-width:0;min-height:56px;justify-content:center;text-align:center;white-space:normal;padding:7px 10px;font-size:12px;line-height:1.3}
 #app:not(.in-destination) .travel-bar .map-entry{position:static}
}
