/* BIO: Map overlay behavior and interaction note. */

body.pro-body {
  margin: 0;
  background: #000;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Share Tech Mono', monospace;
  overflow: hidden;   /* BIO: scroll is consumed for carousel rotation later */
  cursor: none;
  min-height: 100vh;
}

/* BIO: Erişilebilirlik — görünmez özet blok + atlama bağlantısı (WCAG visually-hidden / skip). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 12px;
  z-index: 12050;
  padding: 10px 16px;
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #00f5ff;
  background: rgba(4, 10, 22, 0.96);
  border: 1px solid rgba(0, 245, 255, 0.55);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  transform: translateY(-130%);
  transition: transform 0.22s ease, outline-offset 0.15s ease;
  pointer-events: auto;
  cursor: pointer;
}

.skip-link:focus {
  outline: 2px solid #00f5ff;
  outline-offset: 2px;
  transform: translateY(0);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* BIO: Implementation note for this section. */
body.pro-body.pro-pong-open #cur {
  z-index: 10070;
}

/* BIO: Default exit modal / intro2 — block hits on cockpit & HUD; lift #cur above overlays (10075 / 10090). */
body.pro-body.pro-blocking-overlay #cockpit,
body.pro-body.pro-blocking-overlay #cockpit-3d-wrap,
body.pro-body.pro-blocking-overlay .cockpit-3d-canvas,
body.pro-body.pro-blocking-overlay #cockpit-img,
body.pro-body.pro-blocking-overlay #main-vol,
body.pro-body.pro-blocking-overlay #pro-fallback-chrome,
body.pro-body.pro-blocking-overlay #cockpit .pro-lang-fallback:not([hidden]),
body.pro-body.pro-blocking-overlay #pro-scroll-fallback {
  pointer-events: none !important;
}
body.pro-body.pro-blocking-overlay #cur {
  z-index: 10120;
}
/* BIO: #pdx-intro2-overlay uses z-index 10200 — lift decorative ring above fullscreen video. */
body.pro-body.pro-blocking-overlay:has(#pdx-intro2-overlay) #cur {
  z-index: 10250;
}

/* BIO: Default Mode integration note. */
@keyframes pro-cursor-rainbow-pos {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes pro-cursor-ring-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 3px rgba(255, 0, 110, 0.45))
      drop-shadow(0 0 8px rgba(0, 245, 255, 0.32))
      drop-shadow(0 0 14px rgba(191, 0, 255, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 6px rgba(255, 0, 110, 0.8))
      drop-shadow(0 0 14px rgba(0, 245, 255, 0.48))
      drop-shadow(0 0 22px rgba(191, 0, 255, 0.35));
  }
}

body.pro-body #cur {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  /* BIO: Map overlay behavior and interaction note. */
  z-index: 10060;
  pointer-events: none;
}

body.pro-body #cur::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ff006e, #ff7b00, #ffee00, #00ff88, #00f5ff, #bf00ff, #ff006e
  );
  background-size: 300% 100%;
  animation:
    pro-cursor-rainbow-pos 2.6s linear infinite,
    pro-cursor-ring-glow 2s ease-in-out infinite;
  /* BIO: Implementation note for this section. */
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 77.7%,
    #000 77.85%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 77.7%,
    #000 77.85%,
    #000 100%
  );
}

body.pro-body #cur.hov {
  background: none !important;
  border: none !important;
}

body.pro-body #cur.hov::after {
  animation:
    pro-cursor-rainbow-pos 1.4s linear infinite,
    pro-cursor-ring-glow 1.1s ease-in-out infinite;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 87.5%,
    #000 87.62%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 87.5%,
    #000 87.62%,
    #000 100%
  );
}

/* BIO: Implementation note for this section. */
@keyframes pro-cursor-click-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.85;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

body.pro-body #cur[class*="hov"]::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffffff 0%, #e6f7ff 45%, rgba(0, 245, 255, 0) 70%);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(0, 245, 255, 0.85),
    0 0 22px rgba(191, 0, 255, 0.55);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: pro-cursor-click-pulse 0.9s ease-in-out infinite;
  z-index: 2;
}

/* BIO: Planet layout, label, and interaction note. */
@keyframes pro-cursor-about-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(237, 99, 0, 0.65))
      drop-shadow(0 0 10px rgba(255, 120, 40, 0.4));
  }
  50% {
    filter:
      drop-shadow(0 0 8px rgba(237, 99, 0, 0.95))
      drop-shadow(0 0 18px rgba(255, 140, 60, 0.55));
  }
}

body.pro-body #cur.hov-about {
  width: 40px;
  height: 40px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

/* BIO: Planet layout, label, and interaction note. */
body.pro-body #cur.hov-about-sub {
  width: 34px;
  height: 34px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-about::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-about-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #ed6300, #ff7a2e, #ffb347, #ed6300, #c54e00, #ed6300
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

body.pro-body #cur.hov-about-sub::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-about-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #ed6300, #ff7a2e, #ffb347, #ed6300, #c54e00, #ed6300
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

/* BIO: Pro Mode integration note. */
@keyframes pro-cursor-projects-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(251, 55, 141, 0.75))
      drop-shadow(0 0 12px rgba(255, 100, 180, 0.5));
  }
  50% {
    filter:
      drop-shadow(0 0 9px rgba(251, 55, 141, 0.98))
      drop-shadow(0 0 20px rgba(255, 130, 200, 0.62));
  }
}

