*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }



    html, body { user-select: none; -webkit-user-select: none; scrollbar-width: none; }



    html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }



    :root {

      --bg: #edf3fc;

      --surface: #ffffff;

      --surface2: #fafaf9;

      --border: #e8e8e5;

      --border2: #d8d8d4;

      --text: #111110;

      --muted: #a0a09a;

      --muted2: #70706a;

      --accent: #5D91E4;

      --accent2: #4a7dd4;

      --accent-light: rgba(93,145,228,0.10);

      --accent-glow: rgba(93,145,228,0.25);

      --fp-hole-bg: #5D91E4;

      --tab-h: 60px;

      --tab-bar-h: 60px;

      --status-bar-height: 0px;

    }



    [data-accent="orange"] { --accent:#F97316; --accent2:#ea6a0a; --accent-light:rgba(249,115,22,0.12); --accent-glow:rgba(249,115,22,0.28); --fp-grad1:#3d1f0a; --fp-grad2:#7c2d0e; --fp-grad3:#431a06;  --fp-hole-bg: #F97316; }



    [data-accent="purple"] { --accent:#9B5CF6; --accent2:#8448e6; --accent-light:rgba(155,92,246,0.12); --accent-glow:rgba(155,92,246,0.28); --fp-grad1:#1e1040; --fp-grad2:#2d1760; --fp-grad3:#170c35;  --fp-hole-bg: #9B5CF6; }



    [data-accent="green"]  { --accent:#22C55E; --accent2:#16a34a; --accent-light:rgba(34,197,94,0.12);  --accent-glow:rgba(34,197,94,0.28);  --fp-grad1:#0a2e1a; --fp-grad2:#0f4a28; --fp-grad3:#072415;  --fp-hole-bg: #22C55E; }



    [data-accent="red"]    { --accent:#EF4444; --accent2:#dc2626; --accent-light:rgba(239,68,68,0.12);  --accent-glow:rgba(239,68,68,0.28);  --fp-grad1:#3d0a0a; --fp-grad2:#6b1010; --fp-grad3:#2e0606;  --fp-hole-bg: #EF4444; }



    [data-accent="pink"]   { --accent:#EC4899; --accent2:#db2777; --accent-light:rgba(236,72,153,0.12); --accent-glow:rgba(236,72,153,0.28); --fp-grad1:#3d0a22; --fp-grad2:#6b1040; --fp-grad3:#2e061a;  --fp-hole-bg: #EC4899; }



    /* ── MUSIC TAB LOADER ── */



    .mloader-bars {

      display: flex; align-items: flex-end; gap: 4px; height: 28px;

    }



    .mloader-bar {

      width: 4px; border-radius: 3px;

      background: var(--accent); opacity: 0.85;

      animation: barBounce 1s ease-in-out infinite;

    }



    .mloader-bar:nth-child(1) { height: 14px; animation-delay: 0s; }



    .mloader-bar:nth-child(2) { height: 22px; animation-delay: 0.15s; }



    .mloader-bar:nth-child(3) { height: 28px; animation-delay: 0.3s; }



    .mloader-bar:nth-child(4) { height: 18px; animation-delay: 0.45s; }



    .mloader-bar:nth-child(5) { height: 10px; animation-delay: 0.6s; }



    @keyframes barBounce {

      0%, 100% { transform: scaleY(0.4); opacity: 0.5; }



      50%       { transform: scaleY(1);   opacity: 1; }



    }



    /* ── SIDEBAR ── */



    #sidebarOverlay {

      position: fixed; top: 52px; left: 0; right: 0; bottom: 0; z-index: 9100;

      background: rgba(0,0,0,0); pointer-events: none;

      transition: background 0.3s;

    }



    #sidebarOverlay.open {

      background: transparent;

      pointer-events: all;

      touch-action: none;

    }



    #sidebar {

      position: fixed; top: calc(72px + var(--status-bar-height)); left: 0; bottom: 0; z-index: 9200;

      width: 268px; max-width: 82vw;

      background: rgba(255,255,255,0.95);

      border-right: none;

      border-top: none;

      border-radius: 20px 20px 0 0;

      display: flex; flex-direction: column;

      transform: translateX(-100%);

      transition: none;

      overflow: hidden;

      box-shadow: 4px 0 20px rgba(0,0,0,0.08);

    }



    body.app-ready #sidebar {

      transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);

    }



    #sidebar.open { transform: translateX(0); }



    .sb-body {

      flex: 1; overflow-y: auto;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      padding-top: 8px;

      padding-bottom: 80px;

    }



    .sb-body::-webkit-scrollbar { display: none; }



    /* Section header */



    .sb-section-label {

      display: flex; align-items: center; gap: 10px;

      padding: 16px 16px 6px;

      -webkit-tap-highlight-color: transparent;

    }



    .sb-section-label-btn { cursor: pointer; }



    .sb-section-label-btn:active span { color: var(--accent); }



    .sb-see-all {

      margin-left: auto;

      font-size: 0.72rem;

      color: rgba(0,0,0,0.35);

      font-weight: 600;

      font-family: 'Plus Jakarta Sans', sans-serif;

      letter-spacing: 0.01em;

      opacity: 0.85;

      user-select: none;

    }



    .sb-section-label-btn:active .sb-see-all { opacity: 0.5; }



    .sb-section-label::before {

      content: '';

      width: 3px; height: 16px;

      background: var(--accent);

      border-radius: 2px;

      flex-shrink: 0;

    }



    .sb-section-label span {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.82rem; font-weight: 600;

      color: var(--text);

      white-space: nowrap;

    }



    /* Item row */



    .sb-cat-item {

      display: flex; align-items: center; gap: 12px;

      padding: 9px 16px 9px 12px;

      cursor: pointer; position: relative;

      border-left: 3px solid transparent;

      transition: background 0.15s, border-color 0.15s;

    }



    .sb-cat-item:active {

      background: var(--accent-light);

      border-left-color: var(--accent);

    }



    .sb-cat-item:active .sb-cat-name { color: var(--accent); }



    .sb-cat-thumb {

      width: 40px; height: 40px; border-radius: 10px;

      border: 1.5px solid transparent;

      flex-shrink: 0; background: var(--surface2);

      display: flex; align-items: center; justify-content: center;

      font-size: 1.1rem; overflow: hidden;

      position: relative;

    }



    .sb-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }



    .sb-collage {

      width: 40px; height: 40px; border-radius: 10px;

      border: 1.5px solid transparent;

      display: grid; grid-template-columns: 1fr 1fr;

      grid-template-rows: 1fr 1fr;

      overflow: hidden; flex-shrink: 0;

      background: var(--surface2);

    }



    .sb-collage img {

      width: 100%; height: 100%; object-fit: cover; display: block;

    }



    .sb-collage.cols-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }



    .sb-collage.cols-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }



    .sb-collage.cols-3 img:first-child { grid-column: 1 / 2; grid-row: 1 / 3; }



    .sb-cat-info { flex: 1; min-width: 0; }



    .sb-cat-name {

      font-size: 0.85rem; font-weight: 600; color: var(--text);

      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

      transition: color 0.15s;

    }



    .sb-cat-sub {

      font-size: 0.7rem; color: var(--muted); margin-top: 1px;

    }



    .sb-cat-arrow { color: var(--muted); flex-shrink: 0; }



    .sb-divider {

      height: 1px; background: var(--border);

      margin: 6px 16px;

    }



    .sb-empty {

      padding: 10px 16px;

      font-size: 0.8rem; color: var(--muted);

    }



    html {

      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);

      display: flex;

      justify-content: center;

      align-items: flex-start;

      min-height: 100vh;

      padding: 20px 0;

      overflow-x: hidden;

    }



    /* ── GRADIENT ANIMATION ── */



    @keyframes gradientShift {

      0%   { background-position: 100% 100%, 20% 30%, 80% 70%; }



      33%  { background-position: 100% 100%, 35% 20%, 65% 80%; }



      66%  { background-position: 100% 100%, 15% 40%, 85% 60%; }



      100% { background-position: 100% 100%, 20% 30%, 80% 70%; }



    }



    /* mobile default — full screen */



    body {

      font-family: 'Noto Sans Bengali', 'Plus Jakarta Sans', sans-serif;

      background: #edf3fc;

      color: var(--text);

      display: flex; flex-direction: column;

      padding-bottom: var(--tab-h);

      min-height: 100vh;

      position: relative;

      overflow-x: hidden;

      width: 100%;

    }



    /* desktop class added by JS */



    body.is-desktop {

      width: 390px;

      height: 844px;

      max-height: 844px;

      overflow: hidden;

      border-radius: 40px;

      box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 10px #2a2a2a, 0 0 0 11px #444;

      flex-shrink: 0;

      min-height: unset;

    }



    body.is-desktop::before { border-radius: 40px; }



    body.is-desktop header     { position: sticky; }



    body.is-desktop #tabBar    { position: absolute; bottom: 0; left: 0; right: 0; }



    body.is-desktop #miniPlayer{ position: absolute; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 10px); }



    body.is-desktop #miniPlayer        { transform: translateY(200%); }



    body.is-desktop #miniPlayer.visible{ transform: translateY(0); }



    body.is-desktop #miniPlayer.open   { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(0); }



    body.is-desktop #fpOverlay  { position: absolute; }



    body.is-desktop .wrap       { overflow-y: auto; flex: 1; }



    /* mobile — html acts normal */



    body:not(.is-desktop) ~ * {}



    html:has(body:not(.is-desktop)) {

      display: block;

      background: var(--bg);

      padding: 0;

    }



    header {

      background: rgba(255,255,255,0.95);

      border: none;

      border-radius: 28px;

      box-shadow: 0 4px 20px rgba(0,0,0,0.08);

      position: relative;

      top: unset; left: unset; right: unset; z-index: unset;

      width: auto;

      margin: calc(10px + var(--status-bar-height)) 12px 10px;

      box-sizing: border-box;

      overflow: hidden;

    }



    header.hide { transform: none; }



    /* header static, body padding সরানো */



    body { padding-top: 0; }



    .header-inner {

      max-width: 680px; margin: 0 auto; padding: 0 16px;

      display: flex; align-items: center; gap: 12px;

      height: 52px;

      overflow: hidden;

      width: 100%;

      box-sizing: border-box;

    }



    .header-icon-btn {

      background: none; border: none; cursor: pointer;

      width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;

      border-radius: 50%; flex-shrink: 0; padding: 0;

      color: var(--accent); position: relative;

      -webkit-tap-highlight-color: transparent;

      transition: background 0.2s;

    }



    .header-icon-btn:active { background: var(--accent-light); }



    /* ── HEADER INLINE SEARCH ── */



    .header-inner { position: relative; }



    #headerSearchExpand {

      position: absolute; left: 0; right: 0; top: 0; bottom: 0;

      display: flex; align-items: center; gap: 8px; padding: 0 8px;

      background: transparent;

      opacity: 0; pointer-events: none;

      transition: opacity 0.2s;

    }



    #headerSearchExpand.open { opacity: 1; pointer-events: all; }



    #headerSearchOverlay {

      display: none;

      position: fixed; inset: 0;

      z-index: 9290;

      background: transparent;

    }



    #headerSearchOverlay.open { display: block; }



    /* ── SEARCH SUGGESTIONS ── */



    #searchSuggestions {

      position: fixed;

      top: 72px; z-index: 9299;

      background: var(--surface);

      border-radius: 0 0 20px 20px;

      box-shadow: 0 8px 24px rgba(0,0,0,0.12);

      overflow: hidden;

      max-height: 0;

      transition: max-height 0.25s cubic-bezier(0.4,0,0.2,1);

    }



    #searchSuggestions.open { max-height: 420px; overflow-y: auto; }



    .sg-item {

      display: flex; align-items: center; gap: 8px;

      padding: 10px 16px; cursor: pointer;

      border-bottom: 1px solid var(--border);

      transition: background 0.15s;

      -webkit-tap-highlight-color: transparent;

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.88rem;

      font-weight: 500;

      color: var(--text);

    }



    .sg-item:last-child { border-bottom: none; }



    .sg-item:active { background: var(--surface2); }



    .sg-suggest-arrow { color: var(--muted); flex-shrink: 0; opacity: 0.6; display: flex; align-items: center; }



    /* history header row */



    .sg-history-header {

      display: flex; align-items: center; justify-content: space-between;

      padding: 8px 16px 4px;

    }



    .sg-history-label {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.72rem; font-weight: 600;

      color: var(--muted);

      text-transform: uppercase; letter-spacing: 0.05em;

    }



    .sg-history-clear {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.75rem; font-weight: 500;

      color: var(--accent); cursor: pointer;

      background: none; border: none; padding: 2px 0;

      -webkit-tap-highlight-color: transparent;

    }



    /* history item */



    .sg-history-item {

      display: flex; align-items: center; gap: 10px;

      padding: 9px 16px; cursor: pointer;

      border-bottom: 1px solid var(--border);

      transition: background 0.15s;

      -webkit-tap-highlight-color: transparent;

    }



    .sg-history-item:last-child { border-bottom: none; }



    .sg-history-item:active { background: var(--surface2); }



    .sg-history-icon { color: var(--muted); flex-shrink: 0; opacity: 0.7; }



    .sg-history-text {

      flex: 1; min-width: 0;

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.88rem; font-weight: 500;

      color: var(--text);

      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

    }



    .sg-history-del {

      background: none; border: none; cursor: pointer;

      color: var(--muted); padding: 2px 0 2px 6px; flex-shrink: 0;

      opacity: 0.6; -webkit-tap-highlight-color: transparent;

      display: flex; align-items: center;

    }



    .sg-history-del:active { opacity: 1; }



    .header-inner.search-open #hamburgerBtn,



    .header-inner.search-open > div,



    .header-inner.search-open #headerSearchBtn { opacity: 0; pointer-events: none; transition: opacity 0.15s; }



    #headerInlineInput {

      flex: 1; border: none; outline: none; background: transparent;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.92rem; font-weight: 500;

      color: var(--text); caret-color: var(--accent);

    }



    #headerInlineInput::placeholder { color: var(--muted); }



    #headerSearchClose {

      background: none; border: none; cursor: pointer; padding: 4px;

      color: var(--muted); display: flex; align-items: center;

      -webkit-tap-highlight-color: transparent;

    }



    #headerSearchGo {

      background: var(--accent); border: none; cursor: pointer;

      width: 32px; height: 32px; border-radius: 50%;

      display: flex; align-items: center; justify-content: center;

      flex-shrink: 0; -webkit-tap-highlight-color: transparent;

    }



    .logo-title {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 1.15rem;

      font-weight: 700;

      letter-spacing: -0.03em;

      color: var(--text);

      display: flex; align-items: center; gap: 0;

      white-space: nowrap;

      flex-shrink: 0;

    }



    .logo-title span.fm { color: var(--accent); }



    .logo-live-dot {

      width: 6px; height: 6px; border-radius: 50%;

      background: #22c55e;

      margin-left: 5px; margin-bottom: 9px;

      box-shadow: 0 0 0 2px rgba(34,197,94,0.2);

      animation: logo-pulse 2s ease-in-out infinite;

      flex-shrink: 0;

    }



    @keyframes logo-pulse {

      0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,0.2); }



      50%      { box-shadow: 0 0 0 5px transparent; }



    }



    /* Divider between logo and search */



    .header-divider {

      width: 1px; height: 20px;

      background: var(--border2);

      flex-shrink: 0;

    }



          50%      { box-shadow: 0 0 0 4px rgba(239,68,68,0); }



    }



    /* Inline search bar */



    .header-search {

      flex: 1;

      min-width: 0;

      max-width: 100%;

      display: flex; align-items: center; gap: 8px;

      background: var(--bg);

      border: 1.5px solid var(--border);

      border-radius: 10px;

      border: 1.5px solid transparent;

      padding: 0 12px;

      height: 36px;

      overflow: hidden;

      transition: border-color 0.2s, box-shadow 0.2s;

    }



    .header-search:focus-within {

      border-color: var(--accent);

      box-shadow: 0 0 0 3px var(--accent-light);

      background: var(--surface);

    }



    .header-search svg {

      width: 15px; height: 15px;

      color: var(--muted); flex-shrink: 0;

      transition: color 0.2s;

    }



    .header-search:focus-within svg { color: var(--accent); }



    .header-search input { user-select: text; -webkit-user-select: text; flex: 1; background: none; border: none; outline: none;

      font-family: inherit; font-size: 0.85rem; color: var(--text);

      min-width: 0;

    }



    .header-search input::placeholder { color: var(--muted); }



    .search-clear {

      background: none; border: none; cursor: pointer;

      color: var(--muted); padding: 2px;

      display: none; align-items: center; justify-content: center;

      border-radius: 4px; transition: all 0.15s; flex-shrink: 0;

    }



    .search-clear svg { width: 14px; height: 14px; }



    .search-clear:hover { color: var(--text); }



    .search-clear.visible { display: flex; }



    /* ── SEARCH RESULTS ── */



    .search-section-label {

      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;

      color: var(--muted); text-transform: uppercase;

      padding: 14px 16px 6px; opacity: 0.8;

    }



    .search-pill-wrap {

      display: flex; flex-wrap: wrap; gap: 8px;

      padding: 4px 16px 12px;

    }



    .search-pill {

      display: flex; align-items: center; gap: 8px;

      background: var(--surface); border: 1.5px solid var(--border);

      border-radius: 12px; padding: 7px 12px 7px 8px;

      cursor: pointer; transition: all 0.18s; min-width: 0;

      max-width: calc(50% - 4px);

    }



    .search-pill { transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s; }



    .search-pill:hover { border-color: var(--accent); background: var(--surface2); transform: scale(1.012); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }



    .search-pill:hover .search-pill-name { color: var(--accent); }



    .search-pill:active { transform: scale(0.985); box-shadow: none; }



    .search-pill.active { border-color: var(--accent); background: var(--accent-light); }



    .search-pill-thumb {

      width: 36px; height: 36px; border-radius: 8px;

      object-fit: cover; flex-shrink: 0;

      background: var(--surface2);

    }



    .search-pill-thumb-placeholder {

      width: 36px; height: 36px; border-radius: 8px;

      background: var(--surface2); flex-shrink: 0;

      display: flex; align-items: center; justify-content: center;

      font-size: 1rem;

    }



    .search-pill-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }



    .search-pill-name {

      font-size: 0.8rem; font-weight: 600; color: var(--text);

      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

    }



    .search-pill-sub {

      font-size: 0.68rem; color: var(--muted);

      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

    }



    /* ── WRAP ── */



    .wrap {

      flex: 1; max-width: 680px; margin: 0 auto;

      padding: 0 16px 0; width: 100%; position: relative; z-index: 1;

    }



    /* ── PAGE LOAD ANIMATION OVERLAY ── */



    /* ── SHARED MODAL GRADIENT (same as body & pageLoader) ── */



    .modal-gradient-bg {

      background: #edf3fc;

    }



    @keyframes loaderGradientShift {

      0%   { background-position: 100% 100%, 20% 30%, 80% 70%; }



      33%  { background-position: 100% 100%, 35% 20%, 65% 80%; }



      66%  { background-position: 100% 100%, 15% 40%, 85% 60%; }



      100% { background-position: 100% 100%, 20% 30%, 80% 70%; }



    }



    #pageLoader {

      position: fixed; inset: 0; z-index: 9999;

      background: #edf3fc;

      display: flex; flex-direction: column;

      align-items: center; justify-content: center;

      gap: 14px;

      transition: opacity 0.4s ease;

      overflow: hidden;

    }



    #pageLoader.hide {

      opacity: 0;

      pointer-events: none;

    }



    /* header/tabBar hide while loader is active */



    body:has(#pageLoader:not(.hide):not([style*="display:none"])) header,



    body:has(#pageLoader:not(.hide):not([style*="display:none"])) #miniPlayer {

      display: none !important;

    }



    body:has(#pageLoader:not(.hide):not([style*="display:none"])) #tabBar {

      transform: translateY(100%) !important;

      transition: none !important;

    }







    .pl-logo {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 1.6rem; font-weight: 800;

      color: var(--text); letter-spacing: -0.03em;

      position: relative; z-index: 1;

    }



    .pl-logo span:not(.pl-dot) { color: var(--accent); }



    .pl-dot {

      display: inline-block;

      width: 8px; height: 8px; border-radius: 50%;

      background: #22c55e;

      margin-left: 3px;

      vertical-align: super;

      font-size: 0;

      box-shadow: 0 0 0 2px rgba(34,197,94,0.25);

      animation: plDotPulse 2s ease-in-out infinite;

    }



    @keyframes plDotPulse {

      0%, 100% { box-shadow: 0 0 0 2px rgba(34,197,94,0.25); }



      50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }



    }



    .pl-tagline {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.78rem; color: var(--muted);

      letter-spacing: 0.04em;

      position: relative; z-index: 1;

      margin-top: -6px;

    }



    .pl-version {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.65rem; color: var(--muted);

      letter-spacing: 0.08em;

      position: absolute; bottom: 18px; right: 18px;

      opacity: 0.6;

      z-index: 1;

    }



    .pl-loader {

      display: flex;

      align-items: flex-end;

      gap: 5px;

      height: 28px;

      position: relative;

      z-index: 1;

    }



    .pl-wave {

      width: 4px;

      border-radius: 3px;

      background: var(--accent);

      animation: plWave 1.1s ease-in-out infinite;

      opacity: 0.85;

    }



    .pl-wave:nth-child(1) { animation-delay: 0s;     height: 8px; }



    .pl-wave:nth-child(2) { animation-delay: 0.15s;  height: 8px; }



    .pl-wave:nth-child(3) { animation-delay: 0.3s;   height: 8px; }



    .pl-wave:nth-child(4) { animation-delay: 0.45s;  height: 8px; }



    .pl-wave:nth-child(5) { animation-delay: 0.6s;   height: 8px; }



    @keyframes plWave {

      0%, 100% { height: 8px;  opacity: 0.5; }



      50%       { height: 26px; opacity: 1;   }



    }



    /* ── TAB OFFLINE PLACEHOLDER ── */



    .tab-placeholder {

      display: flex; flex-direction: column;

      align-items: center; justify-content: flex-start;

      gap: 16px;

      padding-top: 80px;

      pointer-events: none;

    }



    .tab-placeholder .pl-bars {

      display: flex; align-items: flex-end; gap: 5px; height: 32px;

    }



    .tab-placeholder .pl-bar {

      width: 5px; border-radius: 3px;

      background: var(--accent); opacity: 0.85;

      animation: plBounce 1s ease-in-out infinite;

    }



    .tab-placeholder .pl-bar:nth-child(1) { height: 12px; animation-delay: 0s; }



    .tab-placeholder .pl-bar:nth-child(2) { height: 20px; animation-delay: 0.12s; }



    .tab-placeholder .pl-bar:nth-child(3) { height: 28px; animation-delay: 0.24s; }



    .tab-placeholder .pl-bar:nth-child(4) { height: 20px; animation-delay: 0.36s; }



    .tab-placeholder .pl-bar:nth-child(5) { height: 12px; animation-delay: 0.48s; }



    @keyframes plBounce {

      0%, 100% { transform: scaleY(0.4); opacity: 0.5; }



      50%       { transform: scaleY(1);   opacity: 1; }



    }



    /* ── PODCAST CATEGORY HORIZ SCROLL ── */



    .pc-cat-horiz-section { margin-top: 4px; }



    .pc-cat-horiz {

      display: flex; flex-direction: row; gap: 8px;

      overflow-x: auto; overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      padding: 4px 8px 12px 0;

    }



    .pc-cat-horiz::-webkit-scrollbar { display: none; }



    .pc-cat-horiz .pep-ep-row {

      flex-shrink: 0;

      width: calc((100vw - 28px - 16px) / 3);

      scroll-snap-align: start; margin-bottom: 0;

    }



    .pc-cat-horiz .pep-ep-title {

      -webkit-line-clamp: 2; text-align: left;

    }



    .pc-cat-horiz .pep-ep-row:hover,



    .pc-cat-horiz .pep-ep-row:active { transform: none !important; }



    .pc-cat-horiz .pep-ep-row.active { outline: none; }



    /* ── LISTEN TAB — Latest Episodes horizontal scroll ── */



    .listen-horiz-scroll {

      display: flex; flex-direction: row; gap: 8px;

      overflow-x: auto; overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      padding: 4px 8px 14px 14px;

    }



    .listen-horiz-scroll::-webkit-scrollbar { display: none; }



    .listen-horiz-scroll .pep-ep-row {

      flex-shrink: 0;

      width: calc((100vw - 28px - 16px) / 3);

      margin-bottom: 0;

    }



    .listen-horiz-scroll .pep-ep-row:hover,



    .listen-horiz-scroll .pep-ep-row:active { transform: none !important; }



    /* ── LISTEN TAB — Category sections ── */



    /* podcastCatEpSections — horizontal scroll container */

    #podcastCatEpSections {

      display: flex; flex-direction: row;

      overflow-x: auto; overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      gap: 10px;

      padding: 0 8px 16px 8px;

      scroll-snap-type: x mandatory;

      scroll-padding-left: 8px;

    }



    #podcastCatEpSections::-webkit-scrollbar { display: none; }



    .listen-cat-section {

      position: relative;

      flex-shrink: 0;

      width: calc(100vw - 72px);

      overflow: hidden;

      background: #fff;

      border-radius: 12px;

      scroll-snap-align: start;

      scroll-snap-stop: always;

      opacity: 0;

      animation: fadeSlideIn 0.38s ease forwards;

    }



    .listen-cat-section.cat-tint-0,



    .listen-cat-section.cat-tint-1,



    .listen-cat-section.cat-tint-2,



    .listen-cat-section.cat-tint-3,



    .listen-cat-section.cat-tint-4,



    .listen-cat-section.cat-tint-5 { background: #ffffff; }



    .listen-cat-section .cat-section-content { position: relative; z-index: 1; }



    .listen-cat-horiz {

      display: flex; flex-direction: column;

      gap: 2px;

      overflow: visible;

      padding: 4px 6px 8px;

    }



    .listen-cat-horiz::-webkit-scrollbar { display: none; }



    .listen-cat-horiz .pep-ep-row {

      display: flex; flex-direction: row; align-items: center;

      width: auto; flex-shrink: unset;

      border-radius: 8px; border: none !important;

      background: transparent !important; box-shadow: none !important;

      padding: 9px 10px; gap: 12px;

      transition: background 0.15s;

      position: relative;

      -webkit-tap-highlight-color: transparent;

      animation: none !important;

      opacity: 1 !important;

    }



    .listen-cat-horiz .pep-ep-row::after {

      content: '';

      position: absolute;

      bottom: 0;

      left: 78px;

      right: 12px;

      height: 1px;

      background: var(--border);

    }



    .listen-cat-horiz .pep-ep-row:last-child::after {

      display: none;

    }



    .listen-cat-horiz .pep-ep-row,

    .listen-cat-horiz .pep-ep-row:hover,

    .listen-cat-horiz .pep-ep-row:active { transform: none !important; }

    .listen-cat-horiz .pep-ep-row:hover { background: transparent; }



    .listen-cat-horiz .pep-ep-row:active { transform: none !important; background: transparent !important; }



    .listen-cat-horiz .pep-ep-row:active .pep-ep-title { color: var(--accent); }



    .listen-cat-horiz .pep-ep-row.active { background: transparent !important; border: none; }



    .listen-cat-horiz .pep-ep-row.active .pep-ep-title { color: var(--accent); }



    .listen-cat-horiz .pep-ep-thumb {

      width: 56px; height: 56px; aspect-ratio: 1/1;

      flex-shrink: 0; border-radius: 6px;

      overflow: hidden; position: relative;

    }



    .listen-cat-horiz .pep-ep-bottom { flex: 1; min-width: 0; padding: 0; text-align: left; }



    .listen-cat-horiz .pep-ep-title {

      font-size: 0.87rem; font-weight: 600;

      -webkit-line-clamp: 1; min-height: unset; line-height: 1.3; text-align: left;

    }



    .listen-cat-horiz .pep-ep-meta { font-size: 0.74rem; margin-top: 3px; white-space: normal; text-align: left; }



    /* Equalizer for listen-cat-horiz active */

    .listen-cat-horiz .pep-ep-eq-overlay {

      display: flex; background: rgba(0,0,0,0) !important;

      opacity: 0; transition: opacity 0.2s;

    }

    .listen-cat-horiz .pep-ep-row.active:not(.paused) .pep-ep-eq-overlay {

      background: rgba(0,0,0,0.38) !important; opacity: 1;

    }

    .listen-cat-horiz .pep-ep-play-btn { display: none; }

    .listen-cat-horiz .pep-ep-row.active:not(.paused) .pep-vlist-eq { display: flex; }

    .listen-cat-horiz .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }

    .listen-cat-horiz .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2) { animation: bar 0.6s ease-in-out 0.1s infinite alternate; }

    .listen-cat-horiz .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3) { animation: bar 0.9s ease-in-out 0.2s infinite alternate; }

    .listen-cat-horiz .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4) { animation: bar 0.7s ease-in-out 0.15s infinite alternate; }



    /* ── PAGES ── */



    .page { display: none; }



    .page.active { display: block; }



    /* ── PODCAST FADE-IN ── */



    #pagePodcast.active .pc-row,



    #pagePodcast.active .pc-list-label,



    #pagePodcast.active .pc-recent-ep-scroll {

      opacity: 0;

      animation: fadeSlideIn 0.35s ease forwards;

    }



    /* stagger for podcast rows */



    #pagePodcast.active .pc-row:nth-child(1) { animation-delay: 0.00s; }



    #pagePodcast.active .pc-row:nth-child(2) { animation-delay: 0.05s; }



    #pagePodcast.active .pc-row:nth-child(3) { animation-delay: 0.10s; }



    #pagePodcast.active .pc-row:nth-child(4) { animation-delay: 0.15s; }



    #pagePodcast.active .pc-row:nth-child(5) { animation-delay: 0.20s; }



    #pagePodcast.active .pc-row:nth-child(6) { animation-delay: 0.25s; }



    #pagePodcast.active .pc-row:nth-child(7) { animation-delay: 0.28s; }



    #pagePodcast.active .pc-row:nth-child(8) { animation-delay: 0.30s; }



    /* ── LATEST EPISODES SCROLL ── */



    #pagePodcast { margin: 0 -16px; }



    .latest-ep-scroll {

      display: flex;

      gap: 10px;

      overflow-x: auto;

      overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      padding: 4px 0 8px;

      scroll-snap-type: x mandatory;

    }



    #stationsHorizScroll {

      padding: 4px 8px 14px 14px;

    }



    .latest-ep-scroll::-webkit-scrollbar { display: none; }



    .latest-ep-scroll .pep-ep-row {

      flex-shrink: 0; width: 120px;

      margin-bottom: 0; scroll-snap-align: start;

    }



    #stationsHorizScroll .tv-pill {

      scroll-snap-align: start;

    }



    /* ── RANKING SECTION BG ── */



    /* ── LATEST EPISODE VERTICAL LIST ── */



    .latest-ep-vlist {

      display: flex; flex-direction: column;

      padding: 4px 8px 10px;

      gap: 2px;

    }



    /* Override pep-ep-row inside vertical list to horizontal layout */

    .latest-ep-vlist .pep-ep-row {

      display: flex; flex-direction: row; align-items: center;

      border-radius: 8px; border: none;

      background: transparent; box-shadow: none;

      padding: 9px 10px; gap: 12px;

      transition: background 0.15s;

      position: relative;

    }



    .latest-ep-vlist .pep-ep-row::after {

      content: '';

      position: absolute;

      bottom: 0;

      left: 78px;

      right: 12px;

      height: 1px;

      background: var(--border);

    }



    .latest-ep-vlist .pep-ep-row:last-child::after {

      display: none;

    }



    .latest-ep-vlist .pep-ep-row:hover {

      transform: none; box-shadow: none;

      background: transparent;

    }



    .latest-ep-vlist .pep-ep-row:active {

      transform: scale(0.98); box-shadow: none;

      background: transparent;

    }



    .latest-ep-vlist .pep-ep-row:active .pep-ep-title {

      color: var(--accent);

    }



    .latest-ep-vlist .pep-ep-row.active {

      background: transparent;

    }



    .latest-ep-vlist .pep-ep-row.active .pep-ep-title {

      color: var(--accent);

    }



    /* Thumbnail: fixed square, left side */

    .latest-ep-vlist .pep-ep-thumb {

      width: 56px; height: 56px; aspect-ratio: 1/1;

      flex-shrink: 0; border-radius: 6px;

      overflow: hidden; position: relative;

    }



    /* Info: right side, takes remaining space */

    .latest-ep-vlist .pep-ep-bottom {

      flex: 1; min-width: 0; padding: 0; text-align: left;

    }



    .latest-ep-vlist .pep-ep-title {

      font-size: 0.87rem; font-weight: 600;

      -webkit-line-clamp: 1; min-height: unset;

      line-height: 1.3; text-align: left;

    }



    .latest-ep-vlist .pep-ep-meta {

      font-size: 0.74rem; margin-top: 3px;

      white-space: normal; text-align: left;

      overflow: visible; text-overflow: unset;

    }



    /* Rank badge for vertical list */

    .latest-ep-vlist .rankings-rank-badge {

      position: absolute; bottom: 2px; left: 3px;

      font-size: 1.4rem; font-weight: 900; line-height: 1;

      color: rgba(255,255,255,0.9);

      text-shadow: 0 1px 6px rgba(0,0,0,0.7);

      letter-spacing: -0.03em;

    }



    /* Equalizer overlay inside thumb for vertical list */

    .latest-ep-vlist .pep-ep-eq-overlay {

      display: flex;

      background: rgba(0,0,0,0) !important;

      opacity: 0;

      transition: opacity 0.2s;

    }

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-ep-eq-overlay {

      background: rgba(0,0,0,0.38) !important;

      opacity: 1;

    }

    /* Hide play/pause circle btn in vertical list */

    .latest-ep-vlist .pep-ep-play-btn { display: none; }



    /* Equalizer bars inside the overlay */

    .latest-ep-vlist .pep-ep-eq-overlay::after {

      content: '';

      display: none;

    }

    .pep-vlist-eq {

      display: none;

      align-items: flex-end; gap: 2px; height: 18px;

    }



    /* All episode cards — show eq on active playing */

    .pep-ep-row.active:not(.paused) .pep-vlist-eq {

      display: flex;

    }



    /* Grid eq bars — bigger */

    .pep-list .pep-ep-row.active:not(.paused) .pep-vlist-eq {

      height: 26px;

    }

    .pep-list .pep-ep-row.active:not(.paused) .pep-vlist-eq-b {

      width: 4px;

    }



    /* List eq bars — smaller (override grid) */

    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq,

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq,

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq,

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq {

      height: 18px;

    }

    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b,

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b,

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq-b,

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq-b {

      width: 3px;

    }

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq {

      display: flex;

    }

    .pep-vlist-eq-b {

      width: 3px; border-radius: 2px; background: white; height: 4px;

    }

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2) { animation: bar 0.6s ease-in-out 0.1s infinite alternate; }

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3) { animation: bar 0.9s ease-in-out 0.2s infinite alternate; }

    .latest-ep-vlist .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4) { animation: bar 0.7s ease-in-out 0.15s infinite alternate; }



    /* All episode cards eq animation */

    .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }

    .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2) { animation: bar 0.6s ease-in-out 0.1s infinite alternate; }

    .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3) { animation: bar 0.9s ease-in-out 0.2s infinite alternate; }

    .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4) { animation: bar 0.7s ease-in-out 0.15s infinite alternate; }



    /* ── LATEST EP GRID (ranking section — horizontal scroll, For You card style) ── */



    .latest-ep-grid-scroll {

      display: flex;

      flex-direction: row;

      overflow-x: auto;

      overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      gap: 8px;

      padding: 10px 12px 14px;

    }



    .latest-ep-grid-scroll::-webkit-scrollbar { display: none; }



    .latest-ep-grid-scroll .rankings-rank-badge {

      position: absolute; bottom: -4px; left: 3px;

      font-size: 2.6rem; font-weight: 900; line-height: 1;

      color: rgba(255,255,255,0.88);

      font-family: 'Plus Jakarta Sans', sans-serif;

      letter-spacing: -0.04em;

      text-shadow: 0 2px 10px rgba(0,0,0,0.65);

      pointer-events: none;

      z-index: 2;

    }



    .latest-ep-grid-scroll .pep-ep-row {

      flex-shrink: 0;

      width: calc((100vw - 28px - 16px) / 3);

    }



    /* eq bars */

    .latest-ep-grid-scroll .pep-ep-row.active:not(.paused) .pep-vlist-eq { display: flex; height: 22px; }

    .latest-ep-grid-scroll .pep-ep-row.active:not(.paused) .pep-vlist-eq-b { width: 3px; }

    .latest-ep-grid-scroll .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }

    .latest-ep-grid-scroll .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2) { animation: bar 0.6s ease-in-out 0.1s infinite alternate; }

    .latest-ep-grid-scroll .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3) { animation: bar 0.9s ease-in-out 0.2s infinite alternate; }

    .latest-ep-grid-scroll .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4) { animation: bar 0.7s ease-in-out 0.15s infinite alternate; }



    /* ── PODCAST EP MODAL — tag bar + list white card ── */



    /* Podcast Ep Modal — cover banner (watch category modal এর মতো) */

    #pepCover {

      width: 100%;

      height: 140px;

      background-size: cover;

      background-position: center top;

      background-repeat: no-repeat;

      flex-shrink: 0;

      margin-top: calc(-52px - 10px - var(--status-bar-height) - 12px);

      position: relative;

      z-index: 0;

      overflow: hidden;

    }

    #pepCover.wcat-cover-has-video {

      height: 160px;

    }

    #pepCover::after {

      content: '';

      position: absolute;

      inset: 0;

      background: linear-gradient(

        to bottom,

        rgba(0,0,0,0.18) 0%,

        rgba(0,0,0,0.0) 60%

      );

    }

    #podcastEpModal .pep-topbar {

      position: relative;

      z-index: 2;

    }



    #pepTagBar {

      background: #fff;

      border-radius: 18px 18px 0 0;

      margin: -20px 0 0;

      padding: 10px 14px 4px;

      gap: 8px;

      position: relative;

      z-index: 1;

    }

    #pepTagBar:empty {

      display: none;

    }

    #pepTagBar:empty + #pepList {

      border-radius: 18px 18px 0 0;

      margin-top: -20px;

    }



    #pepTagBar .ltv-tag-chip:active { opacity: 0.7; }



    #pepList {

      background: #fff;

      border-radius: 0;

      margin: 0;

      position: relative;

      z-index: 1;

    }



    #artistEpList {

      background: #fff;

      border-radius: 0;

      margin: 0;

    }



    #bookmarkedEpsModalBody {

      background: #fff;

      border-radius: 0;

      margin: 0;

    }



    /* ── PODCAST EP MODAL — vertical list (same style as latest-ep-vlist) ── */



    #pepList,

    #artistEpList,

    #bookmarkedEpsModalBody {

      display: flex !important;

      flex-direction: column !important;

      grid-template-columns: unset !important;

      gap: 2px;

      padding: 4px 6px 20px;

    }



    #pepList .pep-ep-row,

    #artistEpList .pep-ep-row,

    #bookmarkedEpsModalBody .pep-ep-row {

      display: flex; flex-direction: row; align-items: center;

      border-radius: 8px; border: none;

      background: transparent; box-shadow: none;

      padding: 9px 10px; gap: 12px;

      transition: background 0.15s;

      width: auto;

      position: relative;

    }



    #pepList .pep-ep-row::after,

    #artistEpList .pep-ep-row::after,

    #bookmarkedEpsModalBody .pep-ep-row::after {

      content: '';

      position: absolute;

      bottom: 0;

      left: 78px;

      right: 12px;

      height: 1px;

      background: var(--border);

    }



    #pepList .pep-ep-row:last-child::after,

    #artistEpList .pep-ep-row:last-child::after,

    #bookmarkedEpsModalBody .pep-ep-row:last-child::after {

      display: none;

    }



    #pepList .pep-ep-row:hover,

    #artistEpList .pep-ep-row:hover,

    #bookmarkedEpsModalBody .pep-ep-row:hover {

      transform: none; box-shadow: none;

      background: transparent;

    }



    #pepList .pep-ep-row:active,

    #artistEpList .pep-ep-row:active,

    #bookmarkedEpsModalBody .pep-ep-row:active {

      transform: scale(0.98); box-shadow: none;

      background: transparent;

    }



    #pepList .pep-ep-row:active .pep-ep-title,

    #artistEpList .pep-ep-row:active .pep-ep-title,

    #bookmarkedEpsModalBody .pep-ep-row:active .pep-ep-title {

      color: var(--accent);

    }



    #pepList .pep-ep-row.active,

    #artistEpList .pep-ep-row.active,

    #bookmarkedEpsModalBody .pep-ep-row.active {

      background: transparent; border: none;

    }



    #pepList .pep-ep-row.active .pep-ep-title,

    #artistEpList .pep-ep-row.active .pep-ep-title,

    #bookmarkedEpsModalBody .pep-ep-row.active .pep-ep-title {

      color: var(--accent);

    }



    #pepList .pep-ep-thumb,

    #artistEpList .pep-ep-thumb,

    #bookmarkedEpsModalBody .pep-ep-thumb {

      width: 56px; height: 56px; aspect-ratio: 1/1;

      flex-shrink: 0; border-radius: 6px;

      overflow: hidden; position: relative;

    }



    #pepList .pep-ep-bottom,

    #artistEpList .pep-ep-bottom,

    #bookmarkedEpsModalBody .pep-ep-bottom {

      flex: 1; min-width: 0; padding: 0; text-align: left;

    }



    #pepList .pep-ep-title,

    #artistEpList .pep-ep-title,

    #bookmarkedEpsModalBody .pep-ep-title {

      font-size: 0.87rem; font-weight: 600;

      -webkit-line-clamp: 1; min-height: unset; line-height: 1.3; text-align: left;

    }



    #pepList .pep-ep-meta,

    #artistEpList .pep-ep-meta,

    #bookmarkedEpsModalBody .pep-ep-meta {

      font-size: 0.74rem; margin-top: 3px; white-space: normal; text-align: left;

      overflow: visible; text-overflow: unset;

    }



    #pepList .pep-ep-eq-overlay,

    #artistEpList .pep-ep-eq-overlay,

    #bookmarkedEpsModalBody .pep-ep-eq-overlay {

      display: flex; background: rgba(0,0,0,0) !important;

      opacity: 0; transition: opacity 0.2s;

    }



    #pepList .pep-ep-row.active:not(.paused) .pep-ep-eq-overlay,

    #artistEpList .pep-ep-row.active:not(.paused) .pep-ep-eq-overlay,

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-ep-eq-overlay {

      background: rgba(0,0,0,0.42) !important; opacity: 1;

    }



    #pepList .pep-ep-play-btn,

    #artistEpList .pep-ep-play-btn,

    #bookmarkedEpsModalBody .pep-ep-play-btn { display: none; }



    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq,

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq,

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq { display: flex; }



    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1),

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1),

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }

    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2),

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2),

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(2) { animation: bar 0.6s ease-in-out 0.1s infinite alternate; }

    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3),

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3),

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(3) { animation: bar 0.9s ease-in-out 0.2s infinite alternate; }

    #pepList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4),

    #artistEpList .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4),

    #bookmarkedEpsModalBody .pep-ep-row.active:not(.paused) .pep-vlist-eq-b:nth-child(4) { animation: bar 0.7s ease-in-out 0.15s infinite alternate; }



    /* ── RADIO LIST ── */



    .radio-card {

      background: var(--surface);

      border: 1.5px solid var(--border);

      border-radius: 14px; padding: 12px 14px;

      display: flex; align-items: center; justify-content: space-between;

      transition: background 0.2s, border-color 0.2s; gap: 12px;

      cursor: pointer; width: 100%;

    }



    /* ── STAGGERED FADE-IN ── */



    @keyframes fadeSlideIn {

      from { opacity: 0; transform: translateY(16px); }



      to   { opacity: 1; transform: translateY(0); }



    }



    .radio-card {

      opacity: 0;

      animation: fadeSlideIn 0.35s ease forwards;

    }



    .settings-animate {

      opacity: 0;

    }



    #pageSettings.active .settings-animate {

      animation: fadeSlideIn 0.35s ease forwards;

    }



    #pageSettings.active .settings-animate:nth-child(1) { animation-delay: 0.00s; }



    #pageSettings.active .settings-animate:nth-child(2) { animation-delay: 0.05s; }



    #pageSettings.active .settings-animate:nth-child(3) { animation-delay: 0.10s; }



    #pageSettings.active .settings-animate:nth-child(4) { animation-delay: 0.15s; }



    #pageSettings.active .settings-animate:nth-child(5) { animation-delay: 0.20s; }



    #pageSettings.active .settings-animate:nth-child(6) { animation-delay: 0.25s; }



    #pageSettings.active .settings-animate:nth-child(7) { animation-delay: 0.30s; }



    #pageSettings.active .settings-animate:nth-child(8) { animation-delay: 0.35s; }



    /* ── RADIO CARD ── */



    .radio-card {

      background: var(--surface);

      border: 1.5px solid var(--border);

      border-radius: 14px; padding: 12px 14px;

      display: flex; align-items: center; justify-content: space-between;

      transition: background 0.2s, border-color 0.2s; gap: 12px;

      cursor: pointer;

    }



    .radio-card { transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s; }



    .radio-card:hover { background: var(--surface2); border-color: var(--accent); transform: scale(1.012); box-shadow: 0 4px 18px rgba(0,0,0,0.08); }



    .radio-card:hover .station-name { color: var(--accent); }



    .radio-card:active { background: var(--surface2); border-color: var(--border2); transform: scale(0.985); box-shadow: none; }



    .radio-card.active { border-color: var(--accent); background: var(--accent-light); }



    .radio-card.active:active { border-color: var(--accent); background: var(--accent-light); }



    .radio-card.active .station-name, .radio-card.loading .station-name { color: var(--accent); }



    .station-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }



    .station-img-wrap { position: relative; flex-shrink: 0; }



    /* ── STATION EQ OVERLAY (active 시 원형 이미지 위에 표시) ── */



    .station-eq-overlay {

      position: absolute; inset: 0; border-radius: 50%;

      background: rgba(0,0,0,0.42);

      display: flex; align-items: center; justify-content: center;

      opacity: 0; transition: opacity 0.2s;

      pointer-events: none;

    }



    .radio-card.active .station-eq-overlay { opacity: 1; }



    .station-eq {

      display: flex; align-items: flex-end; gap: 2px; height: 20px;

    }



    .station-eq-b {

      width: 3px; border-radius: 2px; background: white;

    }



    .radio-card.active .station-eq-b:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }



    .radio-card.active .station-eq-b:nth-child(2) { animation: bar 0.6s ease-in-out 0.1s infinite alternate; }



    .radio-card.active .station-eq-b:nth-child(3) { animation: bar 0.9s ease-in-out 0.2s infinite alternate; }



    .station-img {

      width: 56px; height: 56px; border-radius: 50%;

      background: var(--border2); object-fit: cover;

      border: 2.5px solid var(--border); display: block;

      transition: border-color 0.2s;

    }



    .radio-card.active .station-img {

      border-color: var(--accent);

      animation: ring-pulse 1.5s ease-in-out infinite;

    }



    .radio-card.loading .station-img {

      border-color: var(--accent);

      animation: ring-spin 1s linear infinite;

    }



    @keyframes ring-pulse {

      0%,100% { box-shadow: 0 0 0 2px var(--accent-glow); }



      50%      { box-shadow: 0 0 0 5px var(--accent-light); }



    }



    @keyframes ring-spin {

      0%   { box-shadow: 2px 0 0 2px var(--accent), 0 0 0 2px var(--accent-light); }



      25%  { box-shadow: 0 2px 0 2px var(--accent), 0 0 0 2px var(--accent-light); }



      50%  { box-shadow: -2px 0 0 2px var(--accent), 0 0 0 2px var(--accent-light); }



      75%  { box-shadow: 0 -2px 0 2px var(--accent), 0 0 0 2px var(--accent-light); }



      100% { box-shadow: 2px 0 0 2px var(--accent), 0 0 0 2px var(--accent-light); }



    }



    /* hide overlay entirely */



    .img-play-overlay { display: none; }



    .station-info { min-width: 0; flex: 1; }



    .station-name {

      font-size: 0.95rem; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif;

      display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; color: var(--text);

      transition: color 0.2s;

    }



    .station-details { display: flex; align-items: center; margin-top: 3px; overflow: hidden; }



    .station-desc {

      font-size: 0.75rem; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--muted2);

      margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;

    }



    .badge-soon {

      font-size: 0.6rem; font-family: 'Plus Jakarta Sans', sans-serif;

      background: var(--accent-light); color: var(--accent);

      border: 1px solid var(--accent-glow); border-radius: 20px;

      padding: 1px 7px; white-space: nowrap; font-weight: 600; margin-left: 6px;

    }



    .station-right { display: flex; align-items: center; flex-shrink: 0; }



    .radio-card.unavailable { opacity: 0.55; cursor: not-allowed; }



    #stationsInlineList .radio-card, #searchResultsContainer .radio-card { margin-bottom: 8px; }



    /* ── BOOKMARK/FAV BTN on card ── */



    .fav-btn {

      background: none; border: none; color: var(--border2);

      cursor: pointer; padding: 8px;

      display: flex; align-items: center; justify-content: center;

      transition: all 0.2s; border-radius: 8px; flex-shrink: 0;

    }



    .fav-btn svg { width: 22px; height: 22px; }



    .fav-btn:hover { color: #f59e0b; }



    .fav-btn.faved { color: #f59e0b; }



    .fav-btn.faved svg { fill: #f59e0b; stroke: #f59e0b; }



    /* ── BOOKMARK PILL CARDS ── */



    .bm-pill-wrap {

      display: flex; flex-direction: column; gap: 12px;

      margin-bottom: 100px;

    }



    .bm-pill-row {

      display: grid;

      grid-template-columns: 1fr 1fr;

      gap: 8px;

    }



    .bm-pill {

      display: flex; align-items: center; gap: 8px;

      background: var(--surface);

      border: 1.5px solid var(--border);

      border-radius: 50px;

      padding: 6px 12px 6px 6px;

      cursor: pointer;

      transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;

      animation: fadeSlideIn 0.3s ease forwards;

      opacity: 0;

      min-width: 0;

      overflow: hidden;

      -webkit-tap-highlight-color: transparent;

    }



    .bm-pill:active { transform: scale(0.96); }



    .bm-pill:hover  { background: var(--surface2); border-color: var(--border2); }



    .bm-pill.active {

      border-color: var(--accent);

      background: var(--accent-light);

      box-shadow: 0 0 0 3px var(--accent-glow);

    }



    .bm-pill-img {

      width: 32px; height: 32px; border-radius: 50%;

      object-fit: cover; flex-shrink: 0;

      border: 1.5px solid var(--border);

      background: var(--border2);

    }



    .bm-pill.active .bm-pill-img {

      border-color: var(--accent);

      animation: ring-pulse 1.5s ease-in-out infinite;

    }



    .bm-pill-emoji {

      width: 32px; height: 32px; border-radius: 50%;

      display: flex; align-items: center; justify-content: center;

      font-size: 16px; flex-shrink: 0;

      background: var(--border);

    }



    .bm-pill-name {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.82rem; font-weight: 600;

      color: var(--text);

      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

      max-width: 140px;

      transition: color 0.18s;

    }



    .bm-pill.active .bm-pill-name { color: var(--accent); }



    /* ── RADIO ADD PILL ── */



    /* ── EMPTY STATE ── */



    .empty-state {

      text-align: center; padding: 60px 20px;

      color: var(--muted); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.85rem;

      display: flex; flex-direction: column; align-items: center; justify-content: center;

    }



    .empty-state svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: 0.25; }



    .empty-state p { margin-top: 6px; font-size: 0.78rem; }



    /* ── UNIFIED PLAYER ── */



    /* ══════════════════════════════════════════════════

       UNIFIED PLAYER — Native Android style

       একটাই element, নিচ থেকে উপরে slide করে expand হয়

       Mini bar সবসময় top-এ, full content নিচে clipped

    ════════════════════════════════════════════════════ */



    /* Player এর পুরো height টা CSS variable দিয়ে control করা হয় */

    :root {

      --mini-bar-h: 66px;        /* mini bar এর exact height */

      --player-full-h: 60%;      /* full player height */

    }



    #miniPlayer {

      position: fixed;

      left: 12px; right: 12px;

      /* bottom থেকে শুরু, tab bar এর উপরে */

      bottom: calc(var(--tab-h) + 10px);

      z-index: 9900;

      background: color-mix(in srgb, rgba(255,255,255,0.95) 78%, var(--accent) 22%);

      border-radius: 18px;

      /* mini state: শুধু mini bar দেখা যায় */

      height: var(--mini-bar-h);

      /* hidden — screen এর নিচে */

      transform: translateY(calc(100% + var(--tab-h) + 10px));

      /* সব property একসাথে animate */

      transition: transform 0.46s cubic-bezier(0.32, 0.72, 0, 1),

                  height 0.46s cubic-bezier(0.32, 0.72, 0, 1),

                  left 0.46s cubic-bezier(0.32, 0.72, 0, 1),

                  right 0.46s cubic-bezier(0.32, 0.72, 0, 1),

                  bottom 0.46s cubic-bezier(0.32, 0.72, 0, 1),

                  border-radius 0.46s cubic-bezier(0.32, 0.72, 0, 1);

      overflow: hidden;

      display: flex;

      flex-direction: column;

      overscroll-behavior: none;

      touch-action: pan-x pinch-zoom;

      will-change: transform, height;

    }



    /* ── MINI STATE: নিচে দেখাও ── */

    #miniPlayer.visible {

      transform: translateY(0);

    }



    /* ── FULL STATE: উপরে expand করো ── */

    #miniPlayer.open {

      left: 0; right: 0;

      bottom: 0;

      border-radius: 20px 20px 0 0;

      height: var(--player-full-h);

      transform: translateY(0);

    }



    #miniPlayer::before { display: none; }



    /* ── MINI BAR ──

       সবসময় top-এ, height fixed।

       Full state এ সে উপরে থাকে কিন্তু দেখা যায় না

       কারণ full content তার উপর দিয়ে render হয় না —

       বরং mini bar টা opacity দিয়ে fade out হয় */

    .up-mini-bar {

      height: var(--mini-bar-h);

      flex-shrink: 0;

      display: flex; align-items: center; gap: 12px;

      padding: 10px 16px 12px;

      cursor: pointer;

      -webkit-tap-highlight-color: transparent;

      opacity: 1;

      transition: opacity 0.2s ease;

      /* position relative যাতে full content এর নিচে না যায় */

      position: relative;

      z-index: 1;

    }



    /* Full state এ mini bar fade out */

    #miniPlayer.open .up-mini-bar {

      opacity: 0;

      pointer-events: none;

      height: 0;

      padding: 0;

      overflow: hidden;

    }



    /* ── FULL CONTENT ──

       Mini state এ player height মাত্র mini-bar-h,

       তাই full content overflow: hidden এ clipped।

       Full state এ player বড় হলে full content দেখা যায়।

       opacity দিয়ে smooth fade-in */

    .up-full-content {

      flex: 1;

      min-height: 0;

      display: flex;

      flex-direction: column;

      align-items: center;

      overflow-y: auto;

      -webkit-overflow-scrolling: touch;

      opacity: 0;

      pointer-events: none;

      transition: opacity 0.3s ease 0.1s; /* slight delay — height animate হওয়ার পর */

    }



    #miniPlayer.open .up-full-content {

      opacity: 1;

      pointer-events: all;

    }



    /* Compatibility: old .mini-inner alias */

    .mini-inner { display: flex; align-items: center; gap: 12px; }



    .visualizer { display: flex; align-items: flex-end; gap: 3px; height: 26px; flex-shrink: 0; position: relative; }



    .mini-thumb {

      position: absolute; inset: -4px;

      border-radius: 8px;

      background-size: cover; background-position: center;

      opacity: 0.8;

      z-index: 0;

    }



    .v-bar { position: relative; z-index: 1; }



    .v-bar { width: 3px; background: var(--border); border-radius: 2px; height: 4px; opacity: 0.5; }



    .playing .v-bar { opacity: 1; background: var(--accent); }



    .playing .v-bar:nth-child(2) { animation: bar 0.8s ease-in-out           infinite alternate; }



    .playing .v-bar:nth-child(3) { animation: bar 0.6s ease-in-out 0.10s     infinite alternate; }



    .playing .v-bar:nth-child(4) { animation: bar 0.9s ease-in-out 0.20s     infinite alternate; }



    .playing .v-bar:nth-child(5) { animation: bar 0.5s ease-in-out 0.15s     infinite alternate; }



    .playing .v-bar:nth-child(6) { animation: bar 0.7s ease-in-out 0.05s     infinite alternate; }



    @keyframes bar { from { height: 4px; } to { height: 22px; } }



    .mini-info { flex: 1; min-width: 0; }



    .mini-name {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.78rem; font-weight: 400;

      display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; color: var(--text);

    }



    .mini-status {

      font-size: 0.65rem; color: var(--text2); margin-top: 1px;

      font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; letter-spacing: 0.04em;

    }



    .mini-status .live-dot {

      display: inline-block; width: 6px; height: 6px; border-radius: 50%;

      background: var(--accent); margin-right: 4px;

      animation: blink 1.5s ease-in-out infinite;

    }



    @keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }



    .mini-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }



    .mini-skip-btn {

      width: 32px; height: 32px; border-radius: 50%;

      background: var(--accent-light); border: 1.5px solid transparent;

      display: flex; align-items: center; justify-content: center;

      cursor: pointer; color: var(--accent); transition: all 0.2s;

    }



    .mini-skip-btn svg { width: 15px; height: 15px; }



    .mini-skip-btn:hover { background: var(--border2); border-color: transparent; }



    .mini-play-btn {

      width: 40px; height: 40px; border-radius: 50%;

      background: var(--accent); border: none;

      display: flex; align-items: center; justify-content: center;

      cursor: pointer; color: white; flex-shrink: 0; transition: all 0.2s;

      box-shadow: 0 2px 8px var(--accent-glow);

    }



    .mini-play-btn:hover { opacity: 0.88; transform: scale(1.06); }



    .mini-play-btn svg { width: 19px; height: 19px; }



    .mini-pause-icon { display: none; }



    #miniPlayer.playing-state .mini-play-icon  { display: none; }



    #miniPlayer.playing-state .mini-pause-icon { display: block; }



    /* ── BOTTOM TAB BAR ── */



    #tabBar {

      position: fixed; bottom: 0; left: 0; right: 0;

      height: var(--tab-bar-h); z-index: 9850;

      background: rgba(255,255,255,0.95);

      box-shadow: 0 -4px 20px rgba(0,0,0,0.08);

      display: flex;

      transition: background 0.3s, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);

      overflow: hidden;

      align-items: center;

    }



    body.fp-open #tabBar { transform: translateY(100%); }



    body.watch-open header { display: none; }



    body.watch-open #tabBar { transform: translateY(100%); }



    body.watch-open #miniPlayer { bottom: 10px; }



    body.bookmarks-open header { display: none; }



    body.bookmarks-open #tabBar { transform: translateY(100%); }



    body.bookmarks-open #miniPlayer { bottom: 10px; }



    body.search-open header { display: none; }



    body.search-open #tabBar { transform: translateY(100%); }



    body.search-open #miniPlayer { bottom: 10px; }



    body.pepmodal-open header { display: none; }



    body.pepmodal-open #tabBar { transform: translateY(100%); }



    body.pepmodal-open #miniPlayer { bottom: 10px; }



    body.reels-open #tabBar { transform: translateY(100%); }



    body.fp-open .tab-btn { color: var(--text2); }



    body.fp-open .tab-btn.active { color: var(--accent); }



    .tab-btn {

      flex: 1; display: flex; flex-direction: column;

      align-items: center; justify-content: center;

      gap: 3px; border: none; background: none;

      cursor: pointer; color: #555555;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.62rem; font-weight: 700;

      letter-spacing: 0.01em; transition: color 0.2s, transform 0.15s;

      padding-bottom: env(safe-area-inset-bottom, 0px);

      -webkit-tap-highlight-color: transparent;

    }



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



    .tab-btn { position: relative; }



    .tab-btn:hover, .tab-btn:focus { outline: none; background: none; }



    .tab-btn svg { width: 24px; height: 24px; transition: all 0.2s; }



    .tab-btn i { font-size: 24px; transition: all 0.2s; line-height: 1; width: 24px; text-align: center; display: inline-block; }



    .tab-btn i, .tab-btn svg { color: var(--text); }



    .tab-btn span { color: var(--text); }



    .tab-btn.active i, .tab-btn.active svg { color: var(--accent); }



    .tab-btn.active span { color: var(--accent); }



    .tab-btn.active svg, .tab-btn.active i { transform: translateY(-1px) scale(1.1); }



    #fpOverlay {

      position: fixed; inset: 0; z-index: 9850;

      background: rgba(0,0,0,0); pointer-events: none;

      transition: background 0.4s;

    }



    #fpOverlay.open { background: transparent; pointer-events: all; }



    /* #fullPlayer is now an alias pointing to #miniPlayer — handled via JS */

    /* These rules apply to #miniPlayer when open (full state) */

    #miniPlayer > * { position: relative; z-index: 2; }



    /* pull-to-refresh বন্ধ full state এ */

    /* Already set on #miniPlayer above */



    .fp-handle {

      width: 40px; height: 4px; border-radius: 2px;

      background: rgba(255,255,255,0.6);

      margin: 12px auto 0; flex-shrink: 0; cursor: pointer;

      transition: background 0.2s;

    }



    .fp-handle:hover { background: rgba(255,255,255,0.9); }



    /* top bar */



    /* live badge inline */



    /* artwork */



    .fp-artwork-wrap {

      position: relative; z-index: 1;

      margin-top: 14px; margin-bottom: 14px; flex-shrink: 0;

    }



    .fp-artwork {

      width: 180px; height: 180px; border-radius: 20px;

      overflow: hidden;

      box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);

    }



    .fp-artwork img {

      width: 100%; height: 100%; object-fit: cover; display: block;

    }



    /* old live badge on artwork - hide */



    .fp-live-badge { display: none; }



    /* ── MP3 PROGRESS BAR (full player) ── */



    #fpProgressWrap {

      padding: 0 36px; margin-top: 20px; width: 100%;

    }



    .fp-progress-bar {

      width: 100%; height: 3px; border-radius: 2px;

      background: var(--border2);

      cursor: pointer; position: relative;

    }



    .fp-progress-bar::after {

      content: '';

      position: absolute; top: 50%; right: calc(100% - var(--prog, 0%));

      transform: translate(50%, -50%);

      width: 11px; height: 11px; border-radius: 50%;

      background: var(--accent);

      box-shadow: 0 1px 4px rgba(0,0,0,0.15);

      pointer-events: none;

    }



    .fp-progress-fill {

      height: 100%; border-radius: 2px;

      background: var(--accent); width: 0%;

      transition: width 0.5s linear;

      pointer-events: none;

    }



    .fp-time-row {

      display: flex; justify-content: space-between;

      margin-top: 8px;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.68rem;

      color: var(--text2); font-weight: 500;

      padding: 0 2px;

    }



    .fp-live-dot { display: none; }



    /* info */



    .fp-info {

      position: relative; z-index: 1;

      text-align: center; width: 100%; padding: 0 20px; margin-bottom: 16px; flex-shrink: 0;

    }



    .fp-name {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 400;

      color: var(--text); margin-bottom: 3px;

      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

    }



    .fp-genre {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.75rem;

      color: var(--text2);

    }



    /* controls */



    .fp-controls {

      position: relative; z-index: 1;

      display: flex; align-items: center; justify-content: center;

      gap: 10px; width: 100%; padding: 0 16px; flex-shrink: 0;

    }



    .fp-side-btn {

      width: 42px; height: 42px; border-radius: 50%;

      background: var(--accent-light); border: none;

      display: flex; align-items: center; justify-content: center;

      cursor: pointer; color: var(--accent); transition: all 0.2s; flex-shrink: 0;

      flex-direction: column; gap: 2px;

    }



    .fp-side-btn svg { width: 18px; height: 18px; }



    .fp-side-btn:hover { background: var(--border2); }



    .fp-side-btn.faved { color: var(--accent); background: var(--accent-light); }



    .fp-skip-btn {

      width: 48px; height: 48px; border-radius: 50%;

      background: var(--accent-light); border: none;

      display: flex; align-items: center; justify-content: center;

      cursor: pointer; color: var(--accent); transition: all 0.2s; flex-shrink: 0;

    }



    .fp-skip-btn svg { width: 22px; height: 22px; }



    .fp-skip-btn:hover { background: var(--border2); }



    .fp-play-btn {

      width: 64px; height: 64px; border-radius: 50%;

      background: var(--accent); border: none;

      display: flex; align-items: center; justify-content: center;

      cursor: pointer; color: white; flex-shrink: 0; transition: all 0.2s;

      box-shadow: 0 6px 20px var(--accent-glow);

    }



    .fp-play-btn:active { transform: scale(0.94); }



    .fp-play-btn svg { width: 28px; height: 28px; }



    .fp-pause-icon { display: none; }



    #miniPlayer.playing-state .fp-play-icon  { display: none; }



    #miniPlayer.playing-state .fp-pause-icon { display: block; }



    .sleep-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; }



    /* ── LONG PRESS DELETE SHEET ── */



    #lpDeleteSheet {

      position: fixed; inset: 0; z-index: 99999;

      display: flex; flex-direction: column; justify-content: flex-end;

      pointer-events: none; opacity: 0;

      transition: opacity 0.2s;

    }



    #lpDeleteSheet.open { pointer-events: all; opacity: 1; }



    #lpDeleteOverlay {

      position: absolute; inset: 0;

      background: rgba(0,0,0,0.3);

    }



    #lpDeleteCard {

      position: relative; z-index: 1;

      background: var(--surface);

      border-radius: 20px 20px 0 0;

      padding: 12px 16px 40px;

      transform: translateY(100%);

      transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);

    }



    #lpDeleteSheet.open #lpDeleteCard { transform: translateY(0); }



    .lp-handle {

      width: 36px; height: 4px; border-radius: 2px;

      background: var(--border2); margin: 0 auto 16px;

    }



    .lp-item-title {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem;

      color: var(--muted); margin-bottom: 12px;

      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

    }



    .lp-delete-btn {

      width: 100%; padding: 14px 16px;

      background: rgba(239,68,68,0.08); border: 1.5px solid rgba(239,68,68,0.2);

      border-radius: 14px; cursor: pointer;

      display: flex; align-items: center; gap: 12px;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9rem;

      font-weight: 600; color: #ef4444;

      -webkit-tap-highlight-color: transparent;

      transition: background 0.15s;

    }



    .lp-delete-btn:active { background: rgba(239,68,68,0.15); }



    /* ── FP REACTIONS ── */



    /* floating emoji animation */



    .fp-float-emoji {

      position: fixed; pointer-events: none; z-index: 999;

      font-size: 1.6rem; animation: fpFloatUp 1s ease-out forwards;

    }



    @keyframes fpFloatUp {

      0%   { opacity: 1; transform: translateY(0) scale(1); }



      100% { opacity: 0; transform: translateY(-120px) scale(1.4); }



    }



    @keyframes fpShake {

      0%,100% { transform: translateX(0); }



      25%      { transform: translateX(-6px); }



      75%      { transform: translateX(6px); }



    }



    /* fp visualizer */



    #fpVisualizer { display: none !important; }



    /* fpVisualizer hidden */



    /* progress visible */



    .fp-visualizer {

      position: relative; z-index: 1;

      display: flex; align-items: flex-end; gap: 4px; height: 24px;

      margin-top: 14px; flex-shrink: 0;

    }



    .fp-v-bar {

      width: 4px; background: rgba(255,255,255,0.4); border-radius: 2px; height: 5px;

    }



    #miniPlayer.playing-state .fp-v-bar { background: var(--accent); }



    #miniPlayer.playing-state .fp-v-bar:nth-child(1) { animation: bar 0.8s ease-in-out infinite alternate; }



    #miniPlayer.playing-state .fp-v-bar:nth-child(2) { animation: bar 0.6s ease-in-out 0.10s infinite alternate; }



    #miniPlayer.playing-state .fp-v-bar:nth-child(3) { animation: bar 0.9s ease-in-out 0.20s infinite alternate; }



    #miniPlayer.playing-state .fp-v-bar:nth-child(4) { animation: bar 0.5s ease-in-out 0.15s infinite alternate; }



    #miniPlayer.playing-state .fp-v-bar:nth-child(5) { animation: bar 0.7s ease-in-out 0.05s infinite alternate; }



    #miniPlayer.playing-state .fp-v-bar:nth-child(6) { animation: bar 1.0s ease-in-out 0.12s infinite alternate; }



    #miniPlayer.playing-state .fp-v-bar:nth-child(7) { animation: bar 0.65s ease-in-out 0.08s infinite alternate; }



    /* ── SETTINGS ── */



    .settings-list { padding: calc(8px + var(--status-bar-height)) 0 100px; display: flex; flex-direction: column; gap: 14px; }



    .settings-group {

      background: var(--surface); border: 1.5px solid var(--border);

      border-radius: 14px; overflow: hidden;

      box-shadow: 0 2px 12px rgba(0,0,0,0.05);

    }



    /* each row */



    .s-row {

      display: flex; align-items: center; justify-content: space-between;

      padding: 14px 16px; gap: 10px; cursor: pointer; transition: background 0.15s;

      min-height: 52px;

    }



    .s-row.can-hover:hover, .s-row.can-hover:active { background: var(--surface2); }



    .s-row-label {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9rem;

      font-weight: 500; color: var(--text); flex: 1;

    }



    .s-row-right {

      display: flex; align-items: center; gap: 6px; flex-shrink: 0;

    }



    .s-divider { height: 1px; background: var(--border); margin: 0 16px; }



    .social-share-btn {

      flex: 1; display: flex; align-items: center; justify-content: center;

      gap: 6px; padding: 9px 0; border-radius: 10px;

      color: #fff; text-decoration: none;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.78rem; font-weight: 600;

      letter-spacing: 0.01em; transition: opacity 0.15s;

      -webkit-tap-highlight-color: transparent;

    }

    .social-share-btn:active { opacity: 0.75; }

    .social-share-btn i { font-size: 0.88rem; }



    .settings-follow-us {

      text-align: center;

      padding: 28px 16px 16px;

    }

    .settings-follow-label {

      font-size: 0.78rem;

      color: var(--muted);

      font-family: 'Plus Jakarta Sans', sans-serif;

      margin-bottom: 16px;

    }

    .settings-footer-bar {

      display: flex;

      align-items: center;

      justify-content: space-between;

      padding: 16px 4px 8px;

    }

    .settings-footer-copy {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.72rem;

      color: var(--muted);

      line-height: 1.5;

    }

    .settings-footer-icons {

      display: flex;

      align-items: center;

      gap: 4px;

    }

    .follow-icon-btn {

      width: 36px; height: 36px;

      border-radius: 50%;

      display: flex; align-items: center; justify-content: center;

      font-size: 1.1rem;

      text-decoration: none;

      -webkit-tap-highlight-color: transparent;

      transition: transform 0.15s, opacity 0.15s;

    }

    .follow-icon-btn:active { transform: scale(0.88); opacity: 0.75; }

    .follow-icon-btn.fb { color: #1877F2; }

    .follow-icon-btn.tg { color: #229ED9; }

    .follow-icon-btn.em { color: #555555; }



    /* notification toggle switch */



    .notif-toggle-wrap { display: flex; align-items: center; gap: 8px; }



    .notif-toggle-label { font-size: 0.78rem; color: var(--text-muted); font-family: 'Plus Jakarta Sans', sans-serif; min-width: 24px; text-align: right; }



    .notif-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }



    .notif-switch input { opacity: 0; width: 0; height: 0; }



    .notif-switch-slider {

      position: absolute; inset: 0; border-radius: 99px;

      background: var(--surface2); cursor: pointer;

      transition: background 0.2s;

    }



    .notif-switch-slider::before {

      content: ''; position: absolute;

      width: 20px; height: 20px; border-radius: 50%;

      left: 3px; top: 3px;

      background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25);

      transition: transform 0.2s;

    }



    .notif-switch input:checked + .notif-switch-slider { background: var(--accent); }



    .notif-switch input:checked + .notif-switch-slider::before { transform: translateX(20px); }



    /* theme toggle pills */



    .theme-pill-group {

      display: flex; gap: 4px; background: var(--bg);

      border: 1.5px solid var(--border); border-radius: 10px; padding: 3px;

    }



    .theme-pill {

      background: none; border: none; cursor: pointer;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.75rem; font-weight: 500;

      color: var(--muted); padding: 5px 10px; border-radius: 7px;

      transition: all 0.18s; white-space: nowrap;

    }



    .theme-pill.active {

      background: var(--surface); color: var(--accent);

      font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,0.08);

    }



    /* collapse rows */



    /* about logo inside collapse */



    /* ── PROFILE CARD ── */



    #profileCard {

      background: var(--surface); border: 1.5px solid var(--border);

      border-radius: 14px; overflow: hidden;

    }



    .profile-login-card, .profile-user-card {

      display: flex; align-items: center; gap: 12px; padding: 14px 16px;

    }



    .profile-login-icon {

      width: 42px; height: 42px; border-radius: 50%;

      background: var(--accent-light); color: var(--accent);

      display: flex; align-items: center; justify-content: center; flex-shrink: 0;

    }



    .profile-login-icon svg { width: 22px; height: 22px; }



    .profile-login-info { flex: 1; }



    .profile-login-title {

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.88rem;

      font-weight: 600; color: var(--text);

    }



    .profile-login-sub {

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.72rem; color: var(--muted);

    }



    .google-login-btn {

      display: flex; align-items: center; gap: 6px;

      background: var(--bg); border: 1.5px solid var(--border);

      border-radius: 10px; padding: 7px 12px; cursor: pointer;

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.78rem; font-weight: 600;

      color: var(--text); flex-shrink: 0; transition: border-color 0.2s;

    }



    .google-login-btn:hover { border-color: var(--accent); }



    .profile-photo {

      width: 42px; height: 42px; border-radius: 50%;

      object-fit: cover; flex-shrink: 0;

      border: 2px solid var(--accent-light);

    }



    .profile-info { flex: 1; min-width: 0; }



    .profile-name-row { display: flex; align-items: baseline; gap: 0; min-width: 0; }



    .profile-name {

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.88rem;

      font-weight: 600; color: var(--text);

      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

    }



    .profile-email {

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.7rem; color: var(--muted);

      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;

    }



    .profile-logout-btn {

      background: none; border: none; cursor: pointer; color: var(--muted);

      padding: 6px; border-radius: 8px; transition: color 0.2s; flex-shrink: 0;

    }



    .profile-logout-btn:hover { color: #e55; }



    /* ── ACCENT DOTS ── */



    .accent-dots { display: flex; gap: 8px; align-items: center; }



    .accent-dot {

      width: 22px; height: 22px; border-radius: 50%;

      border: 2.5px solid transparent; cursor: pointer;

      transition: transform 0.15s, border-color 0.15s;

      flex-shrink: 0; padding: 0;

    }



    .accent-dot:hover { transform: scale(1.15); }



    .accent-dot.active {

      border-color: var(--text);

      transform: scale(1.15);

    }



    /* ── VISITOR CARD ── */



    .visitor-row {

      display: flex; align-items: center; padding: 14px 16px; gap: 0;

    }



    .visitor-item { flex: 1; text-align: center; }



    .visitor-value {

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.1rem;

      font-weight: 700; color: var(--accent);

    }



    .visitor-label {

      font-family: "Plus Jakarta Sans", sans-serif; font-size: 0.68rem;

      color: var(--muted); margin-top: 2px;

    }



    /* ── DEVELOPER CREDIT ── */



    .dev-credit {

      display: flex; align-items: center; justify-content: space-between;

      padding: 16px 4px 8px; gap: 12px;

    }



    .dev-left {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.75rem;

      color: var(--muted); line-height: 1.4;

    }



    .dev-link {

      color: var(--accent); text-decoration: none; font-weight: 600;

    }



    .dev-link:hover { text-decoration: underline; }



    .dev-social { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }



    .social-icon {

      width: 30px; height: 30px; border-radius: 8px;

      display: flex; align-items: center; justify-content: center;

      color: var(--muted); text-decoration: none;

      transition: color 0.2s;

    }



    .social-icon svg { width: 15px; height: 15px; }



    .social-icon:hover { color: var(--accent); }



    /* ── PWA INSTALL BANNER ── */



    #pwaInstall {

      background: var(--accent-light);

      border: 1.5px solid var(--accent);

      border-radius: 14px; padding: 12px 14px;

      display: none; align-items: center; gap: 12px;

    }



    #pwaInstall.show { display: flex; }



    .pwa-icon {

      width: 40px; height: 40px; border-radius: 10px;

      border: 1.5px solid transparent;

      background: var(--accent); display: flex; align-items: center; justify-content: center;

      flex-shrink: 0; color: var(--text);

    }



    .pwa-icon svg { width: 20px; height: 20px; }



    .pwa-text { flex: 1; min-width: 0; }



    .pwa-text strong {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 700;

      color: var(--text); display: block;

    }



    .pwa-text span {

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.7rem; color: var(--muted);

    }



    .pwa-install-btn {

      background: var(--accent); color: white; border: none;

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.75rem; font-weight: 600;

      padding: 7px 14px; border-radius: 10px; cursor: pointer;

      flex-shrink: 0; transition: opacity 0.2s;

    }



    .pwa-install-btn:hover { opacity: 0.85; }



    /* ── HOME SECTION LABELS ── */



    .home-section-label {

      display: flex; align-items: center; gap: 10px;

      padding: 6px 14px 4px;

    }



    .home-section-label::before {

      content: '';

      width: 3px; height: 16px;

      background: var(--accent);

      border-radius: 2px;

      flex-shrink: 0;

    }



    .home-section-label span {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.82rem; font-weight: 600;

      color: var(--text);

      white-space: nowrap;

      flex-shrink: 0;

    }



    .home-section-label a {

      margin-left: auto;

      font-size: 0.72rem; color: var(--accent);

      font-weight: 500; text-decoration: none;

      display: flex; align-items: center; gap: 3px;

    }



    /* ── WATCH VIDEO MODAL ── */



    /* ── UNIVERSAL MODAL ANIMATION ── */

    @keyframes modalSlideIn {

      from { opacity: 0; transform: translateY(40px); }

      to   { opacity: 1; transform: translateY(0);    }

    }

    @keyframes modalSlideOut {

      from { opacity: 1; }

      to   { opacity: 0; }

    }



    /* open: show + animate in */

    .watchcat-modal-base.open,

    #searchModal.open,

    #podcastEpModal.open,

    #allEpsModal.open,

    #allStationsModal.open,

    #artistEpModal.open,

    #allArtistsModal.open,

    #allWatchArtistsModal.open,

    #watchArtistVidModal.open,

    #listenBrowseAllModal.open,

    #browseCatsAllModal.open,

    #savedVideosModal.open,

    #bookmarkedEpsModal.open,

    #sportsModal.open,

    #reelsModal.open,

    #watchVideoModal.open {

      display: flex !important;

      animation: modalSlideIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;

    }



    /* closing: fade + slight drop — no scale/translateX to avoid jump */

    .watchcat-modal-base.closing,

    #searchModal.closing,

    #podcastEpModal.closing,

    #allEpsModal.closing,

    #allStationsModal.closing,

    #artistEpModal.closing,

    #allArtistsModal.closing,

    #allWatchArtistsModal.closing,

    #watchArtistVidModal.closing,

    #listenBrowseAllModal.closing,

    #browseCatsAllModal.closing,

    #savedVideosModal.closing,

    #bookmarkedEpsModal.closing,

    #sportsModal.closing,

    #reelsModal.closing,

    #watchVideoModal.closing {

      display: flex !important;

      pointer-events: none;

      animation: modalSlideOut 0.28s cubic-bezier(0.4, 0, 1, 1) both;

    }



    /* will-change for smooth GPU compositing on all modals */

    .watchcat-modal-base,

    #searchModal, #podcastEpModal, #allEpsModal, #allStationsModal,

    #artistEpModal, #allArtistsModal, #allWatchArtistsModal,

    #watchArtistVidModal, #listenBrowseAllModal, #browseCatsAllModal,

    #savedVideosModal, #bookmarkedEpsModal, #sportsModal, #reelsModal {

      will-change: opacity, transform;

    }



    #watchVideoModal {

      display: none; position: fixed; inset: 0;

      z-index: 9500; background: #000;

      flex-direction: column; overflow: hidden;

      touch-action: pan-x pan-y;

      will-change: transform, opacity;

    }



    #watchVideoModal.open { display: flex; }



    .wvm-topbar { display: none; }



    .wvm-title-row {

      display: flex; align-items: center; gap: 4px;

      padding: 4px 0 6px;

      -webkit-tap-highlight-color: transparent;

      user-select: none;

    }



    .wvm-title-row:active { background: none; }



    .wvm-back-btn {

      background: none; border: none; cursor: pointer;

      color: var(--muted); width: 36px; height: 36px;

      display: flex; align-items: center; justify-content: center;

      border-radius: 50%; flex-shrink: 0;

      -webkit-tap-highlight-color: transparent;

      margin-left: -6px;

    }



    .wvm-back-btn:active { background: var(--surface2); }



    .wvm-title-text {

      flex: 1; font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.95rem; font-weight: 600;

      color: var(--text); overflow: hidden;

      white-space: nowrap; text-overflow: ellipsis;

    }



    .wvm-title-text.expanded {

      white-space: normal;

      overflow: visible;

      text-overflow: unset;

    }



    .wvm-desc-toggle-btn {

      background: none; border: none; cursor: pointer;

      color: var(--muted); width: 32px; height: 32px;

      display: flex; align-items: center; justify-content: center;

      border-radius: 50%; flex-shrink: 0;

      -webkit-tap-highlight-color: transparent;

      transition: transform 0.2s;

    }



    .wvm-desc-toggle-btn.open { transform: rotate(180deg); }



    .wvm-desc-toggle-btn:active { background: var(--surface2); }



    .wvm-desc-box {

      padding: 0 4px 10px;

      animation: fadeSlideIn 0.2s ease forwards;

    }



    .wvm-seo-tags {

      display: flex; flex-wrap: wrap; gap: 4px 0;

      margin-bottom: 8px;

    }



    .wvm-seo-tag {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.75rem; font-weight: 600;

      color: var(--accent); line-height: 1.4;

      cursor: pointer; -webkit-tap-highlight-color: transparent;

      transition: opacity 0.15s;

    }



    .wvm-seo-tag:active { opacity: 0.5; }



    .wvm-seo-sep {

      color: var(--muted); font-size: 0.7rem;

      opacity: 0.5; user-select: none;

    }



    .wvm-desc-text {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.8rem; color: var(--muted);

      line-height: 1.5;

    }



    .watch-modal-player-wrap {

      position: relative; width: 100%;

      aspect-ratio: 16/9; background: #000; flex-shrink: 0;

    }



    .watch-modal-player-wrap iframe,



    .watch-modal-player-wrap video {

      width: 100%; height: 100%; display: block;

    }



    .wvm-body {

      flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;

      padding: 6px 14px calc(var(--tab-bar-h) + env(safe-area-inset-bottom, 0px) + 16px);

      border-radius: 16px 16px 0 0;

      background: var(--bg);

      background-image:

        linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, var(--accent) 18%) 55%, color-mix(in srgb, var(--bg) 62%, var(--accent) 38%) 100%),

        radial-gradient(ellipse 60% 40% at 20% 30%, color-mix(in srgb, var(--bg) 78%, var(--accent) 22%) 0%, transparent 70%),

        radial-gradient(ellipse 50% 35% at 80% 70%, color-mix(in srgb, var(--bg) 74%, var(--accent) 26%) 0%, transparent 70%);

      background-size: 100% 100%, 200% 200%, 200% 200%;

      background-blend-mode: normal, screen, screen;

    }



    .wvm-title {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 1rem; font-weight: 700;

      color: var(--text); margin-bottom: 6px; line-height: 1.4;

    }



    .wvm-desc {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.82rem; color: var(--muted);

      margin-bottom: 14px; line-height: 1.5;

    }



    @keyframes wvmMarquee {

      0%   { transform: translateX(100vw); }



      100% { transform: translateX(-100%); }



    }



    /* ── WVM Category Avatar ── */



    .wvm-cat-avatar-btn {

      flex-shrink: 0; background: none; border: none; padding: 0; cursor: pointer;

      -webkit-tap-highlight-color: transparent; display: flex; align-items: center;

    }



    .wvm-cat-avatar-thumb {

      width: 36px; height: 36px; border-radius: 50%;

      overflow: hidden; background: var(--surface2);

      border: 2.5px solid var(--accent);

      display: grid;

    }



    .wvm-cat-avatar-thumb img {

      width: 100%; height: 100%; object-fit: cover; display: block;

    }



    .wvm-cat-avatar-thumb.collage {

      grid-template-columns: 1fr 1fr;

      grid-template-rows: 1fr 1fr;

      gap: 1px; background: var(--border);

    }



    .wvm-cat-avatar-thumb.collage.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }



    .wvm-cat-avatar-thumb.collage.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }



    .wvm-cat-avatar-thumb.collage.n3 img:first-child { grid-column: 1; grid-row: 1 / 3; }



    .wvm-actions {

      display: flex; gap: 10px; margin-bottom: 14px;

      margin-left: -14px; margin-right: -14px;

      padding-left: 8px; padding-right: 14px;

      overflow-x: auto; overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      flex-shrink: 0;

    }



    .wvm-actions::-webkit-scrollbar { display: none; }



    .wvm-action-btn {

      display: flex; align-items: center; gap: 6px;

      padding: 7px 14px; border-radius: 20px;

      border: 1.5px solid var(--border);

      background: var(--surface); color: var(--text);

      font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem;

      font-weight: 600; cursor: pointer;

      -webkit-tap-highlight-color: transparent;

      transition: background 0.15s, color 0.15s, border-color 0.15s;

      flex-shrink: 0;

    }



    .wvm-action-btn:active { background: var(--surface2); }



    .wvm-action-btn.faved { color: var(--accent); border-color: var(--accent); }



    .wvm-action-btn.liked { color: var(--accent); border-color: var(--accent); }



    .wvm-related-label {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.82rem; font-weight: 700;

      color: var(--muted); text-transform: uppercase;

      letter-spacing: 0.05em; margin-bottom: 10px;

    }



    .wvm-body .home-section-label span { font-weight: 400; }



    .wvm-body .home-section-label { margin: 0 -14px; padding-left: 14px; }



    .wvm-body .watch-cat-section-label { margin: 0 -14px; }



    .wvm-related-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 0 -14px; padding: 0 14px 20px; }



    /* for-you mixed grid mode — fy-row-* wrapper গুলো নিজেই layout handle করে */

    .wvm-related-list.for-you-grid { display: block; margin: 0; padding: 0 0 20px; }

    .wvm-related-list.for-you-grid .fy-row-vvv,

    .wvm-related-list.for-you-grid .fy-row-cv,

    .wvm-related-list.for-you-grid .fy-row-cc { margin-bottom: 8px; }



    .wvm-related-list.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0 0 20px; }



    .wvm-related-list.tv-grid .tv-pill { width: 100%; flex-shrink: 1; }



    .wvm-related-list.sports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 20px; margin: 0; }



    /* For You inside wvm */



    .wvm-body .for-you-header { padding: 14px 0 4px; }



    .wvm-body .for-you-grid { padding: 8px 0 20px; }



    .wvm-info-btn {

      background: none; border: none; cursor: pointer;

      color: var(--text); width: 36px; height: 36px;

      display: flex; align-items: center; justify-content: center;

      border-radius: 50%; flex-shrink: 0;

      -webkit-tap-highlight-color: transparent;

    }



    .wvm-info-btn:active { background: var(--surface2); }



    /* Info bottom sheet */



    .wvm-info-sheet-backdrop {

      display: none; position: fixed; inset: 0;

      z-index: 9600; background: rgba(0,0,0,0.45);

    }



    .wvm-info-sheet-backdrop.open { display: block; }



    .wvm-info-sheet {

      position: fixed; left: 0; right: 0; bottom: 0;

      z-index: 9601; background: var(--surface);

      border-radius: 20px 20px 0 0;

      padding: 0 0 40px;

      transform: translateY(100%);

      transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);

      max-height: 60vh; overflow-y: auto;

    }



    .wvm-info-sheet.open { transform: translateY(0); }



    .wvm-info-sheet-handle {

      width: 36px; height: 4px; border-radius: 2px;

      background: var(--border); margin: 12px auto 16px;

    }



    .wvm-info-sheet-title {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 1rem; font-weight: 700;

      color: var(--text); padding: 0 18px 8px; line-height: 1.4;

    }



    .wvm-info-sheet-desc {

      font-family: 'Plus Jakarta Sans', sans-serif;

      font-size: 0.85rem; color: var(--muted);

      padding: 0 18px; line-height: 1.6;

    }



    /* ── WATCH CATEGORY ── */



    #pageSettings { padding-top: 20px; }



    #pageWatch { margin: 0 -16px; }



    #watchCategoryScroll { padding: 0 8px; margin-top: 12px; }



    #watchVideoList {

      display: flex !important;

      flex-direction: row !important;

      gap: 8px;

      overflow-x: auto;

      overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

      padding: 4px 8px 14px 14px;

    }



    #watchVideoList::-webkit-scrollbar { display: none; }



    #watchVideoList .watch-video-card {

      flex-shrink: 0;

      width: calc((100vw - 28px - 16px) / 3);

    }



    #watchCategoryScroll {

      display: block;

      overflow-x: auto; overflow-y: hidden;

      -webkit-overflow-scrolling: touch;

      scrollbar-width: none;

    }



    #watchCategoryScroll::-webkit-scrollbar { display: none; }



    #watchCatRow .pc-card {

      width: auto;

      height: 38px;

      border-radius: 20px;

      overflow: hidden;

      position: relative;

      background: var(--surface);

      border: 1.5px solid var(--border2);

      box-shadow: none;

      transition: background 0.18s, border-color 0.18s, transform 0.15s;

      display: flex; align-items: center; justify-content: center;

      padding: 0 18px;

      min-width: 0;

      white-space: nowrap;

      flex-shrink: 0;

    }



    #watchCatRow .pc-card:active { transform: scale(0.94); }



    #watchCatRow .pc-card.active-cat {

      border-color: var(--accent);

      color: var(--accent);

    }



    #watchCatRow .pc-card.active-cat .pc-card-title { color: var(--accent); }



    #watchCatRow .pc-card-thumb { display: none; }



    #watchCatRow .pc-card-badge { display: none; }



    #watchCatRow .pc-card-info { display: none; }



    #watchCatRow .pc-card-overlay { display: none; }



    #watchCatRow .pc-card-title {

      position: relative; z-index: 1;

      font-size: 0.85rem;

      font-weight: 600;

      color: var(--text);

      white-space: nowrap;

      text-shadow: none;

      display: block;

    }

