/* Electric-blue page only. Loaded after warp-spacex.css and neon.css. */

.theme-blue .price-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.theme-blue .change-move {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Match the price font size so em-based arrow and percent scale with it. */
  font-family: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

.theme-blue .change-arrow {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.theme-blue .change-icon {
  display: none;
  width: auto;
  height: 0.7em;
  flex-shrink: 0;
  transform-origin: 50% 50%;
}

.theme-blue .change-move.is-up .change-icon,
.theme-blue .change-move.is-down .change-icon {
  display: block;
}

.theme-blue .change-move.is-up .change-icon {
  fill: #22FF88;
  transform: none;
  filter: drop-shadow(0 0 10px rgba(34, 255, 136, 1)) drop-shadow(0 0 24px rgba(34, 255, 136, 0.8));
  animation: arrowPulseUp 1.2s ease-in-out infinite;
}

.theme-blue .change-move.is-down .change-icon {
  fill: #FF2D4A;
  transform: rotate(180deg);
  filter: drop-shadow(0 0 10px rgba(255, 45, 74, 1)) drop-shadow(0 0 24px rgba(255, 45, 74, 0.8));
  animation: arrowPulseDown 1.2s ease-in-out infinite;
}

@keyframes arrowPulseUp {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(34, 255, 136, 1)) drop-shadow(0 0 22px rgba(34, 255, 136, 0.95)) drop-shadow(0 0 42px rgba(34, 255, 136, 0.6));
  }
  50% {
    opacity: 0.45;
    filter: drop-shadow(0 0 4px rgba(34, 255, 136, 0.4));
  }
}

@keyframes arrowPulseDown {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 45, 74, 1)) drop-shadow(0 0 22px rgba(255, 45, 74, 0.95)) drop-shadow(0 0 42px rgba(255, 45, 74, 0.6));
  }
  50% {
    opacity: 0.45;
    filter: drop-shadow(0 0 4px rgba(255, 45, 74, 0.4));
  }
}

.theme-blue .change-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1;
}

.theme-blue #change-pct {
  font-size: 0.38em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.theme-blue .change-window {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.16em;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.theme-blue .change-move.is-up,
.theme-blue .change-move.is-up #change-pct,
.theme-blue .change-move.is-up .change-window {
  color: #22FF88;
  -webkit-text-fill-color: #22FF88;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(34, 255, 136, 0.45);
}

.theme-blue .change-move.is-down,
.theme-blue .change-move.is-down #change-pct,
.theme-blue .change-move.is-down .change-window {
  color: #FF2D4A;
  -webkit-text-fill-color: #FF2D4A;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 45, 74, 0.45);
}

@media (max-width: 980px) {
  .theme-blue .price-row {
    justify-content: center;
    align-items: center;
  }

  .theme-blue .change-move,
  .theme-blue .change-meta {
    align-items: center;
  }
}


/* Bright flashing LIVE indicator (dot + LIVE text). Only when the feed is live. */
.theme-blue .feed-status[data-state="live"] .feed-dot {
  background: #00E5FF;
  box-shadow: 0 0 10px rgba(0, 229, 255, 1), 0 0 24px rgba(0, 229, 255, 0.8);
  animation: liveDotPulse 1.2s ease-in-out infinite;
}

.theme-blue .feed-status[data-state="live"] .feed-label {
  color: #00E5FF;
  -webkit-text-fill-color: #00E5FF;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.85), 0 0 18px rgba(0, 229, 255, 0.5);
  animation: liveLabelPulse 1.2s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 229, 255, 1), 0 0 22px rgba(0, 229, 255, 0.95), 0 0 42px rgba(0, 229, 255, 0.6);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 4px rgba(0, 229, 255, 0.4);
  }
}

@keyframes liveLabelPulse {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 229, 255, 1), 0 0 18px rgba(0, 229, 255, 0.7);
  }
  50% {
    opacity: 0.45;
    text-shadow: 0 0 4px rgba(0, 229, 255, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-blue .change-move.is-up .change-icon,
  .theme-blue .change-move.is-down .change-icon {
    animation: none !important;
    opacity: 1;
  }
  .theme-blue .change-move.is-up .change-icon {
    filter: drop-shadow(0 0 10px rgba(34, 255, 136, 1)) drop-shadow(0 0 24px rgba(34, 255, 136, 0.8));
  }
  .theme-blue .change-move.is-down .change-icon {
    filter: drop-shadow(0 0 10px rgba(255, 45, 74, 1)) drop-shadow(0 0 24px rgba(255, 45, 74, 0.8));
  }
  .theme-blue .feed-status[data-state="live"] .feed-dot,
  .theme-blue .feed-status[data-state="live"] .feed-label {
    animation: none !important;
    opacity: 1;
  }
  .theme-blue .feed-status[data-state="live"] .feed-dot {
    box-shadow: 0 0 10px rgba(0, 229, 255, 1), 0 0 24px rgba(0, 229, 255, 0.8);
  }
  .theme-blue .feed-status[data-state="live"] .feed-label {
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.85), 0 0 18px rgba(0, 229, 255, 0.5);
  }
}