body.pro-body #cur.hov-projects {
  width: 40px;
  height: 40px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-projects-sub {
  width: 34px;
  height: 34px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-projects::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-projects-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #fb378d, #ff5aa8, #ff8ec4, #fb378d, #d81f6a, #fb378d
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

body.pro-body #cur.hov-projects-sub::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-projects-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #fb378d, #ff5aa8, #ff8ec4, #fb378d, #d81f6a, #fb378d
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

/* BIO: Pro Mode integration note. */
@keyframes pro-cursor-hobbies-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(100, 200, 150, 0.65))
      drop-shadow(0 0 10px rgba(153, 223, 172, 0.4));
  }
  50% {
    filter:
      drop-shadow(0 0 8px rgba(100, 200, 150, 0.95))
      drop-shadow(0 0 18px rgba(180, 240, 200, 0.55));
  }
}

body.pro-body #cur.hov-hobbies {
  width: 40px;
  height: 40px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-hobbies-sub {
  width: 34px;
  height: 34px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-hobbies::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-hobbies-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #5cb87a, #99dfac, #c4f0d0, #99dfac, #3a8f5a, #99dfac
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

body.pro-body #cur.hov-hobbies-sub::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-hobbies-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #5cb87a, #99dfac, #c4f0d0, #99dfac, #3a8f5a, #99dfac
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

/* BIO: Planet layout, label, and interaction note. */
@keyframes pro-cursor-skills-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(199, 15, 205, 0.65))
      drop-shadow(0 0 10px rgba(255, 120, 240, 0.4));
  }
  50% {
    filter:
      drop-shadow(0 0 8px rgba(199, 15, 205, 0.95))
      drop-shadow(0 0 18px rgba(255, 160, 255, 0.55));
  }
}

body.pro-body #cur.hov-skills {
  width: 40px;
  height: 40px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-skills-sub {
  width: 34px;
  height: 34px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-skills::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-skills-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #9a0ca8, #c70fcd, #f070ff, #c70fcd, #7a0a88, #c70fcd
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

body.pro-body #cur.hov-skills-sub::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-skills-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #9a0ca8, #c70fcd, #f070ff, #c70fcd, #7a0a88, #c70fcd
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

/* BIO: Default Mode integration note. */
@keyframes pro-cursor-contact-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(255, 238, 0, 0.7))
      drop-shadow(0 0 12px rgba(255, 250, 120, 0.45));
  }
  50% {
    filter:
      drop-shadow(0 0 9px rgba(255, 238, 0, 0.98))
      drop-shadow(0 0 20px rgba(255, 255, 180, 0.55));
  }
}

body.pro-body #cur.hov-contact {
  width: 40px;
  height: 40px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-contact-sub {
  width: 34px;
  height: 34px;
  transition: width 0.16s, height 0.16s, transform 0.16s;
}

body.pro-body #cur.hov-contact::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-contact-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #c9b800, #ffee00, #fff6a0, #ffee00, #8a7a00, #ffee00
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

body.pro-body #cur.hov-contact-sub::after {
  animation: pro-cursor-rainbow-pos 2.4s linear infinite, pro-cursor-contact-glow 1.6s ease-in-out infinite;
  background: linear-gradient(
    100deg,
    #c9b800, #ffee00, #fff6a0, #ffee00, #8a7a00, #ffee00
  );
  background-size: 300% 100%;
  -webkit-mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
  mask: radial-gradient(
    circle closest-side at center,
    transparent 0,
    transparent 86%,
    #000 86.1%,
    #000 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  body.pro-body #cur::after {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.35));
  }
  body.pro-body #cur.hov-about::after {
    animation: none;
    filter: drop-shadow(0 0 5px rgba(237, 99, 0, 0.6));
  }
  body.pro-body #cur.hov-about-sub::after {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(237, 99, 0, 0.55));
  }
  body.pro-body #cur.hov-projects::after,
  body.pro-body #cur.hov-projects-sub::after {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(251, 55, 141, 0.6));
  }
  body.pro-body #cur.hov-hobbies::after,
  body.pro-body #cur.hov-hobbies-sub::after {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(100, 200, 150, 0.55));
  }
  body.pro-body #cur.hov-skills::after,
  body.pro-body #cur.hov-skills-sub::after {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(199, 15, 205, 0.55));
  }
  body.pro-body #cur.hov-contact::after,
  body.pro-body #cur.hov-contact-sub::after {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(255, 238, 0, 0.6));
  }
}

/* BIO: Implementation note for this section. */
#pro-entry-veil {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;
  pointer-events: none;
  opacity: 1;
  will-change: opacity;
}

/* BIO: Cockpit layout, rendering, and interaction note. */
#cockpit {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* BIO: Cockpit layout, rendering, and interaction note. */
#cockpit-3d-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
/* BIO: Cockpit layout, rendering, and interaction note. */
body.cockpit-3d-active #cockpit-3d-wrap {
  pointer-events: auto;
}
#cockpit-3d-wrap .cockpit-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  /* BIO: Implementation note for this section. */
  touch-action: none;
}

/* BIO: Audio, SFX, and mini-player behavior note. */
body.cockpit-3d-active #main-vol {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* BIO: Mobil Pro — mini player yok (pro-mode/script.js SKIP / performans); ses blokları korunur. */
body.pro-body.pro-script-mobile-hide-mp #mini-player {
  display: none !important;
}
body.pro-body.pro-script-mobile-hide-mp #main-vol > .mv-sep {
  display: none !important;
}

