/* RoboKanka rocket library: per-vehicle geometry, ground equipment and exhaust. */

.home-light .historical-scene {
    --metal: linear-gradient(90deg, #959ca5, #dee2e5 19%, #fff 38%, #e7eaed 63%, #99a1ac);
    --white: linear-gradient(90deg, #a6aeb8, #e8ebee 18%, #fff 37%, #eff1f3 65%, #aab2bc);
    --orange: linear-gradient(90deg, #8e4a27, #bd6c36 20%, #de9556 42%, #c67c3f 70%, #975026);
    --tower: #9aa6b6;
    --tower-dark: #354254;
    --flight-rise: 78px;
    --craft-scale: 1;
    position: relative;
    min-height: 480px;
    isolation: isolate;
}
.home-light .historical-scene *,
.home-light .historical-scene *::before,
.home-light .historical-scene *::after { box-sizing: border-box; }
.home-light .historical-scene b {
    margin: 0;
    color: #202735;
    font: 700 5px/1.2 Arial, sans-serif;
    letter-spacing: .6px;
}
.home-light .historical-scene i { display: block; font-style: normal; }
.home-light .historical-scene--apollo { --tower: #b37159; --tower-dark: #633d38; }
.home-light .historical-scene--artemis { --tower: #b6b9bd; --tower-dark: #575863; }
.home-light .historical-scene--galileo { --tower: #b4b9c1; --tower-dark: #576577; }

/* Ground equipment stays on the ground. Arms retract on launch. */
.home-light .hr-gantry {
    position: absolute; left: calc(50% - 95px); bottom: 44px;
    width: 98px; height: 322px; z-index: 1;
    opacity: .85; transition: opacity 1s ease;
}
.home-light .hr-tower {
    position: absolute; left: 3px; top: 0; bottom: 0; width: 31px;
    border: 2px solid var(--tower);
    background:
        repeating-linear-gradient(0deg, transparent 0 24px, var(--tower) 24px 26px),
        repeating-linear-gradient(53deg, transparent 0 21px, var(--tower) 22px 23px, transparent 24px 45px),
        repeating-linear-gradient(-53deg, transparent 0 21px, var(--tower) 22px 23px, transparent 24px 45px),
        var(--tower-dark);
    box-shadow: inset 5px 0 0 #ffffff16, 4px 2px 0 #12162a44;
}
.home-light .hr-tower::after {
    content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 7px;
    border-inline: 1px solid #dce3e5aa;
    background: repeating-linear-gradient(0deg, transparent 0 5px, #dce3e5aa 5px 6px);
}
.home-light .hr-crane {
    position: absolute; left: 0; top: -6px; width: 71px; height: 9px;
    border: 1px solid var(--tower);
    background: repeating-linear-gradient(120deg, transparent 0 8px, var(--tower) 8px 10px), var(--tower-dark);
}
.home-light .hr-crane::after {
    content: ""; position: absolute; right: 3px; top: 8px; width: 1px; height: 14px; background: var(--tower);
}
.home-light .hr-access {
    position: absolute; left: 32px; width: 50px; height: 9px;
    border-block: 2px solid var(--tower);
    background: repeating-linear-gradient(90deg, transparent 0 9px, var(--tower) 9px 10px), var(--tower-dark);
    transform-origin: left center; transition: transform .9s ease, opacity .9s ease;
}
.home-light .hr-access--upper { top: 60px; }
.home-light .hr-access--middle { top: 155px; width: 46px; }
.home-light .hr-access--lower { top: 249px; width: 45px; }
.home-light .historical-scene--apollo .hr-access--upper { top: 47px; width: 55px; }
.home-light .historical-scene--apollo .hr-access--middle { top: 109px; }
.home-light .historical-scene--artemis .hr-access--upper { top: 52px; width: 54px; }
.home-light .historical-scene--galileo .hr-access--upper { top: 125px; width: 60px; }
.home-light .historical-scene--galileo .hr-tower { width: 36px; }
.home-light .historical-scene--cassini .hr-access--upper { top: 83px; }
.home-light .historical-scene--new-horizons .hr-gantry { height: 288px; }
.home-light .historical-scene--new-horizons .hr-access--upper { top: 24px; }
.home-light .historical-scene--new-horizons .hr-access--lower { top: 232px; }

.home-light .hr-platform {
    position: absolute; z-index: 2; left: 50%; bottom: 30px; width: 191px; height: 20px;
    transform: translateX(-50%);
    border: 1px solid #bac4d08c; border-radius: 3px;
    background: repeating-linear-gradient(90deg, #394353 0 16px, #76808e 16px 18px);
    box-shadow: 0 7px 0 #15182c80, 0 16px 20px #17132944;
}
.home-light .hr-platform::before {
    content: ""; position: absolute; left: -6px; right: -6px; top: -5px; height: 5px;
    background: linear-gradient(#b8c0ca, #657183); border-radius: 2px;
}
.home-light .hr-platform span {
    position: absolute; top: 0; left: 50%; width: 60px; height: 19px;
    transform: translateX(-50%);
    background: #101321; border-inline: 4px solid #86909c;
}
.home-light .hr-flight {
    position: absolute; z-index: 3; left: 50%; bottom: 54px; width: 180px; height: 330px;
    transform: translateX(-50%) scale(var(--craft-scale)); transform-origin: bottom center;
}
.home-light .hr-lift, .home-light .hr-airframe { position: absolute; inset: 0; }
.home-light .hr-lift { transition: transform 1.7s cubic-bezier(.32,0,.18,1); }
.home-light .hr-airframe { filter: drop-shadow(3px 6px 5px #0e122b66); transform-origin: 50% 85%; }
.home-light .hr-airframe > span, .home-light .hr-airframe > div { position: absolute; }
.home-light .hr-flag {
    width: 8px; height: 5px;
    background: repeating-linear-gradient(#b43b33 0 .7px,#f4f1e8 .7px 1.4px);
}
.home-light .hr-flag::before { content: ""; display: block; width: 3.5px; height: 2.8px; background: #253d6b; }
.home-light .hr-feedline {
    position: absolute; top: 6px; bottom: 3px; right: 4px; width: 2px;
    border-radius: 1px; background: #b5b7b4; box-shadow: 1px 0 1px #2229;
}
.home-light .hr-insignia {
    position: absolute; left: 50%; transform: translateX(-50%);
    color: #173052; font: 700 4px/1 Arial,sans-serif; letter-spacing: .2px;
}

/* 3 · Apollo 11 / Saturn V: 10 m first and second stages, narrower S-IVB,
 * spacecraft adapter, service module, command module and escape tower. */
.home-light .hr-saturn-les {
    left: 88px; top: 0; width: 4px; height: 27px; z-index: 5;
    background: linear-gradient(90deg,#aab0b6,#fff,#89929d); border-radius: 50% 50% 0 0;
}
.home-light .hr-saturn-les::after {
    content: ""; position: absolute; left: -3px; top: 24px; width: 10px; height: 13px;
    background: repeating-linear-gradient(65deg, transparent 0 4px, #c5cbd0 4px 5px);
    border-inline: 1px solid #e8ecef; clip-path: polygon(20% 0,80% 0,100% 100%,0 100%);
}
.home-light .hr-saturn-command { left: 84px; top: 34px; width: 12px; height: 11px; background: var(--metal); clip-path: polygon(50% 0,100% 100%,0 100%); }
.home-light .hr-saturn-service { left: 84px; top: 45px; width: 12px; height: 16px; background: var(--metal); border-block: 1px solid #575d66; }
.home-light .hr-saturn-adapter { left: 80px; top: 61px; width: 20px; height: 23px; background: var(--white); clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); }
.home-light .hr-saturn-third {
    left: 80px; top: 84px; width: 20px; height: 36px; background: linear-gradient(#151820 0 4px,transparent 4px),var(--white); border-bottom: 1px solid #59616d;
}
.home-light .hr-saturn-third b { position: absolute; top: 14px; left: 6px; writing-mode: vertical-rl; font-size: 4px; }
.home-light .hr-saturn-transition {
    left: 75px; top: 120px; width: 30px; height: 15px;
    background: linear-gradient(90deg,#191d25 0 28%,#eef1f3 28% 65%,#191d25 65%);
    clip-path: polygon(17% 0,83% 0,100% 100%,0 100%);
}
.home-light .hr-saturn-second {
    left: 75px; top: 135px; width: 30px; height: 67px;
    background: linear-gradient(0deg,#11151b 0 7px,transparent 7px),var(--white);
    border-bottom: 2px solid #a4aab2;
}
.home-light .hr-saturn-second::before {
    content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 7px;
    background: repeating-linear-gradient(90deg,#89919a55 0 1px,transparent 1px 2px);
}
.home-light .hr-saturn-first {
    left: 75px; top: 202px; width: 30px; height: 114px;
    background: linear-gradient(90deg,#272b33 0 24%,transparent 24% 70%,#272b33 70%) bottom/100% 28px no-repeat,
        linear-gradient(90deg,#15191f 0 24%,transparent 24% 70%,#15191f 70%) top/100% 22px no-repeat,var(--white);
    border-bottom: 3px solid #68717c;
}
.home-light .hr-saturn-first b { position: absolute; top: 34px; left: 12px; writing-mode: vertical-rl; font-size: 4px; letter-spacing: .4px; color: #a3332d; }
.home-light .hr-saturn-first .hr-flag { position: absolute; top: 26px; left: 11px; }
.home-light .hr-saturn-first::after {
    content: ""; position: absolute; top: 7px; right: 2px; bottom: 4px; width: 2px; background: #dce1e5bb; border-right: 1px solid #5c647777;
}
.home-light .hr-saturn-fin { top: 293px; width: 10px; height: 23px; background: linear-gradient(90deg,#737c87,#e3e7ea); }
.home-light .hr-saturn-fin--left { left: 65px; clip-path: polygon(100% 0,100% 100%,0 100%); }
.home-light .hr-saturn-fin--right { right: 65px; clip-path: polygon(0 0,100% 100%,0 100%); }

/* 4 · Artemis I / SLS Block 1: slender Orion tower, tapered LVSA,
 * orange core and segmented boosters beginning well below the upper stage. */
.home-light .hr-sls-les { left: 88px; top: 0; width: 4px; height: 32px; background: var(--white); border-radius: 50% 50% 0 0; }
.home-light .hr-sls-les::after { content: ""; position: absolute; left: -2px; top: 20px; width: 8px; height: 3px; background: #c7cdd4; }
.home-light .hr-sls-orion { left: 81px; top: 30px; width: 18px; height: 41px; background: var(--white); clip-path: polygon(50% 0,66% 28%,100% 58%,100% 100%,0 100%,0 58%,34% 28%); }
.home-light .hr-sls-orion b { position: absolute; left: 4px; top: 28px; font-size: 3px; color: #2e4a6b; }
.home-light .hr-sls-upper { left: 81px; top: 71px; width: 18px; height: 22px; background: repeating-linear-gradient(0deg,transparent 0 7px,#858e9755 7px 8px),var(--white); }
.home-light .hr-sls-adapter { left: 75px; top: 93px; width: 30px; height: 35px; background: var(--orange); clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); }
.home-light .hr-sls-adapter::after { content: ""; position: absolute; bottom: 5px; left: 17px; width: 4px; height: 4px; border-radius: 50%; background: #442a21; border: 1px solid #ecba81; }
.home-light .hr-sls-core {
    left: 75px; top: 128px; width: 30px; height: 188px;
    background: linear-gradient(0deg,#deded4 0 7px,transparent 7px),
        repeating-linear-gradient(0deg,transparent 0 31px,#f3b97c22 31px 32px),var(--orange);
    border-top: 3px solid #e0a069;
}
.home-light .hr-sls-core .hr-feedline { right: 13px; background: #b69a76; width: 1px; }
.home-light .hr-sls-core .hr-flag { position: absolute; top: 37px; left: 8px; }
.home-light .hr-sls-core b { position: absolute; top: 49px; left: 10px; color: #f5e9db; writing-mode: vertical-rl; }
.home-light .hr-solid {
    z-index: 3; width: 18px; height: 173px; top: 143px;
    background: repeating-linear-gradient(0deg,transparent 0 33px,#5b626b88 33px 34px, #fff 34px 35px),var(--white);
    border-bottom: 5px solid #cbd0d3;
}
.home-light .hr-solid::before {
    content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 23px;
    background: var(--white); clip-path: polygon(50% 0,64% 11%,100% 100%,0 100%,36% 11%);
}
.home-light .hr-solid::after {
    content: ""; position: absolute; left: 50%; top: 20px; bottom: 12px; width: 2px;
    background: repeating-linear-gradient(#283140 0 17px,transparent 17px 32px);
}
.home-light .hr-airframe--artemis .hr-solid { width: 14px; height: 155px; top: 161px; }
.home-light .hr-airframe--artemis .hr-solid--left { left: 58px; }
.home-light .hr-airframe--artemis .hr-solid--right { right: 58px; }

/* 5 & 9 · Titan IIIE/Centaur: cylindrical Centaur Standard Shroud,
 * narrow metal core and two UA1207 segmented solid motors. */
.home-light .hr-titan-fairing {
    left: 72px; top: 3px; width: 36px; height: 94px; z-index: 4;
    border-radius: 50% 50% 2px 2px / 29% 29% 2px 2px;
    background: linear-gradient(#e0dfd7 0 20px,transparent 20px),
        repeating-linear-gradient(0deg,transparent 0 17px,#343c4944 17px 18px),var(--metal);
    box-shadow: inset -3px 0 4px #333c4944;
}
.home-light .hr-titan-fairing .hr-insignia { top: 50px; font-size: 4px; }
.home-light .hr-titan-fairing::after { content: ""; position: absolute; left: 7px; right: 7px; top: 28px; bottom: 8px; border-inline: 1px solid #53627366; }
.home-light .hr-titan-shoulder { left: 72px; top: 97px; width: 36px; height: 12px; background: var(--white); clip-path: polygon(0 0,100% 0,83% 100%,17% 100%); }
.home-light .hr-titan-core {
    left: 78px; top: 109px; width: 24px; height: 207px; z-index: 2;
    background: linear-gradient(0deg, #b88d58 0 17px,transparent 17px 132px,#343942 132px 146px,transparent 146px 155px,#ad8658 155px 171px,transparent 171px),var(--metal);
}
.home-light .hr-titan-core b { position: absolute; top: 87px; left: 7px; writing-mode: vertical-rl; font-size: 4px; }
.home-light .hr-airframe--viking .hr-solid,
.home-light .hr-airframe--voyager .hr-solid { width: 22px; top: 157px; height: 159px; }
.home-light .hr-airframe--viking .hr-solid--left,
.home-light .hr-airframe--voyager .hr-solid--left { left: 52px; }
.home-light .hr-airframe--viking .hr-solid--right,
.home-light .hr-airframe--voyager .hr-solid--right { right: 52px; }
.home-light .hr-airframe--viking .hr-solid::after,
.home-light .hr-airframe--voyager .hr-solid::after { background: #c6c9caaa; width: 1px; }
.home-light .hr-airframe--viking .hr-titan-fairing {
    background: linear-gradient(#e2dfcd 0 20px,transparent 20px),
        repeating-linear-gradient(0deg,transparent 0 17px,#9da8b366 17px 18px),
        linear-gradient(90deg,#485764,#8494a4 30%,#aab5b9 48%,#667783 73%,#344452);
}
.home-light .hr-airframe--viking .hr-titan-fairing .hr-insignia { color: #ede2b8; }

/* 7 · Cassini / Titan IVB: stretched white payload shroud, slender core,
 * three-segment SRMUs. The actual boosters are light-coloured, not bronze. */
.home-light .hr-airframe--cassini .hr-titan-fairing {
    left: 68px; top: 0; width: 44px; height: 110px;
    border-radius: 50% 50% 2px 2px / 32% 32% 2px 2px;
    background: repeating-linear-gradient(0deg,transparent 0 27px,#929ba633 27px 28px),var(--white);
}
.home-light .hr-airframe--cassini .hr-titan-fairing::after { top: 35px; border-color: #949daa44; }
.home-light .hr-airframe--cassini .hr-insignia { top: 67px; font-size: 4px; letter-spacing: .5px; }
.home-light .hr-airframe--cassini .hr-titan-shoulder { left: 68px; top: 110px; width: 44px; height: 12px; clip-path: polygon(0 0,100% 0,79% 100%,21% 100%); }
.home-light .hr-airframe--cassini .hr-titan-core { left: 77px; width: 26px; top: 122px; height: 194px; }
.home-light .hr-airframe--cassini .hr-solid {
    top: 159px; height: 157px; width: 27px;
    background: repeating-linear-gradient(0deg,transparent 0 51px,#626e7999 51px 52px,#fff 52px 54px),var(--white);
}
.home-light .hr-airframe--cassini .hr-solid--left { left: 47px; }
.home-light .hr-airframe--cassini .hr-solid--right { right: 47px; }
.home-light .hr-airframe--cassini .hr-solid::before { top: -27px; height: 28px; }
.home-light .hr-airframe--cassini .hr-solid::after { width: 1px; background: #d9dee0; }

/* 6 · STS-34 Atlantis: external tank behind the orbiter, two SRBs,
 * double-delta wings, thermal protection, cockpit and split payload doors. */
.home-light .hr-shuttle-tank {
    left: 67px; top: 11px; width: 46px; height: 297px; z-index: 1;
    border-radius: 50% 50% 20% 20% / 15% 15% 5% 5%;
    background: linear-gradient(0deg,transparent 0 182px,#83421f 182px 187px,transparent 187px),var(--orange);
    box-shadow: inset -3px 0 5px #2b160e44;
}
.home-light .hr-shuttle-tank i { position: absolute; right: 5px; top: 70px; bottom: 10px; width: 2px; background: #f0bc7b77; }
.home-light .hr-airframe--galileo .hr-solid { top: 61px; height: 255px; width: 20px; z-index: 2; }
.home-light .hr-airframe--galileo .hr-solid--left { left: 43px; }
.home-light .hr-airframe--galileo .hr-solid--right { right: 43px; }
.home-light .hr-airframe--galileo .hr-solid::before { top: -26px; height: 27px; }
.home-light .hr-orbiter { left: 32px; top: 88px; width: 116px; height: 226px; z-index: 6; filter: drop-shadow(2px 3px 2px #171922aa); }
.home-light .hr-orbiter > span { position: absolute; }
.home-light .hr-orbiter-outline, .home-light .hr-orbiter-skin {
    inset: 0;
    clip-path: polygon(50% 0,56% 3%,63% 15%,64% 47%,76% 62%,81% 71%,100% 85%,100% 91%,65% 87%,64% 97%,58% 100%,42% 100%,36% 97%,35% 87%,0 91%,0 85%,19% 71%,24% 62%,36% 47%,37% 15%,44% 3%);
}
.home-light .hr-orbiter-outline {
    background: repeating-linear-gradient(0deg,transparent 0 3px,#60666c44 3px 4px),#202733;
}
.home-light .hr-orbiter-skin {
    inset: 2px 3px 5px;
    background: linear-gradient(90deg,#b1bac3,#edf1f4 36%,#fff 51%,#d8dfe5 70%,#a1abb7);
}
.home-light .hr-orbiter-nose { left: 45px; top: 0; width: 26px; height: 25px; background: #27303b; clip-path: polygon(50% 0,73% 19%,100% 100%,0 100%,27% 19%); border-radius: 50% 50% 15% 15%; }
.home-light .hr-cockpit { left: 43px; top: 31px; width: 30px; height: 10px; display: flex; gap: 1px; transform: perspective(25px) rotateX(15deg); }
.home-light .hr-cockpit i { flex: 1; background: linear-gradient(#101e30,#456278); border: .5px solid #192735; }
.home-light .hr-cockpit i:first-child { clip-path: polygon(50% 0,100% 0,100% 100%,0 75%); }
.home-light .hr-cockpit i:last-child { clip-path: polygon(0 0,50% 0,100% 75%,0 100%); }
.home-light .hr-payload-doors {
    left: 42px; top: 59px; width: 32px; height: 113px;
    border: 1px solid #8b97a577; border-radius: 9px 9px 0 0;
    background: linear-gradient(90deg,transparent 48%,#8390a188 49% 51%,transparent 52%),
        repeating-linear-gradient(0deg,transparent 0 18px,#8793a333 18px 19px);
}
.home-light .hr-oms { top: 168px; width: 14px; height: 40px; border-radius: 50% 50% 4px 4px; border-bottom: 7px solid #303947; background: var(--white); }
.home-light .hr-oms--left { left: 33px; transform: rotate(5deg); }
.home-light .hr-oms--right { right: 33px; transform: rotate(-5deg); }
.home-light .hr-shuttle-tail { left: 54px; top: 179px; width: 8px; height: 42px; background: linear-gradient(90deg,#fff,#6b7887); clip-path: polygon(50% 0,100% 70%,100% 100%,0 100%,0 70%); border-bottom: 4px solid #27303b; }
.home-light .hr-orbiter .hr-shuttle-name { position: absolute; left: 52px; top: 44px; font-size: 3px; letter-spacing: 0; }
.home-light .hr-orbiter .hr-shuttle-usa { position: absolute; right: 10px; top: 186px; font-size: 5px; letter-spacing: 1px; transform: rotate(8deg); }

/* 8 · New Horizons / Atlas V 551: long 5 m fairing, copper CCB,
 * five separate strap-on boosters arranged around the core (projected view). */
.home-light .hr-atlas-fairing {
    left: 72px; top: 1px; width: 36px; height: 117px; z-index: 5;
    border-radius: 50% 50% 1px 1px / 22% 22% 1px 1px;
    background: repeating-linear-gradient(0deg,transparent 0 29px,#939da622 29px 30px),var(--white);
}
.home-light .hr-atlas-fairing b { position: absolute; top: 46px; left: 5px; right: 5px; text-align: center; font-size: 4px; letter-spacing: .2px; }
.home-light .hr-atlas-fairing .hr-insignia { top: 75px; width: 9px; height: 9px; border-radius: 50%; padding-top: 3px; text-align: center; background: #244a7c; color: white; font-size: 2.4px; letter-spacing: 0; }
.home-light .hr-atlas-shoulder { left: 72px; top: 118px; width: 36px; height: 10px; background: var(--metal); clip-path: polygon(0 0,100% 0,87% 100%,13% 100%); }
.home-light .hr-atlas-core {
    left: 76px; top: 128px; width: 28px; height: 188px; z-index: 2;
    background: linear-gradient(0deg,#b7bbc0 0 9px,transparent 9px 165px,#9ea7ad 165px 170px,transparent 170px),
        repeating-linear-gradient(0deg,transparent 0 27px,#efbf9055 27px 28px),
        linear-gradient(90deg,#77563e,#b48b64 24%,#d1ad82 47%,#a07855 73%,#73513a);
}
.home-light .hr-atlas-core b { position: absolute; left: 10px; top: 13px; writing-mode: vertical-rl; font-size: 4px; color: #252a30; }
.home-light .hr-atlas-booster {
    top: 219px; width: 13px; height: 97px; z-index: 3;
    border-radius: 50% 50% 2px 2px / 15% 15% 2px 2px;
    background: linear-gradient(0deg,#69727c 0 5px,transparent 5px),var(--white);
    border-right: 1px solid #7e8993;
}
.home-light .hr-atlas-booster--1 { left: 57px; top: 211px; height: 105px; z-index: 1; }
.home-light .hr-atlas-booster--2 { left: 66px; top: 207px; height: 109px; }
.home-light .hr-atlas-booster--3 { left: 83px; top: 218px; height: 98px; z-index: 4; }
.home-light .hr-atlas-booster--4 { left: 101px; top: 207px; height: 109px; }
.home-light .hr-atlas-booster--5 { left: 111px; top: 211px; height: 105px; z-index: 1; }

/* Görev 1 — Sputnik / R-7 8K71PS. Four tapered strap-on blocks surround
   the core; the forward and rear blocks overlap in this front projection. */
.home-light .historical-scene--sputnik {
    --r7-metal: linear-gradient(90deg,#6e7a7d,#b5c0c1 19%,#f2f4ee 39%,#c3cdcd 69%,#718084);
}
.home-light .hr-r7-nose {
    left: 74px; top: 2px; width: 32px; height: 40px;
    background: linear-gradient(90deg,#252e32,#5b676c 43%,#a3acac 53%,#303a3e);
    clip-path: polygon(50% 0,57% 8%,100% 100%,0 100%,43% 8%);
}
.home-light .hr-r7-instruments {
    left: 74px; top: 40px; width: 32px; height: 23px;
    background: repeating-linear-gradient(0deg,transparent 0 10px,#5e696a88 10px 11px),var(--r7-metal);
    border-block: 2px solid #899591;
}
.home-light .hr-r7-core {
    left: 73px; top: 63px; width: 34px; height: 250px; z-index: 2;
    background: repeating-linear-gradient(0deg,transparent 0 39px,#4e5f6c55 39px 40px,#eff6f280 40px 41px),var(--r7-metal);
    border-radius: 1px 1px 3px 3px;
    border-bottom: 17px solid #424e50;
    box-shadow: inset 1px 0 0 #ffffff66,inset -2px 0 0 #25313144;
}
.home-light .hr-r7-conduit { position: absolute; top: 6px; right: 5px; bottom: 14px; width: 2px; background: #75888d; box-shadow: 1px 0 #ecf2ee; }
.home-light .hr-r7-booster {
    top: 122px; width: 32px; height: 190px; z-index: 3;
    background: repeating-linear-gradient(0deg,transparent 0 28px,#5f727577 28px 29px,#ecf4f688 29px 30px),var(--r7-metal);
    border-bottom: 18px solid #3a4649;
    box-shadow: inset 2px 0 2px #344d5066,inset -2px 0 2px #344d5088;
}
.home-light .hr-r7-booster::before {
    content: ""; position: absolute; inset: 5px 0 17px;
    background: linear-gradient(90deg,transparent 40%,#fff8 43%,transparent 46%);
}
.home-light .hr-r7-booster i {
    position: absolute; top: 35%; bottom: 8px; width: 2px; left: 60%; background: #839395;
    box-shadow: 1px 0 #e8eeea;
}
.home-light .hr-r7-booster--left { left: 42px; clip-path: polygon(95% 0,100% 5%,100% 100%,0 100%,0 61%,8% 41%,45% 16%); }
.home-light .hr-r7-booster--right { left: 106px; clip-path: polygon(5% 0,55% 16%,92% 41%,100% 61%,100% 100%,0 100%,0 5%); }
.home-light .hr-r7-booster--rear { left: 77px; top: 110px; width: 26px; height: 198px; z-index: 0; clip-path: polygon(50% 0,82% 27%,100% 57%,100% 100%,0 100%,0 57%,18% 27%); }
.home-light .hr-r7-booster--front { left: 77px; top: 132px; width: 26px; height: 181px; z-index: 4; clip-path: polygon(50% 0,63% 7%,85% 34%,100% 66%,100% 100%,0 100%,0 66%,15% 34%,37% 7%); }
.home-light .hr-r7-fin { top: 285px; width: 13px; height: 26px; z-index: 2; background: linear-gradient(90deg,#56646b,#c8d2d1); }
.home-light .hr-r7-fin--left { left: 32px; clip-path: polygon(100% 0,100% 100%,0 100%); }
.home-light .hr-r7-fin--right { left: 135px; clip-path: polygon(0 0,100% 100%,0 100%); }
.home-light .hr-r7-engine-cluster { top: 311px; width: 32px; height: 12px; z-index: 5; }
.home-light .hr-r7-engine-cluster--1 { left: 74px; top: 307px; z-index: 1; }
.home-light .hr-r7-engine-cluster--2 { left: 74px; z-index: 3; }
.home-light .hr-r7-engine-cluster--3 { left: 42px; }
.home-light .hr-r7-engine-cluster--4 { left: 106px; }
.home-light .hr-r7-engine-cluster--5 { left: 77px; top: 313px; width: 26px; z-index: 6; }

/* R-7's tulip-style supports pivot away rather than flying with the rocket. */
.home-light .hr-r7-support { position: absolute; left: 50%; bottom: 44px; width: 238px; height: 346px; transform: translateX(-50%); z-index: 1; }
.home-light .hr-r7-mast { position: absolute; bottom: 0; width: 7px; height: 337px; border-inline: 1px solid #839691; background: repeating-linear-gradient(45deg,transparent 0 6px,#9db0a477 6px 7px),#314e5144; opacity: .65; }
.home-light .hr-r7-mast::before { content: ""; position: absolute; top: -14px; left: 2px; width: 1px; height: 15px; background: #c9d2cb; }
.home-light .hr-r7-mast::after { content: ""; position: absolute; top: 18px; left: -5px; width: 15px; height: 5px; background: #92a49c; border: 1px solid #cee0cf77; }
.home-light .hr-r7-mast--left { left: 7px; }
.home-light .hr-r7-mast--right { right: 7px; height: 324px; }
.home-light .hr-r7-arm {
    position: absolute; bottom: 0; width: 21px; height: 230px;
    border: 2px solid #95a397; transform-origin: center bottom;
    background: repeating-linear-gradient(45deg,transparent 0 15px,#96aa94 16px 18px,transparent 19px 30px),repeating-linear-gradient(-45deg,transparent 0 15px,#96aa94 16px 18px,transparent 19px 30px),#334f4b;
    box-shadow: 3px 1px 0 #1d333d88;
    transition: transform 1.4s ease,opacity 1s ease;
}
.home-light .hr-r7-arm::before { content: ""; position: absolute; top: -5px; left: -6px; width: 31px; height: 13px; background: linear-gradient(#bcc8b5,#637d69); border: 1px solid #d8dfc780; border-radius: 3px; }
.home-light .hr-r7-arm--left { left: 28px; transform: rotate(16deg); }
.home-light .hr-r7-arm--right { right: 28px; transform: rotate(-16deg); }
.home-light .hr-r7-service { position: absolute; left: 50%; bottom: 14px; width: 11px; height: 139px; transform: translateX(-50%); background: repeating-linear-gradient(0deg,#637967 0 4px,#b5c4b4 4px 5px); opacity: .5; }
.home-light .historical-scene--sputnik .hr-platform { width: 216px; border-radius: 40%; background: linear-gradient(#819181,#3b4947 38%,#263c3c); }
.home-light .historical-scene--sputnik .hr-platform::before { border-radius: 50%; height: 11px; top: -7px; background: radial-gradient(ellipse,#142426 0 27%,#617268 29% 49%,#a0afa1 52% 58%,#536a61 62%); }
.home-light .mission-launch-card.is-launched .hr-r7-arm--left { transform: rotate(-13deg); opacity: .4; }
.home-light .mission-launch-card.is-launched .hr-r7-arm--right { transform: rotate(13deg); opacity: .4; }
.home-light .mission-launch-card.is-launched .hr-r7-service { opacity: .15; }

/* Görev 2 — Gemini / Titan II GLV. The black spacecraft has no LES tower
   or side boosters; the LR87 has two combustion chambers. */
.home-light .historical-scene--gemini { --tower: #c28566; --tower-dark: #693e33; }
.home-light .hr-gemini-rendezvous { left: 86px; top: 3px; width: 8px; height: 10px; background: linear-gradient(90deg,#131c25,#526372,#18252e); border-radius: 2px 2px 0 0; }
.home-light .hr-gemini-capsule {
    left: 78px; top: 12px; width: 24px; height: 29px;
    clip-path: polygon(34% 0,66% 0,100% 95%,96% 100%,4% 100%,0 95%);
    background: repeating-linear-gradient(90deg,transparent 0 4px,#7b879255 4px 5px),linear-gradient(90deg,#111b26,#384755 43%,#51616b 60%,#101820);
    border-bottom: 2px solid #b7bcc1;
}
.home-light .hr-gemini-capsule i { position: absolute; top: 12px; width: 5px; height: 6px; border: 1px solid #8b9ba2; background: #142e42; transform: rotate(-15deg); }
.home-light .hr-gemini-capsule i:first-child { left: 5px; }
.home-light .hr-gemini-capsule i:last-child { right: 5px; transform: rotate(15deg); }
.home-light .hr-gemini-adapter {
    left: 75px; top: 40px; width: 30px; height: 25px;
    clip-path: polygon(10% 0,90% 0,100% 100%,0 100%);
    background: repeating-linear-gradient(90deg,transparent 0 4px,#7b839644 4px 5px),var(--white);
    border-bottom: 2px solid #a3aeb5;
}
.home-light .hr-gemini-second { left: 75px; top: 65px; width: 30px; height: 67px; background: repeating-linear-gradient(0deg,transparent 0 27px,#64738888 27px 28px,#fff7 28px 29px),var(--white); }
.home-light .hr-gemini-second::after { content: ""; position: absolute; right: 4px; top: 12px; bottom: 6px; width: 3px; background: #91a1af; border-left: 1px solid #eee; }
.home-light .hr-gemini-second .hr-flag { position: absolute; left: 8px; top: 16px; }
.home-light .hr-gemini-interstage { left: 75px; top: 132px; width: 30px; height: 25px; border-top: 3px solid #222b30; border-bottom: 5px solid #7d858c; background: repeating-linear-gradient(90deg,#1c242b 0 6px,#e1e5e7 6px 13px); box-shadow: inset 2px 0 3px #2229; }
.home-light .hr-gemini-interstage::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(90deg,#242f36 0 2px,#d9dde1 2px 4px); }
.home-light .hr-gemini-first {
    left: 75px; top: 157px; width: 30px; height: 147px;
    background: linear-gradient(0deg,transparent 0 34px,#19252c 34px 47px,transparent 47px),repeating-linear-gradient(0deg,transparent 0 30px,#6a778050 30px 31px,#fff8 31px 32px),var(--white);
    border-bottom: 3px solid #8b9ba2;
}
.home-light .hr-gemini-first::before { content: ""; position: absolute; bottom: 0; left: 11px; width: 8px; height: 34px; background: #202d34; }
.home-light .hr-gemini-first b { position: absolute; top: 9px; left: 13px; writing-mode: vertical-rl; text-orientation: upright; font-size: 5px; letter-spacing: .6px; }
.home-light .hr-gemini-conduit { position: absolute; top: -65px; bottom: 28px; left: 3px; width: 2px; background: #98a8b0; box-shadow: 1px 0 #f6f6f0; }
.home-light .hr-gemini-first .hr-insignia { position: absolute; bottom: 7px; left: 2px; width: 7px; height: 7px; font-size: 2px; line-height: 7px; }
.home-light .hr-gemini-engine-bay { left: 76px; top: 304px; width: 28px; height: 12px; background: repeating-linear-gradient(90deg,#313f45 0 4px,#9daab0 4px 5px,#586971 5px 7px); border-top: 2px solid #e0e6e3; }
.home-light .hr-gemini-engine-bay i { position: absolute; top: 0; bottom: -3px; left: 12px; width: 4px; background: #7f8f93; }
.home-light .historical-scene--gemini .hr-gantry { height: 309px; }
.home-light .historical-scene--gemini .hr-tower { width: 28px; }
.home-light .historical-scene--gemini .hr-crane { top: -7px; width: 51px; }
.home-light .historical-scene--gemini .hr-access--upper { top: 24px; width: 48px; height: 15px; border: 1px solid #d2d1c3; background: repeating-linear-gradient(90deg,transparent 0 7px,#637887 7px 9px),linear-gradient(#d8d9c9 0 70%,#a2a898 70%); }
.home-light .historical-scene--gemini .hr-access--middle { top: 124px; width: 48px; }
.home-light .historical-scene--gemini .hr-access--lower { top: 241px; width: 48px; }

/* Engines and plumes: positions are specified for each launch vehicle. */
.home-light .hr-motor {
    --engine-x: 90px; --engine-y: 315px; --engine-width: 10px; --jet-length: 88px;
    --jet-colour: #ffad52;
    position: absolute; left: calc(var(--engine-x) - var(--engine-width) / 2); top: var(--engine-y);
    width: var(--engine-width); height: 10px; z-index: 5;
}
.home-light .hr-nozzle {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg,transparent 0 2px,#d4d8de33 2px 3px),linear-gradient(90deg,#272b32,#85909a 48%,#252a31);
    clip-path: polygon(26% 0,74% 0,100% 90%,93% 100%,7% 100%,0 90%);
    border-bottom: 2px solid #201b18;
}
.home-light .hr-exhaust {
    position: absolute; top: 9px; left: -25%; width: 150%; height: var(--jet-length);
    opacity: 0; transform-origin: top center; transition: opacity .4s;
    background: linear-gradient(#fffce5 0 15%,#ffeab0 28%,var(--jet-colour) 55%,#f47828aa 75%,transparent 100%);
    clip-path: polygon(17% 0,83% 0,100% 23%,76% 55%,65% 72%,51% 100%,37% 74%,22% 54%,0 23%);
    filter: drop-shadow(0 0 5px #ffc571);
}
.home-light .hr-exhaust::after {
    content: ""; position: absolute; inset: 0 29% 22%;
    border-radius: 30% 30% 65% 65%; background: linear-gradient(#fff, #fffbe5 36%,#fff3c388 70%,transparent);
}
.home-light .hr-ignition { position: absolute; top: 9px; left: 40%; width: 2px; height: 2px; }
.home-light .hr-ignition::before, .home-light .hr-ignition::after {
    content: ""; position: absolute; width: 2px; height: 3px; background: #ffdf91;
    box-shadow: 0 0 4px #ff9b40; animation: hr-spark .9s ease-out infinite;
}
.home-light .hr-ignition::after { animation-delay: -.47s; --spark-x: -9px; }
.home-light .hr-motor:nth-last-child(even) .hr-ignition::before { animation-delay: -.3s; }
.home-light .hr-motor:nth-last-child(odd) .hr-exhaust { animation-delay: -.08s; }

/* R-7: five four-chamber clusters; rear chambers overlap in this view. */
.home-light .hr-r7-engine-cluster .hr-motor { --engine-y: 0px; --engine-width: 8px; --jet-length: 96px; --jet-colour: #ffa949; height: 8px; }
.home-light .hr-r7-engine-cluster .hr-motor--1 { --engine-x: 10px; --engine-y: -3px; z-index: 0; }
.home-light .hr-r7-engine-cluster .hr-motor--2 { --engine-x: 22px; --engine-y: -3px; z-index: 0; }
.home-light .hr-r7-engine-cluster .hr-motor--3 { --engine-x: 6px; }
.home-light .hr-r7-engine-cluster .hr-motor--4 { --engine-x: 26px; }
.home-light .hr-r7-engine-cluster--5 .hr-motor--1 { --engine-x: 8px; }
.home-light .hr-r7-engine-cluster--5 .hr-motor--2 { --engine-x: 18px; }
.home-light .hr-r7-engine-cluster--5 .hr-motor--3 { --engine-x: 4px; }
.home-light .hr-r7-engine-cluster--5 .hr-motor--4 { --engine-x: 22px; }
.home-light .hr-r7-engine-cluster .hr-exhaust { top: 7px; left: -40%; width: 180%; }
.home-light .hr-r7-engine-cluster .hr-ignition { top: 7px; }
.home-light .hr-airframe--gemini .hr-motor { --engine-width: 13px; --jet-length: 108px; --jet-colour: #ffb16c; }
.home-light .hr-airframe--gemini .hr-motor--1 { --engine-x: 82px; }
.home-light .hr-airframe--gemini .hr-motor--2 { --engine-x: 98px; }

/* Saturn V: five F-1s, rear pair partially hidden in this projection. */
.home-light .hr-airframe--apollo .hr-motor { --engine-width: 11px; --jet-length: 103px; }
.home-light .hr-airframe--apollo .hr-motor--1 { --engine-x: 82px; --engine-y: 312px; z-index: 1; }
.home-light .hr-airframe--apollo .hr-motor--2 { --engine-x: 98px; --engine-y: 312px; z-index: 1; }
.home-light .hr-airframe--apollo .hr-motor--3 { --engine-x: 77px; }
.home-light .hr-airframe--apollo .hr-motor--4 { --engine-x: 90px; }
.home-light .hr-airframe--apollo .hr-motor--5 { --engine-x: 103px; }

/* SLS: four RS-25 nozzles and two brighter solid-booster plumes. */
.home-light .hr-airframe--artemis .hr-motor { --engine-width: 7px; --jet-length: 74px; --jet-colour: #b7c6ff; }
.home-light .hr-airframe--artemis .hr-motor--1 { --engine-x: 81px; --engine-y: 312px; z-index: 1; }
.home-light .hr-airframe--artemis .hr-motor--2 { --engine-x: 99px; --engine-y: 312px; z-index: 1; }
.home-light .hr-airframe--artemis .hr-motor--3 { --engine-x: 86px; }
.home-light .hr-airframe--artemis .hr-motor--4 { --engine-x: 94px; }
.home-light .hr-airframe--artemis .hr-motor--5 { --engine-x: 65px; --engine-width: 15px; --jet-length: 109px; --jet-colour: #ffd585; }
.home-light .hr-airframe--artemis .hr-motor--6 { --engine-x: 115px; --engine-width: 15px; --jet-length: 109px; --jet-colour: #ffd585; }

/* Titan lifts off on its solids; the liquid core ignites later in flight.
   NASA Titan IIIE flight sequence: 19750004937, section 2-9. */
.home-light :is(.hr-airframe--viking,.hr-airframe--voyager,.hr-airframe--cassini) .hr-motor--1 { --engine-x: 63px; --engine-width: 22px; --jet-length: 105px; }
.home-light :is(.hr-airframe--viking,.hr-airframe--voyager,.hr-airframe--cassini) .hr-motor--2 { --engine-x: 117px; --engine-width: 22px; --jet-length: 105px; }
.home-light :is(.hr-airframe--viking,.hr-airframe--voyager,.hr-airframe--cassini) .hr-motor--3 { --engine-x: 84px; --engine-width: 9px; --jet-length: 67px; }
.home-light :is(.hr-airframe--viking,.hr-airframe--voyager,.hr-airframe--cassini) .hr-motor--4 { --engine-x: 96px; --engine-width: 9px; --jet-length: 67px; }
.home-light .hr-airframe--cassini .hr-motor--1 { --engine-x: 60.5px; --engine-width: 26px; }
.home-light .hr-airframe--cassini .hr-motor--2 { --engine-x: 119.5px; --engine-width: 26px; }
.home-light :is(.hr-airframe--viking,.hr-airframe--voyager,.hr-airframe--cassini)
    :is(.hr-motor--3,.hr-motor--4) :is(.hr-exhaust,.hr-ignition) { display: none; }

/* Atlantis: three orbiter main engines plus two SRBs, not an engine on the tank. */
.home-light .hr-airframe--galileo .hr-motor--1 { --engine-x: 53px; --engine-width: 21px; --jet-length: 105px; }
.home-light .hr-airframe--galileo .hr-motor--2 { --engine-x: 127px; --engine-width: 21px; --jet-length: 105px; }
.home-light .hr-airframe--galileo .hr-motor--3 { --engine-x: 80px; --engine-y: 307px; --engine-width: 10px; --jet-length: 76px; --jet-colour: #bbc9ff; z-index: 8; }
.home-light .hr-airframe--galileo .hr-motor--4 { --engine-x: 100px; --engine-y: 307px; --engine-width: 10px; --jet-length: 76px; --jet-colour: #bbc9ff; z-index: 8; }
.home-light .hr-airframe--galileo .hr-motor--5 { --engine-x: 90px; --engine-y: 314px; --engine-width: 10px; --jet-length: 76px; --jet-colour: #bbc9ff; z-index: 8; }

/* Atlas V 551: five SRBs and the two combustion chambers of RD-180. */
.home-light .hr-airframe--new-horizons .hr-motor { --engine-width: 11px; --jet-length: 97px; }
.home-light .hr-airframe--new-horizons .hr-motor--1 { --engine-x: 63.5px; z-index: 1; }
.home-light .hr-airframe--new-horizons .hr-motor--2 { --engine-x: 72.5px; }
.home-light .hr-airframe--new-horizons .hr-motor--3 { --engine-x: 89.5px; --engine-y: 318px; z-index: 6; }
.home-light .hr-airframe--new-horizons .hr-motor--4 { --engine-x: 107.5px; }
.home-light .hr-airframe--new-horizons .hr-motor--5 { --engine-x: 117.5px; z-index: 1; }
.home-light .hr-airframe--new-horizons .hr-motor--6 { --engine-x: 82px; --jet-length: 80px; --engine-width: 8px; }
.home-light .hr-airframe--new-horizons .hr-motor--7 { --engine-x: 98px; --jet-length: 80px; --engine-width: 8px; }

/* Launch state works on the homepage and the library without competing overrides. */
.home-light .mission-launch-card.is-launched .historical-scene .hr-gantry { opacity: .24; }
.home-light .mission-launch-card.is-launched .historical-scene .hr-access { transform: rotateY(78deg); opacity: .2; }
.home-light .mission-launch-card.is-launched .historical-scene .hr-lift { transform: translateY(calc(-1 * var(--flight-rise))); }
.home-light .mission-launch-card.is-launched .historical-scene .hr-airframe { animation: hr-flight 3.6s ease-in-out infinite; }
.home-light .mission-launch-card.is-launched .historical-scene .hr-exhaust { opacity: 1; animation: hr-exhaust .19s ease-in-out infinite alternate; }
.home-light .mission-launch-card.is-launched .historical-scene .hr-ignition { display: none; }
@keyframes hr-flight {
    0%,100% { transform: translate(-2px,1px) rotate(-.6deg); }
    50% { transform: translate(2px,-3px) rotate(.6deg); }
}
@keyframes hr-exhaust { from { transform: scaleX(.93) scaleY(.93); } to { transform: scaleX(1.07) scaleY(1.04); } }
@keyframes hr-spark { from { opacity: 1; transform: translate(0,0); } to { opacity: 0; transform: translate(var(--spark-x,8px),16px); } }
@media (max-width: 575px) {
    .home-light .historical-scene { --craft-scale: .82; --flight-rise: 70px; min-height: 420px; }
    .home-light .historical-scene .hr-gantry { transform: scale(.82); transform-origin: bottom right; left: calc(50% - 99px); }
    .home-light .hr-r7-support { transform: translateX(-50%) scale(.82); transform-origin: bottom center; }
}
@media (prefers-reduced-motion: reduce) {
    .home-light .historical-scene *, .home-light .historical-scene *::before, .home-light .historical-scene *::after,
    .home-light .mission-launch-card.is-launched .historical-scene .hr-airframe,
    .home-light .mission-launch-card.is-launched .historical-scene .hr-exhaust {
        animation: none; transition: none;
    }
}
