/* Warm field equipment and the observatory share the same dark base. */
:root{--accent:#ff9f68;--mint:#9cdec2;--card:#1b2b38}
.appmain{background:radial-gradient(ellipse at 94% 0%,#25434168,transparent 540px),var(--bg)}
.brand img{filter:drop-shadow(0 3px 3px #0006)}.primary{box-shadow:inset 0 1px 0 #ffe0bd9a,0 2px 0 #ac6137,0 4px 12px #0003}.primary:active,.radio-answer:active{transform:translateY(1px)}.navlink.active{box-shadow:inset 0 0 0 1px #bd7b4c32;background:linear-gradient(100deg,#3b302a,#362d2777)}.progresscard,.panel,.scenario-card{box-shadow:inset 0 1px 0 #fff1,0 7px 18px #08111732}.hero{background-image:url(assets/ranger.webp);background-position:64% 24%;border-color:#60736f;min-height:312px}.hero:before{background:linear-gradient(90deg,#0b1e23ee,#10232a95 39%,transparent 75%)}.hero-copy{max-width:61%;z-index:1}.hero-copy em{color:#ffb081}.hero-label{color:#d9f3da;background:#253b31cf;border-color:#74917a7a}.hero-grid{gap:18px}.ring{background:conic-gradient(var(--mint) var(--progress),#3a4f58 0);box-shadow:0 0 0 4px #22343f,inset 0 1px 2px #fff1}.scenario-card:hover .sceneimg{filter:saturate(1.12)}.top .ranger-bubble{display:flex;align-items:center;gap:7px;padding:3px 10px 3px 4px;background:#263b3e;border:1px solid #4a6360;border-radius:25px;font-size:.79em;color:#e5f2e8;font-weight:700;min-height:37px}.ranger-bubble img{width:30px;height:30px;border-radius:50%;object-fit:cover}.ranger-postcard{height:165px;overflow:hidden;border-radius:10px}.ranger-postcard img{width:100%;height:100%;object-fit:cover;object-position:72% 25%}.ranger-tip{font-size:1.15em;line-height:1.65}.home-shortcuts{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin-top:16px}.home-shortcuts .quick{min-height:80px;padding:12px 18px}.home-shortcuts .quick img{width:55px;height:55px;object-fit:cover;border:1px solid #82719b;border-radius:16px}.home-shortcuts .quick.lab{background:radial-gradient(ellipse at top left,#41425e,transparent 85%),#262c40;border-color:#4b475d}.home-shortcuts .square{background:#28433e;color:#a7e2c6}.home-shortcuts small{font-size:.86em}
.lab-cover{min-height:280px;border-radius:18px;position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;background:#142333;border:1px solid #546274;color:#fff}.lab-cover>img{position:absolute;inset:0 0 0 auto;width:70%;height:100%;object-fit:cover;object-position:center 40%;z-index:-2}.lab-cover:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#141e32 4%,#19283cf4 28%,#1b293dcf 40%,transparent 65%)}.cover-text{max-width:48%;padding:28px 35px}.cover-text h2{font-size:clamp(30px,3.4vw,52px);line-height:1.15;letter-spacing:-.065em;margin:10px 0 6px}.cover-text p{color:#cad9e3;font-size:.9em}.cover-text .primary{margin-top:13px}.radio-label,.scene-marker{display:inline-flex;align-items:center;gap:7px;padding:3px 8px;border-radius:5px;border:1px solid #8da6aa70;color:#c1efda;background:#17333ba8;font-size:.72em;letter-spacing:.04em;font-weight:700}.radio-label i,.scene-marker i{width:6px;height:6px;background:#a5ebc8;border-radius:50%;box-shadow:0 0 8px #b7ffdc66}.labhead{margin:24px 0 11px}.labhead h2{font-size:1.5em}.labhead>span{font-size:.82em;color:var(--muted)}.visitor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.visitor-card,.passenger{padding:0;background:#1b2a37;border:1px solid #3b4b58;box-shadow:inset 0 1px 0 #ffffff14,0 6px 14px #06111b52;border-radius:14px;overflow:hidden;text-align:left;color:var(--text)}.visitor-photo{position:relative;overflow:hidden}.visitor-photo img{width:100%;aspect-ratio:1.25;object-fit:cover;object-position:center 35%;display:block;transition:transform .3s}.visitor-card:hover img,.visitor-card:focus-visible img{transform:scale(1.035)}.species-tag{position:absolute;bottom:8px;left:9px;display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:5px;background:#101f2bcc;border:1px solid #ffffff45;font-size:.74em;color:#fff}.visitor-name{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:13px}.visitor-name h3{font-size:1.15em}.visitor-name small{display:block;margin-top:3px;font-size:.73em}.visitor-name>svg{color:#ffbd8a}.detective{background:#292c41;border-color:#4f4d68}.detective .square{color:#c9baff;background:#3c3953}.lab-badges{display:flex;gap:10px;flex-wrap:wrap}.lab-badges span{font-size:.88em;color:var(--muted);background:#21323e;border:1px solid #465865;padding:5px 9px;border-radius:7px}.lab-badges .won,.mint-text{color:var(--mint)}.mission-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:17px}.encounter-stage{position:relative;overflow:hidden;isolation:isolate;border-radius:16px;border:1px solid #526774;min-height:320px;background:#152936}.scene-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%;z-index:-1}.encounter-stage:after{content:"";pointer-events:none;position:absolute;inset:55% 0 0;z-index:-1;background:linear-gradient(transparent,#0a1520ab)}.scene-marker{position:absolute;top:14px;left:14px}.stage-caption{position:absolute;bottom:16px;left:16px;color:#fff;font-weight:700}.radio-console{background:linear-gradient(145deg,#243844,#172733 79%);border:1px solid #42606b;border-radius:16px;padding:20px 22px;box-shadow:inset 0 1px 0 #b6ddd82b}.radio-head{display:flex;align-items:center;gap:10px}.radio-head img{height:66px;width:66px;object-fit:cover;object-position:center 32%;border:2px solid #617a78;border-radius:18px}.radio-head small,.playbar small{font-size:.75em;color:#adc5c6}.radio-head h2{margin-top:3px}.wave{display:inline-flex;height:24px;align-items:center;gap:3px;margin-left:auto}.wave i{height:5px;width:3px;background:#88c3aa;border-radius:3px}.wave i:nth-child(2n){height:14px}.wave i:nth-child(3){height:22px}.voice-on .wave i{animation:radio-wave .7s ease-in-out infinite alternate}.voice-on .wave i:nth-child(2n){animation-delay:-.3s}.voice-on .wave i:nth-child(3){animation-delay:-.55s}@keyframes radio-wave{to{transform:scaleY(.35)}}.radio-console #radio-caption{font-size:clamp(21px,2vw,30px);font-weight:700;line-height:1.45;letter-spacing:-.045em;color:#fcf2df;margin:17px 0 12px}.playbar,.mission-tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.voicepill{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 11px;border-radius:24px;background:#28433f;color:#c8ebd7;border-color:#517267;font-size:.86em;font-weight:700}.voicepill[aria-pressed=true]{color:#fff;background:#315448}.radio-choices{border-top:1px solid #435562;margin-top:15px;padding-top:14px;display:grid;gap:8px}.radio-choices .overline{color:#f7b586;margin:0 0 2px}.radio-answer{min-height:47px;padding:10px 14px;border-radius:9px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:9px;font-weight:650;background:#283c49;border:1px solid #536776;color:#f6f6ef}.radio-answer:after{content:'›';font-size:20px;line-height:1;color:#ffac7e}.radio-answer:focus-visible,.radio-answer:hover{background:#354c53;border-color:#8dada7}.mission-tools{margin-top:18px}.mission-tools .secondary{font-size:.86em}.mission-brief{display:flex;gap:14px;align-items:center;background:#292e43;border:1px solid #615c78;border-radius:14px;padding:16px 20px;margin-bottom:16px}.mission-brief>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#d0c3ff;background:#403f58;flex:none}.mission-brief small{color:#c3b4e0;font-weight:650}.mission-brief h2{font-size:1.17em;line-height:1.55}.passengers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.passenger>img{width:100%;height:clamp(150px,18vw,270px);object-fit:cover;object-position:center 32%;display:block}.passenger>div{padding:14px}.passenger h3{margin:2px 0 5px}.passenger p{font-size:.92em;margin:7px 0 10px}.passenger.solved{border-color:var(--mint)}.case-result:focus,.radio-console #radio-caption:focus{outline:0}.case-result .primary{margin-top:8px}#skylog{display:grid;gap:10px;max-width:660px}#skylog>button{width:fit-content}.voice-settings{border-top:1px solid var(--line);padding-top:12px;margin-top:6px}.voice-settings .segment{align-items:center}.voice-settings small{display:block;margin-top:8px}.radio-choices .primary,.radio-choices .secondary{justify-self:start}
@media(max-width:1050px){.mission-grid{grid-template-columns:1fr 1fr}.radio-console{padding:17px}.visitor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visitor-photo img{aspect-ratio:1.8}.hero-copy{max-width:72%}}
@media(max-width:730px){.mission-grid{grid-template-columns:1fr}.encounter-stage{min-height:220px}.scene-bg{object-position:50% 40%}.top .ranger-bubble span{display:none}.top .ranger-bubble{padding:2px;min-height:35px}.lab-cover{min-height:245px}.cover-text{max-width:60%;padding:22px}.passenger>div{padding:10px}.home-shortcuts{gap:10px}.home-shortcuts .quick{padding:12px}.home-shortcuts .quick img,.home-shortcuts .square{width:42px;height:42px}}
@media(max-width:610px){.hero{min-height:260px;background-position:57% 30%}.hero-copy{max-width:74%}.hero-copy p{max-width:90%}.home-shortcuts{grid-template-columns:1fr 1fr}.home-shortcuts .quick{gap:8px;padding:10px;min-height:63px}.home-shortcuts .quick small,.home-shortcuts .quick>svg:last-child{display:none}.home-shortcuts .quick strong{font-size:.88em}.lab-cover>img{width:100%;object-position:60% 43%}.cover-text{max-width:67%;padding:18px}.cover-text h2{font-size:30px}.lab-cover:after{background:linear-gradient(90deg,#142234f2 0%,#172638b5 48%,transparent 85%)}.visitor-grid{gap:9px}.visitor-photo img{aspect-ratio:1.25}.visitor-name{padding:10px 8px}.visitor-name small{font-size:.7em}.visitor-name>svg{width:14px}.mission-grid{gap:9px}.encounter-stage{min-height:185px}.radio-head img{width:53px;height:53px;border-radius:12px}.radio-console #radio-caption{margin:12px 0 9px}.passengers{grid-template-columns:1fr;gap:10px}.passenger{display:grid;grid-template-columns:33% minmax(0,1fr)}.passenger>img{height:100%;min-height:145px;object-position:50% 25%}.mission-brief{padding:12px}.mission-brief h2{font-size:1.02em}.ranger-postcard{height:140px}.hero:before{background:linear-gradient(90deg,#0c1e24e0 0%,#102429a0 49%,transparent 84%)}}
@media(prefers-reduced-motion:reduce){.voice-on .wave i,.visitor-card:hover img{animation:none;transform:none}}


.reader-stop{position:fixed;bottom:23px;right:24px;z-index:8;background:#28483c;border-color:#70927e;color:#e2f6e8;box-shadow:0 5px 14px #0005}.reader-stop[hidden]{display:none}@media(max-width:850px){.reader-stop{bottom:70px}}

.encounter-notes{padding:12px 18px}.encounter-notes summary{min-height:40px;align-content:center}.encounter-notes h3{margin-top:8px;color:#b4e3ca;font-size:1em}.encounter-notes p{margin:5px 0 12px}

.encounter-stage:not(.mood-start) .scene-bg{filter:blur(9px) brightness(.52);transform:scale(1.06)}
.reaction-close{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 50%;animation:radio-portrait-in .35s ease-out both}
@keyframes radio-portrait-in{from{opacity:.1;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.reaction-close{animation:none}}
.night-invite{display:flex;align-items:center;gap:16px;padding:15px 20px;background:linear-gradient(115deg,#20334e,#283449 58%,#37463e);border:1px solid #54665b;color:#fff;border-radius:18px;text-decoration:none;margin:18px 0}.night-invite img{width:65px;height:65px;object-fit:cover;border-radius:50%}.night-invite>span{display:grid;gap:3px}.night-invite small{color:#eed18d;font:700 10px monospace;letter-spacing:2px}.night-invite strong{font-size:20px}.night-invite span span{font-size:13px;color:#d6dfdb}.night-invite b{margin-left:auto;color:#ffe2a3}

.calm-card{display:flex;align-items:center;gap:12px;background:#eef5e5;color:#274436;border:1px solid #c8d9bb;border-radius:16px;padding:14px 17px;margin:0 0 20px}.calm-card img{width:54px;height:54px;border-radius:50%;flex-shrink:0}.calm-card strong{font-size:16px}.calm-card p{font-size:14px;line-height:1.55;margin:5px 0}.calm-card small{color:#50684d;font-size:12px;letter-spacing:0;font-family:inherit}.stage+.calm-card{margin:14px 0;border-radius:16px}.emergencybody .calm-card img{display:none}@media(max-width:480px){.calm-card{padding:12px;align-items:flex-start}.calm-card img{width:42px;height:42px}}

.start-here{display:flex;gap:20px;align-items:center;padding:24px;background:#e8f1df;border-radius:22px;color:#254334;margin-bottom:24px}.start-here img{width:100px;max-width:25%;border-radius:50%}.start-here h2{font-size:25px;margin:6px 0}.start-here p{line-height:1.6}.start-here small{font-size:11px;letter-spacing:1px}.start-here a{display:inline-flex;margin:8px 12px 0 0}.supply-link{display:inline-block;padding:10px 14px;margin:5px;background:#e2efe0;border-radius:12px;color:#245143}.path-hint{padding:16px;background:#e0eee4;border-radius:14px}.member{min-width:0}.member span{overflow-wrap:anywhere}@media(max-width:480px){.start-here{padding:18px;gap:12px}.start-here h2{font-size:21px}}
body .calm-card p,body .start-here p{color:#304d3d}body .calm-card small,body .start-here small{color:#46613e}body .start-here .textlink{color:#265c40}
