/**
 * NeonCritic Cyberpunk Graphic Novels Engine Stylesheet
 */

/* ==========================================================================
   Catalog & Archive Layout (/novels/)
   ========================================================================== */

.nc-novels-page {
  padding-bottom: 5rem;
}

.nc-novels-hero {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  max-width: 900px;
}

.nc-novels-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0.6rem 0 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}

.nc-hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #9ba3b8;
  margin-bottom: 1.5rem;
}

.nc-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.nc-feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(18, 20, 29, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  color: #d1d7e5;
}

.nc-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
}

/* Grid of Novel Cards (Cyberpunk Bookshelf) */
.nc-novels-grid-section {
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}

.nc-novels-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1170px;
  margin: 0 auto;
}

.nc-novel-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(22, 10, 40, 0.9) 0%, rgba(9, 4, 18, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .nc-novel-card {
    flex-direction: row;
  }
}

.nc-novel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.65);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 240, 255, 0.25);
}

.nc-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #090a0f;
}

@media (min-width: 768px) {
  .nc-card-media {
    width: 320px;
    flex-shrink: 0;
  }
}

.nc-card-spine {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.nc-card-sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 30%, rgba(0, 240, 255, 0.15) 48%, rgba(255, 0, 127, 0.12) 52%, transparent 70%);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.nc-novel-card:hover .nc-card-sheen {
  opacity: 1;
  transform: translateX(100%);
}

.nc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nc-novel-card:hover .nc-card-media img {
  transform: scale(1.04);
}

.nc-scene-count-badge {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  padding: 0.3rem 0.65rem;
  background: rgba(9, 4, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.05em;
}

.nc-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.8rem;
}

.nc-card-header {
  margin-bottom: 0.75rem;
}

.nc-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.nc-card-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #ff007f;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nc-card-hud-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: #00f0ff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 6px #00f0ff;
}

.nc-card-readtime {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: #8c95a8;
}

.nc-card-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.35rem 0 0.65rem;
}

.nc-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nc-card-title a:hover {
  color: #00f0ff;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.nc-card-logline {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  border-left: 3px solid rgba(0, 240, 255, 0.45);
  padding-left: 0.75rem;
}

.nc-card-synopsis {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.92rem;
  color: #9ba3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.nc-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.nc-card-date {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #718096;
}

.nc-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(255, 0, 127, 0.12));
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #00f0ff;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.nc-btn-arrow {
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

.nc-read-btn:hover {
  background: #00f0ff;
  color: #05020a;
  border-color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.nc-read-btn:hover .nc-btn-arrow {
  transform: translateX(4px);
}

/* Philosophy Banner */
.nc-philosophy-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2.5rem;
}

.nc-philo-col h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.4rem 0 0.8rem;
}

.nc-philo-col p {
  font-size: 0.95rem;
  color: #9ba3b8;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .nc-philosophy-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Single Novel Reader Layout (/novels/{slug}/)
   ========================================================================== */

.nc-reader-page {
  padding-bottom: 6rem;
}

.nc-reader-header {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.nc-reader-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
}

.nc-back-link {
  color: #00f0ff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.nc-back-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.nc-breadcrumb-sep {
  color: #4b5563;
}

.nc-novel-badge {
  color: #ff2a85;
  font-weight: 700;
}

.nc-reader-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.nc-reader-novel-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.nc-reader-display-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.nc-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: rgba(22, 10, 40, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00f0ff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
}

.nc-tool-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.nc-cyber-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #00f0ff;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.12);
}

.nc-cyber-audio-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.nc-cyber-audio-btn.is-playing {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.nc-crt-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a5568;
  transition: background 0.2s, box-shadow 0.2s;
}

.has-crt .nc-crt-indicator {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
}

/* Reader Container */
.nc-reader-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cinema Viewport Wrapper */
.nc-viewport-wrapper {
  position: relative;
  background: #05020a;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.08);
  padding: 1.5rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-viewport-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive Comic Frame (Dedicated Comic Art Display) */
.nc-comic-frame {
  position: relative;
  max-width: min(896px, calc(80vh * 3 / 4));
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 240, 255, 0.12);
  border: 2px solid rgba(0, 240, 255, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background: #000000;
  flex-shrink: 0;
}

.nc-scene-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  pointer-events: none;
}

.nc-scene-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nc-scene-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.nc-scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nc-slide-overlay-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(9, 4, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.05em;
  z-index: 10;
}

/* CRT Scanlines Overlay */
.nc-crt-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 6;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.35) 50%
  );
  background-size: 100% 4px;
}