/* BIO: Cockpit layout, rendering, and interaction note. */
#cockpit-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* BIO: Slight zoom-out vs full-bleed cover (~10% more of the artwork visible) */
  transform: scale(1.01);
  transform-origin: center center;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* BIO: Cockpit layout, rendering, and interaction note. */
.ck-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* BIO: Cockpit layout, rendering, and interaction note. */
  background:
    radial-gradient(ellipse at center,
      transparent 45%,
      rgba(0, 0, 0, 0.18) 82%,
      rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}

/* BIO: Cockpit layout, rendering, and interaction note. */
body.pro-body .pro-frog-sticker-hint {
  position: fixed;
  z-index: 10040;
  margin: 0;
  padding: 5px 10px;
  max-width: 90vw;
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: 4px;
  background: rgba(2, 6, 14, 0.82);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7eefff;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.45);
  pointer-events: none;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
  user-select: none;
}

/* BIO: Pro Mode integration note. */
/* BIO: Cockpit layout, rendering, and interaction note. */

/* BIO: Cockpit layout, rendering, and interaction note. */

/* BIO: Cockpit layout, rendering, and interaction note. */
#cockpit .pro-lang-fallback:not([hidden]) {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}
#pro-fallback-chrome {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 5;
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(92vw, 520px);
  pointer-events: auto;
}
#pro-fallback-chrome.is-visible {
  display: flex;
  align-items: center;
}
#pro-fallback-chrome .pro-fb-row-btn {
  background: #2F343D;
  border: 1px solid rgba(0, 245, 255, 0.5);
  color: #00F5FF;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  cursor: none;
  opacity: 0.9;
  max-width: 140px;
  line-height: 1.2;
  text-align: center;
}
#pro-fallback-chrome .pro-fb-row-btn:hover {
  border-color: #00F5FF;
  opacity: 1;
}

/* BIO: Planet layout, label, and interaction note. */
#pro-scroll-fallback {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
#pro-scroll-fallback .pro-scroll-fallback-track {
  position: absolute;
  top: 50%;
  right: 6%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 200px;
  min-height: 180px;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
  pointer-events: none;
}
#pro-scroll-fallback .pro-scroll-planet {
  position: relative;
  width: 124px;
  height: 124px;
  border: none;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  cursor: none;
  flex-shrink: 0;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 200, 140, 0.35) 0%,
    #ed6300 38%,
    #8a3a0a 72%,
    #1a0d04 100%
  );
  box-shadow:
    0 0 0 1px rgba(237, 99, 0, 0.6),
    0 0 28px rgba(237, 99, 0, 0.4),
    inset 0 0 40px rgba(0, 0, 0, 0.45);
  font-family: 'Share Tech Mono', monospace;
  color: #ed6300;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.08em;
  font-size: 10px;
  line-height: 1.2;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
#pro-scroll-fallback .pro-scroll-planet:hover,
#pro-scroll-fallback .pro-scroll-planet:focus-visible {
  box-shadow:
    0 0 0 1px #ff8a40,
    0 0 40px rgba(237, 99, 0, 0.55),
    inset 0 0 32px rgba(255, 200, 120, 0.15);
  transform: scale(1.04);
  outline: 2px solid rgba(237, 99, 0, 0.95);
  outline-offset: 2px;
}
#pro-scroll-fallback .pro-scroll-planet .pro-scroll-planet-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    #c43d00,
    #ed6300,
    #ff8a40,
    #ed6300,
    #8a3a0a,
    #c43d00
  );
  opacity: 0.4;
  z-index: -1;
  filter: blur(10px);
}
#pro-scroll-fallback .pro-scroll-planet .pro-scroll-planet-label {
  position: relative;
  z-index: 1;
  max-width: 96px;
  color: #fff0e0;
  text-shadow: 0 0 10px rgba(237, 99, 0, 0.7);
}
/* BIO: Planet layout, label, and interaction note. */
#pro-scroll-fallback .pro-scroll-planet--projects {
  color: #ff006e;
  background: radial-gradient(circle at 32% 28%, rgba(255, 120, 180, 0.45) 0%, #ff006e 40%, #6a0a3a 72%, #1a0a10 100%);
  box-shadow: 0 0 0 1px rgba(255, 0, 110, 0.55), 0 0 28px rgba(255, 0, 110, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.45);
}
#pro-scroll-fallback .pro-scroll-planet--projects .pro-scroll-planet-glow {
  background: conic-gradient(from 0deg, #880044, #ff006e, #ff88b8, #ff006e, #440028, #880044);
}
#pro-scroll-fallback .pro-scroll-planet--projects .pro-scroll-planet-label {
  color: #ffe8f2;
  text-shadow: 0 0 10px rgba(255, 0, 110, 0.65);
}
#pro-scroll-fallback .pro-scroll-planet--hobbies {
  color: #00ed7e;
  background: radial-gradient(circle at 32% 28%, rgba(150, 255, 200, 0.4) 0%, #00b868 40%, #006040 72%, #041a10 100%);
  box-shadow: 0 0 0 1px rgba(0, 237, 126, 0.55), 0 0 28px rgba(0, 200, 120, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.45);
}
#pro-scroll-fallback .pro-scroll-planet--hobbies .pro-scroll-planet-glow {
  background: conic-gradient(from 0deg, #006040, #00ed7e, #88ffc8, #00ed7e, #004028, #006040);
}
#pro-scroll-fallback .pro-scroll-planet--hobbies .pro-scroll-planet-label {
  color: #e8fff4;
  text-shadow: 0 0 10px rgba(0, 237, 126, 0.6);
}
#pro-scroll-fallback .pro-scroll-planet--skills {
  color: #c70fcd;
  background: radial-gradient(circle at 32% 28%, rgba(220, 150, 255, 0.45) 0%, #bf00ff 38%, #4a0088 72%, #100818 100%);
  box-shadow: 0 0 0 1px rgba(191, 0, 255, 0.5), 0 0 28px rgba(191, 0, 255, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.45);
}
#pro-scroll-fallback .pro-scroll-planet--skills .pro-scroll-planet-glow {
  background: conic-gradient(from 0deg, #4a0088, #bf00ff, #e898ff, #bf00ff, #2a0060, #4a0088);
}
#pro-scroll-fallback .pro-scroll-planet--skills .pro-scroll-planet-label {
  color: #f6e8ff;
  text-shadow: 0 0 10px rgba(199, 15, 205, 0.65);
}
#pro-scroll-fallback .pro-scroll-planet--contact {
  color: #00f5ff;
  background: radial-gradient(circle at 32% 28%, rgba(150, 250, 255, 0.4) 0%, #00a8b8 40%, #004858 72%, #041018 100%);
  box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.5), 0 0 28px rgba(0, 200, 220, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.45);
}
#pro-scroll-fallback .pro-scroll-planet--contact .pro-scroll-planet-glow {
  background: conic-gradient(from 0deg, #006878, #00f5ff, #a8ffff, #00f5ff, #004050, #006878);
}
#pro-scroll-fallback .pro-scroll-planet--contact .pro-scroll-planet-label {
  color: #e8ffff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.6);
}

