/* Roofing Giant Stormfront Alpha 07 · Hailstorm Rescue story vertical slice. */
.rescue-featured{background:linear-gradient(125deg,#ffdc9e,#f5a45e)!important;
  border:1px solid #ffe5b3!important;min-width:318px;
  box-shadow:0 20px 45px rgba(2,17,27,.84),0 0 36px rgba(247,169,82,.2)!important}
.rescue-dock-button{background:linear-gradient(130deg,rgba(153,87,52,.91),rgba(72,44,47,.86))!important;
  border-color:#f7be79!important;color:#ffe1b1!important}
.rescue-hud{position:absolute;top:112px;left:clamp(16px,3.5vw,54px);z-index:10;pointer-events:none;
  width:min(348px,calc(100vw - 24px));border-radius:14px;border:1px solid #f2c78373;
  border-left:3px solid #ffb566;background:linear-gradient(142deg,rgba(7,38,48,.91),rgba(5,26,38,.83));
  backdrop-filter:blur(17px);box-shadow:0 14px 40px #001b29a8;padding:17px 19px}
.rescue-hud-top{display:flex;justify-content:space-between;gap:9px;align-items:center;
  color:#f9d29a;font-size:9px;letter-spacing:.12em;font-weight:920}
.rescue-hud-top>b{font-size:12px;color:#aefbe1}
.rescue-hud h2{font-size:21px;line-height:1.13;letter-spacing:-.025em;
  font-weight:980;margin:14px 0 8px;text-shadow:0 3px 15px #00131d}
.rescue-hud p{font-size:12px;line-height:1.57;color:#bfd4d4;margin:0;min-height:34px}
.rescue-hud-progress{height:6px;background:#b7d0ca29;border-radius:9px;overflow:hidden;margin:15px 0 10px}
.rescue-hud-progress span{display:block;width:0;height:100%;border-radius:9px;
  background:linear-gradient(90deg,#f5a45b,#6eebce);transition:width .2s ease}
.rescue-hud-bottom{display:flex;justify-content:space-between;gap:9px;align-items:center;
  color:#a7c3c5;font-size:8px;letter-spacing:.075em;font-weight:850}
.rescue-hud-bottom strong{color:#fbd69e;white-space:nowrap}
.rescue-dialog{position:absolute;inset:0;z-index:23;display:flex;align-items:center;
  justify-content:flex-start;overflow:hidden;
  background:linear-gradient(90deg,rgba(2,15,25,.97) 0%,rgba(3,24,37,.91) 28%,
  rgba(3,23,34,.58) 55%,rgba(3,26,38,.15) 100%);
  backdrop-filter:blur(3px);padding:clamp(23px,6vw,90px)}
.rescue-dialog-backdrop{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 79% 34%,rgba(55,136,153,.13),transparent 48%),
    linear-gradient(0deg,rgba(0,12,23,.53),transparent 30%);}
.rescue-dialog-card{position:relative;z-index:1;max-width:min(630px,100%);padding:25px 0 35px}
.rescue-dialog-eyebrow{font-size:11px;color:#ffc57e;font-weight:930;letter-spacing:.23em}
.rescue-dialog-line{width:48px;height:2px;background:#ffbf76;margin:18px 0 25px}
.rescue-dialog h2{font-size:clamp(42px,6.7vw,79px);font-weight:1000;letter-spacing:-.085em;
  line-height:.95;margin:0 0 25px;max-width:610px;color:#f6fff7;
  text-shadow:0 8px 30px #00141c}
.rescue-dialog p{font-size:clamp(14px,1.4vw,17px);line-height:1.65;
  color:#c2d7d5;margin:0 0 30px;max-width:570px}
.rescue-dialog-choices{display:grid;gap:11px;width:min(570px,100%);max-height:50dvh;overflow-y:auto;
  scrollbar-color:#648e8d transparent}
.rescue-choice{padding:14px 19px;min-height:59px;text-align:left;display:flex;flex-direction:column;justify-content:center;
  align-items:flex-start;gap:5px;font-size:13px;letter-spacing:.075em;font-weight:980;border-radius:9px;
  border:1px solid #ffe0ad;color:#143744;
  background:linear-gradient(135deg,#ffe2ad,#f6aa61);
  box-shadow:0 11px 31px #0005;cursor:pointer}
.rescue-choice.secondary{background:rgba(11,48,61,.76);border-color:#add7d48a;color:#e9f8f7;
  box-shadow:0 10px 25px #001b2899}
.rescue-choice:hover{filter:brightness(1.1)}
.rescue-choice small{font-size:11px;letter-spacing:0;line-height:1.48;font-weight:550;
  color:inherit;opacity:.8;text-transform:none}
.rescue-plan-option{min-height:100px;font-size:13px}
.rescue-dialog-note{margin-top:19px;color:#9dbcb9;font-size:11px;line-height:1.55}
.rescue-letterbox{position:absolute;left:0;right:0;height:34px;background:rgba(0,8,16,.85);pointer-events:none}
.rescue-letterbox-top{top:0}.rescue-letterbox-bottom{bottom:0}
.rescue-scene-caption{position:absolute;bottom:9px;right:22px;z-index:2;font-size:9px;
  letter-spacing:.15em;font-weight:800;color:#d7e9dc}
.rescue-result-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.rescue-result-metrics>div{border:1px solid #bcdfd83b;border-radius:8px;background:#104053a6;
  display:flex;flex-direction:column;padding:10px 6px;align-items:center;gap:7px;text-align:center}
.rescue-result-metrics small{color:#aacac7;font-size:8px;letter-spacing:.09em}
.rescue-result-metrics strong{font-size:19px;color:#ffdfad}
.rescue-action-holder{position:absolute;z-index:11;right:clamp(16px,3.5vw,54px);bottom:183px;
  display:flex;justify-content:flex-end;pointer-events:auto}
.rescue-action-holder button{min-width:125px;min-height:53px;border-radius:11px;border:1px solid #ffe5b7;
  background:linear-gradient(135deg,#ffe0a7,#f5a45e);color:#163544;
  display:flex;gap:9px;align-items:center;justify-content:center;font-weight:950;font-size:12px;
  letter-spacing:.1em;box-shadow:0 14px 34px #00161dba}
.rescue-action-holder button>span{font-size:23px}
.rescue-timing{position:absolute;inset:0;z-index:24;display:flex;justify-content:center;align-items:center;
  background:rgba(1,13,23,.66);backdrop-filter:blur(11px);padding:14px}
.rescue-timing-card{width:min(515px,100%);background:linear-gradient(140deg,#164251,#082a39);
  border:1px solid #ffd69f;border-radius:17px;padding:clamp(22px,3.5vw,38px);
  box-shadow:0 18px 80px #001521d9}
.rescue-timing-card>span{color:#fbd092;font-size:10px;letter-spacing:.13em;font-weight:950}
.rescue-timing-card h2{font-size:clamp(28px,5vw,38px);line-height:1.07;letter-spacing:-.06em;
  color:#fff7e5;margin:17px 0 10px}
.rescue-timing-card p{color:#bbd7d5;font-size:13px;line-height:1.6;margin:0 0 23px}
.rescue-timing-rail{height:44px;border:1px solid #b8d9d29c;border-radius:9px;position:relative;
  background:repeating-linear-gradient(90deg,#1d4f5b 0,#1d4f5b 11px,#285a65 11px,#285a65 12px);
  overflow:visible;box-shadow:inset 0 5px 17px #011a24}
.rescue-timing-good{position:absolute;top:0;height:100%;left:24%;width:42%;
  border:2px solid #ffe5b3;background:linear-gradient(180deg,#f0bc71,#d28e48);border-radius:5px;
  box-shadow:0 0 20px #ffc16a83}
.rescue-timing-needle{position:absolute;left:0;top:-12px;bottom:-10px;width:4px;
  background:#e9fffc;box-shadow:0 0 20px #fff,0 0 0 1px #0c4051}
.rescue-timing-scale{display:flex;align-items:center;justify-content:space-between;
  font-size:9px;color:#b5ccce;font-weight:850;letter-spacing:.11em;margin:12px 0 22px}
.rescue-timing-scale>b{color:#ffd29a}
#rescueTimingFeedback{border:1px solid #b0dfd13d;background:#133946;text-align:center;
  padding:10px;font-size:10px;color:#dff9ef;font-weight:900;letter-spacing:.06em;border-radius:7px;margin:0 0 15px}
.rescue-timing-actions{display:flex;gap:9px}
.rescue-timing-actions button{border-radius:9px;border:1px solid #fbe2b1;min-height:61px;
  font-size:13px;font-weight:980;letter-spacing:.09em;cursor:pointer}
#rescueTimingLock{flex:1;background:linear-gradient(130deg,#ffe3af,#f8ad68);color:#133744}
#rescueTimingCancel{padding:0 17px;background:#164456;color:#e0f4f0;border-color:#c2e4d766}
body[data-episode="on"] .statline,
body[data-episode="on"] .mission-card,
body[data-episode="on"] .weather-pill,
body[data-episode="on"] .activity-dock,
body[data-episode="on"] .worksite-launch,
body[data-episode="on"] .worksite-panel,
body[data-episode="on"] .career-status,
body[data-episode="on"] .defense-readout,
body[data-episode="on"] .hint{display:none!important}
body[data-episode="on"] .rescue-hud{display:block}
body[data-episode="on"] .controls{z-index:8}
body[data-episode="on"] #viewBtn{opacity:.7}
body[data-episode="on"] .rescue-dialog~.rescue-action-holder{display:none}
@media(max-width:900px){
 .rescue-hud{top:80px}
 .rescue-dialog{padding:100px 32px 55px}
 .rescue-dialog-card{padding:0}
}
@media(max-width:600px){
 .rescue-featured{min-width:0;max-width:335px}
 .rescue-hud{top:68px;left:10px;width:min(286px,calc(100vw - 20px));padding:10px 13px}
 .rescue-hud-top{font-size:8px}
 .rescue-hud h2{font-size:16px;margin:8px 0 4px}
 .rescue-hud p{font-size:10px;line-height:1.42;min-height:0}
 .rescue-hud-progress{margin:9px 0 6px}
 .rescue-hud-bottom{font-size:7px}
 .rescue-dialog{padding:74px 20px 45px;
   background:linear-gradient(90deg,rgba(2,15,25,.94),rgba(2,17,27,.77)),
     linear-gradient(0deg,rgba(1,15,24,.83),transparent 70%)}
 .rescue-dialog-card{width:100%}
 .rescue-dialog-eyebrow{font-size:9px;letter-spacing:.12em}
 .rescue-dialog-line{margin:10px 0 17px}
 .rescue-dialog h2{font-size:clamp(38px,10vw,56px);margin:0 0 18px}
 .rescue-dialog p{font-size:13px;margin:0 0 16px;line-height:1.5}
 .rescue-dialog-choices{max-height:42dvh;gap:9px}
 .rescue-choice{min-height:54px;font-size:11px;padding:11px 14px}
 .rescue-plan-option{min-height:90px}
 .rescue-dialog-note{font-size:10px;margin-top:13px}
 .rescue-result-metrics{grid-template-columns:repeat(3,1fr)}
 .rescue-result-metrics strong{font-size:17px}
 .rescue-letterbox{height:22px}
 .rescue-scene-caption{font-size:7px;right:10px;bottom:6px}
 .rescue-action-holder{display:none!important}
 .rescue-timing-card{padding:22px 17px}
 .rescue-timing-card h2{font-size:28px}
 .rescue-timing-actions button{min-height:55px;font-size:11px}
 .rescue-timing-card p{font-size:12px}
}
@media(max-height:660px){
 .rescue-dialog{padding-top:41px;padding-bottom:28px}
 .rescue-dialog h2{font-size:40px;margin-bottom:10px}
 .rescue-dialog p{margin-bottom:12px}
 .rescue-dialog-card{max-height:88dvh;overflow:auto}
 .rescue-choice{min-height:46px}
 .rescue-timing-card{max-height:95dvh;overflow:auto}
}
@media(prefers-reduced-motion:reduce){
 .rescue-hud-progress span{transition:none}
 .rescue-timing-good{transition:none}
}

@media(max-width:600px){.start-hero .chapter{font-size:8px;letter-spacing:.055em;gap:6px;white-space:nowrap}.start-hero .chapter i{width:17px;flex-shrink:0}}
