/* UI text uses native, locally available sans fonts; scene geometry scales independently. */
:root{
 --font-ui:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans SC",sans-serif;
 --font-mono:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;
 --text-meta:.8125rem;
 --text-ui:.875rem;
 --text-body:1rem;
 --text-section:1.25rem;
 --text-title:1.75rem;
 --muted:#52699b;
}
:root{--blue:#234fda;--white:#fff;--soft:#f1f5ff;font-family:var(--font-ui);font-size:100%;line-height:1.6;font-weight:400;text-rendering:optimizeLegibility;color:var(--blue);background:#e9efff}*{box-sizing:border-box}body{margin:0;overflow:hidden;font-size:var(--text-body)}button,input,select,textarea{font:inherit}button,input,select{line-height:1.4}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid white;outline-offset:4px}svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round}#stage{position:absolute;width:1600px;height:1000px;transform-origin:0 0;background:white;overflow:hidden}header{height:80px;border-bottom:1px solid #dce6ff;display:flex;align-items:center;position:relative;background:white;font-size:var(--text-ui)}.brand{position:absolute;left:28px;display:flex;gap:18px;align-items:center}.brand b{font-size:var(--text-body);letter-spacing:-.4px}.brand small{display:block;color:var(--muted);font-size:var(--text-meta);margin-top:5px}.breadcrumb{position:absolute;left:312px;color:var(--muted)}.breadcrumb b{color:var(--blue)}.search{position:absolute;left:702px;top:20px;width:360px;height:40px;border-radius:9px;background:var(--soft);display:flex;gap:9px;align-items:center;padding:0 16px}.search svg{width:19px;height:19px}.search input{color:var(--blue);width:220px;border:0;background:none;outline:0;font-size:var(--text-ui)}.search input::placeholder{color:var(--muted)}.search span{font-family:var(--font-mono);color:var(--muted)}.submit{position:absolute;left:1100px;top:20px;width:140px;height:40px;background:var(--blue);color:white;border-radius:8px;display:grid;place-content:center;font-size:var(--text-body)}.checkin{position:absolute;left:1270px}.profile{position:absolute;left:1420px;display:flex;gap:12px;align-items:center;font-size:var(--text-body)}.profile>b{border-radius:50%;width:36px;height:36px;display:grid;place-content:center;background:var(--blue);color:white}.profile small{display:block;color:var(--muted);font-size:var(--text-meta);margin-top:3px}aside{position:absolute;left:0;top:80px;bottom:0;width:88px;border-right:1px solid #dce6ff;padding-top:20px}.nav{height:72px;margin:0 12px 12px;border-radius:9px;text-align:center;font-size:var(--text-meta);color:var(--muted);padding-top:12px}.nav svg{display:block;width:24px;height:24px;margin:0 auto 6px;color:#2857ff}.nav.active{background:var(--soft);color:#2857ff}.nav.bottom{position:absolute;bottom:74px;width:64px;margin-bottom:0}.nav.settings{position:absolute;bottom:16px;height:40px;width:64px}.map{position:absolute;left:88px;top:80px;width:1512px;height:920px;background:var(--blue);color:white;overflow:hidden}#scene{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;stroke-linejoin:miter;stroke-linecap:butt}#scene.dragging{cursor:grabbing}.map-title{position:absolute;top:28px;left:36px;pointer-events:none}.map-title h1{font-size:2rem;font-weight:600;letter-spacing:-1.5px;margin:0;line-height:40px}.map-title p{font-size:var(--text-ui);opacity:.88;margin:4px 0}.filters{position:absolute;right:146px;top:38px;display:flex;align-items:center;gap:8px;font-size:var(--text-body)}.filters span{padding:11px 22px;border:1px solid #ffffff55;border-radius:8px;line-height:16px}.filters b{font-weight:500;margin-left:5px}.filters .active{background:white;color:#2857ff}.filters svg{width:23px;height:23px;margin-left:4px}.prompt{position:absolute;left:38px;top:117px;margin:0;font-size:var(--text-ui);opacity:.885;pointer-events:none}.controls{position:absolute;right:36px;bottom:36px;height:42px;display:flex;align-items:center;gap:12px;padding:0 16px;border:1px solid white;border-radius:8px;background:var(--blue);z-index:5}.controls button{padding:0;background:transparent;border:0;color:white;display:flex;align-items:center;justify-content:center;gap:6px;height:30px;font-size:var(--text-ui);border-radius:4px}.controls button:hover{background:#ffffff18}.controls #view{padding:0 8px;border:.6px solid #ffffffbb;min-width:74px}.controls #view:hover{background:#ffffff24}.controls #view[aria-pressed=true]{background:#fff;color:var(--blue)}.controls svg{width:18px;height:18px}.controls #view svg{width:16px;height:16px}.controls i{height:18px;width:1px;background:#ffffff88}.controls output{font-family:var(--font-mono);font-size:var(--text-ui);min-width:32px;text-align:center}.controls #zoomin,.controls #zoomout{font-size:var(--text-body);width:14px}.controls #reset{gap:10px}.count{position:absolute;bottom:19px;left:642px;font-size:var(--text-meta);opacity:.85;pointer-events:none}.hint{position:absolute;left:38px;bottom:21px;font-size:var(--text-meta);opacity:.85;pointer-events:none}#titles text{font-size:var(--text-body);font-weight:500;fill:white;stroke:none}#titles .english{font-size:var(--text-meta);opacity:.85;font-family:var(--font-mono)}.cube{cursor:pointer}.cube .face{stroke:white;stroke-width:.8;vector-effect:non-scaling-stroke}.cube .number{font-family:var(--font-mono);font-size:1.625rem;font-weight:500;fill:white;stroke:none;text-anchor:middle;dominant-baseline:central}.cube .side-name{font-size:var(--text-body);font-weight:500;fill:white;stroke:none;text-anchor:middle;dominant-baseline:central}.cube .top-name{font-size:var(--text-body);font-weight:500;fill:white;stroke:none;text-anchor:middle;dominant-baseline:central}.cube:hover .roof,.cube:focus-visible .roof{fill:#3c61cd}.cube:focus-visible{outline:none}.cube:focus-visible .face{stroke-width:2.5}.cube.dim{opacity:.22}#tooltip{position:absolute;padding:7px 10px;border:1px solid #ffffff80;background:var(--blue);border-radius:5px;font-size:var(--text-meta);pointer-events:none;z-index:6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Short desktop windows reserve the map's first row without hiding modules. */
@media(max-height:740px) and (min-width:1000px){.map>.prompt{display:none}}
