/* ==========================================================================
   ZZZ LATAM · RANDOM PLAY / SIXTH STREET EDITION (v3.5)
   - Restored & elevated v3.3 3D Sony PVM CRT Monitor + WebGL2 3D Curved Glass
     with exact 1:1 cursor normal-mapped specular & directional bevel refraction
   - Restored v3.3 Multi-Layer Background Cordon Composition upgraded with
     authentic flexible polyethylene/vinyl plastic material, tension creases,
     contact-light subsurface reaction, gentle 3D wind wave & chill motes
   - 100% CSP 'self' compliant · Zero interference with .weather-rest animations
   ========================================================================== */

:root {
  --v3-gold: #ffd400;
  --v3-paper: #f2efe6;
  --v3-ink: #090a0c;
  --v3-phos: #86e8c0;
}

/* --------------------------------------------------------------------------
   1. Discreet Topbar Switcher (.v3-hud)
   -------------------------------------------------------------------------- */
.v3-hud {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: #101216;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  font: 700 9.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: none;
  z-index: 60;
}

.v3-hud__btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--mute);
  font: 700 9.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}

.v3-hud__btn:hover {
  color: var(--paper);
}

.v3-hud__btn[aria-pressed="true"] {
  background: #1d2028;
  color: var(--y);
  border-color: rgba(255, 212, 0, 0.34);
}

html[data-eridu-v3="off"] #v3-rain-gl,
html[data-eridu-v3="off"] #v3-motes-canvas,
html[data-eridu-v3="off"] #v3-crt-gl,
html[data-eridu-v3="off"] #v3-scope-canvas,
html[data-eridu-v3="off"] .v3-cordon-wrap,
html[data-eridu-v3="off"] .v3-only {
  display: none !important;
}

/* Hide legacy 2D stick-rain canvas when v3 WebGL2 rain is active,
   WITHOUT triggering .weather-rest so all stage/TV animations run freely */
html:not([data-eridu-v3="off"]) #rain {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ==========================================================================
   2. HERO STAGE, WEBGL2 RAIN & REALISTIC PLASTIC CORDON TAPESTRY
   ========================================================================== */
html:not([data-eridu-v3="off"]) .bar {
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

#v3-rain-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  contain: strict;
}

#v3-motes-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  contain: strict;
}

html:not([data-eridu-v3="off"]) .weather__mist {
  background:
    radial-gradient(ellipse 68% 48% at 75% 46%, rgba(92, 194, 188, 0.075), transparent 72%),
    radial-gradient(ellipse 52% 42% at 24% 70%, rgba(255, 212, 0, 0.04), transparent 72%);
}

html:not([data-eridu-v3="off"]) .weather__wet {
  width: 75%;
  left: 25%;
  height: 15%;
  background: linear-gradient(0deg, rgba(12, 22, 24, 0.62) 0%, rgba(68, 150, 142, 0.05) 55%, transparent 100%);
  border-bottom: 1px solid rgba(134, 232, 192, 0.12);
}

/* --------------------------------------------------------------------------
   Realistic Polyethylene / Vinyl Plastic Cordon System (.v3-cordon-wrap + .stage__band)
   - Restores the v3.3 multi-depth composition
   - Replaces metallic gradients/frames with translucent polymer film, diagonal
     tension-wrinkle specular creases, contact-light glow & organic wind wave
   -------------------------------------------------------------------------- */
.v3-cordon-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}

@keyframes v3-plastic-shimmer {
  0% { background-position: 0% 50%, 0 0, 0 0, 0 0; }
  50% { background-position: 100% 50%, -180px 0, 0 0, 0 0; }
  100% { background-position: 0% 50%, -360px 0, 0 0, 0 0; }
}

@keyframes v3-ribbon-wave-far {
  0%, 100% { transform: translate3d(0, 0, -180px) rotateY(16deg) rotateX(6deg) rotateZ(11.5deg) skewY(0deg); }
  50% { transform: translate3d(0, -5px, -172px) rotateY(19deg) rotateX(-5deg) rotateZ(10.8deg) skewY(-1.1deg); }
}

@keyframes v3-ribbon-wave-mid {
  0%, 100% { transform: translate3d(0, 0, -90px) rotateY(-18deg) rotateX(-4deg) rotateZ(-17.5deg) skewY(0deg); }
  50% { transform: translate3d(0, 6px, -82px) rotateY(-14deg) rotateX(6deg) rotateZ(-18.2deg) skewY(1.3deg); }
}

