.academySubpage {
  --page-accent: var(--cyan);
  --page-accent-rgb: 89, 230, 255;
}

.evolutionsPage {
  --page-accent: #b58cff;
  --page-accent-rgb: 181, 140, 255;
}

.guideHero {
  width: 100%;
  max-width: none;
  isolation: isolate;
  grid-template-columns: minmax(0, .94fr) minmax(420px, .86fr);
  padding-inline: max(clamp(24px, 7vw, 110px), calc((100vw - 1500px) / 2 + 64px));
  overflow: hidden;
}

.guideHero::before {
  z-index: 2;
  left: max(4%, calc((100vw - 1500px) / 2 + 24px));
}

.guideHeroArt,
.guideHeroShade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.guideHeroArt {
  z-index: -3;
  background-position: center;
  background-size: cover;
  filter: saturate(.86) contrast(1.08) brightness(.76);
  transform: scale(1.025) translate(calc(var(--pointer-x) * -5px), calc(var(--pointer-y) * -4px));
  transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}

.rulesHero .guideHeroArt { background-image: url('../assets/web/academy-rules-arena-v1.png'); }
.evolutionHero .guideHeroArt { background-image: url('../assets/web/academy-evolution-chamber-v1.png'); }

.guideHeroShade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 6, 17, .97) 0%, rgba(2, 8, 23, .88) 35%, rgba(2, 8, 23, .22) 69%, rgba(1, 5, 14, .42) 100%),
    linear-gradient(180deg, rgba(1, 5, 14, .2), transparent 52%, #020817 100%);
}

.evolutionHero .guideHeroShade {
  background:
    linear-gradient(90deg, rgba(3, 5, 18, .97) 0%, rgba(4, 7, 24, .88) 35%, rgba(4, 7, 24, .12) 70%, rgba(3, 5, 16, .38) 100%),
    linear-gradient(180deg, rgba(2, 5, 15, .22), transparent 54%, #020817 100%);
}

.guideHero .heroCopy { max-width: 710px; }
.guideHero .heroCode { color: rgba(177, 208, 230, .57); }

.rulesHeroConsole {
  position: relative;
  width: min(580px, 42vw);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 34px 45px rgba(0, 0, 0, .58));
}

.consoleReticle,
.consoleReticle::before,
.consoleReticle::after,
.consoleSweep,
.consoleAxis {
  position: absolute;
  border-radius: 50%;
}

.consoleReticle {
  inset: 8%;
  border: 1px solid rgba(89, 230, 255, .27);
  background: repeating-conic-gradient(from 2deg, rgba(89,230,255,.65) 0 1deg, transparent 1deg 15deg);
  mask-image: radial-gradient(transparent 0 61%, #000 61.5% 62%, transparent 62.5% 77%, #000 77.5% 78%, transparent 78.5%);
  animation: slowSpin 45s linear infinite;
}

.consoleReticle::before,
.consoleReticle::after {
  content: '';
  inset: 12%;
  border: 1px solid rgba(89, 230, 255, .17);
}

.consoleReticle::after { inset: 30%; }

.consoleReticle > i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.consoleReticle > i:first-child { transform: rotate(38deg) translateX(190px); }
.consoleReticle > i:last-child { transform: rotate(208deg) translateX(165px); background: var(--amber); box-shadow: 0 0 15px var(--amber); }

.consoleSweep {
  inset: 17%;
  opacity: .48;
  background: conic-gradient(from 0deg, transparent 0 82%, rgba(89,230,255,.04) 88%, rgba(89,230,255,.3) 99%, transparent);
  border: 1px solid rgba(89,230,255,.08);
  animation: slowSpin 5.5s linear infinite;
}

.consoleAxis {
  inset: 27%;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 0 48px rgba(89,230,255,.18), inset 0 0 48px rgba(89,230,255,.12);
  animation: haloPulse 3.6s ease-in-out infinite;
}

.consoleShip {
  position: relative;
  z-index: 3;
  width: 43%;
  filter: drop-shadow(0 24px 20px rgba(0,0,0,.5)) drop-shadow(0 0 24px rgba(89,230,255,.38));
  animation: shipFloat 4.8s ease-in-out infinite;
}

.consoleSignal {
  position: absolute;
  z-index: 4;
  min-width: 126px;
  padding: 9px 12px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(5, 24, 43, .86), rgba(5, 24, 43, .18));
  backdrop-filter: blur(5px);
}