/* BIO: Pro Mode integration note. */
/* BIO: Map overlay behavior and interaction note. */
@keyframes pro-pong-bg-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pro-pong-bg-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes pro-pong-panel-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pro-pong-panel-out {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
}
#pro-pong-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(3vh, 20px);
  box-sizing: border-box;
  background: rgba(2, 6, 14, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: auto;
  touch-action: none;
  overscroll-behavior: contain;
  opacity: 1;
}
/* BIO: Map overlay behavior and interaction note. */
#pro-pong-overlay:not([hidden]):not(.pro-pong-overlay--closing) {
  animation: pro-pong-bg-in 0.42s cubic-bezier(0.4, 0, 0.2, 1) both;
}
/* BIO: Implementation note for this section. */
#pro-pong-overlay.pro-pong-overlay--closing {
  animation: pro-pong-bg-out 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  pointer-events: none;
}
#pro-pong-overlay[hidden] {
  display: none !important;
}
.pro-pong-panel {
  position: relative;
  max-width: min(96vw, 720px);
  width: 100%;
  padding: 20px 22px 18px;
  border: 1px solid rgba(0, 245, 255, 0.38);
  border-radius: 6px;
  transform-origin: center center;
  animation: pro-pong-panel-in 0.38s cubic-bezier(0.33, 1, 0.2, 1) both;
  background: linear-gradient(
    165deg,
    rgba(10, 22, 36, 0.96) 0%,
    rgba(4, 10, 20, 0.98) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(0, 200, 220, 0.12);
}
#pro-pong-overlay.pro-pong-overlay--closing .pro-pong-panel {
  animation: pro-pong-panel-out 0.38s cubic-bezier(0.33, 1, 0.2, 1) forwards;
}
.pro-pong-title {
  margin: 0 36px 12px 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 2.8vw, 18px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ef5ff;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.45);
}
.pro-pong-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 245, 255, 0.35);
  border-radius: 4px;
  background: rgba(4, 12, 22, 0.85);
  color: #b8f0ff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pro-pong-close:hover,
.pro-pong-close:focus-visible {
  border-color: rgba(0, 245, 255, 0.65);
  color: #e8ffff;
  outline: 2px solid rgba(0, 245, 255, 0.85);
  outline-offset: 2px;
}
.pro-pong-scores {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 235, 255, 0.85);
}
.pro-pong-scores strong {
  color: #7eefff;
  margin-left: 6px;
}
.pro-pong-stage {
  display: flex;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 220, 0.25);
  background: #02060c;
}
#pro-pong-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  touch-action: none;
}
.pro-pong-ready {
  margin: 0 0 12px;
  padding: 14px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0, 245, 255, 0.28);
  background: rgba(4, 14, 24, 0.65);
  text-align: center;
}
.pro-pong-ready-q {
  margin: 0 0 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 3vw, 19px);
  letter-spacing: 0.1em;
  color: #b8f8ff;
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.35);
}
.pro-pong-gate-hint {
  margin: 0 auto 12px;
  max-width: 22em;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 2.8vw, 15px);
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: #ffd9b8;
  text-align: center;
  text-shadow:
    0 0 18px rgba(255, 160, 90, 0.55),
    0 0 36px rgba(255, 120, 60, 0.25);
}

/* BIO: Implementation note for this section. */
#pro-pong-mirror-prep[hidden] {
  display: none !important;
}