@keyframes v3-ribbon-wave-low {
  0%, 100% { transform: translate3d(0, 0, -130px) rotateY(12deg) rotateX(5deg) rotateZ(6deg) skewY(0deg); }
  50% { transform: translate3d(0, -4px, -124px) rotateY(15deg) rotateX(-4deg) rotateZ(6.6deg) skewY(-0.9deg); }
}

@keyframes v3-ribbon-wave-main {
  0%, 100% { transform: perspective(1100px) rotateY(-12deg) rotateX(3deg) rotateZ(-8.5deg) skewY(0deg); }
  50% { transform: perspective(1100px) rotateY(-9deg) rotateX(-4deg) rotateZ(-9.1deg) skewY(0.9deg); }
}

.v3-cordon {
  position: absolute;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Multi-layer Polyethylene Vinyl Film Material:
     1) Contact-light radial subsurface glow (reacts to cursor --cordon-lx / --cordon-ly + Anby rim)
     2) Diagonal plastic tension-crease specular wrinkles (travels gently across the film)
     3) Soft longitudinal polymer highlight roll-off (thin translucent vinyl, never dark brown metal)
     4) Translucent canary-yellow polyethylene base */
  background-image:
    radial-gradient(
      420px 190px at var(--cordon-lx, 68%) var(--cordon-ly, 42%),
      rgba(255, 253, 215, 0.42) 0%,
      rgba(255, 228, 95, 0.16) 45%,
      transparent 75%
    ),
    repeating-linear-gradient(
      114deg,
      transparent 0 26px,
      rgba(255, 255, 255, 0.18) 26px 29px,
      rgba(0, 0, 0, 0.07) 29px 33px,
      transparent 33px 68px
    ),
    linear-gradient(
      90deg,
      rgba(9, 11, 14, 0.68) 0%,
      rgba(255, 248, 195, 0.14) 26%,
      rgba(9, 11, 14, 0.05) 50%,
      rgba(41, 230, 255, 0.12) 74%,
      rgba(9, 11, 14, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 234, 78, 0.88) 0%,
      rgba(255, 214, 10, 0.92) 32%,
      rgba(242, 194, 0, 0.89) 74%,
      rgba(218, 168, 4, 0.85) 100%
    );
  background-size: 100% 100%, 360px 100%, 100% 100%, 100% 100%;
  animation: v3-plastic-shimmer 16s linear infinite;
  backdrop-filter: blur(1.5px) saturate(115%);
  -webkit-backdrop-filter: blur(1.5px) saturate(115%);
  /* Thin translucent heat-sealed plastic edge instead of thick black iron borders */
  border-block: 1px solid rgba(255, 248, 196, 0.42);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45),
    inset 0 -1.5px 2px rgba(140, 98, 0, 0.28),
    0 14px 32px rgba(0, 0, 0, 0.62);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 14%, #000 38%, #000 72%, rgba(0, 0, 0, 0.55) 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 14%, #000 38%, #000 72%, rgba(0, 0, 0, 0.55) 89%, transparent 100%);
}

.v3-cordon::before,
.v3-cordon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-linear-gradient(-55deg, rgba(16, 18, 14, 0.82) 0 11px, transparent 11px 22px);
  pointer-events: none;
}
.v3-cordon::before { top: 0; }
.v3-cordon::after { bottom: 0; }

.v3-cordon__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.v3-cordon__track span {
  display: flex;
  align-items: center;
  gap: 20px;
  font: 400 clamp(18px, 1.8vw, 28px)/1 var(--tall);
  color: rgba(16, 17, 13, 0.9);
  white-space: nowrap;
  letter-spacing: 0.04em;
  padding: 0 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.v3-cordon__track b {
  font: 700 8.5px/1 var(--mono);
  padding: 5px 8px;
  border: 1.5px solid rgba(22, 24, 18, 0.82);
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.08);
}

/* Layer 1: Deep Alley Ribbon (High, far background, darkened & softly defocused) */
.v3-cordon--far {
  right: -14%;
  top: 7%;
  width: 78%;
  height: clamp(44px, 3.8vw, 62px);
  animation: v3-ribbon-wave-far 9.5s ease-in-out infinite, v3-plastic-shimmer 18s linear infinite;
  filter: brightness(0.42) saturate(0.85) blur(2px);
  opacity: 0.56;
}
.v3-cordon--far .v3-cordon__track {
  animation: band 76s linear infinite reverse;
}

