/* 耳语电台：夜色海岸、一排电台、纸质电报与发报台。全部为原生 CSS / SVG。 */
:root{--wr-bg:#0e1a2c;--wr-bg-2:#13223a;--wr-panel:#172a45;--wr-paper:#f7f0e1;--wr-paper-2:#ece1c8;--wr-ink:#28303d;--wr-text:#edf2fa;--wr-muted:#a3b3c9;--wr-line:#ffffff1f;--wr-amber:#ffb85c;--wr-teal:#82d8d0;--wr-bad:#ff9a85}
body.whisper{--paper:#0e1a2c;--panel:#172a45;--ink:#edf2fa;--muted:#a3b3c9;--line:#ffffff1f;--accent:#ffb85c;--accent-ink:#2b1c08;--chip:#13223a;--bg:#0e1a2c;background:var(--wr-bg);color:var(--wr-text);color-scheme:dark}
body.whisper::before{display:block;background:radial-gradient(ellipse 60% 40% at 80% -10%,#82d8d01f,transparent 70%),radial-gradient(ellipse at 0% 100%,#ffb85c12,transparent 50%)}
body.whisper .lab-main,body.whisper.in-study:not(.answering) .lab-main{max-width:1120px;padding:8px 28px 48px}
body.whisper .lab-brand img{filter:brightness(0) invert(1);opacity:.86}body.whisper .theme-toggle{display:none!important}body.whisper .lab-section{color:#d6e1f0}body.whisper .lab-footer{opacity:.7;font-size:13px}body.whisper .lab-header .btn.ghost{color:#cbd8ea}
body.whisper .test-banner{background:var(--wr-bg-2);color:var(--wr-muted);border-color:var(--wr-line)}body.whisper .test-banner select{background:var(--wr-bg);color:var(--wr-text);border:1px solid var(--wr-line)}body.whisper .test-banner a{color:var(--wr-amber)}
body.whisper .muted{color:var(--wr-muted)}

.wr-label{font:12px/1.6 var(--sans);letter-spacing:2.4px;color:var(--wr-muted);margin:0;text-transform:uppercase}
.wr-btn{font:600 15px/1.2 var(--sans);min-height:44px;padding:11px 20px;border-radius:999px;border:1px solid var(--wr-line);background:#ffffff0f;color:var(--wr-text);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s,background .15s,box-shadow .15s}
.wr-btn:hover:not(:disabled){background:#ffffff1c;transform:translateY(-1px)}.wr-btn:active:not(:disabled){transform:translateY(1px)}.wr-btn:disabled{opacity:.45;cursor:not-allowed}
.wr-btn:focus-visible,.wr-tape:focus-visible,.wr-reread summary:focus-visible,.wr-about summary:focus-visible{outline:3px solid var(--wr-amber);outline-offset:3px}
.wr-btn.primary{background:var(--wr-amber);color:#2b1c08;border-color:transparent;box-shadow:0 8px 24px #ffb85c33}.wr-btn.primary:hover:not(:disabled){background:#ffc97f}
.wr-btn.large{font-size:17px;padding:15px 30px}.wr-btn.big{min-height:56px;font-size:17px;padding:14px 26px}.wr-btn.quiet{background:transparent}
.wr-status{min-height:1.6em;color:var(--wr-bad);font-size:14px;margin:8px 0 0}

/* 线路 */
.wr-line{display:block;width:100%;height:auto;max-height:118px;overflow:visible}
.wr-wire{stroke:#ffffff2e;stroke-width:2;stroke-dasharray:4 6}.wr-wire.done{stroke:#82d8d088;stroke-dasharray:none}
.wr-wire.live{stroke:var(--wr-amber);stroke-dasharray:6 6;animation:wr-flow .6s linear infinite}
@keyframes wr-flow{to{stroke-dashoffset:-12}}
.wr-mast{fill:none;stroke:#8fa2bd;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.wr-light{fill:#3b4a63}.wr-tower-label{font:700 13px var(--sans);fill:var(--wr-muted)}
.wr-tower.past .wr-light{fill:var(--wr-teal)}.wr-tower.past .wr-mast{stroke:#a9c9d4}
.wr-tower.you .wr-mast{stroke:var(--wr-text)}.wr-tower.you .wr-light{fill:var(--wr-amber);filter:drop-shadow(0 0 6px var(--wr-amber));animation:wr-blink 1.6s ease-in-out infinite}.wr-tower.you .wr-tower-label{fill:var(--wr-amber)}
.wr-tower.lit .wr-light{fill:var(--wr-amber);transition:fill .3s .5s}
.wr-waves{fill:none;stroke:var(--wr-amber);stroke-width:2;stroke-linecap:round;opacity:.75;animation:wr-blink 1.6s ease-in-out infinite}
@keyframes wr-blink{50%{opacity:.35}}

/* 开场 */
.wr-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px 40px;align-items:center;padding-top:18px}
.wr-intro-copy h1{font:800 clamp(44px,7vw,76px)/1 var(--serif);letter-spacing:2px;margin:10px 0 16px}.wr-intro-copy h1 span{color:var(--wr-amber)}
.wr-lead{font:600 20px/1.6 var(--sans);margin:0 0 10px}.wr-desc{color:var(--wr-muted);line-height:1.9;margin:0 0 24px}
.wr-disclaimer{color:var(--wr-muted);font-size:13px;margin:14px 0 0}
.wr-scene{position:relative;height:300px;border-radius:22px;background:linear-gradient(#0f1f38,#152a48 70%,#1b3554);overflow:hidden;border:1px solid var(--wr-line)}
.wr-stars{position:absolute;inset:0}.wr-stars i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;opacity:.7;animation:wr-blink 3s ease-in-out infinite}
.wr-stars i:nth-child(1){left:8%;top:12%}.wr-stars i:nth-child(2){left:18%;top:30%;animation-delay:.5s}.wr-stars i:nth-child(3){left:27%;top:9%}.wr-stars i:nth-child(4){left:36%;top:22%;animation-delay:1.2s}.wr-stars i:nth-child(5){left:45%;top:7%}.wr-stars i:nth-child(6){left:52%;top:27%;animation-delay:.8s}.wr-stars i:nth-child(7){left:61%;top:14%}.wr-stars i:nth-child(8){left:69%;top:31%;animation-delay:1.6s}.wr-stars i:nth-child(9){left:12%;top:44%}.wr-stars i:nth-child(10){left:31%;top:40%;animation-delay:2s}.wr-stars i:nth-child(11){left:58%;top:42%}.wr-stars i:nth-child(12){left:90%;top:38%;animation-delay:.3s}.wr-stars i:nth-child(13){left:4%;top:28%}.wr-stars i:nth-child(14){left:41%;top:35%;animation-delay:1s}.wr-stars i:nth-child(15){left:75%;top:8%}.wr-stars i:nth-child(16){left:94%;top:18%;animation-delay:1.4s}.wr-stars i:nth-child(17){left:23%;top:19%}.wr-stars i:nth-child(18){left:66%;top:4%;animation-delay:.6s}
.wr-moon{position:absolute;right:11%;top:26px;width:46px;height:46px;border-radius:50%;background:#fbefcf;box-shadow:0 0 40px #fbefcf55,inset -10px -4px 0 #e9d9b0}
.wr-hills{position:absolute;left:-5%;right:-5%;bottom:0;height:92px;background:radial-gradient(ellipse 40% 100% at 20% 100%,#0b1626 98%,transparent 100%),radial-gradient(ellipse 45% 90% at 75% 100%,#0d1a2d 98%,transparent 100%)}
.wr-scene-line{position:absolute;left:5%;right:5%;bottom:30px}
.wr-scene-slip{position:absolute;left:9%;top:34px;width:132px;padding:12px 14px;background:var(--wr-paper);border-radius:4px;transform:rotate(-7deg);box-shadow:0 10px 22px #0007;display:grid;gap:7px}
.wr-scene-slip b{font:800 11px/1 var(--sans);letter-spacing:2px;color:#b5452f}.wr-scene-slip i{display:block;height:5px;border-radius:3px;background:#28303d33}.wr-scene-slip i:nth-child(3){width:80%}.wr-scene-slip i:nth-child(5){width:55%}
.wr-mechanics{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.wr-mechanics>div{display:flex;gap:14px;padding:18px;border-radius:16px;background:#ffffff08;border:1px solid var(--wr-line)}
.wr-mechanics h2{font:700 16px/1.4 var(--sans);margin:0 0 4px}.wr-mechanics p{margin:0;color:var(--wr-muted);font-size:14px;line-height:1.7}
.wr-icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#ffb85c1f;color:var(--wr-amber);font-size:20px}
.wr-about{grid-column:1/-1;color:var(--wr-muted);font-size:14px;line-height:1.8}.wr-about summary{cursor:pointer;color:var(--wr-text)}.wr-about p{margin:8px 0 0}

/* 值班 */
.wr-mission{max-width:820px;margin:0 auto}
.wr-hud{display:grid;gap:14px;margin:6px 0 18px}
.wr-hud h1{font:700 clamp(24px,4vw,32px)/1.3 var(--serif);margin:4px 0 0}
.wr-stage{display:grid;gap:16px}
.wr-coach{margin:0;color:var(--wr-teal);font-weight:600}
.wr-slip{position:relative;background:var(--wr-paper);color:var(--wr-ink);padding:22px 28px 26px;border-radius:6px;box-shadow:0 18px 40px #0008;animation:wr-unfold .45s ease-out both;background-image:linear-gradient(#28303d0d 1px,transparent 1px);background-size:100% 30px;background-position:0 74px}
.wr-slip::before{content:'';position:absolute;left:0;right:0;top:0;height:6px;background:repeating-linear-gradient(90deg,#b5452f 0 18px,transparent 18px 26px,#2f5f9a 26px 44px,transparent 44px 52px);border-radius:6px 6px 0 0}
.wr-slip-head{display:flex;justify-content:space-between;font:800 12px/1 var(--sans);letter-spacing:2.4px;color:#b5452f;margin:4px 0 14px}
.wr-slip h2{font:700 18px/1.5 var(--serif);margin:0 0 10px}
.wr-slip p{margin:0 0 10px;font:17px/1.9 var(--serif)}.wr-slip p:last-child{margin-bottom:0}
@keyframes wr-unfold{from{opacity:0;transform:translateY(10px) scaleY(.96)}}
.wr-dock{display:grid;justify-items:center;gap:10px}
.wr-lock{width:min(320px,100%);height:6px;border-radius:999px;background:#ffffff1a;overflow:hidden}
.wr-lock i{display:block;height:100%;width:0;background:var(--wr-teal);border-radius:inherit}
.wr-lock.run i{width:100%;transition:width var(--dur) linear}
.wr-hint{margin:0;color:var(--wr-muted);font-size:13px;text-align:center}
.wr-filed{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;background:#82d8d012;border:1px solid #82d8d040;animation:wr-unfold .35s ease-out both}
.wr-filed p{margin:0;color:#d4f1ee;font-size:14px}
.wr-filed-slip{flex:none;width:30px;height:22px;border-radius:3px;background:var(--wr-paper);box-shadow:0 3px 0 #ece1c8,0 6px 0 #ddd0b2;transform:rotate(-4deg)}
.wr-console{display:grid;gap:12px;padding:20px;border-radius:18px;background:var(--wr-panel);border:1px solid var(--wr-line)}
.wr-instructions{margin:0;font:600 17px/1.7 var(--sans)}.wr-instructions:focus{outline:none}
.wr-privacy{margin:0;color:var(--wr-muted);font-size:13px}
.wr-reread summary{cursor:pointer;color:var(--wr-amber);font-size:14px;margin-bottom:10px}
.wr-tape{width:100%;min-height:180px;resize:vertical;padding:16px 18px;border:0;border-radius:8px;background:var(--wr-paper);color:var(--wr-ink);font:16px/30px var(--sans);background-image:linear-gradient(transparent 29px,#28303d1a 29px);background-size:100% 30px;background-attachment:local;box-shadow:inset 0 2px 0 #0000000d}
.wr-tape[readonly]{opacity:.8}
.wr-console-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.wr-counter{margin:0;color:var(--wr-muted);font-size:13px;font-variant-numeric:tabular-nums}.wr-counter.bad{color:var(--wr-bad)}
.wr-sent{position:relative;display:grid;justify-items:center;gap:8px;text-align:center;padding:34px 20px;border-radius:18px;background:var(--wr-panel);border:1px solid var(--wr-line);overflow:hidden}
.wr-sent h2{font:700 28px/1.3 var(--serif);margin:0}.wr-sent p{margin:0 0 12px;color:var(--wr-muted);max-width:520px;line-height:1.8}
.wr-sent-pulse{position:absolute;left:50%;top:-60px;width:120px;height:120px;margin-left:-60px;border-radius:50%;border:2px solid var(--wr-amber);opacity:0;animation:wr-ping 1.8s ease-out infinite}
@keyframes wr-ping{0%{transform:scale(.4);opacity:.8}100%{transform:scale(2.4);opacity:0}}

/* 值班记录 */
.wr-finale{display:grid;gap:18px;padding-top:12px}
.wr-finale-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:center;padding:26px;border-radius:22px;background:linear-gradient(135deg,#172a45,#13223a);border:1px solid var(--wr-line)}
.wr-finale-hero h1{font:800 clamp(30px,5vw,46px)/1.15 var(--serif);margin:8px 0 12px}
.wr-finale-line{display:grid;gap:6px;justify-items:center}.wr-finale-line small{color:var(--wr-muted)}
.wr-finale-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.wr-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.wr-tiles>div{display:grid;gap:4px;padding:16px;border-radius:16px;background:#ffffff08;border:1px solid var(--wr-line)}
.wr-tiles strong{font:700 26px/1.2 var(--serif);color:var(--wr-amber);font-variant-numeric:tabular-nums}.wr-tiles span{font-weight:600}.wr-tiles small{color:var(--wr-muted);font-size:12px;line-height:1.5}
.wr-panel{padding:22px;border-radius:18px;background:#ffffff06;border:1px solid var(--wr-line)}
.wr-panel h2{font:700 20px/1.4 var(--serif);margin:0 0 14px}.wr-panel p{line-height:1.85}
.wr-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wr-compare article{padding:16px 18px;border-radius:10px;min-width:0}
.wr-compare-in{background:var(--wr-paper);color:var(--wr-ink)}.wr-compare-in .wr-label{color:#8a6a3e}.wr-compare-in h3{font:700 15px/1.5 var(--serif);margin:6px 0}
.wr-compare-out{background:#ffb85c14;border:1px solid #ffb85c55}
.wr-compare p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.wr-debrief{margin:12px 0;padding:12px 16px;border-left:3px solid var(--wr-teal);background:#82d8d00d;border-radius:0 10px 10px 0}.wr-debrief p{margin:0 0 8px;color:#d6e1f0}
.wr-method>p{color:var(--wr-muted)}

@media (max-width:820px){
  .wr-intro,.wr-finale-hero{grid-template-columns:1fr}
  .wr-mechanics{grid-template-columns:1fr}
  .wr-tiles{grid-template-columns:repeat(2,1fr)}
  .wr-compare{grid-template-columns:1fr}
}
@media (max-width:560px){
  body.whisper .lab-main,body.whisper.in-study:not(.answering) .lab-main{padding:6px 16px 40px}
  .wr-scene{height:240px}.wr-scene-slip{width:108px;top:26px}
  .wr-slip{padding:18px 18px 22px}.wr-slip p{font-size:16px}
  .wr-console{padding:14px}
  .wr-console-foot .wr-btn{width:100%}
  .wr-tiles strong{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  .wr-slip,.wr-filed{animation:none}
  .wr-wire.live,.wr-waves,.wr-tower.you .wr-light,.wr-stars i,.wr-sent-pulse{animation:none}
  .wr-sent-pulse{display:none}
}
