/* Classic neon look (kept as-is; owner decision, 3 November 2026).
   The complete former web/theme-neon.css, every selector scoped with :where(html[data-theme="classic"])
   (zero added specificity), so the classic look renders exactly as before and never affects other themes. */
/* Song titles: Lacquer (SIL OFL 1.1, owner-supplied, Latin subset). See assets/fonts/Lacquer-OFL.txt */
@font-face{font-family:Lacquer;src:url('../../assets/fonts/Lacquer-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
/* Neon grunge theme (owner mockups, 2 November 2026).
   A visual layer only: it loads after style.css and keeps every id, control and
   behaviour from the listening room. Owner art: assets/neon/* (see
   docs/design/neon-v02/README.md). No new fonts are bundled. */

:root:where([data-theme="classic"]){
  --green:#9dff00;--lime:#b6ff1f;--lime-soft:#9dff0033;--ink:#020603;--paper:#f4f6ec;--muted:#aab6a0;
  --glow:0 0 #0000;
  --glow-soft:0 0 #0000;
  --condensed:'Arial Narrow','Roboto Condensed','Helvetica Neue',Arial,sans-serif;
  --crackle:url('../../assets/neon/frame-crackle.webp');
  --drip:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 34' preserveAspectRatio='none'%3E%3Cpath fill='%23a8ff14' d='M6 13C70 6 170 2 296 3l-5 8c-60 2-92 3-111 4v11c0 4-6 4-6 0v-10c-30 1-56 2-73 3v13c0 5-6 5-6 0v-13c-35 1-60 2-88 4z'/%3E%3C/svg%3E");
  --drips:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26'%3E%3Cpath fill='%23a8ff14' d='M0 0h40v2c-3 0-4 2-4 4v12a3 3 0 0 1-6 0V8c0-2-2-3-4-3s-3 1-3 3v3a2.5 2.5 0 0 1-5 0V6c0-2-2-3-4-3H9c-2 0-3 1-3 3v15a3 3 0 0 1-6 0z'/%3E%3C/svg%3E");
  --crown:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M3 19 1 5l7 6 6-9 6 9 7-6-2 14C17 17 10 17 3 19z' fill='none' stroke='%23a8ff14' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 32'%3E%3Cpath d='M2 2v28M6 9v14M10 10v12M14 8v16M18 13v6M22 11v10M26 6v20M30 11v10M34 2v28M38 1v30M42 13v6M46 6v20M50 7v18M54 13v6M58 11v10M62 10v12M66 10v12M70 11v10M74 7v18M78 11v10M82 6v20M86 10v12M90 13v6M94 1v30M98 11v10M102 7v18M106 8v16M110 8v16M114 1v30M118 13v6M122 1v30M126 1v30M130 10v12M134 13v6M138 7v18M142 13v6M146 6v20M150 9v14M154 4v24M158 10v12' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Page: turntable backdrop, green smoke, film grain. */
:where(html[data-theme="classic"]) body{background:#000 url('../../assets/neon/turntable-blur.webp') center top/cover fixed}
:where(html[data-theme="classic"]) .app-shell{background:
  radial-gradient(ellipse 70% 40% at 10% 45%,#4cff0018,transparent 70%),
  radial-gradient(ellipse 60% 35% at 95% 75%,#4cff0012,transparent 70%),
  linear-gradient(#0000 0,#010402e6 34%,#010402 60%),
  url('../../assets/neon/turntable-blur.webp') center top/100% auto no-repeat,#010402}
:where(html[data-theme="classic"]) .app-shell:before{opacity:.06}

/* Hero: the owner's turntable label, cropped to the label at phone width. */
:where(html[data-theme="classic"]) .hero.hero-artwork{aspect-ratio:1280/640;background:#000;overflow:hidden}
:where(html[data-theme="classic"]) .hero-artwork>img{position:absolute;inset:0;top:0;width:100%;height:100%;object-fit:cover;object-position:68% 38%}
:where(html[data-theme="classic"]) .hero.hero-artwork:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#010402 0%,#01040200 28%),linear-gradient(90deg,#0108038a,#0000 45%)}
@media(max-width:600px){:where(html[data-theme="classic"]) .hero.hero-artwork{aspect-ratio:390/330}:where(html[data-theme="classic"]) .hero-artwork>img{object-position:86% 45%}}

/* Header buttons: round neon outlines. */
:where(html[data-theme="classic"]) .header .icon-button{width:46px;min-width:46px;height:46px;border-radius:50%;background:#010402b3;border:2px solid var(--green);color:var(--green);box-shadow:var(--glow-soft),inset 0 0 8px #9dff0026;backdrop-filter:blur(4px)}
:where(html[data-theme="classic"]) .header .icon-button svg{width:22px;height:22px;stroke-width:2}

/* Shared frame: the owner's crackle frame painted as a border image. */
:where(html[data-theme="classic"]) .player-card,:where(html[data-theme="classic"]) .discovery-actions .discovery-action,:where(html[data-theme="classic"]) .player-heading,:where(html[data-theme="classic"]) .neon-frame,:where(html[data-theme="classic"]) .track-sheet .sheet-button:not(.primary),:where(html[data-theme="classic"]) #frequencies-dialog .collection-button,:where(html[data-theme="classic"]) .frequencies-sheet .solid-button:not(.primary),:where(html[data-theme="classic"]) #frequencies-dialog .spotify-playlist-option,:where(html[data-theme="classic"]) .spotify-track-card,:where(html[data-theme="classic"]) .match-choice{
  border:0;border-image:var(--crackle) 70 fill / 26px / 3px stretch;background:transparent;box-shadow:none}

/* Status strip */
:where(html[data-theme="classic"]) .player-heading{margin:-6px 3% 14px;min-height:46px;border-image-width:18px;position:relative;z-index:3}
:where(html[data-theme="classic"]) .player-heading>strong{color:var(--green);}
:where(html[data-theme="classic"]) .status-dot.online{background:var(--green);box-shadow:none}
:where(html[data-theme="classic"]) .station-wordmark{border-color:#9dff0033;color:#d6dccb}
:where(html[data-theme="classic"]) .signal{color:var(--green);}

/* Now playing card */
:where(html[data-theme="classic"]) .player-card{margin:0 3%;padding:20px 20px 16px;border-image-width:34px;border-image-outset:6px;}
:where(html[data-theme="classic"]) .player-card:before{content:'';position:absolute;inset:0;border-radius:18px;pointer-events:none;background:radial-gradient(ellipse at 15% 0%,#9dff0014,transparent 60%);z-index:0}
:where(html[data-theme="classic"]) .player-card>*{position:relative;z-index:1}
:where(html[data-theme="classic"]) .cover-wrap{border:2px solid var(--green);border-radius:12px;box-shadow:var(--glow-soft);background:#06140a}
:where(html[data-theme="classic"]) .track-details .section-label{color:var(--green);font-family:'Lost Hippy Display',Arial,sans-serif;font-weight:400;font-size:clamp(14px,3.9vw,22px);letter-spacing:.5px}
:where(html[data-theme="classic"]) .track-details .section-label>span:before{content:'';display:inline-block;width:18px;height:14px;margin-right:8px;vertical-align:-1px;background:var(--green);mask:var(--wave) 0 50%/60px 100%;-webkit-mask:var(--wave) 0 50%/60px 100%}
:where(html[data-theme="classic"]) .track-details>p{font-family:Arial,Helvetica,sans-serif;color:#fff;text-shadow:0 1px 0 #000}
:where(html[data-theme="classic"]) .track-details h2{font:400 clamp(17px,4.6vw,27px)/1.15 Lacquer,Kaushan,cursive;color:var(--lime);letter-spacing:0}
:where(html[data-theme="classic"]) .track-tags>span{border:1.5px solid #e9f3d8cc;border-radius:999px;color:#f1f5e8;padding:4px 9px;font:600 clamp(8px,2vw,11px) Arial,sans-serif;letter-spacing:.4px;background:#02060399}
:where(html[data-theme="classic"]) .track-tags>span:first-child{border-color:var(--green);color:var(--green)}
:where(html[data-theme="classic"]) .track-tags>span:first-child:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:1px;box-shadow:none}
:where(html[data-theme="classic"]) .favourite{border:2px solid #f3f6ec;border-radius:50%;width:46px;height:46px;min-width:46px;background:#020603b3}
:where(html[data-theme="classic"]) .favourite svg{width:24px;height:24px}
:where(html[data-theme="classic"]) .favourite[aria-pressed=true]{border-color:var(--green);box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .favourite[aria-pressed=true] svg{fill:var(--green)}

/* Waveform progress: solid line up to the playhead, waveform after it. */
:where(html[data-theme="classic"]) .current-progress{height:30px;margin:6px 0 0;background:none;overflow:visible;position:relative;border-radius:0}
:where(html[data-theme="classic"]) .current-progress:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#9dff00 0,#9dff00cc 55%,#9dff0033 100%);mask:var(--wave) 0 50%/auto 100% repeat-x;-webkit-mask:var(--wave) 0 50%/auto 100% repeat-x;opacity:.75}
:where(html[data-theme="classic"]) .current-progress>span{position:relative;top:calc(50% - 2px);height:4px;border-radius:4px;background:var(--lime);box-shadow:none;z-index:1}
:where(html[data-theme="classic"]) .current-progress>span:after{content:'';position:absolute;right:-8px;top:-6px;width:16px;height:16px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 3px #020603}
:where(html[data-theme="classic"]) .current-progress:has(>span[style*="width: 0"]) >span:after,:where(html[data-theme="classic"]) .current-progress:has(>span:not([style])) >span:after{display:none}
:where(html[data-theme="classic"]) .time-row{color:#e8eedd;font:600 12px Arial,sans-serif;margin-top:4px}

/* Transport */
:where(html[data-theme="classic"]) .round-control{border:2px solid #e9f0dc;background:#020603b3;box-shadow:inset 0 0 10px #9dff0012}
:where(html[data-theme="classic"]) .round-control:hover{border-color:var(--green);color:var(--green);box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .tune-button{background:radial-gradient(circle at 50% 40%,#c8ff4a,#8ee600 70%);color:#071300;box-shadow:0 0 0 4px #020603,0 0 0 6px var(--green)}
:where(html[data-theme="classic"]) .tune-button:hover{background:radial-gradient(circle at 50% 40%,#dcff7a,#9dff00 70%)}

/* Discovery actions: chunky framed pills with drips (the heart above saves). */
:where(html[data-theme="classic"]) .discovery-actions{grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #9dff0026;padding-top:16px;margin-top:6px}
:where(html[data-theme="classic"]) #lost-save{display:none}
:where(html[data-theme="classic"]) .discovery-actions .discovery-action{flex-direction:row;justify-content:flex-start;gap:10px;min-height:62px;padding:8px 12px 8px 8px;border-image-width:24px;position:relative;color:#fff;
  font:italic 800 clamp(13px,3.6vw,19px)/1.05 var(--condensed);font-stretch:condensed;text-transform:uppercase;letter-spacing:-.2px;text-shadow:0 1px 0 #000}
:where(html[data-theme="classic"]) .discovery-actions .discovery-action:last-child:after{left:auto;right:16px;transform:scaleX(-1)}
:where(html[data-theme="classic"]) .discovery-actions .discovery-action>span:last-child{text-align:left}
:where(html[data-theme="classic"]) .discovery-actions .action-disc{width:44px;height:44px;flex-shrink:0;border:2px solid var(--green);background:#020603;box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) #playlist-open .action-disc{background:var(--green);color:#071300}
:where(html[data-theme="classic"]) #playlist-open .action-disc b{color:var(--green);background:#071300;border-radius:50%}
:where(html[data-theme="classic"]) #spotify-open>span:last-child:after{content:' ↗';font-style:normal;color:var(--green)}
:where(html[data-theme="classic"]) .discovery-action:hover .action-disc{border-color:var(--lime);box-shadow:var(--glow)}
:where(html[data-theme="classic"]) .playback-status{color:#c4d2b7;margin-top:18px}

/* Recently played */
:where(html[data-theme="classic"]) .recent-heading>span{color:var(--green);}
:where(html[data-theme="classic"]) .recent-heading h2{font-family:'Lost Hippy Display',Arial,sans-serif;font-weight:400;font-size:clamp(20px,5vw,28px);color:#fff}
:where(html[data-theme="classic"]) #history img{border:1.5px solid #9dff0080;border-radius:8px;box-shadow:none}
:where(html[data-theme="classic"]) .text-button{color:var(--green)}

/* Bottom navigation */
:where(html[data-theme="classic"]) .bottom-nav{background:linear-gradient(#020603f0,#010301fa);border-top:1px solid #9dff0040;box-shadow:0 -8px 30px #000}
:where(html[data-theme="classic"]) .bottom-nav>a,:where(html[data-theme="classic"]) .bottom-nav>button{font:700 12px var(--condensed);letter-spacing:.3px;color:#f2f5ea}
:where(html[data-theme="classic"]) .bottom-nav .selected{color:var(--green);}
:where(html[data-theme="classic"]) .bottom-nav .selected svg{}
:where(html[data-theme="classic"]) .bottom-nav .selected:after{background:var(--green);box-shadow:none}
:where(html[data-theme="classic"]) .bottom-nav .peace-play{}

/* Sheets: floating neon panels above the navigation. */
:where(html[data-theme="classic"]) dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}
:where(html[data-theme="classic"]) .track-sheet,:where(html[data-theme="classic"]) #frequencies-dialog,:where(html[data-theme="classic"]) #connection-dialog,:where(html[data-theme="classic"]) #menu-dialog,:where(html[data-theme="classic"]) #sound-dialog,:where(html[data-theme="classic"]) #feature-dialog,:where(html[data-theme="classic"]) #share-dialog{
  border:2px solid var(--lime);border-radius:26px;
  background:radial-gradient(ellipse at 20% 0%,#2d5a0a40,transparent 60%),radial-gradient(ellipse at 90% 100%,#2d5a0a33,transparent 60%),linear-gradient(160deg,#0b1a07f5,#030803fa);
  box-shadow:0 18px 40px #000b}
:where(html[data-theme="classic"]) .track-sheet:before{content:'';display:block;width:56px;height:5px;border-radius:5px;background:#e8ecdf;margin:0 auto 6px}
:where(html[data-theme="classic"]) #frequencies-dialog:before{width:56px;height:5px;background:#e8ecdf}
:where(html[data-theme="classic"]) .dialog-heading .icon-button,:where(html[data-theme="classic"]) .track-sheet-heading .icon-button,:where(html[data-theme="classic"]) #frequencies-close{width:48px;min-width:48px;height:48px;border-radius:50%;border:2px solid #e8ecdf;background:#020603b3;color:#fff;font-size:28px;line-height:1;outline-offset:3px}
:where(html[data-theme="classic"]) .dialog-heading .icon-button:hover,:where(html[data-theme="classic"]) .track-sheet-heading .icon-button:hover,:where(html[data-theme="classic"]) #frequencies-close:hover{border-color:var(--green);color:var(--green)}
:where(html[data-theme="classic"]) dialog .channel{font:600 10px/1.3 var(--condensed);letter-spacing:2.5px;white-space:nowrap;color:#e8ecdf;position:relative}


/* Brush headings with a dripping lime stroke. */
:where(html[data-theme="classic"]) .track-sheet h2,:where(html[data-theme="classic"]) #frequencies-dialog h2,:where(html[data-theme="classic"]) #connection-dialog h2,:where(html[data-theme="classic"]) #menu-dialog h2,:where(html[data-theme="classic"]) #sound-dialog h2,:where(html[data-theme="classic"]) #feature-dialog h2,:where(html[data-theme="classic"]) #share-dialog h2{
  position:relative;display:inline-block;color:#fff;font-family:'Lost Hippy Display','Lost Hippy Safe Display',Arial,sans-serif;font-weight:400;
  font-size:clamp(28px,8vw,40px);line-height:1.15;margin:6px 0 24px;padding-bottom:4px;transform:rotate(-2deg);}

/* Track profile */
:where(html[data-theme="classic"]) .song-summary:not(.compact){grid-template-columns:minmax(110px,38%) 1fr;align-items:center;gap:16px}
:where(html[data-theme="classic"]) .song-summary>img{border:2px solid var(--green);border-radius:14px;box-shadow:var(--glow-soft);max-height:none}
:where(html[data-theme="classic"]) .song-summary .song-copy{display:flex;flex-direction:column}
:where(html[data-theme="classic"]) .song-summary .song-copy p{order:-1;color:#fff;font:700 clamp(15px,4.2vw,21px)/1.2 Arial,sans-serif;margin-bottom:4px;overflow-wrap:anywhere}
:where(html[data-theme="classic"]) .song-summary .song-copy h3{font:400 clamp(20px,6vw,30px)/1.15 Lacquer,Kaushan,cursive;color:var(--lime);}
:where(html[data-theme="classic"]) .song-summary .song-copy small{color:#b9c6ad}

/* Sheet buttons: framed pills; primary is solid lime. */
:where(html[data-theme="classic"]) .track-sheet .sheet-button,:where(html[data-theme="classic"]) #frequencies-dialog .sheet-button,:where(html[data-theme="classic"]) .frequencies-sheet .solid-button,:where(html[data-theme="classic"]) #frequencies-dialog .collection-button{
  min-height:58px;border-radius:999px;color:#fff;font:italic 800 clamp(14px,4vw,18px)/1.1 var(--condensed);font-stretch:condensed;text-transform:uppercase;letter-spacing:0;text-shadow:0 1px 0 #000}
:where(html[data-theme="classic"]) .track-sheet .sheet-button:not(.primary),:where(html[data-theme="classic"]) .frequencies-sheet .solid-button:not(.primary),:where(html[data-theme="classic"]) #frequencies-dialog .collection-button{border-image-width:22px}
:where(html[data-theme="classic"]) .sheet-button.primary,:where(html[data-theme="classic"]) #frequencies-dialog .sheet-button.primary{background:linear-gradient(180deg,#c6ff3d,#8fe800);color:#071300;text-shadow:none;border:0;box-shadow:var(--glow)}
:where(html[data-theme="classic"]) .sheet-button.primary:hover{background:linear-gradient(180deg,#d8ff70,#9dff00)}
:where(html[data-theme="classic"]) #frequencies-dialog .collection-button{text-align:left;padding-inline:20px}
:where(html[data-theme="classic"]) .sheet-text-action{color:var(--green)}
:where(html[data-theme="classic"]) .sheet-radio,:where(html[data-theme="classic"]) #frequencies-dialog .sheet-radio{background:#020603d9;border-top:1px solid #9dff0033;color:#e8ecdf}
:where(html[data-theme="classic"]) .sheet-radio button{border:2px solid var(--green);border-radius:999px;padding:8px 16px;min-height:44px;color:var(--green);font:italic 800 14px var(--condensed);text-transform:uppercase;box-shadow:var(--glow-soft);background:#020603}

/* My Frequencies */
:where(html[data-theme="classic"]) #frequencies-dialog{padding-top:14px}
:where(html[data-theme="classic"]) #frequencies-dialog h2{font-size:clamp(28px,8vw,40px)}
:where(html[data-theme="classic"]) #frequencies-dialog .spotify-playlist-option{border-image-width:20px;min-height:62px;padding:12px 16px}
:where(html[data-theme="classic"]) #frequencies-dialog .spotify-playlist-option.selected{border-image:none;border:2px solid var(--green);border-radius:16px;background:#9dff0014;box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .spotify-track-card{border-image-width:20px;padding:12px 14px}
:where(html[data-theme="classic"]) .spotify-track-card img{border:1.5px solid var(--green)}
:where(html[data-theme="classic"]) .frequencies-sheet input:not([type=checkbox]):not([type=radio]),:where(html[data-theme="classic"]) .frequencies-sheet select,:where(html[data-theme="classic"]) #note-form textarea,:where(html[data-theme="classic"]) #note-form select,:where(html[data-theme="classic"]) #share-url{border:1.5px dashed #9dff0080;border-radius:14px;background:#02060399;color:#fff}
:where(html[data-theme="classic"]) .frequencies-sheet input:focus-visible{border-style:solid;border-color:var(--green);box-shadow:var(--glow-soft)}

:where(html[data-theme="classic"]) .solid-button{background:linear-gradient(180deg,#c6ff3d,#8fe800);color:#071300;border-radius:999px;font:italic 800 15px var(--condensed);text-transform:uppercase;box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .fm-toast{border:2px solid var(--green);border-radius:999px;background:#020603f2;box-shadow:var(--glow)}

/* Phone: sheets float above the navigation like the mockups. */
@media(max-width:480px){
  :where(html[data-theme="classic"]) .track-sheet{width:calc(100% - 20px);margin:auto auto calc(100px + env(safe-area-inset-bottom));border-radius:26px;max-height:calc(100dvh - 130px);padding-bottom:0}
  :where(html[data-theme="classic"]) .track-sheet .sheet-radio{margin-inline:-20px}
}
@media(max-width:600px){:where(html[data-theme="classic"]) #frequencies-dialog{width:calc(100% - 20px);border-radius:26px}}


@media(forced-colors:active){:where(html[data-theme="classic"]) .player-card,:where(html[data-theme="classic"]) .discovery-actions .discovery-action,:where(html[data-theme="classic"]) .player-heading,:where(html[data-theme="classic"]) .sheet-button{border:1px solid CanvasText}}

/* Menu, Explore, Events and Community rows: framed list rows like the mockup's account row. */
:where(html[data-theme="classic"]) dialog .menu-link{display:flex;align-items:center;min-height:56px;margin:0 0 10px;padding:12px 20px;border:0;border-image:var(--crackle) 70 fill / 20px / 2px stretch;
  color:#fff;font:600 16px/1.3 Arial,Helvetica,sans-serif;text-shadow:0 1px 0 #000}
:where(html[data-theme="classic"]) dialog .menu-link:hover,:where(html[data-theme="classic"]) dialog .menu-link:focus-visible{color:var(--green);}
:where(html[data-theme="classic"]) #feature-content{display:grid;gap:0}
:where(html[data-theme="classic"]) dialog dl{border-top:1px solid #9dff0026;padding-top:12px}
:where(html[data-theme="classic"]) dialog dt{color:var(--green);font:italic 800 13px var(--condensed);text-transform:uppercase}
:where(html[data-theme="classic"]) .dialog-link{color:var(--green)}
:where(html[data-theme="classic"]) .hq-note{border-top:1px dashed #9dff0055}
:where(html[data-theme="classic"]) .hq-note h3{color:#fff}

/* Sound */
:where(html[data-theme="classic"]) #volume{accent-color:var(--green)}
:where(html[data-theme="classic"]) #mute{border:2px solid #e8ecdf;border-radius:50%;color:var(--green)}
:where(html[data-theme="classic"]) #volume-value{color:var(--green);font:700 14px Arial,sans-serif}

/* My Frequencies: create row reads as "New frequency" with a dashed outline. */




/* Listening notebook page */
:where(html[data-theme="classic"]) #notebook-view h1{font-family:'Lost Hippy Display',Knewave,cursive;color:#fff;text-shadow:0 2px 0 #000}
:where(html[data-theme="classic"]) #notebook-view h1 span{color:var(--lime);}
:where(html[data-theme="classic"]) #notebook-view .channel{color:var(--green);letter-spacing:3px}
:where(html[data-theme="classic"]) #note-form,:where(html[data-theme="classic"]) #notebook-view .notebook-grid>section{border:0;border-image:var(--crackle) 70 fill / 26px / 4px stretch;padding:22px}
:where(html[data-theme="classic"]) #note-form label{color:#fff;font-weight:600}

/* Floating "Keep this tune" pill */
:where(html[data-theme="classic"]) .persistent-save{border:2px solid var(--green);border-radius:999px;background:#020603f0;color:var(--green);font:italic 800 14px var(--condensed);text-transform:uppercase;box-shadow:var(--glow-soft)}

/* My Playlists page (owner mockup "My Playlists", 2 November 2026). */
:where(html[data-theme="classic"]) #playlists-view{padding:84px 3% 24px;min-height:calc(100vh - 100px)}
:where(html[data-theme="classic"]) .pl-panel{position:relative;border:2px solid var(--lime);border-radius:26px;padding:22px 18px 18px;
  background:radial-gradient(ellipse at 20% 0%,#2d5a0a40,transparent 60%),radial-gradient(ellipse at 90% 100%,#2d5a0a33,transparent 60%),linear-gradient(160deg,#0b1a07f2,#030803f7);
  box-shadow:0 18px 40px #000b}
:where(html[data-theme="classic"]) .pl-heading{position:relative;padding-right:84px;margin-bottom:16px}
:where(html[data-theme="classic"]) #playlists-view h1{margin:0;font:400 clamp(34px,10vw,50px)/1.1 'Lost Hippy Display','Lost Hippy Safe Display',Arial,sans-serif;transform:rotate(-2deg);transform-origin:left;position:relative;display:inline-block;padding-bottom:6px;overflow-wrap:anywhere}
:where(html[data-theme="classic"]) .pl-white{color:#fff;text-shadow:0 2px 0 #000}:where(html[data-theme="classic"]) .pl-lime{color:var(--lime);}
:where(html[data-theme="classic"]) .pl-wave{position:absolute;right:0;top:10px;width:76px;height:40px;background:var(--green);mask:var(--wave) center/auto 100% repeat-x;-webkit-mask:var(--wave) center/auto 100% repeat-x;opacity:.9}
:where(html[data-theme="classic"]) .pl-sub{margin:20px 0 0;color:#e7eddc;font:italic 15px/1.4 Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-tools{display:grid;grid-template-columns:1fr auto;gap:10px;margin:18px 0 12px}
:where(html[data-theme="classic"]) .pl-search{display:flex;align-items:center;gap:8px;min-width:0;min-height:48px;padding:0 14px;border:2px solid #e8ecdf;border-radius:999px;background:#020603b3;color:var(--green)}
:where(html[data-theme="classic"]) .pl-search:focus-within{border-color:var(--green);box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .pl-search svg{width:20px;height:20px;flex-shrink:0;stroke-width:2.2}
:where(html[data-theme="classic"]) .pl-search input{flex:1;min-width:0;border:0;background:none;color:#fff;font:italic 15px Arial,sans-serif;outline:none;padding:12px 0}
:where(html[data-theme="classic"]) .pl-search input::placeholder{color:#c9d2bd}
:where(html[data-theme="classic"]) .pl-create,:where(html[data-theme="classic"]) .pl-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:999px;background:linear-gradient(180deg,#c6ff3d,#8fe800);color:#071300;font:700 15px Arial,sans-serif;box-shadow:var(--glow);white-space:nowrap}
:where(html[data-theme="classic"]) .pl-create:hover,:where(html[data-theme="classic"]) .pl-primary:hover{background:linear-gradient(180deg,#d8ff70,#9dff00)}
:where(html[data-theme="classic"]) .pl-plus{font:400 26px/1 Arial,sans-serif;margin-top:-2px}
:where(html[data-theme="classic"]) .pl-secondary,:where(html[data-theme="classic"]) .pl-danger{min-height:44px;padding:0 18px;border-radius:999px;border:2px solid #e8ecdf;background:#020603;color:#fff;font:700 14px Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-danger{border-color:#ff5a4f;color:#ffb3ad}
:where(html[data-theme="classic"]) .pl-list{list-style:none;margin:0;padding:0}
:where(html[data-theme="classic"]) .pl-row{position:relative;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:6px;padding:10px 6px;border-bottom:1px solid #9dff001f;border-radius:16px;transition:background .15s,box-shadow .15s}
:where(html[data-theme="classic"]) .pl-row:last-child{border-bottom:0}
:where(html[data-theme="classic"]) .pl-row:hover,:where(html[data-theme="classic"]) .pl-row:focus-within{background:linear-gradient(90deg,#9dff0014,#9dff0024);box-shadow:inset 0 0 0 2px var(--green)}
:where(html[data-theme="classic"]) .pl-open{display:flex;align-items:center;gap:14px;min-width:0;padding:0;background:none;text-align:left;color:#fff}
:where(html[data-theme="classic"]) .pl-cover{width:clamp(64px,19vw,84px);height:auto;aspect-ratio:1;flex-shrink:0;object-fit:cover;border-radius:10px;border:2px solid #f1f5e8;box-shadow:0 2px 8px #0009;background:#06140a}
:where(html[data-theme="classic"]) .pl-text{display:grid;gap:6px;min-width:0}
:where(html[data-theme="classic"]) .pl-text strong{font:700 clamp(16px,4.6vw,20px)/1.2 Arial,sans-serif;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:where(html[data-theme="classic"]) .pl-meta{display:flex;align-items:center;gap:8px;margin:0;color:#c6cfba;font:15px/1.3 Arial,sans-serif;overflow-wrap:anywhere}
:where(html[data-theme="classic"]) .pl-meta svg{width:18px;height:18px;flex-shrink:0}
:where(html[data-theme="classic"]) .pl-play{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:2.5px solid var(--green);color:var(--green);background:#020603;box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .pl-play svg{width:22px;height:22px;margin-left:3px}
:where(html[data-theme="classic"]) .pl-play:hover{background:var(--green);color:#071300;box-shadow:var(--glow)}
:where(html[data-theme="classic"]) .pl-play:disabled{opacity:.35}
:where(html[data-theme="classic"]) .pl-play.large{width:auto;height:48px;padding:0 20px 0 14px;border-radius:999px;display:inline-flex;gap:8px;background:linear-gradient(180deg,#c6ff3d,#8fe800);color:#071300;border:0;font:700 15px Arial,sans-serif;box-shadow:var(--glow)}
:where(html[data-theme="classic"]) .pl-play.large svg{margin-left:0}
:where(html[data-theme="classic"]) .pl-more{position:relative}
:where(html[data-theme="classic"]) .pl-more-button{width:36px;height:48px;background:none;color:#fff;font:700 26px/1 Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-more-button:hover,:where(html[data-theme="classic"]) .pl-more-button[aria-expanded=true]{color:var(--green)}
:where(html[data-theme="classic"]) .pl-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:5;min-width:200px;padding:6px;border:2px solid var(--green);border-radius:16px;background:#030803f7;box-shadow:var(--glow-soft),0 12px 30px #000c;display:grid}
:where(html[data-theme="classic"]) .pl-menu button{min-height:44px;padding:0 14px;border-radius:10px;background:none;color:#fff;text-align:left;font:600 15px Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-menu button:hover,:where(html[data-theme="classic"]) .pl-menu button:focus-visible{background:#9dff001f;color:var(--green)}
:where(html[data-theme="classic"]) .pl-menu button.danger{color:#ffb3ad}
:where(html[data-theme="classic"]) .pl-none,:where(html[data-theme="classic"]) .pl-empty p{color:#d5ddc8;font:15px/1.5 Arial,sans-serif;padding:14px 4px}
:where(html[data-theme="classic"]) .pl-empty{display:grid;gap:8px;justify-items:start}
:where(html[data-theme="classic"]) .pl-status{margin:10px 4px 0;min-height:20px;color:var(--green);font:14px/1.4 Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-status:empty{display:none}
:where(html[data-theme="classic"]) .pl-form,:where(html[data-theme="classic"]) .pl-confirm{margin:6px 0 14px;padding:16px;border:1.5px dashed #9dff0080;border-radius:18px;background:#02060399;display:grid;gap:12px}
:where(html[data-theme="classic"]) .pl-form-title{margin:0;color:var(--green);font:italic 800 17px var(--condensed);text-transform:uppercase}
:where(html[data-theme="classic"]) .pl-form label{display:grid;gap:6px;color:#fff;font:600 14px Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-form input[name=name]{min-height:48px;padding:0 14px;border:1.5px solid #e8ecdf99;border-radius:14px;background:#020603;color:#fff;font:16px Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-form input[name=name]:focus{border-color:var(--green);outline:none;box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .pl-cover-picker{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
:where(html[data-theme="classic"]) .pl-cover-picker legend{color:#fff;font:600 14px Arial,sans-serif;margin-bottom:8px}
:where(html[data-theme="classic"]) .pl-cover-option{position:relative;cursor:pointer}
:where(html[data-theme="classic"]) .pl-cover-option input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
:where(html[data-theme="classic"]) .pl-cover-option .pl-cover{width:58px;border-color:#ffffff55;transition:transform .12s}
:where(html[data-theme="classic"]) .pl-cover-option input:checked+.pl-cover{border-color:var(--green);box-shadow:0 0 0 2px var(--green),var(--glow);transform:scale(1.06)}
:where(html[data-theme="classic"]) .pl-cover-option input:focus-visible+.pl-cover{outline:3px solid var(--green);outline-offset:3px}
:where(html[data-theme="classic"]) .pl-form-actions,:where(html[data-theme="classic"]) .pl-confirm{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
:where(html[data-theme="classic"]) .pl-confirm p{flex-basis:100%;margin:0;color:#fff;font:15px/1.5 Arial,sans-serif}
:where(html[data-theme="classic"]) .pl-back{display:grid;place-items:center;width:46px;height:46px;margin-bottom:10px;border-radius:50%;border:2px solid var(--green);background:#020603;color:var(--green);font:400 30px/1 Arial,sans-serif;box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .pl-back span{margin-top:-4px}
:where(html[data-theme="classic"]) .pl-detail-head{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;margin-bottom:16px}
:where(html[data-theme="classic"]) .pl-detail-head>.pl-cover{width:clamp(104px,30vw,150px);border-color:var(--green);box-shadow:var(--glow-soft)}
:where(html[data-theme="classic"]) .pl-detail-copy{display:grid;gap:10px;min-width:0}
:where(html[data-theme="classic"]) .pl-detail-copy h1{font-size:clamp(28px,8vw,40px)!important;color:var(--lime);}
:where(html[data-theme="classic"]) .pl-detail-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
:where(html[data-theme="classic"]) .pl-songs .pl-row{grid-template-columns:1fr auto}
:where(html[data-theme="classic"]) .pl-songs .pl-cover{width:clamp(56px,16vw,68px)}
@media(max-width:380px){:where(html[data-theme="classic"]) .pl-tools{grid-template-columns:1fr}:where(html[data-theme="classic"]) .pl-create{justify-self:start}}
/* Playlist page refinements */
:where(html[data-theme="classic"]) #playlists-view{padding-top:clamp(150px,44vw,230px);background:linear-gradient(#01040200 40%,#010402 100%) 0 0/100% clamp(230px,62vw,330px) no-repeat,url('../underground-vinyl/assets/hero/turntable-1280.webp') 86% 0/auto clamp(230px,62vw,330px) no-repeat}
@media(min-width:600px){:where(html[data-theme="classic"]) #playlists-view{background-position:0 0,center 0;background-size:100% 330px,cover}}
:where(html[data-theme="classic"]) body:has(#playlists-view:not([hidden])) .persistent-save{display:none}
:where(html[data-theme="classic"]) .pl-tools{grid-template-columns:minmax(0,1fr) auto}
:where(html[data-theme="classic"]) .pl-create{padding:0 14px;font-size:14px;gap:6px}
:where(html[data-theme="classic"]) .pl-search input{font-size:14px}
:where(html[data-theme="classic"]) .pl-detail-actions{flex-wrap:nowrap}
:where(html[data-theme="classic"]) .pl-play.large{padding:0 16px 0 12px;font-size:14px}
:where(html[data-theme="classic"]) .pl-detail-copy h1{margin-bottom:8px!important}
:where(html[data-theme="classic"]) .pl-play.large span{white-space:nowrap}

/* Owner feedback (2 Nov): no brush headings, drips, crowns or glow. Clean bold headings. */
:root:where([data-theme="classic"]){--heading:800 1em/1.15 var(--condensed)}
:where(html[data-theme="classic"]) #hero-title,:where(html[data-theme="classic"]) #history-heading,:where(html[data-theme="classic"]) #notebook-title,:where(html[data-theme="classic"]) dialog h2,:where(html[data-theme="classic"]) dialog h3,:where(html[data-theme="classic"]) .frequencies-sheet h2,:where(html[data-theme="classic"]) #frequencies-dialog h2,:where(html[data-theme="classic"]) #frequencies-dialog h3,:where(html[data-theme="classic"]) #notebook-view h1,:where(html[data-theme="classic"]) #notebook-view .section-label h2,:where(html[data-theme="classic"]) .track-details .section-label,:where(html[data-theme="classic"]) .track-details .section-label>span,:where(html[data-theme="classic"]) #broadcast-label,:where(html[data-theme="classic"]) .recent-heading h2,:where(html[data-theme="classic"]) #playlists-view h1{
  font-family:var(--condensed)!important;font-weight:800!important;font-style:normal;font-synthesis:weight;text-transform:uppercase;letter-spacing:.3px;transform:none!important;text-shadow:none}
:where(html[data-theme="classic"]) .track-sheet h2,:where(html[data-theme="classic"]) #frequencies-dialog h2,:where(html[data-theme="classic"]) #connection-dialog h2,:where(html[data-theme="classic"]) #menu-dialog h2,:where(html[data-theme="classic"]) #sound-dialog h2,:where(html[data-theme="classic"]) #feature-dialog h2,:where(html[data-theme="classic"]) #share-dialog h2{font-size:clamp(24px,6.6vw,30px);margin:4px 0 16px;padding-bottom:0;display:block}
:where(html[data-theme="classic"]) #playlists-view h1{font-size:clamp(30px,8.6vw,42px);line-height:1.05;padding-bottom:0}
:where(html[data-theme="classic"]) .pl-detail-copy h1{font-size:clamp(24px,6.6vw,32px)!important}
:where(html[data-theme="classic"]) .recent-heading h2{font-size:clamp(17px,4.4vw,22px)}
:where(html[data-theme="classic"]) .track-details .section-label{font-size:clamp(12px,3.2vw,15px);letter-spacing:1.5px}
:where(html[data-theme="classic"]) #broadcast-label{letter-spacing:1px}

/* Main page fits one screen: the banner flexes to whatever space is left. */
:root:where([data-theme="classic"]){--navh:calc(84px + env(safe-area-inset-bottom,0px))}
:where(html[data-theme="classic"]) .bottom-nav{height:var(--navh);min-height:0;box-sizing:border-box;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}
:where(html[data-theme="classic"]) .app-shell{padding-bottom:var(--navh)}
@media(min-width:700px){:where(html[data-theme="classic"]) body{padding-top:0;padding-bottom:0}}
:where(html[data-theme="classic"]) #listen-view:not([hidden]){display:flex;flex-direction:column;height:calc(100dvh - var(--navh));overflow:hidden;padding-bottom:20px}
:where(html[data-theme="classic"]) #listen-view>*{flex:none}
:where(html[data-theme="classic"]) #listen-view .hero.hero-artwork{flex:1 1 0;min-height:72px;max-height:340px;height:auto;aspect-ratio:auto}
:where(html[data-theme="classic"]) #listen-view .hero-artwork>img{object-position:86% 46%}
:where(html[data-theme="classic"]) #listen-view .player-heading{margin:-4px 3% 8px;min-height:40px;padding-block:6px}
:where(html[data-theme="classic"]) #listen-view .player-card{padding:14px 16px 12px}
:where(html[data-theme="classic"]) #listen-view .now-layout{display:grid;grid-template-columns:clamp(78px,22vw,112px) minmax(0,1fr);grid-template-rows:auto auto auto auto;column-gap:14px;row-gap:3px;align-items:start}
:where(html[data-theme="classic"]) #listen-view .cover-wrap{grid-column:1;grid-row:1/5;width:100%;align-self:start}
:where(html[data-theme="classic"]) #listen-view .track-details .section-label{grid-column:2;grid-row:1;margin:0;min-height:0;align-self:start}
:where(html[data-theme="classic"]) #listen-view .track-details>p{grid-column:2;grid-row:2;margin:0 48px 0 0;align-self:start;font-size:clamp(14px,3.9vw,18px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(html[data-theme="classic"]) #listen-view .track-details h2{grid-column:2;grid-row:3;margin:0 48px 0 0;min-height:0;font-size:clamp(17px,4.8vw,24px);-webkit-line-clamp:1;line-clamp:1}
:where(html[data-theme="classic"]) #listen-view .track-tags{grid-column:2;grid-row:4;margin:4px 0 0;align-self:end}
:where(html[data-theme="classic"]) #listen-view .current-progress{grid-column:1/-1;grid-row:5;height:22px;margin:8px 0 0}
:where(html[data-theme="classic"]) #listen-view .time-row{grid-column:1/-1;grid-row:6;margin-top:2px;font-size:11px}
:where(html[data-theme="classic"]) #listen-view .favourite{top:22px;right:-4px;width:42px;height:42px;min-width:42px}
:where(html[data-theme="classic"]) #listen-view .more-button{margin-block:-14px}
:where(html[data-theme="classic"]) #listen-view .main-controls{padding:4px 0 6px}
:where(html[data-theme="classic"]) #listen-view .round-control{width:44px;height:44px}
:where(html[data-theme="classic"]) #listen-view .tune-button{width:clamp(56px,15vw,72px);height:clamp(56px,15vw,72px)}
:where(html[data-theme="classic"]) #listen-view .tune-button>svg{width:28px;height:28px}
:where(html[data-theme="classic"]) #listen-view .discovery-actions{padding-top:10px;margin-top:2px;gap:10px}
:where(html[data-theme="classic"]) #listen-view .discovery-actions .discovery-action{min-height:50px;padding-block:4px}
:where(html[data-theme="classic"]) #listen-view .discovery-actions .action-disc{width:38px;height:38px}
:where(html[data-theme="classic"]) #listen-view .playback-status{margin:6px 0 0;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(html[data-theme="classic"]) #listen-view .recent-section{padding:8px 3% 0}
:where(html[data-theme="classic"]) #listen-view .recent-section>.section-label{min-height:32px}
:where(html[data-theme="classic"]) #listen-view .recent-heading>span{font-size:22px}
:where(html[data-theme="classic"]) #listen-view .recent-heading p{display:none}
:where(html[data-theme="classic"]) #listen-view #history{display:flex;flex-wrap:nowrap;overflow:hidden;gap:10px;padding-top:6px}
:where(html[data-theme="classic"]) #listen-view #history li{flex:0 0 calc((100% - 30px)/4);width:calc((100% - 30px)/4);min-width:0}
:where(html[data-theme="classic"]) #listen-view #history img{max-height:clamp(56px,16vw,84px);width:auto;max-width:100%;aspect-ratio:1;display:block}
:where(html[data-theme="classic"]) #listen-view #history strong,:where(html[data-theme="classic"]) #listen-view #history small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* "See all" opens the full history, which may scroll. */
:where(html[data-theme="classic"]) #listen-view:has(#history-expand[aria-expanded=true]){height:auto;overflow:visible}
:where(html[data-theme="classic"]) #listen-view:has(#history-expand[aria-expanded=true]) #history{flex-wrap:wrap;overflow:visible}
/* Short screens: drop secondary lines so the player and recent row still fit. */
@media(max-height:760px){
  :where(html[data-theme="classic"]) #listen-view #history li>small,:where(html[data-theme="classic"]) #listen-view .playback-status{display:none}
  :where(html[data-theme="classic"]) #listen-view .hero.hero-artwork{min-height:48px}
  :where(html[data-theme="classic"]) #listen-view .player-heading{margin-bottom:6px;min-height:36px}
  :where(html[data-theme="classic"]) #listen-view .player-card{padding:10px 14px 10px}
  :where(html[data-theme="classic"]) #listen-view .current-progress{margin-top:4px;height:18px}
  :where(html[data-theme="classic"]) #listen-view .main-controls{padding:2px 0 4px}
  :where(html[data-theme="classic"]) #listen-view .discovery-actions{padding-top:8px}
  :where(html[data-theme="classic"]) #listen-view .discovery-actions .discovery-action{min-height:46px}
  :where(html[data-theme="classic"]) #listen-view #history img{max-height:52px}
  :where(html[data-theme="classic"]) #listen-view .recent-section{padding-top:4px}
  :where(html[data-theme="classic"]) #listen-view .recent-section>.section-label{min-height:28px}
}
@media(max-height:660px){:where(html[data-theme="classic"]) #listen-view .player-heading{display:none}:where(html[data-theme="classic"]) #listen-view .time-row{display:none}}
:where(html[data-theme="classic"]) .song-summary .song-copy h3{font-family:Lacquer,Kaushan,cursive!important;font-weight:400!important;text-transform:none;letter-spacing:0}

/* Record-sleeve playlists (owner choice, 2 November 2026). */
:where(html[data-theme="classic"]) #playlist-list,:where(html[data-theme="classic"]) #spotify-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;padding-top:6px}
@media(min-width:560px){:where(html[data-theme="classic"]) #playlist-list,:where(html[data-theme="classic"]) #spotify-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
:where(html[data-theme="classic"]) #playlist-list>.pl-none,:where(html[data-theme="classic"]) #spotify-list>.pl-none{grid-column:1/-1}
:where(html[data-theme="classic"]) .pl-card{display:block;padding:0;border:0;border-radius:0;background:none}
:where(html[data-theme="classic"]) .pl-card:hover,:where(html[data-theme="classic"]) .pl-card:focus-within{background:none;box-shadow:none}
:where(html[data-theme="classic"]) .pl-card .pl-open{display:grid;gap:10px;width:100%;color:#fff}
:where(html[data-theme="classic"]) .pl-sleeve{position:relative;display:block;width:100%;aspect-ratio:100/80;isolation:isolate}
:where(html[data-theme="classic"]) .pl-sleeve>.pl-cover{position:absolute;left:0;top:0;width:80%;height:100%;aspect-ratio:auto;border-radius:4px;border:0;z-index:2;
  box-shadow:0 1px 0 #ffffff1f inset,6px 8px 18px #000c,1px 0 0 #000}
:where(html[data-theme="classic"]) .pl-sleeve:after{content:'';position:absolute;left:0;top:0;width:80%;height:100%;z-index:3;border-radius:4px;pointer-events:none;
  background:linear-gradient(115deg,#ffffff1c 0,#fff0 38%),linear-gradient(90deg,#0000 92%,#0006 100%)}
:where(html[data-theme="classic"]) .pl-record{position:absolute;top:2%;left:24%;width:76%;height:96%;border-radius:50%;z-index:1;
  background:conic-gradient(from 30deg,#ffffff00 0 10%,#ffffff14 14%,#ffffff00 20% 55%,#ffffff12 60%,#ffffff00 66%),
    repeating-radial-gradient(circle,#0b0b0b 0 1.2px,#191919 1.6px 2.6px),#0d0d0d;
  box-shadow:4px 6px 14px #000b;transition:left .35s ease,transform .6s ease}
:where(html[data-theme="classic"]) .pl-label{position:absolute;inset:32%;width:36%;height:36%;border-radius:50%;object-fit:cover;border:2px solid #0d0d0d}
:where(html[data-theme="classic"]) .pl-record:after{content:'';position:absolute;left:50%;top:50%;width:6%;height:6%;margin:-3% 0 0 -3%;border-radius:50%;background:#050505;box-shadow:0 0 0 1px #ffffff33}
@media(prefers-reduced-motion:no-preference){
  :where(html[data-theme="classic"]) .pl-card .pl-open:hover .pl-record,:where(html[data-theme="classic"]) .pl-card .pl-open:focus-visible .pl-record{left:34%;transform:rotate(40deg)}
}
:where(html[data-theme="classic"]) .pl-card .pl-text{gap:3px;padding-right:4px}
:where(html[data-theme="classic"]) .pl-card .pl-text strong{font:800 clamp(15px,4.2vw,18px)/1.2 var(--condensed);text-transform:uppercase;letter-spacing:.2px;-webkit-line-clamp:1}
:where(html[data-theme="classic"]) .pl-card .pl-meta{font-size:13px;color:#b9c3ad}
:where(html[data-theme="classic"]) .pl-card .pl-meta svg{width:15px;height:15px}
:where(html[data-theme="classic"]) .pl-card{position:relative;container-type:inline-size}
:where(html[data-theme="classic"]) .pl-card>.pl-play{position:absolute;z-index:4;top:calc(80cqw - 52px);left:8px;width:44px;height:44px;background:#000c;backdrop-filter:blur(4px)}
:where(html[data-theme="classic"]) .pl-card>.pl-more{position:absolute;top:6px;right:calc(20% + 4px);z-index:4}
:where(html[data-theme="classic"]) .pl-card>.pl-more .pl-more-button{width:34px;height:34px;border-radius:50%;background:#000a;font-size:20px;backdrop-filter:blur(4px)}
:where(html[data-theme="classic"]) .pl-card>.pl-more .pl-menu{right:0}
/* Inside a playlist: big sleeve with the record half out, then a numbered tracklist. */
:where(html[data-theme="classic"]) .pl-detail-head{grid-template-columns:1fr;justify-items:start;gap:18px}
:where(html[data-theme="classic"]) .pl-detail-head>.pl-sleeve{width:min(86%,340px);aspect-ratio:100/68}
:where(html[data-theme="classic"]) .pl-detail-head>.pl-sleeve>.pl-cover{width:68%;border:0}
:where(html[data-theme="classic"]) .pl-detail-head>.pl-sleeve:after{width:68%}
:where(html[data-theme="classic"]) .pl-detail-head>.pl-sleeve>.pl-record{left:34%;width:64%;height:94%;top:3%}
@media(prefers-reduced-motion:no-preference){:where(html[data-theme="classic"]) .pl-detail-head>.pl-sleeve>.pl-record{animation:pl-slide-out .7s ease-out both}}
@keyframes pl-slide-out{from{left:4%;transform:rotate(-60deg)}to{left:34%;transform:rotate(0)}}
:where(html[data-theme="classic"]) .pl-detail-copy h1{color:#fff!important}
:where(html[data-theme="classic"]) .pl-songs .pl-row{grid-template-columns:1fr auto;padding:8px 2px;border-radius:10px}
:where(html[data-theme="classic"]) .pl-songs .pl-row:hover,:where(html[data-theme="classic"]) .pl-songs .pl-row:focus-within{box-shadow:none;background:#ffffff0d}
:where(html[data-theme="classic"]) .pl-songs .pl-open{gap:12px}
:where(html[data-theme="classic"]) .pl-track-no{width:24px;flex-shrink:0;text-align:right;color:var(--green);font:700 13px/1 ui-monospace,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
:where(html[data-theme="classic"]) .pl-songs .pl-cover{width:48px;border-radius:4px;border:0}
:where(html[data-theme="classic"]) .pl-songs .pl-text strong{font-size:16px;-webkit-line-clamp:1}
:where(html[data-theme="classic"]) .pl-songs .pl-meta{font-size:13px}
/* Calmer panel for the playlist pages: no crackle, a soft lime edge. */
:where(html[data-theme="classic"]) .pl-panel{border:1px solid #9dff0059;background:linear-gradient(180deg,#0a1407ee,#030803f5)}
:where(html[data-theme="classic"]) .pl-card:has(.pl-menu:not([hidden])){z-index:20}
:where(html[data-theme="classic"]) .pl-card .pl-text strong{-webkit-line-clamp:2;line-clamp:2}

/* Song profile + player buttons (owner mockup "This tune", 2 November 2026). */
:root:where([data-theme="classic"]){
  --i-radio:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3Cpath d='M8.5 13.5a5 5 0 0 1 0-7M15.5 6.5a5 5 0 0 1 0 7M5.6 16.4a9 9 0 0 1 0-12.8M18.4 3.6a9 9 0 0 1 0 12.8M12 12.5 9 21h6l-3-8.5'/%3E%3C/svg%3E");
  --i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E");
  --i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E");
  --i-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v9M7.5 12h9'/%3E%3C/svg%3E");
}
/* Two pills: Spotify is solid lime with a black logo; Add to Playlist is outlined lime with a plus. */
:where(html[data-theme="classic"]) .sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 6px;padding:16px 0;border-block:1px solid #ffffff1f}
:where(html[data-theme="classic"]) .sheet-actions>:only-child{grid-column:1/-1}
:where(html[data-theme="classic"]) .track-sheet .sheet-actions .sheet-button,:where(html[data-theme="classic"]) .track-sheet .sheet-button.add-playlist{margin:0;min-height:52px;border-radius:999px;border-image:none;padding:0 14px;gap:10px;
  font:700 clamp(14px,3.9vw,17px)/1.1 Arial,Helvetica,sans-serif;text-transform:none;font-style:normal;letter-spacing:0;text-shadow:none}
:where(html[data-theme="classic"]) .track-sheet .sheet-button.spotify-exact{background:linear-gradient(180deg,#c6ff3d,#94ec00);border:0;color:#061000}
:where(html[data-theme="classic"]) .track-sheet .sheet-button.spotify-exact img{width:30px;filter:brightness(0)}
:where(html[data-theme="classic"]) .track-sheet .sheet-button.add-playlist,:where(html[data-theme="classic"]) .sheet-button.add-playlist{background:#020603b3;border:2px solid var(--green);color:#fff}
:where(html[data-theme="classic"]) .sheet-button.add-playlist:before{content:'';width:26px;height:26px;flex-shrink:0;background:var(--green);mask:var(--i-plus) center/contain no-repeat;-webkit-mask:var(--i-plus) center/contain no-repeat}
:where(html[data-theme="classic"]) .track-sheet .sheet-button.spotify-exact:hover{background:linear-gradient(180deg,#d8ff70,#9dff00)}
:where(html[data-theme="classic"]) .track-sheet .sheet-button.add-playlist:hover{background:#9dff0014}
:where(html[data-theme="classic"]) .track-sheet .sheet-button:not(.spotify-exact):not(.add-playlist){border-image:none;border:2px solid #ffffff40;border-radius:999px;background:#020603b3;font:700 15px Arial,sans-serif;text-transform:none;font-style:normal}

/* Heading: wave mark, white bold italic, short lime underline. No crown, no circle on close. */
:where(html[data-theme="classic"]) .track-sheet .channel{display:none}
:where(html[data-theme="classic"]) .track-sheet h2#track-sheet-title{display:flex;align-items:center;gap:12px;margin:2px 0 22px;font:italic 800 clamp(24px,6.6vw,30px)/1.1 var(--condensed)!important;color:#fff;position:relative}
:where(html[data-theme="classic"]) .track-sheet h2#track-sheet-title:before{content:'';width:28px;height:28px;flex-shrink:0;background:var(--green);mask:var(--wave) 0 50%/56px 100%;-webkit-mask:var(--wave) 0 50%/56px 100%}
:where(html[data-theme="classic"]) .track-sheet h2#track-sheet-title:after{content:'';position:absolute;left:40px;bottom:-9px;width:min(160px,45%);height:3px;border-radius:3px;background:var(--green);z-index:0}
:where(html[data-theme="classic"]) .track-sheet-heading{position:absolute;right:16px;top:22px;z-index:2}
:where(html[data-theme="classic"]) .track-sheet-heading .icon-button{border:0!important;background:none!important;font-size:36px!important;font-weight:300}
:where(html[data-theme="classic"]) .track-sheet{position:fixed}

/* Song summary: framed cover left, artist / script title / album right. */
:where(html[data-theme="classic"]) .track-sheet .song-summary:not(.compact){grid-template-columns:clamp(110px,36%,170px) 1fr;gap:18px;align-items:start}
:where(html[data-theme="classic"]) .track-sheet .song-summary>img{border:2px solid var(--green);border-radius:10px}
:where(html[data-theme="classic"]) .track-sheet .song-copy p{font-size:clamp(16px,4.6vw,20px);margin:0 0 6px}
:where(html[data-theme="classic"]) .track-sheet .song-copy h3{font-size:clamp(22px,6.4vw,32px)!important;line-height:1.15;margin:0 0 8px}
:where(html[data-theme="classic"]) .track-sheet .song-copy small{font:15px/1.4 Arial,sans-serif;color:#c3ccb8}

/* Info lines with icons */
:where(html[data-theme="classic"]) .track-sheet .song-provenance,:where(html[data-theme="classic"]) .track-sheet .recording-label{display:flex;align-items:center;gap:12px;margin:10px 0!important;color:#d3dbc7!important;font:14px/1.4 Arial,sans-serif!important}
:where(html[data-theme="classic"]) .track-sheet .song-provenance:before,:where(html[data-theme="classic"]) .track-sheet .recording-label:before{content:'';width:22px;height:22px;flex-shrink:0;background:var(--green);mask:var(--i-radio) center/contain no-repeat;-webkit-mask:var(--i-radio) center/contain no-repeat}
:where(html[data-theme="classic"]) .track-sheet .recording-label:before{mask-image:var(--i-check);-webkit-mask-image:var(--i-check)}
:where(html[data-theme="classic"]) .track-sheet .sheet-text-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font:italic 15px Arial,sans-serif;color:var(--green);text-decoration:underline;text-underline-offset:3px}
:where(html[data-theme="classic"]) .track-sheet .wrong-recording:before{content:'';width:22px;height:22px;flex-shrink:0;background:#d3dbc7;mask:var(--i-info) center/contain no-repeat;-webkit-mask:var(--i-info) center/contain no-repeat}
:where(html[data-theme="classic"]) .track-sheet .spotify-playlist-action{font-style:normal;text-decoration:none;color:#d3dbc7;font-size:14px}
:where(html[data-theme="classic"]) .track-sheet .spotify-playlist-action:hover{color:var(--green)}
:where(html[data-theme="classic"]) .track-sheet .song-disclaimer{text-align:center}

/* Main player: the same two pills. */
:where(html[data-theme="classic"]) #listen-view .discovery-actions{border-top:0}
:where(html[data-theme="classic"]) .discovery-actions .discovery-action{border-image:none!important;border-radius:999px;min-height:52px;padding:6px 14px 6px 8px;justify-content:center;
  font:700 clamp(13px,3.7vw,17px)/1.1 Arial,Helvetica,sans-serif!important;font-style:normal;text-transform:none;letter-spacing:0;text-shadow:none}
:where(html[data-theme="classic"]) #spotify-open.discovery-action{background:linear-gradient(180deg,#c6ff3d,#94ec00);color:#061000;border:0}
:where(html[data-theme="classic"]) #spotify-open .action-disc{background:none;border:0;width:34px;height:34px}
:where(html[data-theme="classic"]) #spotify-open .action-disc img{width:30px;filter:brightness(0)}
:where(html[data-theme="classic"]) #spotify-open>span:last-child:after{content:''}
:where(html[data-theme="classic"]) #spotify-open[aria-disabled=true]{opacity:.55}
:where(html[data-theme="classic"]) #playlist-open.discovery-action{background:#020603b3;border:2px solid var(--green);color:#fff}
:where(html[data-theme="classic"]) #playlist-open .action-disc.add-disc{width:30px;height:30px;border:0;background:var(--green);color:transparent;mask:var(--i-plus) center/contain no-repeat;-webkit-mask:var(--i-plus) center/contain no-repeat}
:where(html[data-theme="classic"]) #playlist-open:hover{background:#9dff0014}
:where(html[data-theme="classic"]) .discovery-actions .discovery-action,:where(html[data-theme="classic"]) .sheet-actions .sheet-button{white-space:nowrap;gap:8px}
:where(html[data-theme="classic"]) .discovery-actions .discovery-action{padding:6px 10px 6px 8px;font-size:clamp(12px,3.5vw,16px)!important}
:where(html[data-theme="classic"]) #spotify-open .action-disc{width:28px;height:28px}:where(html[data-theme="classic"]) #spotify-open .action-disc img{width:26px}
:where(html[data-theme="classic"]) #playlist-open .action-disc.add-disc{width:26px;height:26px}
:where(html[data-theme="classic"]) .sheet-actions .sheet-button{padding:0 10px;font-size:clamp(13px,3.6vw,17px)!important}
:where(html[data-theme="classic"]) .sheet-button.add-playlist:before{width:22px;height:22px}
:where(html[data-theme="classic"]) .track-sheet .sheet-button.spotify-exact img{width:26px}
:where(html[data-theme="classic"]) .sheet-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
:where(html[data-theme="classic"]) .sheet-actions .sheet-button{min-width:0;overflow:hidden;font-size:clamp(12px,3.5vw,16px)!important;padding:0 8px}
:where(html[data-theme="classic"]) .track-sheet .sheet-radio{align-items:center;padding-block:10px}
:where(html[data-theme="classic"]) .track-sheet .sheet-radio button{min-height:40px;padding:6px 16px;font-size:13px}
:where(html[data-theme="classic"]) .track-sheet .sheet-radio{padding-bottom:16px;margin-bottom:0}

/* Create-a-playlist form in My Frequencies (scoped so it never decorates other forms). */
:where(html[data-theme="classic"]) .frequencies-sheet form:not(.save-choices){border:1.5px dashed #9dff0080;border-radius:18px;padding:14px 16px;margin-top:14px}
:where(html[data-theme="classic"]) .frequencies-sheet form:not(.save-choices)>label{color:var(--green);font:italic 800 15px var(--condensed);text-transform:uppercase}

/* Add to playlist picker, modelled on Spotify's (owner request, 2 November 2026). */
:where(html[data-theme="classic"]) #frequencies-dialog[open]:has(.save-choices),:where(html[data-theme="classic"]) #frequencies-dialog[open]:has(.save-new){max-height:calc(100dvh - 120px)}
:where(html[data-theme="classic"]) .save-song{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:0 0 14px;border-radius:14px;background:#ffffff0d}
:where(html[data-theme="classic"]) .save-song img{width:52px;height:52px;border-radius:6px;object-fit:cover;flex-shrink:0;background:#06140a}
:where(html[data-theme="classic"]) .save-song p{margin:0!important;color:#fff;font:600 15px/1.35 Arial,sans-serif!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:where(html[data-theme="classic"]) .save-new{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:6px 4px;background:none;border:0;color:#fff;font:700 16px Arial,sans-serif;text-align:left;border-radius:10px}
:where(html[data-theme="classic"]) .save-new:hover{background:#ffffff0d}
:where(html[data-theme="classic"]) .save-new-tile{display:grid;place-items:center;width:52px;height:52px;border-radius:6px;background:#ffffff14;color:var(--green);font:300 34px/1 Arial,sans-serif}
:where(html[data-theme="classic"]) .frequencies-sheet form.save-new-form{border:0;padding:4px 0 12px;margin:0;display:flex;gap:10px;align-items:end;flex-wrap:wrap}
:where(html[data-theme="classic"]) .frequencies-sheet form.save-new-form>label{flex:1 1 200px;color:#c9d2bd;font:600 13px Arial,sans-serif;text-transform:none;display:grid;gap:6px}
:where(html[data-theme="classic"]) .frequencies-sheet form.save-new-form input{border:1.5px solid #ffffff40!important;border-style:solid!important;border-radius:10px!important;margin:0!important}
:where(html[data-theme="classic"]) .frequencies-sheet form.save-new-form .solid-button{min-height:46px;margin:0}
:where(html[data-theme="classic"]) .save-choices{border:0;padding:0;margin:4px 0 0;display:grid;gap:0}
:where(html[data-theme="classic"]) .save-search{min-height:42px;margin:4px 0 10px!important;padding:0 14px!important;border-radius:8px!important;border:0!important;background:#ffffff14!important;color:#fff;font:14px Arial,sans-serif}
:where(html[data-theme="classic"]) .save-list{display:grid}
:where(html[data-theme="classic"]) .playlist-choice{position:relative;display:grid!important;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;min-height:64px;padding:6px 4px;margin:0!important;border-radius:10px;cursor:pointer;color:#fff;font:inherit!important;text-transform:none!important}
:where(html[data-theme="classic"]) .playlist-choice:hover{background:#ffffff0d}
:where(html[data-theme="classic"]) .playlist-choice img{width:52px;height:52px;border-radius:6px;object-fit:cover;background:#06140a}
:where(html[data-theme="classic"]) .choice-text{display:grid;gap:3px;min-width:0}
:where(html[data-theme="classic"]) .choice-text strong{font:700 16px/1.25 Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(html[data-theme="classic"]) .choice-text small{font:13px Arial,sans-serif;color:#aab6a0}
:where(html[data-theme="classic"]) .playlist-choice input{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin:0 6px 0 0!important;min-height:0!important;padding:0!important;border:2px solid #c9d2bd!important;border-radius:50%!important;background:none!important;display:grid;place-items:center;cursor:pointer}
:where(html[data-theme="classic"]) .playlist-choice input:checked{border-color:var(--green)!important;background:var(--green)!important}
:where(html[data-theme="classic"]) .playlist-choice input:checked:after{content:'';width:12px;height:7px;border:solid #061000;border-width:0 0 2.5px 2.5px;transform:translateY(-2px) rotate(-45deg)}
:where(html[data-theme="classic"]) .playlist-choice input:focus-visible{outline:3px solid var(--green);outline-offset:3px}
:where(html[data-theme="classic"]) .save-bar{position:sticky;bottom:0;display:flex;justify-content:center;padding:14px 0 6px;background:linear-gradient(#07110b00,#07110b 35%)}
:where(html[data-theme="classic"]) .save-done{min-width:150px;min-height:48px;padding:0 28px;border-radius:999px;border:0;background:var(--green);color:#061000;font:700 16px Arial,sans-serif}
:where(html[data-theme="classic"]) .save-done:disabled{background:#ffffff26;color:#ffffff80;opacity:1}
:where(html[data-theme="classic"]) .save-bar{background:none}
:where(html[data-theme="classic"]) .save-done{box-shadow:0 6px 18px #000c}
:where(html[data-theme="classic"]) .frequencies-sheet form.save-new-form .solid-button{border:0;border-image:none;background:var(--green);color:#061000;border-radius:999px;padding:0 22px;font:700 15px Arial,sans-serif;font-style:normal;text-transform:none;text-shadow:none}

/* Every popup matches the song profile (owner feedback, 2 November 2026). */
:where(html[data-theme="classic"]) dialog .channel{display:none}
:where(html[data-theme="classic"]) dialog .dialog-heading{position:absolute;top:18px;right:14px;z-index:3}
:where(html[data-theme="classic"]) #frequencies-dialog .dialog-heading{position:absolute;top:24px;right:14px}
:where(html[data-theme="classic"]) dialog .dialog-heading .icon-button,:where(html[data-theme="classic"]) #frequencies-close,:where(html[data-theme="classic"]) .track-sheet-heading .icon-button{width:44px;min-width:44px;height:44px;border:0!important;border-radius:50%;background:none!important;color:#fff;font:300 36px/1 Arial,sans-serif!important;box-shadow:none}
:where(html[data-theme="classic"]) dialog .dialog-heading .icon-button:hover,:where(html[data-theme="classic"]) #frequencies-close:hover{color:var(--green)}
:where(html[data-theme="classic"]) #connection-dialog h2,:where(html[data-theme="classic"]) #menu-dialog h2,:where(html[data-theme="classic"]) #sound-dialog h2,:where(html[data-theme="classic"]) #feature-dialog h2,:where(html[data-theme="classic"]) #share-dialog h2,:where(html[data-theme="classic"]) #frequencies-dialog h2{
  display:flex!important;align-items:center;gap:12px;position:relative;margin:4px 52px 24px 0!important;padding:0;
  font:italic 800 clamp(22px,6.2vw,28px)/1.1 var(--condensed)!important;color:#fff;text-transform:uppercase;letter-spacing:.2px}
:where(html[data-theme="classic"]) #connection-dialog h2:before,:where(html[data-theme="classic"]) #menu-dialog h2:before,:where(html[data-theme="classic"]) #sound-dialog h2:before,:where(html[data-theme="classic"]) #feature-dialog h2:before,:where(html[data-theme="classic"]) #share-dialog h2:before,:where(html[data-theme="classic"]) #frequencies-dialog h2:before{
  content:'';width:28px;height:28px;flex-shrink:0;background:var(--green);mask:var(--wave) 0 50%/56px 100%;-webkit-mask:var(--wave) 0 50%/56px 100%}
:where(html[data-theme="classic"]) #connection-dialog h2:after,:where(html[data-theme="classic"]) #menu-dialog h2:after,:where(html[data-theme="classic"]) #sound-dialog h2:after,:where(html[data-theme="classic"]) #feature-dialog h2:after,:where(html[data-theme="classic"]) #share-dialog h2:after,:where(html[data-theme="classic"]) #frequencies-dialog h2:after{
  content:'';position:absolute;left:40px;right:auto;bottom:-9px;width:min(140px,40%);height:3px;border-radius:3px;background:var(--green);filter:none;z-index:0}
:where(html[data-theme="classic"]) #connection-dialog,:where(html[data-theme="classic"]) #menu-dialog,:where(html[data-theme="classic"]) #sound-dialog,:where(html[data-theme="classic"]) #feature-dialog,:where(html[data-theme="classic"]) #share-dialog{padding-top:26px}
:where(html[data-theme="classic"]) #frequencies-dialog{padding-top:14px}

/* Buttons: lime pill for the main action, outlined pill for the rest. No crackle in popups. */
:where(html[data-theme="classic"]) dialog .solid-button,:where(html[data-theme="classic"]) dialog .sheet-button.primary,:where(html[data-theme="classic"]) #frequencies-dialog .sheet-button.primary{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:10px 0 0;padding:0 18px;border:0!important;border-image:none!important;border-radius:999px;
  background:linear-gradient(180deg,#c6ff3d,#94ec00)!important;color:#061000!important;font:700 16px/1.2 Arial,Helvetica,sans-serif!important;font-style:normal!important;text-transform:none!important;letter-spacing:0;text-shadow:none;box-shadow:none}
:where(html[data-theme="classic"]) dialog .collection-button,:where(html[data-theme="classic"]) dialog .sheet-button:not(.primary):not(.spotify-exact):not(.add-playlist),:where(html[data-theme="classic"]) dialog .frequencies-sheet .solid-button:not(.primary){
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:10px 0 0;padding:0 18px;border:2px solid #ffffff40!important;border-image:none!important;border-radius:999px;
  background:#020603b3!important;color:#fff!important;font:700 16px/1.2 Arial,Helvetica,sans-serif!important;font-style:normal!important;text-transform:none!important;letter-spacing:0;text-shadow:none;box-shadow:none;text-align:center}
:where(html[data-theme="classic"]) dialog .collection-button:hover,:where(html[data-theme="classic"]) dialog .sheet-button:not(.primary):hover{border-color:var(--green)!important}
:where(html[data-theme="classic"]) dialog form:not(.save-choices):not(.save-new-form) .solid-button{width:auto;padding:0 26px}
:where(html[data-theme="classic"]) dialog .menu-link{border:0;border-image:none;border-bottom:1px solid #ffffff1a;border-radius:0;margin:0;min-height:56px;padding:12px 4px;font:600 16px Arial,sans-serif;justify-content:space-between}
:where(html[data-theme="classic"]) dialog .menu-link:hover,:where(html[data-theme="classic"]) dialog .menu-link:focus-visible{color:var(--green);filter:none}
:where(html[data-theme="classic"]) dialog .dialog-link,:where(html[data-theme="classic"]) #frequencies-content a:not(.solid-button):not(.sheet-button){color:var(--green);font:600 15px Arial,sans-serif;text-decoration:none}
:where(html[data-theme="classic"]) #frequencies-content p,:where(html[data-theme="classic"]) dialog>p{color:#d3dbc7}
:where(html[data-theme="classic"]) .sheet-radio button,:where(html[data-theme="classic"]) #frequencies-dialog .sheet-radio button{border:2px solid var(--green);background:none;color:var(--green);font:700 14px Arial,sans-serif;font-style:normal;text-transform:none;min-height:40px;padding:6px 18px}

/* Messages sit at the top of the screen so they never cover a popup's controls. */
:where(html[data-theme="classic"]) .fm-toast{top:calc(14px + env(safe-area-inset-top,0px));bottom:auto!important;border:1px solid #9dff0080;border-radius:14px;background:#0a1407f7;box-shadow:0 10px 30px #000c;font:600 15px Arial,sans-serif}
:where(html[data-theme="classic"]) .fm-toast button,:where(html[data-theme="classic"]) .fm-toast a{color:var(--green);font:700 15px Arial,sans-serif;background:none}
:where(html[data-theme="classic"]) .fm-toast .toast-link{padding:0 14px;border:1px solid var(--green);border-radius:999px;min-height:38px;text-decoration:none;color:var(--green)}

/* Playlist ⋮ menu opens inside its card, never off-screen. */
:where(html[data-theme="classic"]) .pl-card>.pl-more{position:static}
:where(html[data-theme="classic"]) .pl-card>.pl-more .pl-more-button{position:absolute;top:6px;right:calc(20% + 4px);z-index:4}
:where(html[data-theme="classic"]) .pl-card .pl-menu{position:absolute;top:46px;left:0;right:0;min-width:0;z-index:6}
:where(html[data-theme="classic"]) .pl-card .pl-menu button{font-size:14px;padding:0 10px;min-height:42px}
:where(html[data-theme="classic"]) .pl-detail-actions .pl-more{position:relative}
:where(html[data-theme="classic"]) .pl-detail-actions .pl-menu{right:0;left:auto}

/* Favourites (owner request, 2 November 2026). */
:where(html[data-theme="classic"]) .pl-fav-cover{display:grid!important;place-items:center;background:radial-gradient(circle at 30% 25%,#3d6b12,#0d1f06 70%)!important;color:var(--green)}
:where(html[data-theme="classic"]) .pl-fav-cover svg{width:46%;height:46%;fill:var(--green);stroke:none}
:where(html[data-theme="classic"]) .pl-fav-tile .pl-open{text-decoration:none}
:where(html[data-theme="classic"]) .pl-fav-tile .pl-meta svg{fill:currentColor;stroke:none}
:where(html[data-theme="classic"]) #favourites-view{padding-top:clamp(150px,44vw,230px);background:linear-gradient(#01040200 40%,#010402 100%) 0 0/100% clamp(230px,62vw,330px) no-repeat,url('../underground-vinyl/assets/hero/turntable-1280.webp') 86% 0/auto clamp(230px,62vw,330px) no-repeat;padding-inline:3%;padding-bottom:24px;min-height:calc(100vh - 100px)}
@media(min-width:600px){:where(html[data-theme="classic"]) #favourites-view{background-position:0 0,center 0;background-size:100% 330px,cover}}
:where(html[data-theme="classic"]) body:has(#favourites-view:not([hidden])) .persistent-save{display:none}
:where(html[data-theme="classic"]) #favourites-view h1{margin:0;font:800 clamp(30px,8.6vw,42px)/1.05 var(--condensed);text-transform:uppercase}
:where(html[data-theme="classic"]) .fav-count{margin:14px 0 6px}
:where(html[data-theme="classic"]) .fav-count svg{fill:var(--green);stroke:none;color:var(--green)}
:where(html[data-theme="classic"]) .fav-list .pl-row{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
:where(html[data-theme="classic"]) .fav-add{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px 0 8px;border:2px solid var(--green);border-radius:999px;background:none;color:#fff;font:700 13px Arial,sans-serif;white-space:nowrap}
:where(html[data-theme="classic"]) .fav-add:before{content:'';width:18px;height:18px;background:var(--green);mask:var(--i-plus) center/contain no-repeat;-webkit-mask:var(--i-plus) center/contain no-repeat}
:where(html[data-theme="classic"]) .fav-add:hover{background:#9dff0014}
:where(html[data-theme="classic"]) .fav-remove{display:grid;place-items:center;width:40px;height:40px;background:none;color:var(--green)}
:where(html[data-theme="classic"]) .fav-remove svg{width:22px;height:22px;fill:var(--green)}
@media(max-width:380px){:where(html[data-theme="classic"]) .fav-add span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:where(html[data-theme="classic"]) .fav-add{padding:0 8px}}
:where(html[data-theme="classic"]) .favourite[aria-pressed=true]{border-color:var(--green);color:var(--green)}
:where(html[data-theme="classic"]) .favourite[aria-pressed=true] svg{fill:var(--green)}
@media(max-width:520px){
  :where(html[data-theme="classic"]) .fav-add{width:40px;height:40px;min-height:40px;padding:0;justify-content:center;border-radius:50%}
  :where(html[data-theme="classic"]) .fav-add:before{width:22px;height:22px}
  :where(html[data-theme="classic"]) .fav-add span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
:where(html[data-theme="classic"]) .fav-list .pl-row{gap:4px}

/* Playlists: Lost Hippy / Spotify source tabs */
:where(html[data-theme="classic"]) .pl-tabs{display:flex;gap:6px;width:max-content;max-width:100%;margin:14px 0 2px;padding:4px;border:1px solid #9dff0055;border-radius:999px;background:#050b04cc}
:where(html[data-theme="classic"]) .pl-tab{min-height:38px;padding:0 18px;border:0;border-radius:999px;background:none;color:#e9f3df;font:700 14px Arial,sans-serif;letter-spacing:.02em;cursor:pointer}
:where(html[data-theme="classic"]) .pl-tab[aria-selected=true]{background:var(--green);color:#071003}
:where(html[data-theme="classic"]) .pl-tab:focus-visible{outline:2px solid var(--green);outline-offset:2px}
:where(html[data-theme="classic"]) .pl-spotify .pl-label{object-fit:cover}
/* Add to playlist: source tabs, Spotify rows, and a Done bar that sits on its own strip */
:where(html[data-theme="classic"]) .save-tabs{margin:12px 0 6px}
:where(html[data-theme="classic"]) .spotify-choice.selected{background:#9dff0014}
:where(html[data-theme="classic"]) .save-bar{position:sticky;bottom:-1px;margin:0 -4px;padding:12px 0 10px;background:linear-gradient(#07110b00,#07110b 30%)!important}
:where(html[data-theme="classic"]) .save-done{width:100%;box-shadow:none}
:where(html[data-theme="classic"]) .save-done:disabled{background:#1c2a17;color:#ffffff73;border:1px solid #ffffff1f}
:where(html[data-theme="classic"]) .playlist-choice input{flex:none;width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important}
:where(html[data-theme="classic"]) #frequencies-actions .save-done{flex:1}
:where(html[data-theme="classic"]) #frequencies-dialog .playlist-search-label{display:block;margin:4px 0 0;font-size:0}
:where(html[data-theme="classic"]) #frequencies-dialog .playlist-search-label input{width:100%;min-height:42px;margin:4px 0 10px!important;padding:0 14px!important;border-radius:8px!important;border:0!important;background:#ffffff14!important;color:#fff;font:14px Arial,sans-serif}
/* Spotify save results: one line per chosen playlist */
:where(html[data-theme="classic"]) .spotify-results{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px;width:100%}
:where(html[data-theme="classic"]) .spotify-results li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:#ffffff0d}
:where(html[data-theme="classic"]) .spotify-results .spotify-result-link,:where(html[data-theme="classic"]) .spotify-results strong{color:#fff;font:700 15px Arial,sans-serif;text-decoration:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(html[data-theme="classic"]) .spotify-results small{flex:none;color:var(--green);font:700 13px Arial,sans-serif}
:where(html[data-theme="classic"]) .spotify-results li.failed small{color:#ffb4a8;white-space:normal;text-align:right;max-width:55%}

/* Free download row (station originals, HQ-granted) */
:where(html[data-theme="classic"]) .free-download{display:grid;gap:6px;justify-items:center;margin:12px 0 4px;padding-top:12px;border-top:1px solid #ffffff1a}
:where(html[data-theme="classic"]) .free-download-button{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px!important;border-radius:999px;border:2px solid var(--green)!important;background:#020603!important;color:#fff!important;font:700 16px Arial,sans-serif}
:where(html[data-theme="classic"]) .free-download-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--green);color:#061000;font:900 16px/1 Arial,sans-serif}
:where(html[data-theme="classic"]) .free-download small{color:var(--muted);font:12px Arial,sans-serif}

/* Owner-only: fix Spotify link */
:where(html[data-theme="classic"]) .station-link{margin:12px 0 0;padding:10px 12px;border:1px dashed #9dff0066;border-radius:12px;color:var(--muted)}
:where(html[data-theme="classic"]) .station-link summary{cursor:pointer;color:var(--green);font:700 14px Arial,sans-serif}
:where(html[data-theme="classic"]) .station-link-form{display:grid;gap:8px;margin-top:10px}
:where(html[data-theme="classic"]) .station-link-form label{display:grid;gap:4px;font:12px Arial,sans-serif;color:#dfe6d6}
:where(html[data-theme="classic"]) .station-link-form input{min-height:42px;padding:0 12px;border-radius:8px;border:1px solid #ffffff33;background:#ffffff0f;color:#fff;font:14px Arial,sans-serif}
:where(html[data-theme="classic"]) .station-link-save{min-height:42px!important}
:where(html[data-theme="classic"]) .station-link-form small{font:12px/1.4 Arial,sans-serif}