/* Layer 2: Mid-Alley Sweeping Ribbon (Diagonal behind Anby, medium shadow + contact light) */
.v3-cordon--mid {
  right: -12%;
  top: 39%;
  width: 76%;
  height: clamp(52px, 4.4vw, 74px);
  animation: v3-ribbon-wave-mid 8.2s ease-in-out infinite, v3-plastic-shimmer 15s linear infinite;
  filter: brightness(0.58) saturate(0.92) blur(0.9px);
  opacity: 0.66;
}
.v3-cordon--mid .v3-cordon__track {
  animation: band 58s linear infinite;
}

/* Layer 3: Lower Perimeter Cordon (Deep shadow near bottom-right) */
.v3-cordon--low {
  right: -15%;
  bottom: 15%;
  width: 70%;
  height: clamp(46px, 4vw, 66px);
  animation: v3-ribbon-wave-low 10.4s ease-in-out infinite, v3-plastic-shimmer 20s linear infinite;
  filter: brightness(0.46) saturate(0.86) blur(1.4px);
  opacity: 0.52;
}
.v3-cordon--low .v3-cordon__track {
  animation: band 68s linear infinite reverse;
}

/* Main Foreground-Mid .stage__band: Upgraded to Translucent Flexible Plastic Tape with Contact Light */
html:not([data-eridu-v3="off"]) .stage__band {
  right: -10%;
  top: 18%;
  width: 72%;
  height: clamp(64px, 5.4vw, 90px);
  background-image:
    radial-gradient(
      460px 220px at var(--cordon-lx, 65%) var(--cordon-ly, 35%),
      rgba(255, 254, 224, 0.52) 0%,
      rgba(255, 232, 110, 0.22) 42%,
      transparent 74%
    ),
    repeating-linear-gradient(
      112deg,
      transparent 0 28px,
      rgba(255, 255, 255, 0.22) 28px 32px,
      rgba(0, 0, 0, 0.08) 32px 36px,
      transparent 36px 74px
    ),
    linear-gradient(
      90deg,
      rgba(10, 12, 15, 0.62) 0%,
      rgba(255, 250, 205, 0.16) 28%,
      rgba(10, 12, 15, 0.04) 52%,
      rgba(41, 230, 255, 0.15) 76%,
      rgba(10, 12, 15, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 238, 92, 0.90) 0%,
      rgba(255, 216, 14, 0.93) 28%,
      rgba(244, 196, 0, 0.90) 76%,
      rgba(220, 170, 6, 0.86) 100%
    );
  background-size: 100% 100%, 360px 100%, 100% 100%, 100% 100%;
  animation: v3-ribbon-wave-main 7.6s ease-in-out infinite, v3-plastic-shimmer 14s linear infinite;
  backdrop-filter: blur(2px) saturate(120%);
  -webkit-backdrop-filter: blur(2px) saturate(120%);
  border: 0;
  border-block: 1px solid rgba(255, 250, 205, 0.5);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.52),
    inset 0 -2px 3px rgba(140, 96, 0, 0.25),
    0 18px 38px rgba(0, 0, 0, 0.68),
    0 0 26px rgba(255, 212, 0, 0.10);
  filter: brightness(0.84) contrast(1.02);
  opacity: 0.90;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.75) 12%, #000 35%, #000 74%, rgba(0, 0, 0, 0.65) 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.75) 12%, #000 35%, #000 74%, rgba(0, 0, 0, 0.65) 90%, transparent 100%);
}

html:not([data-eridu-v3="off"]) .stage__band::before,
html:not([data-eridu-v3="off"]) .stage__band::after {
  height: 10px;
  border-block: 0;
  background: repeating-linear-gradient(-55deg, rgba(16, 18, 14, 0.82) 0 13px, transparent 13px 27px);
}

