:root{color-scheme:dark;font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;background:#071019;color:#e7f0f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background-image:linear-gradient(#3d697e18 1px,transparent 1px),linear-gradient(90deg,#3d697e18 1px,transparent 1px),radial-gradient(ellipse at 54% 7%,#13334490,transparent 53%);background-size:32px 32px,32px 32px,auto}a{color:inherit}button,input,select{font:inherit}button{min-height:44px;min-width:44px;padding:8px 12px;border:1px solid #47717c;border-radius:5px;background:#102a34;color:#e4f2f4;cursor:pointer;font-size:12px}button:hover,button[aria-pressed=true]{background:#1a414d}button[aria-pressed=true]{border-color:#e6b461}button:disabled,select:disabled,input:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible,a:focus-visible{outline:3px solid #f0ba65;outline-offset:2px}[hidden]{display:none!important}.site-frame{width:min(100% - 48px,1480px);margin:auto}.site-header{padding:18px 0 20px;border-bottom:1px solid #203543}.prototype-breadcrumb{color:#9aafb8}.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:13px}.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{display:grid;width:44px;height:44px;place-items:center;border:1px solid #49cfe1;color:#81eafa;font:700 12px monospace}.brand-copy{display:grid;gap:4px}.brand-copy strong{font-size:16px}.brand-copy small{color:#8ca4b0;font:10px/1.3 monospace;letter-spacing:.09em}.section-nav{display:flex;flex-wrap:wrap;gap:8px 20px}.section-nav a{color:#a9bbc2;font:11px/1.5 monospace;letter-spacing:.1em;text-decoration:none}.hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:20px;padding:24px 0;align-items:end}.kicker,.status-label{color:#64d6e8;font:10px/1.5 monospace;letter-spacing:.12em;margin:0 0 9px}.hero h1{font-size:clamp(1.8rem,3.2vw,2.9rem);line-height:1.25;margin:0}.hero-subtitle{color:#91a7b2;font:12px/1.5 monospace;margin:9px 0}.hero-lead{color:#c2d0d5;font-size:14px;line-height:1.8;margin:12px 0 0}.status-rack{display:grid;gap:8px;padding:16px 18px;border:1px solid #765d39;background:#211d16d1}.status-rack .status-label{color:#e6b461;margin:0}.status-rack strong{color:#f0c77d;font-size:15px}.status-rack>span:last-child{color:#c8b894;font-size:12px;line-height:1.55}.observation-panel,.note-card{min-width:0;border:1px solid #2a414e;background:#08131cf0;padding:14px}.panel-heading{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:14px}.panel-heading .kicker{margin-bottom:5px}h2{font-size:18px;line-height:1.35;margin:0}.bench-tag{font:10px monospace;color:#e6b461}.stage{position:relative;height:min(620px,calc(100dvh - 80px));min-height:400px;isolation:isolate;overflow:hidden;border:1px solid #38505c;background:#071019}.stage-content{height:100%;display:grid;grid-template-rows:48px 56px minmax(0,1fr) 48px}.choices{display:flex;gap:8px;padding:2px 6px;background:#08131c;min-width:0}.choices label{display:flex;align-items:center;gap:6px;flex:1;min-width:0;font-size:12px}.choices select{flex:1;min-width:0;min-height:44px;max-width:100%;background:#102a34;color:#e4f2f4;border:1px solid #47717c;border-radius:5px}.stage-actions{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:6px;background:#08131c}.stage-actions button{min-width:44px;padding:4px}.canvas-area{position:relative;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}canvas{display:block;width:100%;height:100%;min-height:0;touch-action:none}.hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px 7px;gap:2px 8px;background:#071019cc;color:#d8e8e6;font:11px/1.5 monospace;font-variant-numeric:tabular-nums;pointer-events:none}.hud span{overflow-wrap:anywhere}#poseNote{grid-column:1/-1;color:#e6b461;font-size:10px;line-height:1.3}.pause-note{position:absolute;right:8px;bottom:8px;background:#071019cc;padding:3px 8px;font:11px monospace;pointer-events:none}.bottom-choices button{min-width:88px}.conditions{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0}.conditions label{min-width:0;font-size:13px;display:grid;grid-template-columns:1fr auto;align-items:center}.conditions output{color:#f0c77d}.conditions input{width:100%;min-width:0;height:44px;margin:0;grid-column:1/-1;accent-color:#64d6e8}.stage-screen{position:absolute;inset:6px;z-index:5;display:grid;align-items:start;justify-items:center;padding:14px;background:#0c202af5;overflow:auto;overscroll-behavior:contain;border:1px solid #527883;border-radius:8px}.screen-card{width:100%;max-width:590px;color:#d8eae7}.screen-card h2{font-size:22px;margin-bottom:12px}.screen-card p{font-size:13px;line-height:1.7}.screen-card>button{width:100%;font-size:14px;background:#dfc17f;border-color:#f0d28e;color:#172931;min-height:48px;margin-top:8px}.fallback{background:#211911;color:#f0d2a5}.canvas-help{font-size:12px;line-height:1.8;color:#8da2ab}.notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.note-card{font-size:12px;line-height:1.7;color:#b8c7cc;padding:17px}.note-card h2{font-size:16px;color:#eef3f1}.site-footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:24px;padding:20px 0 30px;border-top:1px solid #203543;color:#90a6ae;font-size:11px}.site-footer .public-site-footer-nav{flex-basis:100%;font:10px/1.5 monospace}.expanded,.stage:fullscreen{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh!important;min-height:0;border:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}body.view-expanded{overflow:hidden}#observatory{scroll-margin-top:0}
@media(max-width:760px){.site-frame{width:min(100% - 32px,620px)}.header-row{align-items:start;flex-direction:column;gap:15px}.hero{grid-template-columns:1fr;padding:20px 0 14px}.status-rack{padding:10px}.notes{grid-template-columns:1fr}.site-footer{align-items:start;flex-direction:column}.observation-panel{padding:8px}.bench-tag{display:none}.stage{height:min(620px,calc(100dvh - 30px));min-height:420px}.stage-content{grid-template-rows:48px 100px minmax(0,1fr) 48px}.stage-actions{grid-template-columns:repeat(4,minmax(0,1fr));padding:4px}.stage-actions button{padding:3px;font-size:10px}.choices{gap:4px;padding:2px 4px}.choices label{font-size:10px}.choices select{font-size:11px}.hud{grid-template-columns:repeat(2,minmax(0,1fr));font-size:10px}#poseNote{font-size:9px}.screen-card h2{font-size:18px}.screen-card p{font-size:12px}}
@media(max-width:900px) and (max-height:500px) and (orientation:landscape){#observatory{padding:6px}#observatory>.panel-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.stage{height:calc(100dvh - 14px);min-height:0}.stage-content{grid-template-rows:48px 48px minmax(0,1fr) 48px}.stage-actions{grid-template-columns:repeat(8,minmax(0,1fr));padding:2px 4px;gap:3px}.stage-actions button{font-size:9px;line-height:1.1}.hud{grid-template-columns:repeat(4,minmax(0,1fr));font-size:9px;line-height:12px;padding:2px 5px}#poseNote{font-size:9px;line-height:12px}.stage-screen{inset:4px;padding:8px}.screen-card p{font-size:11px;line-height:1.4;margin:5px 0}.screen-card h2{font-size:16px;margin:0 0 5px}.screen-card .kicker{display:none}.screen-card>button{min-height:44px}.conditions{gap:2px;margin:4px 0}.conditions label{font-size:11px}.choices select{padding:0 2px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