/* BIO: Implementation note for this section. */
.pro-pong-overlay--mirror-prep .pro-pong-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pro-pong-mirror-prep {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: min(52vh, 420px);
  margin: 8px 0 14px;
  padding: 12px 12px 18px;
  box-sizing: border-box;
}
.pro-pong-mirror-prep-title {
  margin: 0 0 14px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 4vw, 22px);
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #e8ffff;
  text-shadow:
    0 0 20px rgba(0, 245, 255, 0.45),
    0 0 48px rgba(0, 180, 220, 0.25);
  max-width: 22em;
}
.pro-pong-mirror-prep-body {
  margin: 0 auto 14px;
  max-width: 30em;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(11px, 2.6vw, 13px);
  line-height: 1.55;
  letter-spacing: 0.05em;
  color: rgba(190, 235, 250, 0.92);
}
.pro-pong-mirror-prep-q {
  margin: 0 0 12px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 3vw, 16px);
  letter-spacing: 0.12em;
  color: #ffd9b8;
  text-shadow: 0 0 14px rgba(255, 180, 120, 0.35);
}
.pro-pong-mirror-prep .pro-pong-play-again {
  margin-top: 4px;
  max-width: 280px;
}

.pro-pong-ready-controls {
  margin: 0 0 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: rgba(170, 220, 240, 0.9);
}
.pro-pong-ready .pro-pong-play-again {
  margin-top: 0;
}
.pro-pong-game-hint {
  margin-top: 8px;
}
.pro-pong-hint {
  margin: 10px 0 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: rgba(160, 210, 230, 0.75);
}
.pro-pong-end-msg {
  margin: 8px 0 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #ffcc88;
  text-align: center;
}
.pro-pong-play-again {
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0a1218;
  background: linear-gradient(180deg, #6ef0ff 0%, #20b8d0 100%);
  border: 1px solid rgba(0, 245, 255, 0.5);
  border-radius: 4px;
  cursor: pointer;
}
.pro-pong-play-again:hover,
.pro-pong-play-again:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid rgba(0, 245, 255, 0.95);
  outline-offset: 2px;
}
body.pro-pong-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  #pro-pong-overlay:not([hidden]):not(.pro-pong-overlay--closing) {
    animation-duration: 0.08s !important;
  }
  #pro-pong-overlay.pro-pong-overlay--closing {
    animation-duration: 0.08s !important;
  }
  .pro-pong-panel {
    animation-duration: 0.12s !important;
  }
  #pro-pong-overlay.pro-pong-overlay--closing .pro-pong-panel {
    animation-duration: 0.12s !important;
  }
}

/* BIO: Map overlay behavior and interaction note. */
#pro-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(3vh, 20px);
  box-sizing: border-box;
  /* BIO: Cockpit layout, rendering, and interaction note. */
  pointer-events: none;
  cursor: none;
}
#pro-map-overlay[hidden] {
  display: none !important;
  pointer-events: none;
}
#pro-map-overlay .pro-map-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
  cursor: none;
  /* BIO: Implementation note for this section. */
}
/* BIO: Map overlay behavior and interaction note. */
#pro-map-overlay .pro-map-panel {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(96vw, calc((92vh) * 16 / 9));
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid rgba(0, 245, 255, 0.32);
  border-radius: 6px;
  background-image: url('../assets/pro/common/map.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #02060e;
  box-shadow:
    0 0 0 1px rgba(191, 0, 255, 0.12),
    0 0 36px rgba(0, 245, 255, 0.18),
    0 0 72px rgba(191, 0, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: 'Share Tech Mono', monospace;
  color: rgba(230, 240, 255, 0.95);
  animation: pro-map-panel-in 0.35s ease-out both;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@keyframes pro-map-panel-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pro-map-panel-out {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.97) translateY(-6px);
  }
}
/* BIO: Implementation note for this section. */
#pro-map-overlay.pro-map-overlay--closing {
  pointer-events: none !important;
}
#pro-map-overlay.pro-map-overlay--closing .pro-map-backdrop {
  transition: opacity 0.45s ease-in;
  opacity: 0;
  pointer-events: none;
}
#pro-map-overlay.pro-map-overlay--closing .pro-map-panel {
  animation: pro-map-panel-out 0.45s ease-in forwards;
}
/* BIO: Map overlay behavior and interaction note. */
#pro-map-overlay .pro-map-title {
  position: absolute;
  top: clamp(8px, 1.6%, 22px);
  left: clamp(12px, 2%, 26px);
  margin: 0;
  padding: 4px 12px;
  border: 1px solid rgba(0, 245, 255, 0.45);
  border-radius: 3px;
  background: rgba(2, 6, 14, 0.55);
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  font-size: clamp(11px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1;
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.55);
  box-shadow:
    0 0 12px rgba(0, 245, 255, 0.18),
    inset 0 0 10px rgba(0, 245, 255, 0.08);
  pointer-events: none;
  z-index: 4;
  user-select: none;
  white-space: nowrap;
}
#pro-map-overlay .pro-map-close {
  position: absolute;
  top: clamp(8px, 1.6%, 22px);
  right: clamp(8px, 1.6%, 22px);
  width: clamp(34px, 3.2vw, 44px);
  height: clamp(34px, 3.2vw, 44px);
  border: 1px solid rgba(0, 245, 255, 0.55);
  border-radius: 4px;
  background: rgba(2, 6, 14, 0.62);
  color: #00f5ff;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  cursor: none;
  padding: 0;
  z-index: 4;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.45);
}
#pro-map-overlay .pro-map-close:hover,
#pro-map-overlay .pro-map-close:focus-visible {
  border-color: #00f5ff;
  background: rgba(0, 245, 255, 0.16);
  color: #e8ffff;
  box-shadow:
    0 0 14px rgba(0, 245, 255, 0.55),
    inset 0 0 12px rgba(0, 245, 255, 0.18);
}
#pro-map-overlay .pro-map-hint {
  display: none;
}
/* BIO: Screen-reader description for map dialog (overrides display:none above). */
#pro-map-overlay #pro-map-desc.pro-map-hint.visually-hidden {
  display: block !important;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* BIO: Planet layout, label, and interaction note. */
