/* Version seven, round four (Matt's notes, 29 Nov 2026 evening). Loaded last. */

/* The planet fills the screen for a beat, above everything but the header, then pulls back. */
.v7-planet.over{z-index:39;filter:none}

/* Sessions: only the set in front plays. The rest show a soft grey title, never their picture.
   The front set warms up like a tube: the grey title sharpens to white as the picture comes in. */
.tv.off.seen .tv-content>*:not(.cover-title){opacity:0}
.tv.off .tv-content .cover-title,.tv.off.seen .tv-content .cover-title{opacity:.42;color:#b9c6dd;text-shadow:0 0 16px #8fb4ff66;filter:blur(1.1px)}
.tv.off.seen .tv-screen{background:radial-gradient(ellipse 80% 70% at 50% 45%,#0e1a3c,#03060f 85%)}
.tv-content>*,.tv .tv-content .cover-title{transition:opacity 1s ease-out,color 1s ease-out,text-shadow 1s ease-out,filter 1s ease-out}
.tv.on .tv-content .cover-title{filter:none}
.tv.power .tv-content{animation:v7-warm 1.1s ease-out both}
@keyframes v7-warm{0%{filter:brightness(.45) contrast(.8) saturate(.2)}30%{filter:brightness(1.7) contrast(1.1) saturate(.7)}100%{filter:none}}
.tv.power .tv-scan:after{content:'';position:absolute;left:0;right:0;top:-20%;height:20%;background:linear-gradient(#ffffff00,#ffffff26,#ffffff00);animation:v7-sweep 1.1s ease-out both}
@keyframes v7-sweep{0%{top:-20%;opacity:1}100%{top:105%;opacity:0}}
@media(prefers-reduced-motion:reduce){.tv.power .tv-scan:after{display:none}}
@media(prefers-reduced-motion:reduce){.tv.power .tv-content{animation:none}}
.motion-paused .tv.power .tv-content{animation:none}

/* Hire and train: every step says what it means, and the list fills the scene. */
@media(min-width:861px){
 .belief-steps{gap:clamp(4px,1.2vh,14px)}
 .belief-steps li{padding:clamp(12px,1.8vh,20px) 0}
 .belief-steps p{max-height:120px!important;margin-top:8px!important}
}
/* A horizon closes the scene, the same way one opened it. */
.belief-run:before{content:'';position:absolute;left:-10%;right:-10%;bottom:0;height:clamp(120px,16vw,240px);z-index:0;pointer-events:none;
 background:radial-gradient(ellipse 50% 100% at 50% 100%,#5d8cff30 0%,#5d8cff0f 45%,transparent 70%)}
.belief-run:after{content:'';position:absolute;left:8%;right:8%;bottom:0;height:2px;z-index:3;pointer-events:none;border-radius:2px;
 background:linear-gradient(90deg,transparent,#a9c8ff66 20%,#ffe6b8 50%,#a9c8ff66 80%,transparent);box-shadow:0 0 24px 4px #5d8cff55}

/* The curve: three plain steps out from the middle. */
.ride-mark.tier{opacity:.35;transition:opacity .4s}
.ride-mark.tier.passed{opacity:1}
.ride-mark.tier.passed b{color:var(--v6-dawn)}
.ride-mark.tier i{top:-6px;height:260px}
@media(max-width:700px){.ride-mark.t1{display:none}.ride-mark.tier span{left:auto;right:10px;text-align:right}}

/* Contact: the old paper plane retires; a little rocket plane wanders the open space. */
.contact-craft{display:none!important}
.rk-trail{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.v7-rocket{position:absolute;left:0;top:0;width:0;height:0;z-index:1;pointer-events:none;will-change:transform;--thrust:.8}
.v7-rocket img{position:absolute;left:-72px;top:-26.1px;width:100px;height:auto;transform-origin:72% 31%;rotate:43deg;filter:drop-shadow(0 8px 14px #0a143088)}
.rk-flame{position:absolute;z-index:1;right:27px;top:-7px;width:50px;height:14px;transform-origin:100% 50%;transform:scaleX(var(--thrust));border-radius:60% 40% 40% 60%/50%;
 background:radial-gradient(ellipse 100% 50% at 100% 50%,#fff 0,#fff3d6 18%,#ffcf8a 40%,#ff9a4a 62%,#ff7a3d00 100%);filter:blur(.4px) drop-shadow(0 0 8px #ffb347);animation:rk-flicker .09s steps(2) infinite alternate}
.rk-flame:after{content:'';position:absolute;right:-8px;top:-10px;width:40px;height:34px;border-radius:50%;background:radial-gradient(circle at 80% 50%,#ffcf8a88,#5d8cff33 50%,transparent 70%)}
@keyframes rk-flicker{0%{scale:1 1;opacity:.95}100%{scale:.86 1.18;opacity:.8}}
.v7-rocket.rest .rk-flame{animation:none;opacity:.6}
@media(max-width:860px){.v7-rocket img{left:-46.8px;top:-17px;width:65px}.rk-flame{right:16px;width:32px;height:10px;top:-5px}}
@media(prefers-reduced-motion:reduce){.rk-flame{animation:none}}