.consoleSignal span,
.consoleSignal strong { display: block; text-transform: uppercase; }
.consoleSignal span { color: #7d9ab4; font-size: 7px; letter-spacing: .16em; }
.consoleSignal strong { margin-top: 3px; color: #d8faff; font-size: 10px; letter-spacing: .1em; }
.consoleSignalA { top: 18%; right: 0; }
.consoleSignalB { bottom: 19%; left: 0; border-color: var(--green); }
.consoleSignalC { right: 5%; bottom: 6%; border-color: var(--amber); }

.evolutionHeroCradle {
  position: relative;
  width: min(610px, 43vw);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.cradleRing {
  position: absolute;
  border: 1px solid rgba(181, 140, 255, .34);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(71, 218, 255, .08), 0 0 30px rgba(181,140,255,.06);
}

.cradleRing::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: repeating-conic-gradient(from 0deg, rgba(101,231,255,.7) 0 1deg, transparent 1deg 28deg);
  mask-image: radial-gradient(transparent 71%, #000 72% 73%, transparent 74%);
}

.ringOne { inset: 7%; animation: slowSpin 35s linear infinite; }
.ringTwo { inset: 20%; transform: rotateX(67deg); animation: evolutionRingTilt 8s ease-in-out infinite; }
.ringThree { inset: 30%; border-color: rgba(89,230,255,.38); animation: reverseSpin 18s linear infinite; }

.cradleBeam {
  position: absolute;
  inset: 8% 31%;
  opacity: .64;
  background: linear-gradient(90deg, transparent, rgba(107,217,255,.16), rgba(194,128,255,.23), transparent);
  filter: blur(9px);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  animation: beamPulse 3s ease-in-out infinite;
}

.evolutionHeroCradle > :is(img, academy-ship) {
  position: relative;
  z-index: 3;
  width: 48%;
  filter: drop-shadow(0 28px 20px rgba(0,0,0,.56)) drop-shadow(0 0 32px rgba(159,113,255,.48));
  animation: shipFloat 4.4s ease-in-out infinite;
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
}

.evolutionHeroCradle.changing > :is(img, academy-ship) { opacity: 0; transform: translateY(18px) scale(.84); filter: blur(5px); }

.cradleIdentity {
  position: absolute;
  z-index: 5;
  right: 3%;
  bottom: 6%;
  min-width: 190px;
  padding: 14px 16px;
  border-left: 2px solid #b58cff;
  background: linear-gradient(90deg, rgba(15,11,39,.9), rgba(7,16,36,.22));
  backdrop-filter: blur(8px);
}

.cradleIdentity span,
.cradleIdentity strong,
.cradleIdentity i { display: block; }
.cradleIdentity span { color: #bda7e8; font-size: 7px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.cradleIdentity strong { margin-top: 3px; font-family: Impact, sans-serif; font-size: 25px; letter-spacing: .04em; text-transform: uppercase; }
.cradleIdentity i { margin-top: 3px; color: var(--cyan); font-size: 9px; font-style: normal; letter-spacing: .07em; }

.missionCycle {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, auto));
  align-items: center;
  gap: 14px;
}

.cycleCard {
  position: relative;
  min-height: 390px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13,34,62,.78), rgba(4,12,27,.76));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.cycleCard::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 32%, rgba(89,230,255,.16), transparent 42%);
  transition: opacity .3s ease;
}