/* ═══════════════════════════════════════════
   CastFM Patch — Missing CSS from truncated file
   ═══════════════════════════════════════════ */

/* Live TV & Sports modal shared tag pills */
.ltv-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
}
.ltv-tag-pill.active,
.ltv-tag-pill:active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Live TV list */
.ltv-list {
  display: flex;
  flex-direction: column;
}
.ltv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}
.ltv-row:active { background: var(--border); }
.ltv-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--border2, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ltv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ltv-thumb-placeholder {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.ltv-info { flex: 1; min-width: 0; }
.ltv-name {
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ltv-tag {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 2px;
}
.ltv-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #e53935;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* Sports modal cards */
.sports-modal-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.15s;
  cursor: pointer;
}
.sports-modal-card:active { transform: scale(0.97); }
.sports-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--border2, #f0f0f0);
}
.sports-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sports-card-info { padding: 8px 10px 10px; }
.sports-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sports-tag {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 3px;
}

/* Sports modal grid */
#sportsModalGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px 16px 24px;
}

/* Live TV modal tag bar */
#liveTvTagBar,
#sportsFilterBar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
#liveTvTagBar::-webkit-scrollbar,
#sportsFilterBar::-webkit-scrollbar { display: none; }

/* TV pills on homepage */
.tv-pill {
  flex-shrink: 0;
  width: 72px;
  cursor: pointer;
}
.tv-pill-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--border2, #f0f0f0);
}
.tv-pill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-pill-live-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tv-live-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f44336;
  display: inline-block;
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.tv-pill-eq-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 14px;
}
.tv-pill:active .tv-pill-eq-overlay { opacity: 1; }
.tv-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}
.tv-eq-b {
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: eqBounce 0.6s ease-in-out infinite alternate;
}
.tv-eq-b:nth-child(2) { animation-delay: 0.2s; }
.tv-eq-b:nth-child(3) { animation-delay: 0.4s; }
@keyframes eqBounce {
  from { height: 4px; }
  to   { height: 18px; }
}