#pro-map-overlay .pro-map-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* BIO: Map overlay behavior and interaction note. */
#pro-map-overlay .pro-map-node[data-planet-id='about'] {
  --map-x: 50%;
  --map-y: 15.5%;
  --map-d: 10.8%;
  --map-faint: rgba(237, 99, 0, 0.45);
  --map-active-ring: rgba(255, 130, 50, 0.95);
  --map-active-glow: rgba(255, 140, 70, 0.55);
  --map-label-glow: rgba(255, 150, 80, 0.65);
}
#pro-map-overlay .pro-map-node[data-planet-id='projects'] {
  --map-x: 73.09%;
  --map-y: 41%;
  --map-d: 12%;
  --map-faint: rgba(251, 55, 141, 0.5);
  --map-active-ring: rgba(255, 90, 170, 0.95);
  --map-active-glow: rgba(255, 100, 180, 0.55);
  --map-label-glow: rgba(255, 100, 180, 0.65);
}
#pro-map-overlay .pro-map-node[data-planet-id='hobbies'] {
  --map-x: 66%;
  --map-y: 75%;
  --map-d: 11.5%;
  --map-faint: rgba(180, 215, 80, 0.5);
  --map-active-ring: rgba(210, 240, 110, 0.95);
  --map-active-glow: rgba(200, 235, 120, 0.55);
  --map-label-glow: rgba(210, 240, 130, 0.65);
}
#pro-map-overlay .pro-map-node[data-planet-id='skills'] {
  --map-x: 32.57%;
  --map-y: 76%;
  --map-d: 12%;
  --map-faint: rgba(199, 110, 230, 0.5);
  --map-active-ring: rgba(220, 130, 250, 0.95);
  --map-active-glow: rgba(220, 130, 250, 0.55);
  --map-label-glow: rgba(225, 140, 250, 0.65);
}
#pro-map-overlay .pro-map-node[data-planet-id='contact'] {
  --map-x: 27.03%;
  --map-y: 41.39%;
  --map-d: 12.1%;
  --map-faint: rgba(255, 215, 80, 0.55);
  --map-active-ring: rgba(255, 230, 110, 0.95);
  --map-active-glow: rgba(255, 235, 130, 0.55);
  --map-label-glow: rgba(255, 235, 140, 0.7);
}

/* BIO: Planet layout, label, and interaction note. */
#pro-map-overlay .pro-map-node {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  width: var(--map-d);
  aspect-ratio: 1;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: none;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
}
#pro-map-overlay .pro-map-node:focus-visible {
  outline: 2px solid rgba(0, 245, 255, 0.95);
  outline-offset: 4px;
}

/* BIO: Planet layout, label, and interaction note. */
#pro-map-overlay .pro-map-node-hot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
#pro-map-overlay .pro-map-node-hot::before,
#pro-map-overlay .pro-map-node-hot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
#pro-map-overlay .pro-map-node-hot::before {
  border: 1.5px solid var(--map-active-ring, rgba(0, 245, 255, 0.85));
  box-shadow:
    0 0 16px var(--map-active-glow, rgba(0, 245, 255, 0.45)),
    inset 0 0 24px var(--map-active-glow, rgba(0, 245, 255, 0.32));
  transform: scale(0.92);
}
#pro-map-overlay .pro-map-node-hot::after {
  background: radial-gradient(
    circle,
    var(--map-active-glow, rgba(0, 245, 255, 0.45)) 0%,
    transparent 65%
  );
  filter: blur(2px);
  transform: scale(0.94);
}
#pro-map-overlay .pro-map-node:hover .pro-map-node-hot::before,
#pro-map-overlay .pro-map-node:focus-visible .pro-map-node-hot::before,
#pro-map-overlay .pro-map-node--active .pro-map-node-hot::before {
  opacity: 1;
  transform: scale(1.06);
}
#pro-map-overlay .pro-map-node:hover .pro-map-node-hot::after,
#pro-map-overlay .pro-map-node:focus-visible .pro-map-node-hot::after,
#pro-map-overlay .pro-map-node--active .pro-map-node-hot::after {
  opacity: 1;
  transform: scale(1.05);
}

/* BIO: Planet layout, label, and interaction note. */
#pro-map-overlay .pro-map-node-label {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);
  width: max-content;
  max-width: clamp(120px, 18vw, 220px);
  padding: 2px 8px;
  font-family: 'Orbitron', 'Share Tech Mono', monospace;
  font-size: clamp(10px, 1.05vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(200, 235, 255, 0.92);
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.95),
    0 0 14px var(--map-label-glow, rgba(0, 245, 255, 0.45));
  pointer-events: none;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
#pro-map-overlay .pro-map-node:hover .pro-map-node-label,
#pro-map-overlay .pro-map-node:focus-visible .pro-map-node-label,
#pro-map-overlay .pro-map-node--active .pro-map-node-label {
  color: #f0ffff;
  transform: translate(-50%, 5px);
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.95),
    0 0 18px var(--map-label-glow, rgba(0, 245, 255, 0.7)),
    0 0 30px var(--map-label-glow, rgba(0, 245, 255, 0.4));
}

