    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { width: 100%; height: 100%; overflow: hidden; }
    body {
      font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
      font-size: 13px; color: #111; background: #fff;
      display: flex; flex-direction: column;
      position: relative; z-index: 10000;
    }

    /* ── Header ── */
    #pl-header {
      height: 54px; display: flex; align-items: center; justify-content: space-between;
      padding: 5px 16px; border-bottom: 1px solid #e5e5e5; margin: 5px; flex-shrink: 0;
    }
    #pl-heading { display: flex; flex-direction: column; line-height: 1; }
    #pl-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
    #pl-powered { margin-top: 4px; display: flex; align-items: center; gap: 6px; }
    #pl-powered span { font-size: 11px; opacity: 0.65; }
    #pl-powered a img { height: 14px; width: auto; opacity: 0.85; display: block; }
    #pl-header-right { display: flex; align-items: center; gap: 12px; }
    #pl-autoplay-wrap { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: 0.9; }
    #pl-autoplay-wrap > span { opacity: 0.75; }
    #pl-autoplay-btn {
      width: 44px; height: 24px; border-radius: 999px !important; border: none;
      cursor: pointer; position: relative; background: #2a2a2a; transition: background 0.2s;
      flex-shrink: 0; padding: 0; margin: 0; min-height: unset !important; min-width: unset !important;
      line-height: 1 !important; letter-spacing: normal !important; text-transform: none !important;
    }
    #pl-autoplay-btn.on { background: var(--ir-color, #0085e6); }
    #pl-autoplay-knob {
      width: 18px; height: 18px; border-radius: 50%; background: #fff;
      position: absolute; top: 3px; left: 3px; transition: left 0.2s;
    }
    #pl-autoplay-btn.on #pl-autoplay-knob { left: 23px; }
    #pl-close {
      background: none !important; border: none !important; font-size: 18px !important;
      cursor: pointer; color: #111; padding: 0 !important; line-height: 1 !important;
      flex-shrink: 0; box-shadow: none !important; min-height: unset !important;
      min-width: unset !important; width: auto !important; height: auto !important;
    }

    /* ── Tabs ── */
    #pl-tabs { display: flex; padding: 0 8px; flex-shrink: 0; border-bottom: 1px solid #e5e5e5; }
    .pl-tab {
      flex: 1 !important; padding: 10px 8px !important; font-size: 12px !important; font-weight: 400;
      border-top: none !important; border-right: none !important; border-left: none !important;
      border-bottom-style: solid !important; border-bottom-width: 2px !important;
      border-image: none !important; border-radius: 0 !important; background: transparent !important;
      color: #111; cursor: pointer !important; margin-bottom: -1px; margin: 0 0 -1px 0 !important;
      font-family: inherit !important; opacity: 0.45; transition: opacity 0.15s;
      text-transform: none !important; letter-spacing: normal !important; line-height: normal !important;
      min-height: unset !important; min-width: unset !important; width: auto !important;
      height: auto !important; -webkit-appearance: none !important; appearance: none !important;
      vertical-align: baseline !important; box-shadow: none !important; outline: none !important;
    }
    .pl-tab.active { opacity: 1; }

    /* ── Current Article (fixed row) ── */
    #pl-current-article-row {
      position: sticky; top: 0; z-index: 100;
      margin: 0; width: 100%; box-sizing: border-box; flex-shrink: 0;
      background: #fff; padding: 0;
    }
    body.ir-dark #pl-current-article-row {
      background: #1a1a1a;
    }

    /* ── Scroll pane ── */
    #pl-pane {
      flex: 1; overflow-y: auto; overflow-x: hidden;
      background: #fff; padding: 0; position: relative;
    }
    #pl-pane::-webkit-scrollbar { display: none; }
    #pl-pane { scrollbar-width: none; -ms-overflow-style: none; }

    /* ── My Playlist empty state ── */
    #pl-empty-my {
      display: none; flex-direction: column; align-items: center;
      justify-content: center; padding: 36px 16px 32px; text-align: center;
      min-height: 240px; margin: 10px 10px; width: auto;
      box-sizing: border-box;
    }
    #pl-empty-add-btn {
      border: none !important; background: transparent !important; padding: 0 !important;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      box-shadow: none !important;
    }
    #pl-empty-add-icon {
      width: 56px; height: 56px; border-radius: 50%; background: var(--ir-color, #0085e6);
      display: flex; align-items: center; justify-content: center; color: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,.1);
    }
    .pl-empty-heading { margin-top: 16px; font-size: 14px; font-weight: 600; line-height: 1.2; }
    .pl-empty-desc { margin-top: 8px; font-size: 12px; opacity: 0.7; max-width: 280px; line-height: 1.5; }
    #pl-empty-explore {
      margin-top: 18px !important; padding: 11px 22px !important; border-radius: 999px !important;
      border: none !important; background: var(--ir-color, #0085e6) !important; color: #fff !important;
      font-weight: 600 !important; font-size: 13px !important; cursor: pointer !important;
      display: inline-flex !important; align-items: center !important; gap: 8px !important;
      box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
      line-height: normal !important; min-height: unset !important; min-width: unset !important;
      width: auto !important; outline: none !important; -webkit-appearance: none !important;
      appearance: none !important;
    }

    /* ── Row ── */
    .pl-row {
      display: flex; gap: 10px; padding: 10px 8px 10px 10px; margin: 10px 10px 0 10px; border-radius: 12px;
      cursor: pointer; align-items: center; border: 1px solid transparent;
      transition: background 0.2s;
    }
    .pl-row:last-child { margin-bottom: 10px; }
    .pl-row:hover { background: rgba(128,128,128,0.08) !important; }

    /* ── Thumbnail ── */
    .pl-thumb {
      position: relative; width: 52px; height: 52px; border-radius: 10px;
      overflow: hidden; background: #d1d5db; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .pl-thumb img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      position: relative; z-index: 1;
    }
    .pl-ph { position: absolute; }
    .play-overlay {
      position: absolute; inset: 0; display: none; align-items: center;
      justify-content: center; background: rgba(0,0,0,0.4); color: white; z-index: 2;
    }
    .pl-row:hover .play-overlay { display: flex !important; }
    .pl-row.active-track .play-overlay { display: flex !important; }

    /* Play/Pause icon */
    .icon-placeholder { position: relative; display: flex; align-items: center; justify-content: center; }
    .play-icon { font-size: 18px; line-height: 1; display: block; }
    .pause-icon { display: none; gap: 4px; align-items: center; justify-content: center; }
    .pause-bar { width: 4px; height: 14px; background: white; border-radius: 2px; }
    .pl-row.active-track .play-icon { display: none; }
    .pl-row.active-track .pause-icon { display: flex; }

    /* ── Track info ── */
    .pl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
    .pl-name {
      font-size: 14px; font-weight: 600; white-space: nowrap; line-height: 1.2;
      overflow: hidden; text-overflow: ellipsis; color: #111;
    }

    /* ── Right controls ── */
    .pl-right { display: flex; align-items: center; flex-shrink: 0; }
    .pl-add {
      width: 32px; height: 32px; display: flex; align-items: center;
      justify-content: center; background: none !important; border: none !important;
      cursor: pointer; padding: 0; flex-shrink: 0; color: #444;
      border-radius: 50%; box-shadow: none !important; outline: none !important;
      -webkit-appearance: none !important; appearance: none !important;
    }
    .pl-add svg { display: block; flex-shrink: 0; fill: none !important; }
    .pl-row.active-track .pl-add { display: none; }

    /* Sound pillars + duration */
    .pl-dur-wrap {
      width: 42px; display: flex; align-items: center; justify-content: center;
      font-size: 12px; opacity: 0.65; flex-shrink: 0;
    }
    .pl-pillars { display: none; }
    .pl-row.active-track .pl-pillars { display: block; }
    .pl-row.active-track .pl-dur { display: none; }
    .sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
    .bar { width: 2px; background: var(--ir-color, #0085e6); animation: bar-grow 0.8s ease-in-out infinite alternate; }
    .bar:nth-child(2) { animation-delay: 0.2s; }
    .bar:nth-child(3) { animation-delay: 0.4s; }
    @keyframes bar-grow { 0% { height: 3px; } 100% { height: 12px; } }

    /* ── Dot menu ── */
    .pl-dot-wrap {
      position: relative; width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .pl-dot-btn {
      background: none !important; border: none !important; cursor: pointer; padding: 0;
      width: 32px; height: 32px; border-radius: 50%; display: flex;
      align-items: center; justify-content: center; color: #4b5563;
      box-shadow: none !important; outline: none !important;
      -webkit-appearance: none !important; appearance: none !important;
    }
    .pl-dot-menu {
      display: none; position: absolute; right: 0; top: 100%; z-index: 9999;
      background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.12); min-width: 150px; overflow: hidden;
    }
    .pl-dot-item {
      display: flex !important; align-items: center !important; gap: 8px !important;
      width: 100% !important; padding: 9px 14px !important;
      border: none !important; background: none !important; cursor: pointer !important;
      font-size: 13px !important; color: #111 !important; text-align: left !important;
      font-family: inherit !important; box-shadow: none !important; outline: none !important;
      border-radius: 0 !important; text-transform: none !important; letter-spacing: normal !important;
      line-height: normal !important; min-height: unset !important; min-width: unset !important;
      height: auto !important; vertical-align: baseline !important;
      -webkit-appearance: none !important; appearance: none !important;
    }
    .pl-dot-item:hover { background: #f5f5f5 !important; }

    /* ── Loader / End ── */
    #pl-loader, #pl-end { padding: 14px; text-align: center; opacity: 0.6; display: none; font-size: 13px; }

    /* SVG fill guard */
    #pl-pane svg { fill: none !important; transition: none !important; }

    /* Dark mode — toggled via body.ir-dark class */
    body.ir-dark { background: #1a1a1a !important; color: #e8e8e8 !important; }
    body.ir-dark #pl-header { border-bottom-color: #333 !important; }
    body.ir-dark #pl-tabs { border-bottom-color: #333 !important; }
    body.ir-dark .pl-tab { color: #e8e8e8 !important; border-bottom-color: transparent !important; }
    body.ir-dark .pl-tab.active { border-bottom-color: currentColor !important; }
    body.ir-dark #pl-pane { background: #1a1a1a !important; }
    body.ir-dark #pl-close { color: #e8e8e8 !important; }
    body.ir-dark #pl-title { color: #e8e8e8 !important; }
    body.ir-dark #pl-powered span { color: #aaa !important; }
    body.ir-dark #pl-powered a img { filter: brightness(0) invert(1) !important; opacity: 1 !important; }
    body.ir-dark #pl-autoplay-wrap { color: #e8e8e8 !important; }
    body.ir-dark #pl-autoplay-wrap > span { color: #aaa !important; }
    /* track rows */
    body.ir-dark .pl-row:hover { background: rgba(255,255,255,0.07) !important; }
    body.ir-dark .pl-name { color: #e8e8e8 !important; }
    body.ir-dark .pl-dur-wrap { color: #aaa !important; }
    /* add (+) button */
    body.ir-dark .pl-add { color: #e8e8e8 !important; }
    body.ir-dark .pl-add svg { stroke: #e8e8e8 !important; }
    body.ir-dark .pl-add svg circle,
    body.ir-dark .pl-add svg path,
    body.ir-dark .pl-add svg line { stroke: #e8e8e8 !important; }
    /* three-dots button */
    body.ir-dark .pl-dot-btn { color: #e8e8e8 !important; }
    body.ir-dark .pl-dot-btn svg { stroke: #e8e8e8 !important; }
    /* dot menu dropdown */
    body.ir-dark .pl-dot-menu { background: #2a2a2a !important; border-color: #3a3a3a !important; }
    body.ir-dark .pl-dot-item { color: #e8e8e8 !important; }
    body.ir-dark .pl-dot-item:hover { background: #333 !important; }
    /* empty state */
    body.ir-dark #pl-empty-my { color: #aaa !important; }
    body.ir-dark .pl-empty-heading { color: #e8e8e8 !important; }
    body.ir-dark .pl-empty-desc { color: #aaa !important; }
    body.ir-dark #pl-loader, body.ir-dark #pl-end { color: #aaa !important; }
