@font-face{font-family:Instrument;src:url(assets/fonts/instrument.ttf)}
@font-face{font-family:Instrument;src:url(assets/fonts/instrument-italic.ttf);font-style:italic}
@font-face{font-family:Plex;src:url(assets/fonts/plex-mono.ttf)}
:root{--paper:#f8f6ed;--ink:#25392f;--muted:#657168;--rule:#cfcec1;--rust:#a5462c;--mono:Plex,'Courier New',monospace;--serif:Instrument,Georgia,'Noto Serif CJK SC',serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background-color:var(--paper);color:var(--ink);font:15px Arial,'Noto Sans CJK SC',sans-serif}button,input{font:inherit}button{border:0;background:transparent;color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #ce8144;outline-offset:3px}button{transition:background .15s,color .15s,box-shadow .15s}button:hover{background:#eae8dc}button:disabled{cursor:default}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.symbols{position:absolute;height:0;width:0;overflow:hidden}.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.masthead,main{width:min(90%,1460px);margin-inline:auto}header{border-bottom:1px solid var(--rule)}.masthead{height:68px;display:flex;align-items:center;justify-content:space-between}.brand{font:29px/1 var(--serif);letter-spacing:-.6px;display:flex;align-items:center;gap:11px}.brand img{width:33px;height:33px}nav,nav button{display:flex;align-items:center}nav{gap:15px}nav button{gap:8px;padding:8px 6px;border-radius:3px;font-size:13px}nav svg{width:17px;height:17px}.lang{font-size:12px;color:var(--muted)}.nav-sep{height:15px;width:1px;background:var(--rule)}.intro{display:flex;align-items:center;justify-content:space-between;padding:33px 0 24px;gap:20px}.eyebrow,.label,.specimen small,.feed,.compass span,.slider-row,.lang{font-family:var(--mono)}.eyebrow{color:var(--rust);display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:1.5px;font-weight:600}.eyebrow i{display:block;width:23px;height:2px;background:var(--rust)}.slash{color:#a7a696;font-weight:400}.intro h1{font:clamp(62px,5.85vw,94px)/1.02 var(--serif);letter-spacing:-.038em;margin:11px 0 9px}.intro h1 em{font-weight:400}.dek{margin:0;color:#59675e;font:16px/1.5 Georgia,'Noto Serif CJK SC',serif}.specimen{display:flex;align-items:center;gap:10px;margin:15px 4px 0 0}.specimen img{width:83px;height:71px;object-fit:contain}.specimen small{display:block;font-size:9px;font-weight:600;letter-spacing:1.4px;color:var(--muted);margin-bottom:6px}.specimen em,.note-tail em{font:italic 22px var(--serif)}
.viewer{border:1px solid #435248;border-radius:4px;overflow:hidden;background:#f1f0e6}.scene{height:clamp(390px,54vh,655px);position:relative;isolation:isolate;overflow:hidden;background:#88bac6}#sea{width:100%;height:100%;display:block;image-rendering:pixelated;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}#sea.dragging{cursor:grabbing}.hud{position:absolute;display:flex;align-items:center;z-index:1}.feed{top:17px;left:18px;gap:8px;padding:7px 10px;background:#f9f7e9e8;color:#2d4437;border:1px solid #334c4440;border-radius:2px;font-size:9px;letter-spacing:1px;pointer-events:none}.feed b{font-weight:500}.feed>span{background:#59824e;width:6px;height:6px}.full{top:16px;right:17px;background:#f9f7e8dc;border:1px solid #52665a60;border-radius:3px}.icon-only{display:grid;place-items:center;width:33px;height:33px;padding:0}.icon-only svg{width:16px;height:16px}.hint,.compass{bottom:15px;color:#fffef1;background:#102f34a8;z-index:1;border-radius:2px;pointer-events:none}.hint{left:18px;gap:7px;padding:6px 10px;font:11px var(--mono)}.hint svg{width:18px;height:16px}.compass{right:17px;gap:6px;font-size:10px;letter-spacing:.4px;padding:3px 7px 3px 4px}.compass svg{width:24px;height:24px;stroke-width:1.4}.pointer{fill:currentColor}#needle{transform-origin:center}.controls{display:flex;align-items:center;gap:23px;padding:15px 20px;background:#f2f1e7;min-height:68px;border-top:1px solid #435248}.control-cluster,.rotation,.switch,.switch button,.primary{display:flex;align-items:center}.control-cluster{gap:12px}.control-cluster.light{border-left:1px solid var(--rule);padding-left:23px}.label{font-size:10px;letter-spacing:1.25px;color:#586459}.rotation,.switch{background:#f9f8ef;border:1px solid #c3c6b9;border-radius:4px;overflow:hidden}.rotation{height:34px}.rotation .icon-only{width:32px;height:31px}.rotation svg{width:14px;height:14px}.rotation output{font:12px var(--mono);width:40px;text-align:center;border-inline:1px solid #d2d3c6}.switch{padding:2px;gap:2px}.switch button{justify-content:center;gap:5px;height:28px;padding:0 10px;font-size:12px;border-radius:2px}.switch svg{width:15px;height:15px}.switch button[aria-pressed=true]{background:#d9dfcc;color:#2c4535}.primary{margin-left:auto;gap:8px;justify-content:center;border-radius:3px;background:#294335;color:#fffef0;padding:10px 17px;font-size:13px}.primary:hover{background:#395a46}.primary svg{width:17px;height:17px}.primary:disabled{background:#c9d2c3;color:#284135}.signal-message{font:12px var(--mono);position:absolute;left:50%;bottom:17px;transform:translateX(-50%);background:#183e42ef;color:#fff6d9;padding:7px 12px;pointer-events:none;border-radius:3px;text-align:center}.signal-message:empty{display:none}footer,.foot-location,footer button{display:flex;align-items:center}footer{justify-content:space-between;padding:14px 0 20px;gap:10px;font-size:12px;color:#606e62}.foot-location,footer button{gap:8px}.foot-location i{font:12px var(--mono);color:#acac9e}.foot-location svg{color:#507668}footer button{font-size:12px;padding:5px 0 5px 8px;color:#384e41}footer button svg{width:15px;height:15px}footer .tiny{width:12px;height:12px}.viewer:fullscreen,.viewer.expanded{display:flex;flex-direction:column;height:100dvh;width:100%;border:0;border-radius:0}.viewer.expanded{position:fixed;inset:0;z-index:10}.viewer:fullscreen .scene,.viewer.expanded .scene{flex:1;height:0}.controls{flex:none}dialog{width:min(440px,92vw);padding:24px 28px 29px;color:var(--ink);background:var(--paper);border:1px solid #425548;border-radius:5px;box-shadow:0 24px 80px #12252540}dialog::backdrop{background:#193b3b77}dialog h2{font:46px/1 var(--serif);letter-spacing:-1.7px;margin:20px 0 14px}dialog p{font:16px/1.55 Georgia,'Noto Serif CJK SC',serif;color:#516154}.dialog-head,.note-tail,.slider-row{display:flex;justify-content:space-between;align-items:center}.dialog-head{border-bottom:1px solid var(--rule);padding-bottom:12px}.note-tail{border-top:1px solid var(--rule);justify-content:flex-start;gap:15px;padding-top:11px}.note-tail img{height:70px}.slice-frame{display:grid;place-items:center;background-color:#e4e8d8;background-image:linear-gradient(#adb69d50 1px,transparent 1px),linear-gradient(90deg,#adb69d50 1px,transparent 1px);background-size:12px 12px;border:1px solid #c6cdbb}.slice-frame canvas{width:100%;height:160px;object-fit:contain;image-rendering:pixelated}.slider-row{font-size:11px;margin:15px 0 7px}input[type=range]{width:100%;accent-color:#3f624c}html:lang(zh) h1{font-size:clamp(50px,4.8vw,70px);letter-spacing:.01em;line-height:1.25}html:lang(zh) .dek{font-size:15px}
@media(min-width:1700px){.intro{padding:44px 0 35px}}
@media(max-width:800px){.masthead,main{width:93%}.specimen{display:none}.intro{padding:26px 0 20px}.intro h1{font-size:66px}.controls{gap:13px;padding:12px}.control-cluster{gap:7px}.control-cluster.light{padding-left:13px}.scene{height:clamp(350px,53vh,520px)}nav{gap:9px}}
@media(max-width:560px){.masthead{height:55px}.brand{font-size:25px;gap:7px}.brand img{width:27px;height:27px}nav{gap:4px}nav button{padding:7px}nav button:not(.lang) span{display:none}.nav-sep{margin:0 3px}.eyebrow{font-size:8px;letter-spacing:1.1px;gap:8px}.intro h1{font-size:clamp(43px,10.7vw,60px);margin:10px 0 6px}.dek{font-size:14px;max-width:36ch}.scene{height:clamp(305px,45svh,450px)}.controls{display:grid;grid-template-columns:1fr auto;gap:11px}.label{font-size:9px}.control-cluster.light{border:0;padding:0}.primary{grid-column:1 / -1;width:100%;margin:0}.switch button{padding:0 7px}.hint{left:9px;bottom:10px}.compass{right:9px;bottom:10px}.feed{left:10px;top:10px}.full{right:9px;top:9px}.hint,.compass span{font-size:9px}.signal-message{bottom:48px;width:max-content;max-width:90%;font-size:10px}.foot-location,footer button{gap:5px;font-size:10px}.foot-location svg{width:16px}footer{padding-top:9px}.viewer:fullscreen .controls,.viewer.expanded .controls{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
