/* Decorative eye patches only; the tank, control panel and hit regions stay intact. */
#subject-eyelids-layer{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}
#subject-eyelids-layer[hidden]{display:none}
.subject-eye-image{visibility:hidden}
.subject-eye-frame[data-ready="true"] .subject-eye-image{visibility:visible}
.subject-eye-frame[data-ready="true"] .subject-eye-fallback{visibility:hidden}
#world[data-scene="chamber"] #eye-code-layer{opacity:var(--subject-matrix-strength,0);filter:drop-shadow(0 0 1px #ffe600)}
#world[data-scene="chamber"] .eye-code-glyph{fill:#ffe600;filter:drop-shadow(0 0 .65px #fff000)}
#world[data-scene="chamber"] .eye-code-glyph[opacity="1"]{fill:#ffffb0}
#world[data-scene="chamber"]:not([data-subject-eyes="awake"]):not([data-subject-eyes="igniting"]) #eye-code-layer{visibility:hidden;opacity:0}
#world[data-scene="chamber"]:not([data-subject-eyes="awake"]):not([data-subject-eyes="igniting"]) .eye-code-stream,
#world[data-subject-eyes-paused="true"] .eye-code-stream{animation-play-state:paused}
/* The achievement plays over the original tank and control panel. */
#subject-vfx-layer{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible}
#subject-smoke-layer{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
#subject-cinematic{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;justify-content:space-between;padding:30px 40px 24px;color:#fff0ad;background:linear-gradient(#01090ee8,transparent 25%,transparent 68%,#01090ff5);font-family:monospace}
#subject-cinematic header{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;letter-spacing:3px;text-shadow:0 2px 8px #000}
.subject-cine-led{width:8px;height:8px;border-radius:50%;background:#ffc957;box-shadow:0 0 18px 6px #ffc95755}
.subject-cine-caption{position:absolute;bottom:88px;left:0;width:100%;padding:0 18px;text-align:center;text-shadow:0 2px 10px #000}
.subject-cine-index{font-size:10px;letter-spacing:5px;color:#d2b975}
.subject-cine-caption h2{font:normal clamp(19px,3.1vw,36px)/1.35 monospace;letter-spacing:3px;margin:10px 0 7px;color:#ffe891}
.subject-cine-caption p{font:12px/1.7 monospace;letter-spacing:1px;margin:0;color:#e0e6de}
.subject-cine-track{height:2px;background:#7c947740;max-width:370px;margin:21px auto 0;overflow:hidden}
.subject-cine-track i{display:block;height:100%;background:#ffe686;box-shadow:0 0 12px #ffe686;width:100%;transform-origin:left;transform:scaleX(var(--startup-progress,0))}
#subject-cinematic nav{margin-top:auto;display:flex;justify-content:space-between;gap:12px}
#subject-cinematic button{font:11px/1.5 monospace;letter-spacing:.8px;color:#f3e8b6;background:#061013b8;border:1px solid #c4b97960;border-radius:3px;padding:11px 16px;min-height:44px}
#subject-cinematic button:hover{background:#42371ac9;border-color:#ecd979}
#subject-cinematic[data-stage="charge"] .subject-cine-led,#subject-cinematic[data-stage="purge"] .subject-cine-led{background:#ff7648;box-shadow:0 0 18px 6px #ff764855;animation:subject-beacon 1.8s ease-in-out infinite}
#world[data-subject-cinematic="playing"] #scene{animation:subject-camera 10.4s ease-in-out both;transform-origin:50% 43%}
#world[data-subject-cinematic="playing"] #eye-code-layer{z-index:4;filter:drop-shadow(0 0 1px #ffe600) drop-shadow(0 0 3px #ffea0066)}
#world[data-subject-cinematic="playing"] #tank-display{z-index:4;box-shadow:0 0 16px #ffd83a80}
html[data-subject-cinematic="playing"] #controls,html[data-subject-cinematic="playing"] #mobile-camera,html[data-subject-cinematic="playing"] #mobile-heading,html[data-subject-cinematic="playing"] #transfer-status,html[data-subject-cinematic="playing"] #scene-outline-layer,html[data-subject-cinematic="playing"] #experiment-notice{visibility:hidden}
.subject-core-light{animation:subject-core-breathe 2.6s ease-in-out infinite;mix-blend-mode:screen}
.subject-conduit-lines{stroke:#ffd971;stroke-width:2;fill:none;filter:drop-shadow(0 0 7px #ffd971);stroke-dasharray:9 24;animation:subject-current 1.3s linear infinite;opacity:.7}
.subject-scan-beam{fill:#fff5b9;opacity:.7;filter:drop-shadow(0 0 8px #ffe361);animation:subject-scan 2.8s ease-in-out infinite}
.subject-room-shade{animation:subject-shade .8s ease-out both}
#world[data-subject-stage="online"] .subject-conduit-lines{stroke:#fff0a3;stroke-dasharray:none;opacity:.45}
#world[data-subject-eyes-paused="true"] #subject-vfx-layer *,#world[data-subject-eyes-paused="true"] #scene{animation-play-state:paused!important}
html:has(#world[data-subject-eyes-paused="true"]) #subject-cinematic *{animation-play-state:paused!important}
@keyframes subject-camera{0%{transform:scale(1)}60%,85%{transform:scale(1.1)}100%{transform:scale(1.04)}}
@keyframes subject-current{to{stroke-dashoffset:-66}}
@keyframes subject-scan{0%,100%{transform:translateY(0);opacity:.15}50%{transform:translateY(470px);opacity:.7}}
@keyframes subject-core-breathe{0%,100%{opacity:.35}50%{opacity:.8}}
@keyframes subject-shade{from{opacity:0}to{opacity:1}}
@keyframes subject-beacon{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:900px){#subject-cinematic{padding:22px 18px 20px}#subject-cinematic header{font-size:9px;letter-spacing:1.5px}.subject-cine-caption{bottom:95px}.subject-cine-caption h2{font-size:22px;letter-spacing:1.1px}.subject-cine-caption p{font-size:11px;max-width:310px;margin:auto}#world[data-subject-cinematic="playing"]{overflow:hidden}#subject-cinematic button{font-size:10px;padding:10px 12px}}
@media(max-height:500px){#subject-cinematic{padding:12px 20px}.subject-cine-caption{bottom:64px}.subject-cine-caption h2{font-size:20px;margin:4px 0}.subject-cine-caption p{font-size:10px}.subject-cine-track{margin-top:9px}.subject-cine-index{font-size:8px}}
@media(prefers-reduced-motion:reduce){#world[data-subject-cinematic="playing"] #scene,#subject-vfx-layer *,#subject-cinematic *{animation:none!important}.subject-scan-beam{display:none}.subject-conduit-lines{stroke-dasharray:none;opacity:.35}}
