/* Продолжительное ожидание: плотный звёздный поток и непрерывное сканирование. */
.star-tunnel { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tunnel-aurora { position: absolute; width: 95vw; height: 75vh; left: -15%; top: 8%; border-radius: 50%; background: radial-gradient(ellipse, #b074dd2a, #b9a6f515 40%, transparent 68%); animation: aurora-cross 17s ease-in-out infinite alternate; }
.tunnel-aurora--two { left: 25%; top: 30%; background: radial-gradient(ellipse,#e9c27a28,#86e3cb0d 40%,transparent 68%); animation-delay: -9s; animation-duration: 22s; }
.tunnel-horizon { position: absolute; left: 0; right: 0; top: 57%; height: 1px; background: linear-gradient(90deg,transparent,#b9a6f580 28%,#e9c27a99 50%,#86e3cb66 75%,transparent); box-shadow: 0 0 28px #b9a6f577; animation: horizon-signal 6s ease-in-out infinite; }
.tunnel-grid { position: absolute; left: -35%; right: -35%; top: 56%; height: 75%; background: linear-gradient(#b9a6f51c 1px,transparent 1px) 0 0/60px 60px,linear-gradient(90deg,#e9c27a12 1px,transparent 1px) 0 0/60px 60px; transform: perspective(450px) rotateX(65deg); transform-origin: center top; mask-image: linear-gradient(transparent,#0008 25%,#000 55%,transparent); animation: floor-flight 2.8s linear infinite; }
.tunnel-stars { position: absolute; left: 50%; top: 49%; width: 1px; height: 1px; }
.tunnel-star-track { position: absolute; transform: rotate(var(--angle)); transform-origin: 0 0; }
.tunnel-star-track i { position: absolute; display: block; width: 62px; height: 1px; border-radius: 50%; background: linear-gradient(90deg,transparent,#e9c27a,#fff4d8); box-shadow: 0 0 6px #e9c27a44; transform-origin: left; animation: stellar-flight var(--duration) var(--delay) cubic-bezier(.35,0,.85,.35) infinite; }
.tunnel-star-track:nth-child(3n) i { background: linear-gradient(90deg,transparent,#b9a6f5,#e7dcff); box-shadow: 0 0 6px #b9a6f555; }.tunnel-star-track:nth-child(7n) i { background: linear-gradient(90deg,transparent,#86e3cb,#d5fff0); }
.tunnel-rings { position: absolute; inset: 0; }.tunnel-rings i { position: absolute; left: 50%; top: 49%; width: 32vmin; height: 32vmin; margin: -16vmin; border: 1px solid #b9a6f530; border-radius: 50%; box-shadow: 0 0 28px #b9a6f50d; animation: deep-space-wave 9s var(--ring-delay) ease-out infinite; }
.tunnel-comet { position: absolute; left: -20%; top: 22%; width: 150px; height: 1px; background: linear-gradient(90deg,transparent,#e9c27a88); transform: rotate(25deg); animation: comet-flight 13s linear infinite; }
.tunnel-comet--two { top: 65%; background: linear-gradient(90deg,transparent,#b9a6f599); animation-duration: 19s; animation-delay: -8s; }
.flight-active .space-nebula { opacity: .8; }.flight-active .space-stars circle { animation-duration: 3.6s; fill: #efe3ff; }.flight-active .space-orbit { border-color: #b9a6f51a; }
.flight-deck .flight-console { background: linear-gradient(145deg,#19162bd9,#09091ae8 55%,#21132dcc); border-color: #b9a6f560; box-shadow: inset 0 1px #eee0ff20,0 30px 70px #0005,0 0 75px #b9a6f518; transition: border-color 2s,box-shadow 2s; }
.flight-deck[data-cycle="1"] .flight-console { border-color: #e9c27a70; box-shadow: inset 0 1px #fff3d620,0 30px 70px #0005,0 0 85px #e9c27a16; }
.flight-deck[data-cycle="2"] .flight-console { border-color: #86e3cb65; box-shadow: inset 0 1px #d5fff020,0 30px 70px #0005,0 0 85px #86e3cb13; }
.flight-heading-controls { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.flight-motion { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-color: #b9a6f544; border-radius: 10px; color: var(--lavender); background: #17132d99; font-size: 11px; }
.flight-motion>span { font-size: 20px; line-height: 1; }.flight-motion[aria-pressed=true] { border-color: #e9c27a50; color: var(--gold-hi); }
.flight-motion:focus-visible { outline-offset: 4px; }
.flight-deck .nav-aura { inset: 8%; background: radial-gradient(circle,#e9c27a22,#b9a6f519 43%,transparent 72%); animation-duration: 3.5s; }
.flight-deck .nav-graticule { stroke-opacity: .3; animation-duration: 22s; }.flight-deck .nav-bearing { animation-duration: 42s; }
.flight-deck .nav-orbit { stroke-width: 1.6; animation-duration: 12s; }.flight-deck .nav-orbit--two { animation-duration: 17s; opacity: .8; }
.flight-deck .nav-scan { animation-duration: 5.5s; opacity: .9; }.flight-deck .nav-probes { stroke-width: 1.8; opacity: .9; animation-duration: 2.5s; }
.flight-deck .nav-waypoints g { animation-duration: 2.3s; }.flight-deck .nav-sweep { animation-duration: 4.5s; }
.nav-packets { stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 25; filter: drop-shadow(0 0 4px #e9c27a66); }
.nav-packets path { animation: packet-orbit 4s linear infinite; }.nav-packets path:nth-child(2) { animation-duration: 5.2s; animation-delay: -2s; stroke: #b9a6f5; }.nav-packets path:nth-child(3) { animation-duration: 3.4s; animation-delay: -1s; stroke: #86e3cb; }
.nav-fragments path { stroke-width: 1.4; fill: #86e3cb12; animation: fragment-signal 3s var(--fragment-delay) ease-in-out infinite; }
.nav-burst-ring { position: absolute; inset: 17%; border: 1px solid #e9c27a70; border-radius: 50%; box-shadow: 0 0 28px #e9c27a12; animation: core-wave 4.8s ease-out infinite; }
.nav-burst-ring--two { border-color: #b9a6f56b; animation-delay: -2.4s; }
.flight-deck .nav-reactor { box-shadow: 0 0 35px #e9c27a2c,0 0 80px #b9a6f51c; }
.flight-deck .nav-reactor::before,.flight-deck .nav-reactor::after { animation-duration: 3s; }
.flight-deck[data-cycle="1"] .nav-fragments path { stroke: #e9c27a; fill: #e9c27a10; }.flight-deck[data-cycle="2"] .nav-fragments path { stroke: #b9a6f5; fill: #b9a6f510; }
.signal-matrix { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 6px; margin-top: 24px; padding: 14px 0 0; border-top: 1px solid #b9a6f52b; }
.signal-matrix i { height: 6px; border-radius: 2px; background: #b9a6f5; opacity: .2; box-shadow: 0 0 7px #b9a6f533; animation: matrix-signal var(--signal-duration) var(--signal-delay) ease-in-out infinite; }.signal-matrix i:nth-child(3n) { background: #e9c27a; box-shadow: 0 0 7px #e9c27a33; }.signal-matrix i:nth-child(5n) { background: #86e3cb; }
.flight-deck .flight-wave { gap: 5px; }.flight-deck .flight-wave i { animation-duration: 1.7s; background: linear-gradient(0deg,#b9a6f51a,#e9c27aaa); }.flight-deck .flight-systems .quest-stages li.current .quest-stage-number { box-shadow: 0 0 20px #e9c27a25; animation: console-heartbeat 2.5s ease-in-out infinite; }
.flow-scan { position: relative; padding: 16px 20px 8px; margin-top: 15px; border: 1px solid #b9a6f543; border-radius: 16px; background: linear-gradient(100deg,#17132dbb,#0b0c2299); box-shadow: inset 0 1px #fff3d60c; }
.flow-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: var(--gold-hi); font: 10px/1.5 var(--mono); letter-spacing: .08em; }
.flow-lights { display: flex; gap: 8px; }.flow-lights i { width: 5px; height: 5px; border-radius: 50%; background: #86e3cb; box-shadow: 0 0 8px #86e3cb77; animation: matrix-signal 2.4s ease-in-out infinite; }.flow-lights i:nth-child(2) { animation-delay: -.8s; }.flow-lights i:nth-child(3) { animation-delay: -1.6s; }
.flow-track { position: relative; height: 14px; overflow: hidden; border-radius: 4px; background: #08091a; border: 1px solid #b9a6f526; }
.flow-cells { display: flex; gap: 4px; height: 100%; }.flow-cells i { flex: 1; min-width: 0; background: #b9a6f5; opacity: .13; animation: cell-scan 3.4s var(--cell-delay) ease-in-out infinite; }
.flow-comet { position: absolute; left: 0; top: 0; width: 21%; height: 100%; background: linear-gradient(90deg,transparent,#e9c27acc,#fff0cb66,transparent); transform: translateX(-110%); animation: flow-cross 4.5s linear infinite; }
.flow-constellation { height: 48px; margin-top: 7px; }.flow-constellation svg { width: 100%; height: 100%; overflow: visible; }
.flow-grid-line { fill: none; stroke: #b9a6f51a; stroke-width: .7; }.flow-path { fill: none; stroke: #b9a6f56b; stroke-width: 1; }.flow-packet { fill: none; stroke: #e9c27a; stroke-width: 2.5; stroke-dasharray: 1.5 20; animation: packet-orbit 3.6s linear infinite; filter: drop-shadow(0 0 3px #e9c27a55); }.flow-constellation circle { fill: #e9c27a; animation: point-signal 2.7s var(--point-delay) ease-in-out infinite; }
.flight-deck .flight-footer { position: relative; z-index: 6; margin-top: 16px; padding: 14px 18px; border: 1px solid #b9a6f53b; border-radius: 16px; background: #0b0c22ee; backdrop-filter: blur(12px); box-shadow: 0 10px 30px #0005; }
@keyframes stellar-flight { 0% { transform: translateX(30px) scaleX(.08); opacity: 0; } 15% { opacity: .35; } 65% { opacity: .65; } 100% { transform: translateX(80vmax) scaleX(3); opacity: 0; } }
@keyframes floor-flight { to { background-position: 0 60px,0 60px; } }
@keyframes aurora-cross { to { transform: translate(20%,-8%) scale(1.2); opacity: .5; } }
@keyframes horizon-signal { 50% { opacity: .4; transform: scaleX(.88); } }
@keyframes deep-space-wave { from { transform: scale(.5); opacity: 0; } 20% { opacity: .5; } to { transform: scale(5); opacity: 0; } }
@keyframes comet-flight { 0%,25% { opacity: 0; transform: translateX(0) rotate(25deg); } 35% { opacity: .6; } 65%,100% { opacity: 0; transform: translateX(125vw) rotate(25deg); } }
@keyframes packet-orbit { to { stroke-dashoffset: -100; } }
@keyframes fragment-signal { 50% { opacity: .2; fill-opacity: .1; } }
@keyframes core-wave { from { transform: scale(.85); opacity: .65; } to { transform: scale(1.55); opacity: 0; } }
@keyframes matrix-signal { 0%,100% { opacity: .15; } 45% { opacity: .85; } }
@keyframes console-heartbeat { 50% { box-shadow: 0 0 22px #e9c27a66; } }
@keyframes cell-scan { 0%,100% { opacity: .1; } 40% { opacity: .55; } 55% { opacity: .18; } }
@keyframes flow-cross { to { transform: translateX(600%); } }
@keyframes point-signal { 50% { opacity: .2; } }
@media(max-width:1100px) { .flight-heading-controls { gap: 15px; }.flight-motion { max-width: 140px; font-size: 10px; padding: 8px; }.flight-heading h1 { font-size: 30px; } }
@media(max-width:800px) { .flight-heading-controls { align-items: flex-end; gap: 10px; }.flow-scan { padding: 14px 15px 6px; }.signal-matrix { margin-top: 18px; }.tunnel-star-track:nth-child(2n) { display: none; } }
@media(max-width:700px) { .flight-heading { flex-wrap: wrap; }.flight-heading>div:first-child { flex: 1 1 100%; }.flight-heading-controls { width: 100%; flex-direction: row-reverse; justify-content: space-between; }.flight-clock { flex-direction: row; align-items: center; gap: 12px; }.flight-clock span { max-width: none; text-align: left; }.flight-heading h1 { font-size: 25px; }.flight-motion { max-width: none; }.signal-matrix { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 5px; }.signal-matrix i { height: 5px; }.flow-label { font-size: 9px; letter-spacing: .035em; }.flow-cells { gap: 3px; }.flow-constellation { height: 35px; }.flight-deck .flight-footer { padding: 12px 14px; bottom: 8px; }.tunnel-grid { opacity: .6; }.tunnel-rings i { animation-duration: 12s; } }
.exhibition[data-motion=reduce] *, .exhibition[data-motion=reduce] *::before, .exhibition[data-motion=reduce] *::after { animation: none !important; transition: none !important; }
.exhibition[data-motion=reduce] .sector-jump { display: none; }.exhibition[data-motion=reduce] .screen-stage { opacity: 1; transform: none; }

.flight-viewport .flow-scan { margin: 0 10px 10px; padding: 12px 13px 5px; border-radius: 12px; }.flight-viewport .flow-label { margin-bottom: 9px; font-size: 9px; }.flight-viewport .flow-constellation { height: 32px; }.flight-deck .flight-vector { margin-top: 15px; padding-top: 12px; }.flight-deck .flight-vector svg { height: 42px; }
@media(min-width:801px) and (max-height:950px) { .flight-deck .navigation-core { max-height: 330px; }.signal-matrix { margin-top: 15px; } }
