.pilot-support {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto 38px;
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 179, 26, .55);
  border-radius: 7px;
  color: #eef5ff;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 179, 26, .13), transparent 30%),
    linear-gradient(135deg, rgba(11, 32, 48, .98), rgba(5, 17, 29, .98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28), inset 0 0 42px rgba(56, 220, 255, .035);
  font-family: Rajdhani, Arial, sans-serif;
}
.pilot-support::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(rgba(56, 220, 255, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 220, 255, .15) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, transparent);
}
.pilot-support__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.pilot-support__kicker { margin: 0 0 10px; color: #ffb31a; font: 800 10px/1 "JetBrains Mono", monospace; letter-spacing: .18em; }
.pilot-support h2 { margin: 0; color: #f4f8ff; font-size: clamp(27px, 4vw, 46px); line-height: .98; letter-spacing: -.035em; }
.pilot-support__copy { max-width: 720px; margin: 15px 0 0; color: #9aabc0; font-size: 16px; line-height: 1.55; }
.pilot-support__fine-print { max-width: 760px; margin: 10px 0 0; color: #6f839b; font: 600 9px/1.55 "JetBrains Mono", monospace; letter-spacing: .035em; }
.pilot-support__cta {
  min-width: 210px;
  min-height: 66px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border: 1px solid #ffb31a;
  border-radius: 5px;
  color: #181000;
  background: linear-gradient(180deg, #ffc44c, #f2a112);
  box-shadow: 0 0 24px rgba(255, 179, 26, .2), inset 0 1px rgba(255,255,255,.45);
  font: 900 11px/1 "JetBrains Mono", monospace;
  letter-spacing: .1em;
  text-decoration: none;
}
.pilot-support__cta span { font-size: 7px; letter-spacing: .13em; opacity: .7; }
.pilot-support__cta:disabled { cursor: not-allowed; filter: saturate(.58); opacity: .78; }
.pilot-support__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 11px 24px; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid rgba(93, 127, 157, .28); }
.pilot-support__links a { color: #8196ae; font: 700 9px/1 "JetBrains Mono", monospace; letter-spacing: .1em; text-decoration: none; }
.pilot-support__links a:hover, .pilot-support__links a:focus-visible { color: #ffb31a; }

.delayed-support-link {
  box-sizing: border-box;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  color: #ffb31a !important;
  border: 1px solid rgba(255, 179, 26, .58);
  border-radius: 4px;
  background: rgba(255, 179, 26, .075);
  padding: 10px 0;
  font: 800 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .35s ease, max-width .35s ease, padding .35s ease, box-shadow .2s ease;
}
.delayed-support-link.is-visible { max-width: 150px; padding-inline: 13px; opacity: 1; pointer-events: auto; }
.site-header nav .delayed-support-link.is-visible { display: inline-flex; align-items: center; }
.delayed-support-link:hover, .delayed-support-link:focus-visible { box-shadow: 0 0 18px rgba(255, 179, 26, .18); outline: none; }
.arcade-nav { position: relative; }
.arcade-nav .delayed-support-link { position: absolute; left: 50%; transform: translateX(-50%); }

/* Shared readability and answer-feedback rules used across Pilot Arcade. */
.pilot-type-floor { font-size: 11px !important; }
.pilot-feedback-anchor { position: relative !important; overflow: visible !important; }
.pilot-feedback-bubble {
  position: absolute;
  z-index: 1000;
  bottom: calc(100% + 11px);
  left: 50%;
  min-width: max-content;
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #07111d;
  font: 800 11px/1 "JetBrains Mono", monospace;
  letter-spacing: .09em;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.85);
  animation: pilot-feedback-pop 1.9s ease-out forwards;
}
.pilot-feedback-bubble::after {
  content: "";
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: #07111d;
  transform: translateX(-50%) rotate(45deg);
}
.pilot-feedback-bubble.correct { color: #4ae9a1; box-shadow: 0 0 18px rgba(74, 233, 161, .34); }
.pilot-feedback-bubble.incorrect { color: #ff6677; box-shadow: 0 0 18px rgba(255, 102, 119, .34); }
@keyframes pilot-feedback-pop {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(.85); }
  14%, 72% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -7px) scale(.96); }
}

@media (max-width: 700px) {
  .pilot-support__inner { grid-template-columns: 1fr; }
  .pilot-support__cta { width: 100%; }
  .arcade-nav .delayed-support-link { top: calc(100% + 9px); right: 10px; left: auto; transform: none; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
}

@media (max-width: 460px) {
  .pilot-support { width: calc(100% - 18px); margin-top: 38px; padding: 22px 18px; }
  .pilot-support__copy { font-size: 14px; }
  .pilot-support__links { gap: 14px; }
  .site-header .delayed-support-link.is-visible { max-width: 92px; padding-inline: 9px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .delayed-support-link { transition: none; }
  .pilot-feedback-bubble { animation: none; transform: translate(-50%, 0); }
}
