/* ============================================
   INTERACTIVE ENHANCEMENTS CSS
   Preloader · Radar · Code Window · FAB · 
   Ripple · Progress · Magnetic · Easter Egg
   ============================================ */

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #080e1c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Seed scene */
.pre-seed-scene {
  position: relative;
  width: 120px;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pre-ground {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 8px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
  border-radius: 50%;
  opacity: 0.5;
}

.pre-seed {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 10px;
  background: radial-gradient(circle, #38bdf8, #0369a1);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: seed-pulse 0.6s ease-in-out 0.3s both;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

@keyframes seed-pulse {
  0% { transform: translateX(-50%) scale(0); opacity: 0; }
  60% { transform: translateX(-50%) scale(1.2); }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.pre-sprout {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  animation: sprout-grow 0.8s ease 1s both;
  transform-origin: bottom center;
}

@keyframes sprout-grow {
  from { transform: translateX(-50%) scaleY(0); opacity: 0; }
  to { transform: translateX(-50%) scaleY(1); opacity: 1; }
}

.pre-stem {
  width: 4px;
  height: 60px;
  background: linear-gradient(180deg, #0ea5e9, #0369a1);
  border-radius: 4px;
  margin: 0 auto;
}

.pre-leaf {
  position: absolute;
  width: 28px;
  height: 16px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border-radius: 50% 50% 50% 0;
  top: 20px;
}

.pre-leaf-l {
  right: calc(50% + 2px);
  transform: rotate(-40deg);
  animation: leaf-pop 0.4s ease 1.7s both;
  transform-origin: right center;
}

.pre-leaf-r {
  left: calc(50% + 2px);
  transform: rotate(40deg) scaleX(-1);
  animation: leaf-pop 0.4s ease 1.9s both;
  transform-origin: left center;
}

@keyframes leaf-pop {
  from { transform: rotate(-40deg) scale(0); }
  to { transform: rotate(-40deg) scale(1); }
}

.pre-leaf-r {
  animation-name: leaf-pop-r;
}

@keyframes leaf-pop-r {
  from { transform: rotate(40deg) scaleX(-1) scale(0); }
  to { transform: rotate(40deg) scaleX(-1) scale(1); }
}

.pre-tree-emoji {
  position: absolute;
  bottom: 8px;
  font-size: 5rem;
  opacity: 0;
  animation: tree-appear 0.5s ease 2.4s forwards;
  filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.8));
}

@keyframes tree-appear {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.pre-text {
  font-size: 0.95rem;
  color: #7dd3fc;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: 'Outfit', sans-serif;
  opacity: 0;
  animation: fade-in 0.5s ease 0.5s both;
}

@keyframes fade-in {
  to { opacity: 1; }
}

.pre-dots {
  display: inline-block;
  animation: dots-anim 1.5s steps(4, end) infinite;
  overflow: hidden;
  vertical-align: bottom;
  width: 0;
}

@keyframes dots-anim {
  0% { width: 0; }
  25% { width: 6px; }
  50% { width: 12px; }
  75% { width: 18px; }
  100% { width: 0; }
}

.pre-bar {
  width: 220px;
  height: 4px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  animation: fade-in 0.5s ease 0.7s both;
}

.pre-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #22d3ee);
  border-radius: 10px;
  animation: bar-fill 2.5s ease 1s forwards;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@keyframes bar-fill {
  to { width: 100%; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10001;
  pointer-events: none;
}

#scrollBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #22d3ee, #7dd3fc);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

/* ============================================
   RIPPLE CANVAS
   ============================================ */
#rippleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   FLOATING ACTION BUTTON (FAB)
   ============================================ */
.fab-container {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 5000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

.fab-main {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #0284c7, #22d3ee);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.5);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.fab-main:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.7);
}

.fab-main.open {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
}

.fab-icon {
  font-size: 1.4rem;
  display: block;
  transition: transform 0.3s ease;
}

.fab-options {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.fab-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-opt {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(8, 20, 40, 0.92);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
  animation: none;
}

.fab-opt:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: #38bdf8;
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.fab-opt::after {
  content: attr(data-tip);
  position: absolute;
  right: 54px;
  background: rgba(8, 20, 40, 0.95);
  color: #7dd3fc;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(14, 165, 233, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.fab-opt:hover::after {
  opacity: 1;
}

/* Staggered animation for fab items */
.fab-options.open .fab-opt:nth-child(1) { transition-delay: 0.05s; }
.fab-options.open .fab-opt:nth-child(2) { transition-delay: 0.1s; }
.fab-options.open .fab-opt:nth-child(3) { transition-delay: 0.15s; }
.fab-options.open .fab-opt:nth-child(4) { transition-delay: 0.2s; }
.fab-options.open .fab-opt:nth-child(5) { transition-delay: 0.25s; }
.fab-options.open .fab-opt:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: rgba(8, 20, 40, 0.9);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  color: #7dd3fc;
}

/* ============================================
   SKILL RADAR SECTION
   ============================================ */
.radar-section {
  position: relative;
  background: linear-gradient(180deg, #0a0f1e 0%, rgba(7, 89, 133, 0.1) 50%, #0a0f1e 100%);
}

.radar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

#radarCanvas {
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.3));
  cursor: crosshair;
}

.radar-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rl {
  position: absolute;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dd3fc;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
  pointer-events: all;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(10, 20, 40, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.rl:hover {
  background: rgba(14, 165, 233, 0.18);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.35);
  transform: scale(1.05);
}

.rl.active {
  background: rgba(14, 165, 233, 0.22);
  border-color: #38bdf8;
  color: #fff;
}

/* Radar label positioning (relative to wrap) */
.rl-top  { top: 2%;  left: 50%; transform: translateX(-50%); }
.rl-tr   { top: 22%; right: 0%; }
.rl-br   { bottom: 22%; right: 0%; }
.rl-bot  { bottom: 2%; left: 50%; transform: translateX(-50%); }
.rl-bl   { bottom: 22%; left: 0%; }
.rl-tl   { top: 22%;  left: 0%; }

.radar-tooltip {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 20, 40, 0.95);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #bae6fd;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  font-family: 'Outfit', sans-serif;
}

.radar-tooltip.show {
  opacity: 1;
}

/* ============================================
   CODE SHOWCASE SECTION
   ============================================ */
.code-section {
  position: relative;
  background: linear-gradient(180deg, #0a0f1e 0%, rgba(5, 25, 50, 0.15) 50%, #0a0f1e 100%);
}

.code-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.code-tab {
  padding: 10px 22px;
  background: rgba(14, 165, 233, 0.06);
  border: 1.5px solid rgba(14, 165, 233, 0.2);
  border-radius: 10px;
  color: #7dd3fc;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.code-tab:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: #38bdf8;
  color: #fff;
}

.code-tab.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(14, 165, 233, 0.1));
  border-color: #0ea5e9;
  color: #e0f2fe;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.25);
}

.code-window {
  position: relative;
  background: #0d1117;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.1);
}

.code-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #161b22;
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.code-dot.red    { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green  { background: #27c93f; }

.code-filename {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: #6b7280;
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.5px;
}

.code-copy-btn {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 6px;
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s ease;
}

.code-copy-btn:hover {
  background: rgba(14, 165, 233, 0.2);
  color: #fff;
}

.code-copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #86efac;
}

.code-body {
  position: relative;
  display: flex;
  padding: 20px 20px 20px 0;
  overflow-x: auto;
  margin: 0;
  max-height: 420px;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 165, 233, 0.3) transparent;
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.75;
}

.code-body::-webkit-scrollbar { width: 5px; height: 5px; }
.code-body::-webkit-scrollbar-thumb { background: rgba(14, 165, 233, 0.3); border-radius: 5px; }

.code-line-nums {
  flex-shrink: 0;
  padding: 0 16px;
  color: #3d4f6b;
  font-size: 0.8rem;
  line-height: 1.75;
  text-align: right;
  user-select: none;
  border-right: 1px solid rgba(14, 165, 233, 0.08);
  font-family: 'Space Grotesk', monospace;
}

/* Syntax highlighting */
.code-body code {
  flex: 1;
  padding-left: 20px;
  display: block;
  white-space: pre;
}

.tok-kw    { color: #ff79c6; }
.tok-fn    { color: #50fa7b; }
.tok-str   { color: #f1fa8c; }
.tok-num   { color: #bd93f9; }
.tok-cmt   { color: #6272a4; font-style: italic; }
.tok-cls   { color: #8be9fd; }
.tok-var   { color: #f8f8f2; }
.tok-op    { color: #ff79c6; }
.tok-dec   { color: #50fa7b; }
.tok-self  { color: #ffb86c; }
.tok-bool  { color: #bd93f9; }

/* ============================================
   SKILL POPUP TOOLTIP
   ============================================ */
.skill-popup {
  position: fixed;
  background: rgba(8, 18, 36, 0.97);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 14px;
  padding: 14px 20px;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 180px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.15);
}

.skill-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skill-popup-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #e0f2fe;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}

.skill-popup-bar {
  width: 100%;
  height: 5px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.skill-popup-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 10px;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.skill-popup-pct {
  font-size: 0.72rem;
  color: #7dd3fc;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============================================
   MAGNETIC BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-resume,
.btn-send {
  will-change: transform;
}

/* ============================================
   CLICK RIPPLE EFFECT
   ============================================ */
.ripple-click {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  z-index: 9999;
  animation: ripple-expand 0.6s ease-out forwards;
}

@keyframes ripple-expand {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ============================================
   EASTER EGG - KONAMI TREE BURST
   ============================================ */
.konami-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 3rem;
  animation: konami-flash 2s ease forwards;
}

@keyframes konami-flash {
  0% { opacity: 0; background: transparent; }
  10% { opacity: 1; background: rgba(14, 165, 233, 0.15); }
  90% { opacity: 1; }
  100% { opacity: 0; background: transparent; }
}

/* ============================================
   ACTIVE NAV LINK
   ============================================ */
.nav-links a.active {
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.1);
}

.nav-links a.active::after {
  width: 70%;
}

/* ============================================
   INTERACTIVE SKILLS (hover glow on pill)
   ============================================ */
.skill-pill:hover {
  cursor: pointer;
}

.skill-pill:hover .pill-fill {
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.8);
  filter: brightness(1.2);
}

.skill-pill:hover span {
  color: #e0f2fe;
}

/* ============================================
   PROJECT CARD EXPAND
   ============================================ */
.project-card .expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 600;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.project-card:hover .expand-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SCROLL PROGRESS (alternate fixed bar)
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #0284c7, #22d3ee);
  z-index: 10002;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px #22d3ee;
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   GLITCH TITLE EFFECT (hover name)
   ============================================ */
.hero-name {
  position: relative;
  cursor: default;
}

.hero-name:hover {
  animation: glitch 0.3s ease;
}

@keyframes glitch {
  0%, 100% { text-shadow: none; transform: none; }
  20% { text-shadow: -2px 0 #38bdf8, 2px 0 #ff79c6; transform: translateX(-1px); }
  40% { text-shadow: 2px 0 #38bdf8, -2px 0 #ff79c6; transform: translateX(1px); }
  60% { text-shadow: -1px 0 #22d3ee; transform: translateX(0); }
  80% { text-shadow: 1px 0 #22d3ee; }
}

/* ============================================
   SECTION ENTRANCE ANIMATIONS (enhanced)
   ============================================ */
.section-tag,
.section-title,
.section-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-tag.in-view,
.section-title.in-view,
.section-subtitle.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-title.in-view { transition-delay: 0.1s; }
.section-subtitle.in-view { transition-delay: 0.2s; }

/* ============================================
   TYPEWRITER CURSOR (highlight)
   ============================================ */
.cursor {
  color: #22d3ee;
  font-weight: 300;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}

/* ============================================
   SCROLL INDICATOR HIDE ON SCROLL
   ============================================ */
.scroll-indicator {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
}

/* ============================================
   AMBIENT AUDIO INDICATOR
   ============================================ */
#fab-sound.playing span::after {
  content: ' 🎵';
}

/* ============================================
   INTERACTIVE TREE HOVER TOOLTIPS (Skills overlay on Tree)
   ============================================ */
.tree-leaf-tooltip {
  position: absolute;
  background: rgba(8, 18, 36, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: #bae6fd;
  font-weight: 600;
  pointer-events: none;
  z-index: 1000;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .fab-container { bottom: 80px; right: 16px; }
  .back-to-top { bottom: 20px; right: 16px; }
  #radarCanvas { max-width: 320px; }
  .rl { font-size: 0.65rem; padding: 4px 8px; }
  .rl-top, .rl-bot { left: 50%; }
  .code-body { font-size: 0.75rem; }
  .fab-main { width: 46px; height: 46px; }
  .fab-opt { width: 38px; height: 38px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .radar-wrap { overflow: hidden; }
  .rl { display: none; }
}
