
    :root { 
      --primary: #f73c95; 
      --icons: #ffffff; 
      --bg: #000000;
    }
    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
    body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #000; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
    
    #player-shell {
      position: relative; width: 100vw; height: 100vh;
      background: var(--bg); border: 0px solid #3b82f6;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
    }

    /* Rotación Inmersiva solo disponible en modo Horizontal */
    

    .media-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #000; position: relative; }
    .video-el, .iframe-el { width: 100%; height: 100%; border: none; object-fit: contain; }

    #poster-overlay {
      position: absolute; inset: 0; z-index: 5;
      background-size: cover; background-position: center;
      background-image: url('https://i.postimg.cc/Gh41q49n/DRAMIFY.png');
      display: block;
      pointer-events: none;
    }

    #ui-layer {
      position: absolute; inset: 0; z-index: 100;
      transition: opacity 0.4s ease, visibility 0.4s;
      background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.4) 100%);
      display: flex; flex-direction: column; justify-content: space-between;
    }
    #ui-layer.hidden { opacity: 0; visibility: hidden; cursor: none; }

    .logo { position: absolute; top: 20px; right: 20px; color: #fff; font-weight: 800; font-size: 14px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); opacity: 0.8; z-index: 101; pointer-events: none; }
    
    .controls-wrapper { padding: 20px; width: 100%; }
    .bottom-bar { display: flex; flex-direction: column; gap: 10px; width: 100%; }
    .progress-row { display: flex; align-items: center; gap: 12px; width: 100%; }
    .time-display { color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; min-width: 70px; text-shadow: 0 1px 2px #000; }

    .track-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; position: relative; cursor: pointer; }
    .track-fill { height: 100%; background: var(--primary); width: 0%; border-radius: 3px; pointer-events: none; }

    .actions-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
    .left-actions, .right-actions { display: flex; align-items: center; gap: 5px; }

    .btn { 
      background: none; border: none; color: var(--icons); cursor: pointer; 
      font-size: 20px; display: flex; align-items: center; justify-content: center; 
      width: 44px; height: 44px; border-radius: 50%; transition: all 0.2s;
    }
    .btn:hover { background: rgba(255,255,255,0.1); transform: scale(1.1); }
    .btn:active { transform: scale(0.9); }

    .vol-container { display: flex; align-items: center; gap: 8px; position: relative; }
    .vol-slider-wrap { width: 0; overflow: hidden; transition: width 0.3s ease; display: flex; align-items: center; gap: 8px; }
    .vol-container:hover .vol-slider-wrap { width: 130px; }
    .vol-input { width: 80px; height: 4px; accent-color: var(--primary); cursor: pointer; }
    .vol-pct { color: #fff; font-size: 10px; width: 30px; font-weight: bold; }

    .loader {
      position: absolute; width: 45px; height: 45px; border: 4px solid rgba(255,255,255,0.1);
      border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; z-index: 50;
      display: none;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
  