/* Trail Atmospheres: native light, authentic photography, human botanical art. */
.atmosphere-toggle{background:none;border:1px solid #fae9b24a;color:#fae9b2;border-radius:30px;padding:7px 11px;font:10px var(--mono);white-space:nowrap;cursor:pointer;min-height:32px}
.atmosphere-toggle::before{content:'';display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:linear-gradient(135deg,#f6bf58,#d85378,#8caaf9)}
.atmosphere-toggle[data-active=true]{border-color:#d7c8fa;background:#ffffff12;box-shadow:0 0 18px #a68dfe22}
.atmosphere-toggle:focus-visible{outline:2px solid #fff;outline-offset:3px}
.atmosphere-dialog{color:#f9efd9;background:#17271f;border:1px solid #bcb191;padding:38px;width:min(650px,calc(100% - 30px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 30px 100px #0009}
.atmosphere-dialog::backdrop{background:#08100dd9;backdrop-filter:blur(5px)}
.atmosphere-dialog h2{font:600 clamp(35px,6vw,54px)/1 var(--heading);margin:14px 0 18px;color:#fff0cd}
.atmosphere-dialog p{line-height:1.65}.atmosphere-dialog a{color:#f8d784}.atmosphere-dialog .eyebrow{color:#e0cd9e}
.atmosphere-close{position:absolute;right:12px;top:8px;background:none;border:0;color:inherit;font:30px var(--body);cursor:pointer;width:40px;height:40px}
.atmosphere-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.atmosphere-options button{display:flex;flex-direction:column;gap:8px;align-items:start;text-align:left;cursor:pointer;border:1px solid #99967d;background:#233c30;color:#fff3db;padding:20px;min-height:105px;border-radius:4px}
.atmosphere-options strong{font:600 26px/1.1 var(--heading)}.atmosphere-options span{font:11px/1.5 var(--mono)}
.atmosphere-options button[aria-pressed=true]{outline:2px solid #ffde8a;outline-offset:3px}.atmosphere-options button:focus-visible{outline:3px solid white;outline-offset:3px}
.atmosphere-options .atmosphere-sample-prism{background:linear-gradient(155deg,#090e23 65%,#d9497a 66%,#e5af55 69%,#76bda2 72%,#5098d7 75%,#62439b 79%,#15142e 80%)}
.atmosphere-options .atmosphere-sample-dead{background:radial-gradient(ellipse at 95% 95%,#eab248 0 9%,#b3335d 10% 24%,#344e92 25% 39%,#4a183e 40%)}
.atmosphere-preview-label{margin-top:30px}.atmosphere-status{padding:12px 15px;border-left:2px solid #eac573;background:#ffffff08;font-size:13px}.atmosphere-footnote{font-size:12px;opacity:.8}
/* Scope every treatment to a root attribute. Removing it restores the original site. */
:root[data-trail-atmosphere=prism]{--atmo-base:#090d19;--atmo-panel:#141a2a;--atmo-panel2:#1b2134;--atmo-ink:#f0eee9;--atmo-soft:#c2c7da;--atmo-line:#555b75;--atmo-accent:#bdb2ff;--atmo-deep:#080d1c;--atmo-gradient:linear-gradient(100deg,#e27994,#e8b96f,#94c5ab,#84b9de,#b8a5e7);--atmo-art:url('assets/encounter-moon12.webp')}
:root[data-trail-atmosphere=dead]{--atmo-base:#26132b;--atmo-panel:#391b3b;--atmo-panel2:#47243f;--atmo-ink:#fff0cf;--atmo-soft:#edcfce;--atmo-line:#aa6e8b;--atmo-accent:#ffcc73;--atmo-deep:#1e1433;--atmo-gradient:linear-gradient(100deg,#df5366,#f6b950,#d999dc,#6baff2,#e75a86);--atmo-art:url('assets/rose20.webp')}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]){--paper:var(--atmo-base);--ink:var(--atmo-ink);--pine:var(--atmo-ink);--deep:var(--atmo-deep);--muted:var(--atmo-soft);--line:var(--atmo-line);--header-ink:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) body{color:var(--atmo-ink);background:var(--atmo-base);background-image:radial-gradient(ellipse at 0 20%,#9789e510,transparent 60%)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.station-rail,.header,.footer,.station-records){background:var(--atmo-deep);color:var(--atmo-ink);border-color:var(--atmo-line)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .header{box-shadow:0 3px 0 var(--atmo-accent),0 8px 40px #0008}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .header::before{background:var(--atmo-gradient);opacity:.09;background-size:200% 100%;animation:atmo-wavelength 35s ease-in-out infinite alternate}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.header-listen,.header-listen:hover){background:var(--atmo-accent);color:var(--atmo-deep);border-color:var(--atmo-accent)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero{background:var(--atmo-base);isolation:isolate;overflow:hidden}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero-landscape{opacity:.3;filter:saturate(.5) brightness(.65)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 74% 30%,#7762ca44,transparent 60%)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero::after{content:'';position:absolute;z-index:0;pointer-events:none;right:4%;top:8%;width:clamp(180px,34vw,470px);aspect-ratio:1;background:var(--atmo-art) center/contain no-repeat;opacity:.8;filter:drop-shadow(0 0 42px #bdc6ff25);animation:atmo-orbit 70s ease-in-out infinite alternate}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero-inner{position:relative;z-index:1}
:root[data-trail-atmosphere=prism] .hero-inner::before{content:'';position:absolute;z-index:-1;left:-25vw;top:43%;width:150vw;height:120px;transform:rotate(-13deg);opacity:.65;pointer-events:none;background:linear-gradient(to bottom,#dc6277 0 15%,#d99460 15% 31%,#e1ce75 31% 47%,#71c0a2 47% 63%,#559ed7 63% 79%,#8767c0 79% 96%,transparent 96%);filter:blur(1px);clip-path:polygon(0 49%,46% 47%,100% 0,100% 100%,46% 53%,0 51%);animation:atmo-spectrum 24s ease-in-out infinite alternate}
:root[data-trail-atmosphere=prism] .welcome-sign{background:#111827ef;color:#eee9d9;border-color:#b9b5d3;box-shadow:9px 11px 0 #050811,0 0 60px #767bba20}
:root[data-trail-atmosphere=prism] .welcome-sign :is(h1,p,strong){color:#f5ecd5}
:root[data-trail-atmosphere=prism] .welcome-sign::after{border-color:#9596b966}
:root[data-trail-atmosphere=dead] .hero::before{background:repeating-radial-gradient(ellipse at 80% 55%,#311934 0 28px,#483061 30px 47px,#295b7a 49px 57px,#d16b83 59px 65px,#e1a75a 67px 71px,#311934 73px 120px);opacity:.65}
:root[data-trail-atmosphere=dead] .hero::after{right:-3%;top:3%;width:clamp(250px,42vw,600px);opacity:.85;filter:drop-shadow(0 5px 12px #0006);transform:rotate(14deg)}
:root[data-trail-atmosphere=dead] .welcome-sign{background:#392040f5;border-color:#e6a25d;box-shadow:8px 8px 0 #d95e73,15px 15px 0 #364d8a,21px 21px 0 #e2a956;color:#fff0cf}
:root[data-trail-atmosphere=dead] .welcome-sign :is(h1,p,strong){color:#fff0cf}
/* The atmosphere continues through the full page, not just the masthead. */
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-section,.broadcast-basecamp,.programs,.guides,.field-notes,.listener-desk,.station-story,.community,.outro,.creed){background-color:var(--atmo-base);color:var(--atmo-ink);border-color:var(--atmo-line)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-log,.lineup-card,.schedule-paper,.specialty-card,.desk-card){background-color:var(--atmo-panel);background-image:none;color:var(--atmo-ink);border-color:var(--atmo-line);box-shadow:5px 7px 0 #0003}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-section,.broadcast-basecamp,.listener-desk,.programs) :is(h1,h2,h3,h4,p,li,dt,dd,th,td,label,.eyebrow,.muted){color:inherit}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-section,.broadcast-basecamp,.listener-desk,.programs) a:not(.btn):not(.button):not(.sign-button){color:var(--atmo-accent)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-section,.broadcast-basecamp) :is(input,textarea,select){background:var(--atmo-panel2);color:var(--atmo-ink);border-color:var(--atmo-line)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.broadcast-sign,.roaming-band,.creed,.outro-sign){background:var(--atmo-deep);color:var(--atmo-ink);border-color:var(--atmo-accent)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .lineup-card:first-child{border-left:4px solid var(--atmo-accent);background:var(--atmo-panel2)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .footer{border-top:4px solid var(--atmo-accent)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-bar{background:var(--atmo-deep);color:var(--atmo-ink);border-top:2px solid var(--atmo-accent);box-shadow:0 -8px 36px #0007}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-bar :is(.listen-now,.listen-track,.now-playing,.bar-song,.live-track){background:transparent;color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-bar::before{content:'';position:absolute;left:0;right:0;top:-3px;height:3px;background:var(--atmo-gradient);background-size:200% 100%;animation:atmo-wavelength 22s linear infinite alternate;pointer-events:none}
:root[data-trail-atmosphere=dead] :is(.schedule-board,.music-log){border:1px solid #c48583;outline:3px solid #725498;outline-offset:4px}
:root[data-trail-atmosphere=dead] .footer{background-image:linear-gradient(90deg,#26132be8,#26132bfa),url('assets/rose20.webp');background-size:cover,280px;background-position:center,left bottom;background-repeat:no-repeat}
@keyframes atmo-wavelength{to{background-position:100% 50%}}
@keyframes atmo-spectrum{to{opacity:.85;filter:blur(2px);transform:rotate(-9deg) translateY(12px)}}
@keyframes atmo-orbit{to{transform:translate(-12px,16px) rotate(5deg)}}
@media(max-width:1100px){.rail-owner{display:none}.atmosphere-toggle{font-size:9px;padding:7px 9px}.rail-right{gap:10px}}
@media(max-width:1000px){:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .main-nav{background:var(--atmo-deep)}:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .menu-toggle{color:var(--atmo-ink);border-color:var(--atmo-line)}}
@media(max-width:760px){.rail-right{flex-wrap:wrap;gap:5px}.atmosphere-toggle{order:3;margin-left:auto}.station-rail>.wrap{padding-bottom:6px}.atmosphere-dialog{padding:30px 20px}.atmosphere-options{gap:9px}.atmosphere-options button{padding:15px}.atmosphere-options strong{font-size:23px}:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero::after{width:240px;right:-30px;top:22%;opacity:.6}}
.motion-paused :is(.hero::after,.hero-inner::before,.listen-bar::before,.header::before){animation:none!important}
@media(prefers-reduced-motion:reduce){:is(.hero::after,.hero-inner::before,.listen-bar::before,.header::before){animation:none!important}}
/* Preserve ink on original paper cards; night surfaces get explicit light ink. */
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]){--ink:#183b32;--pine:#173e35;--muted:#55675a;--paper:#fff9e9}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) body{color:#183b32}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-section,.broadcast-basecamp,.programs,.listener-desk,.station-story,.community,.creed){background:var(--atmo-base);color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.music-heading h2,.music-heading h2 span,.broadcast-lineup,.lineup-heading,.lineup-heading p,.lineup-heading a,.lineup-card,.lineup-card h3,.lineup-card p,.lineup-card time,.schedule-heading,.section-heading,.section-heading h2,.section-heading p){color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .hero::after{left:auto;bottom:auto}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.specialty-trail,.people-section,.gift-feature,.field-notes,.listening-post,.trail-partners,.trail-detour){background:linear-gradient(120deg,#e8dceeef,#f5ead8ee),url('assets/ricepaper.webp');color:#302b3f;border-color:var(--atmo-line)}
:root[data-trail-atmosphere=prism] :is(.specialty-trail,.people-section,.gift-feature,.field-notes,.listening-post,.trail-partners,.trail-detour){background:linear-gradient(120deg,#d9dfeced,#eeece5ed),url('assets/ricepaper.webp');color:#202c41}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .guides{background:transparent;color:#302b3f}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.specialty-trail,.people-section,.gift-feature,.field-notes,.listening-post,.trail-partners,.trail-detour) .section-heading{color:#302b3f}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.specialty-trail,.people-section,.gift-feature,.field-notes,.listening-post,.trail-partners,.trail-detour) .section-heading :is(h2,p){color:inherit}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .specialty-card{color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .specialty-card :is(h3,p,span,strong){color:inherit}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-bar :is(.radio-track,.history-button,.track-label){color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-brand{background:var(--atmo-panel2);color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-bar .live-toggle{background:var(--atmo-accent);color:var(--atmo-deep);border-color:var(--atmo-accent)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .giveaway-runner{background:var(--atmo-panel2);color:var(--atmo-ink);border-bottom:1px solid var(--atmo-line)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(.community) :is(.paper-panel,.program-copy,.contact-card,.newshow19-hero-copy,.newshow19-archive-card,.newshow19-section-head,.newshow19-packing-list,.newshow19-notice){color:#183b32}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .content-main{background:#eeece5;color:#183b32;padding-inline:clamp(20px,3vw,48px);border-inline:1px solid var(--atmo-line)}
:root[data-trail-atmosphere=dead] .content-main{background:#f4e4dc}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) :is(#track-title,.music-section h2 em,.music-section .b-side-button){color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .listen-bar .listen-brand{background:var(--atmo-panel2)!important;color:var(--atmo-ink)!important}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .broadcast-sign{background:var(--atmo-panel)!important}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .lineup-card#on-now{background:var(--atmo-panel2);color:var(--atmo-ink);border-color:var(--atmo-accent)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .lineup-card#up-next{background:#d3cee5;color:#242535;border-color:#b3adc8}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .lineup-card :is(strong,.slot-time,.slot-label,.slot-host){color:inherit!important}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .header{transition:none}
:root[data-trail-atmosphere=dead] .hero::after{animation:atmo-rose-sway 45s ease-in-out infinite alternate}
@keyframes atmo-rose-sway{from{transform:rotate(9deg) translateY(0)}to{transform:rotate(12deg) translateY(8px)}}
:root[data-trail-atmosphere=dead] .music-section{background:radial-gradient(ellipse at 100% 0,#672c5744,transparent 50%),var(--atmo-base)}
:root[data-trail-atmosphere=prism] .music-section{background:radial-gradient(ellipse at 0 50%,#454f8c20,transparent 65%),var(--atmo-base)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .schedule-paper :is(small,span,p,strong){color:var(--atmo-ink)}
:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .programs .poster-vinyl,:root:is([data-trail-atmosphere=prism],[data-trail-atmosphere=dead]) .programs .poster-vinyl :is(h3,p,span,strong){color:#173e35}
:root[data-trail-atmosphere=dead] .hero::after{z-index:2;width:clamp(150px,18vw,250px);height:350px;right:2%;top:1%;opacity:1}
@media(max-width:760px){:root[data-trail-atmosphere=dead] .hero::after{z-index:0;top:44%;right:-30px;width:230px;height:340px}}

.atmosphere-visitors{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.atmosphere-visitors button{color:#fff0cd;background:#ffffff0a;border:1px solid #bcb191;padding:10px 14px;min-height:44px;border-radius:22px;cursor:pointer;font:14px var(--body)}.atmosphere-visitors button:hover{background:#ffffff18}.atmosphere-visitors button:focus-visible{outline:2px solid #ffde8a;outline-offset:3px}
