/* Lantern rescue stays inside the watch's existing field green and brass palette. */
.rescue-game{height:100%;max-width:1120px;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px;color:#eee9cf}
.rescue-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #a1a88666;padding-bottom:14px}
.rescue-eyebrow{font-size:9px;letter-spacing:1.6px;color:#bec6a8;margin:0 0 7px}
.rescue-heading h2{font:400 clamp(27px,3vw,42px)/1.1 Georgia,serif;margin:0;letter-spacing:-.5px}
.rescue-count{text-align:right;flex-shrink:0;margin:0;line-height:1.5;color:#e0d1a1}.rescue-count b{display:block;font-weight:400;font-size:22px}.rescue-count span{font-size:8px;letter-spacing:1px}
.rescue-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:clamp(22px,4vw,54px);align-items:center}
.rescue-scene{height:100%;min-height:0;position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:25px;border:1px solid #737d5955;overflow:hidden;background:#14211877}
.rescue-scene-art{position:absolute;inset:0;opacity:.4;background:linear-gradient(transparent 15%,#101c15 85%),url('./assets/ending-rescue.webp') center 35% / cover;pointer-events:none}
.rescue-field-diagram{position:relative;min-height:0;width:100%;max-width:520px;margin:0 auto}.rescue-field-diagram svg{display:block;width:100%;max-height:300px;filter:drop-shadow(0 3px 7px #07110b)}
.rescue-boot-label{fill:#d7cda5;font:9px ui-monospace,monospace;letter-spacing:1px}.rescue-boot-shape{transition:transform .12s linear}.rescue-boot-roots{transform-origin:0 115px;transition:opacity .15s}.rescue-is-quiet .rescue-boot-roots{transform:scale(1.08,1.03)}.rescue-is-warning .rescue-boot-roots{stroke:#dfac85}.rescue-boot-free .rescue-boot-label{fill:#eee5b8}
.rescue-root-state{position:relative;display:flex;justify-content:center;align-items:center;gap:8px;color:#c2c9a9;font-size:10px;letter-spacing:.8px;min-height:20px}
.rescue-status-lamp{width:8px;height:8px;border:1px solid #a9b389;background:#34432d;border-radius:50%}.rescue-is-quiet .rescue-status-lamp{background:#e0ca85;box-shadow:0 0 10px #e0ca8555}.rescue-is-warning .rescue-status-lamp{background:#cf9673}
.rescue-breath-track{height:25px;position:relative;border:1px solid #6a7856;background:#111d16;overflow:hidden}.rescue-quiet-zone{position:absolute;inset:0 auto 0 17.857%;width:46.429%;background:#d8bb7b25;border-inline:1px solid #c8b57c77}.rescue-quiet-label{position:absolute;inset:0;display:grid;place-items:center;font-size:8px;letter-spacing:1.3px;color:#d9c793}.rescue-breath-track>i{position:absolute;inset:0 auto 0 0;width:2px;background:#f0e4b5;z-index:1}
.rescue-grips{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.rescue-grips>span{height:6px;border:1px solid #82916b;background:#19261c}.rescue-grips>span>i{display:block;height:100%;background:#c5ae75}.rescue-grip-done{border-color:#dfc987!important}
.rescue-controls{display:flex;flex-direction:column;min-height:0;gap:14px}.rescue-tape-console{background:linear-gradient(120deg,#36402bd9,#18261ee8);border:1px solid #77835e;border-top:3px double #8e9470;padding:18px}
.rescue-wave-labels,.rescue-tape-position{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#b9c3a0}.rescue-wave-labels>span{display:flex;align-items:center;gap:6px}.rescue-wave-labels i{display:inline-block;width:20px;border-bottom:2px solid #d7c68e}.rescue-wave-labels .rescue-tape-key{border-bottom-style:dashed;border-color:#b4cbaa}
.rescue-waves{display:block;width:100%;height:auto;margin:12px 0;background:#132017;overflow:visible}.rescue-radio-wave{fill:none;stroke:#d7c68e;stroke-width:2}.rescue-tape-wave{fill:none;stroke:#b4cbaa;stroke-width:2;stroke-dasharray:4 4}.rescue-is-aligned .rescue-tape-wave{stroke:#eee9cf}
.rescue-cue{font:italic 20px/1.3 Georgia,serif;margin:0;color:#dfd0a3;min-height:52px}.rescue-instruction{font:12px/1.6 ui-monospace,monospace;color:#bec6a8;margin:0;min-height:58px}
.rescue-align-controls{display:flex;flex-direction:column;gap:8px}.rescue-nudge-controls,.rescue-pull-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rescue-pull-controls{grid-template-columns:1fr auto}
.rescue-game button{min-height:48px;padding:13px 15px;white-space:normal;justify-content:center;font-size:11px;line-height:1.3;letter-spacing:0;touch-action:manipulation}.rescue-game button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.rescue-game button:disabled{opacity:.45}.rescue-pull-button{touch-action:none!important;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.rescue-pull-button[aria-pressed="true"]{background:#b5a270;box-shadow:inset 0 3px 9px #15201899}.rescue-keyboard-help{display:flex;flex-direction:column;gap:4px;font-size:9px;color:#a4b191;line-height:1.5;margin:0}.rescue-is-paused{filter:brightness(.65)}
.rescue-game[data-stage="align"] .rescue-breath-track{opacity:.4}.rescue-game[data-stage="align"] .rescue-grips{opacity:.6}.rescue-game[data-stage="pull"] .rescue-tape-console{opacity:.8}
@media(max-width:700px){
 .rescue-game{gap:12px}.rescue-heading{padding-bottom:10px;gap:10px}.rescue-eyebrow{font-size:7px;letter-spacing:.8px}.rescue-heading h2{font-size:28px}.rescue-count b{font-size:18px}.rescue-count span{font-size:6px}
 .rescue-layout{grid-template-columns:1fr;grid-template-rows:minmax(120px,1fr) auto;gap:14px}.rescue-scene{padding:14px;gap:8px}.rescue-field-diagram{max-width:330px}.rescue-field-diagram svg{max-height:190px}.rescue-scene-art{background-position:center 40%;opacity:.35}
 .rescue-controls{gap:10px}.rescue-tape-console{padding:12px 14px}.rescue-waves{height:65px;margin:8px 0}.rescue-cue{font-size:18px;min-height:0}.rescue-instruction{font-size:11px;line-height:1.5;min-height:34px}.rescue-keyboard-help{display:none}.rescue-game button{padding:12px 10px;min-height:46px}
 .rescue-game[data-stage="pull"] .rescue-tape-console{display:none}.rescue-game[data-stage="pull"] .rescue-field-diagram svg{max-height:300px}.rescue-game[data-stage="pull"] .rescue-field-diagram{max-width:390px}
}
@media(max-width:440px) and (max-height:740px){
 .rescue-game{gap:9px}.rescue-heading h2{font-size:24px}.rescue-layout{gap:9px;grid-template-rows:minmax(90px,1fr) auto}.rescue-scene{padding:8px 12px;gap:6px}.rescue-field-diagram svg{max-height:130px}.rescue-root-state{font-size:8px;min-height:15px}.rescue-breath-track{height:18px}.rescue-controls{gap:8px}.rescue-cue{font-size:16px}.rescue-instruction{font-size:10px;min-height:30px}.rescue-tape-console{padding:9px 12px}.rescue-waves{height:46px;margin:5px 0}.rescue-tape-position,.rescue-wave-labels{font-size:7px}.rescue-align-controls{gap:6px}.rescue-game button{min-height:44px;padding:10px}
}
@media(max-height:500px) and (min-width:480px){
 .rescue-game{gap:8px}.rescue-heading{padding-bottom:6px}.rescue-heading h2{font-size:24px}.rescue-eyebrow{font-size:7px;margin-bottom:3px}.rescue-count b{font-size:16px}.rescue-count span{font-size:6px}
 .rescue-layout{grid-template-columns:minmax(0,1fr) minmax(260px,1fr);grid-template-rows:minmax(0,1fr);gap:20px}.rescue-scene{padding:9px 14px;gap:6px}.rescue-field-diagram svg{max-height:140px}.rescue-root-state{font-size:8px;min-height:12px}.rescue-breath-track{height:18px}
 .rescue-controls{gap:7px}.rescue-tape-console{padding:7px 10px}.rescue-waves{height:42px;margin:3px 0}.rescue-tape-position{display:none}.rescue-wave-labels{font-size:7px}.rescue-cue{font-size:15px;min-height:0}.rescue-instruction{font-size:10px;line-height:1.4;min-height:28px}.rescue-keyboard-help{display:none}.rescue-align-controls{display:grid;grid-template-columns:1.3fr 1fr;gap:6px}.rescue-nudge-controls{gap:5px}.rescue-game button{min-height:44px;padding:8px 6px;font-size:9px}.rescue-game[data-stage="pull"] .rescue-tape-console{display:none}
}
@media(prefers-reduced-motion:reduce){.rescue-game *{transition:none!important;animation:none!important}}
