:root{--bg: #07070a;--ink: #f4f6fa;--ink-warm: #f2e6d0;--ink-muted: rgba(242, 236, 224, .68);--stage-accent: #ffc857;--font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}.stage-root{position:fixed;inset:0;width:100%;height:100%;background:var(--bg);background-size:cover;background-position:center;touch-action:none;user-select:none}#gl-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.stage-root.is-static-fallback #gl-canvas{display:none}.stage-root.is-static-fallback:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#07070a59,#07070ad9);pointer-events:none}.hud-top{position:fixed;top:clamp(18px,3vw,32px);left:clamp(20px,3.6vw,44px);z-index:10;display:flex;align-items:center;gap:14px}.brand-btn{appearance:none;border:0;padding:0;background:transparent;color:#fff;font:inherit;font-size:16px;font-weight:900;letter-spacing:-.03em;cursor:pointer;display:inline-flex;align-items:center;gap:9px;text-shadow:0 2px 14px rgba(0,0,0,.75)}.brand-btn:focus-visible,.hud-btn:focus-visible,.scale-mark:focus-visible,.archive-trigger:focus-visible,.sheet-close:focus-visible{outline:2px solid var(--stage-accent);outline-offset:4px}.unit-readout{font-family:var(--font-mono);font-size:11.5px;font-variant-numeric:tabular-nums;letter-spacing:.08em;color:var(--stage-accent);text-shadow:0 2px 12px rgba(0,0,0,.85)}.hud-work{position:fixed;left:clamp(20px,3.6vw,44px);bottom:clamp(22px,3.6vw,42px);z-index:10;max-width:min(500px,calc(100vw - 110px));display:flex;flex-direction:column;gap:8px;text-shadow:0 3px 20px rgba(0,0,0,.88)}.hud-status{font-family:var(--font-mono);font-size:11px;letter-spacing:.04em;color:var(--stage-accent)}.hud-title{margin:0;font-size:clamp(32px,5vw,56px);font-weight:900;line-height:1.02;letter-spacing:-.04em;color:#fff}.hud-tagline{margin:0;font-size:clamp(13px,1.35vw,15px);line-height:1.6;color:#f4f6fae6}.hud-controls{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.hud-btn{appearance:none;border:0;border-radius:999px;padding:10px 18px;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer;transition:transform .18s cubic-bezier(.34,1.56,.64,1),background .18s ease,opacity .18s ease}.hud-btn:active{transform:scale(.95)}.hud-btn-primary{background:var(--stage-accent);color:#090b10;box-shadow:0 10px 28px #0000006b}.hud-btn-ghost{background:#ffffff24;color:#fff;backdrop-filter:blur(12px)}.hud-btn-ghost:hover{background:#ffffff3d}.hud-scale{position:fixed;right:clamp(14px,2.4vw,30px);top:clamp(68px,12vh,110px);bottom:clamp(72px,12vh,110px);z-index:10;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-family:var(--font-mono);font-size:11px;font-variant-numeric:tabular-nums}.hud-scale:before{content:"";position:absolute;right:0;top:8px;bottom:8px;width:1px;background:linear-gradient(180deg,#ffffff14,#ffffff5c,#ffffff14)}.scale-mark{appearance:none;border:0;background:transparent;color:#f2ece099;font:inherit;padding:5px 14px 5px 8px;cursor:pointer;position:relative;text-shadow:0 1px 10px rgba(0,0,0,.9);transition:color .18s ease,transform .2s cubic-bezier(.22,1,.36,1)}.scale-mark:after{content:"";position:absolute;right:-2px;top:50%;width:5px;height:1px;background:currentColor}.scale-mark:hover{color:#fff}.scale-mark.is-active{color:#fff;font-weight:700;transform:translate(-4px)}.scale-mark.is-active:after{width:12px;height:2px;right:-4px;background:var(--stage-accent)}.archive-trigger{position:fixed;right:clamp(18px,3vw,36px);bottom:clamp(22px,3.6vw,42px);z-index:10;appearance:none;border:0;background:#0c0e168a;color:#f2ece0d9;backdrop-filter:blur(12px);border-radius:999px;padding:8px 14px;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer;transition:background .18s ease,color .18s ease}.archive-trigger:hover{background:#ffffff2e;color:#fff}.scroll-cue{position:fixed;left:50%;bottom:24px;transform:translate(-50%);z-index:9;font-family:var(--font-mono);font-size:11px;letter-spacing:.1em;color:#f2ece0a6;pointer-events:none;transition:opacity .42s ease}.scroll-cue.is-hidden{opacity:0}.hud-toast{position:fixed;top:clamp(20px,3vw,32px);right:clamp(20px,3vw,36px);z-index:12;padding:8px 14px;border-radius:999px;background:#0c0e16c7;backdrop-filter:blur(14px);color:#fff;font-family:var(--font-mono);font-size:11.5px;font-variant-numeric:tabular-nums;opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .22s ease,transform .24s cubic-bezier(.22,1,.36,1)}.hud-toast.is-visible{opacity:1;transform:translateY(0)}.sheet{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:#06070cc7;backdrop-filter:blur(22px);opacity:0;pointer-events:none;transition:opacity .28s cubic-bezier(.22,1,.36,1)}.sheet.is-open{opacity:1;pointer-events:auto}.sheet-inner{width:min(760px,100%);max-height:86vh;overflow-y:auto;padding:clamp(22px,3.2vw,34px);border-radius:22px;background:#12141deb;box-shadow:0 32px 80px #000000a6,inset 0 1px #ffffff1a;transform:translateY(14px) scale(.985);transition:transform .32s cubic-bezier(.22,1,.36,1)}.sheet.is-open .sheet-inner{transform:translateY(0) scale(1)}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.sheet-meta{font-family:var(--font-mono);font-size:11.5px;color:var(--stage-accent);margin-bottom:6px}.sheet-title{margin:0;font-size:clamp(24px,3.5vw,34px);font-weight:900;letter-spacing:-.03em}.sheet-close{appearance:none;border:0;width:36px;height:36px;border-radius:50%;background:#ffffff1a;color:#fff;font-size:18px;line-height:1;cursor:pointer;flex-shrink:0}.sheet-close:hover{background:#fff3}.detail-preview{display:block;width:auto;max-width:100%;max-height:320px;height:auto;border-radius:14px;margin:0 auto 18px;box-shadow:0 12px 34px #00000073}.sheet-summary{margin:0 0 14px;font-size:14.5px;line-height:1.75;color:#f4f6fae6}.sheet-points{margin:0 0 20px;padding-left:18px;color:#ebf0f8cc;font-size:13.5px;line-height:1.7}.sheet-points li{margin:6px 0}.sheet-links{display:flex;flex-wrap:wrap;gap:10px}.sheet-link{display:inline-flex;align-items:center;padding:10px 16px;border-radius:999px;background:#ffffff1f;color:#fff;text-decoration:none;font-size:13px;font-weight:700}.sheet-link:hover{background:var(--stage-accent);color:#080a0f}.archive-list{display:flex;flex-direction:column;gap:4px;margin:16px 0 24px}.archive-row{display:grid;grid-template-columns:minmax(110px,140px) 1fr auto;gap:12px;align-items:baseline;padding:10px 12px;border-radius:12px;transition:background .16s ease}.archive-row:hover{background:#ffffff0f}.archive-name{font-weight:800;font-size:14px;color:#fff}.archive-desc{font-size:12.5px;color:var(--ink-muted)}.archive-links{display:flex;gap:10px;font-size:12px}.archive-links a{color:#f2e6d0;text-decoration:none;font-weight:700}.archive-links a:hover{text-decoration:underline}.studio-facts{padding-top:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;font-size:12.5px;color:var(--ink-muted)}.studio-facts strong{display:block;color:#fff;margin-bottom:2px}.studio-facts a{color:#f2e6d0;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:680px){.hud-work{left:18px;bottom:72px;max-width:calc(100vw - 74px);gap:6px}.hud-title{font-size:clamp(28px,7.6vw,42px)}.hud-tagline{font-size:12.5px;line-height:1.55}.hud-scale{right:10px;top:66px;bottom:66px;font-size:10px}.archive-trigger{right:16px;bottom:18px}.scroll-cue{display:none}.archive-row{grid-template-columns:1fr;gap:4px}}