.cycleCard:hover::before { opacity: 1; }
.cycleIndex { color: rgba(89,230,255,.64); font-family: Consolas, monospace; font-size: 9px; letter-spacing: .15em; }
.cycleIcon { position: relative; height: 142px; margin: 18px 0 12px; display: grid; place-items: center; }
.cycleIcon::before { content: ''; position: absolute; width: 105px; height: 105px; border: 1px solid rgba(89,230,255,.2); border-radius: 50%; box-shadow: inset 0 0 28px rgba(89,230,255,.08); }
.cycleIcon img { position: relative; z-index: 1; width: 105px; height: 105px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)) drop-shadow(0 0 15px rgba(89,230,255,.24)); transition: transform .35s ease; }
.cycleCard:hover .cycleIcon img { transform: translateY(-6px) scale(1.04); }
.cycleIcon.hostile img { filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)) drop-shadow(0 0 15px rgba(255,75,105,.26)); }
.cycleIcon.key img { width: 95px; height: 95px; }
.cycleCard h3 { position: relative; margin: 0; font-family: "Arial Narrow", sans-serif; font-size: 20px; text-transform: uppercase; }
.cycleCard p { position: relative; min-height: 77px; margin: 10px 0 17px; color: #8ea5bd; font-size: 12px; line-height: 1.65; }
.cycleOrder { position: relative; display: block; padding-top: 12px; border-top: 1px solid rgba(148,201,255,.12); color: var(--cyan); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.cycleConnector { width: 26px; height: 1px; background: linear-gradient(90deg, rgba(89,230,255,.18), var(--cyan), rgba(89,230,255,.18)); box-shadow: 0 0 9px rgba(89,230,255,.35); }
.simulatorNote,
.evolutionNote { margin-top: 40px; }

.controlsSection { padding-top: 105px; }
.controlDeck { margin-top: 54px; border: 1px solid rgba(89,230,255,.2); background: linear-gradient(145deg, rgba(8,29,52,.86), rgba(4,11,25,.84)); box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.controlTabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(148,201,255,.14); }
.controlTab { min-height: 58px; padding: 10px 18px; border: 0; border-right: 1px solid rgba(148,201,255,.12); color: #7892ac; background: rgba(3,12,26,.55); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.controlTab:last-child { border-right: 0; }
.controlTab:hover,
.controlTab:focus-visible { color: #d7faff; }
.controlTab.active { color: #06101d; background: var(--cyan); box-shadow: 0 0 30px rgba(89,230,255,.18); }
.controlPanel { min-height: 370px; padding: clamp(34px, 5vw, 72px); display: grid; grid-template-columns: 1.15fr 1fr 1fr; align-items: center; gap: clamp(25px, 5vw, 70px); animation: panelReveal .38s ease both; }
.controlPanel[hidden] { display: none; }
.keyCluster { width: 270px; height: 230px; margin: 0 auto; display: grid; grid-template: repeat(2, 68px) auto / repeat(3, 68px); justify-content: center; gap: 8px; }
.keyCluster kbd,
.commandKey kbd { display: grid; place-items: center; border: 1px solid rgba(89,230,255,.32); border-bottom-width: 4px; color: #dffcff; background: linear-gradient(145deg, #102c48, #071526); box-shadow: inset 0 0 15px rgba(89,230,255,.08), 0 9px 16px rgba(0,0,0,.25); font-family: inherit; font-weight: 900; }
.keyCluster kbd { font-size: 22px; border-radius: 9px; }
.keyUp { grid-area: 1 / 2; }
.keyLeft { grid-area: 2 / 1; }
.keyDown { grid-area: 2 / 2; }
.keyRight { grid-area: 2 / 3; }
.keyCluster span { grid-area: 3 / 1 / 4 / 4; align-self: center; color: #758da6; font-size: 8px; font-weight: 850; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.commandKey { min-height: 205px; padding-left: clamp(18px, 3vw, 44px); border-left: 1px solid rgba(148,201,255,.13); }
.commandKey kbd { width: max-content; min-width: 80px; height: 56px; padding: 0 16px; border-radius: 9px; font-size: 12px; }
.commandKey strong { display: block; margin-top: 28px; font-family: "Arial Narrow", sans-serif; font-size: 21px; text-transform: uppercase; }
.commandKey p { max-width: 250px; margin: 8px 0 0; color: #829ab3; font-size: 12px; line-height: 1.65; }
.touchPanel { grid-template-columns: 1.4fr .8fr .8fr; }
.touchStick { position: relative; width: 230px; aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; border: 1px solid rgba(89,230,255,.26); border-radius: 50%; background: radial-gradient(circle, rgba(89,230,255,.13), rgba(4,13,28,.12) 65%); box-shadow: inset 0 0 35px rgba(89,230,255,.08); }
.touchStick::before { content: ''; position: absolute; inset: 18%; border: 1px dashed rgba(89,230,255,.22); border-radius: 50%; }
.touchStick i { position: relative; width: 72px; height: 72px; border: 1px solid rgba(89,230,255,.58); border-radius: 50%; background: #0c3452; box-shadow: 0 14px 20px rgba(0,0,0,.3), 0 0 20px rgba(89,230,255,.17); animation: stickMove 5s ease-in-out infinite; }
.touchStick span { position: absolute; bottom: 17px; color: #7d96b0; font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.touchCommand { display: grid; justify-items: center; gap: 15px; }
.touchCommand img { width: min(130px, 12vw); filter: drop-shadow(0 12px 15px rgba(0,0,0,.4)); }
.touchCommand strong { font-family: "Arial Narrow", sans-serif; font-size: 17px; text-transform: uppercase; }
.flightLessons { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flightLessons article { padding: 27px; border-top: 1px solid rgba(89,230,255,.25); background: rgba(7,19,37,.45); }
.flightLessons span { color: var(--cyan); font-family: Consolas, monospace; font-size: 9px; }
.flightLessons h3 { margin: 18px 0 7px; font-family: "Arial Narrow", sans-serif; font-size: 18px; text-transform: uppercase; }
.flightLessons p { margin: 0; color: #839bb4; font-size: 12px; line-height: 1.7; }

.keySimulator { margin-top: 54px; min-height: 470px; display: grid; grid-template-columns: minmax(290px, .7fr) 1.3fr; border: 1px solid rgba(89,230,255,.2); background: linear-gradient(120deg, rgba(8,28,52,.88), rgba(5,12,27,.83)); }
.keyBriefing { padding: clamp(30px, 5vw, 68px); border-right: 1px solid rgba(148,201,255,.13); }
.simLabel { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--cyan); font-size: 8px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.simLabel i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 11px var(--cyan); animation: statusPulse 1.7s ease infinite; }
.keyBriefing h3 { margin: 24px 0 9px; font-family: Impact, sans-serif; font-size: clamp(30px, 3vw, 44px); line-height: 1; text-transform: uppercase; }
.keyBriefing > p:not(.simLabel, .simStatus) { margin: 0; color: #8da5bd; font-size: 13px; line-height: 1.7; }
.sequenceReadout { margin-top: 34px; display: flex; align-items: center; gap: 7px; }
.sequenceReadout span { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(148,201,255,.2); background: rgba(2,10,22,.54); }
.sequenceReadout span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--key-color); box-shadow: 0 0 10px var(--key-color); }
.sequenceReadout span.current { border-color: var(--key-color); box-shadow: inset 0 0 15px color-mix(in srgb, var(--key-color) 20%, transparent); animation: keyTarget 1.25s ease-in-out infinite; }
.sequenceReadout span.done { background: color-mix(in srgb, var(--key-color) 14%, transparent); opacity: .45; }
.simStatus { min-height: 22px; margin: 17px 0 0; color: #aac0d4; font-size: 11px; }
.simStatus.error { color: #ff7a91; }
.simStatus.success { color: var(--green); }
.simReset { margin-top: 23px; padding: 11px 15px; border: 1px solid rgba(89,230,255,.3); color: #bdeffc; background: rgba(89,230,255,.06); font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.simReset span { margin-left: 9px; color: var(--cyan); }
.keyBay { padding: clamp(28px, 5vw, 65px); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 12px; }
.keyBay button { min-width: 0; min-height: 270px; padding: 20px 8px; border: 1px solid rgba(148,201,255,.12); color: #8ca5bd; background: rgba(4,13,28,.48); cursor: pointer; transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease; }
.keyBay button:hover,
.keyBay button:focus-visible { transform: translateY(-7px); border-color: rgba(89,230,255,.4); color: #e5faff; background: rgba(12,35,58,.65); }
.keyBay button.correct { border-color: var(--green); background: rgba(103,245,181,.1); }
.keyBay button.wrong { animation: wrongKey .45s ease; border-color: var(--red); }
.keyBay img { width: 100%; max-width: 92px; filter: drop-shadow(0 12px 12px rgba(0,0,0,.45)); }
.keyBay span { display: block; margin-top: 23px; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.navigationGrid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tacticalMapCard,
.lineOfFireCard { min-height: 530px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); background: rgba(5,17,34,.7); }
.cardEyebrow { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(148,201,255,.12); color: #b9cde0; font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.cardEyebrow i { color: var(--green); font-style: normal; }
.trainingMap { position: relative; width: min(390px, 90%); aspect-ratio: 1; margin: 36px auto 22px; overflow: hidden; border: 1px solid rgba(89,230,255,.25); border-radius: 50%; background: radial-gradient(circle, rgba(21,66,89,.22), rgba(1,8,19,.82) 70%); box-shadow: inset 0 0 34px rgba(89,230,255,.08), 0 0 30px rgba(0,0,0,.26); }
.trainingMap::before,
.trainingMap::after { content: ''; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(89,230,255,.1); }
.trainingMap::after { transform: rotate(90deg); }
.mapRange { position: absolute; inset: 19%; border: 1px dashed rgba(89,230,255,.18); border-radius: 50%; }
.mapPilot { position: absolute; z-index: 3; left: calc(50% - 5px); top: calc(50% - 5px); width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%); filter: drop-shadow(0 0 7px #fff); }
.mapEnemy,
.mapKey,
.mapReward { position: absolute; width: 7px; height: 7px; border-radius: 50%; }
.mapEnemy { background: var(--red); box-shadow: 0 0 7px var(--red); }
.enemyOne { top: 20%; left: 33%; }.enemyTwo { top: 38%; right: 18%; }.enemyThree { bottom: 25%; left: 21%; }
.mapKey { top: 18%; right: 35%; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: haloPulse 2s ease infinite; }
.mapReward { bottom: 18%; right: 30%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.mapWall { position: absolute; height: 5px; border-radius: 4px; background: #587086; box-shadow: 0 0 5px rgba(116,155,181,.4); }
.wallOne { width: 60px; top: 31%; left: 20%; transform: rotate(22deg); }.wallTwo { width: 78px; right: 18%; bottom: 32%; transform: rotate(-48deg); }.wallThree { width: 45px; left: 36%; bottom: 15%; }
.mapLegend { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 17px; color: #7e97b0; font-size: 8px; text-transform: uppercase; }
.mapLegend span { display: flex; align-items: center; gap: 6px; }
.mapLegend i { width: 7px; height: 7px; border-radius: 50%; }
.legendPilot { background: #fff; }.legendEnemy { background: var(--red); }.legendKey { background: var(--amber); }.legendReward { background: var(--green); }.mapLegend .legendWall { width: 12px; height: 4px; border-radius: 1px; background: #69839a; }
.fireLesson { position: relative; height: 280px; margin-top: 24px; overflow: hidden; background: linear-gradient(90deg, rgba(89,230,255,.03), transparent); }
.fireShip,
.fireEnemy { position: absolute; z-index: 2; width: 90px; height: 90px; object-fit: contain; }
.fireShip { left: 6%; top: 34%; transform: rotate(90deg); filter: drop-shadow(0 0 14px rgba(89,230,255,.32)); }
.fireEnemy { right: 5%; top: 34%; transform: rotate(-90deg); filter: drop-shadow(0 0 14px rgba(255,102,132,.28)); }
.laserLane { position: absolute; left: 21%; right: 20%; top: 48%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan) 12% 90%, transparent); box-shadow: 0 0 10px var(--cyan); animation: laserTravel 1.6s ease-in-out infinite; }
.blockedLane { position: absolute; left: 30%; right: 27%; top: 72%; border-top: 1px dashed rgba(255,102,132,.45); }
.trainingObstacle { position: absolute; z-index: 2; left: 54%; top: 61%; width: 48px; height: 48px; border: 2px solid rgba(255,102,132,.48); transform: rotate(45deg); background: #172438; box-shadow: inset 0 0 14px rgba(255,102,132,.11); }
.lineOfFireCard h3 { margin: 8px 0; font-family: Impact, sans-serif; font-size: 31px; text-transform: uppercase; }
.lineOfFireCard > p { margin: 0; color: #8da5bd; font-size: 13px; line-height: 1.75; }

.threatGrid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.threatGrid article { min-height: 370px; padding: 24px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(10,27,50,.72), rgba(4,11,25,.58)); transition: transform .28s ease, border-color .28s ease; }
.threatGrid article:hover { transform: translateY(-6px); border-color: rgba(255,102,132,.35); }
.threatGrid article > div { height: 185px; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,102,132,.12), transparent 55%); }
.threatGrid img { width: 145px; height: 145px; object-fit: contain; filter: drop-shadow(0 15px 13px rgba(0,0,0,.42)) drop-shadow(0 0 14px rgba(255,102,132,.19)); transition: transform .3s ease; }
.threatGrid article:hover img { transform: scale(1.06) rotate(-2deg); }
.threatGrid article > span { color: var(--red); font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.threatGrid h3 { margin: 8px 0 4px; font-family: "Arial Narrow", sans-serif; font-size: 21px; text-transform: uppercase; }
.threatGrid p { margin: 0; color: #829ab3; font-size: 12px; line-height: 1.68; }
.streakLesson { margin-top: 27px; padding: clamp(28px, 5vw, 58px); display: grid; grid-template-columns: minmax(300px, .72fr) 1fr; align-items: center; gap: clamp(30px, 5vw, 70px); border: 1px solid rgba(255,184,76,.22); background: radial-gradient(circle at 20% 50%, rgba(255,184,76,.1), transparent 30%), rgba(7,18,35,.72); }
.streakBadges { display: flex; align-items: center; justify-content: center; }
.streakBadges img { width: 34%; margin-left: -5%; filter: drop-shadow(0 14px 13px rgba(0,0,0,.45)); }
.streakBadges img:nth-child(2) { position: relative; z-index: 2; width: 41%; }
.streakLesson h3 { margin: 9px 0 7px; font-family: Impact, sans-serif; font-size: clamp(30px, 3.5vw, 48px); text-transform: uppercase; }
.streakLesson p:not(.kicker) { margin: 0; color: #92a8bf; font-size: 13px; line-height: 1.7; }

.coopProtocol { margin-top: 53px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.coopProtocol article { position: relative; min-height: 430px; padding: 23px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(12,31,55,.72), rgba(4,11,25,.62)); }
.coopProtocol article > span { position: absolute; top: 17px; right: 18px; color: rgba(89,230,255,.4); font-family: Consolas, monospace; font-size: 9px; }
.protocolArt { height: 210px; display: grid; place-items: center; background: radial-gradient(circle, rgba(89,230,255,.12), transparent 55%); }
.protocolArt img { width: 165px; height: 165px; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(0,0,0,.45)) drop-shadow(0 0 13px rgba(89,230,255,.18)); transition: transform .35s ease; }
.protocolArt.boss img { width: 190px; height: 190px; }
.coopProtocol article:hover img { transform: translateY(-6px) scale(1.04); }
.coopProtocol h3 { margin: 13px 0 7px; font-family: "Arial Narrow", sans-serif; font-size: 19px; text-transform: uppercase; }
.coopProtocol p { margin: 0; color: #8299b1; font-size: 12px; line-height: 1.68; }
.rescueBrief { margin-top: 26px; padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: minmax(220px, .5fr) 1fr; align-items: center; gap: clamp(30px, 6vw, 90px); border: 1px solid rgba(103,245,181,.22); background: radial-gradient(circle at 16% 50%, rgba(103,245,181,.11), transparent 30%), rgba(5,18,34,.76); }
.rescueBrief img { width: min(280px, 100%); justify-self: center; filter: drop-shadow(0 20px 18px rgba(0,0,0,.46)) drop-shadow(0 0 18px rgba(103,245,181,.22)); animation: shipFloat 5s ease-in-out infinite; }
.rescueBrief span { color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.rescueBrief h3 { margin: 10px 0 8px; font-family: Impact, sans-serif; font-size: clamp(30px, 4vw, 50px); line-height: 1; text-transform: uppercase; }
.rescueBrief p { margin: 0; color: #91a9c0; font-size: 13px; line-height: 1.75; }

.stageJourney { margin-top: 56px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 22px; }
.stageJourney article { position: relative; min-height: 470px; padding: 27px; overflow: hidden; border: 1px solid rgba(181,140,255,.2); background: radial-gradient(circle at 50% 33%, rgba(181,140,255,.11), transparent 38%), linear-gradient(145deg, rgba(15,23,55,.77), rgba(5,9,26,.72)); }
.stageJourney article::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, #b58cff, transparent); }
.stageNumber { position: absolute; right: 22px; top: 17px; color: rgba(181,140,255,.35); font-family: Impact, sans-serif; font-size: 44px; }
.stageLabel { color: #c9b0ff; font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.stageShips { height: 225px; margin: 22px 0 12px; display: flex; align-items: center; justify-content: center; }
.stageShips :is(img, academy-ship) { width: 39%; margin-left: -14%; filter: drop-shadow(0 12px 12px rgba(0,0,0,.48)); transition: transform .3s ease; }
.stageShips :is(img, academy-ship):first-child { margin-left: 0; }
.stageShips :is(img, academy-ship):nth-child(2) { transform: translateY(-16px); }
.stageShips :is(img, academy-ship):nth-child(3) { transform: translateY(16px); }
.stageShips :is(img, academy-ship):nth-child(4) { transform: translateY(-8px); }
.stageJourney article:hover .stageShips :is(img, academy-ship) { transform: translateY(-7px) scale(1.05); }
.stageJourney h3 { margin: 0; font-family: "Arial Narrow", sans-serif; font-size: 21px; text-transform: uppercase; }
.stageJourney p { margin: 9px 0 0; color: #889fb7; font-size: 12px; line-height: 1.7; }
.stageArrow { color: #b58cff; font-family: sans-serif; font-size: 40px; font-style: normal; text-shadow: 0 0 13px rgba(181,140,255,.45); }

.routeControls { margin-top: 50px; display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); border: 1px solid rgba(181,140,255,.2); background: rgba(5,10,27,.67); }
.routeFilter { min-height: 86px; padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; border: 0; border-right: 1px solid rgba(148,201,255,.11); color: #8299b1; background: transparent; text-align: left; cursor: pointer; transition: color .2s ease, background .2s ease; }
.routeFilter:last-child { border-right: 0; }
.routeFilter:hover { color: #eef8ff; background: rgba(181,140,255,.06); }
.routeFilter.active { color: #fff; background: linear-gradient(130deg, rgba(181,140,255,.19), rgba(89,230,255,.07)); box-shadow: inset 0 -2px #b58cff; }
.routeGlyph { grid-row: 1 / 3; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 11px currentColor; opacity: .7; }
.routeGlyph.resistance { border-radius: 5px; transform: rotate(45deg); }.routeGlyph.speed { clip-path: polygon(0 44%, 67% 44%, 48% 0, 100% 52%, 33% 52%, 52% 100%); border: 0; border-radius: 0; background: currentColor; }.routeGlyph.power { border-radius: 50%; border-width: 5px; }.routeGlyph.control { border-style: dashed; }
.routeFilter span { align-self: end; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.routeFilter small { align-self: start; margin-top: 3px; color: #647d96; font-size: 8px; }
.routeStatus { min-height: 55px; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; color: #899fb7; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.routeStatus p { margin: 0; }
.routeStatus span { display: flex; align-items: center; gap: 8px; color: #6f889f; }
.routeStatus span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); animation: statusPulse 1.8s ease infinite; }
.evolutionRoutes { display: grid; gap: 26px; }
.evolutionRoute { --route-color: #59e6ff; --route-rgb: 89,230,255; position: relative; padding: 27px; overflow: hidden; border: 1px solid rgba(var(--route-rgb), .22); background: linear-gradient(145deg, rgba(var(--route-rgb), .065), rgba(4,10,25,.74) 42%); animation: routeReveal .5s ease both; }
.evolutionRoute[data-route="resistance"] { --route-color: #6ee7b7; --route-rgb: 110,231,183; }
.evolutionRoute[data-route="speed"] { --route-color: #59e6ff; --route-rgb: 89,230,255; }
.evolutionRoute[data-route="power"] { --route-color: #ffad5b; --route-rgb: 255,173,91; }
.evolutionRoute[data-route="control"] { --route-color: #b58cff; --route-rgb: 181,140,255; }
.routeHeader { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid rgba(var(--route-rgb), .14); }
.routeRoman { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(var(--route-rgb), .45); color: var(--route-color); font-family: Consolas, monospace; font-size: 10px; }
.routeHeader h3 { margin: 0; font-family: Impact, sans-serif; font-size: 29px; letter-spacing: .03em; text-transform: uppercase; }
.routeHeader p { margin: 3px 0 0; color: #7991aa; font-size: 10px; }
.routeHeader > span:last-child { color: var(--route-color); font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.routeTree { position: relative; margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; align-items: stretch; }
.routeTree::before { content: ''; position: absolute; z-index: 0; left: 16%; right: 16%; top: 50%; height: 1px; background: linear-gradient(90deg, rgba(var(--route-rgb),.12), var(--route-color), rgba(var(--route-rgb),.12)); box-shadow: 0 0 10px rgba(var(--route-rgb),.2); }
.routeTier { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.routeTierLabel { padding-left: 2px; color: rgba(var(--route-rgb), .75); font-size: 7px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.evolutionNode { position: relative; width: 100%; min-height: 255px; padding: 15px; display: grid; grid-template-rows: 125px auto; overflow: hidden; border: 1px solid rgba(var(--route-rgb),.18); color: #eaf4ff; background: linear-gradient(145deg, rgba(12,28,52,.94), rgba(4,10,23,.95)); text-align: left; cursor: pointer; clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px)); transition: transform .27s ease, border-color .27s ease, box-shadow .27s ease; }
.evolutionNode::before { content: ''; position: absolute; inset: 0; opacity: .55; background: radial-gradient(circle at 50% 32%, rgba(var(--route-rgb),.13), transparent 40%); transition: opacity .25s ease; }
.evolutionNode:hover,
.evolutionNode:focus-visible { transform: translateY(-5px); border-color: rgba(var(--route-rgb),.55); box-shadow: 0 18px 36px rgba(0,0,0,.28), inset 0 0 24px rgba(var(--route-rgb),.05); }
.evolutionNode:hover::before { opacity: 1; }
.nodeVisual { position: relative; display: grid; place-items: center; }
.nodeVisual::before { content: ''; position: absolute; width: 100px; height: 100px; border: 1px solid rgba(var(--route-rgb),.18); border-radius: 50%; background: repeating-conic-gradient(from 30deg, rgba(var(--route-rgb),.24) 0 1deg, transparent 1deg 35deg); mask-image: radial-gradient(transparent 68%, #000 69% 70%, transparent 71%); animation: slowSpin 30s linear infinite; }
.nodeVisual :is(img, academy-ship) { position: relative; z-index: 1; width: 118px; height: 118px; object-fit: contain; filter: drop-shadow(0 13px 12px rgba(0,0,0,.42)) drop-shadow(0 0 12px rgba(var(--route-rgb),.25)); transition: transform .3s ease; }
.evolutionNode:hover .nodeVisual :is(img, academy-ship) { transform: scale(1.08) translateY(-3px); }
.nodeStage { position: absolute; z-index: 2; top: 2px; left: 2px; padding: 4px 6px; color: var(--route-color); background: rgba(2,8,19,.64); font-size: 7px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.nodeCopy { position: relative; z-index: 1; padding-top: 10px; border-top: 1px solid rgba(var(--route-rgb),.12); }
.nodeCopy strong { display: block; font-family: "Arial Narrow", sans-serif; font-size: 20px; line-height: 1; text-transform: uppercase; }
.nodeCopy span { display: block; margin-top: 6px; color: var(--route-color); font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.nodeCopy small { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: #6f879f; font-size: 8px; }
.nodeCopy small i { color: var(--route-color); font-size: 13px; font-style: normal; }
.routeTier.finals { display: grid; grid-template-columns: repeat(var(--final-count, 1), 1fr); gap: 12px; }
.routeTier.finals .routeTierLabel { grid-column: 1 / -1; }
.routeTier.finals .evolutionNode { min-height: 255px; }
.routeTier.finals .nodeVisual :is(img, academy-ship) { width: 105px; height: 105px; }
.evolutionRoute.branching .routeTree { grid-template-columns: .8fr .8fr 1.6fr; }
.evolutionRoute.branching .routeTier.finals .evolutionNode { padding-inline: 10px; }
.evolutionRoute.branching .routeTier.finals .nodeCopy strong { font-size: 16px; }
.evolutionRoute.branching .routeTier.finals .nodeCopy span { min-height: 24px; font-size: 7px; }

.principleGrid { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principleGrid article { min-height: 250px; padding: 28px; border-top: 1px solid rgba(181,140,255,.35); background: rgba(7,15,34,.58); }
.principleGrid span { color: #b58cff; font-family: Consolas, monospace; font-size: 9px; }
.principleGrid h3 { margin: 25px 0 8px; font-family: "Arial Narrow", sans-serif; font-size: 19px; text-transform: uppercase; }
.principleGrid p { margin: 0; color: #8199b2; font-size: 12px; line-height: 1.7; }
.branchWarning { margin-top: 27px; padding: clamp(27px,4vw,48px); display: grid; grid-template-columns: 160px 1fr 160px; align-items: center; gap: clamp(22px,4vw,52px); border: 1px solid rgba(181,140,255,.22); background: radial-gradient(circle at 12% 50%, rgba(255,173,91,.09), transparent 22%), radial-gradient(circle at 88% 50%, rgba(181,140,255,.11), transparent 22%), rgba(6,13,31,.72); }
.branchWarning > :is(img, academy-ship) { width: 155px; filter: drop-shadow(0 15px 13px rgba(0,0,0,.45)); }
.branchWarning span { color: #b58cff; font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.branchWarning strong { display: block; margin-top: 8px; font-family: "Arial Narrow", sans-serif; font-size: 22px; text-transform: uppercase; }
.branchWarning p { margin: 8px 0 0; color: #8da4bb; font-size: 12px; line-height: 1.72; }

.rulesGraduation,
.evolutionGraduation { margin-bottom: 100px; }
.evolutionGraduation { border-color: rgba(181,140,255,.24); }

.evolutionDialog {
  --dialog-color: #b58cff;
  --dialog-rgb: 181,140,255;
  position: fixed;
  width: min(920px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: clamp(28px, 5vw, 56px);
  overflow: auto;
  border: 1px solid rgba(var(--dialog-rgb),.42);
  border-radius: 0;
  color: var(--white);
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,.016) 7px 8px), linear-gradient(145deg, #0b1934, #050817 72%);
  box-shadow: 0 30px 100px rgba(0,0,0,.8), inset 0 0 55px rgba(var(--dialog-rgb),.05);
}
.evolutionDialog[open] { display: grid; grid-template-columns: minmax(240px,.72fr) 1.28fr; gap: clamp(30px,5vw,62px); align-items: center; animation: dialogEnter .32s ease both; }
.evolutionDialog::backdrop { background: rgba(0,4,14,.82); backdrop-filter: blur(11px) saturate(.7); }
.evolutionDialog .dialogClose { z-index: 6; border-color: rgba(var(--dialog-rgb), .3); color: var(--dialog-color); }
.evolutionDialog .dialogClose:hover { color: #071321; background: var(--dialog-color); }
.evolutionDialogVisual { position: relative; min-height: 360px; display: grid; place-items: center; }
.dialogRings { position: absolute; inset: 8%; border: 1px solid rgba(var(--dialog-rgb),.3); border-radius: 50%; background: repeating-conic-gradient(from 10deg, rgba(var(--dialog-rgb),.45) 0 1deg, transparent 1deg 25deg); mask-image: radial-gradient(transparent 57%, #000 58% 59%, transparent 60%); animation: slowSpin 30s linear infinite; }
.evolutionDialogShip { position: relative; z-index: 2; width: 78%; filter: drop-shadow(0 24px 20px rgba(0,0,0,.52)) drop-shadow(0 0 24px rgba(var(--dialog-rgb),.36)); animation: shipFloat 4.6s ease-in-out infinite; }
.evolutionEffect { position: absolute; z-index: 3; width: 83%; opacity: .72; mix-blend-mode: screen; pointer-events: none; filter: drop-shadow(0 0 15px rgba(var(--dialog-rgb),.4)); }
.evolutionEffect[hidden] { display: none; }
.evolutionDialogCopy { position: relative; z-index: 2; }
.evolutionDialog .dialogCategory { color: var(--dialog-color); }
.evolutionDialogCopy h2 { margin: 0; font-family: Impact, sans-serif; font-size: clamp(45px,6vw,70px); line-height: .95; text-transform: uppercase; }
.evolutionAbility { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; color: var(--dialog-color); text-transform: uppercase; }
.evolutionAbility span { color: #6f879f; font-size: 7px; font-weight: 850; letter-spacing: .14em; }
.evolutionAbility strong { font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.evolutionProfile { margin-top: 25px; display: grid; gap: 12px; }
.evolutionProfile section { padding: 17px 19px; border: 1px solid rgba(var(--dialog-rgb),.16); background: rgba(2,8,20,.3); }
.evolutionProfile h3 { margin: 0; color: var(--dialog-color); font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.evolutionCharacteristics ul { margin: 12px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.evolutionCharacteristics li { position: relative; padding-left: 15px; color: #abc0d4; font-size: 11px; line-height: 1.55; }
.evolutionCharacteristics li::before { content: ''; position: absolute; top: .55em; left: 0; width: 5px; height: 5px; border: 1px solid var(--dialog-color); transform: rotate(45deg); box-shadow: 0 0 7px rgba(var(--dialog-rgb),.45); }
.evolutionSpecialty { border-left: 2px solid var(--dialog-color) !important; background: rgba(var(--dialog-rgb),.06) !important; }
.evolutionSpecialty p { margin: 8px 0 0; color: #b7cadc; font-size: 12px; line-height: 1.7; }
.evolutionDoctrine { margin-top: 25px; padding: 17px 19px; border-left: 2px solid var(--dialog-color); background: rgba(var(--dialog-rgb),.06); }
.evolutionDoctrine span,
.evolutionRequirements > span { color: var(--dialog-color); font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.evolutionDoctrine p { margin: 7px 0 0; color: #91a8c0; font-size: 12px; line-height: 1.7; }
.evolutionRequirements { margin-top: 20px; }
.evolutionRequirements > div { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.requirementChip { padding: 7px 10px 7px 7px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(var(--dialog-rgb),.18); color: #b8c9d9; background: rgba(2,8,20,.38); font-size: 9px; font-weight: 750; }
.requirementChip img { width: 25px; height: 25px; object-fit: contain; }
.evolutionCaution { margin: 18px 0 0; color: #718aa3; font-size: 10px; line-height: 1.6; }

@keyframes evolutionRingTilt {
  0%, 100% { transform: rotateX(67deg) rotateZ(-8deg); }
  50% { transform: rotateX(72deg) rotateZ(8deg) scale(1.05); }
}
@keyframes beamPulse { 0%,100% { opacity: .25; transform: scaleX(.8); } 50% { opacity: .72; transform: scaleX(1.06); } }
@keyframes panelReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes stickMove { 0%,100% { transform: translate(0); } 30% { transform: translate(27px,-23px); } 65% { transform: translate(-25px,18px); } }
@keyframes keyTarget { 0%,100% { transform: scale(1); } 50% { transform: scale(1.13); } }
@keyframes wrongKey { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes laserTravel { 0%,100% { opacity: .3; transform: scaleX(.1); transform-origin: left; } 45%,80% { opacity: 1; transform: scaleX(1); transform-origin: left; } }
@keyframes routeReveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .guideHero { grid-template-columns: minmax(0,1fr) minmax(360px,.72fr); }
  .missionCycle { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cycleConnector { display: none; }
  .cycleCard { min-height: 340px; }
  .controlPanel { gap: 28px; }
  .keyBay { grid-template-columns: repeat(3,1fr); }
  .keyBay button { min-height: 210px; }
  .coopProtocol { grid-template-columns: repeat(2,1fr); }
  .routeTree { gap: 22px; }
  .evolutionRoute.branching .routeTree { grid-template-columns: .72fr .72fr 1.56fr; }
  .routeTier.finals .nodeVisual :is(img, academy-ship) { width: 92px; height: 92px; }
  .branchWarning { grid-template-columns: 125px 1fr 125px; }
}

@media (max-width: 860px) {
  .guideHero { min-height: 980px; padding: 130px 28px 80px; grid-template-columns: 1fr; }
  .guideHeroArt { background-position: 62% center; }
  .guideHeroShade,
  .evolutionHero .guideHeroShade { background: linear-gradient(180deg, rgba(2,7,20,.95) 0%, rgba(2,7,20,.82) 40%, rgba(2,7,20,.3) 72%, #020817 100%); }
  .rulesHeroConsole,
  .evolutionHeroCradle { width: min(570px, 88vw); margin-top: 10px; }
  .missionCycle { grid-template-columns: 1fr 1fr; }
  .controlPanel { grid-template-columns: 1fr; }
  .commandKey { min-height: 0; padding: 24px 0 0; border-top: 1px solid rgba(148,201,255,.13); border-left: 0; text-align: center; }
  .commandKey kbd { margin: 0 auto; }
  .commandKey p { margin-inline: auto; }
  .touchPanel { grid-template-columns: 1fr 1fr; }
  .touchStick { grid-column: 1 / -1; }
  .touchCommand img { width: 110px; }
  .flightLessons { grid-template-columns: 1fr; }
  .keySimulator { grid-template-columns: 1fr; }
  .keyBriefing { border-right: 0; border-bottom: 1px solid rgba(148,201,255,.13); }
  .keyBay { grid-template-columns: repeat(5,1fr); }
  .keyBay button { min-height: 190px; }
  .navigationGrid { grid-template-columns: 1fr; }
  .threatGrid { grid-template-columns: 1fr 1fr; }
  .streakLesson { grid-template-columns: 1fr; text-align: center; }
  .coopProtocol { grid-template-columns: 1fr 1fr; }
  .rescueBrief { grid-template-columns: 1fr; text-align: center; }
  .stageJourney { grid-template-columns: 1fr; }
  .stageArrow { transform: rotate(90deg); justify-self: center; }
  .stageJourney article { min-height: 420px; }
  .routeControls { grid-template-columns: repeat(2,1fr); }
  .routeFilter { border-bottom: 1px solid rgba(148,201,255,.11); }
  .routeFilter:first-child { grid-column: 1 / -1; }
  .evolutionRoute { padding: 22px; }
  .routeTree,
  .evolutionRoute.branching .routeTree { grid-template-columns: 1fr; gap: 18px; }
  .routeTree::before { left: 50%; right: auto; top: 7%; bottom: 7%; width: 1px; height: auto; }
  .routeTier.finals { grid-template-columns: repeat(var(--final-count,1), 1fr); }
  .evolutionNode { min-height: 245px; }
  .principleGrid { grid-template-columns: 1fr 1fr; }
  .branchWarning { grid-template-columns: 105px 1fr 105px; }
  .evolutionDialog[open] { grid-template-columns: .72fr 1.28fr; }
}

@media (max-width: 590px) {
  .guideHero { min-height: 880px; padding: 108px 20px 55px; }
  .guideHeroArt { background-position: 67% center; }
  .guideHero h1 { font-size: clamp(41px,12.7vw,62px); }
  .rulesHeroConsole,
  .evolutionHeroCradle { width: 100%; }
  .consoleSignal { min-width: 101px; padding: 7px 8px; }
  .consoleSignal strong { font-size: 8px; }
  .cradleIdentity { right: 0; min-width: 155px; }
  .missionCycle { grid-template-columns: 1fr; }
  .cycleCard { min-height: 330px; }
  .controlTabs { grid-template-columns: 1fr; }
  .controlTab { min-height: 48px; border-right: 0; border-bottom: 1px solid rgba(148,201,255,.12); }
  .controlPanel { padding: 32px 19px; }
  .keyCluster { width: 220px; grid-template-columns: repeat(3,60px); grid-template-rows: repeat(2,60px) auto; }
  .touchPanel { grid-template-columns: 1fr 1fr; }
  .touchStick { width: 210px; }
  .touchCommand img { width: 88px; }
  .keyBay { grid-template-columns: repeat(2,1fr); }
  .keyBay button { min-height: 180px; }
  .keyBay button:last-child { grid-column: 1 / -1; }
  .sequenceReadout span { width: 34px; height: 34px; }
  .tacticalMapCard,
  .lineOfFireCard { min-height: 0; padding: 24px 18px; }
  .trainingMap { width: 100%; }
  .fireLesson { height: 230px; }
  .fireShip,
  .fireEnemy { width: 68px; height: 68px; }
  .threatGrid,
  .coopProtocol { grid-template-columns: 1fr; }
  .threatGrid article { min-height: 340px; }
  .coopProtocol article { min-height: 390px; }
  .streakBadges img { width: 37%; }
  .rescueBrief { padding-inline: 22px; }
  .stageJourney article { min-height: 405px; }
  .stageShips { height: 205px; }
  .routeControls { grid-template-columns: 1fr; }
  .routeFilter:first-child { grid-column: auto; }
  .routeFilter { min-height: 65px; }
  .routeStatus { align-items: flex-start; flex-direction: column; gap: 7px; }
  .routeHeader { grid-template-columns: auto 1fr; }
  .routeHeader > span:last-child { grid-column: 2; }
  .routeTier.finals { grid-template-columns: 1fr; }
  .evolutionNode,
  .routeTier.finals .evolutionNode { min-height: 235px; }
  .principleGrid { grid-template-columns: 1fr; }
  .principleGrid article { min-height: 210px; }
  .branchWarning { grid-template-columns: 70px 1fr 70px; padding-inline: 14px; gap: 10px; }
  .branchWarning > :is(img, academy-ship) { width: 70px; }
  .branchWarning strong { font-size: 16px; }
  .branchWarning p { font-size: 10px; }
  .evolutionDialog[open] { grid-template-columns: 1fr; padding: 25px 20px 30px; gap: 8px; }
  .evolutionDialogVisual { min-height: 220px; }
  .evolutionDialogShip { width: 52%; }
  .evolutionEffect { width: 55%; }
  .evolutionDialogCopy { text-align: center; }
  .evolutionAbility { justify-content: center; }
  .evolutionProfile { text-align: left; }
  .evolutionDoctrine { text-align: left; }
  .evolutionRequirements > div { justify-content: center; }
  .evolutionCaution { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .guideHeroArt { transform: none; }
}

.speedFlightNotice { margin: 24px 0; padding: 24px; border: 1px solid #d879f944; border-radius: 18px; background: #111827; color: #c3d1e5; line-height: 1.65; }
.speedFlightNotice h3 { color: #f3d0ff; margin: 0 0 10px; }
.speedFlightNotice a { color: #67e8f9; }
