.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-choice{display:flex;flex-direction:column;gap:10px;text-align:left;padding:12px;min-width:0}.theme-choice[aria-pressed=true]{outline:3px solid var(--cyan);outline-offset:2px}.theme-swatch{display:block;width:100%;padding:20px 12px;border:1px solid;border-radius:8px;min-height:96px;font-weight:bold}.swatch-bars{display:flex;gap:6px;margin-top:12px}.swatch-bars i{width:28px;height:8px;border-radius:4px}.theme-controls,.theme-preview{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.theme-controls label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.theme-controls input[type=color]{width:64px;height:48px;padding:4px;cursor:pointer}.theme-controls button{margin:5px}.preview-header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-weight:bold;padding-bottom:15px}.preview-header span{font-size:12px;color:var(--muted)}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.preview-card{min-width:0;background:var(--panel);border:1px solid var(--line);padding:14px;border-radius:var(--theme-radius,12px)}.preview-art,.preview-visual{display:grid;place-items:center;min-height:100px;background:linear-gradient(130deg,var(--cyan),var(--pink));color:var(--theme-ink,#07151d);font-size:36px;border-radius:8px}.preview-visual{background:var(--bg);color:var(--cyan);border:2px solid var(--cyan)}.preview-track{padding:9px 0;border-bottom:1px solid var(--line)}progress{display:block;width:100%;accent-color:var(--cyan)}:focus-visible{outline:3px solid var(--cyan,#53f7e5);outline-offset:3px}.music-header nav{flex-wrap:wrap}.theme-grid button{touch-action:manipulation}.theme-preview button:disabled{opacity:1;cursor:default}
html[data-theme-custom][data-theme]{--bg:var(--theme-bg);--panel:var(--theme-panel);--text:var(--theme-text);--muted:var(--theme-muted);--line:var(--theme-line);--cyan:var(--theme-primary);--pink:var(--theme-secondary);background:var(--theme-bg);color:var(--theme-text)}
html[data-theme-custom][data-theme] body{background:var(--theme-bg);color:var(--theme-text)}html[data-theme-custom][data-theme] :is(.music-header,.music-footer,.player-dock,.hero,.tv-intro,.set-card,.library-item,.library-source,.folder-source,.folder-playlist,.party-console,.notice,dialog,.theme-controls,.theme-preview,.preview-card,#music-panel,#visual-panel,#second-screen-panel,#music-playback,#saved-playlists-panel,.music-playback,.visualizer-toolbar,.visualizer-status,.music-card,.file-pick){background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line);box-shadow:none}html[data-theme-custom][data-theme] :is(h1,h2,h3,h4,p,label,summary,li,legend){color:inherit}html[data-theme-custom][data-theme] :is(.subtle,.player-note,.muted,.set-description,small){color:var(--theme-muted)}html[data-theme-custom][data-theme] :is(button,input,select,textarea,summary,.preview-track){color:var(--theme-text);background:var(--theme-surface);border-color:var(--theme-line);border-radius:var(--theme-radius);accent-color:var(--theme-primary)}html[data-theme-custom][data-theme] button:hover{border-color:var(--theme-primary);filter:brightness(1.07)}html[data-theme-custom][data-theme] :is(button.primary,#music-mini-play,[data-panel][aria-pressed=true],button[aria-pressed=true]){color:var(--theme-ink);background:var(--theme-fill);border-color:var(--theme-fill);box-shadow:none}html[data-theme-custom][data-theme] :is(a,.eyebrow,.brand b,.set-artist){color:var(--theme-primary)}html[data-theme-custom][data-theme] .brand small{color:var(--theme-secondary)}html[data-theme-custom][data-theme] :is(#visualizer-shell,#music-host,#visualizer-frame){background:var(--theme-bg);border-color:var(--theme-line)}html[data-theme-custom][data-theme] #visualizer-stage{border-color:var(--theme-primary)}html[data-theme-custom][data-theme] input[type=range]{accent-color:var(--theme-primary)}html[data-theme-custom][data-theme] details{border-color:var(--theme-line)}html[data-theme-custom][data-theme] dialog::backdrop{background:#000a}
html[data-theme=pirates][data-theme-custom] body{background-color:var(--theme-bg);background-image:repeating-linear-gradient(3deg,transparent 0 6px,#c59d5410 7px 8px),repeating-linear-gradient(90deg,#0002 0 2px,transparent 3px 110px)}html[data-theme=pirates][data-theme-custom] :is(.hero,.tv-intro,.theme-preview,.theme-controls,.preview-card,.player-dock){border:2px solid var(--theme-line);background-image:repeating-linear-gradient(8deg,transparent 0 9px,#b58e3c0b 10px 12px);box-shadow:inset 0 0 0 3px #0004}html[data-theme=pirates][data-theme-custom] :is(h1,h2,h3,summary){font-family:Georgia,'Times New Roman',serif}html[data-theme=pirates][data-theme-custom] .hero::after{content:'✥';position:absolute;right:18px;bottom:8px;font-size:100px;opacity:.12;pointer-events:none}html[data-theme=pirates][data-theme-custom] .hero{position:relative}html[data-theme=pirates][data-theme-custom] .theme-preview::before{content:'⚓  •  PIRATES OF SOUND  •  ✥';display:block;color:var(--theme-secondary);letter-spacing:.12em;margin-bottom:18px}html[data-theme=pirates][data-theme-custom] .preview-art{background:radial-gradient(circle,transparent 28%,#f0cf8266 29% 30%,transparent 31%),repeating-conic-gradient(from 0deg,#ae8c4322 0deg 1deg,transparent 2deg 45deg),var(--theme-surface);color:var(--theme-primary)}
html[data-theme=punk][data-theme-custom] body{background-color:var(--theme-bg);background-image:repeating-linear-gradient(125deg,#b9ff5d08 0 2px,transparent 2px 18px)}html[data-theme=punk][data-theme-custom] :is(.hero,.tv-intro,.theme-preview,.preview-card,.player-dock){border:2px solid var(--theme-line);box-shadow:4px 4px 0 #ff62c52b}html[data-theme=punk][data-theme-custom] .hero h1{text-shadow:2px 2px var(--theme-secondary);font-weight:950;letter-spacing:-.04em}html[data-theme=punk][data-theme-custom] .theme-preview::before{content:'✕  MAKE SOME NOISE  ★';display:block;color:var(--theme-secondary);font-weight:900;letter-spacing:.08em;margin-bottom:18px;border-bottom:3px dashed var(--theme-primary);padding-bottom:12px}html[data-theme=punk][data-theme-custom] .preview-art{background:repeating-linear-gradient(145deg,var(--theme-primary) 0 18px,var(--theme-secondary) 19px 35px);border-radius:0}html[data-theme=punk][data-theme-custom] .tv-intro{border-top:4px dashed var(--theme-secondary)}
@media(max-width:480px){.theme-grid,.preview-grid{grid-template-columns:1fr}.theme-controls{padding:12px}.theme-controls button{width:100%;margin:5px 0}.preview-header span{display:block}}@media(prefers-reduced-motion:reduce){.theme-choice,.theme-preview{animation:none!important;transition:none!important}}
html[data-theme-custom][data-theme] .music-design :is(.visualizer-controls,.transport,.track-header,.preset-controls,.saved-playlists,details){background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line)}
html[data-theme-custom][data-theme] .music-design .visualizer-controls :is(div,span,p,label,small,output,summary){color:var(--theme-text)!important}
html[data-theme-custom][data-theme] .music-design :is(#music-mini-title,#music-time,#preset-current){color:var(--theme-text)}
html[data-theme-custom][data-theme] .music-design .track-artist{color:var(--theme-secondary)!important}
html[data-theme=punk][data-theme-custom] .hero{position:relative}html[data-theme=punk][data-theme-custom] .hero::after{content:'◉—╱';position:absolute;right:18px;bottom:14px;color:var(--theme-primary);font-size:26px;transform:rotate(-12deg);border:2px solid var(--theme-secondary);padding:2px 9px;pointer-events:none;background:var(--theme-bg)}
html[data-theme=pirates][data-theme-custom] .hero::before{content:'☠';position:absolute;right:22px;top:16px;font-size:24px;opacity:.18;color:var(--theme-primary);pointer-events:none}
html[data-theme-custom][data-theme] :focus-visible{outline:3px solid var(--theme-primary);outline-offset:3px}input::placeholder,textarea::placeholder{color:var(--muted,#b7c5df);opacity:1}
html[data-theme=punk][data-theme-custom] .hero::after{content:'';width:78px;height:34px;background:var(--theme-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cg fill='none' stroke='%23c2ff5d' stroke-width='3'%3E%3Cpath d='M20 12 L78 12 Q94 12 94 24 Q94 35 80 35 L20 29 Q4 28 8 17 Q12 8 20 12 L78 25'/%3E%3Ccircle cx='18' cy='21' r='6'/%3E%3Cpath d='M78 12 L78 25 L88 30'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
html[data-theme=pirates][data-theme-custom] :is(.hero,.tv-intro,.theme-preview,.theme-controls,.preview-card,.player-dock){background-image:repeating-linear-gradient(8deg,transparent 0 9px,#b58e3c0b 10px 12px)!important;box-shadow:inset 0 0 0 3px #0004!important}
html[data-theme=punk][data-theme-custom] :is(.hero,.tv-intro,.theme-preview,.preview-card,.player-dock){box-shadow:4px 4px 0 #ff62c52b!important}
html[data-theme-custom][data-theme] .music-design summary::after{color:var(--theme-primary)}
html[data-theme-custom][data-theme] :is(.artist,.connection){color:var(--theme-primary)}
html[data-theme-custom][data-theme] :is(.tracks,.tracklist,.set-copy,.genres span,.steps){background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line)}
html[data-theme-custom][data-theme] .new-badge{background:var(--theme-fill);color:var(--theme-ink)}
/* Theme Studio V1.1: local print, wood and nautical artwork. Layout/media stay untouched. */
.music-footer small{flex-basis:100%;color:var(--muted);max-width:75ch}.music-footer a{min-height:44px;display:inline-flex;align-items:center}.theme-choice{transition:border-color .15s ease,background-color .15s ease}.theme-swatch{position:relative;overflow:hidden}
html[data-theme=pirates][data-theme-custom] body{background-image:repeating-linear-gradient(2deg,transparent 0 13px,#d0a96b0a 14px 15px,transparent 16px 38px),repeating-linear-gradient(90deg,#08050240 0 2px,transparent 3px 144px),linear-gradient(105deg,#100c09,var(--theme-bg) 40%,#241a11)}
html[data-theme=pirates][data-theme-custom] :is(.music-header,.music-footer){background-color:#201910;background-image:linear-gradient(#d8b76f18,transparent 8px),repeating-linear-gradient(3deg,transparent 0 8px,#c49d510c 9px 10px);border-color:#9e8150}
html[data-theme=pirates][data-theme-custom] :is(.hero,.tv-intro,.theme-preview,.theme-controls,.preview-card,.player-dock,.set-card,.folder-source,.folder-playlist){background-image:radial-gradient(circle at 8px 8px,#e0bd79 0 1px,#5e4625 2px 3px,transparent 4px),radial-gradient(circle at calc(100% - 8px) 8px,#e0bd79 0 1px,#5e4625 2px 3px,transparent 4px),linear-gradient(112deg,#b18f4509,transparent 40%,#2b1d130d),repeating-linear-gradient(7deg,transparent 0 11px,#e2bc6b08 12px 13px)!important;box-shadow:inset 0 0 0 3px #07050280,inset 0 0 0 4px #d7b76c24,0 6px 18px #0002!important;border-color:#9e8150}
html[data-theme=pirates][data-theme-custom] :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif;letter-spacing:.015em}html[data-theme=pirates][data-theme-custom] :is(button,summary){border-style:solid;box-shadow:inset 0 1px #fff1,inset 0 -2px #0003;font-weight:650}html[data-theme=pirates][data-theme-custom] button:not([aria-pressed=true]):not(.primary):not(#music-mini-play){background-image:linear-gradient(180deg,#f1cf7d12,transparent 48%,#0002)}
html[data-theme=pirates][data-theme-custom] .hero::after{content:'';width:125px;height:125px;right:15px;bottom:12px;opacity:.22;background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23e9c778' stroke-width='1.5'%3E%3Ccircle cx='80' cy='80' r='59'/%3E%3Ccircle cx='80' cy='80' r='48' stroke-dasharray='2 5'/%3E%3Cpath d='M80 8V152M8 80H152M29 29L131 131M29 131L131 29'/%3E%3C/g%3E%3Cpath fill='%23e9c778' d='M80 18L91 69L142 80L91 91L80 142L69 91L18 80L69 69Z'/%3E%3Cpath fill='%23251a0c' d='M80 18V80H18L69 69Z M80 142V80H142L91 91Z'/%3E%3Ccircle cx='80' cy='80' r='5' fill='%23ead7a0'/%3E%3C/svg%3E")}
html[data-theme=pirates][data-theme-custom] .hero::before{content:'⚓';opacity:.25;font-size:25px;right:18px;top:14px}html[data-theme=pirates][data-theme-custom] .theme-preview::before{content:'⚓  PIRATES OF SOUND  ·  SEEK YOUR SOUND';font-family:Georgia,serif;font-size:clamp(.75rem,2.4vw,.95rem);letter-spacing:.06em;padding-bottom:12px;border-bottom:1px solid #9e8150}
html[data-theme=pirates][data-theme-custom] .preview-art{background-color:#d9c291;background-image:radial-gradient(ellipse at 10% 20%,#a47f4d38,transparent 60%),repeating-linear-gradient(14deg,#42250608 0 1px,transparent 2px 6px),radial-gradient(circle,transparent 28%,#80643780 29% 30%,transparent 31%),repeating-conic-gradient(from 0deg,#73552928 0deg 1deg,transparent 2deg 45deg);color:#35240f;border:1px solid #967443;box-shadow:inset 0 0 16px #7c5d3350}
[data-theme-choice=pirates] .theme-swatch{background-image:radial-gradient(circle at 85% 50%,transparent 0 22px,#d1ad6338 23px 24px,transparent 25px),repeating-linear-gradient(4deg,#d4ad6a10 0 1px,transparent 2px 7px)!important;border:2px solid #9e8150!important;font-family:Georgia,serif}
html[data-theme=punk][data-theme-custom] body{background-image:radial-gradient(ellipse at 3% 10%,#ff47b10c,transparent 35%),repeating-linear-gradient(122deg,#c2ff5d07 0 1px,transparent 2px 19px),repeating-linear-gradient(0deg,#ffffff03 0 1px,transparent 1px 4px)}
html[data-theme=punk][data-theme-custom] :is(.music-header,.music-footer){border-color:var(--theme-primary);background-image:repeating-linear-gradient(0deg,#ffffff04 0 1px,transparent 2px 5px)}
html[data-theme=punk][data-theme-custom] :is(.hero,.tv-intro,.theme-preview,.preview-card,.theme-controls,.set-card,.folder-source,.folder-playlist,.player-dock){border-radius:2px;border:2px solid var(--theme-line);background-image:repeating-linear-gradient(0deg,#ffffff04 0 1px,transparent 2px 5px),linear-gradient(120deg,#ffffff03,transparent 40%);box-shadow:5px 5px 0 #ff62c544,-2px -2px 0 #c2ff5d18!important}
html[data-theme=punk][data-theme-custom] :is(h1,h2,h3){font-family:Impact,'Arial Black',system-ui,sans-serif;font-weight:900;letter-spacing:.01em}html[data-theme=punk][data-theme-custom] .hero h1{font-style:italic;letter-spacing:-.025em;text-shadow:2px 2px #ff92da60}
html[data-theme=punk][data-theme-custom] :is(button,summary){border-width:2px;border-radius:1px;font-weight:750}html[data-theme=punk][data-theme-custom] :is(button.primary,#music-mini-play,[data-panel][aria-pressed=true]){box-shadow:3px 3px 0 #ff92da66!important}html[data-theme=punk][data-theme-custom] .theme-preview::before{content:'NO RULES. JUST MUSIC.  ✕';display:block;width:fit-content;max-width:100%;font-family:Impact,'Arial Black',sans-serif;font-size:clamp(1rem,3vw,1.35rem);font-style:italic;letter-spacing:.025em;background:#c2ff5d;color:#12160e;padding:8px 13px;transform:rotate(-1.2deg);border:0;box-shadow:4px 4px 0 #ff92da}
html[data-theme=punk][data-theme-custom] .preview-art{background:repeating-linear-gradient(0deg,#14141410 0 1px,transparent 1px 3px),repeating-linear-gradient(145deg,#c2ff5d 0 23px,#ff92da 24px 42px);border:2px solid #10150c;color:#10150c;text-shadow:3px 2px #fff9;box-shadow:4px 4px 0 #ff92da55;clip-path:polygon(0 3%,8% 0,17% 3%,31% 0,43% 2%,57% 0,72% 3%,84% 0,100% 2%,100% 97%,89% 100%,76% 97%,63% 100%,48% 97%,36% 100%,22% 98%,9% 100%,0 97%)}
html[data-theme=punk][data-theme-custom] .hero::after{width:95px;height:45px;opacity:.6;background-color:#151714;border:2px solid #ff92da;box-shadow:3px 3px 0 #c2ff5d77;transform:rotate(-9deg)}
[data-theme-choice=punk] .theme-swatch{background-image:repeating-linear-gradient(0deg,#ffffff09 0 1px,transparent 2px 4px),linear-gradient(135deg,transparent 65%,#ff92da24 66% 78%,transparent 79%)!important;box-shadow:3px 3px 0 #ff92da88;border-radius:0;border-width:2px!important;font-family:Impact,'Arial Black',system-ui,sans-serif}
@media(max-width:480px){html[data-theme=pirates][data-theme-custom] .hero::after{width:86px;height:86px;opacity:.13}html[data-theme=punk][data-theme-custom] .hero::after{width:60px;height:27px;opacity:.35}.theme-preview{padding:15px}.music-footer{gap:12px}}
@media(prefers-reduced-motion:reduce){.theme-choice{transition:none}}
/* Readable poster subtitles; strong display styling is reserved for the main headline. */
html[data-theme=punk][data-theme-custom] :is(h2,h3){font-family:'Arial Black',system-ui,sans-serif;font-weight:800;letter-spacing:.015em}
html[data-theme=pirates][data-theme-custom] body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220' viewBox='0 0 420 220'%3E%3Cg fill='none' stroke='%23d6ad6a' stroke-opacity='.045' stroke-width='1'%3E%3Cpath d='M-20 12C90 0 185 35 440 12M-20 22C80 7 190 42 440 23M-20 55C130 42 280 80 440 56M-20 65C150 55 260 85 440 69M-20 100C70 80 75 120 160 108S320 95 440 108M-20 110C70 95 72 130 162 119S330 105 440 119M-20 150C120 130 225 170 440 148M-20 159C130 142 230 180 440 158M-20 200C145 177 260 225 440 200'/%3E%3Cellipse cx='105' cy='108' rx='28' ry='9'/%3E%3Cellipse cx='105' cy='108' rx='18' ry='4'/%3E%3C/g%3E%3C/svg%3E"),repeating-linear-gradient(90deg,#08050240 0 2px,transparent 3px 144px),linear-gradient(105deg,#100c09,var(--theme-bg) 40%,#241a11)}
/* V1.2 Art Edition — scoped to two themes, backgrounds only, no input layers. */
html[data-theme=pirates][data-theme-custom] body{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/pirates-map.svg'),repeating-linear-gradient(90deg,#08050240 0 2px,transparent 3px 144px),linear-gradient(105deg,#100c09,var(--theme-bg) 40%,#241a11);background-size:1480px 1060px,auto,auto;background-position:center 155px,0 0,0 0;background-repeat:repeat-y,repeat,repeat}
html[data-theme=punk][data-theme-custom] body{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-wall.svg'),repeating-linear-gradient(122deg,#c2ff5d07 0 1px,transparent 2px 19px),repeating-linear-gradient(0deg,#ffffff03 0 1px,transparent 1px 4px);background-size:1480px 1060px,auto,auto;background-position:center 155px,0 0,0 0;background-repeat:repeat-y,repeat,repeat}
html[data-theme=pirates][data-theme-custom] .hero::after{width:230px;height:210px;right:-35px;bottom:-8px;opacity:.25;background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/pirates-ship.svg');background-size:contain;background-repeat:no-repeat;pointer-events:none}
html[data-theme=punk][data-theme-custom] .hero::after{width:205px;height:175px;right:-20px;bottom:-12px;border:0;box-shadow:none;transform:none;opacity:.24;background:transparent url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-rebel.svg') center/contain no-repeat;pointer-events:none}
html[data-theme=pirates][data-theme-custom] .hero h1{font-family:Georgia,'Times New Roman',serif;font-variant:small-caps;letter-spacing:.015em;text-shadow:0 1px #fff2,1px 2px #0008}html[data-theme=pirates][data-theme-custom] .hero h1::first-letter{font-size:1.2em;line-height:.85}html[data-theme=pirates][data-theme-custom] #panel-design>h1{font-family:Georgia,'Times New Roman',serif;font-variant:small-caps;letter-spacing:.02em;text-shadow:1px 2px #0009}
html[data-theme=punk][data-theme-custom] :is(.hero h1,#panel-design>h1){font-family:Impact,'Arial Black',system-ui,sans-serif;font-style:italic;font-weight:900;text-shadow:2px 2px #ff73c655;letter-spacing:-.015em}
html[data-theme=pirates][data-theme-custom] .theme-preview{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/pirates-stamps.svg'),repeating-linear-gradient(8deg,transparent 0 9px,#b58e3c0b 10px 12px)!important;background-size:360px auto,auto;background-position:right -28px top -3px,0 0;background-repeat:no-repeat,repeat}
html[data-theme=punk][data-theme-custom] .theme-preview{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-stickers.svg'),repeating-linear-gradient(0deg,#ffffff04 0 1px,transparent 2px 5px)!important;background-size:360px auto,auto;background-position:right -32px top -15px,0 0;background-repeat:no-repeat,repeat}
html[data-theme=pirates][data-theme-custom] .music-design .visualizer-controls{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/pirates-stamps.svg');background-size:340px auto;background-position:right -45px bottom -7px;background-repeat:no-repeat}
html[data-theme=punk][data-theme-custom] .music-design .visualizer-controls{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-stickers.svg');background-size:330px auto;background-position:right -55px bottom -7px;background-repeat:no-repeat}
/* Cards and functional fields retain opaque surfaces; art never changes canvas/video. */
@media(min-width:1800px){html[data-theme=pirates][data-theme-custom] body,html[data-theme=punk][data-theme-custom] body{background-size:1780px auto,auto,auto}}
@media(max-width:1000px){html[data-theme=pirates][data-theme-custom] body,html[data-theme=punk][data-theme-custom] body{background-size:1100px auto,auto,auto;background-position:center 210px,0 0,0 0}}
@media(max-width:600px){html[data-theme=pirates][data-theme-custom] body,html[data-theme=punk][data-theme-custom] body{background-size:850px auto,auto,auto;background-position:center 190px,0 0,0 0}html[data-theme=pirates][data-theme-custom] .hero::after{width:150px;height:140px;opacity:.16}html[data-theme=punk][data-theme-custom] .hero::after{width:145px;height:130px;opacity:.14}html[data-theme=pirates][data-theme-custom] .theme-preview,html[data-theme=punk][data-theme-custom] .theme-preview{background-size:220px auto,auto;background-position:right -35px top 12px,0 0}}
/* Reading surfaces: high-contrast art is confined to the surrounding free space. */
html[data-theme=pirates][data-theme-custom] :is(#panel-app h1,#panel-app h2,#panel-app p,#panel-app ul,#panel-local>h1,#panel-local>p,#folder-library>h2,#folder-library>p,#panel-party>h1,#panel-party>p,#panel-party>ol,#panel-design>h1,#panel-design>p,#panel-discover>h2,#panel-discover>p),html[data-theme=punk][data-theme-custom] :is(#panel-app h1,#panel-app h2,#panel-app p,#panel-app ul,#panel-local>h1,#panel-local>p,#folder-library>h2,#folder-library>p,#panel-party>h1,#panel-party>p,#panel-party>ol,#panel-design>h1,#panel-design>p,#panel-discover>h2,#panel-discover>p){background-color:var(--theme-bg)}

/* Theme Studio V2: larger cards, real palette values, local static artwork. */
.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.theme-choice{position:relative;padding:8px;gap:12px;border-radius:16px;overflow:hidden;transition:transform .16s,border-color .16s;box-shadow:0 10px 25px #0002}.theme-choice:hover{transform:translateY(-2px)}.theme-choice>strong{padding:0 12px 10px;font-size:17px}.theme-swatch{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:15px;min-height:240px;padding:20px;border-radius:11px;overflow:hidden;text-shadow:0 2px 9px #0006;background-image:radial-gradient(ellipse at 85% 15%,color-mix(in srgb,var(--preview-accent) 25%,transparent),transparent 70%),linear-gradient(140deg,transparent,var(--preview-panel));background-size:cover;background-position:center}.theme-swatch:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--preview-panel) 85%,transparent),transparent 90%)}.swatch-heading{font-size:11px;letter-spacing:3px;font-weight:900}.swatch-player{display:flex;align-items:center;gap:16px;margin:14px 0}.swatch-play{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border:1px solid var(--preview-accent);border-radius:50%;color:var(--preview-accent);background:var(--preview-panel)}.swatch-wave{height:52px;width:100%;background:repeating-linear-gradient(90deg,var(--preview-accent) 0 3px,transparent 3px 8px);clip-path:polygon(0 40%,8% 25%,16% 45%,24% 5%,32% 28%,40% 12%,48% 34%,56% 0,64% 30%,72% 15%,80% 40%,90% 25%,100% 42%,100% 58%,90% 75%,80% 60%,72% 85%,64% 70%,56% 100%,48% 66%,40% 88%,32% 72%,24% 95%,16% 55%,8% 75%,0 60%)}.swatch-track{font-size:13px;font-weight:650}.theme-chosen{position:absolute;right:12px;top:12px;padding:5px 9px;border-radius:20px;background:var(--preview-accent);color:#07151d;font-size:11px;font-weight:800;visibility:hidden;text-shadow:none}.theme-choice[aria-pressed=true]{outline:3px solid var(--cyan);outline-offset:2px}.theme-choice[aria-pressed=true] .theme-chosen{visibility:visible}.theme-swatch[data-preview-theme=midnight]{background-image:linear-gradient(120deg,#080808 10%,#424242 49%,#111 50%,#222)}.theme-swatch[data-preview-theme=crystal]{text-shadow:none;background-image:radial-gradient(circle at 90% 0%,#a5e3eb,transparent 65%),linear-gradient(130deg,#fff,#dceaf7)}.theme-swatch[data-preview-theme=electric]{background-image:repeating-linear-gradient(135deg,transparent 0 30px,#67d8ff19 31px 32px),radial-gradient(circle at 100% 0,#126599,#061222 70%)}.theme-swatch[data-preview-theme=neon]{background-image:radial-gradient(ellipse at 90% 5%,#ff70db55,transparent 65%),radial-gradient(ellipse at 75% 90%,#53f7e555,transparent 60%),linear-gradient(130deg,#080b18,#292344)}
.theme-swatch[data-preview-theme=pirates]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/pirates-map.svg')}.theme-swatch[data-preview-theme=punk]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-wall.svg')}.theme-swatch[data-preview-theme=space]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/space-adventure.svg');background-position:75% 30%}.theme-swatch[data-preview-theme=neonflash]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/neon-flash.svg');background-position:80% 25%}
html[data-theme-custom][data-theme=space] body{background:#060d1c url('/visible-music/release/p1-20261121-aenneken-v5/art/space-adventure.svg') center top / max(100vw,1100px) auto repeat-y}html[data-theme-custom][data-theme=neonflash] body{background:#080616 url('/visible-music/release/p1-20261121-aenneken-v5/art/neon-flash.svg') center top / max(100vw,1100px) auto repeat-y}html[data-theme-custom][data-theme=space] :is(.set-card,.folder-collection,.theme-preview,.theme-controls){border-color:var(--theme-line);box-shadow:0 12px 32px #02071255,inset 0 1px 0 #c1eaff19}html[data-theme-custom][data-theme=space] h1{letter-spacing:-.035em;text-shadow:0 0 32px #79e4ff22}html[data-theme-custom][data-theme=neonflash] :is(.set-card,.folder-collection,.theme-preview,.theme-controls){border-color:var(--theme-line);box-shadow:4px 5px 0 #70ffe012,-2px -2px 0 #ff85d91c}html[data-theme-custom][data-theme=neonflash] h1{letter-spacing:-.045em;text-shadow:2px 2px 0 #ff85d933,-1px -1px 0 #70ffe022}html[data-theme-custom][data-theme=neonflash] .primary{box-shadow:0 0 18px #70ffe025}
@media(max-width:600px){.theme-grid{grid-template-columns:1fr}.theme-swatch{min-height:220px}.theme-choice{max-width:100%}}
@media(prefers-reduced-motion:reduce){.theme-choice{transition:none}.theme-choice:hover{transform:none}}

html[data-theme-custom][data-theme=space] .hero{background-image:linear-gradient(90deg,var(--theme-panel) 25%,transparent),url('/visible-music/release/p1-20261121-aenneken-v5/art/space-adventure.svg')!important;background-size:cover;background-position:center}
html[data-theme-custom][data-theme=neonflash] .hero{background-image:linear-gradient(90deg,var(--theme-panel) 25%,transparent),url('/visible-music/release/p1-20261121-aenneken-v5/art/neon-flash.svg')!important;background-size:cover;background-position:center}

/* Full-viewport artwork worlds: static local SVG, no event or audio changes. */
html[data-theme=neon]{--theme-world:url('/visible-music/release/p1-20261121-aenneken-v5/art/neon-universe.svg')}
html[data-theme=midnight]{--theme-world:url('/visible-music/release/p1-20261121-aenneken-v5/art/midnight-black.svg')}
html[data-theme=electric]{--theme-world:url('/visible-music/release/p1-20261121-aenneken-v5/art/electric-blue.svg')}
html[data-theme=crystal]{--theme-world:url('/visible-music/release/p1-20261121-aenneken-v5/art/crystal-light.svg')}
html[data-theme=punk]{--theme-world:url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-wall.svg')}
html[data-theme]:is([data-theme=neon],[data-theme=midnight],[data-theme=electric],[data-theme=crystal],[data-theme=punk]) body{isolation:isolate;background:var(--theme-bg,var(--bg))}
html[data-theme]:is([data-theme=neon],[data-theme=midnight],[data-theme=electric],[data-theme=crystal],[data-theme=punk]) body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:var(--theme-world);background-size:cover;background-position:center;background-repeat:no-repeat}
html[data-theme]:is([data-theme=neon],[data-theme=midnight],[data-theme=electric],[data-theme=crystal],[data-theme=punk]) :is(#panel-app>h1,#panel-app>p,#panel-app>ul,#panel-local>h1,#panel-local>p,#folder-library>h2,#folder-library>p,#panel-party>h1,#panel-party>p,#panel-party>ol,#panel-design>h1,#panel-design>p,#panel-discover>h2,#panel-discover>p){background:var(--theme-bg,var(--bg));box-shadow:0 0 0 6px var(--theme-bg,var(--bg));border-radius:3px}
.theme-swatch[data-preview-theme=neon]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/neon-universe.svg')!important;background-size:cover;background-position:center}
.theme-swatch[data-preview-theme=midnight]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/midnight-black.svg')!important;background-size:cover;background-position:center}
.theme-swatch[data-preview-theme=electric]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/electric-blue.svg')!important;background-size:cover;background-position:center}
.theme-swatch[data-preview-theme=crystal]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/crystal-light.svg')!important;background-size:cover;background-position:center}
.theme-swatch[data-preview-theme=punk]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/punk-wall.svg')!important;background-size:cover;background-position:center}
html[data-theme=punk][data-theme-custom] .hero::after{width:220px;height:200px;opacity:.28;background-size:cover;background-position:center;right:0;bottom:0}
.theme-swatch[data-preview-theme=punk]{background-position:55% 48%}.theme-swatch[data-preview-theme=crystal]{text-shadow:none}
@media(max-width:600px){html[data-theme]:is([data-theme=neon],[data-theme=midnight],[data-theme=electric],[data-theme=crystal],[data-theme=punk]) body::before{background-position:55% center}html[data-theme=punk][data-theme-custom] .hero::after{width:140px;height:140px;opacity:.18}}

.theme-swatch[data-preview-theme=pirates]{background-image:url('/visible-music/release/p1-20261121-aenneken-v5/art/pirates-map.svg')!important;background-size:cover;background-position:center}

/* The welcome area reveals the same artwork; reading and control surfaces remain opaque. */
html[data-theme]:is([data-theme=neon],[data-theme=midnight],[data-theme=electric],[data-theme=crystal]) .hero{background-image:linear-gradient(90deg,var(--panel) 5%,color-mix(in srgb,var(--panel) 92%,transparent) 32%,color-mix(in srgb,var(--panel) 8%,transparent) 100%),var(--theme-world)!important;background-size:cover;background-position:center}
html[data-theme]:is([data-theme=neon],[data-theme=midnight],[data-theme=electric],[data-theme=crystal],[data-theme=punk]) :is(.section-heading>h2,.filters>label){background-color:var(--theme-bg,var(--bg));border-radius:3px}

/* Organic controls: palette, artwork, identifiers and stored theme values stay intact. */
html[data-theme] :is(button,select,textarea,summary,input:not([type=range]):not([type=checkbox]):not([type=color]):not([type=file])){border-radius:14px!important}
html[data-theme] :is(.set-card,.folder-source,.folder-playlist,.folder-collection,.library-item,.party-console,.theme-controls,.theme-choice,.preview-card,.ov-player,.ov-library,.ov-help,.ss-effects>section){border-radius:18px!important}
html[data-theme] button{box-shadow:0 2px 7px #0002;transition:border-color .12s,box-shadow .12s}
html[data-theme] button[aria-pressed=true]{box-shadow:0 0 0 2px color-mix(in srgb,var(--cyan) 28%,transparent),0 3px 9px #0002}
html[data-theme] .music-header nav{gap:8px}
@media(prefers-reduced-motion:reduce){html[data-theme] button{transition:none}}

/* Dark Party-TV connection panel: readable text independent of the surrounding theme.
   Inputs, selects, buttons and summaries keep their theme surface and foreground. */
html[data-theme] .tv-central{color:#f1f5ff}
html[data-theme-custom][data-theme] .tv-central :is(h2,p,label){color:#f1f5ff}
html[data-theme-custom][data-theme] .tv-central .subtle{color:#c6d4e8}

/* @nneken Neon: keep the original controls on their opaque theme surfaces. */
html[data-ui-surface="app"][data-theme="aenneken"][data-theme-custom] body {
    background-image: linear-gradient(180deg, #09091355, #090913f0 55rem),
        url("./art/aenneken-neon-dj.webp") !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: 100% 56rem, max(100%, 92rem) auto !important;
}

html[data-theme="aenneken"][data-theme-custom] .hero {
    background-image: linear-gradient(90deg, #090913fa 0%, #090913da 39%, #09091324 78%),
        url("./art/aenneken-neon-dj.webp") !important;
    background-position: center, center 94% !important;
    background-size: cover !important;
    box-shadow: inset 0 0 0 1px #75fff137, 0 0 28px #be3bbd25;
}

html[data-theme="aenneken"][data-theme-custom] :is(.tv-intro, .theme-preview) {
    background-image: linear-gradient(92deg, #11162afa 32%, #11162a5c),
        url("./art/aenneken-neon-dj.webp") !important;
    background-position: center, center 66% !important;
    background-size: cover !important;
}

[data-theme-choice="aenneken"] .theme-swatch {
    background-image: linear-gradient(90deg, #090913e8, #09091322),
        url("./art/aenneken-neon-dj.webp") !important;
    background-position: center, center 72% !important;
    background-size: cover !important;
}

@media (max-width: 640px) {
    html[data-ui-surface="app"][data-theme="aenneken"][data-theme-custom] body {
        background-position: center top, 61% top !important;
        background-size: 100% 42rem, auto 42rem !important;
    }

    html[data-theme="aenneken"][data-theme-custom] .hero {
        background-image: linear-gradient(170deg, #090913e6 15%, #090913d4 70%, #09091329 100%),
            url("./art/aenneken-neon-dj.webp") !important;
        background-position: center, 67% 70% !important;
    }
}

/* Decorative details for the clear area on the right of the Neon hero. */
html[data-theme="aenneken"][data-theme-custom] .hero-orbit {
    display: block;
    pointer-events: none;
    position: absolute;
    inset: 1rem clamp(1.1rem, 3vw, 3rem) auto auto;
    width: clamp(5rem, 18vw, 12rem);
    height: auto;
    aspect-ratio: 1;
    transform: perspective(32rem) rotateX(46deg) rotateZ(-19deg);
    border-radius: 50%;
    border: 1px solid #75fff16b;
    background:
        radial-gradient(circle, #100c20 0 3%, #ffe073 4% 5%, #9966e970 6% 13%, transparent 14%),
        repeating-radial-gradient(circle, transparent 0 5px, #8fdcdb55 6px, #150c29b0 7px 10px),
        conic-gradient(from 35deg, #1e1236bb, #75fff1ad, #260d35bd 31%, #6f3593aa 49%, #ffe07399 60%, #c2338677 75%, #1e1236bb);
    box-shadow: inset 0 0 1.2rem #080713aa, 0 .24rem .15rem #0a081bcf, 0 0 1.7rem #b457cc54;
    opacity: .62;
}

html[data-theme="aenneken"][data-theme-custom] .hero::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: .65rem .45rem auto auto;
    width: clamp(8rem, 25vw, 17rem);
    aspect-ratio: 1.6;
    transform: rotate(-9deg);
    border-radius: 48%;
    background: repeating-radial-gradient(ellipse at 62% 50%,
        transparent 0 9px, #75fff135 10px, transparent 11px 15px, #d754ae39 16px, transparent 17px 23px);
    mask-image: radial-gradient(ellipse at 62% 50%, transparent 0 24%, #000 49%, transparent 72%);
}

@media (max-width: 640px) {
    html[data-theme="aenneken"][data-theme-custom] .hero-orbit {
        inset: auto .75rem .18rem auto;
        width: clamp(3.1rem, 18vw, 5rem);
        opacity: .40;
    }

    html[data-theme="aenneken"][data-theme-custom] .hero::after {
        inset: auto .3rem .08rem auto;
        width: clamp(5rem, 25vw, 8.5rem);
        opacity: .6;
    }
}

/* The gallery backdrop remains in view below the DJ hero and across all app tabs. */
html[data-ui-surface="app"][data-theme="aenneken"][data-theme-custom] body {
    isolation: isolate;
}
html[data-ui-surface="app"][data-theme="aenneken"][data-theme-custom] body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 83% 80%, #381743c9, transparent 55%),
        radial-gradient(ellipse at 100% 51%, #113e497d, transparent 41%),
        linear-gradient(152deg, transparent 42%, #75fff121 42.2% 42.45%, transparent 42.7% 58%, #ff65cb29 58.2% 58.5%, transparent 58.8%);
}
html[data-ui-surface="app"][data-theme="aenneken"][data-theme-custom] body::after {
    content: "";
    position: fixed;
    right: clamp(-4.5rem, -5vw, -1rem);
    bottom: clamp(-8rem, -9vh, -2rem);
    width: clamp(17rem, 55vw, 50rem);
    aspect-ratio: 1;
    transform: perspective(65rem) rotateX(39deg) rotateZ(-17deg);
    z-index: -1;
    pointer-events: none;
    border: 1px solid #75fff178;
    border-radius: 50%;
    background:
        radial-gradient(circle, #090913 0 1.8%, #ffe073c9 2% 2.7%, #401a51 3% 16%, transparent 17%),
        repeating-radial-gradient(circle, transparent 0 6px, #ad9aea46 6.8px 7.8px, #09091372 8.8px 11px),
        conic-gradient(from 20deg, #19112e, #277e8999 13%, #17152c 30%, #861e696b 55%, #cda44582 68%, #090c1b 76%, #19112e);
    box-shadow: inset 0 0 3rem #11091e, 0 .4rem .8rem #080713, 0 0 4rem #823b9f66;
    opacity: .75;
}
@media (max-width:640px) {
    html[data-ui-surface="app"][data-theme="aenneken"][data-theme-custom] body::after {
        right: -5.5rem;
        bottom: -.5rem;
        opacity: .46;
    }
}