/* BIO: Implementation note for this section. */
@media (max-width: 540px) {
  #pro-map-overlay .pro-map-panel {
    width: 96vw;
  }
  #pro-map-overlay .pro-map-node-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 1px 6px;
  }
}

/* BIO: Default Mode exit modal (#pro-default-exit — hologram chrome mirrors splash confirm). */
body.pro-body #pro-default-exit {
  position: fixed;
  inset: 0;
  z-index: 10075;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
body.pro-body #pro-default-exit.open {
  display: flex;
  pointer-events: all;
}
body.pro-body #pro-default-exit.pdx-exit-closing {
  pointer-events: none;
}
body.pro-body #pdx-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.88) 60%,
    rgba(0, 0, 0, 0.96) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.pro-body #pro-default-exit.open #pdx-backdrop {
  opacity: 1;
}
body.pro-body #pdx-panel {
  position: relative;
  width: min(520px, 88vw);
  padding: 30px 34px 42px;
  --pc-accent: #00f5ff;
  --pc-glow: rgba(0, 245, 255, 0.35);
  --pc-bg: rgba(0, 245, 255, 0.06);
  --pc-scan-rgb: 0, 245, 255;
  background: rgba(0, 8, 14, 0.9);
  border: 1px solid var(--pc-accent);
  box-shadow:
    0 0 40px var(--pc-glow),
    inset 0 0 80px rgba(0, 245, 255, 0.04);
  color: var(--pc-accent);
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
  font-family: "Share Tech Mono", monospace;
}
body.pro-body #pro-default-exit.open #pdx-panel {
  transform: scale(1);
  opacity: 1;
}
body.pro-body #pdx-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(var(--pc-scan-rgb), 0.05) 2px 4px
  );
  pointer-events: none;
  z-index: 1;
}
body.pro-body #pdx-stage-label {
  position: relative;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 4px;
  opacity: 0.78;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pc-accent);
}
body.pro-body #pdx-title {
  position: relative;
  z-index: 2;
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 0 0 14px var(--pc-glow);
}
body.pro-body #pdx-sub {
  position: relative;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.72;
  margin-bottom: 24px;
  line-height: 1.5;
}
body.pro-body #pdx-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
}
body.pro-body #pdx-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
body.pro-body #pdx-panel[data-stage="1"] .pc-dot:nth-child(1),
body.pro-body #pdx-panel[data-stage="2"] .pc-dot:nth-child(-n + 2),
body.pro-body #pdx-panel[data-stage="3"] .pc-dot {
  opacity: 1;
}

/* BIO: Meteor + glass shatter (Default exit Evet → intro2 hand-off). Above modal/cur; below intro2 overlay. */
body.pro-body #pdx-meteor-hit {
  position: fixed;
  inset: 0;
  z-index: 10140;
  display: none;
  pointer-events: none;
  overflow: hidden;
}
body.pro-body #pdx-meteor-hit.active {
  display: block;
  pointer-events: all;
  cursor: none;
}
body.pro-body #pdx-meteor-predark {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 12%,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.62) 22%,
    rgba(0, 0, 0, 0.35) 48%,
    rgba(0, 0, 0, 0.12) 72%,
    rgba(0, 0, 0, 0) 95%
  );
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  mix-blend-mode: multiply;
}
body.pro-body #pdx-meteor-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
body.pro-body #pdx-meteor-dust .md-p {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}
body.pro-body #pdx-meteor-img {
  position: absolute;
  top: 0;
  left: 0;
  width: min(900px, 92vw);
  height: auto;
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  user-select: none;
  filter:
    drop-shadow(0 0 28px rgba(255, 140, 40, 0.8))
    drop-shadow(0 0 60px rgba(255, 70, 20, 0.55))
    drop-shadow(0 0 120px rgba(255, 200, 80, 0.35));
}
body.pro-body #pdx-meteor-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 52%,
    rgba(255, 250, 220, 1) 0%,
    rgba(255, 200, 130, 0.9) 12%,
    rgba(255, 130, 60, 0.55) 28%,
    rgba(255, 60, 20, 0.15) 48%,
    rgba(255, 0, 0, 0) 65%
  );
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: scale(0.4);
  will-change: transform, opacity;
}
body.pro-body #pdx-screen-crack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
body.pro-body #pdx-screen-crack path {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 8px rgba(200, 230, 255, 0.55));
}
body.pro-body #pdx-screen-black {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* BIO: intro2.mp4 fullscreen before returning to Default Mode (script creates #pdx-intro2-overlay). */
body.pro-body #pdx-intro2-overlay {
  position: fixed;
  inset: 0;
  z-index: 10200;
  margin: 0;
  padding: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.pro-body #pdx-intro2-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  body.pro-body #pdx-panel .pc-scan {
    animation: none;
  }
}

/* BIO: Mobile Pro — planet swipe + gyro prompt; prevent browser pull-to-refresh while WebGL active */
body.pro-body.pro-mobile-cockpit.cockpit-3d-active {
  touch-action: none;
}

#bgs-gyro-banner {
  position: absolute;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 120%);
  width: min(calc(100% - 28px), 400px);
  z-index: 10040;
  padding: 12px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: rgba(235, 248, 255, 0.95);
  background: rgba(4, 14, 26, 0.94);
  border: 1px solid rgba(0, 245, 255, 0.38);
  border-radius: 10px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s ease, opacity 0.28s ease;
}
#bgs-gyro-banner.open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
#bgs-gyro-banner .bgs-gyro-msg {
  margin: 0 0 10px;
  text-align: center;
}
#bgs-gyro-banner #bgs-gyro-enable {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(0, 245, 255, 0.55);
  border-radius: 6px;
  background: rgba(0, 245, 255, 0.14);
  color: #00f5ff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
}
#bgs-gyro-banner #bgs-gyro-skip {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(200, 220, 235, 0.75);
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
#bgs-gyro-banner #bgs-gyro-enable:active,
#bgs-gyro-banner #bgs-gyro-skip:active {
  opacity: 0.88;
}

