/* The contour follows the existing display on the tank's metal base. */
.outline-object.tank-console{opacity:1;filter:drop-shadow(0 0 2px #ffe34dcc) drop-shadow(0 0 6px #ffe34d99)}
.outline-object.tank-console path{stroke-width:2.5px}
#world[data-scene="chamber"] #tank-display{border-color:#ffe34d;box-shadow:0 0 4px #ffe34daa}
.hotspot.tank-console{z-index:3}
#clue.subject-dialog{width:min(610px,calc(100vw - 28px));background:#101819;color:#e6eedb;border-color:#aaa469}
.subject-console h2{font:normal clamp(23px,5vw,32px)/1.3 monospace;margin:15px 0 26px;color:#ffe69b}
.subject-console .eyebrow{color:#b8bb95;letter-spacing:1.5px;line-height:1.8}
.subject-console label{display:block;margin:18px 0 9px;font-size:15px}
.subject-console input{display:block;width:100%;min-width:0;min-height:48px;padding:12px;background:#080f11;border:1px solid #8f9b82;color:#fff7cc;font:16px monospace;border-radius:2px}
.subject-console input:focus-visible{outline:2px solid #ffe34d;outline-offset:3px}
.subject-console button{min-height:44px;padding:11px 14px;border:1px solid #929c80;background:#202b28;color:#fff3c6;border-radius:2px;font-size:12px;line-height:1.5}
.subject-console button:hover{background:#344237}
.subject-actions{display:flex;gap:10px;flex-wrap:wrap}
.subject-console footer{border-top:1px solid #536055;margin-top:28px;padding-top:20px}
.subject-console #subject-error{color:#ffc9a0;min-height:1.5em;margin-bottom:8px}
.subject-attempts{font-size:11px;color:#b8bb95}
.subject-status{color:#ffe69b;letter-spacing:1px;font-size:14px}
.subject-memory{border-left:2px solid #d4bd68;padding-left:14px;margin-top:25px;color:#b8bb95;font-size:12px}
.subject-thought{font-family:Georgia,serif;font-style:italic}
.subject-step{font-size:12px;letter-spacing:1.2px;color:#ffe69b;margin:22px 0 12px}
.subject-complete-badge{padding:10px 12px;border:1px solid #8a9862;background:#b3ca7b0d;color:#d4e5ab;font-size:11px;line-height:1.65;letter-spacing:.5px}
.subject-complete-badge span{color:#ffe779}
.subject-word-success{text-align:center}
.subject-word-success h3{font:normal clamp(22px,5vw,28px)/1.35 monospace;color:#ffe779;margin:20px 0 10px}
.subject-word-success .subject-confirmed{color:#d4e5ab;margin:10px 0}
.subject-word-success #subject-continue{margin-top:8px;border-color:#dbc36e;background:#3b3824;color:#fff4c3}
.subject-accept-art{padding:0 10px 14px;border-bottom:1px solid #536055}
.subject-accept-art svg{display:block;width:240px;max-width:100%;height:98px;margin:0 auto 8px;overflow:visible}
.subject-terminal-track{stroke:#7a8566;stroke-width:1;stroke-dasharray:3 6;fill:none}
.subject-spark{stroke:#ffe779;stroke-width:1.5;fill:none;opacity:0}
.subject-verified-words{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.subject-verified-words span{padding:8px;border:1px solid #a29a58;border-radius:3px;background:#ffe7790a;color:#ffedab;font-size:12px;letter-spacing:1px}
.subject-verified-words b{color:#d4e5ab;font-weight:normal}
.is-new .subject-noodle{animation:subject-happy-hop .8s .2s ease both;transform-origin:120px 88px}
.is-new .subject-check-stamp{animation:subject-stamp .45s .45s ease both;transform-origin:167px 31px}
.is-new .subject-verified-words span{animation:subject-word-verified .3s ease both}
.is-new .subject-verified-words span:nth-child(2){animation-delay:.13s}
.is-new .subject-verified-words span:nth-child(3){animation-delay:.26s}
.is-new .subject-spark{animation:subject-spark .65s .5s ease both;transform-box:fill-box;transform-origin:center}
.is-new .subject-spark-b{animation-delay:.65s}
@keyframes subject-happy-hop{0%,100%{transform:translateY(0) scale(1)}22%{transform:translateY(2px) scale(1.04,.96)}50%{transform:translateY(-10px) scale(.98,1.02)}78%{transform:translateY(1px) scale(1.02,.98)}}
@keyframes subject-stamp{from{opacity:0;transform:scale(.6) rotate(-15deg)}70%{opacity:1;transform:scale(1.12) rotate(4deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes subject-word-verified{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes subject-spark{0%{opacity:0;transform:scale(.5)}40%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.25)}}
@media(prefers-reduced-motion:reduce){.subject-accept-art *{animation:none!important}}
@media(max-width:650px){#clue.subject-dialog{padding:42px 20px 24px;max-height:calc(100svh - 24px)}.subject-actions button{flex:1 1 150px}.subject-console h2{margin-bottom:18px}}

.subject-upload-warning{font:normal clamp(18px,4vw,24px)/1.45 monospace;color:#ffe279;padding:18px;border:1px solid #dbc05a;background:#e2bf4010;letter-spacing:1px}
#subject-replay{margin-top:10px}
