/* ===== Water control room ===== */
.wr{margin:28px 0 8px}
.wr-poster{position:relative;overflow:hidden;min-height:560px;border-radius:24px;border:1px solid #5ed3e840;background:radial-gradient(80% 90% at 75% 40%,#0f2236 0%,#070d17 70%);box-shadow:0 40px 100px -50px #000,0 0 80px -40px #5ed3e8;display:flex;align-items:flex-end}
.wr-art{position:absolute;inset:0 -4% 0 34%;opacity:.62;filter:saturate(1.15);pointer-events:none;transition:opacity .6s,transform .8s}
.wr-art svg{width:100%;height:100%;object-fit:contain}
.wr-poster:hover .wr-art{opacity:.8;transform:scale(1.015)}
.wr-glow{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#070d17 0%,#070d17f2 30%,#070d1700 62%),linear-gradient(0deg,#070d17 0%,#070d1700 40%)}
.wr-ov{position:relative;z-index:2;max-width:560px;padding:clamp(28px,4vw,52px)}
.wr-k{display:flex;align-items:center;gap:10px;margin:0 0 16px;font:500 11.5px "IBM Plex Mono",monospace;letter-spacing:.18em;text-transform:uppercase;color:#5ed3e8}
.wr-k i{width:8px;height:8px;border-radius:50%;background:#ff6b5b;box-shadow:0 0 0 0 #ff6b5b88;animation:wrPulse 1.6s infinite}
@keyframes wrPulse{70%{box-shadow:0 0 0 10px #ff6b5b00}100%{box-shadow:0 0 0 0 #ff6b5b00}}
.wr-ov h3{font:400 clamp(30px,3.2vw,44px)/1.1 "Newsreader",Georgia,serif !important;letter-spacing:-.015em;color:#eef3f8;margin:0 0 14px}
.wr-ov h3 em,.wr-end h3 em{font-style:italic;color:#5ed3e8}
.wr-sub{font:400 16px/1.6 "IBM Plex Sans",system-ui,sans-serif;color:#c7d1dc;margin:0 0 24px}
.wr-acts{display:flex;flex-wrap:wrap;gap:12px}
.wr-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:999px;border:0;cursor:pointer;text-decoration:none;font:600 14.5px "IBM Plex Sans",system-ui,sans-serif;background:linear-gradient(90deg,#d9b45a,#c8a24b);color:#1a1205;box-shadow:0 12px 30px -12px #c8a24b99;transition:transform .2s}
.wr-btn:hover{transform:translateY(-1px)}
.wr-btn.ghost{background:#ffffff0d;color:#eef3f8;border:1px solid #ffffff38;box-shadow:none}
.wr-btn.ghost:hover{border-color:#5ed3e8}
.wr-tri{width:0;height:0;border-left:9px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent}
.wr-meta{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;margin:26px 0 0;padding:16px 0 0;border-top:1px solid #ffffff17;font:400 13.5px "IBM Plex Sans",system-ui,sans-serif;color:#9fb0c3}
.wr-meta b{font:400 22px "Newsreader",Georgia,serif;color:#eef3f8;margin-right:6px}
.wr-away{display:none !important}
#water .wv2-hint{display:none}

/* room */
html.wr-lock,html.wr-lock body{overflow:hidden}
html.wr-lock .site-header,html.wr-lock .storybar,html.wr-lock .cx-story,html.wr-lock .callbar,html.wr-lock .tray{visibility:hidden}
.wr-room{position:fixed;inset:0;z-index:2147483000;display:none;background:#04080fcc;backdrop-filter:blur(10px);padding:clamp(0px,1.6vw,22px)}
.wr-room.on{display:block;animation:wrIn .35s ease-out}
@keyframes wrIn{from{opacity:0}to{opacity:1}}
.wr-fig{margin:0 auto !important;height:100%;max-width:1680px;display:grid !important;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;grid-template-areas:"bar bar" "cap cap" "stage rail" "lh lh" "lev lev" "foot foot";gap:0;border:1px solid #5ed3e83d;border-radius:20px;overflow:hidden;background:radial-gradient(70% 80% at 40% 40%,#0d1b2c,#060b14 75%);box-shadow:0 50px 120px -40px #000}
.wr-fig>.wx-bar{grid-area:bar;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 !important;padding:12px 16px !important;border-bottom:1px solid #ffffff14;background:#060b14cc}
.wr-tabs{display:flex;gap:4px;margin-left:auto;padding:3px;border-radius:999px;background:#ffffff0a;border:1px solid #ffffff14}
.wr-tabs button{border:0;background:none;color:#9fb0c3;font:500 13px "IBM Plex Sans",system-ui,sans-serif;padding:7px 14px;border-radius:999px;cursor:pointer}
.wr-tabs button[aria-selected="true"]{background:#5ed3e81f;color:#fff;box-shadow:inset 0 0 0 1px #5ed3e866}
.wr-ctl{display:flex;gap:8px;align-items:center}
.wr-replay{border:1px solid #c8a24b77;background:#c8a24b14;color:#e8c87a;font:500 13px "IBM Plex Sans",system-ui,sans-serif;padding:8px 14px;border-radius:999px;cursor:pointer}
.wr-x{width:38px;height:38px;border-radius:50%;border:1px solid #ffffff33;background:none;color:#fff;font:400 22px/1 system-ui;cursor:pointer}
.wr-x:hover{border-color:#fff}
.wr-stage{grid-area:stage;position:relative;min-height:0;display:flex;flex-direction:column;gap:12px;padding:14px 18px;overflow:hidden}
.wr-stage>.wv2-scroll{flex:1 1 auto;min-height:0;width:100%;overflow:visible !important;margin:0 !important;display:flex;align-items:center;justify-content:center}
.wr-stage>.wv2-scroll svg{width:100%;height:100%;max-height:100%;min-width:0 !important}
.wr-stage>.wx-hist{display:none;flex:1 1 auto;width:100%;margin:0 !important;align-content:center}
.wr-room[data-view="trend"] .wr-stage>.wv2-scroll{display:none}
.wr-room[data-view="trend"] .wr-stage>.wx-hist{display:grid}
.wr-stage>.wx-hist .wx-log ol{max-height:320px;overflow:auto}
.wr-hot{display:none;flex:1 1 auto;min-height:0;overflow:auto;align-items:center;justify-content:center}
.wr-hot .wv2-card{width:min(860px,100%);margin:0 auto !important;font-size:16px}
.wr-room[data-view="hot"] .wr-stage>.wv2-scroll,.wr-room[data-view="hot"] .wr-stage>.wx-hist{display:none}
.wr-room[data-view="hot"] .wr-hot{display:flex}

.wr-rail{grid-area:rail;min-height:0;overflow:auto;padding:16px;border-left:1px solid #ffffff14;background:#060b1499;display:flex;flex-direction:column;gap:14px}
.wr-rh,.wr-lh{margin:0;font:500 11px "IBM Plex Mono",monospace;letter-spacing:.16em;text-transform:uppercase;color:#8fa0b4}
.wr-rail .sim-read{display:grid !important;grid-template-columns:1fr 1fr;gap:10px;margin:0 !important}
.wr-rail .sim-read>div{padding:12px;border:1px solid #ffffff14;border-radius:12px;background:#0a1422;margin:0 !important}
.wr-rail .wx-narr{margin:0 !important;padding:12px 14px;border-radius:12px;border-left:3px solid #5eead4;background:#5eead40f}
.wr-rail .wv2-card{margin:0 !important}
.wr-lh{grid-area:lh;padding:12px 18px 0;border-top:1px solid #ffffff14}
.wr-fig>.sim-levers{grid-area:lev;display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 !important;padding:10px 18px 14px !important}
.wr-foot{grid-area:foot;display:flex;flex-wrap:wrap;gap:4px 20px;justify-content:space-between;padding:8px 18px 12px;border-top:1px solid #ffffff0f}
.wr-foot p{margin:0 !important;font-size:12px !important}
.wr-fig .wv2-swipe{display:none !important}
/* captions: a narration line under the top bar */
.wr-cap{grid-area:cap;display:flex;align-items:baseline;gap:14px;min-height:46px;padding:12px 18px;border-bottom:1px solid #ffffff14;background:linear-gradient(90deg,#5ed3e812,transparent 70%);font:400 15px/1.45 "IBM Plex Sans",system-ui,sans-serif;color:#e6edf4}
.wr-cap b{color:#fff}
.wr-step{flex:0 0 auto;font:500 11px "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#5ed3e8}
.wr-cap.start{background:linear-gradient(90deg,#ff6b5b14,transparent 70%)}.wr-cap.start .wr-step{color:#ff8a7d}
.wr-cap.done{background:linear-gradient(90deg,#3fd68a14,transparent 70%)}.wr-cap.done .wr-step{color:#3fd68a}
/* end card */
.wr-end{position:absolute;inset:0;z-index:6;display:none;align-items:center;justify-content:center;padding:20px;background:#060b14b8;backdrop-filter:blur(4px)}
.wr-end.on{display:flex;animation:wrIn .5s ease-out}
.wr-end-in{max-width:620px;padding:30px 32px;border-radius:20px;border:1px solid #3fd68a55;background:radial-gradient(90% 90% at 0% 0%,#3fd68a1a,transparent 60%),#08111c;box-shadow:0 30px 80px -30px #000}
.wr-end-in .wr-k{color:#3fd68a}.wr-end-in .wr-k i{background:#3fd68a;animation:none}
.wr-end h3{font:400 clamp(28px,2.6vw,36px)/1.15 "Newsreader",Georgia,serif !important;color:#eef3f8;margin:0 0 16px}
.wr-end h3 em{color:#3fd68a}
.wr-end dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.wr-end dl div{padding:10px 12px;border-radius:10px;background:#ffffff08;border:1px solid #ffffff12}
.wr-end dt{font:500 10.5px "IBM Plex Mono",monospace;letter-spacing:.12em;text-transform:uppercase;color:#8fa0b4}
.wr-end dd{margin:4px 0 0;font:400 24px "Newsreader",Georgia,serif;color:#3fd68a}
.wr-end dd small{margin-left:4px;font:400 11px "IBM Plex Sans",sans-serif;color:#8fa0b4}
.wr-end-in>p{font:400 15.5px "IBM Plex Sans",system-ui,sans-serif;color:#dbe3ec;margin:0 0 16px}
.wr-keep{margin-top:16px;background:none;border:0;color:#9fb0c3;font:500 13.5px "IBM Plex Sans",sans-serif;text-decoration:underline;cursor:pointer;padding:0}
/* tablet and phone */
@media (max-width:1100px){
  .wr-fig{grid-template-columns:1fr;grid-template-rows:auto auto auto auto auto auto auto;grid-template-areas:"bar" "cap" "rail" "stage" "lh" "lev" "foot";height:auto;min-height:100%}
  .wr-room{overflow:auto}
  .wr-stage{min-height:0}
  .wr-rail{border-left:0;border-bottom:1px solid #ffffff14;overflow:visible;padding:10px 16px;position:sticky;top:0;z-index:4;background:#060b14f2}
  .wr-rail .wr-rh,.wr-rail .wx-narr{display:none}
  .wr-rail .sim-read{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .wr-rail .sim-read>div{padding:8px 10px}
  .wr-rail .sim-read dt small{display:none}
  .wr-fig>.sim-levers{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .wr-room{padding:0}
  .wr-fig{border-radius:0;border:0}
  .wr-stage{min-height:0;padding:8px 0}
  .wr-stage>.wv2-scroll{overflow-x:auto !important;justify-content:flex-start}
  .wr-stage>.wv2-scroll{flex:none}
  .wr-stage>.wv2-scroll svg{min-width:900px !important;height:auto}
  .wr-tabs{order:5;margin-left:0}
  .wr-cap{flex-direction:column;gap:2px}
  .wr-rail .sim-read{grid-template-columns:1fr 1fr 1fr 1fr;gap:6px}
  .wr-rail .sim-read>div{padding:6px 8px}
  .wr-rail .sim-read dt{font-size:9.5px !important;letter-spacing:.06em !important}
  .wr-rail .sim-read dd{font-size:20px !important}
  .wr-end dl{grid-template-columns:1fr 1fr 1fr}
  .wr-poster{min-height:0;flex-direction:column;align-items:stretch}
  .wr-art{position:relative;inset:auto;height:220px;opacity:.75}
  .wr-glow{background:linear-gradient(0deg,#070d17 0%,#070d1700 45%)}
  .wr-ov{padding:8px 22px 26px}
}
@media (prefers-reduced-motion:reduce){.wr-k i{animation:none}.wr-art{transition:none}}