/* BIO: Mobil Pro küçük metinleri biraz netleştir — gyro banner + üst aksiyon düğmesi */
body.pro-body.pro-mobile-cockpit #bgs-gyro-banner {
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricprecision;
}
body.pro-body.pro-mobile-cockpit #bgs-gyro-banner #bgs-gyro-skip {
  font-size: 11px;
}

/* BIO: Mobil Pro — merkeze kilitle: sağ/sol bakış + gyro durur, dikey carousel aynı kalır */
#cockpit .bgs-pro-center-look-wrap {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 10035;
  pointer-events: auto;
}
body.pro-body.pro-mobile-cockpit.cockpit-3d-active #cockpit .bgs-pro-center-look-toggle {
  min-height: 44px;
  max-width: min(calc(100vw - 56px), 200px);
  padding: 10px 14px;
  border: 1px solid rgba(0, 245, 255, 0.45);
  border-radius: 8px;
  background: rgba(4, 14, 26, 0.88);
  color: #00f5ff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricprecision;
}
body.pro-body.pro-mobile-cockpit.cockpit-3d-active #cockpit .bgs-pro-center-look-toggle:active {
  opacity: 0.9;
}
body.pro-body.pro-mobile-cockpit.cockpit-3d-active #cockpit .bgs-pro-center-look-toggle[aria-pressed='true'] {
  background: rgba(0, 245, 255, 0.12);
  border-color: rgba(0, 245, 255, 0.65);
}

/* BIO: Mobil Pro portrait — önce yatay mod kapısı (gyro banner’ın üstünde). */
body.pro-body.pro-landscape-gate-active {
  touch-action: none;
}

#bgs-pro-landscape-gate {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(22px + env(safe-area-inset-top, 0px)) calc(22px + env(safe-area-inset-right, 0px))
    calc(22px + env(safe-area-inset-bottom, 0px)) calc(22px + env(safe-area-inset-left, 0px));
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#bgs-pro-landscape-gate.open {
  opacity: 1;
}

#bgs-pro-landscape-gate .bgs-pro-landscape-gate-inner {
  width: min(100%, 400px);
  text-align: center;
  padding: 20px 18px;
  border: 1px solid rgba(0, 245, 255, 0.42);
  border-radius: 12px;
  background: rgba(4, 12, 24, 0.96);
  box-shadow:
    0 0 0 1px rgba(0, 245, 255, 0.08) inset,
    0 20px 54px rgba(0, 0, 0, 0.6);
}

#bgs-pro-landscape-gate .bgs-ls-phone-icon {
  width: 52px;
  height: 86px;
  margin: 0 auto 14px;
  border: 3px solid rgba(0, 245, 255, 0.65);
  border-radius: 10px;
  position: relative;
  box-sizing: border-box;
  animation: bgsLsPhoneHint 4.8s ease-in-out infinite;
}

#bgs-pro-landscape-gate .bgs-ls-phone-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 20px;
  height: 3px;
  margin-left: -10px;
  border-radius: 2px;
  background: rgba(0, 245, 255, 0.45);
}

#bgs-pro-landscape-gate .bgs-ls-title {
  margin: 0 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: rgba(235, 250, 255, 1);
}

#bgs-pro-landscape-gate .bgs-ls-msg {
  margin: 0 0 18px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  line-height: 1.52;
  letter-spacing: 0.02em;
  color: rgba(200, 220, 238, 0.92);
}

#bgs-pro-landscape-gate .bgs-ls-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#bgs-pro-landscape-gate .bgs-ls-primary,
#bgs-pro-landscape-gate .bgs-ls-secondary {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
}

#bgs-pro-landscape-gate .bgs-ls-primary {
  border: 1px solid rgba(0, 245, 255, 0.55);
  background: rgba(0, 245, 255, 0.16);
  color: #00f5ff;
  font-weight: 700;
}

#bgs-pro-landscape-gate .bgs-ls-secondary {
  border: 1px solid rgba(170, 196, 220, 0.28);
  background: transparent;
  color: rgba(196, 214, 230, 0.88);
}

#bgs-pro-landscape-gate .bgs-ls-primary:active,
#bgs-pro-landscape-gate .bgs-ls-secondary:active {
  opacity: 0.9;
}

@keyframes bgsLsPhoneHint {
  0%, 90%, 100% { transform: rotate(0deg); }
  8% { transform: rotate(-74deg); }
  42% { transform: rotate(-74deg); }
  50% { transform: rotate(-78deg); }
}

@media (prefers-reduced-motion: reduce) {
  #bgs-pro-landscape-gate .bgs-ls-phone-icon {
    animation: none;
  }
}

@media (min-width: 520px) and (orientation: landscape) {
  #bgs-pro-landscape-gate .bgs-ls-row {
    flex-direction: row;
    justify-content: center;
  }
  #bgs-pro-landscape-gate .bgs-ls-primary,
  #bgs-pro-landscape-gate .bgs-ls-secondary {
    flex: 1;
    min-width: 0;
    max-width: 200px;
  }
}