.has-crt .nc-crt-overlay {
  opacity: 1;
}

/* Viewport Nav Arrows (Positioned Outside Comic Art Frame) */
.nc-viewport-stage .nc-nav-arrow {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 76px;
  background: rgba(9, 4, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 8px;
  color: #00f0ff;
  font-size: 2.4rem;
  font-family: 'Space Mono', monospace;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nc-viewport-stage .nc-nav-prev {
  border-radius: 8px;
}

.nc-viewport-stage .nc-nav-next {
  border-radius: 8px;
}

.nc-viewport-stage .nc-nav-arrow:hover:not(:disabled) {
  background: #00f0ff;
  color: #05020a;
  border-color: #00f0ff;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.75);
  transform: scale(1.08);
}

.nc-viewport-stage .nc-nav-arrow:disabled {
  opacity: 0.15;
  cursor: not-allowed;
  pointer-events: none;
}

/* Generic Fallback for nav arrows */
.nc-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Timeline Navigation Track (Cyber-Pill Track) */
.nc-timeline-nav {
  padding: 1rem 1.25rem;
  background: rgba(15, 18, 26, 0.95);
  border-top: 1px solid rgba(0, 240, 255, 0.15);
}

.nc-steps-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nc-cyber-timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.25rem 0;
}

.nc-cyber-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(22, 10, 40, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #c3afca;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nc-cyber-pill .nc-pill-num {
  color: #7b8396;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nc-cyber-pill .nc-pill-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.nc-cyber-pill:hover {
  border-color: #ff007f;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 0, 127, 0.4);
  transform: translateY(-1px);
}

.nc-cyber-pill:hover .nc-pill-num {
  color: #ff007f;
}

.nc-cyber-pill.is-active {
  background: #00f0ff;
  color: #05020a;
  border-color: #00f0ff;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.75);
}

.nc-cyber-pill.is-active .nc-pill-num {
  color: #05020a;
}

.nc-cyber-pill.is-active .nc-pill-name {
  color: #05020a;
}

/* Backwards compatibility aliases for step buttons */
.nc-timeline-step,
.nc-step-btn {
  display: inline-flex;
  align-items: center;
}

/* Bottom Reader Console Navigation */
.nc-reader-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(22, 10, 40, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 8px;
}

.nc-bottom-status {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nc-status-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: #00f0ff;
}

.nc-keyboard-hint {
  font-size: 0.8rem;
  color: #718096;
}

.nc-keyboard-hint kbd {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #00f0ff;
}

.nc-reader-btn-next-novel {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: #00f0ff;
  color: #05020a;
  border: 1px solid #00f0ff;
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nc-reader-btn-next-novel:hover {
  background: #ff007f;
  border-color: #ff007f;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(255, 0, 127, 0.6);
  transform: translateY(-2px);
}

/* OmniCorp Classified Dossier */
.nc-novel-dossier-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.nc-novel-dossier {
  background: linear-gradient(145deg, rgba(22, 10, 40, 0.9) 0%, rgba(9, 4, 18, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-left: 4px solid #00f0ff;
  border-radius: 10px;
  padding: 2.2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.nc-dossier-header {
  margin-bottom: 1.25rem;
}

.nc-dossier-kicker {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff007f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.nc-dossier-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

.nc-dossier-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.nc-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.05em;
}

.nc-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 6px #00f0ff;
}

.nc-dossier-body {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

.nc-dossier-logline {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.nc-dossier-synopsis {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.98rem;
  color: #c3afca;
  line-height: 1.7;
  margin: 0;
}

/* OmniCorp Worldbuilding Codex & Intel Grid */
.nc-dossier-briefing {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.2);
}

.nc-codex-subtitle {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.nc-hud-chip-highlight {
  background: rgba(255, 0, 127, 0.12);
  border-color: rgba(255, 0, 127, 0.4);
  color: #ff007f;
}

.nc-hud-chip-highlight .nc-chip-dot {
  background: #ff007f;
  box-shadow: 0 0 6px #ff007f;
}

.nc-codex-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 860px) {
  .nc-codex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nc-codex-card {
  background: rgba(10, 5, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nc-codex-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nc-card-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nc-codex-chip {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ff007f;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nc-codex-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #00f0ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nc-codex-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

.nc-codex-card-text {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.92rem;
  color: #b7a6c0;
  line-height: 1.65;
  margin: 0;
}

.nc-codex-subitems {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}

.nc-subitem {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid #00f0ff;
  padding: 0.85rem 1rem;
  border-radius: 0 6px 6px 0;
}

.nc-subitem-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.nc-subitem-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
}

.nc-subitem-spec,
.nc-subitem-threat {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: #00f0ff;
  letter-spacing: 0.04em;
}

.nc-subitem-threat {
  color: #ff9900;
}

.nc-subitem-desc {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.86rem;
  color: #a996b4;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 600px) {
  .nc-keyboard-hint {
    display: none;
  }
  .nc-cyber-pill .nc-pill-name {
    display: none;
  }
  .nc-cyber-pill {
    padding: 0.45rem 0.75rem;
  }
  .nc-novel-dossier {
    padding: 1.5rem;
  }
}

/* Next Novel Banner at bottom */
.nc-next-novel-banner {
  margin-top: 4rem;
}

.nc-next-banner-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  background: linear-gradient(135deg, #11131a 60%, #1a1429);
  border: 1px solid rgba(255, 42, 133, 0.2);
  border-radius: 12px;
  padding: 2.25rem;
  align-items: center;
}

.nc-next-copy h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.4rem 0 0.65rem;
}

.nc-next-copy p {
  font-size: 0.95rem;
  color: #9ba3b8;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.nc-next-preview-img {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nc-next-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .nc-next-banner-inner {
    grid-template-columns: 1fr;
  }
  .nc-story-box {
    padding: 1.5rem;
  }
}

/* Fullscreen Mode */
.nc-viewport-wrapper:fullscreen,
.nc-viewport-wrapper:-webkit-full-screen,
.nc-viewport-wrapper.is-fullscreen,
.nc-viewport-wrapper.is-fullscreen-fallback {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: #000000 !important;
  z-index: 999999 !important;
  overflow: hidden !important;
}

:fullscreen .nc-viewport-stage,
:-webkit-full-screen .nc-viewport-stage,
.nc-viewport-wrapper.is-fullscreen .nc-viewport-stage,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-viewport-stage {
  position: relative !important;
  flex: 1 1 0% !important;
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000000 !important;
  overflow: hidden !important;
  gap: 2rem !important;
  padding: 0 2rem !important;
}

:fullscreen .nc-viewport-stage .nc-nav-arrow,
:-webkit-full-screen .nc-viewport-stage .nc-nav-arrow,
.nc-viewport-wrapper.is-fullscreen .nc-viewport-stage .nc-nav-arrow,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-viewport-stage .nc-nav-arrow {
  order: unset !important;
  flex: 0 0 54px !important;
  width: 54px !important;
  height: 88px !important;
}

:fullscreen .nc-comic-frame,
:-webkit-full-screen .nc-comic-frame,
.nc-viewport-wrapper.is-fullscreen .nc-comic-frame,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-comic-frame {
  position: relative !important;
  max-width: min(100vw, calc((100vh - 80px) * 3 / 4)) !important;
  width: 100% !important;
  height: calc(100% - 20px) !important;
  max-height: calc(100vh - 80px) !important;
  aspect-ratio: 3 / 4 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

:fullscreen .nc-scene-slide,
:-webkit-full-screen .nc-scene-slide,
.nc-viewport-wrapper.is-fullscreen .nc-scene-slide,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-scene-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

:fullscreen .nc-scene-slide picture,
:-webkit-full-screen .nc-scene-slide picture,
.nc-viewport-wrapper.is-fullscreen .nc-scene-slide picture,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-scene-slide picture {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

:fullscreen .nc-scene-image,
:-webkit-full-screen .nc-scene-image,
.nc-viewport-wrapper.is-fullscreen .nc-scene-image,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-scene-image {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* In-Stage Fullscreen Exit Button */
.nc-stage-fs-btn {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  align-items: center;
  gap: 0.4rem;
}

.nc-stage-fs-btn:hover {
  background: rgba(255, 0, 85, 0.85);
  border-color: #ff0055;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
}

:fullscreen .nc-stage-fs-btn,
:-webkit-full-screen .nc-stage-fs-btn,
.nc-viewport-wrapper.is-fullscreen .nc-stage-fs-btn,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-stage-fs-btn {
  display: inline-flex;
}

:fullscreen .nc-timeline-nav,
:-webkit-full-screen .nc-timeline-nav,
.nc-viewport-wrapper.is-fullscreen .nc-timeline-nav,
.nc-viewport-wrapper.is-fullscreen-fallback .nc-timeline-nav {
  flex-shrink: 0 !important;
  width: 100% !important;
  background: rgba(11, 14, 21, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-top: 1px solid rgba(0, 240, 255, 0.2) !important;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px)) !important;
}

/* ==========================================================================
   Mobile-First Sticky Thumb Navigation Bar (<768px)
   ========================================================================== */

.nc-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 14, 21, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nc-mobile-sticky-bar.is-visible {
  transform: translateY(0);
}

.nc-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 80px;
  padding: 0 1rem;
  background: #181c28;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #00f0ff;
  cursor: pointer;
  touch-action: manipulation;
}

.nc-mobile-btn:active:not(:disabled) {
  background: #00f0ff;
  color: #08090d;
}

.nc-mobile-btn:disabled {
  opacity: 0.25;
  border-color: rgba(255, 255, 255, 0.1);
  color: #667085;
}

.nc-mobile-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  background: transparent;
  border: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.nc-sticky-scene {
  color: #00f0ff;
}

.nc-sticky-up {
  font-size: 0.65rem;
  color: #7b8396;
}

@media (max-width: 768px) {
  .nc-viewport-stage,
  :fullscreen .nc-viewport-stage,
  .nc-viewport-wrapper.is-fullscreen .nc-viewport-stage,
  .nc-viewport-wrapper.is-fullscreen-fallback .nc-viewport-stage {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0 0.5rem !important;
  }
  .nc-comic-frame,
  :fullscreen .nc-comic-frame,
  .nc-viewport-wrapper.is-fullscreen .nc-comic-frame,
  .nc-viewport-wrapper.is-fullscreen-fallback .nc-comic-frame {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  :fullscreen .nc-comic-frame,
  .nc-viewport-wrapper.is-fullscreen .nc-comic-frame,
  .nc-viewport-wrapper.is-fullscreen-fallback .nc-comic-frame {
    height: calc(100% - 60px) !important;
  }
  .nc-viewport-stage .nc-nav-prev,
  :fullscreen .nc-viewport-stage .nc-nav-prev,
  .nc-viewport-wrapper.is-fullscreen .nc-viewport-stage .nc-nav-prev,
  .nc-viewport-wrapper.is-fullscreen-fallback .nc-viewport-stage .nc-nav-prev {
    order: 2 !important;
    flex: 1 1 calc(50% - 0.5rem) !important;
    height: 48px !important;
    font-size: 1.8rem;
  }
  .nc-viewport-stage .nc-nav-next,
  :fullscreen .nc-viewport-stage .nc-nav-next,
  .nc-viewport-wrapper.is-fullscreen .nc-viewport-stage .nc-nav-next,
  .nc-viewport-wrapper.is-fullscreen-fallback .nc-viewport-stage .nc-nav-next {
    order: 3 !important;
    flex: 1 1 calc(50% - 0.5rem) !important;
    height: 48px !important;
    font-size: 1.8rem;
  }
  .nc-tool-btn,
  .nc-cyber-audio-btn,
  .nc-cyber-pill {
    min-height: 44px;
  }
  .nc-mobile-sticky-bar {
    display: flex;
  }
  .nc-reader-page {
    padding-bottom: 7.5rem;
  }
  .nc-timeline-step {
    min-height: 44px;
    padding: 0.5rem;
  }
  .nc-story-box {
    padding: 1.25rem;
  }
  .nc-prose p {
    font-size: 1.05rem;
    line-height: 1.75;
  }
  .nc-reader-bottom-nav {
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }
  .nc-reader-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* ==========================================================================
   NeonCritic Studio Production & Critical Assessment Block
   ========================================================================== */
.nc-studio-assessment-card {
  max-width: 900px;
  margin: 48px auto;
  padding: 32px;
  background: linear-gradient(135deg, rgba(22, 10, 40, 0.98) 0%, rgba(12, 6, 22, 0.96) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-left: 5px solid #00f0ff;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.08);
  font-family: var(--fr-body, "Be Vietnam Pro", Arial, sans-serif);
}

.nc-studio-assessment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.nc-studio-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nc-studio-badge {
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
}

.nc-studio-format {
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.68rem;
  font-weight: 600;
  color: #9ba3b8;
  letter-spacing: 0.06em;
}

.nc-studio-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nc-score-val {
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffd700;
}

.nc-score-scale {
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.72rem;
  color: #9ba3b8;
  letter-spacing: 0.05em;
}

.nc-studio-title {
  font-family: var(--fr-head, Sora, Inter, sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 12px;
}

.nc-studio-summary {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #c3afca;
  margin-bottom: 24px;
}

.nc-studio-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.nc-studio-metric {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(9, 4, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nc-studio-metric:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.nc-metric-score-pill {
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.85rem;
  font-weight: 800;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
}

.nc-metric-body strong {
  display: block;
  font-family: var(--fr-head, Sora, Inter, sans-serif);
  font-size: 0.92rem;
  color: #fff7ff;
  font-weight: 700;
  margin-bottom: 3px;
}

.nc-metric-body small {
  display: block;
  font-size: 0.8rem;
  color: #9ba3b8;
  line-height: 1.45;
}

/* Handheld Tech Bridge */
.nc-handheld-tech-bridge {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.08) 0%, rgba(0, 240, 255, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  margin-bottom: 28px;
}

.nc-bridge-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
}

.nc-bridge-content {
  flex: 1;
}

.nc-bridge-kicker {
  display: block;
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: #ff0055;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.nc-bridge-title {
  font-family: var(--fr-head, Sora, Inter, sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.nc-bridge-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d1d7e5;
  margin-bottom: 14px;
}

.nc-bridge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none !important;
}

/* Studio Dispatches & Socials */
.nc-studio-dispatches {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.nc-dispatch-header {
  margin-bottom: 14px;
}

.nc-dispatch-kicker {
  display: block;
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.68rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.nc-dispatch-title {
  font-family: var(--fr-head, Sora, Inter, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.nc-dispatch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nc-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(18, 20, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.nc-social-tiktok:hover {
  background: rgba(255, 0, 85, 0.2);
  border-color: #ff0055;
  color: #ffffff;
}

.nc-social-youtube:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff3333;
  color: #ffffff;
}

.nc-social-archive:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #00f0ff;
}

.nc-social-icon {
  font-size: 0.95rem;
}

.nc-studio-disclosure {
  font-family: var(--fr-mono, "Space Mono", monospace);
  font-size: 0.72rem;
  color: #7b8396;
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.nc-next-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 768px) {
  .nc-studio-assessment-card {
    padding: 20px;
    margin: 32px 0;
  }
  .nc-handheld-tech-bridge {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .nc-bridge-icon {
    font-size: 1.8rem;
  }
  .nc-studio-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cyberdeck Audio Player & Cassette Showcase Widget (Milestone M4)
   ========================================================================== */
.nc-cyber-audio-deck {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nc-audio-visualizer-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-right: 4px;
}

.nc-audio-visualizer-bars .nc-bar {
  width: 3px;
  height: 4px;
  background: #00f0ff;
  border-radius: 1px;
  transition: height 0.2s ease, background-color 0.2s ease;
}

.nc-cyber-audio-btn.is-playing .nc-audio-visualizer-bars .nc-bar {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: nc-bar-dance 0.8s ease-in-out infinite alternate;
}

.nc-cyber-audio-btn.is-playing .nc-audio-visualizer-bars .nc-bar:nth-child(1) { animation-delay: 0.0s; }
.nc-cyber-audio-btn.is-playing .nc-audio-visualizer-bars .nc-bar:nth-child(2) { animation-delay: 0.2s; }
.nc-cyber-audio-btn.is-playing .nc-audio-visualizer-bars .nc-bar:nth-child(3) { animation-delay: 0.4s; }
.nc-cyber-audio-btn.is-playing .nc-audio-visualizer-bars .nc-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes nc-bar-dance {
  0%   { height: 3px; }
  50%  { height: 14px; }
  100% { height: 6px; }
}

.nc-music-stream-link {
  color: #ff007f !important;
  border-color: rgba(255, 0, 127, 0.3) !important;
}

.nc-music-stream-link:hover {
  background: rgba(255, 0, 127, 0.15) !important;
  border-color: #ff007f !important;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4) !important;
}

.nc-music-stream-banner {
  margin-bottom: 3rem;
}

.nc-cassette-widget {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(22, 10, 40, 0.85) 0%, rgba(9, 4, 18, 0.95) 100%);
  border: 1px solid rgba(255, 0, 127, 0.35);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 0, 127, 0.15);
}

@media (min-width: 860px) {
  .nc-cassette-widget {
    flex-direction: row;
    align-items: center;
  }
}

.nc-cassette-deck {
  width: 260px;
  height: 160px;
  background: #110820;
  border: 2px solid rgba(255, 0, 127, 0.5);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
}

.nc-cassette-window {
  height: 60px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1rem;
}

.nc-spool {
  width: 32px;
  height: 32px;
  border: 2px dashed #00f0ff;
  border-radius: 50%;
  animation: nc-spool-spin 6s linear infinite;
}

@keyframes nc-spool-spin {
  100% { transform: rotate(360deg); }
}

.nc-tape-title {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: #ff007f;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nc-tape-spec {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: #8c95a8;
}

.nc-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff007f;
  box-shadow: 0 0 8px #ff007f;
  margin-right: 4px;
}