html:not([data-eridu-v3="off"]) .stage__band span {
  color: rgba(15, 16, 12, 0.92);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

/* --------------------------------------------------------------------------
   3. Hero Typography (Zenless Zone Zero): Clean Original Display Fonts
   -------------------------------------------------------------------------- */
html:not([data-eridu-v3="off"]) .kicker {
  color: var(--cyan);
  letter-spacing: 0.16em;
}

html:not([data-eridu-v3="off"]) .title__a {
  color: #f5f2e9;
  text-shadow: 0 5px 0 #060709, 0 14px 28px rgba(0, 0, 0, 0.65);
}

html:not([data-eridu-v3="off"]) .title__b {
  color: var(--y);
  text-shadow: 0 5px 0 #060709, 4px 5px 0 rgba(0, 0, 0, 0.82), 0 14px 30px rgba(0, 0, 0, 0.6);
}

html:not([data-eridu-v3="off"]) .title__c {
  transform: rotate(-1.8deg);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

html:not([data-eridu-v3="off"]) .title__c b {
  box-shadow: 4px 4px 0 #060709;
}

/* ==========================================================================
   4. RESTORED & ELEVATED v3.3 3D SONY PVM-20M4U TELEVISION & VTR OVERHAUL
   ========================================================================== */
html:not([data-eridu-v3="off"]) .set {
  perspective: 1400px;
  position: relative;
  z-index: 12;
}

html:not([data-eridu-v3="off"]) .tv {
  position: relative;
  z-index: 15;
  border-radius: 20px 20px 14px 14px;
  padding: 18px 16px 18px 18px;
  /* Multi-layered die-cast titanium/anthracite PVM cabinet with top cooling louvers & dynamic 3D specular highlight */
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 12px,
      rgba(0, 0, 0, 0.55) 12px 16px
    ) 32px 0 / calc(100% - 148px) 5px no-repeat,
    radial-gradient(
      95% 80% at var(--tv-light-x, 28%) var(--tv-light-y, 12%),
      rgba(255, 255, 255, 0.11) 0%,
      transparent 58%
    ),
    linear-gradient(162deg, #434750 0%, #2a2d35 15%, #181b21 52%, #0e1014 90%, #090a0d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(0, 0, 0, 0.85);
  border-bottom: 2px solid #050608;
  /* 3D Extruded Chassis Side/Bottom Depth + Ambient Counter Shadow */
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.22),
    inset 2px 0 0 rgba(255, 255, 255, 0.08),
    inset -2px 0 4px rgba(0, 0, 0, 0.75),
    inset 0 -6px 0 rgba(0, 0, 0, 0.82),
    0 6px 0 #0a0b0e,
    0 12px 0 #060709,
    0 38px 76px rgba(0, 0, 0, 0.92),
    0 0 0 1px #040507;
  transition: box-shadow 0.25s var(--ease);
}

/* Corner Rack-Mount Hardware Bolts on the TV Cabinet */
html:not([data-eridu-v3="off"]) .tv::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  pointer-events: none;
  background:
    radial-gradient(circle at 6px 6px, #14161a 0 2.5px, rgba(255,255,255,0.16) 3px 3.5px, transparent 4px),
    radial-gradient(circle at calc(100% - 6px) 6px, #14161a 0 2.5px, rgba(255,255,255,0.16) 3px 3.5px, transparent 4px),
    radial-gradient(circle at 6px calc(100% - 6px), #14161a 0 2.5px, rgba(255,255,255,0.16) 3px 3.5px, transparent 4px),
    radial-gradient(circle at calc(100% - 6px) calc(100% - 6px), #14161a 0 2.5px, rgba(255,255,255,0.16) 3px 3.5px, transparent 4px);
}

/* Deeply Recessed 45° Chamfered CRT Bezel Throat (.tv__screen) from v3.3 */
html:not([data-eridu-v3="off"]) .tv__screen {
  border-radius: 22px / 28px;
  background: #030806;
  box-shadow:
    /* Curved glass perimeter depth */
    inset 0 0 0 2px #010403,
    inset 0 10px 28px rgba(0, 0, 0, 0.82),
    inset 0 -8px 20px rgba(0, 0, 0, 0.72),
    inset 0 0 48px rgba(0, 0, 0, 0.68),
    /* Deep inner rubber gasket */
    0 0 0 4px #060809,
    /* 45-degree chamfered inner bezel throat (top dark, bottom catches subtle light) */
    0 -2px 0 6px #12151a,
    0 2px 0 6px #2d313a,
    0 0 0 7px #1b1e25,
    0 0 0 8px #08090c;
}

/* WebGL2 3D Curved CRT Glass & Fresnel Reflection Pass */
#v3-crt-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
}

/* Phosphor Tint Modes via Rotary Knob 1 */
html:not([data-eridu-v3="off"]) .tv[data-crt-tint="amber"] .tv__img {
  background: radial-gradient(120% 95% at 50% 42%, #2c200d 0%, #161006 56%, #060402 100%);
}
html:not([data-eridu-v3="off"]) .tv[data-crt-tint="amber"] .pnl { color: #f8e8c8; }
html:not([data-eridu-v3="off"]) .tv[data-crt-tint="amber"] .pnl__lead { color: #e2b86b; }

html:not([data-eridu-v3="off"]) .tv[data-crt-tint="cyan"] .tv__img {
  background: radial-gradient(120% 95% at 50% 42%, #102a34 0%, #07141a 56%, #030709 100%);
}

/* Side Hardware Control Module (.tv__side) with Live Phosphor Vectorscope */
html:not([data-eridu-v3="off"]) .tv__side {
  position: relative;
  z-index: 30;
  pointer-events: auto;
  background: linear-gradient(180deg, #16181e 0%, #0e1014 100%);
  border: 1px solid #060709;
  border-radius: 11px;
  padding: 9px 7px;
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.08);
  gap: 10px;
}

html:not([data-eridu-v3="off"]) .tv__brand {
  border-radius: 3px;
  padding: 5px 3px;
  font-size: 10px;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffe347 0%, #ffd400 58%, #cfa900 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html:not([data-eridu-v3="off"]) .tv__led {
  width: 100%;
  text-align: center;
  font-size: 26px;
  padding: 5px 4px;
  background: #0d0404;
  border: 1px solid #2e0e0e;
  box-shadow: inset 0 2px 6px #000, 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

/* Live Broadcast Vectorscope Bay inside .tv__side */
#v3-scope-canvas {
  width: 100%;
  height: 52px;
  border-radius: 5px;
  background: #030c09;
  border: 1px solid #050706;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(134, 232, 192, 0.16);
  display: block;
  flex: none;
  cursor: pointer;
}

@media (min-width: 721px) {
  html:not([data-eridu-v3="off"]) .tv {
    grid-template-columns: minmax(0, 1fr) 92px;
  }
}

html:not([data-eridu-v3="off"]) .tv__grille {
  min-height: 32px;
  background: repeating-linear-gradient(0deg, #07080a 0 3px, #20232a 3px 6px);
  border: 1px solid #050608;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85);
}

/* Diegetic Vertical H.D.D. Quiz Ad Banner inside .tv__grille */
.tv__grille.tv__quiz-banner {
  position: relative;
  z-index: 40;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-drag: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 7px 5px;
  text-decoration: none;
  border-radius: 6px;
}

.tv__grille.tv__quiz-banner * {
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 50% 32%, rgba(255, 212, 0, 0.16), transparent 72%),
    linear-gradient(180deg, #0b0e15 0%, #121824 52%, #080a0f 100%) !important;
  border: 1px solid rgba(255, 212, 0, 0.45) !important;
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(255, 212, 0, 0.12) !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.18s, box-shadow 0.18s;
}

.tv__grille.tv__quiz-banner:hover {
  transform: translateY(-1.5px);
  border-color: #ffd400 !important;
  box-shadow:
    inset 0 0 10px rgba(255, 212, 0, 0.18),
    0 0 18px rgba(255, 212, 0, 0.32) !important;
}

.tv__qb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font: 800 7.5px/1 var(--mono);
  letter-spacing: 0.06em;
  color: #86e8c0;
  background: rgba(8, 22, 18, 0.9);
  border: 1px solid rgba(134, 232, 192, 0.32);
  padding: 3px 4px;
  border-radius: 3px;
  width: 100%;
  justify-content: center;
}

.tv__qb-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c6f432;
  box-shadow: 0 0 6px #c6f432;
}

.tv__qb-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #07090d;
  border: 1.5px solid rgba(255, 212, 0, 0.65);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  transition: transform 0.2s;
}

.tv__grille.tv__quiz-banner:hover .tv__qb-img {
  transform: scale(1.06);
  border-color: #c6f432;
}

.tv__qb-title {
  font: 400 12px/1.02 var(--tall);
  letter-spacing: 0.03em;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 4px #000;
}

.tv__qb-title em {
  font-style: normal;
  color: #ffd400;
}

.tv__qb-sub {
  font: 700 6.8px/1.2 var(--mono);
  color: #b8b5ab;
  text-align: center;
  letter-spacing: 0.04em;
}

.tv__qb-cta {
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, #ffe347 0%, #ffd400 65%, #d8b000 100%);
  color: #090a0c;
  font: 900 8.5px/1 var(--wide);
  letter-spacing: 0.05em;
  padding: 5px 2px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.tv__grille.tv__quiz-banner:hover .tv__qb-cta {
  background: #c6f432;
}

html:not([data-eridu-v3="off"]) .tv__knobs {
  gap: 8px;
}

html:not([data-eridu-v3="off"]) .tv__knobs i {
  width: 27px;
  height: 27px;
  cursor: pointer;
  background: radial-gradient(circle at 36% 30%, #525662 0%, #252830 55%, #111317 75%);
  border: 1px solid #050608;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

html:not([data-eridu-v3="off"]) .tv__knobs i:hover {
  border-color: rgba(255, 212, 0, 0.6);
}

html:not([data-eridu-v3="off"]) .tv__knobs i::after {
  background: var(--y);
  height: 8px;
  top: 3px;
}

.v3-knob-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 3px;
  font: 700 6.5px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: -5px;
}

/* 3D Sculpted VTR / VCR Deck (.vcr) */
html:not([data-eridu-v3="off"]) .vcr {
  background: linear-gradient(180deg, #2b2e36 0%, #17191f 46%, #0d0f13 100%);
  border: 1px solid #050608;
  border-top-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 5px 0 #07080a,
    0 22px 44px rgba(0, 0, 0, 0.85);
}

html:not([data-eridu-v3="off"]) .vcr__slot {
  background: linear-gradient(180deg, #040506 0%, #0b0d10 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 3px 6px #000;
}

html:not([data-eridu-v3="off"]) .vcr__slot::before {
  content: "● HI-FI";
  position: absolute;
  left: 9px;
  top: 50%;
  translate: 0 -50%;
  font: 700 7px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--phos-2);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   5. VHS Shelf & Lower Sections Polish
   -------------------------------------------------------------------------- */
html:not([data-eridu-v3="off"]) .tapes {
  perspective: 800px;
}

html:not([data-eridu-v3="off"]) .tape {
  transform-origin: 50% 96%;
  will-change: transform;
}

.v3-chart-probe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  background: rgba(7, 17, 15, 0.88);
  border: 1px solid rgba(134, 232, 192, 0.26);
  color: var(--phos-2);
  font: 600 9.5px/1.2 var(--mono);
  letter-spacing: 0.05em;
  margin-top: 10px;
}

@media (max-width: 1000px) {
  html:not([data-eridu-v3="off"]) .tv__side {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    margin-top: 8px;
  }
  html:not([data-eridu-v3="off"]) .tv__brand,
  html:not([data-eridu-v3="off"]) #v3-scope-canvas,
  html:not([data-eridu-v3="off"]) .v3-knob-labels {
    display: none !important;
  }
  html:not([data-eridu-v3="off"]) .tv__led {
    width: auto;
    font-size: 18px;
    padding: 4px 8px;
  }
  .tv__grille.tv__quiz-banner {
    flex-direction: row;
    flex: 1;
    min-height: 46px;
    padding: 6px 10px;
    gap: 10px;
  }
  .tv__qb-kicker {
    width: auto;
    padding: 3px 6px;
  }
  .tv__qb-img {
    width: 34px;
    height: 34px;
  }
  .tv__qb-title {
    font-size: 13px;
    text-align: left;
  }
  .tv__qb-title br {
    display: none;
  }
  .tv__qb-sub {
    display: none;
  }
  .tv__qb-cta {
    width: auto;
    padding: 6px 10px;
    margin-left: auto;
  }
  .v3-cordon--far,
  .v3-cordon--low {
    display: none;
  }
  .v3-cordon--mid {
    top: 22%;
    right: -35%;
    width: 110%;
    opacity: 0.38;
  }
}

@media (max-width: 760px) {
  .v3-hud {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 65;
    background: rgba(14, 16, 20, 0.95);
    backdrop-filter: blur(8px);
  }
}
