    @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');
    
    html {
      background-color: #000000;
      min-height: 100%;
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background-color: transparent !important;
      color: #f9fafb;
      touch-action: manipulation;
      user-select: none;
      -webkit-user-select: none;
      min-height: 100vh;
    }

    /* ===================================================================
       LIENZO AMBIENTAL FIJO DE PANTALLA COMPLETA (100% BORDE A BORDE)
       Cero cortes de cuchilla, cero restricciones de caja, difuminado infinito
       =================================================================== */
    .apple-ambient-backdrop {
      position: fixed;
      top: -120px;
      left: -20px;
      right: -20px;
      bottom: -120px;
      width: calc(100vw + 40px);
      height: calc(100vh + 240px);
      height: calc(100dvh + 240px);
      pointer-events: none;
      z-index: 0;
      background-color: #030305;
      transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: background;
    }

    main {
      position: relative;
      z-index: 10;
    }

    /* 1. MANDO: Ámbar Solar & Naranja Fuego (Energía, aguja láser) */
    body[data-active-tab="mando"] #apple-ambient-backdrop,
    body:not([data-active-tab]) #apple-ambient-backdrop {
      background: 
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(245, 158, 11, 0.28) 0%, rgba(234, 88, 12, 0.10) 45%, rgba(0, 0, 0, 0) 80%),
        radial-gradient(circle 480px at 85% 85%, rgba(234, 88, 12, 0.10) 0%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(circle 380px at 15% 45%, rgba(245, 158, 11, 0.06) 0%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, #0d0803 0%, #070401 35%, #000000 100%);
    }

    /* 2. CANALES: Cian Eléctrico & Azul Zafiro (Transmisión satelital, streaming) */
    body[data-active-tab="canales"] #apple-ambient-backdrop {
      background: 
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(6, 182, 212, 0.28) 0%, rgba(2, 132, 199, 0.10) 45%, rgba(0, 0, 0, 0) 80%),
        radial-gradient(circle 480px at 15% 85%, rgba(2, 132, 199, 0.12) 0%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(circle 380px at 85% 45%, rgba(6, 182, 212, 0.07) 0%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, #02090e 0%, #010508 35%, #000000 100%);
    }

    /* 3. CONFIGURACIÓN: Púrpura Amatista & Magenta (Creatividad, ambientación comercial) */
    body[data-active-tab="anuncios"] #apple-ambient-backdrop {
      background: 
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(147, 51, 234, 0.28) 0%, rgba(124, 58, 237, 0.10) 45%, rgba(0, 0, 0, 0) 80%),
        radial-gradient(circle 480px at 85% 85%, rgba(168, 85, 247, 0.12) 0%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(circle 380px at 15% 45%, rgba(147, 51, 234, 0.07) 0%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, #0b0312 0%, #05010a 35%, #000000 100%);
    }

    /* 4. PERFIL: Azul Titanio & Índigo Espacial (Identidad corporativa, seguridad) */
    body[data-active-tab="widgets"] #apple-ambient-backdrop {
      background: 
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(59, 130, 246, 0.26) 0%, rgba(99, 102, 241, 0.10) 45%, rgba(0, 0, 0, 0) 80%),
        radial-gradient(circle 480px at 15% 85%, rgba(79, 70, 229, 0.12) 0%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(circle 380px at 85% 45%, rgba(59, 130, 246, 0.07) 0%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, #030611 0%, #010309 35%, #000000 100%);
    }

    /* 5. CÓDIGO: Verde Esmeralda Neón (Emparejamiento activo, idéntico Foto 1) */
    body[data-active-tab="dispositivos"] #apple-ambient-backdrop {
      background: 
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(16, 185, 129, 0.30) 0%, rgba(5, 150, 105, 0.11) 45%, rgba(0, 0, 0, 0) 80%),
        radial-gradient(circle 480px at 85% 85%, rgba(16, 185, 129, 0.12) 0%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(circle 380px at 15% 45%, rgba(5, 150, 105, 0.07) 0%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, #020c06 0%, #010603 35%, #000000 100%);
    }

    .glass-card {
      background: rgba(17, 24, 39, 0.75);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 1.25rem;
    }

    .channel-card {
      background: rgba(31, 41, 55, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 1rem;
      padding: 0.85rem;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
    }

    .channel-card:active {
      transform: scale(0.97);
    }

    .channel-card.active-channel {
      background: linear-gradient(135deg, rgba(225, 29, 72, 0.25) 0%, rgba(147, 51, 234, 0.25) 100%);
      border-color: rgba(244, 63, 94, 0.5);
      box-shadow: 0 8px 20px -6px rgba(225, 29, 72, 0.3);
    }

    /* ===================================================================
       APPLE 2026 FLOATING DOCK NAV (BLACK EDITION - CERO RESPLANDOR)
       =================================================================== */
    .apple-dock-nav {
      position: fixed;
      bottom: max(1.25rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
      left: 50%;
      transform: translateX(-50%);
      display: inline-flex;
      align-items: center;
      gap: 1.2rem;
      padding: 0.65rem 1.4rem;
      background: rgba(16, 18, 24, 0.75);
      border: none !important;
      border-radius: 9999px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.45);
      z-index: 50;
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      user-select: none;
      -webkit-user-select: none;
    }

    /* Píldora Deslizante Activa Naranja (Mate, Sólido, CERO Resplandor / Sin Glow) */
    .apple-dock-glider {
      position: absolute;
      top: 0.65rem;
      left: 0;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #ff9500;
      box-shadow: none; /* CERO resplandor ni halos de color */
      pointer-events: none;
      z-index: 1;
      opacity: 0;
      transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
    }

    /* Botón Iconográfico Apple */
    .apple-dock-btn {
      position: relative;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      color: #71717a; /* Gris neutro Apple inactivo */
      font-size: 1.15rem;
      border: none;
      outline: none;
      cursor: pointer;
      z-index: 2;
      transition: color 0.22s ease, transform 0.15s ease;
      -webkit-tap-highlight-color: transparent;
    }

    .apple-dock-btn:active {
      transform: scale(0.88);
    }

    /* Estado Activo: Icono Negro Profundo sobre el Disco Naranja */
    .apple-dock-btn.active-tab {
      color: #0d0f14 !important; /* Contraste puro sobre glider naranja */
    }

    .apple-dock-btn.active-tab i {
      transform: scale(1.08);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* Compatibilidad con la clase anterior */
    .tab-bar-fixed {
      display: contents;
    }

    /* Hide Scrollbars clean */
    .scrollbar-none::-webkit-scrollbar {
      display: none;
    }
    .scrollbar-none {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
  
    .remote-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      color: #f8fafc;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s ease;
      cursor: pointer;
    }
    .remote-btn:active {
      transform: scale(0.93);
      background: rgba(255, 59, 105, 0.25);
      border-color: #ff3b69;
      color: #ffffff;
    }

    .dpad-container {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, #1a1f2c 0%, #0d1017 100%);
      border: 2px solid rgba(255, 255, 255, 0.1);
      position: relative;
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.6), 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .dpad-center-ok {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: linear-gradient(135deg, #252c3d 0%, #151924 100%);
      border: 2px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      color: #ffffff;
      font-size: 1.1rem;
      cursor: pointer;
    }
    .dpad-center-ok:active {
      transform: scale(0.92);
      background: #ff3b69;
    }

  
    .dpad-container-mobile {
      width: 155px;
      height: 155px;
      border-radius: 50%;
      background: radial-gradient(circle, #1a1f2c 0%, #0d1017 100%);
      border: 2px solid rgba(255, 255, 255, 0.12);
      position: relative;
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.6), 0 10px 25px rgba(0, 0, 0, 0.5);
      flex-shrink: 0;
    }

    .dpad-center-ok-mobile {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, #252c3d 0%, #151924 100%);
      border: 2px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      color: #ffffff;
      font-size: 1rem;
      cursor: pointer;
    }
    .dpad-center-ok-mobile:active {
      transform: scale(0.92);
      background: #ff3b69;
    }

    /* Dummy Physical Remote Keypad Glow */
    .dummy-remote-btn {
      position: relative;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
      transition: all 0.15s ease-out;
    }
    .dummy-remote-btn:active,
    .dummy-remote-btn.btn-active-glow {
      transform: scale(0.92);
      filter: brightness(1.5);
    }
    .dummy-remote-btn.btn-glow-rose {
      background-color: rgba(244, 63, 94, 0.45) !important;
      border-color: rgba(244, 63, 94, 0.9) !important;
      color: #fff !important;
      box-shadow: 0 0 16px rgba(244, 63, 94, 0.8) !important;
    }
    .dummy-remote-btn.btn-glow-emerald {
      background-color: rgba(16, 185, 129, 0.45) !important;
      border-color: rgba(16, 185, 129, 0.9) !important;
      color: #fff !important;
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.8) !important;
    }
    .dummy-remote-btn.btn-glow-amber {
      background-color: rgba(245, 158, 11, 0.45) !important;
      border-color: rgba(245, 158, 11, 0.9) !important;
      color: #fff !important;
      box-shadow: 0 0 16px rgba(245, 158, 11, 0.8) !important;
    }
    .dummy-remote-btn.btn-glow-sky {
      background-color: rgba(14, 165, 233, 0.45) !important;
      border-color: rgba(14, 165, 233, 0.9) !important;
      color: #fff !important;
      box-shadow: 0 0 16px rgba(14, 165, 233, 0.8) !important;
    }
    .dummy-remote-btn.btn-glow-cyan {
      background-color: rgba(6, 182, 212, 0.45) !important;
      border-color: rgba(6, 182, 212, 0.9) !important;
      color: #fff !important;
      box-shadow: 0 0 16px rgba(6, 182, 212, 0.8) !important;
    }
    .dummy-remote-btn.btn-glow-white {
      background-color: rgba(255, 255, 255, 0.25) !important;
      border-color: rgba(255, 255, 255, 0.85) !important;
      color: #38bdf8 !important;
      box-shadow: 0 0 16px rgba(56, 189, 248, 0.75) !important;
    }

  </style>

/* ==========================================================================
   APPLE iOS WEAR / SETTINGS EXPERIENCE
   ========================================================================== */
.ios-grouped-list {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
}

.ios-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
  position: relative;
}

.ios-row:active {
  background-color: rgba(255, 255, 255, 0.06);
}

.ios-row:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 3.75rem;
  right: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Squircle Icon */
.ios-squircle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Slide Views Animation Container (Tijera vertical eliminada) */
.ios-slide-container {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  width: 100%;
}

.ios-main-page {
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.ios-main-page.slide-left {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

.ios-sub-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.ios-sub-page.slide-active {
  position: relative;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  z-index: 20;
}

.ios-sub-page.slide-parent-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(-30%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 10;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
}

/* iOS Orange Switch / Toggle (Foto 2) */
.ios-switch {
  width: 3.2rem;
  height: 1.85rem;
  background-color: #27272a;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.ios-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.6rem;
  height: 1.6rem;
  background-color: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.ios-switch.active {
  background-color: #ff5500 !important;
  box-shadow: 0 0 16px rgba(255, 85, 0, 0.45) !important;
}

.ios-switch.active::after {
  transform: translateX(1.35rem) !important;
}

/* Theme Card Exclusive Hierarchy */
.theme-item-card {
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.theme-item-card.is-active-theme {
  border-color: rgba(255, 85, 0, 0.5) !important;
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.12) 0%, rgba(20, 24, 33, 0.95) 100%) !important;
  box-shadow: 0 8px 24px -4px rgba(255, 85, 0, 0.25);
}

/* Interruptor de Tema Activo (iOS Toggle Orange Animado) */
.theme-item-card.is-active-theme div[id^="theme-switch-"],
div[id^="theme-switch-"].active {
  background-color: #f97316 !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.45) !important;
}

.theme-item-card.is-active-theme div[id^="theme-thumb-"],
div[id^="theme-switch-"].active div[id^="theme-thumb-"] {
  transform: translateX(1.25rem) !important;
}

/* ===================================================================
   APPLE TV SIRI REMOTE (CHASSIS, CLICKPAD, REFLECTIONS & BUTTONS)
   =================================================================== */

.apple-remote-surface {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Anillo Táctil D-Pad (Touch Clickpad Compacto 140px) */
.apple-touch-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #202024 0%, #131316 65%, #09090b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.05),
    inset 0 -3px 6px rgba(0, 0, 0, 0.75),
    0 8px 18px rgba(0, 0, 0, 0.7);
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Botón Central OK Cóncavo Compacto 54px */
.apple-center-ok {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #28282d 0%, #151518 70%, #0c0c0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.08),
    inset 0 -2px 4px rgba(0, 0, 0, 0.8),
    0 3px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #f4f4f5;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.apple-center-ok:active {
  transform: scale(0.92);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.9);
}

/* Botones Circulares Cóncavos Apple Compactos 42px */
.apple-btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #242428 0%, #141416 70%, #0b0b0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    inset 0 -2px 4px rgba(0, 0, 0, 0.65),
    0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f4f4f5;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  flex-shrink: 0;
}
.apple-btn-circle:active {
  transform: scale(0.91);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.85);
  background: #0f0f12;
}

/* Cápsula Vertical Pill Rocker (VOL & CH) Compacta 140px */
.apple-pill-rocker {
  width: 46px;
  height: 140px;
  border-radius: 24px;
  background: linear-gradient(180deg, #222226 0%, #141416 50%, #0a0a0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.08),
    inset 0 -2px 4px rgba(0, 0, 0, 0.75),
    0 6px 16px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  flex-shrink: 0;
  position: relative;
}

.apple-pill-btn {
  width: 100%;
  height: 62px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f5;
  transition: transform 0.12s ease, background 0.12s ease;
  cursor: pointer;
}
.apple-pill-btn:active {
  transform: scale(0.88);
  background: rgba(255, 255, 255, 0.05);
}

.apple-pill-divider {
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Teclado Numérico Apple Compacto 42px */
.apple-num-key {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #202024 0%, #121214 70%, #09090b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.06),
    inset 0 -2px 3px rgba(0, 0, 0, 0.7),
    0 3px 8px rgba(0, 0, 0, 0.5);
  color: #e4e4e7;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.apple-num-key:active {
  transform: scale(0.9);
  background: #0d0d0f;
}

/* REAL REMOTE HARDWARE FEEDBACK: IR LED & BUTTON GLOW */
.apple-ir-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1c1c1f;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.12s ease;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
}

.apple-ir-led.blasting {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 20px 6px rgba(255, 255, 255, 0.95), 0 0 8px 3px rgba(52, 211, 153, 0.8) !important;
}

/* Backlit Key Glow on Real Press */
.apple-btn-circle:active, 
.apple-pill-btn:active, 
.apple-num-key:active, 
.apple-center-ok:active {
  box-shadow: 0 0 22px 3px rgba(255, 255, 255, 0.65), inset 0 0 10px rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

.apple-btn-circle.active-muted {
  border-color: rgba(244, 63, 94, 0.7) !important;
  box-shadow: 0 0 20px 2px rgba(244, 63, 94, 0.5), inset 0 0 8px rgba(244, 63, 94, 0.3) !important;
  color: #fb7185 !important;
}

.apple-btn-circle.active-playing {
  border-color: rgba(52, 211, 153, 0.7) !important;
  box-shadow: 0 0 18px 2px rgba(52, 211, 153, 0.45), inset 0 0 8px rgba(52, 211, 153, 0.25) !important;
  color: #34d399 !important;
}

.apple-oled-display {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 6px 14px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(255, 255, 255, 0.05);
}

/* ===================================================================
   APPLE 2026 MINIMALIST BLACK REMOTE (CLEAN, FLAT, GRAPHIC)
   =================================================================== */

.apple-2026-surface {
  position: relative;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Barra OLED Minimalista */
.apple-2026-oled {
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 5px 12px;
}

/* Botones Circulares Minimalistas Superiores */
.apple-2026-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4d4d8;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.apple-2026-btn-circle:active {
  transform: scale(0.92);
  background: #27272a;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.apple-2026-btn-circle.active-muted {
  border-color: rgba(244, 63, 94, 0.6) !important;
  background: rgba(244, 63, 94, 0.15) !important;
  color: #fb7185 !important;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.35);
}

.apple-2026-btn-circle.active-playing {
  border-color: rgba(52, 211, 153, 0.6) !important;
  background: rgba(52, 211, 153, 0.15) !important;
  color: #34d399 !important;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.35);
}

/* Gran D-Pad Circular Minimalista (Foto 2026) */
.apple-2026-dpad {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-2026-ok {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f1f24;
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #f4f4f5;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 5;
}
.apple-2026-ok:active {
  transform: scale(0.92);
  background: #2a2a30;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* Cápsulas Verticales CH y VOL Minimalistas (Foto 2026) */
.apple-2026-rocker {
  width: 48px;
  height: 144px;
  border-radius: 26px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  flex-shrink: 0;
}

.apple-2026-rocker-btn {
  width: 100%;
  height: 48px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4d4d8;
  cursor: pointer;
  transition: all 0.12s ease;
}
.apple-2026-rocker-btn:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.apple-2026-rocker-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #71717a;
  user-select: none;
}

/* Teclado Numérico 2026 Minimalista */
.apple-2026-num-key {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #f4f4f5;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s ease;
}
.apple-2026-num-key:active {
  transform: scale(0.9);
  background: #27272a;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* ===================================================================
   APPLE 2026 BLACK & GRAPHITE EDITION (ESTILO APPLE NEGRO PURO)
   =================================================================== */

.apple-black-surface {
  position: relative;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #0d0f14;
  border-radius: 32px;
  padding: 16px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Barra de Canal OLED Oscura */
.apple-black-display {
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Botones Circulares Negro/Grafito */
.apple-black-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b1e27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.apple-black-btn-circle:active {
  transform: scale(0.92);
  background: #252a36;
  border-color: rgba(255, 255, 255, 0.2);
}

.apple-black-btn-circle.active-muted {
  border-color: rgba(244, 63, 94, 0.5) !important;
  background: rgba(244, 63, 94, 0.2) !important;
  color: #fb7185 !important;
}

.apple-black-btn-circle.active-playing {
  border-color: rgba(16, 185, 129, 0.5) !important;
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
}

/* Gran D-Pad Circular Negro (Diseño Apple Minimal) */
.apple-black-dpad {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-black-ok {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #222632;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 5;
}
.apple-black-ok:active {
  transform: scale(0.92);
  background: #2d3342;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Cápsulas Verticales CH y VOL Negras */
.apple-black-rocker {
  width: 48px;
  height: 144px;
  border-radius: 26px;
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  flex-shrink: 0;
}

.apple-black-rocker-btn {
  width: 100%;
  height: 48px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.12s ease;
}
.apple-black-rocker-btn:active {
  transform: scale(0.9);
  background: #252a36;
}

.apple-black-rocker-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  user-select: none;
}

/* Teclado Numérico Negro con Grises */
.apple-black-num-key {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b1e27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #f8fafc;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s ease;
}
.apple-black-num-key:active {
  transform: scale(0.9);
  background: #252a36;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* ===================================================================
   APPLE 2026 WHITE & GRAY EDITION (FALLBACK COMPATIBLE)
   =================================================================== */

.apple-white-surface {
  position: relative;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #f8f9fa;
  border-radius: 32px;
  padding: 16px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.apple-white-display {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 6px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.apple-white-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.apple-white-btn-circle:active {
  transform: scale(0.92);
  background: #f3f4f6;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.apple-white-btn-circle.active-muted {
  border-color: rgba(244, 63, 94, 0.4) !important;
  background: rgba(254, 226, 226, 0.8) !important;
  color: #e11d48 !important;
}

.apple-white-btn-circle.active-playing {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: rgba(209, 250, 229, 0.8) !important;
  color: #059669 !important;
}

.apple-white-dpad {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-white-ok {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 5;
}
.apple-white-ok:active {
  transform: scale(0.92);
  background: #e5e7eb;
}

.apple-white-rocker {
  width: 48px;
  height: 144px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  flex-shrink: 0;
}

.apple-white-rocker-btn {
  width: 100%;
  height: 48px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  transition: all 0.12s ease;
}
.apple-white-rocker-btn:active {
  transform: scale(0.9);
  background: #f3f4f6;
}

.apple-white-rocker-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9ca3af;
  user-select: none;
}

.apple-white-num-key {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  color: #1f2937;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s ease;
}
.apple-white-num-key:active {
  transform: scale(0.9);
  background: #f3f4f6;
}

/* ===================================================================
   APPLE STACKED SHEET CARDS (LÁMINAS SUTILES DESDE EL PIE)
   =================================================================== */
.apple-stack-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  padding-bottom: 0;
}

.apple-stack-card {
  position: relative;
  border-radius: 26px 26px 0 0;
  padding: 1.15rem 1.25rem 3.1rem 1.25rem;
  cursor: pointer;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important; /* Borde de luz superior estilo Apple */
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45); /* Sombra suave y natural hacia abajo */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.15s ease, transform 0.1s ease;
  user-select: none;
  -webkit-user-select: none;
}

/* Solapamiento elegante con suficiente holgura para títulos y subtítulos */
.apple-stack-card:not(:first-child) {
  margin-top: -1.85rem;
}

/* Jerarquía inmutable de Z-Index para que las láminas SIEMPRE se monten en orden natural */
.apple-stack-container > .apple-stack-card:nth-child(1) { z-index: 10 !important; }
.apple-stack-container > .apple-stack-card:nth-child(2) { z-index: 20 !important; }
.apple-stack-container > .apple-stack-card:nth-child(3) { z-index: 30 !important; }
.apple-stack-container > .apple-stack-card:nth-child(4) { z-index: 40 !important; }
.apple-stack-container > .apple-stack-card:nth-child(5) { z-index: 50 !important; }
.apple-stack-container > .apple-stack-card:nth-child(6) { z-index: 60 !important; }

/* La última lámina: en su espacio natural, con degradado más largo y extendido hacia el pie */
.apple-stack-card:last-child {
  border-radius: 26px 26px 0 0 !important;
  padding: 1.15rem 1.25rem 11.5rem 1.25rem !important;
  margin-bottom: 0 !important;
  background: linear-gradient(to bottom, #181420 0%, #181420 30%, rgba(24, 20, 32, 0.8) 60%, rgba(24, 20, 32, 0.3) 85%, #000000 100%) !important;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}

/* Sin saltos de elevación ni superposiciones bruscas */
.apple-stack-card:active {
  opacity: 0.9;
  transform: scale(0.995);
}

/* Colores ultra tenues y atmosféricos (el color no es el protagonista) */
.apple-stack-card-canales {
  background: #111a24;
}

.apple-stack-card-temas {
  background: #151520;
}

.apple-stack-card-archivos {
  background: #1b1613;
}

.apple-stack-card-youtube {
  background: #1b1316;
}

.apple-stack-card-ticker {
  background: #12181e;
}

.apple-stack-card-conexiones {
  background: linear-gradient(to bottom, #181420 0%, #181420 30%, rgba(24, 20, 32, 0.8) 60%, rgba(24, 20, 32, 0.3) 85%, #000000 100%) !important;
}

/* ===================================================================
   SWISS HOROLOGY RADIAL INSTRUMENT (RÉPLICA FOTO 1:1)
   =================================================================== */

.chrono-instrument-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  justify-content: center;
}

.chrono-svg-canvas {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  overflow: visible;
}

/* Botón Satélite Flotante Azul Eléctrico (Foto 1:1) */
.chrono-floating-satellite-btn {
  position: absolute;
  left: 75%;
  top: 95%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.65), 0 0 16px rgba(37, 99, 235, 0.4);
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 35;
}
.chrono-floating-satellite-btn:active {
  transform: translate(-50%, -50%) scale(0.9);
  background: #1d4ed8;
}

/* Cajón / Popover del Teclado Numérico Desplegable */
.chrono-keypad-drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
  z-index: 40;
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0.5rem auto 0 auto;
}
.chrono-keypad-drawer.open {
  max-height: 420px;
  opacity: 1;
}

/* ===================================================================
   APPLE ULTRA-MINIMALIST SATELLITE POD (FOTO 1 EN BLACK)
   =================================================================== */

.apple-pod-container {
  position: absolute;
  left: 75%;
  bottom: 78px;
  transform: translateX(-50%) scale(0.85);
  transform-origin: bottom center;
  width: 135px;
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.25);
  padding: 8px 6px 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
  z-index: 50;
  user-select: none;
  -webkit-user-select: none;
}
.apple-pod-container.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

/* Fila de Flechas Arriba / Abajo */
.apple-pod-arrows-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
}
.apple-pod-arrow-btn {
  width: 32px;
  height: 20px;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  cursor: pointer;
  transition: all 0.1s ease;
}
.apple-pod-arrow-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.apple-pod-arrow-btn:active {
  transform: scale(0.85);
}

/* Columnas de los Números */
.apple-pod-columns-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
  position: relative;
}

/* Viewport de Dígitos de cada Columna */
.apple-pod-column-viewport {
  position: relative;
  width: 34px;
  height: 130px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 52px;
  padding-bottom: 52px;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.apple-pod-column-viewport::-webkit-scrollbar {
  display: none;
}

/* Dígito en la Columna */
.apple-pod-digit {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  font-family: -apple-system, BlinkMacSystemFont, monospace;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.1s ease;
}
.apple-pod-digit.active {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: #2563eb;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
}

/* Botón OK al pie del Pod */
.apple-pod-ok-btn {
  width: 100%;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.12s ease;
}
.apple-pod-ok-btn:active {
  transform: scale(0.95);
  background: #1d4ed8;
}

/* ==========================================================================
   BOTONES CAPACITIVOS FRONTALES CH Y VOL EN ESFERA DE RELOJERÍA
   ========================================================================== */
.btn-dial-action {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.dial-action-label,
.dial-action-glow,
#lbl-ch-plus, #lbl-ch-minus, #lbl-vol-plus, #lbl-vol-minus,
#glow-ch-plus, #glow-ch-minus, #glow-vol-plus, #glow-vol-minus {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.16s ease-out, fill 0.16s ease-out;
}