/* Live TV & Sports section scroll */
#liveTvScroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 16px 12px;
  scrollbar-width: none;
}
#liveTvScroll::-webkit-scrollbar { display: none; }

/* Sports cards */
.sports-card {
  flex-shrink: 0;
  width: 140px;
  cursor: pointer;
}
#watchSportsList {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 16px 12px;
  scrollbar-width: none;
}
#watchSportsList::-webkit-scrollbar { display: none; }

/* Visitor widget */
.visitor-row {
  display: flex;
  justify-content: space-around;
  padding: 12px 0 4px;
}
.visitor-item { text-align: center; }
.visitor-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent, #764ba2);
  line-height: 1;
}
.visitor-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 3px;
}

/* Watch video modal open state */
#watchVideoModal {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#watchVideoModal.open {
  display: flex;
}

/* Reels modal */
.reels-modal-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 400;
  display: none;
  flex-direction: column;
}
.reels-modal-overlay.open { display: flex; }
.reels-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reels-modal-track {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.reels-modal-info {
  padding: 12px 16px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.reels-modal-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.reels-modal-views {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  margin-top: 2px;
}
.reels-modal-tags {
  color: var(--accent, #764ba2);
  font-size: 0.76rem;
  margin-top: 4px;
}

/* All modals shared open animation */
#allStationsModal, #allArtistsModal, #allWatchArtistsModal,
#artistEpModal, #watchArtistVidModal,
#listenBrowseAllModal, #browseCatsAllModal,
#savedVideosModal {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#allStationsModal.open, #allArtistsModal.open, #allWatchArtistsModal.open,
#artistEpModal.open, #watchArtistVidModal.open,
#listenBrowseAllModal.open, #browseCatsAllModal.open,
#savedVideosModal.open {
  display: flex;
}

/* podcastEpModal */
#podcastEpModal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#podcastEpModal.open { display: flex; }

/* browseCatsAllModal & listenBrowseAllModal scrollable body */
#browseCatsAllList,
#listenBrowseAllList,
#allStationsList,
#allArtistsGrid,
#allWatchArtistsGrid,
#artistEpList,
#watchArtistVidList,
#savedVideosModalBody,
#pepList {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* ── Modal shared layout classes ── */
.pep-scroll-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.pep-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
  min-height: 52px;
  flex-shrink: 0;
}
.pep-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.watchcat-modal-base {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.watchcat-modal-base.open { display: flex; }

/* fy-card grid for related videos */
.for-you-grid, .wvm-related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px 14px 24px;
}
.fy-card {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.15s;
}
.fy-card:active { transform: scale(0.97); }
.fy-thumb {
  aspect-ratio: 16/9;
  background: var(--border2, #f0f0f0);
  overflow: hidden;
}
.fy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fy-info { padding: 6px 8px 8px; }
.fy-title {
  font-size: 0.78rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.fy-channel {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Watch video modal body */
.wvm-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.wvm-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
}
.wvm-back-btn {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  flex-shrink: 0;
}
.wvm-title-text {
  flex: 1;
  font-weight: 700;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.wvm-desc-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.wvm-desc-box { padding: 0 14px 10px; }
.wvm-seo-tags {
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 5px;
}
.wvm-desc-text { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.wvm-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.wvm-actions::-webkit-scrollbar { display: none; }
.wvm-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.wvm-action-btn:active { background: var(--border); }
.wvm-action-btn.active { color: var(--accent); }
.wvm-cat-avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--border2);
}
.wvm-cat-avatar-thumb { width: 100%; height: 100%; }
.wvm-info-sheet-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 310;
}
.wvm-info-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-radius: 18px 18px 0 0;
  padding: 16px 18px 32px;
  z-index: 320;
  transform: translateY(100%);
  transition: transform 0.3s;
  max-height: 60vh;
  overflow-y: auto;
}
.wvm-info-sheet.open { transform: none; }
.wvm-info-sheet-handle {
  width: 36px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 12px;
}
.wvm-info-sheet-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.wvm-info-sheet-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* wcat cover banner */
.wcat-cover-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 180px;
  background: var(--border2);
}
.wcat-cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
