
    /* --- THE DAKING PREMIUM COLOUR SYSTEM (100% PRESERVED) --- */
    :root {
      --bg-dark: #200B47; 
      --bg-card: #371775; 
      --accent-gold: #FFD23F; 
      --accent-glow: rgba(255, 210, 63, 0.6);
      --accent-border: rgba(255, 210, 63, 0.4);
      --accent-pink: #FF2E93; 
      --accent-pink-glow: rgba(255, 46, 147, 0.6);
      --accent-fb-blue: #1877F2;
      --accent-fb-glow: rgba(24, 119, 242, 0.6);
      --text-primary: #FFFFFF; 
      --text-muted: #D1C4E9; 
      --glass-bg: rgba(55, 23, 117, 0.75);
      --glass-border: rgba(255, 255, 255, 0.15);
      --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", sans-serif;
      --ribbon-bg: linear-gradient(135deg, #FF2E93 0%, #FF0055 100%);
      --ribbon-text: #FFFFFF;
      --ribbon-width: 130px;
      --ribbon-height: 22px;
      --ribbon-angle: 45deg;
      --ribbon-font-size: 0.55rem;
      --ribbon-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

    /* --- THEME VARIANTS (Theme Changer) --- */
    body[data-theme="purple"] {
      --bg-dark: #200B47;
      --bg-card: #371775;
      --accent-gold: #FFD23F;
      --accent-glow: rgba(255, 210, 63, 0.6);
      --accent-border: rgba(255, 210, 63, 0.4);
    }
    body[data-theme="midnight"] {
      --bg-dark: #05070F;
      --bg-card: #101827;
      --accent-gold: #4DD8FF;
      --accent-glow: rgba(77, 216, 255, 0.55);
      --accent-border: rgba(77, 216, 255, 0.4);
    }
    body[data-theme="crimson"] {
      --bg-dark: #1A0508;
      --bg-card: #3A0F16;
      --accent-gold: #FF4D6D;
      --accent-glow: rgba(255, 77, 109, 0.55);
      --accent-border: rgba(255, 77, 109, 0.4);
    }
    body[data-theme="emerald"] {
      --bg-dark: #041A12;
      --bg-card: #0C3423;
      --accent-gold: #2EE6A6;
      --accent-glow: rgba(46, 230, 166, 0.55);
      --accent-border: rgba(46, 230, 166, 0.4);
    }
    /* NEW LIGHT THEME VARIANTS */
    body[data-theme="light"] {
      --bg-dark: #F5F3FA;
      --bg-card: #FFFFFF;
      --accent-gold: #7B3FF2;
      --accent-glow: rgba(123, 63, 242, 0.35);
      --accent-border: rgba(123, 63, 242, 0.35);
      --accent-pink: #FF2E93;
      --text-primary: #1B1330;
      --text-muted: #6B6180;
      --glass-bg: rgba(255, 255, 255, 0.75);
      --glass-border: rgba(20, 10, 40, 0.1);
    }
    body[data-theme="cream"] {
      --bg-dark: #FBF6EC;
      --bg-card: #FFFFFF;
      --accent-gold: #E08A2E;
      --accent-glow: rgba(224, 138, 46, 0.35);
      --accent-border: rgba(224, 138, 46, 0.35);
      --accent-pink: #E8577A;
      --text-primary: #2B2116;
      --text-muted: #8A7B63;
      --glass-bg: rgba(255, 255, 255, 0.78);
      --glass-border: rgba(43, 33, 22, 0.1);
    }
    body[data-theme="sky"] {
      --bg-dark: #EFF6FF;
      --bg-card: #FFFFFF;
      --accent-gold: #1877F2;
      --accent-glow: rgba(24, 119, 242, 0.3);
      --accent-border: rgba(24, 119, 242, 0.3);
      --accent-pink: #FF2E93;
      --text-primary: #0F1E33;
      --text-muted: #5A6B85;
      --glass-bg: rgba(255, 255, 255, 0.78);
      --glass-border: rgba(15, 30, 51, 0.1);
    }
    /* LOOKR — clean white theme with vivid green accents */
    body[data-theme="lookr"] {
      --bg-dark: #FFFFFF;
      --bg-card: #FFFFFF;
      --accent-gold: #1DB954;
      --accent-glow: rgba(29, 185, 84, 0.35);
      --accent-border: rgba(29, 185, 84, 0.35);
      --accent-pink: #FF3B30;
      --accent-pink-glow: rgba(255, 59, 48, 0.5);
      --accent-fb-blue: #1877F2;
      --accent-fb-glow: rgba(24, 119, 242, 0.6);
      --text-primary: #16181C;
      --text-muted: #767A82;
      --glass-bg: rgba(255, 255, 255, 0.9);
      --glass-border: rgba(16, 24, 40, 0.08);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: var(--font-main);
      -webkit-tap-highlight-color: transparent;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-primary);
      overflow-x: hidden;
      padding-bottom: max(110px, calc(90px + env(safe-area-inset-bottom))); 
      padding-top: max(10px, env(safe-area-inset-top));
      touch-action: manipulation;
      transition: background-color 0.3s ease;
    }

    ::-webkit-scrollbar { display: none; }
    html, body { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }

    .app-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 12px;
    }

    /* iOS Tactile Active Press Feedback */
    button, .movie-card, .nav-item, .popup-download-btn, .translator-premium-card, .episode-row {
      transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }
    button:active, .movie-card:active, .nav-item:active, .episode-row:active {
      transform: scale(0.96) !important;
      opacity: 0.88;
    }

    /* iOS Drag Handle Indicator for Modals */
    .ios-drag-handle {
      width: 38px;
      height: 5px;
      background-color: rgba(255, 255, 255, 0.35);
      border-radius: 3px;
      margin: 8px auto 6px auto;
      flex-shrink: 0;
    }

    .daking-avatar-ring {
      position: relative;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      padding: 2px;
      background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink));
      box-shadow: 0 0 12px var(--accent-glow);
      animation: pulseGlow 2.5s infinite alternate;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .daking-avatar-ring img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid var(--bg-dark);
    }

    @keyframes pulseGlow {
      0% { box-shadow: 0 0 8px var(--accent-glow); }
      100% { box-shadow: 0 0 18px var(--accent-pink-glow); }
    }

    /* ==========================================================================
       PRO-MARKETING TOP HERO AUTO-SLIDE BANNER (#140733) - iOS GLASS EDITION
       ========================================================================== */

    .hero-banner-container {
      
      container-type: inline-size;
      container-name: hero-banner-cq;
      width: 100%;
      margin-bottom: 8px;
    }

    .hero-banner {
      position: relative;
      width: 100%;
      aspect-ratio: 1000 / 420;
      min-height: 220px;
      background-color: #140733;
      border-radius: 24px;
      overflow: hidden;
      font-family: 'Poppins', -apple-system, sans-serif;
      color: #ffffff;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(20, 7, 51, 0.8);
      border: 0.5px solid rgba(255, 255, 255, 0.18);
      cursor: pointer;
      user-select: none;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* EMBEDDED TOP HEADER OVERLAY WITH SEARCH ICON */
    .hero-header-overlay {
      position: fixed;
      top: 10px;
      left: 10px;
      right: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 25;
      gap: 10px;
      background: rgba(20, 7, 51, 0.65);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      padding: 8px 14px;
      border-radius: 18px;
      border: 0.5px solid var(--accent-border);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    .hero-brand-container {
      display: flex;

      align-items: center;
      gap: 8px;
    }

    .hero-brand-title {
      font-weight: 900;
      font-size: 0.95rem;
      letter-spacing: -0.3px;
      text-transform: uppercase;
      background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-gold) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* iOS Search Button in Banner Header */
    .hero-search-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 210, 63, 0.15);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 0.5px solid var(--accent-border);
      padding: 6px 14px;
      border-radius: 20px;
      color: var(--text-primary);
      font-size: 0.72rem;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    .hero-search-btn i {
      color: var(--accent-gold);
      font-size: 0.8rem;
    }

    .hero-search-btn:hover {
      background: rgba(255, 210, 63, 0.28);
      border-color: var(--accent-gold);
    }

    /* Base Marketing Canvas Container Queries Layout */
    .banner-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5cqw;
      box-sizing: border-box;
      overflow: hidden;
    }

    /* --- Background Decorative Elements --- */
    .banner-bg-ribbon {
      position: absolute;
      top: -20%;
      right: 18%;
      width: 55cqw;
      height: 140%;
      background: #0a031e;
      transform: rotate(-18deg);
      z-index: 1;
      pointer-events: none;
    }

    .banner-bg-purple-shape {
      position: absolute;
      bottom: -20%;
      right: -10%;
      width: 45cqw;
      height: 90%;
      background: radial-gradient(circle, #250a58 0%, #140733 70%);
      border-radius: 50%;
      z-index: 1;
      pointer-events: none;
    }

    .banner-white-extension {
      position: absolute;
      bottom: -1cqw;
      right: 15cqw;
      width: 29cqw;
      height: 29cqw;
      background-color: #ffffff;
      border-radius: 2.5cqw;
      transform: rotate(-6deg);
      z-index: 2;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    /* --- Floating Decorations --- */
    .banner-float-arc {
      position: absolute;
      top: 32%;
      left: 36cqw;
      width: 1.8cqw;
      height: 1cqw;
      border: 0.35cqw solid #FFD23F;
      border-bottom: none;
      border-radius: 2cqw 2cqw 0 0;
      transform: rotate(25deg);
      z-index: 5;
      pointer-events: none;
    }

    .banner-float-cross {
      position: absolute;
      top: 48%;
      right: 51cqw;
      font-size: 1.4cqw;
      color: rgba(255, 255, 255, 0.25);
      font-weight: 900;
      z-index: 5;
      pointer-events: none;
    }

    .banner-float-triangle {
      position: absolute;
      bottom: 24%;
      right: 55cqw;
      width: 0;
      height: 0;
      border-left: 0.5cqw solid transparent;
      border-right: 0.5cqw solid transparent;
      border-bottom: 0.9cqw solid rgba(255, 255, 255, 0.25);
      transform: rotate(15deg);
      z-index: 5;
      pointer-events: none;
    }

    .banner-svg-curve-bottom {
      position: absolute;
      bottom: 26%;
      right: 48cqw;
      width: 9cqw;
      height: 3.5cqw;
      z-index: 5;
      pointer-events: none;
    }

    .banner-svg-curve-top {
      position: absolute;
      top: 12%;
      right: 5cqw;
      width: 6cqw;
      height: 3cqw;
      z-index: 5;
      pointer-events: none;
    }

    /* --- Left Content Layout --- */
    .banner-left-content {
      position: relative;
      z-index: 10;
      width: 53%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100%;
      padding-top: 15cqw;
    }

    .banner-logo-bars {
      display: flex;
      align-items: flex-end;
      gap: 3px;
      height: 18px;
    }

    .banner-bar {
      width: 5px;
      border-radius: 3px;
      background: linear-gradient(180deg, #FF7B00 0%, #FF3D00 100%);
    }

    .banner-bar-1 { height: 10px; }
    .banner-bar-2 { height: 18px; }
    .banner-bar-3 { height: 14px; }

    .banner-headline {
      font-size: clamp(1rem, 3.4cqw, 2.2rem); 
      font-weight: 900;
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }

    .banner-headline-line2 {
      display: block;
      color: #ffffff;
      font-size: 4.4cqw;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .banner-headline-line3 {
      display: block;
      color: #FFD23F;
      font-size: 2.9cqw;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .banner-description {
      font-size: clamp(0.75rem, 1.25cqw, 1.1rem); 
      line-height: 1.45;
      color: #b3a9d1;
      font-weight: 400;
      margin-bottom: 15px;
      max-width: 95%;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .banner-meta-row {
      display: flex;
      align-items: center;
      gap: 1cqw;
      margin-bottom: 1.2cqw;
    }

    .banner-meta-badge {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 0.5px solid rgba(255, 255, 255, 0.2);
      padding: 0.25cqw 0.7cqw;
      border-radius: 2cqw;
      font-size: 1cqw;
      font-weight: 600;
      color: #FFD23F;
      display: flex;
      align-items: center;
      gap: 0.4cqw;
    }

    .banner-action-row {
      display: flex;
      align-items: center;
      gap: 1.8cqw;
    }

    .banner-cta-btn {
      background: linear-gradient(135deg, #FF3131 0%, #FF8800 100%);
      color: #ffffff;
      font-family: 'Poppins', -apple-system, sans-serif;
      font-size: 1.2cqw;
      font-weight: 800;
      padding: 0.9cqw 2.2cqw;
      border-radius: 5cqw;
      border: none;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      box-shadow: 0 0.8cqw 2cqw rgba(255, 49, 49, 0.4);
      white-space: nowrap;
    }

    .banner-phone-contact {
      display: flex;
      align-items: center;
      gap: 0.8cqw;
    }

    .banner-phone-icon {
      width: 3cqw;
      height: 3cqw;
      border-radius: 50%;
      background: linear-gradient(135deg, #FF3131 0%, #FF8800 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 1.3cqw;
      box-shadow: 0 0.4cqw 1cqw rgba(255, 49, 49, 0.3);
      flex-shrink: 0;
    }

    .banner-phone-text {
      display: flex;
      flex-direction: column;
    }

    .banner-phone-label {
      font-size: 0.85cqw;
      color: #a399c2;
      font-weight: 500;
      line-height: 1.1;
    }

    .banner-phone-number {
      font-size: 1.25cqw;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: 0.02em;
      line-height: 1.2;
    }

    /* --- Right Content Layout: Tilted Image Card --- */
    .banner-right-content {
      position: relative;
      z-index: 10;
      width: 44%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 1.5cqw;
    }

    .banner-tilted-card {
      position: relative;
      width: 37cqw;
      height: 45cqw;
      background-color: #ffffff;
      border-radius: 2.2cqw;
margin-top:6cqw;
      padding: 0.6cqw;
      transform: rotate(-5deg);
      box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, 0.6);
      transition: transform 0.4s ease;
    }

    .banner-tilted-card:hover {
      transform: rotate(-3deg) scale(1.02);
    }

    .banner-card-img-wrapper {
      width: 100%;
      height: 100%;
      border-radius: 1.6cqw;
      overflow: hidden;
      background-color: #11062b;
    }

    .hero-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    /* Slider Dots Overlay */
    .hero-dots {
      position: absolute;
      bottom: 1.8cqw;
      left: 30%;
      display: flex;
      gap: 0.6cqw;
      z-index: 20;
    }

    .hero-dot {
      width: 2.8cqw;
      height: 2.8cqw;
      min-width: 6px;
      min-height: 6px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.35);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .hero-dot.active {
      width: 6.2cqw;
      border-radius: 1cqw;
      background: var(--accent-gold);
      box-shadow: 0 0 10px var(--accent-glow);
    }

    /* --- HEADLINES --- */
    .section-headline { font-size: 1.1rem; font-weight: 900; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.3px; }
    .section-headline h2 { font-size: 1.1rem; font-weight: 900; color: var(--text-primary); text-transform: uppercase; letter-spacing: -0.3px; }
    .section-headline::before { content: ''; display: inline-block; width: 5px; height: 16px; background: linear-gradient(to bottom, var(--accent-gold), var(--accent-pink)); border-radius: 3px; box-shadow: 0 0 8px var(--accent-glow); }

    /* --- MOVIE CARDS & CLEAN COVER SYSTEM --- */
    .row-container { margin-top: 24px; }
    .movie-scroll-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 14px 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }

    .movie-card { width: 100%; background: transparent;
    
    
    overflow: hidden; cursor: pointer; scroll-snap-align: start; flex-shrink: 0; }
    .movie-scroll-row .movie-card { min-width: 142px; width: 142px; }

    .card-img-wrapper { position: relative; height: 205px; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.45); border: 0.5px solid var(--glass-border); }
    .card-img { width: 100%; height: 100%; object-fit: cover; }

    /* TOP LEFT BADGE */
    .card-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      color: var(--text-primary);
      font-size: 0.55rem;
      font-weight: 900;
      padding: 4px 8px;
      border-radius: 10px;
      background-color: rgba(32, 11, 71, 0.75);
      backdrop-filter: blur(12px) saturate(180%);
      -webkit-backdrop-filter: blur(12px) saturate(180%);
      border: 0.5px solid var(--glass-border);
      text-transform: uppercase;
      z-index: 6;
    }
    .card-badge.series { border-color: var(--accent-gold); color: var(--accent-gold); }
    .card-badge.parts { border-color: var(--accent-pink); color: #fff; background-color: rgba(255, 46, 147, 0.85); }

    /* CORNER RIBBON BADGE */
    .card-ubwoko-badge {
      position: absolute;
      top: 16px;
      right: -35px;
      width: var(--ribbon-width);
      height: var(--ribbon-height);
      background: var(--ribbon-bg);
      color: var(--ribbon-text);
      font-size: var(--ribbon-font-size);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      transform: rotate(var(--ribbon-angle));
      box-shadow: var(--ribbon-shadow);
      z-index: 6;
      pointer-events: none;
    }

    .card-ubwoko-badge i {
      color: var(--ribbon-text);
      font-size: 0.55rem;
    }

    .card-bottom-gradient {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: linear-gradient(to top, rgba(15, 4, 34, 0.9) 0%, transparent 100%);
      pointer-events: none;
      z-index: 4;
    }

    .card-metrics-overlay { 
      position: absolute; 
      bottom: 8px; 
      left: 6px; 
      right: 6px; 
      display: flex; 
      gap: 6px; 
      align-items: center; 
      justify-content: flex-end; 
      z-index: 5; 
    }

    .card-comment-btn, .card-rating-badge { 
      color: var(--text-primary); 
      background-color: rgba(32, 11, 71, 0.75); 
      backdrop-filter: blur(12px) saturate(180%);
      -webkit-backdrop-filter: blur(12px) saturate(180%);
      cursor: pointer; 
      outline: none; 
      border-radius: 12px; 
      border: 0.5px solid var(--glass-border);
      font-size: 0.7rem;
      padding: 4px 8px;
      display: flex;
      align-items: center;
      gap: 4px;
      font-weight: 800;
    }
    .card-comment-btn i { font-size: 0.75rem; color: var(--accent-gold); }
    .card-rating-badge { cursor: default; }

    .card-content { padding: 8px 2px 0 2px; }
    .card-title { font-size: 0.8rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.2px; }
    .card-translator { font-size: 0.65rem; color: var(--accent-gold); font-weight: 800; }

    /* VIEW-ALL CARD (11th card at end of a row) */
    .view-all-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      text-align: center;
    }
    .view-all-card .card-img-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-card);
      border: 1.5px dashed var(--accent-border);
    }
    .view-all-card .view-all-icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255,210,63,0.12);
      border: 1px solid var(--accent-border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-gold);
      font-size: 1.15rem;
      margin-bottom: 8px;
    }
    .view-all-card .card-title { font-size: 0.78rem; }

    /* --- PRO TRANSLATORS GRID --- */
    .translators-grid-layout {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      padding: 16px 4px 40px 4px;
      align-items: start;
    }
    .translator-premium-card {
      position: relative;
      border-radius: 22px;
      padding: 28px 16px;
      text-align: center;
      cursor: pointer;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--bg-card);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
      border: 0.5px solid var(--glass-border);
    }
    .translator-card-icon { font-size: 1.8rem; color: #FFFFFF; opacity: 0.95; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
    .translator-card-name { font-size: 1.15rem; font-weight: 800; color: #FFFFFF; letter-spacing: -0.3px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
    .translator-card-action { font-size: 0.75rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }

    /* --- iOS SHEET MODALS & DRAWERS --- */
    .detail-page {
      position: fixed;
      inset: 0;
      background-color: var(--bg-dark);
      z-index: 1000;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      display: flex;
      flex-direction: column;
      transform: translateY(100%); 
      transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
      border-top-left-radius: 28px;
      border-top-right-radius: 28px;
    }
    .detail-page.active { transform: translateY(0); }
    .detail-blur-bg { position: absolute; top: 0; left: 0; right: 0; height: 320px; background-size: cover; background-position: center; filter: blur(50px) brightness(0.5); opacity: 0.85; z-index: 1; pointer-events: none; }

    .detail-back-btn {
      position: fixed;
      top: max(16px, env(safe-area-inset-top));
      left: 16px;
      background: rgba(55, 23, 117, 0.75);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid var(--accent-gold);
      color: var(--text-primary);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 1010;
      box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    }

    .detail-top-darkener { position: absolute; top: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to bottom, rgba(32, 11, 71, 0.85) 0%, transparent 100%); z-index: 3; pointer-events: none; }
    .detail-header-compact { display: flex; gap: 16px; padding: 70px 16px 18px 16px; position: relative; z-index: 2; }
    .detail-cover-compact { width: 100px; height: 145px; object-fit: cover; border-radius: 18px; border: 2px solid var(--accent-gold); flex-shrink: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
    
    .detail-main-info { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; min-width: 0; }
    .detail-meta-row-compact { display: flex; gap: 6px; margin-bottom: 8px; align-items: center; }
    
    .badge-category { background-color: rgba(255, 210, 63, 0.15); border: 1px solid var(--accent-gold); color: var(--text-primary); font-size: 0.55rem; font-weight: 800; padding: 4px 8px; border-radius: 8px; }
    .badge-type { background-color: var(--accent-pink); color: var(--text-primary); font-size: 0.55rem; font-weight: 900; padding: 4px 8px; border-radius: 8px; }
    .badge-type.series-badge { background-color: #00E676; }

    .detail-title-compact { font-size: 1.35rem; font-weight: 900; line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.4px; }

    .detail-translator-compact { display: flex; align-items: center; background-color: rgba(55, 23, 117, 0.65); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 8px 12px; border-radius: 14px; border: 0.5px solid var(--glass-border); }
    
    .detail-info-panel-compact { padding: 8px 16px 40px 16px; position: relative; z-index: 2; flex-grow: 1; }
    .episodes-section { border-top: 0.5px solid var(--glass-border); padding-top: 18px; margin-bottom: 24px; }
    .episodes-title { font-size: 0.8rem; font-weight: 900; margin-bottom: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
    .episodes-list { display: flex; flex-direction: column; gap: 10px; }

    .episode-row { display: flex; align-items: center; justify-content: space-between; background-color: var(--bg-card); border: 0.5px solid var(--glass-border); padding: 14px 16px; border-radius: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
    .episode-name { font-size: 0.88rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.2px; }

    .btn-action-watch { background-color: var(--accent-gold); color: var(--bg-dark); border: none; padding: 8px 16px; border-radius: 12px; font-weight: 900; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; cursor: pointer; box-shadow: 0 4px 12px var(--accent-glow); }

    /* --- MOVIE COMMENTS SECTION --- */
    .comments-section { border-top: 0.5px solid var(--glass-border); padding-top: 18px; }
    .comments-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
    
    .comment-input-wrapper { display: flex; flex-direction: column; gap: 8px; background: var(--bg-card); border: 0.5px solid var(--glass-border); padding: 12px; border-radius: 18px; }
    .reply-indicator-bar { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 46, 147, 0.15); border: 1px solid var(--accent-pink); padding: 6px 10px; border-radius: 10px; font-size: 0.7rem; color: #fff; }

    /* --- MESSENGER & INBOX --- */
    .chat-history-wrapper { display: flex; flex-direction: column; height: calc(100vh - 150px); background: rgba(55, 23, 117, 0.4); border-radius: 20px; border: 0.5px solid var(--glass-border); overflow: hidden; }
    .chat-messages-box { flex-grow: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; -webkit-overflow-scrolling: touch; }
    
    .chat-input-bar { display: flex; gap: 8px; padding: 12px; background: var(--bg-card); border-top: 0.5px solid var(--glass-border); align-items: center; width: 100%; }
    .chat-input-field { flex-grow: 1; background: var(--bg-dark); border: 0.5px solid var(--glass-border); padding: 12px 18px; border-radius: 24px; color: #fff; font-size: 0.88rem; outline: none; }
    .chat-send-btn { background-color: var(--accent-gold); color: var(--bg-dark); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; flex-shrink: 0; box-shadow: 0 4px 12px var(--accent-glow); }

    .notes-scroll-row { display: flex; gap: 14px; overflow-x: auto; padding: 12px 16px; border-bottom: 0.5px solid rgba(255,255,255,0.08); margin-bottom: 8px; min-height: 100px; -webkit-overflow-scrolling: touch; }
    .inbox-search-box { padding: 8px 16px; }
    .inbox-threads-list { display: flex; flex-direction: column; padding: 0 8px; height: calc(100vh - 270px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

    /* --- SECURITY / GATEWAY LAYOUT --- */
    .security-modal-overlay { position: fixed; inset: 0; background: rgba(15, 4, 34, 0.88); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 20px; }
    .security-card { background: rgba(55, 23, 117, 0.95); border: 1.5px solid var(--accent-gold); width: 100%; max-width: 400px; border-radius: 28px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--accent-glow); }
    .security-title { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 16px; text-align: center; letter-spacing: 0.5px; }

    /* --- FULL SCREEN IMMERSIVE PLAYER --- */
    #playerModal { background-color: #000 !important; overflow: hidden !important; }
    .fullscreen-player-container { position: fixed; inset: 0; width: 100vw; height: 100vh; background: #000; z-index: 1001; display: flex; flex-direction: column; padding-top: max(60px, env(safe-area-inset-top)); padding-bottom: 20px; box-sizing: border-box; }
    .fullscreen-player-iframe { width: 100%; height: 100%; flex-grow: 1; border: none; }
    .fullscreen-player-overlay-actions { position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; display: flex; gap: 12px; z-index: 1020; }

    .player-action-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent-gold); background: rgba(32, 11, 71, 0.85); backdrop-filter: blur(15px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.5); cursor: pointer; text-decoration: none; }

    /* iOS Search View Header */
    .search-modal-header { padding: 14px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 0.5px solid var(--glass-border); background: rgba(32, 11, 71, 0.85); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); position: sticky; top: 0; z-index: 10; }
    .search-input { width: 100%; background-color: rgba(255, 255, 255, 0.08); border: 0.5px solid var(--glass-border); padding: 10px 14px 10px 36px; border-radius: 20px; color: var(--text-primary); font-size: 0.85rem; outline: none; }

    .search-results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 16px; align-items: start; }
    @media (min-width: 600px) { .search-results-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }
    
    .search-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; color: var(--text-muted); }
    
    /* --- iOS BOTTOM NAVIGATION BAR --- */
    .bottom-nav { 
      position: fixed; 
      bottom: 0; 
      left: 0; 
      right: 0; 
      width: 100%; 
      height: calc(62px + env(safe-area-inset-bottom)); 
      padding-bottom: env(safe-area-inset-bottom);
      background-color: rgba(32, 11, 71, 0.78); 
      border-top: 0.5px solid rgba(255, 255, 255, 0.15); 
      display: flex; 
      justify-content: space-around; 
      align-items: center; 
      z-index: 99; 
      backdrop-filter: blur(35px) saturate(180%); 
      -webkit-backdrop-filter: blur(35px) saturate(180%); 
      box-shadow: 0 -10px 30px rgba(0,0,0,0.5); 
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; 
    }
    .nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); text-decoration: none; font-size: 0.65rem; font-weight: 800; gap: 4px; cursor: pointer; position: relative; width: 20%; }
    .nav-item i { font-size: 1.15rem; }
    .nav-item.active { color: var(--accent-gold); }

    /* ==========================================================================
       LOOKR-STYLE HOME HEADER (logo, search bar, quick-icon grid, tabs, pills)
       ========================================================================== */
    .lookr-header { padding: 4px 0 6px 0; }
    .lookr-logo-row { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 10px 0 18px 0; }
    .lookr-logo-text { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; color: var(--text-primary); font-family: "Poppins", var(--font-main); }
    .lookr-logo-bubble { background: #1DB954; color: #fff; font-weight: 800; font-size: 0.7rem; padding: 4px 9px; border-radius: 14px 14px 14px 3px; margin-top: 2px; box-shadow: 0 3px 8px rgba(29,185,84,0.4); }

    .lookr-search-bar { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 22px; padding: 13px 16px; margin-bottom: 18px; cursor: pointer; }
    .lookr-search-bar i { color: var(--text-muted); font-size: 0.9rem; }
    .lookr-search-bar span { color: var(--text-muted); font-size: 0.85rem; }

    .lookr-social-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
    .lookr-social-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.15); flex-shrink: 0; }

    .lookr-tab-loading { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); padding-bottom: 8px; }

    .lookr-icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 16px; column-gap: 4px; margin-bottom: 20px; }
    .lookr-icon-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; cursor: pointer; }
    .lookr-icon-tile span { font-size: 0.62rem; font-weight: 600; color: var(--text-primary); text-align: center; line-height: 1.1; }
    .lookr-icon-circle { width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; box-shadow: 0 4px 10px rgba(0,0,0,0.12); }

    .lookr-tabs-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 10px 2px; margin-bottom: 12px; border-bottom: 1px solid var(--glass-border); }
    .lookr-tab { flex-shrink: 0; font-size: 0.95rem; font-weight: 700; color: var(--text-muted); padding-bottom: 8px; cursor: pointer; position: relative; }
    .lookr-tab.active { color: #1DB954; }
    .lookr-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #1DB954; border-radius: 2px; }

    .lookr-pills-row { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; }
    .lookr-pill { flex-shrink: 0; font-size: 0.78rem; font-weight: 700; padding: 9px 16px; border-radius: 20px; border: 1px solid var(--glass-border); color: var(--text-primary); background: var(--bg-card); cursor: pointer; white-space: nowrap; }
    .lookr-pill.active { background: #1DB954; color: #fff; border-color: #1DB954; }

    .movie-rank-badge { position: absolute; top: 8px; left: 8px; z-index: 4; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; color: #fff; }

    /* Lookr chrome (header, rank badges) only shows when the Lookr theme is
       active; the bottom nav and hero banner stay the same on every theme. */
    .lookr-header, .movie-rank-badge { display: none; }
    body[data-theme="lookr"] .lookr-header { display: block; }
    body[data-theme="lookr"] .movie-rank-badge { display: flex; }
    body[data-theme="lookr"] .hero-banner-container { display: none !important; }

    /* Lookr theme shows one filtered list at a time as a 2-column grid,
       not the default horizontal-scrolling movie rows. Cards keep the exact
       same fixed 142x205 dimension as the default look — no stretching. */
    body[data-theme="lookr"] .movie-scroll-row {
      display: grid;
      grid-template-columns: repeat(auto-fill, 142px);
      justify-content: space-between;
      gap: 16px;
      overflow-x: visible;
      scroll-snap-type: none;
      padding: 4px 0 14px 0;
    }
    body[data-theme="lookr"] .row-container .section-headline { display: none; }
    body[data-theme="lookr"] .row-container { margin-top: 4px; }
    /* No bottom nav on Lookr — reclaim that reserved space at the bottom. */
    body[data-theme="lookr"] { padding-bottom: max(20px, env(safe-area-inset-bottom)) !important; }
    body[data-theme="lookr"] .bottom-nav { display: none !important; }
    a{ text-decoration: none; }
    
    .nav-badge-counter { position: absolute; top: -4px; right: 18%; background-color: var(--accent-pink); color: #fff; font-size: 0.55rem; font-weight: 900; padding: 2px 6px; border-radius: 10px; box-shadow: 0 0 8px var(--accent-pink-glow); }

    /* WHATSAPP CHANNEL FLOATING BUTTON */
    .whatsapp-float { position: fixed; bottom: calc(78px + env(safe-area-inset-bottom)); right: 16px; background-color: #25D366; color: var(--bg-dark); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); z-index: 99; text-decoration: none; font-size: 1.3rem; }

    body.detail-open .bottom-nav, body.konte-open .bottom-nav, body.search-open .bottom-nav, body.player-open .bottom-nav { transform: translateY(120px); opacity: 0; pointer-events: none; }
    body.detail-open .whatsapp-float, body.konte-open .whatsapp-float, body.search-open .whatsapp-float, body.player-open .whatsapp-float { transform: translateY(120px); opacity: 0; pointer-events: none; }

    #messengerModal { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; border-radius: 0 !important; border: none !important; box-shadow: none !important; z-index: 6500 !important; transform: translateY(100%) !important; opacity: 0 !important; transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s !important; }
    #messengerModal.active { transform: translateY(0) !important; opacity: 1 !important; }

    .app-loader { display: flex; justify-content: center; align-items: center; height: 140px; }
    .spinner { width: 34px; height: 34px; border: 3px solid rgba(255, 210, 63, 0.2); border-top-color: var(--accent-gold); border-radius: 50%; animation: spin 0.8s infinite linear; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .hidden { display: none !important; }
    .view-panel { width: 100%; height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }

    /* --- MORE MENU (three-dot) NAV BUTTON --- */
    .more-nav-icon {
      font-size: 1.15rem;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
    }

    /* --- MORE / SETTINGS SHEET --- */
    .more-section-label {
      font-size: 0.68rem;
      font-weight: 900;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.8px;
      margin: 18px 4px 10px 4px;
    }
    .more-section-label:first-of-type { margin-top: 4px; }

    /* --- MORE PAGE: SETTINGS-STYLE LIST ROWS (opens a sub-page on tap) --- */
    .more-settings-list { display: flex; flex-direction: column; gap: 10px; margin: 0 4px 8px 4px; }
    .more-settings-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--bg-card);
      border: 0.5px solid var(--glass-border);
      padding: 14px 16px;
      border-radius: 18px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      cursor: pointer;
    }
    .more-settings-row-left { display: flex; align-items: center; gap: 12px; }
    .more-settings-row-icon {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 210, 63, 0.12);
      border: 0.5px solid var(--accent-border);
      color: var(--accent-gold);
      font-size: 0.95rem;
      flex-shrink: 0;
    }
    .more-settings-row-text { display: flex; flex-direction: column; }
    .more-settings-row-title { font-size: 0.85rem; font-weight: 800; color: var(--text-primary); }
    .more-settings-row-sub { font-size: 0.62rem; color: var(--text-muted); font-weight: 600; margin-top: 1px; }

    /* Sub-page (theme / categories) reuse of detail-page pattern */
    .more-subpage-header {
      padding: 14px 16px;
      border-bottom: 0.5px solid var(--glass-border);
      background: rgba(32, 11, 71, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      gap: 14px;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .more-subpage-back-btn {
      background: rgba(255,255,255,0.08);
      border: 0.5px solid var(--glass-border);
      color: #fff;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .theme-swatch-row {
      display: flex;
      gap: 12px;
      padding: 4px 4px 6px 4px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .theme-swatch {
      flex-shrink: 0;
      width: 64px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }
    .theme-swatch-circle {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 2.5px solid transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 16px rgba(0,0,0,0.35);
      position: relative;
    }
    .theme-swatch.active .theme-swatch-circle {
      border-color: #fff;
    }
    .theme-swatch.active .theme-swatch-circle::after {
      content: '\f00c';
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      color: #fff;
      font-size: 0.85rem;
      text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }
    .theme-swatch-name {
      font-size: 0.62rem;
      font-weight: 800;
      color: var(--text-muted);
      text-align: center;
    }

    .social-links-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      padding: 6px 4px 8px 4px;
    }
    .social-link-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      background: var(--bg-card);
      border: 0.5px solid var(--glass-border);
      border-radius: 16px;
      padding: 14px 6px;
      text-decoration: none;
      cursor: pointer;
    }
    .social-link-item i { font-size: 1.35rem; }
    .social-link-item span { font-size: 0.6rem; font-weight: 800; color: var(--text-primary); }

    .konte-info-card {
      background: var(--bg-card);
      border: 0.5px solid var(--glass-border);
      border-radius: 18px;
      padding: 14px 16px;
      margin: 4px 4px 8px 4px;
    }
    .konte-info-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 0.5px solid var(--glass-border); }
    .konte-info-row:last-child { border-bottom: none; }
    .konte-info-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 700; }
    .konte-info-value { font-size: 0.78rem; color: var(--text-primary); font-weight: 900; }

    /* --- RECENTLY PLAYED ROW (More sheet) --- */
    .recent-played-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 10px 4px; -webkit-overflow-scrolling: touch; }
    .recent-played-card { flex-shrink: 0; width: 96px; cursor: pointer; }
    .recent-played-card img { width: 96px; height: 138px; object-fit: cover; border-radius: 14px; border: 0.5px solid var(--glass-border); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
    .recent-played-card .rp-title { font-size: 0.65rem; font-weight: 800; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .recent-played-empty { font-size: 0.72rem; color: var(--text-muted); padding: 8px 4px; }

    /* --- SUPPORT BOT FLOATING BUTTON & CHAT --- */
    .bot-float {
      position: fixed;
      bottom: calc(140px + env(safe-area-inset-bottom));
      right: 16px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink));
      color: var(--bg-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      box-shadow: 0 6px 20px var(--accent-glow);
      z-index: 99;
      border: none;
      cursor: pointer;
    }
    body.detail-open .bot-float, body.konte-open .bot-float, body.search-open .bot-float, body.player-open .bot-float, body.bot-open .bot-float { transform: translateY(120px); opacity: 0; pointer-events: none; }

    #botModal { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; border-radius: 0 !important; border: none !important; box-shadow: none !important; z-index: 6600 !important; }

    .bot-header { padding: 14px 16px; display:flex; align-items:center; gap:12px; border-bottom: 0.5px solid var(--glass-border); background: rgba(55, 23, 117, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
    .bot-avatar-ring { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink)); display:flex; align-items:center; justify-content:center; color: var(--bg-dark); font-size: 1.05rem; flex-shrink:0; box-shadow: 0 0 12px var(--accent-glow); }

    .bot-msg-row { display:flex; margin-bottom: 4px; }
    .bot-msg-row.from-bot { justify-content: flex-start; }
    .bot-msg-row.from-user { justify-content: flex-end; }
    .bot-bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 0.85rem; line-height: 1.4; }
    .bot-msg-row.from-bot .bot-bubble { background: var(--bg-card); border: 0.5px solid var(--glass-border); border-bottom-left-radius: 4px; }
    .bot-msg-row.from-user .bot-bubble { background: var(--accent-gold); color: var(--bg-dark); font-weight: 700; border-bottom-right-radius: 4px; }

    .bot-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px 16px; }
    .bot-quick-btn { background: rgba(255,210,63,0.12); border: 0.5px solid var(--accent-border); color: var(--accent-gold); font-size: 0.72rem; font-weight: 800; padding: 7px 12px; border-radius: 16px; cursor: pointer; }
    .bot-human-btn { background: var(--accent-pink); color: #fff; }

    /* Movie card sent inline by the bot, with cover image */
    .bot-movie-card { display: flex; gap: 10px; background: var(--bg-card); border: 0.5px solid var(--glass-border); border-radius: 16px; padding: 8px; cursor: pointer; align-items: center; max-width: 240px; margin-top: 6px; }
    .bot-movie-card img { width: 46px; height: 66px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
    .bot-movie-card .bmc-title { font-size: 0.78rem; font-weight: 900; line-height: 1.2; }
    .bot-movie-card .bmc-sub { font-size: 0.62rem; color: var(--accent-gold); font-weight: 700; margin-top: 2px; }
  
    /* ---------- AI THEME GENERATOR + AI PICKS ---------- */
    .ai-theme-box { margin-top: 22px; padding: 16px; border-radius: 18px; background: var(--bg-card); border: 1px solid var(--glass-border); }
    .ai-theme-title { font-weight: 900; font-size: 0.95rem; color: var(--accent-gold); display: flex; align-items: center; gap: 8px; }
    .ai-theme-sub { font-size: 0.72rem; color: var(--text-muted); margin: 6px 0 10px; line-height: 1.45; }
    .ai-theme-input { width: 100%; resize: none; padding: 12px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(0,0,0,0.25); color: var(--text-primary); font-size: 0.85rem; outline: none; }
    .ai-theme-input:focus { border-color: var(--accent-gold); }
    .ai-theme-btn { width: 100%; margin-top: 10px; padding: 13px; border: 0; border-radius: 14px; font-weight: 900; font-size: 0.85rem; color: #111; background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink)); cursor: pointer; }
    .ai-theme-btn:disabled { opacity: 0.6; }
    .ai-theme-status { font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; min-height: 1em; }
    body[data-theme="lookr"] #sectionAiPicks { display: none; }
