/* Shared, local-only appearance: presentation never changes score data. */
.appearance-card h3{margin:0;font-size:16px;line-height:1.4}
.appearance-label{margin:6px 0 12px;font-size:14px;color:var(--muted)}
.appearance-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.appearance-options button{display:flex;flex-direction:column;gap:5px;align-items:stretch;min-width:0;text-align:left;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel-raised);color:var(--text);cursor:pointer}
.appearance-options button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.appearance-options button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.appearance-options strong{font-size:15px}.appearance-options small{font-size:12px;color:var(--muted)}
.appearance-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:12px 0 0}
.theme-swatch{height:54px;border:1px solid #a39b89;border-radius:7px;position:relative;overflow:hidden;display:block}
.theme-swatch i{position:absolute;inset:12px 18% 4px;background:#fff;box-shadow:0 1px 3px #0004}
.theme-swatch:after{content:'';position:absolute;right:0;top:0;width:20px;height:20px;border-radius:0 0 0 20px}
.theme-swatch-paper{background:linear-gradient(#eee9df,#faf8f2)}.theme-swatch-paper:after{background:#343a3d}
.theme-swatch-bandit{background:linear-gradient(135deg,#45464a,#15171a 65%);border-color:#64615a}.theme-swatch-bandit:after{background:linear-gradient(135deg,#f0cf86,#bb8a32)}
#basicPanel>header{align-items:flex-start;gap:12px;margin-bottom:20px}
#basicThemeSubtitle{font:14px/1.4 system-ui;margin:5px 0 0;color:#77746c}
#basicPanel h2{font-size:26px}
#basicReader .appearance-card{padding:14px;border:1px solid #c9c3b6;border-radius:10px;margin-bottom:20px}
#basicReader .appearance-options button{font-size:15px;padding:8px;min-height:44px}
#basicReader .appearance-options button[aria-pressed=true]{box-shadow:0 0 0 1px #9b7c43}
#basicReader .appearance-label,#basicReader .appearance-hint,#basicReader .appearance-options small{color:#77746c}
/* Paper: shared palette plus the normal workspace's primary surfaces. */
html:is([data-theme=paper],[data-theme=vienna]){color-scheme:light;--bg:#e8e3d8;--panel:#faf8f2;--panel-raised:#f1ede4;--line:#cfc7b8;--muted:#6c685f;--text:#343a3d;--accent:#947033;--accent-soft:#e7dcc5;--active:#34765f;--paper:#fffdf8}
html:is([data-theme=paper],[data-theme=vienna]) .library{background:linear-gradient(#f7f4ec,#eee9df)}
html:is([data-theme=paper],[data-theme=vienna]) .stage{background:radial-gradient(circle at 50% 35%,#faf8f2,#dfd9cc)}
html:is([data-theme=paper],[data-theme=vienna]) :is(.stage-header,.library-footer,.score-editor-header){background:#f0ece3;color:var(--text)}
html:is([data-theme=paper],[data-theme=vienna]) :is(.search-box,.song-row,.playlist-card,.setting-card,.settings-dialog,.score-editor-shell,.metadata-playlists,.metadata-check,.metadata-preview-card){background:var(--panel);color:var(--text);border-color:var(--line)}
html:is([data-theme=paper],[data-theme=vienna]) :is(.song-row:hover,.playlist-card:hover){background:#eee7d8}
html:is([data-theme=paper],[data-theme=vienna]) .song-row.active{background:linear-gradient(90deg,#d6e8dc,#edf3eb);border-color:#7aab92}
html:is([data-theme=paper],[data-theme=vienna]) .song-row.previewing{background:linear-gradient(90deg,#eadbb9,#f8f4e9);border-color:#a88b52}
html:is([data-theme=paper],[data-theme=vienna]) :is(.icon-button,.row-button,.header-button,.view-mode-button,.caption-tool-button,.quick-tool-button,.navigation-back,.caption-back,.meta-pill){background:#eee8db;color:#61553c;border-color:#c4b69c}
html:is([data-theme=paper],[data-theme=vienna]) :is(.row-button.load,.header-button[aria-pressed=true],.icon-button[aria-pressed=true],.view-mode-button.active,.footer-button.active){background:#e4d4b1;color:#604819;border-color:#a58a51}
html:is([data-theme=paper],[data-theme=vienna]) :is(.footer-button span,.musical-meta,.playlist-edit-button,.empty-collection strong){color:var(--text)}
html:is([data-theme=paper],[data-theme=vienna]) .metadata-preview{background:#ded8ca}
html:is([data-theme=paper],[data-theme=vienna]) .score-editor{background:#e6e0d5}
html:is([data-theme=paper],[data-theme=vienna]) :is(.settings-dialog,.score-editor-shell) :is(input:not([type=checkbox]):not([type=range]):not([type=color]),select,textarea){background:#fffdf8;color:var(--text);border-color:var(--line)}
html:is([data-theme=paper],[data-theme=vienna]) .settings-dialog :is(.music-setting-block,.segmented-setting,.metadata-display-options){background:var(--panel);color:var(--text);border-color:var(--line)}
html:is([data-theme=paper],[data-theme=vienna]) .settings-dialog button:not(.switch-button){color:var(--text);background:var(--panel-raised);border-color:var(--line)}
html:is([data-theme=paper],[data-theme=vienna]) .settings-dialog button[aria-checked=true]{background:#e5d5b1;color:#61471d}
html:is([data-theme=paper],[data-theme=vienna]) .settings-dialog :is(p,span,small){color:var(--muted)}
/* Band-IT / Stage: restrained satin-metal framing, original normal UI intact. */
html[data-theme=bandit] #app.basic-reader{background:#0d0e10!important;--basic-ink:#f2f0eb;--basic-gold:#d7a44a}
html[data-theme=bandit] #app.basic-reader .stage{background:#17191c;border-color:#62605a;box-shadow:inset 0 1px 0 #ffffff25,0 3px 12px #0008;--reader-frame-inset:1px}
html[data-theme=bandit] #app.basic-reader #viewerShell{background:radial-gradient(ellipse at top,#303236,#15171a 70%)}
html[data-theme=bandit] #basicReader{color:#f2f0eb;--accent:#d7a44a}
html[data-theme=bandit] #basicToolbar{background:linear-gradient(115deg,#36383b 0%,#202226 35%,#191b1e 72%,#343537);border-bottom:1px solid #686052;box-shadow:0 1px 0 #0008}
html[data-theme=bandit] #basicReader button{background:linear-gradient(#2e3135,#1c1e22);border-color:#55534d;color:#e4bf74;box-shadow:inset 0 1px 0 #ffffff14,0 1px 2px #0004}
html[data-theme=bandit] #basicReader button:hover{background:linear-gradient(#53432b,#342c20);border-color:#b59453}
html[data-theme=bandit] #basicReader button[aria-pressed=true]{background:#3e321e;border-color:#bc9650;color:#f4d79b}
html[data-theme=bandit] #basicReader .basic-navigation button{background:transparent;border-color:transparent;box-shadow:none}
html[data-theme=bandit] #basicReader #basicCorner{background:linear-gradient(140deg,#f0d18b,#d0a04a 65%,#a57b2b);color:#292318;box-shadow:inset 0 1px 0 #fff8,0 1px 3px #0006}
html[data-theme=bandit] #basicReader #basicPanel{background:linear-gradient(135deg,#26292d,#191c20);border-color:#55534d}
html[data-theme=bandit] #basicReader :is(input:not([type=checkbox]),select){background:#14171a;color:#f2f0eb;border-color:#50545a;color-scheme:dark}
html[data-theme=bandit] #basicReader :is(.basic-muted,#basicStatus,#basicThemeSubtitle,.appearance-label,.appearance-hint,.appearance-options small,.basic-song small){color:#adb1b7}
html[data-theme=bandit] #basicReader .appearance-card{border-color:#484b50}
html[data-theme=bandit] #basicReader .basic-song[aria-current=true]{background:#1c392e;color:#acd6c5;border-color:#548b73}
html[data-theme=bandit] #basicReader .basic-edge{background:transparent;box-shadow:none;color:#d7a44a}
html[data-theme=bandit] #basicReader .basic-edge:hover{background:#393124}
html[data-theme=bandit] .basic-brand small{color:#d0ae6c}
html[data-theme=bandit] #basicReader input[type=checkbox]{accent-color:#d7a44a}
#settingsModal .appearance-card{padding:18px;grid-column:1/-1}
#settingsModal .appearance-options{max-width:560px}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal{background:var(--bg)}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal .settings-dialog>header{background:#f0ece3;color:var(--text)}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal :is(.setting-row,.setting-row-embedded,.settings-nav,.settings-group,.metadata-display-options label){background:var(--panel);color:var(--text);border-color:var(--line)}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal .metadata-display-options label:has(input:checked){background:#e8dcc1;color:#584521}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal :is(legend,h3,h4,strong){color:var(--text)}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal .settings-group>h3{color:#836026}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal .appearance-options button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
html:is([data-theme=paper],[data-theme=vienna]) #settingsModal button.danger{color:#a53028;border-color:#b97870}
html:is([data-theme=paper],[data-theme=vienna]) :is(.current-meta strong,.song-row.active .song-title){color:#34765f}
html:is([data-theme=paper],[data-theme=vienna]) :is(.tiny-pill,.search-clear){color:#686155;border-color:#bfb5a2}
html:is([data-theme=paper],[data-theme=vienna]) .search-box kbd{color:#686155;background:#eee8dc;border-color:#c6bdac}
/* Basic 9: inset the viewport itself, so every renderer fits the same bounds. */
#app.basic-reader{--reader-top-inset:0px;--reader-page-gap:0px;--gala-rail:0px}
#app.basic-reader.basic-menu-open{--reader-top-inset:64px}
#app.basic-reader.basic-page-gap{--reader-page-gap:10px}
#app.basic-reader .stage,#app.basic-reader.basic-menu-open .stage{padding-top:calc(var(--reader-top-inset) + var(--reader-page-gap))!important;padding-bottom:var(--reader-page-gap)!important;padding-left:var(--gala-rail)!important}
@media(max-width:1250px){#app.basic-reader.basic-menu-open{--reader-top-inset:108px}}
/* Modern Gala: midnight blue, silver framing and a separate satin/crystal rail. */
html:is([data-theme=gala],[data-theme=live]){color-scheme:dark;--bg:#101c2d;--panel:#17283d;--panel-raised:#20354f;--line:#53667c;--muted:#afbfce;--text:#eef2f7;--accent:#c4d5e8;--accent-soft:#334d6a;--active:#9dceb9}
.theme-swatch-gala{background:#10243c url('assets/themes/modern-gala.webp') center 35%/cover;border-color:#8c9eb1}
.theme-swatch-gala:after{background:#18334f;border-left:1px solid #dbe4ef;border-bottom:1px solid #dbe4ef}
#settingsModal .appearance-options{max-width:780px;grid-template-columns:repeat(3,minmax(0,1fr))}
#basicReader .appearance-options [data-theme-choice=gala]{grid-column:1/-1}
html:is([data-theme=gala],[data-theme=live]) :is(.library,.stage-header,.library-footer,.settings-dialog,.settings-dialog>header,.setting-card,.setting-row){background:linear-gradient(125deg,#243952,#102137);border-color:#53667c;color:#eef2f7}
html:is([data-theme=gala],[data-theme=live]) :is(.icon-button,.row-button,.header-button,.view-mode-button,.caption-tool-button,.navigation-back){background:linear-gradient(#304762,#182b41);border-color:#70829a;color:#e7eef6}
html:is([data-theme=gala],[data-theme=live]) .stage{background:radial-gradient(ellipse at top,#344d68,#0c1a2c)}
html:is([data-theme=gala],[data-theme=live]) #app.basic-reader{background:#0c1829!important;--gala-rail:var(--reader-decoration-width,clamp(65px,8vw,135px))}
html:is([data-theme=gala],[data-theme=live]) #app.basic-reader .stage{border-color:#acb8c8;background:#10243c;box-shadow:inset 0 0 0 1px #dce6f355,0 3px 12px #0008;--reader-frame-inset:1px}
html:is([data-theme=gala],[data-theme=live]) #app.basic-reader:before{content:'';position:absolute;left:11px;top:11px;bottom:11px;width:var(--gala-rail);background:#10243c url('assets/themes/modern-gala.webp') center/cover;border-right:2px solid #b3c2d4;border-radius:12px 0 0 12px;pointer-events:none;z-index:34;box-sizing:border-box}
html:is([data-theme=gala],[data-theme=live]) #app.basic-reader #viewerShell{background:radial-gradient(ellipse at top,#304861,#102137)}
html:is([data-theme=gala],[data-theme=live]) #basicReader{color:#eef2f7;--accent:#c4d5e8}
html:is([data-theme=gala],[data-theme=live]) #basicToolbar{background:linear-gradient(115deg,#2e4661,#12273f 60%,#243e5b);border-bottom:1px solid #b1bfd1;box-shadow:0 1px 0 #ffffff22}
html:is([data-theme=gala],[data-theme=live]) #basicReader button{background:linear-gradient(#2b425c,#162b43);border-color:#8392a6;color:#eef2f7;box-shadow:inset 0 1px 0 #ffffff25}
html:is([data-theme=gala],[data-theme=live]) #basicReader button:hover,html:is([data-theme=gala],[data-theme=live]) #basicReader button[aria-pressed=true]{background:#3b5674;border-color:#d5e0ed}
html:is([data-theme=gala],[data-theme=live]) #basicReader .basic-navigation button{background:transparent;border-color:transparent;box-shadow:none}
html:is([data-theme=gala],[data-theme=live]) #basicReader #basicCorner{background:linear-gradient(135deg,#304e6e,#0d2037);color:#eef3fa;border:1px solid #c8d4e2;box-shadow:inset 0 0 0 2px #56718d}
html:is([data-theme=gala],[data-theme=live]) #basicReader #basicPanel{background:linear-gradient(135deg,#253c55,#11243b);border-color:#9cadbf}
html:is([data-theme=gala],[data-theme=live]) #basicReader :is(input:not([type=checkbox]),select){background:#102137;color:#eef2f7;border-color:#6e839b;color-scheme:dark}
html:is([data-theme=gala],[data-theme=live]) #basicReader :is(.basic-muted,#basicStatus,#basicThemeSubtitle,.appearance-label,.appearance-hint,.appearance-options small,.basic-song small){color:#bdcddd}
html:is([data-theme=gala],[data-theme=live]) #basicReader .appearance-card{border-color:#70849c}
html:is([data-theme=gala],[data-theme=live]) #basicReader .basic-song[aria-current=true]{background:#244837;color:#cde6da;border-color:#8dbca6}
html:is([data-theme=gala],[data-theme=live]) #basicReader .basic-edge{background:transparent;color:#e1eaf6;box-shadow:none}
html:is([data-theme=gala],[data-theme=live]) #basicEdgePrevious{left:calc(11px + var(--gala-rail))}
html:is([data-theme=gala],[data-theme=live]) :is(.basic-brand small,#basicSettings>small){color:#c1d2e6}
html:is([data-theme=gala],[data-theme=live]) #basicReader input[type=checkbox]{accent-color:#b8cce3}
@media(max-width:700px){html:is([data-theme=gala],[data-theme=live]) #app.basic-reader{--gala-rail:var(--reader-decoration-width,24px)}}
@media(max-width:500px){html:is([data-theme=gala],[data-theme=live]) #app.basic-reader:before{left:7px;top:7px;bottom:7px}#settingsModal .appearance-options{grid-template-columns:1fr 1fr}#settingsModal [data-theme-choice=gala]{grid-column:1/-1}}

/* Live Party: fourth skin. Shared sizing with Gala, independent visual palette. */
.theme-swatch-live{background:#07172c url('assets/themes/live-party.webp') center 45%/cover;border-color:#538abc}
.theme-swatch-live:after{background:#0b284b;border-left:1px solid #8dbce8;border-bottom:1px solid #8dbce8}
#basicReader .appearance-options [data-theme-choice=gala],#basicReader .appearance-options [data-theme-choice=live]{grid-column:auto}
#settingsModal .appearance-options{grid-template-columns:repeat(4,minmax(0,1fr));max-width:980px}
html[data-theme=live]{--bg:#071326;--panel:#0e233e;--panel-raised:#142e50;--line:#41688e;--muted:#a4bad2;--text:#ecf3fb;--accent:#e3ba73;--accent-soft:#3b3540;--active:#8cc6b2}
html[data-theme=live] #app.basic-reader{background:#050e1d!important}
html[data-theme=live] #app.basic-reader:before{background-image:url('assets/themes/live-party.webp');border-right-color:#6491bc}
html[data-theme=live] #app.basic-reader .stage{border-color:#5489b9;box-shadow:inset 0 0 0 2px #316b9b99,0 3px 12px #0008;--reader-frame-inset:2px}
html[data-theme=live] #app.basic-reader #viewerShell{background:radial-gradient(ellipse at top,#142c49,#061326 75%)}
html[data-theme=live] #basicToolbar{background:linear-gradient(115deg,#173a60,#081b32 60%,#112b4b);border-bottom-color:#5a87b1}
html[data-theme=live] #basicReader button{background:linear-gradient(#193b60,#0b203b);border-color:#5383b0;color:#eef5ff}
html[data-theme=live] #basicReader button:hover,html[data-theme=live] #basicReader button[aria-pressed=true]{background:#26496c;border-color:#a4c9ed}
html[data-theme=live] #basicReader .basic-navigation button{background:transparent;border-color:transparent}
html[data-theme=live] #basicReader #basicCorner{background:linear-gradient(140deg,#183e68,#07192e);border-color:#9bc5eb;box-shadow:inset 0 0 0 2px #2e6494}
html[data-theme=live] #basicReader #basicPanel{background:linear-gradient(135deg,#183352,#08192d);border-color:#608fba}
html[data-theme=live] #basicReader .basic-edge{background:transparent;border:0}
html[data-theme=live] .basic-brand small{color:#dfbb7a}
@media(max-width:700px){#settingsModal .appearance-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){#settingsModal [data-theme-choice=gala]{grid-column:auto}}

/* Basic 11: full-width ribbon above decorative rail; accessible drag divider. */
html:is([data-theme=gala],[data-theme=live]) #basicToolbar,
html:is([data-theme=gala],[data-theme=live]) #app.basic-left #basicToolbar{left:11px;right:11px;border-radius:12px 12px 0 0}
#basicDecorationResize{position:fixed;z-index:39;top:calc(11px + var(--reader-top-inset));bottom:11px;left:calc(11px + var(--gala-rail) - 7px);width:14px;cursor:col-resize;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}
#basicDecorationResize:after{content:'';position:absolute;left:5px;top:calc(50% - 24px);height:48px;width:4px;border-radius:4px;background:#d0dff1aa;box-shadow:0 0 3px #10243c;transition:background .15s}
#basicDecorationResize:hover:after,#basicDecorationResize:focus-visible:after,#basicDecorationResize[data-dragging]:after{background:#f4f8ff;box-shadow:0 0 0 2px #407cad}
#app.basic-decoration-dragging{cursor:col-resize;user-select:none;-webkit-user-select:none}
@media(max-width:500px){
 html:is([data-theme=gala],[data-theme=live]) #basicToolbar,html:is([data-theme=gala],[data-theme=live]) #app.basic-left #basicToolbar{left:7px;right:7px}
 #basicDecorationResize{top:calc(7px + var(--reader-top-inset));bottom:7px;left:calc(7px + var(--gala-rail) - 7px)}
}

/* Basic 12: one continuous backdrop; only the viewport gets inset. */
html:is([data-theme=gala],[data-theme=live]) #app.basic-reader .stage{background:radial-gradient(ellipse at top,#304861,#102137)}
html[data-theme=live] #app.basic-reader .stage{background:radial-gradient(ellipse at top,#142c49,#061326 75%)}
html:is([data-theme=gala],[data-theme=live]) #app.basic-reader #viewerShell{background:transparent}
#app.basic-reader{--reader-side-gap:0px}
#app.basic-reader.basic-side-gap{--reader-side-gap:10px}
#app.basic-reader .stage,#app.basic-reader.basic-menu-open .stage{padding-left:calc(var(--gala-rail) + var(--reader-side-gap))!important;padding-right:var(--reader-side-gap)!important}
/* The whole divider remains draggable; focus is visible for keyboard users. */
#basicDecorationResize:after{display:none}
#basicDecorationResize:focus-visible{outline:2px solid var(--accent);outline-offset:-5px}







/* Basic 13: collection rows share geometry; the initial gap equals row spacing. */
.song-list{--list-row-height:62px;--list-row-gap:6px;padding-top:var(--list-row-gap)}
.song-list .song-row{margin:0 0 var(--list-row-gap)}
.song-list .song-row.setlist-child{margin-left:12px}
.song-list .song-row.setlist-child-last{margin-bottom:12px}
.song-list .playlist-root{gap:var(--list-row-gap)}
.song-list .playlist-card{min-height:var(--list-row-height);padding:7px 8px}
.song-list .setlist-block{min-height:var(--list-row-height);margin:0 0 var(--list-row-gap);padding:7px 8px 7px 12px}
@media (orientation:landscape) and (max-width:760px){.song-list{--list-row-height:52px}.song-list .playlist-card{padding-block:4px}.song-list .playlist-symbol{height:34px}}
@media (orientation:portrait){.song-list{--list-row-height:58px;padding-top:var(--list-row-gap)}.song-list .playlist-card{padding-block:6px}.song-list .playlist-symbol{height:38px}}


/* Shared component skin contract. Score surfaces deliberately excluded. */
html[data-theme]:not([data-theme=bandit][data-palette=classic]){--control:var(--panel-raised);--field:#101215;--selected:var(--accent-soft);--selected-ink:var(--text);--selection-border:var(--accent);--danger:#f2b4ac;--danger-bg:#482c34;--success:#b1ddc9;--success-bg:#214537}
html:is([data-theme=paper],[data-theme=vienna]){--control:#eee8db;--field:#fffdf8;--group-bg:#f0f3ec;--selected:#e4d4b1;--selected-ink:#604819;--danger:#a33028;--danger-bg:#f5e7e2;--success:#2b6c53;--success-bg:#e0ece3}
html:is([data-theme=gala],[data-theme=live]){--control:var(--panel-raised);--field:#101215;--group-bg:#162b3b;--selected:#29435e;--selection-border:#7599ba;--selected-ink:var(--text);--danger:#f2b4ac;--danger-bg:#482c34;--success:#b1ddc9;--success-bg:#214537}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-modal,.creator-workspace,.annotation-editor,.native-lab,.native-chord-editor,.ocr-review-dialog,.ocr-progress-dialog,.native-choice,.key-picker-dialog,.annotation-library-panel){color:var(--text);color-scheme:inherit}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.workspace-header,.source-card,.history-row,.empty-inline,.import-review-row,.source-icon,.source-count,.bulk-set-field,.workspace-steps span,.score-editor-shell,.score-editor-header,.metadata-preview-card,.metadata-playlists,.metadata-check,.metadata-playlist-option,.metadata-file-name-control,.artist-picker,.artist-picker-menu,.settings-dialog,.settings-dialog>header,.setting-card,.setting-row,.settings-nav,.settings-group,.music-setting-block,.segmented-setting,.metadata-display-options,.tool-menu-dialog,.tool-menu-dialog>header,.app-message-dialog,.creator-meta-card,.creator-workspace,.creator-header,.creator-footer,.creator-sidebar,.creator-design-card,.creator-part,.creator-view-switch,.creator-artist-suggestions,.annotation-editor,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-document-panel,.annotation-page-toolbar,.annotation-layer-controls,.annotation-card,.annotation-tool-card,.annotation-format-card,.annotation-selection-card,.music-current-card,.music-group,.notes-panel,.timing-fixed,.native-lab,.native-shell,.native-top,.native-side,.native-controls,.native-report,.native-chord-editor,.native-chord-selection,.native-chord-format,.ocr-review-dialog,.ocr-review-dialog header,.ocr-review-dialog footer,.ocr-summary,.ocr-document,.ocr-review-controls,.ocr-progress-dialog,.native-choice,.key-picker-dialog,.key-picker-column,.key-picker-column h3,.artist-combobox-control,.artist-suggestions,.metadata-select-shell,.annotation-library-panel,.annotation-panel-header,.annotation-panel-toolbar,.annotation-segmented,.annotation-pro-group,.annotation-palette-group,.editor-song,.editor-song-row,.playlist-column,.playlist-toolbar,.backup-panel,.picker-mode-switch,.creator-preview-toolbar,.annotation-document-toolbar,.song-row,.search-box,.playlist-card,.editor-song-row,.editor-song-list,.playlist-editor-toolbar,.playlist-editor-footer,.annotation-chord-fixed,.annotation-palette-group>strong,.annotation-tabs,.column-heading,.editor-search,.playlist-bandit-keyboard,:where(#bandLinkState),.band-link-quick,:where(#bandLinkNotice),.quick-list,.quick-list-header,.quick-search,.quick-keyboard,.toast,.workspace-footer,.bulk-setlists-field,.import-artist-suggestions){background:var(--panel)!important;color:var(--text);border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(h1,h2,h3,h4,strong,label,legend){color:var(--text)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(p,small,.hint,.muted){color:var(--muted)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(button,.button,.metadata-playlist-option,.artist-chip){background:var(--control)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:var(--field)!important;color:var(--text)!important;border-color:var(--line)!important;color-scheme:inherit}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--accent)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) button:not(:disabled):hover{background:var(--accent-soft)!important;color:var(--selected-ink)!important;border-color:var(--selection-border)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(button.active,button[aria-pressed=true],button[aria-checked=true],button[aria-selected=true]){background:var(--selected)!important;color:var(--selected-ink)!important;border-color:var(--selection-border)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(button.danger,.danger-button,.button.danger,.danger-action){background:var(--danger-bg)!important;color:var(--danger)!important;border-color:var(--danger)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(button,input,select,textarea):focus-visible{outline-color:var(--accent)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-steps,.workspace-steps li,.creator-source-hint,.creator-part-label,.creator-meta-card p,.creator-meta-card label,.creator-meta-card small,.creator-meta-modal .creator-resume){color:var(--muted)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-steps li.active span){background:var(--selected)!important;color:var(--selected-ink);border-color:var(--selection-border)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.storage-badge,.history-row>span,.workspace-steps li.complete span){background:var(--success-bg);color:var(--success);border-color:var(--success)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.metadata-preview,.creator-preview-scroll,.annotation-viewport,.native-preview,.native-chord-scroll,.ocr-paper-scroll){background:var(--bg)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.metadata-file-name-control span,.creator-header small,.creator-meta-card>small,.creator-design-card summary,.annotation-tool-panel summary,.native-chord-editor h3,.native-chord-format summary){color:var(--accent)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.creator-workspace,.annotation-editor,.native-lab,.native-chord-editor,.ocr-review-dialog) input[type=color]{background:var(--control);border-color:var(--line)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.creator-part summary,.creator-required,.creator-pane-heading small,.source-card.primary .source-icon){color:var(--accent)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.creator-part small,.creator-meta-card label span,.annotation-panel-toolbar span,.annotation-current-selection span,.annotation-library-panel .timing-hint){color:var(--muted)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(#creatorSaveStatus,.empty-inline>span){color:var(--success)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.song-row.active,.song-row.active .song-title,.playlist-card.active){background:var(--success-bg)!important;color:var(--success);border-color:var(--success)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.song-row.previewing,.playlist-card:hover){background:var(--selected)!important;color:var(--selected-ink);border-color:var(--selection-border)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .creator-workspace .creator-identity{background:transparent!important;border-color:transparent!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.annotation-document-scroller,.stage.annotation-editing .annotation-editor){background:var(--bg)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #annotationToolPanel details>summary{color:var(--accent)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #annotationToolPanel details>summary span{color:var(--muted)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #annotationToolPanel input[type=color]{background:var(--control);border-color:var(--line)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #annotationWatermarkPanel label{color:var(--text)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .creator-view-switch button{background:var(--control)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .creator-view-switch button[aria-pressed=true]{background:var(--selected)!important;color:var(--selected-ink)!important;border-color:var(--selection-border)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #bandLinkCard :is(p,.band-link-note,.band-link-heading span,#bandLinkReportStatus){color:var(--muted)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #bandLinkCard :is(summary,.band-link-heading strong,#bandLinkFeedback){color:var(--accent)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #bandLinkProgress{background:var(--selected);border-color:var(--accent);color:var(--selected-ink)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #bandLinkCard[data-state=READY] :is(#bandLinkProgress,#bandLinkState){background:var(--success-bg);color:var(--success);border-color:var(--success)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #bandLinkCard[data-error=true] #bandLinkProgress{background:var(--danger-bg);color:var(--danger);border-color:var(--danger)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) #bandLinkProgress strong{color:inherit}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .music-symbol-grid button{color:var(--text)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(.key-picker-trigger,.review-key-picker,.metadata-select-shell,.artist-combobox-control,.import-artist-control){background:var(--field)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(.key-picker-trigger,.review-key-picker,.metadata-select-shell,.artist-combobox-control,.import-artist-control):hover{background:var(--field)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(#searchBox,.search-box,.quick-search,.editor-search){background:var(--field)!important;color:var(--text);border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.library,.quick-list,#basicPanel) :is(input:not([type=checkbox]):not([type=range]):not([type=color]),select,textarea){background:var(--field)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(.artist-chip,.import-artist-chip,.metadata-playlist-option,.bulk-setlist-options label){background:var(--control)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) .metadata-playlist-option:has(input:checked){background:var(--control)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(.artist-chip,.import-artist-chip) button{background:transparent!important;color:inherit!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(.import-artist-toggle,.import-artist-commit,.artist-toggle,.artist-combobox-toggle){background:transparent!important;color:var(--muted)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) :is(.import-artist-control,.artist-combobox-control)>input{background:transparent!important;border-color:transparent!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.workspace-card,.score-editor-shell,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.creator-meta-card,.creator-header,.creator-sidebar,.creator-source,.creator-structure,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.annotation-page-toolbar,.native-top,.native-side,.native-chord-editor header,.native-chord-editor aside,.native-chord-editor footer,.ocr-review-dialog header,.ocr-review-controls,.ocr-review-dialog footer,.ocr-page-tools,.ocr-progress-dialog,.native-choice,.native-controls,.key-picker-dialog,.annotation-library-panel,.creator-source-pane,.creator-structure-pane,.creator-view-switch,.creator-preview-toolbar,.annotation-document-toolbar,#bandLinkCard,#bandLinkNotice,.quick-list,.library-footer) .footer-button.active{background:var(--selected)!important;color:var(--selected-ink)!important;border-color:var(--selection-border)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .footer-button.active span{color:var(--selected-ink)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .workspace-card #importReviewPanel .workspace-footer{background:var(--panel)!important;border-color:var(--line)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.import-artist-suggestions,.artist-suggestions) button:focus-visible{outline:2px solid var(--selection-border)!important;outline-offset:-2px}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.song-row.active,.playlist-card.active){background:var(--success-bg)!important;color:var(--success);border-color:var(--success)!important}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .song-row.active .song-title{background:transparent!important;color:var(--success)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) :is(.playlist-symbol,.setlist-block){background:var(--control);color:var(--text);border-color:var(--line)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .setlist-block[aria-expanded=true]{background:var(--success-bg);color:var(--success);border-color:var(--success)}
html[data-theme]:not([data-theme=bandit][data-palette=classic]) .song-row.setlist-child:not(.active):not(.previewing){background:var(--group-bg,var(--panel))!important;border-color:var(--line)!important;border-left-color:var(--success)!important}

/* Basic 14: palette semantics are shared by all themes and both workspaces. */
html:is([data-theme=paper],[data-theme=vienna])[data-palette=classic]{--state-accent:#a27b3b;--state-ink:#25282b;--state-current:#e0ece3;--state-current-ink:#343a3d;--state-preview:#af8b4c;}
html:is([data-theme=paper],[data-theme=vienna])[data-palette=ink]{--state-accent:#567184;--state-ink:#25282b;--state-current:#dce5ed;--state-current-ink:#343a3d;--state-preview:#9b8b79;}
html:is([data-theme=paper],[data-theme=vienna])[data-palette=sage]{--state-accent:#668273;--state-ink:#25282b;--state-current:#e0e8dc;--state-current-ink:#343a3d;--state-preview:#a38363;}
html:is([data-theme=paper],[data-theme=vienna])[data-palette=rose]{--state-accent:#a67579;--state-ink:#25282b;--state-current:#f0e0e0;--state-current-ink:#343a3d;--state-preview:#89809f;}
html[data-theme=bandit][data-palette=classic]{--state-accent:#d7a44a;--state-ink:#14202a;--state-current:#244838;--state-current-ink:#eef4fa;--state-preview:#d7a44a;}
html[data-theme=bandit][data-palette=copper]{--state-accent:#d39a73;--state-ink:#14202a;--state-current:#49352d;--state-current-ink:#eef4fa;--state-preview:#91a7ad;}
html[data-theme=bandit][data-palette=steel]{--state-accent:#a7becb;--state-ink:#14202a;--state-current:#2e424d;--state-current-ink:#eef4fa;--state-preview:#c8ac86;}
html[data-theme=bandit][data-palette=wine]{--state-accent:#d195a3;--state-ink:#14202a;--state-current:#4b2d3b;--state-current-ink:#eef4fa;--state-preview:#baa5d4;}
html[data-theme=gala][data-palette=ice]{--state-accent:#c4d5e8;--state-ink:#14202a;--state-current:#334d6a;--state-current-ink:#eef4fa;--state-preview:#9eb6cf;}
html[data-theme=gala][data-palette=pearl]{--state-accent:#dfd9d2;--state-ink:#14202a;--state-current:#4c4b5b;--state-current-ink:#eef4fa;--state-preview:#aebfd9;}
html[data-theme=gala][data-palette=sapphire]{--state-accent:#94b6ea;--state-ink:#14202a;--state-current:#263f68;--state-current-ink:#eef4fa;--state-preview:#c0b4db;}
html[data-theme=gala][data-palette=amethyst]{--state-accent:#c4afd9;--state-ink:#14202a;--state-current:#423b5d;--state-current-ink:#eef4fa;--state-preview:#b2c7da;}
html[data-theme=live][data-palette=cyan]{--state-accent:#35d7ee;--state-ink:#14202a;--state-current:#164b68;--state-current-ink:#eef4fa;--state-preview:#b393ed;}
html[data-theme=live][data-palette=electric]{--state-accent:#83b9ff;--state-ink:#14202a;--state-current:#254576;--state-current-ink:#eef4fa;--state-preview:#bd8bea;}
html[data-theme=live][data-palette=magenta]{--state-accent:#e19bd5;--state-ink:#14202a;--state-current:#583451;--state-current-ink:#eef4fa;--state-preview:#88c6ee;}
html[data-theme=live][data-palette=sunset]{--state-accent:#f1ab82;--state-ink:#14202a;--state-current:#623d45;--state-current-ink:#eef4fa;--state-preview:#ad99ed;}
html[data-palette]:not([data-theme=bandit][data-palette=classic]){--accent:var(--state-accent);--selected:var(--state-current);--selected-ink:var(--state-current-ink);--selection-border:var(--state-accent);--success-bg:var(--state-current);--success:var(--state-current-ink)}
html:is([data-theme=paper],[data-theme=vienna])[data-palette=classic]{--accent:#947033;--selected:#e4d4b1;--selected-ink:#604819;--selection-border:#947033;--success-bg:#e0ece3;--success:#2b6c53}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) :is(#songList,#quickSongList) :is(.song-row.previewing,.quick-song-row.previewing){background:var(--panel)!important;border:2px solid var(--state-preview)!important;color:var(--text)!important}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) :is(.tab.active,.view-mode-button.active,.header-button[aria-pressed=true],.icon-button[aria-pressed=true]){background:var(--state-accent)!important;color:var(--state-ink)!important;border-color:var(--state-accent)!important;box-shadow:inset 0 0 0 1px var(--state-accent)}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) #annotationLayerQuickToggle[aria-pressed=false]{background:var(--panel-raised)!important;color:var(--muted)!important;border:1px solid var(--line)!important;box-shadow:none}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) #annotationLayerQuickToggle[aria-pressed=true]{background:var(--state-accent)!important;color:var(--state-ink)!important;border:2px solid var(--state-accent)!important;box-shadow:inset 0 0 0 1px var(--state-ink)}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) #basicReader button[aria-pressed=true]{background:var(--state-accent)!important;color:var(--state-ink)!important;border-color:var(--state-accent)!important}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) #basicReader .basic-song[aria-current=true]{background:var(--state-current)!important;color:var(--state-current-ink)!important;border-color:var(--state-accent)!important}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) :is(.song-row.active .song-title,.current-meta strong){color:var(--state-current-ink)}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) :is(#settingsModal,#basicReader) input[type=checkbox]{accent-color:var(--state-accent)}
html[data-palette]:not([data-theme=bandit][data-palette=classic]) .setlist-block[aria-expanded=true] .setlist-block-arrow{color:var(--state-current-ink)}
/* The three customization cards use the same layout in both settings surfaces. */
[data-appearance]{min-width:0}
[data-appearance]>.customization-card{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}
.customization-card h4{font:700 17px/1.4 system-ui;margin:0 0 12px}
.customization-card>label{display:flex;flex-direction:column;gap:8px;margin:12px 0;font-size:14px}
.customization-card>[data-score-presentation-size-label][hidden]{display:none!important}
.customization-card>label.customization-check{flex-direction:row;align-items:center;gap:10px;line-height:1.4}
.customization-card select{min-height:40px;max-width:360px;width:100%;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text)}
.customization-check input{width:18px!important;height:18px!important;flex:none}
#basicReader [data-appearance]>.customization-card{border-color:var(--line)}
#basicReader .customization-card h4{color:var(--text)}
#basicReader .appearance-card{padding:0;border:0}
#settingsModal [data-appearance] .appearance-options{max-width:none}
/* Theme showcase is a native modal dialog with a draft-only preview. */
#themeShowcase{width:min(1380px,96vw);max-width:96vw;max-height:94dvh;margin:auto;padding:0;border:1px solid #4a6581;border-radius:18px;background:#0f2035;color:#eef5fb;font:14px/1.4 system-ui;box-sizing:border-box;overflow:auto;box-shadow:0 24px 90px #0008}
#themeShowcase::backdrop{background:#050b14bb;backdrop-filter:blur(5px)}
#themeShowcase *{box-sizing:border-box}
#themeShowcase button{font:inherit;cursor:pointer;border:1px solid #4b6580;border-radius:9px;background:#193149;color:#eef5fb;padding:10px;min-height:42px}
#themeShowcase button:hover{border-color:var(--demo-accent)}
#themeShowcase button:focus-visible{outline:3px solid var(--demo-accent);outline-offset:3px}
.showcase-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 24px;border-bottom:1px solid #344b64}
.showcase-heading h2{margin:5px 0;font-size:27px}.showcase-heading p{margin:0;color:#aec1d5}.showcase-heading small{color:#aec1d5}.showcase-heading>button{font-size:22px!important;width:42px}
.showcase-layout{display:grid;grid-template-columns:155px minmax(0,1fr);gap:20px;padding:20px}
.showcase-gallery{display:flex;flex-direction:column;gap:10px;border-right:1px solid #344b64;padding-right:16px}
#themeShowcase .showcase-gallery button{text-align:left;padding:8px;font-size:12px}.showcase-gallery .theme-swatch{height:60px;margin-bottom:6px}
#themeShowcase .showcase-gallery button[aria-pressed=true],#themeShowcase .showcase-palettes button[aria-pressed=true]{border:2px solid var(--demo-accent);background:#203b52;box-shadow:0 0 0 1px #0003}
.showcase-main{min-width:0}.showcase-pair{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #46637e;border-radius:12px;overflow:hidden}
.showcase-pair figure{margin:0;min-width:0;padding:10px}.showcase-pair figure+figure{border-left:1px solid #46637e}.showcase-pair figcaption{text-align:center;font-weight:700;padding-top:10px}
.showcase-app{background:#10253e;border:1px solid #526c85;border-radius:8px;overflow:hidden;color:#eaf2fa}.showcase-app>header{height:32px;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;background:#19344e;padding-right:8px}.showcase-corner{width:32px;height:32px;border-radius:0 0 100% 0;background:var(--demo-accent);color:#15212b;padding:3px}
.showcase-work{display:flex;min-height:280px;height:min(40vh,380px);position:relative}.showcase-decoration{width:20%;background:linear-gradient(120deg,#253b50,#0d192b);padding:10px 4px;color:#dbe8f6;font-size:9px}.showcase-sheet{min-width:0;flex:1;display:flex;align-items:center;justify-content:center;padding:10px}.showcase-sheet svg{height:100%;max-width:100%;filter:drop-shadow(0 2px 5px #0005)}
.showcase-advanced .showcase-decoration{display:none}.showcase-work aside{width:39%;min-width:0;font-size:9px;padding:8px 4px;background:#10213a;border-left:1px solid #48637e}.showcase-work aside>b{font-size:12px}.showcase-search{background:#101215;color:#9eaebe;padding:6px;margin:6px 0;border-radius:4px}.showcase-tabs{font-size:8px;margin:8px 0}.showcase-tabs b{background:var(--demo-accent);color:#122230;padding:3px}.showcase-song{padding:9px 4px;border:1px solid #46617b;border-radius:5px;margin-top:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.showcase-song small{display:block;color:inherit;opacity:.8;font-size:7px}.showcase-song.current{background:var(--demo-current);border-left:4px solid var(--demo-accent);color:white}.showcase-song.preview{border-color:var(--demo-preview)}.showcase-work aside footer{margin-top:18px;text-align:center}
.showcase-bottom{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #46637e;border-radius:12px;background:#172e46}.showcase-palettes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:1;min-width:0}.showcase-palettes button{text-align:left;min-width:0}.showcase-palettes strong{display:block;font-size:11px}.showcase-palettes span{display:flex;gap:6px;margin-top:8px}.showcase-palettes i{height:22px;width:22px;border-radius:50%;border:1px solid #ffffff55}.showcase-actions{display:flex;gap:8px;flex-wrap:wrap}#themeShowcase [data-showcase-apply]{background:var(--demo-accent);color:#122230;font-weight:700;border-color:var(--demo-accent)}.showcase-note{font-size:12px;color:#b2c5d8;margin:10px 0}
#themeShowcase[data-preview-theme=live] .showcase-decoration{background:#07172c url('assets/themes/live-party.webp') center/cover}
#themeShowcase[data-preview-theme=gala] .showcase-decoration{background:#10243c url('assets/themes/modern-gala.webp') center/cover}
#themeShowcase[data-preview-theme=bandit] .showcase-app{background:#191c20}#themeShowcase[data-preview-theme=bandit] .showcase-app>header,#themeShowcase[data-preview-theme=bandit] .showcase-work aside{background:#25282c}
#themeShowcase[data-preview-theme=paper] .showcase-app{background:#e8e3d8;color:#343a3d}#themeShowcase[data-preview-theme=paper] .showcase-app>header,#themeShowcase[data-preview-theme=paper] .showcase-work aside{background:#faf8f2;color:#343a3d}#themeShowcase[data-preview-theme=paper] .showcase-decoration{background:linear-gradient(90deg,#d6d0c3,#f3eee4);color:#635e53}
@media(max-width:1100px){.showcase-bottom{flex-direction:column;align-items:stretch}.showcase-actions{justify-content:flex-end}.showcase-layout{grid-template-columns:125px minmax(0,1fr);gap:12px;padding:14px}}
@media(max-width:700px){#themeShowcase{width:98vw;max-width:98vw}.showcase-heading{padding:14px}.showcase-layout{display:block}.showcase-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-right:0;border-bottom:1px solid #344b64;padding:0 0 12px;margin-bottom:12px}.showcase-gallery .theme-swatch{height:36px}.showcase-pair{grid-template-columns:1fr}.showcase-pair figure+figure{border-left:0;border-top:1px solid #46637e}.showcase-work{height:340px}.showcase-palettes{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase-actions button{flex:1}}
html[data-palette] .song-row.active .song-title{color:var(--success)}
html:is([data-theme=paper],[data-theme=vienna])[data-palette] .current-meta strong{color:var(--state-current)}
#basicReader .customization-card>label.customization-check{display:flex;flex-direction:row;align-items:center;gap:10px;font-weight:400}
#basicReader .appearance-options button[aria-pressed=true] :is(strong,small){color:var(--state-ink)!important}

.showcase-capture{display:block;width:100%;height:auto;border:1px solid #526c85;border-radius:8px;background:#10253e}
html[data-theme] .score-editor-shell .metadata-favorite-toggle{color:var(--state-accent)!important;background:transparent!important;box-shadow:none!important;outline:none}
html[data-theme] .score-editor-shell .metadata-favorite-toggle:hover{background:transparent!important}
html[data-theme] .metadata-favorite-toggle:has(input:focus-visible){outline:2px solid var(--state-accent);outline-offset:2px}
html[data-theme] .metadata-favorite-toggle svg{pointer-events:none}
html[data-theme=bandit][data-palette=classic]{--control:#1b1e22;--field:#101215;--selected:#5c4520;--selected-ink:#f2f0eb;--selection-border:#d7a44a;--success:#69b59b;--success-bg:#244838}
html[data-theme=bandit][data-palette=classic] .current-meta strong{color:#69b59b}
html[data-theme=bandit][data-palette=classic] #annotationLayerQuickToggle[aria-pressed=true]{background:#d7a44a!important;color:#1b160d!important;border:2px solid #d7a44a!important;box-shadow:inset 0 0 0 1px #1b160d}
html[data-theme=bandit][data-palette=classic] #annotationLayerQuickToggle[aria-pressed=false]{background:#1b1e22!important;color:#8d929b!important;border:1px solid #2a2d32!important;box-shadow:none}

/* Basic 21: light surfaces and palette-aware metadata feedback. */
html[data-tone=light][data-palette]:root{--field:#fff;--list-surface:#fff;color-scheme:light}
html[data-tone=light][data-palette] :is(.song-row,.quick-song-row,.basic-song):not(.active):not(.previewing):not([aria-current=true]),
html[data-tone=light][data-palette] :is(.metadata-assignment-list label,.artist-combobox-menu,.import-artist-menu){background:#fff!important;color:var(--text)!important}
html[data-tone=light][data-palette] .current-meta strong{color:var(--text)}
html[data-theme] .score-editor-shell .edit-status.dirty{color:var(--state-accent);border-color:var(--state-accent);background:color-mix(in srgb,var(--state-accent) 12%,var(--panel))}
html[data-theme] .score-editor-shell .edit-status.saved{color:var(--state-current-ink);border-color:var(--state-accent);background:var(--state-current)}
html[data-tone=light] .score-editor-shell .edit-status.dirty{color:var(--text)}

html[data-tone=light][data-palette]:root :is(.metadata-check,.metadata-playlist-option,.artist-suggestions,.import-artist-suggestions,.editor-song-row,.playlist-card){background:#fff!important;color:var(--text)!important}

/* Basic 21: ballroom collection — common geometry, independent material and palette. */
html[data-theme=vienna][data-palette]:root{--bg:#e6ddcd;--panel:#fbf7ee;--panel-raised:#f0e7d7;--line:#c7ad7c;--muted:#71634f;--text:#342b20;--frame:#b88632;--frame-shade:#6b431b;--reader-ground:#f5eddd;--ribbon:linear-gradient(115deg,#fffaf0,#e8d8b8,#fcf6e8);--corner-bg:#34464a;--corner-ink:#f3d18e;--field:#fff;color-scheme:light;--control:var(--panel-raised);--decoration:url("assets/themes/vienna.webp");--motif:url("assets/themes/vienna-corner.svg");}
html[data-theme=vienna][data-palette=gold]{--state-accent:#986a29;--state-current:#ede0bd;--state-preview:#86613b;--state-current-ink:#342b20;--state-ink:#fffaf0;}
html[data-theme=vienna][data-palette=porcelain]{--state-accent:#526c85;--state-current:#dce6ed;--state-preview:#ac844c;--state-current-ink:#342b20;--state-ink:#fffaf0;}
html[data-theme=vienna][data-palette=champagne]{--state-accent:#937a56;--state-current:#ede6d4;--state-preview:#9d7967;--state-current-ink:#342b20;--state-ink:#fffaf0;}
html[data-theme=vienna][data-palette=olive]{--state-accent:#6c7651;--state-current:#e3e7d5;--state-preview:#927148;--state-current-ink:#342b20;--state-ink:#fffaf0;}
.theme-swatch-vienna{background:#17252d url("assets/themes/vienna.webp") center/cover;border:2px solid #b88632}.theme-swatch-vienna:after{background:#34464a;border:1px solid #b88632}
html[data-theme=deco][data-palette]:root{--bg:#081b16;--panel:#102b23;--panel-raised:#193b31;--line:#827148;--muted:#bac6b4;--text:#f5eedb;--frame:#d4af5b;--frame-shade:#4e3913;--reader-ground:#ebe5d6;--ribbon:linear-gradient(115deg,#133c30,#071f18,#1b4031);--corner-bg:#092a20;--corner-ink:#e6c574;--field:#0b1713;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/deco.webp");--motif:url("assets/themes/deco-corner.svg");}
html[data-theme=deco][data-palette=emerald]{--state-accent:#deb967;--state-current:#194c3e;--state-preview:#83bfa2;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=deco][data-palette=jade]{--state-accent:#91c4af;--state-current:#255448;--state-preview:#dfbd79;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=deco][data-palette=onyx]{--state-accent:#e0cba2;--state-current:#343e3a;--state-preview:#a5bfb2;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=deco][data-palette=peacock]{--state-accent:#7bc2c1;--state-current:#16484c;--state-preview:#d9af65;--state-current-ink:#faf4e8;--state-ink:#16201f;}
.theme-swatch-deco{background:#17252d url("assets/themes/deco.webp") center/cover;border:2px solid #d4af5b}.theme-swatch-deco:after{background:#092a20;border:1px solid #d4af5b}
html[data-theme=salon][data-palette]:root{--bg:#231013;--panel:#351c21;--panel-raised:#49262d;--line:#936a50;--muted:#d0b7ad;--text:#fcf0df;--frame:#c39750;--frame-shade:#582816;--reader-ground:#efe5d3;--ribbon:linear-gradient(115deg,#642c35,#34151b,#58252c);--corner-bg:#531b25;--corner-ink:#f2d19b;--field:#1c1114;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/salon.webp");--motif:url("assets/themes/salon-corner.svg");}
html[data-theme=salon][data-palette=ruby]{--state-accent:#e2bb7a;--state-current:#69343d;--state-preview:#d7a0a3;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=salon][data-palette=rose]{--state-accent:#e0a8b0;--state-current:#623846;--state-preview:#c7af85;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=salon][data-palette=mahogany]{--state-accent:#dcb48c;--state-current:#573b32;--state-preview:#b99aaa;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=salon][data-palette=velvet]{--state-accent:#c7a5cf;--state-current:#4c344e;--state-preview:#d4b786;--state-current-ink:#faf4e8;--state-ink:#16201f;}
.theme-swatch-salon{background:#17252d url("assets/themes/salon.webp") center/cover;border:2px solid #c39750}.theme-swatch-salon:after{background:#531b25;border:1px solid #c39750}
html[data-theme=crystal][data-palette]:root{--bg:#0b1729;--panel:#13263e;--panel-raised:#223952;--line:#748da8;--muted:#bbcbdc;--text:#f0f5fb;--frame:#d2dce9;--frame-shade:#50647b;--reader-ground:#eae8e0;--ribbon:linear-gradient(115deg,#2e4663,#0d203b,#294361);--corner-bg:#132b48;--corner-ink:#eff6ff;--field:#0c1522;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/crystal.webp");--motif:url("assets/themes/crystal-corner.svg");}
html[data-theme=crystal][data-palette=platinum]{--state-accent:#cfdfef;--state-current:#344c68;--state-preview:#adc8e3;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=crystal][data-palette=moon]{--state-accent:#bfc6e8;--state-current:#3b4562;--state-preview:#ded6c4;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=crystal][data-palette=glacier]{--state-accent:#a5d7df;--state-current:#274d60;--state-preview:#bbc9e7;--state-current-ink:#faf4e8;--state-ink:#16201f;}
html[data-theme=crystal][data-palette=opal]{--state-accent:#d4bee2;--state-current:#494360;--state-preview:#adcddd;--state-current-ink:#faf4e8;--state-ink:#16201f;}
.theme-swatch-crystal{background:#17252d url("assets/themes/crystal.webp") center/cover;border:2px solid #d2dce9}.theme-swatch-crystal:after{background:#132b48;border:1px solid #d2dce9}

html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) :is(.library,.stage-header,.library-footer){background:var(--panel);color:var(--text);border-color:var(--line)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) .stage{background:var(--bg)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) :is(.icon-button,.row-button,.header-button,.view-mode-button,.meta-pill){background:var(--panel-raised);color:var(--text);border-color:var(--line)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) :is(.current-meta strong,.musical-meta,.song-title,.footer-button span){color:var(--text)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader{background:var(--bg)!important;--gala-rail:var(--reader-decoration-width,260px)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader .stage{background:var(--reader-ground);border:2px solid var(--frame);border-radius:12px;box-shadow:inset 0 0 0 2px var(--frame-shade),inset 0 0 0 4px var(--frame),0 3px 12px #0006;--reader-frame-inset:4px;padding-left:calc(var(--gala-rail) + var(--reader-side-gap) + 12px)!important;padding-right:calc(var(--reader-side-gap) + 12px)!important;padding-top:calc(var(--reader-top-inset) + var(--reader-page-gap) + 12px)!important;padding-bottom:calc(var(--reader-page-gap) + 12px)!important}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader #viewerShell{background:transparent}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader:before{content:'';position:absolute;inset:12px auto 12px 12px;top:calc(12px + var(--reader-top-inset));width:var(--gala-rail);background:var(--decoration) center/cover;border-right:3px double var(--frame);border-radius:6px 0 0 6px;pointer-events:none;z-index:34;box-sizing:border-box}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader:after{content:'';position:absolute;inset:11px;pointer-events:none;z-index:35;border:3px double var(--frame);border-radius:10px;box-shadow:inset 0 0 0 1px var(--frame-shade),0 0 0 1px var(--frame-shade);background-image:var(--motif),var(--motif),var(--motif),var(--motif);background-position:left top,right top,left bottom,right bottom;background-size:38px 38px;background-repeat:no-repeat}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader{color:var(--text)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicToolbar,html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-left #basicToolbar{left:11px;right:11px;border-radius:10px 10px 0 0;background:var(--ribbon);border-bottom:3px double var(--frame);color:var(--text);box-shadow:inset 0 1px 0 #fff4}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader button{background:var(--panel-raised);color:var(--text);border-color:var(--line)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader button:hover{background:var(--panel);border-color:var(--state-accent)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader .basic-navigation button{background:transparent;border-color:transparent;box-shadow:none;color:var(--text)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader #basicCorner{background:var(--corner-bg);color:var(--corner-ink);border:3px double var(--frame);box-shadow:inset 0 0 0 2px var(--frame-shade)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader #basicPanel{background:var(--panel);color:var(--text);border:2px solid var(--frame)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader :is(input:not([type=checkbox]):not([type=range]):not([type=color]),select){background:var(--field);color:var(--text);border-color:var(--line);color-scheme:inherit}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader :is(.basic-muted,#basicStatus,#basicThemeSubtitle,.appearance-label,.appearance-hint,.appearance-options small,.basic-song small,.basic-brand small){color:var(--muted)}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicReader .basic-edge{background:transparent;border:0;color:var(--frame-shade);box-shadow:none}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicEdgePrevious{left:calc(11px + var(--gala-rail))}
html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) .basic-title{font-family:Georgia,'Times New Roman',serif}
html[data-theme=deco] #app.basic-reader .stage,html[data-theme=deco] #app.basic-reader:after{border-radius:3px}
html[data-theme=deco] #basicToolbar{border-radius:2px 2px 0 0}
html[data-theme=salon] #app.basic-reader:after{border-width:5px;box-shadow:inset 0 0 0 1px #f3d99b,0 0 0 2px #472019}
html[data-theme=crystal] #app.basic-reader:after{border-width:4px;box-shadow:inset 0 0 0 1px #fff9,0 0 0 2px #7389a5;background-size:28px 28px}
html[data-tone=light][data-palette] .current-meta strong{color:var(--text)}
@media(max-width:700px){html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader{--gala-rail:var(--reader-decoration-width,24px)}}
@media(max-width:500px){html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #basicToolbar,html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-left #basicToolbar{left:7px;right:7px}html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader:before{left:8px;bottom:8px;top:calc(8px + var(--reader-top-inset))}html:is([data-theme=vienna],[data-theme=deco],[data-theme=salon],[data-theme=crystal],[data-theme=club],[data-theme=delta],[data-theme=amp],[data-theme=midnight],[data-theme=nota],[data-theme=mulatos],[data-theme=retro],[data-theme=szinpad],[data-theme=jazzclub],[data-theme=jazzdeco],[data-theme=bluenote],[data-theme=jazzlounge],[data-theme=ivory],[data-theme=modernclass],[data-theme=concert],[data-theme=flamenco],[data-theme=salsa],[data-theme=bossa],[data-theme=tango],[data-theme=techno],[data-theme=festival],[data-theme=synthwave],[data-theme=ambient],[data-theme=folkheritage],[data-theme=nordic],[data-theme=bohemian],[data-theme=country],[data-theme=cathedral],[data-theme=victorian],[data-theme=darkwave],[data-theme=moonlit],[data-theme=industrial],[data-theme=thrash],[data-theme=epic],[data-theme=progressive],[data-theme=pastelpop],[data-theme=neonpop],[data-theme=retropop],[data-theme=popstage],[data-theme=leather],[data-theme=rockamp],[data-theme=rockampleather],[data-theme=backstage],[data-theme=vintagerock],[data-theme=roots],[data-theme=soundsystem],[data-theme=ska],[data-theme=dub]) #app.basic-reader:after{inset:7px;background-size:22px 22px}}
/* Eight themes must not push the paired preview below the first screen. */
.showcase-gallery{max-height:510px;overflow-y:auto;scrollbar-width:thin}
#settingsModal .appearance-options{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.showcase-gallery{max-height:none;overflow:visible;grid-template-columns:repeat(4,minmax(0,1fr))}#settingsModal .appearance-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

html[data-theme=vienna] #app.basic-reader:after{background-image:url("assets/themes/vienna-corner.svg"),url("assets/themes/vienna-corner-tr.svg"),url("assets/themes/vienna-corner-bl.svg"),url("assets/themes/vienna-corner-br.svg");}
html[data-theme=deco] #app.basic-reader:after{background-image:url("assets/themes/deco-corner.svg"),url("assets/themes/deco-corner-tr.svg"),url("assets/themes/deco-corner-bl.svg"),url("assets/themes/deco-corner-br.svg");}
html[data-theme=salon] #app.basic-reader:after{background-image:url("assets/themes/salon-corner.svg"),url("assets/themes/salon-corner-tr.svg"),url("assets/themes/salon-corner-bl.svg"),url("assets/themes/salon-corner-br.svg");}
html[data-theme=crystal] #app.basic-reader:after{background-image:url("assets/themes/crystal-corner.svg"),url("assets/themes/crystal-corner-tr.svg"),url("assets/themes/crystal-corner-bl.svg"),url("assets/themes/crystal-corner-br.svg");}
html[data-theme=club][data-palette]:root{--bg:#091221;--panel:#112238;--panel-raised:#1e3550;--line:#57789a;--muted:#b5c7dc;--text:#eef4fc;--frame:#9cb9d9;--frame-shade:#243e67;--reader-ground:#eee9df;--ribbon:linear-gradient(110deg,#193762,#071727,#294b76);--corner-bg:#091221;--corner-ink:#eef4fc;--field:#091221;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/club.webp");}
html[data-theme=club][data-palette=blue]{--state-accent:#91baff;--state-current:#243f69;--state-preview:#e0b67a;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=club][data-palette=amber]{--state-accent:#e2b272;--state-current:#4d382b;--state-preview:#8faeda;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=club][data-palette=steel]{--state-accent:#b4cddd;--state-current:#304a5f;--state-preview:#c8af89;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=club][data-palette=indigo]{--state-accent:#b1b1ef;--state-current:#34355b;--state-preview:#d9ac7c;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-club{background:#091221 url("assets/themes/club.webp") center/cover;border:2px solid #9cb9d9}.theme-swatch-club:after{background:#112238;border:1px solid #9cb9d9}
html[data-theme=club] #app.basic-reader:after{background-image:url("assets/themes/club-corner.svg"),url("assets/themes/club-corner-tr.svg"),url("assets/themes/club-corner-bl.svg"),url("assets/themes/club-corner-br.svg");}
html[data-theme=delta][data-palette]:root{--bg:#20170f;--panel:#302218;--panel-raised:#463326;--line:#8d694b;--muted:#d0bda5;--text:#f8ebd8;--frame:#bc8b62;--frame-shade:#50301c;--reader-ground:#eee3d0;--ribbon:repeating-linear-gradient(2deg,#3b271a 0px,#342318 3px,#482f1f 5px);--corner-bg:#20170f;--corner-ink:#f8ebd8;--field:#20170f;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/delta.webp");}
html[data-theme=delta][data-palette=copper]{--state-accent:#e2ad7d;--state-current:#5a3928;--state-preview:#c2b28c;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=delta][data-palette=sunset]{--state-accent:#efb87d;--state-current:#633d32;--state-preview:#bba889;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=delta][data-palette=wood]{--state-accent:#d3b18b;--state-current:#493a2e;--state-preview:#ce9579;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=delta][data-palette=patina]{--state-accent:#a8c0ab;--state-current:#324c40;--state-preview:#d8a477;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-delta{background:#20170f url("assets/themes/delta.webp") center/cover;border:2px solid #bc8b62}.theme-swatch-delta:after{background:#302218;border:1px solid #bc8b62}
html[data-theme=delta] #app.basic-reader:after{background-image:url("assets/themes/delta-corner.svg"),url("assets/themes/delta-corner-tr.svg"),url("assets/themes/delta-corner-bl.svg"),url("assets/themes/delta-corner-br.svg");}
html[data-theme=amp][data-palette]:root{--bg:#171615;--panel:#252422;--panel-raised:#35322c;--line:#8f8267;--muted:#c8c0b0;--text:#f6efe1;--frame:#c2ab83;--frame-shade:#494236;--reader-ground:#ede7d9;--ribbon:repeating-linear-gradient(45deg,#282621 0px,#292823 2px,#35322b 3px,#24231f 5px);--corner-bg:#171615;--corner-ink:#f6efe1;--field:#171615;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/amp.webp");}
html[data-theme=amp][data-palette=brass]{--state-accent:#d9bd8b;--state-current:#4a402e;--state-preview:#b3c1c5;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=amp][data-palette=chrome]{--state-accent:#c8d0d5;--state-current:#3c4549;--state-preview:#d1ac77;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=amp][data-palette=tube]{--state-accent:#e9ad68;--state-current:#533b28;--state-preview:#c8b994;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=amp][data-palette=tweed]{--state-accent:#d1c099;--state-current:#454438;--state-preview:#baa383;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-amp{background:#171615 url("assets/themes/amp.webp") center/cover;border:2px solid #c2ab83}.theme-swatch-amp:after{background:#252422;border:1px solid #c2ab83}
html[data-theme=amp] #app.basic-reader:after{background-image:url("assets/themes/amp-corner.svg"),url("assets/themes/amp-corner-tr.svg"),url("assets/themes/amp-corner-bl.svg"),url("assets/themes/amp-corner-br.svg");}
html[data-theme=midnight][data-palette]:root{--bg:#0d1421;--panel:#182235;--panel-raised:#28324a;--line:#6b7695;--muted:#c0c8dc;--text:#f0f3fb;--frame:#ca8e87;--frame-shade:#263c64;--reader-ground:#ebe8e1;--ribbon:linear-gradient(115deg,#143354,#141a2a,#442b38);--corner-bg:#0d1421;--corner-ink:#f0f3fb;--field:#0d1421;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/midnight.webp");}
html[data-theme=midnight][data-palette=neon]{--state-accent:#7fc8ed;--state-current:#233e60;--state-preview:#e4a389;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=midnight][data-palette=copper]{--state-accent:#e3a58a;--state-current:#4d3541;--state-preview:#8cbfdf;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=midnight][data-palette=rain]{--state-accent:#a2d3da;--state-current:#29474f;--state-preview:#c3a6bd;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=midnight][data-palette=violet]{--state-accent:#c0b0e9;--state-current:#3d355b;--state-preview:#8abed8;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-midnight{background:#0d1421 url("assets/themes/midnight.webp") center/cover;border:2px solid #ca8e87}.theme-swatch-midnight:after{background:#182235;border:1px solid #ca8e87}
html[data-theme=midnight] #app.basic-reader:after{background-image:url("assets/themes/midnight-corner.svg"),url("assets/themes/midnight-corner-tr.svg"),url("assets/themes/midnight-corner-bl.svg"),url("assets/themes/midnight-corner-br.svg");}
html[data-theme=club] #app.basic-reader:after{box-shadow:inset 0 0 0 2px #193c69,0 0 0 2px #07101b;border-radius:16px}html[data-theme=delta] #app.basic-reader:after{border-width:5px;box-shadow:inset 0 0 0 2px #573820,0 0 0 2px #201710}html[data-theme=amp] #app.basic-reader:after{border-width:6px;border-style:ridge;box-shadow:inset 0 0 0 2px #282620,0 0 0 2px #111;background-size:40px 40px}html[data-theme=midnight] #app.basic-reader:after{box-shadow:inset 1px 0 0 2px #294b77,0 0 0 2px #402a37;border-radius:16px}

html[data-theme=nota][data-palette]:root{--bg:#241315;--panel:#341c20;--panel-raised:#4a282d;--line:#99734e;--muted:#d5bdb0;--text:#fbefdf;--frame:#d5ad65;--frame-shade:#57331c;--reader-ground:#f1e7d5;--ribbon:linear-gradient(110deg,#612732,#2a1419,#5b252e);--corner-bg:#241315;--corner-ink:#fbefdf;--field:#241315;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/nota.webp");}
html[data-theme=nota][data-palette=velvet]{--state-accent:#e2bd7b;--state-current:#63313b;--state-preview:#d6a08a;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=nota][data-palette=rose]{--state-accent:#dfacb6;--state-current:#5c3347;--state-preview:#ceb58b;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=nota][data-palette=wood]{--state-accent:#deb28a;--state-current:#53372b;--state-preview:#c9ab91;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=nota][data-palette=candle]{--state-accent:#e8cb97;--state-current:#534330;--state-preview:#c99595;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-nota{background:#241315 url("assets/themes/nota.webp") center/cover;border:2px solid #d5ad65}
html[data-theme=nota] #app.basic-reader:after{background-image:url("assets/themes/nota-corner.svg"),url("assets/themes/nota-corner-tr.svg"),url("assets/themes/nota-corner-bl.svg"),url("assets/themes/nota-corner-br.svg");}
html[data-theme=mulatos][data-palette]:root{--bg:#091d35;--panel:#122d4d;--panel-raised:#214467;--line:#6683a1;--muted:#bfd1e2;--text:#f7f2e8;--frame:#d9b377;--frame-shade:#294875;--reader-ground:#f1eadb;--ribbon:linear-gradient(115deg,#0d315d,#132d4e,#245480);--corner-bg:#091d35;--corner-ink:#f7f2e8;--field:#091d35;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/mulatos.webp");}
html[data-theme=mulatos][data-palette=blue]{--state-accent:#8cbaf1;--state-current:#244976;--state-preview:#e6b16f;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=mulatos][data-palette=paprika]{--state-accent:#efa18b;--state-current:#653638;--state-preview:#b0c6e8;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=mulatos][data-palette=folk]{--state-accent:#e7c181;--state-current:#52442e;--state-preview:#97badc;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=mulatos][data-palette=cornflower]{--state-accent:#adbaf1;--state-current:#38446b;--state-preview:#e4b295;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-mulatos{background:#091d35 url("assets/themes/mulatos.webp") center/cover;border:2px solid #d9b377}
html[data-theme=mulatos] #app.basic-reader:after{background-image:url("assets/themes/mulatos-corner.svg"),url("assets/themes/mulatos-corner-tr.svg"),url("assets/themes/mulatos-corner-bl.svg"),url("assets/themes/mulatos-corner-br.svg");}
html[data-theme=retro][data-palette]:root{--bg:#251a12;--panel:#38281c;--panel-raised:#513a27;--line:#a78253;--muted:#dac5a9;--text:#fff0d9;--frame:#dfa24e;--frame-shade:#6e371c;--reader-ground:#f4e7ce;--ribbon:linear-gradient(115deg,#643619,#352219,#82522a);--corner-bg:#251a12;--corner-ink:#fff0d9;--field:#251a12;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/retro.webp");}
html[data-theme=retro][data-palette=amber]{--state-accent:#edb16e;--state-current:#603e26;--state-preview:#d5bf96;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=retro][data-palette=orange]{--state-accent:#f0a278;--state-current:#653b2d;--state-preview:#dac186;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=retro][data-palette=mustard]{--state-accent:#d9c47c;--state-current:#504831;--state-preview:#d99b74;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=retro][data-palette=cream]{--state-accent:#e7ceaa;--state-current:#57443a;--state-preview:#daa184;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-retro{background:#251a12 url("assets/themes/retro.webp") center/cover;border:2px solid #dfa24e}
html[data-theme=retro] #app.basic-reader:after{background-image:url("assets/themes/retro-corner.svg"),url("assets/themes/retro-corner-tr.svg"),url("assets/themes/retro-corner-bl.svg"),url("assets/themes/retro-corner-br.svg");}
html[data-theme=szinpad][data-palette]:root{--bg:#071727;--panel:#11283e;--panel-raised:#203e58;--line:#6388a6;--muted:#bed0e4;--text:#edf5ff;--frame:#87b9df;--frame-shade:#1b416c;--reader-ground:#152235;--ribbon:linear-gradient(110deg,#142e49,#091d31,#274c72);--corner-bg:#071727;--corner-ink:#edf5ff;--field:#071727;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/szinpad.webp");}
html[data-theme=szinpad][data-palette=blue]{--state-accent:#88c5f3;--state-current:#264b72;--state-preview:#e6b784;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=szinpad][data-palette=violet]{--state-accent:#c1a6f0;--state-current:#463763;--state-preview:#96ccec;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=szinpad][data-palette=amber]{--state-accent:#efbb80;--state-current:#55412f;--state-preview:#97bceb;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=szinpad][data-palette=cyan]{--state-accent:#89d5de;--state-current:#245463;--state-preview:#cab3e5;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-szinpad{background:#071727 url("assets/themes/szinpad.webp") center/cover;border:2px solid #87b9df}
html[data-theme=szinpad] #app.basic-reader:after{background-image:url("assets/themes/szinpad-corner.svg"),url("assets/themes/szinpad-corner-tr.svg"),url("assets/themes/szinpad-corner-bl.svg"),url("assets/themes/szinpad-corner-br.svg");}
html[data-theme=nota] #app.basic-reader:after{border-width:4px;box-shadow:inset 0 0 0 2px #643a21,0 0 0 2px #271513}html[data-theme=retro] #app.basic-reader:after{border-width:4px;box-shadow:inset 0 0 0 2px #994817,0 0 0 2px #422311}html[data-theme=szinpad] #app.basic-reader:after{box-shadow:inset 0 0 0 2px #173d65,0 0 0 2px #071424}

/* Basic 21: artwork-only cards, four visible choices, full gallery. */
.theme-swatch i,.theme-swatch:after{display:none!important}
.theme-swatch{background-position:center 48%;flex-shrink:0}
.theme-swatch-paper{background:radial-gradient(ellipse at 25% 20%,#fffaf0,transparent 65%),repeating-linear-gradient(8deg,#e5ddcc 0px,#f5efe2 2px,#eee6d7 4px)}
.theme-swatch-bandit{background:radial-gradient(ellipse at 85% 0%,#bc934d66,transparent 65%),linear-gradient(130deg,#343637,#131719 60%,#294136)}
#basicReader .appearance-options,#settingsModal [data-appearance] .appearance-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:148px;gap:10px;height:306px;max-height:306px;max-width:560px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;align-content:start;padding:2px;box-sizing:content-box}
/* Standard: eight previews in each row; keep two rows visible. Small windows scroll within the card. */
#settingsModal [data-appearance] .appearance-options{grid-template-columns:repeat(8,minmax(128px,1fr));grid-auto-rows:180px;height:370px;max-height:370px;max-width:none;overflow:auto}
#basicReader .appearance-options [data-theme-choice],#settingsModal .appearance-options [data-theme-choice]{grid-column:auto;display:flex;flex-direction:column;justify-content:flex-start;gap:5px;padding:8px;overflow:hidden;min-height:0}
.appearance-options .theme-swatch{height:64px}
.appearance-options strong{line-height:19px}.appearance-options small{line-height:16px}
.theme-gallery-open{margin-top:12px;min-height:44px;padding:9px 18px;border:1px solid var(--state-accent);border-radius:10px;background:var(--panel-raised);color:var(--text);cursor:pointer}
#themeGallery{box-sizing:border-box;width:min(1400px,96vw);height:min(940px,94dvh);max-width:96vw;max-height:94dvh;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--text);box-shadow:0 24px 80px #0009;overflow:auto}
#themeGallery::backdrop{background:#030912b8;backdrop-filter:blur(5px)}
.theme-gallery-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 30px;border-bottom:1px solid var(--line);background:var(--panel)}
.theme-gallery-heading h2{margin:5px 0 8px;font-size:clamp(23px,3vw,34px)}.theme-gallery-heading p{margin:0;color:var(--muted);line-height:1.5}.theme-gallery-heading small{color:var(--state-accent)}
.theme-gallery-heading button{flex-shrink:0;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--panel-raised);color:var(--text);font-size:26px;cursor:pointer}
.theme-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:26px 30px}
.theme-gallery-grid button{min-width:0;padding:0 0 16px;display:flex;flex-direction:column;text-align:left;gap:7px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:var(--text);cursor:pointer;transition:border-color .15s,box-shadow .15s}
.theme-gallery-grid button:hover,.theme-gallery-grid button[aria-pressed=true]{border-color:var(--state-accent);box-shadow:0 0 0 1px var(--state-accent)}
.theme-gallery-grid button:focus-visible,.theme-gallery-open:focus-visible{outline:3px solid var(--state-accent);outline-offset:3px}
.theme-gallery-grid .theme-swatch{height:190px;width:100%;border:0;border-radius:0;background-position:center 48%}
.theme-gallery-grid strong,.theme-gallery-grid small{padding:0 15px}.theme-gallery-grid strong{font-size:18px}.theme-gallery-grid small{font-size:13px;line-height:1.4;color:var(--muted)}
.theme-gallery-footer{padding:16px 30px 24px;text-align:center;color:var(--muted)}
@media(max-width:1000px){.theme-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px}}
@media(max-width:650px){.theme-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.theme-gallery-grid .theme-swatch{height:150px}.theme-gallery-heading{padding:18px}.theme-gallery-grid strong{font-size:16px}}

/* Basic 21: gallery children retain their own content height. */
#themeShowcase .showcase-gallery button{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:6px;min-height:100px;overflow:hidden}
#themeShowcase .showcase-gallery .theme-swatch{height:60px;min-height:60px;margin:0;width:100%;box-sizing:border-box}
#themeShowcase .showcase-gallery strong{display:block;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#basicReader .theme-gallery-open,#settingsModal .theme-gallery-open{display:block;width:fit-content;max-width:100%;margin:12px auto 0;min-height:36px;padding:7px 14px;font-weight:500;font-family:inherit;font-size:14px;line-height:1.35;border-radius:8px}
@media(max-width:700px){#themeShowcase .showcase-gallery button{min-height:82px}#themeShowcase .showcase-gallery .theme-swatch{height:36px;min-height:36px}}

html[data-theme=jazzclub][data-palette]:root{--bg:#211312;--panel:#321b19;--panel-raised:#4a2b25;--line:#8b674f;--muted:#d7bca4;--text:#fff1da;--frame:#dbb46d;--frame-shade:#603b21;--reader-ground:#291b17;--ribbon:linear-gradient(110deg,#532922,#211413,#4b2920);--corner-bg:#211312;--corner-ink:#fff1da;--field:#211312;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/jazzclub.webp");}
html[data-theme=jazzclub][data-palette=brass]{--state-accent:#e7bd72;--state-current:#59402b;--state-preview:#d6958c;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzclub][data-palette=burgundy]{--state-accent:#e1a0ab;--state-current:#60303d;--state-preview:#d8b980;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzclub][data-palette=tungsten]{--state-accent:#f0ca94;--state-current:#594830;--state-preview:#bf9481;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzclub][data-palette=cognac]{--state-accent:#dda47b;--state-current:#51372d;--state-preview:#d4bc94;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-jazzclub{background:#211312 url("assets/themes/jazzclub.webp") center/cover;border:2px solid #dbb46d}
html[data-theme=jazzclub] #app.basic-reader:after{background-image:url("assets/themes/jazzclub-corner.svg"),url("assets/themes/jazzclub-corner-tr.svg"),url("assets/themes/jazzclub-corner-bl.svg"),url("assets/themes/jazzclub-corner-br.svg");box-shadow:inset 0 0 0 2px #603b21,0 0 0 2px #211312;}
html[data-theme=jazzdeco][data-palette]:root{--bg:#081f20;--panel:#112e30;--panel-raised:#204143;--line:#648b7c;--muted:#bbd0c5;--text:#f9f0db;--frame:#d8b86c;--frame-shade:#635024;--reader-ground:#10292b;--ribbon:linear-gradient(110deg,#16433f,#0c2426,#205450);--corner-bg:#081f20;--corner-ink:#f9f0db;--field:#081f20;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/jazzdeco.webp");}
html[data-theme=jazzdeco][data-palette=emerald]{--state-accent:#dfc07c;--state-current:#22544b;--state-preview:#90c9bf;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzdeco][data-palette=petrol]{--state-accent:#8ed1c9;--state-current:#204e56;--state-preview:#e1bb72;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzdeco][data-palette=walnut]{--state-accent:#ddb08b;--state-current:#4d3c30;--state-preview:#96c5b0;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzdeco][data-palette=champagne]{--state-accent:#e7d5ae;--state-current:#3a504b;--state-preview:#94bdac;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-jazzdeco{background:#081f20 url("assets/themes/jazzdeco.webp") center/cover;border:2px solid #d8b86c}
html[data-theme=jazzdeco] #app.basic-reader:after{background-image:url("assets/themes/jazzdeco-corner.svg"),url("assets/themes/jazzdeco-corner-tr.svg"),url("assets/themes/jazzdeco-corner-bl.svg"),url("assets/themes/jazzdeco-corner-br.svg");box-shadow:inset 0 0 0 2px #635024,0 0 0 2px #081f20;}
html[data-theme=bluenote][data-palette]:root{--bg:#0c1e30;--panel:#17314c;--panel-raised:#264969;--line:#6a90ab;--muted:#c0d2df;--text:#fff5de;--frame:#92b8d3;--frame-shade:#254c73;--reader-ground:#112b46;--ribbon:linear-gradient(110deg,#214e77,#102941,#2b5780);--corner-bg:#0c1e30;--corner-ink:#fff5de;--field:#0c1e30;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/bluenote.webp");}
html[data-theme=bluenote][data-palette=cobalt]{--state-accent:#8ac0f4;--state-current:#254b76;--state-preview:#edb58b;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=bluenote][data-palette=vermilion]{--state-accent:#efa08b;--state-current:#623b38;--state-preview:#9cc4e6;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=bluenote][data-palette=ivory]{--state-accent:#ead7ae;--state-current:#4a4b46;--state-preview:#89b9e1;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=bluenote][data-palette=denim]{--state-accent:#a8cbdc;--state-current:#344d63;--state-preview:#dfbd8c;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-bluenote{background:#0c1e30 url("assets/themes/bluenote.webp") center/cover;border:2px solid #92b8d3}
html[data-theme=bluenote] #app.basic-reader:after{background-image:url("assets/themes/bluenote-corner.svg"),url("assets/themes/bluenote-corner-tr.svg"),url("assets/themes/bluenote-corner-bl.svg"),url("assets/themes/bluenote-corner-br.svg");box-shadow:inset 0 0 0 2px #254c73,0 0 0 2px #0c1e30;}
html[data-theme=jazzlounge][data-palette]:root{--bg:#201521;--panel:#302036;--panel-raised:#48304d;--line:#997684;--muted:#d4bdcf;--text:#fcf0f5;--frame:#c99599;--frame-shade:#643e50;--reader-ground:#261d2b;--ribbon:linear-gradient(110deg,#4b2b44,#201721,#4b324f);--corner-bg:#201521;--corner-ink:#fcf0f5;--field:#201521;color-scheme:dark;--control:var(--panel-raised);--decoration:url("assets/themes/jazzlounge.webp");}
html[data-theme=jazzlounge][data-palette=rose]{--state-accent:#e3a6b8;--state-current:#59364e;--state-preview:#d8b385;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzlounge][data-palette=violet]{--state-accent:#cbb0f0;--state-current:#49345e;--state-preview:#e7b6a3;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzlounge][data-palette=copper]{--state-accent:#e7b195;--state-current:#594037;--state-preview:#c3a4df;--state-current-ink:#fff7ed;--state-ink:#171c24;}
html[data-theme=jazzlounge][data-palette=plum]{--state-accent:#dcb8d6;--state-current:#533d57;--state-preview:#d6c5ad;--state-current-ink:#fff7ed;--state-ink:#171c24;}
.theme-swatch-jazzlounge{background:#201521 url("assets/themes/jazzlounge.webp") center/cover;border:2px solid #c99599}
html[data-theme=jazzlounge] #app.basic-reader:after{background-image:url("assets/themes/jazzlounge-corner.svg"),url("assets/themes/jazzlounge-corner-tr.svg"),url("assets/themes/jazzlounge-corner-bl.svg"),url("assets/themes/jazzlounge-corner-br.svg");box-shadow:inset 0 0 0 2px #643e50,0 0 0 2px #201521;}
/* Reader-mode scope: hidden controls must also stay hidden in themed cards. */
.customization-card [data-score-presentation-shared][hidden],.customization-card [data-score-presentation-readers][hidden],.customization-card [data-score-presentation-scope][hidden]{display:none!important}
[data-score-presentation-readers]{display:grid;gap:10px}
[data-score-presentation-readers]>label{display:flex;flex-direction:column;gap:6px}

/* Modules are independent of appearance preferences and toolbar visibility. */
#basicSettings .basic-modules{margin-bottom:24px}
#basicSettings .basic-modules h3{font:600 18px system-ui;margin:0 0 10px;color:var(--text)}
#basicSettings .basic-modules .basic-full{justify-content:flex-start}
#basicSettings .basic-modules svg{width:22px;height:22px;display:block;pointer-events:none}
.module-actions{display:flex;gap:12px;flex-wrap:wrap}
.module-actions button{font:600 15px system-ui;padding:14px 18px;min-height:48px;border:1px solid var(--line);border-radius:10px;background:var(--control,var(--panel-raised));color:var(--text);cursor:pointer}
.module-actions button:hover{background:var(--panel-raised);border-color:var(--accent)}
.module-actions button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}


/* M3.3.106 — reference skin collection */
html[data-theme=ivory][data-palette]:root{--bg:#eee6d6;--panel:#f7f4ed;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#755329;--frame-shade:#beab91;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f7f4ed);--corner-bg:#f7f4ed;--corner-ink:#252a2c;--decoration:none;--motif:none;color-scheme:light;}
html[data-theme=ivory][data-palette=p1]{--state-accent:#986e39;--state-current:#e1d4be;--state-preview:#755329;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ivory][data-palette=p2]{--state-accent:#526b68;--state-current:#d7d4c6;--state-preview:#755329;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ivory][data-palette=p3]{--state-accent:#89615a;--state-current:#dfd2c3;--state-preview:#755329;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ivory][data-palette=p4]{--state-accent:#807442;--state-current:#ded5c0;--state-preview:#755329;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-ivory{background:#eee6d6 none center/cover;border:2px solid #755329}
html[data-theme=ivory] #app.basic-reader{--gala-rail:0px}html[data-theme=ivory] #app.basic-reader:before{display:none}
html[data-theme=modernclass][data-palette]:root{--bg:#e6ecf0;--panel:#f4f6f8;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#34566c;--frame-shade:#9fb0bb;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f4f6f8);--corner-bg:#f4f6f8;--corner-ink:#252a2c;--decoration:none;--motif:none;color-scheme:light;}
html[data-theme=modernclass][data-palette=p1]{--state-accent:#536b80;--state-current:#d0d9df;--state-preview:#34566c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=modernclass][data-palette=p2]{--state-accent:#536c64;--state-current:#d0d9db;--state-preview:#34566c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=modernclass][data-palette=p3]{--state-accent:#6e607a;--state-current:#d4d7de;--state-preview:#34566c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=modernclass][data-palette=p4]{--state-accent:#74624c;--state-current:#d5d7d7;--state-preview:#34566c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-modernclass{background:#e6ecf0 none center/cover;border:2px solid #34566c}
html[data-theme=modernclass] #app.basic-reader{--gala-rail:0px}html[data-theme=modernclass] #app.basic-reader:before{display:none}
html[data-theme=concert][data-palette]:root{--bg:#141414;--panel:#1f1f1f;--panel-raised:#2c2c2c;--line:#5f5f5f;--text:#f7f3ed;--muted:#c4c7ca;--field:#0e0e0e;--control:#2c2c2c;--frame:#d5bd80;--frame-shade:#61583f;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#2c2c2c,#1f1f1f);--corner-bg:#1f1f1f;--corner-ink:#f7f3ed;--decoration:none;--motif:none;color-scheme:dark;}
html[data-theme=concert][data-palette=p1]{--state-accent:#e3c785;--state-current:#423b2d;--state-preview:#d5bd80;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=concert][data-palette=p2]{--state-accent:#c8d1d8;--state-current:#3c3e3f;--state-preview:#d5bd80;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=concert][data-palette=p3]{--state-accent:#c4b3dd;--state-current:#3b3740;--state-preview:#d5bd80;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=concert][data-palette=p4]{--state-accent:#dfa797;--state-current:#413431;--state-preview:#d5bd80;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-concert{background:#141414 none center/cover;border:2px solid #d5bd80}
html[data-theme=concert] #app.basic-reader{--gala-rail:0px}html[data-theme=concert] #app.basic-reader:before{display:none}
html[data-theme=flamenco][data-palette]:root{--bg:#250c10;--panel:#2f171b;--panel-raised:#3b2428;--line:#6b5a5c;--text:#f7f3ed;--muted:#c4c7ca;--field:#1a080b;--control:#3b2428;--frame:#c89b4e;--frame-shade:#664529;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#3b2428,#2f171b);--corner-bg:#2f171b;--corner-ink:#f7f3ed;--decoration:url("assets/themes/flamenco.webp");--motif:url("assets/themes/flamenco-corner.svg");color-scheme:dark;}
html[data-theme=flamenco][data-palette=p1]{--state-accent:#e3ad70;--state-current:#4f2f25;--state-preview:#c89b4e;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=flamenco][data-palette=p2]{--state-accent:#eeaaaa;--state-current:#512f32;--state-preview:#c89b4e;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=flamenco][data-palette=p3]{--state-accent:#d4c5ab;--state-current:#4c3532;--state-preview:#c89b4e;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=flamenco][data-palette=p4]{--state-accent:#bcd0b0;--state-current:#463733;--state-preview:#c89b4e;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-flamenco{background:#250c10 url("assets/themes/flamenco.webp") center/cover;border:2px solid #c89b4e}
html[data-theme=salsa][data-palette]:root{--bg:#063338;--panel:#113c41;--panel-raised:#1f474c;--line:#567478;--text:#f7f3ed;--muted:#c4c7ca;--field:#042427;--control:#1f474c;--frame:#e8b548;--frame-shade:#60673e;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#1f474c,#113c41);--corner-bg:#113c41;--corner-ink:#f7f3ed;--decoration:url("assets/themes/salsa.webp");--motif:url("assets/themes/salsa-corner.svg");color-scheme:dark;}
html[data-theme=salsa][data-palette=p1]{--state-accent:#68d8d1;--state-current:#1c575a;--state-preview:#e8b548;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=salsa][data-palette=p2]{--state-accent:#f4b978;--state-current:#3a5046;--state-preview:#e8b548;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=salsa][data-palette=p3]{--state-accent:#e6cb7a;--state-current:#375447;--state-preview:#e8b548;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=salsa][data-palette=p4]{--state-accent:#d6abe1;--state-current:#344d5d;--state-preview:#e8b548;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-salsa{background:#063338 url("assets/themes/salsa.webp") center/cover;border:2px solid #e8b548}
html[data-theme=bossa][data-palette]:root{--bg:#eae5d5;--panel:#f6f3ec;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#98724d;--frame-shade:#c9b79f;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f6f3ec);--corner-bg:#f6f3ec;--corner-ink:#252a2c;--decoration:url("assets/themes/bossa.webp");--motif:url("assets/themes/bossa-corner.svg");color-scheme:light;}
html[data-theme=bossa][data-palette=p1]{--state-accent:#9e492e;--state-current:#dfcebc;--state-preview:#98724d;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=bossa][data-palette=p2]{--state-accent:#4d6953;--state-current:#d2d2c1;--state-preview:#98724d;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=bossa][data-palette=p3]{--state-accent:#426d73;--state-current:#d1d3c6;--state-preview:#98724d;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=bossa][data-palette=p4]{--state-accent:#7d5a45;--state-current:#dad0bf;--state-preview:#98724d;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-bossa{background:#eae5d5 url("assets/themes/bossa.webp") center/cover;border:2px solid #98724d}
html[data-theme=tango][data-palette]:root{--bg:#240b10;--panel:#2e161b;--panel-raised:#3a2328;--line:#6a595c;--text:#f7f3ed;--muted:#c4c7ca;--field:#19080b;--control:#3a2328;--frame:#b68a58;--frame-shade:#5e3e2d;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#3a2328,#2e161b);--corner-bg:#2e161b;--corner-ink:#f7f3ed;--decoration:url("assets/themes/tango.webp");--motif:url("assets/themes/tango-corner.svg");color-scheme:dark;}
html[data-theme=tango][data-palette=p1]{--state-accent:#dfa881;--state-current:#4d2e29;--state-preview:#b68a58;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=tango][data-palette=p2]{--state-accent:#e5a1ae;--state-current:#4e2c33;--state-preview:#b68a58;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=tango][data-palette=p3]{--state-accent:#d0c2a2;--state-current:#4a3330;--state-preview:#b68a58;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=tango][data-palette=p4]{--state-accent:#c0aadd;--state-current:#462e3d;--state-preview:#b68a58;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-tango{background:#240b10 url("assets/themes/tango.webp") center/cover;border:2px solid #b68a58}
html[data-theme=techno][data-palette]:root{--bg:#181a1d;--panel:#222427;--panel-raised:#2f3134;--line:#626365;--text:#f7f3ed;--muted:#c4c7ca;--field:#111214;--control:#2f3134;--frame:#a7aeb5;--frame-shade:#51555a;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#2f3134,#222427);--corner-bg:#222427;--corner-ink:#f7f3ed;--decoration:url("assets/themes/techno.webp");--motif:url("assets/themes/techno-corner.svg");color-scheme:dark;}
html[data-theme=techno][data-palette=p1]{--state-accent:#f0aa67;--state-current:#483a2d;--state-preview:#a7aeb5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=techno][data-palette=p2]{--state-accent:#bacbd6;--state-current:#3c4146;--state-preview:#a7aeb5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=techno][data-palette=p3]{--state-accent:#8dd7d1;--state-current:#324445;--state-preview:#a7aeb5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=techno][data-palette=p4]{--state-accent:#c6b0e4;--state-current:#3e3b49;--state-preview:#a7aeb5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-techno{background:#181a1d url("assets/themes/techno.webp") center/cover;border:2px solid #a7aeb5}
html[data-theme=techno] #app.basic-reader:after{border-width:5px;border-style:ridge;background-size:32px 32px}
html[data-theme=festival][data-palette]:root{--bg:#200e38;--panel:#2a1941;--panel-raised:#36264c;--line:#675b78;--text:#f7f3ed;--muted:#c4c7ca;--field:#160a27;--control:#36264c;--frame:#ed5df2;--frame-shade:#722e82;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#36264c,#2a1941);--corner-bg:#2a1941;--corner-ink:#f7f3ed;--decoration:url("assets/themes/festival.webp");--motif:url("assets/themes/festival-corner.svg");color-scheme:dark;}
html[data-theme=festival][data-palette=p1]{--state-accent:#f5a0dd;--state-current:#4f2e5c;--state-preview:#ed5df2;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=festival][data-palette=p2]{--state-accent:#bace74;--state-current:#423845;--state-preview:#ed5df2;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=festival][data-palette=p3]{--state-accent:#83d8ef;--state-current:#363a60;--state-preview:#ed5df2;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=festival][data-palette=p4]{--state-accent:#efb080;--state-current:#4e3248;--state-preview:#ed5df2;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-festival{background:#200e38 url("assets/themes/festival.webp") center/cover;border:2px solid #ed5df2}
html[data-theme=festival] #app.basic-reader:after{box-shadow:inset 0 0 6px #ed5df2,0 0 5px #f5a0dd;border-width:2px}
html[data-theme=synthwave][data-palette]:root{--bg:#0c1531;--panel:#17203a;--panel-raised:#242c46;--line:#5a6073;--text:#f7f3ed;--muted:#c4c7ca;--field:#080f22;--control:#242c46;--frame:#54bdf5;--frame-shade:#29587f;--reader-ground:#0c1531;--ribbon:linear-gradient(115deg,#242c46,#17203a);--corner-bg:#17203a;--corner-ink:#f7f3ed;--decoration:url("assets/themes/synthwave.webp");--motif:url("assets/themes/synthwave-corner.svg");color-scheme:dark;}
html[data-theme=synthwave][data-palette=p1]{--state-accent:#efacd8;--state-current:#3e3656;--state-preview:#54bdf5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=synthwave][data-palette=p2]{--state-accent:#8cccef;--state-current:#283d5b;--state-preview:#54bdf5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=synthwave][data-palette=p3]{--state-accent:#eab291;--state-current:#3d3846;--state-preview:#54bdf5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=synthwave][data-palette=p4]{--state-accent:#c4b3ef;--state-current:#34385b;--state-preview:#54bdf5;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-synthwave{background:#0c1531 url("assets/themes/synthwave.webp") center/cover;border:2px solid #54bdf5}
html[data-theme=synthwave] #app.basic-reader:after{box-shadow:inset 0 0 6px #54bdf5,0 0 5px #efacd8;border-width:2px}
html[data-theme=ambient][data-palette]:root{--bg:#e4ece0;--panel:#f3f6f1;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#789c8c;--frame-shade:#b9ccbe;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f3f6f1);--corner-bg:#f3f6f1;--corner-ink:#252a2c;--decoration:url("assets/themes/ambient.webp");--motif:url("assets/themes/ambient-corner.svg");color-scheme:light;}
html[data-theme=ambient][data-palette=p1]{--state-accent:#355d4a;--state-current:#cad7ca;--state-preview:#789c8c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ambient][data-palette=p2]{--state-accent:#5b6a3c;--state-current:#cfd8c7;--state-preview:#789c8c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ambient][data-palette=p3]{--state-accent:#436b7a;--state-current:#ccd9d1;--state-preview:#789c8c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ambient][data-palette=p4]{--state-accent:#85644d;--state-current:#d6d8ca;--state-preview:#789c8c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-ambient{background:#e4ece0 url("assets/themes/ambient.webp") center/cover;border:2px solid #789c8c}
html[data-theme=folkheritage][data-palette]:root{--bg:#1d1814;--panel:#27221f;--panel-raised:#342f2c;--line:#65625f;--text:#f7f3ed;--muted:#c4c7ca;--field:#14110e;--control:#342f2c;--frame:#b08754;--frame-shade:#58442e;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#342f2c,#27221f);--corner-bg:#27221f;--corner-ink:#f7f3ed;--decoration:url("assets/themes/folkheritage.webp");--motif:url("assets/themes/folkheritage-corner.svg");color-scheme:dark;}
html[data-theme=folkheritage][data-palette=p1]{--state-accent:#e5a192;--state-current:#493630;--state-preview:#b08754;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=folkheritage][data-palette=p2]{--state-accent:#b5cb94;--state-current:#3e3f30;--state-preview:#b08754;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=folkheritage][data-palette=p3]{--state-accent:#e5c48b;--state-current:#493e2e;--state-preview:#b08754;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=folkheritage][data-palette=p4]{--state-accent:#cca9c9;--state-current:#44383c;--state-preview:#b08754;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-folkheritage{background:#1d1814 url("assets/themes/folkheritage.webp") center/cover;border:2px solid #b08754}
html[data-theme=nordic][data-palette]:root{--bg:#e8ece9;--panel:#f5f6f5;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#ad9473;--frame-shade:#d0c9ba;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f5f6f5);--corner-bg:#f5f6f5;--corner-ink:#252a2c;--decoration:url("assets/themes/nordic.webp");--motif:url("assets/themes/nordic-corner.svg");color-scheme:light;}
html[data-theme=nordic][data-palette=p1]{--state-accent:#375b73;--state-current:#cdd6d7;--state-preview:#ad9473;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=nordic][data-palette=p2]{--state-accent:#586951;--state-current:#d2d8d2;--state-preview:#ad9473;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=nordic][data-palette=p3]{--state-accent:#805b48;--state-current:#d8d6d1;--state-preview:#ad9473;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=nordic][data-palette=p4]{--state-accent:#6b607e;--state-current:#d5d7d9;--state-preview:#ad9473;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-nordic{background:#e8ece9 url("assets/themes/nordic.webp") center/cover;border:2px solid #ad9473}
html[data-theme=bohemian][data-palette]:root{--bg:#f0e1ca;--panel:#f8f2e7;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#a35837;--frame-shade:#d1aa8f;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f8f2e7);--corner-bg:#f8f2e7;--corner-ink:#252a2c;--decoration:url("assets/themes/bohemian.webp");--motif:url("assets/themes/bohemian-corner.svg");color-scheme:light;}
html[data-theme=bohemian][data-palette=p1]{--state-accent:#863e26;--state-current:#e0c9b1;--state-preview:#a35837;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=bohemian][data-palette=p2]{--state-accent:#6b465f;--state-current:#dccaba;--state-preview:#a35837;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=bohemian][data-palette=p3]{--state-accent:#687049;--state-current:#dcd0b7;--state-preview:#a35837;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=bohemian][data-palette=p4]{--state-accent:#805f31;--state-current:#dfceb3;--state-preview:#a35837;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-bohemian{background:#f0e1ca url("assets/themes/bohemian.webp") center/cover;border:2px solid #a35837}
html[data-theme=country][data-palette]:root{--bg:#26190f;--panel:#30231a;--panel-raised:#3c3027;--line:#6b635c;--text:#f7f3ed;--muted:#c4c7ca;--field:#1b120a;--control:#3c3027;--frame:#c39154;--frame-shade:#65492b;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#3c3027,#30231a);--corner-bg:#30231a;--corner-ink:#f7f3ed;--decoration:url("assets/themes/country.webp");--motif:url("assets/themes/country-corner.svg");color-scheme:dark;}
html[data-theme=country][data-palette=p1]{--state-accent:#e2b57c;--state-current:#4f3b27;--state-preview:#c39154;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=country][data-palette=p2]{--state-accent:#d9c49c;--state-current:#4d3f2e;--state-preview:#c39154;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=country][data-palette=p3]{--state-accent:#bdc69c;--state-current:#473f2e;--state-preview:#c39154;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=country][data-palette=p4]{--state-accent:#e8a391;--state-current:#51372c;--state-preview:#c39154;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-country{background:#26190f url("assets/themes/country.webp") center/cover;border:2px solid #c39154}
html[data-theme=country] #app.basic-reader:after{border-width:5px;border-style:dashed;background-size:32px 32px}
html[data-theme=cathedral][data-palette]:root{--bg:#17141e;--panel:#211f28;--panel-raised:#2e2c34;--line:#615f66;--text:#f7f3ed;--muted:#c4c7ca;--field:#100e15;--control:#2e2c34;--frame:#8b8494;--frame-shade:#45414d;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#2e2c34,#211f28);--corner-bg:#211f28;--corner-ink:#f7f3ed;--decoration:url("assets/themes/cathedral.webp");--motif:url("assets/themes/cathedral-corner.svg");color-scheme:dark;}
html[data-theme=cathedral][data-palette=p1]{--state-accent:#c0a0e8;--state-current:#3c334a;--state-preview:#8b8494;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=cathedral][data-palette=p2]{--state-accent:#d5c6ad;--state-current:#413b3d;--state-preview:#8b8494;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=cathedral][data-palette=p3]{--state-accent:#9ebed2;--state-current:#353946;--state-preview:#8b8494;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=cathedral][data-palette=p4]{--state-accent:#dbadb9;--state-current:#423640;--state-preview:#8b8494;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-cathedral{background:#17141e url("assets/themes/cathedral.webp") center/cover;border:2px solid #8b8494}
html[data-theme=victorian][data-palette]:root{--bg:#230d16;--panel:#2d1820;--panel-raised:#39252d;--line:#695a61;--text:#f7f3ed;--muted:#c4c7ca;--field:#18090f;--control:#39252d;--frame:#bd9454;--frame-shade:#61432f;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#39252d,#2d1820);--corner-bg:#2d1820;--corner-ink:#f7f3ed;--decoration:url("assets/themes/victorian.webp");--motif:url("assets/themes/victorian-corner.svg");color-scheme:dark;}
html[data-theme=victorian][data-palette=p1]{--state-accent:#e6a0af;--state-current:#4e2d38;--state-preview:#bd9454;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=victorian][data-palette=p2]{--state-accent:#e4c18a;--state-current:#4d3530;--state-preview:#bd9454;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=victorian][data-palette=p3]{--state-accent:#c4b0e5;--state-current:#463144;--state-preview:#bd9454;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=victorian][data-palette=p4]{--state-accent:#a9c3b2;--state-current:#403538;--state-preview:#bd9454;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-victorian{background:#230d16 url("assets/themes/victorian.webp") center/cover;border:2px solid #bd9454}
html[data-theme=darkwave][data-palette]:root{--bg:#17121f;--panel:#211d29;--panel-raised:#2e2a35;--line:#615e67;--text:#f7f3ed;--muted:#c4c7ca;--field:#100d16;--control:#2e2a35;--frame:#a487bc;--frame-shade:#4f415e;--reader-ground:#17121f;--ribbon:linear-gradient(115deg,#2e2a35,#211d29);--corner-bg:#211d29;--corner-ink:#f7f3ed;--decoration:url("assets/themes/darkwave.webp");--motif:url("assets/themes/darkwave-corner.svg");color-scheme:dark;}
html[data-theme=darkwave][data-palette=p1]{--state-accent:#c2a1e8;--state-current:#3d314b;--state-preview:#a487bc;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=darkwave][data-palette=p2]{--state-accent:#e3acd2;--state-current:#443446;--state-preview:#a487bc;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=darkwave][data-palette=p3]{--state-accent:#a6bfde;--state-current:#363849;--state-preview:#a487bc;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=darkwave][data-palette=p4]{--state-accent:#c9bda9;--state-current:#3e383d;--state-preview:#a487bc;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-darkwave{background:#17121f url("assets/themes/darkwave.webp") center/cover;border:2px solid #a487bc}
html[data-theme=moonlit][data-palette]:root{--bg:#08222b;--panel:#132c35;--panel-raised:#213840;--line:#57696f;--text:#f7f3ed;--muted:#c4c7ca;--field:#06181e;--control:#213840;--frame:#aab9c0;--frame-shade:#495e67;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#213840,#132c35);--corner-bg:#132c35;--corner-ink:#f7f3ed;--decoration:url("assets/themes/moonlit.webp");--motif:url("assets/themes/moonlit-corner.svg");color-scheme:dark;}
html[data-theme=moonlit][data-palette=p1]{--state-accent:#abd6df;--state-current:#2c4a53;--state-preview:#aab9c0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=moonlit][data-palette=p2]{--state-accent:#d0c5e5;--state-current:#344654;--state-preview:#aab9c0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=moonlit][data-palette=p3]{--state-accent:#b8cfb8;--state-current:#2f484a;--state-preview:#aab9c0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=moonlit][data-palette=p4]{--state-accent:#e6c3a9;--state-current:#394547;--state-preview:#aab9c0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-moonlit{background:#08222b url("assets/themes/moonlit.webp") center/cover;border:2px solid #aab9c0}
html[data-theme=industrial][data-palette]:root{--bg:#1b1d1e;--panel:#252728;--panel-raised:#323434;--line:#646566;--text:#f7f3ed;--muted:#c4c7ca;--field:#131415;--control:#323434;--frame:#9c9c94;--frame-shade:#4f504d;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#323434,#252728);--corner-bg:#252728;--corner-ink:#f7f3ed;--decoration:url("assets/themes/industrial.webp");--motif:url("assets/themes/industrial-corner.svg");color-scheme:dark;}
html[data-theme=industrial][data-palette=p1]{--state-accent:#e6ad68;--state-current:#483d2e;--state-preview:#9c9c94;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=industrial][data-palette=p2]{--state-accent:#c5cdd0;--state-current:#404445;--state-preview:#9c9c94;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=industrial][data-palette=p3]{--state-accent:#c7c294;--state-current:#414138;--state-preview:#9c9c94;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=industrial][data-palette=p4]{--state-accent:#a6c6c8;--state-current:#3a4243;--state-preview:#9c9c94;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-industrial{background:#1b1d1e url("assets/themes/industrial.webp") center/cover;border:2px solid #9c9c94}
html[data-theme=industrial] #app.basic-reader:after{border-width:5px;border-style:ridge;background-size:32px 32px}
html[data-theme=thrash][data-palette]:root{--bg:#1c1010;--panel:#261b1b;--panel-raised:#332828;--line:#655c5c;--text:#f7f3ed;--muted:#c4c7ca;--field:#140b0b;--control:#332828;--frame:#cc353d;--frame-shade:#621f22;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#332828,#261b1b);--corner-bg:#261b1b;--corner-ink:#f7f3ed;--decoration:url("assets/themes/thrash.webp");--motif:url("assets/themes/thrash-corner.svg");color-scheme:dark;}
html[data-theme=thrash][data-palette=p1]{--state-accent:#f2a28e;--state-current:#4b302c;--state-preview:#cc353d;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=thrash][data-palette=p2]{--state-accent:#e9ce75;--state-current:#493a26;--state-preview:#cc353d;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=thrash][data-palette=p3]{--state-accent:#b5c4d1;--state-current:#3e383a;--state-preview:#cc353d;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=thrash][data-palette=p4]{--state-accent:#d5a7cb;--state-current:#453139;--state-preview:#cc353d;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-thrash{background:#1c1010 url("assets/themes/thrash.webp") center/cover;border:2px solid #cc353d}
html[data-theme=epic][data-palette]:root{--bg:#122032;--panel:#1d2a3b;--panel-raised:#2a3646;--line:#5e6774;--text:#f7f3ed;--muted:#c4c7ca;--field:#0d1623;--control:#2a3646;--frame:#bd9656;--frame-shade:#564f40;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#2a3646,#1d2a3b);--corner-bg:#1d2a3b;--corner-ink:#f7f3ed;--decoration:url("assets/themes/epic.webp");--motif:url("assets/themes/epic-corner.svg");color-scheme:dark;}
html[data-theme=epic][data-palette=p1]{--state-accent:#e6c184;--state-current:#414344;--state-preview:#bd9656;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=epic][data-palette=p2]{--state-accent:#9fc5e6;--state-current:#31445a;--state-preview:#bd9656;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=epic][data-palette=p3]{--state-accent:#d5abd8;--state-current:#3d3f57;--state-preview:#bd9656;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=epic][data-palette=p4]{--state-accent:#d7c69c;--state-current:#3d4549;--state-preview:#bd9656;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-epic{background:#122032 url("assets/themes/epic.webp") center/cover;border:2px solid #bd9656}
html[data-theme=progressive][data-palette]:root{--bg:#091d24;--panel:#14272e;--panel-raised:#22343a;--line:#58656a;--text:#f7f3ed;--muted:#c4c7ca;--field:#061419;--control:#22343a;--frame:#679da7;--frame-shade:#2f5058;--reader-ground:#091d24;--ribbon:linear-gradient(115deg,#22343a,#14272e);--corner-bg:#14272e;--corner-ink:#f7f3ed;--decoration:url("assets/themes/progressive.webp");--motif:url("assets/themes/progressive-corner.svg");color-scheme:dark;}
html[data-theme=progressive][data-palette=p1]{--state-accent:#8ddfe4;--state-current:#26484e;--state-preview:#679da7;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=progressive][data-palette=p2]{--state-accent:#c2d4df;--state-current:#32454d;--state-preview:#679da7;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=progressive][data-palette=p3]{--state-accent:#b4bee9;--state-current:#2f404f;--state-preview:#679da7;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=progressive][data-palette=p4]{--state-accent:#e1b89f;--state-current:#393f3f;--state-preview:#679da7;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-progressive{background:#091d24 url("assets/themes/progressive.webp") center/cover;border:2px solid #679da7}
html[data-theme=pastelpop][data-palette]:root{--bg:#eee5f3;--panel:#f7f3fa;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#b596be;--frame-shade:#d7c5de;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f7f3fa);--corner-bg:#f7f3fa;--corner-ink:#252a2c;--decoration:url("assets/themes/pastelpop.webp");--motif:url("assets/themes/pastelpop-corner.svg");color-scheme:light;}
html[data-theme=pastelpop][data-palette=p1]{--state-accent:#6f3c88;--state-current:#dbcce3;--state-preview:#b596be;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=pastelpop][data-palette=p2]{--state-accent:#96516c;--state-current:#e1cfdf;--state-preview:#b596be;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=pastelpop][data-palette=p3]{--state-accent:#416e88;--state-current:#d4d3e3;--state-preview:#b596be;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=pastelpop][data-palette=p4]{--state-accent:#706536;--state-current:#dbd2d7;--state-preview:#b596be;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-pastelpop{background:#eee5f3 url("assets/themes/pastelpop.webp") center/cover;border:2px solid #b596be}
html[data-theme=neonpop][data-palette]:root{--bg:#08162b;--panel:#132035;--panel-raised:#212d40;--line:#57616f;--text:#f7f3ed;--muted:#c4c7ca;--field:#060f1e;--control:#212d40;--frame:#5189ed;--frame-shade:#254479;--reader-ground:#08162b;--ribbon:linear-gradient(115deg,#212d40,#132035);--corner-bg:#132035;--corner-ink:#f7f3ed;--decoration:url("assets/themes/neonpop.webp");--motif:url("assets/themes/neonpop-corner.svg");color-scheme:dark;}
html[data-theme=neonpop][data-palette=p1]{--state-accent:#f1a0da;--state-current:#3b3452;--state-preview:#5189ed;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=neonpop][data-palette=p2]{--state-accent:#87d9ea;--state-current:#244155;--state-preview:#5189ed;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=neonpop][data-palette=p3]{--state-accent:#bda4f0;--state-current:#303556;--state-preview:#5189ed;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=neonpop][data-palette=p4]{--state-accent:#f0b18f;--state-current:#3b3841;--state-preview:#5189ed;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-neonpop{background:#08162b url("assets/themes/neonpop.webp") center/cover;border:2px solid #5189ed}
html[data-theme=neonpop] #app.basic-reader:after{box-shadow:inset 0 0 6px #5189ed,0 0 5px #f1a0da;border-width:2px}
html[data-theme=retropop][data-palette]:root{--bg:#092b37;--panel:#143540;--panel-raised:#22404b;--line:#586f77;--text:#f7f3ed;--muted:#c4c7ca;--field:#061e26;--control:#22404b;--frame:#64c8ca;--frame-shade:#2d6a72;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#22404b,#143540);--corner-bg:#143540;--corner-ink:#f7f3ed;--decoration:url("assets/themes/retropop.webp");--motif:url("assets/themes/retropop-corner.svg");color-scheme:dark;}
html[data-theme=retropop][data-palette=p1]{--state-accent:#ef9cab;--state-current:#3c4451;--state-preview:#64c8ca;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=retropop][data-palette=p2]{--state-accent:#86d8d4;--state-current:#24515a;--state-preview:#64c8ca;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=retropop][data-palette=p3]{--state-accent:#e8c680;--state-current:#3a4d47;--state-preview:#64c8ca;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=retropop][data-palette=p4]{--state-accent:#c7b0eb;--state-current:#33485f;--state-preview:#64c8ca;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-retropop{background:#092b37 url("assets/themes/retropop.webp") center/cover;border:2px solid #64c8ca}
html[data-theme=popstage][data-palette]:root{--bg:#291528;--panel:#332032;--panel-raised:#3e2c3e;--line:#6d606d;--text:#f7f3ed;--muted:#c4c7ca;--field:#1d0f1c;--control:#3e2c3e;--frame:#d8a68b;--frame-shade:#6f4f50;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#3e2c3e,#332032);--corner-bg:#332032;--corner-ink:#f7f3ed;--decoration:url("assets/themes/popstage.webp");--motif:url("assets/themes/popstage-corner.svg");color-scheme:dark;}
html[data-theme=popstage][data-palette=p1]{--state-accent:#edafcf;--state-current:#54374d;--state-preview:#d8a68b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=popstage][data-palette=p2]{--state-accent:#e9c48e;--state-current:#533c3e;--state-preview:#d8a68b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=popstage][data-palette=p3]{--state-accent:#c3b0e9;--state-current:#4b3752;--state-preview:#d8a68b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=popstage][data-palette=p4]{--state-accent:#a7d0da;--state-current:#453e4f;--state-preview:#d8a68b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-popstage{background:#291528 url("assets/themes/popstage.webp") center/cover;border:2px solid #d8a68b}
html[data-theme=leather][data-palette]:root{--bg:#171416;--panel:#211f20;--panel-raised:#2e2c2d;--line:#615f61;--text:#f7f3ed;--muted:#c4c7ca;--field:#100e0f;--control:#2e2c2d;--frame:#b7bec1;--frame-shade:#57585a;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#2e2c2d,#211f20);--corner-bg:#211f20;--corner-ink:#f7f3ed;--decoration:url("assets/themes/leather.webp");--motif:url("assets/themes/leather-corner.svg");color-scheme:dark;}
html[data-theme=leather][data-palette=p1]{--state-accent:#eaa0a6;--state-current:#453336;--state-preview:#b7bec1;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=leather][data-palette=p2]{--state-accent:#cbd3d7;--state-current:#3f3e40;--state-preview:#b7bec1;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=leather][data-palette=p3]{--state-accent:#e0bb8e;--state-current:#433930;--state-preview:#b7bec1;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=leather][data-palette=p4]{--state-accent:#aebce1;--state-current:#383943;--state-preview:#b7bec1;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-leather{background:#171416 url("assets/themes/leather.webp") center/cover;border:2px solid #b7bec1}
html[data-theme=leather] #app.basic-reader:after{border-width:5px;border-style:dashed;background-size:32px 32px}
html[data-theme=rockamp][data-palette]:root{--bg:#1b1915;--panel:#252320;--panel-raised:#32302c;--line:#646360;--text:#f7f3ed;--muted:#c4c7ca;--field:#13120f;--control:#32302c;--frame:#bf9755;--frame-shade:#5d4b2f;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#32302c,#252320);--corner-bg:#252320;--corner-ink:#f7f3ed;--decoration:url("assets/themes/rockamp.webp");--motif:url("assets/themes/rockamp-corner.svg");color-scheme:dark;}
html[data-theme=rockamp][data-palette=p1]{--state-accent:#e9bf79;--state-current:#483e2b;--state-preview:#bf9755;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=rockamp][data-palette=p2]{--state-accent:#d3c8a3;--state-current:#433f34;--state-preview:#bf9755;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=rockamp][data-palette=p3]{--state-accent:#b7c7ca;--state-current:#3d3f3d;--state-preview:#bf9755;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=rockamp][data-palette=p4]{--state-accent:#e3a48b;--state-current:#47382f;--state-preview:#bf9755;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-rockamp{background:#1b1915 url("assets/themes/rockamp.webp") center/cover;border:2px solid #bf9755}
html[data-theme=rockamp] #app.basic-reader:after{border-width:5px;border-style:ridge;background-size:32px 32px}
html[data-theme=backstage][data-palette]:root{--bg:#0d1328;--panel:#181e32;--panel-raised:#252b3e;--line:#5a5f6d;--text:#f7f3ed;--muted:#c4c7ca;--field:#090d1c;--control:#252b3e;--frame:#8876d0;--frame-shade:#3e3b6b;--reader-ground:#0d1328;--ribbon:linear-gradient(115deg,#252b3e,#181e32);--corner-bg:#181e32;--corner-ink:#f7f3ed;--decoration:url("assets/themes/backstage.webp");--motif:url("assets/themes/backstage-corner.svg");color-scheme:dark;}
html[data-theme=backstage][data-palette=p1]{--state-accent:#b9a7ef;--state-current:#333454;--state-preview:#8876d0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=backstage][data-palette=p2]{--state-accent:#97c5f1;--state-current:#2b3a54;--state-preview:#8876d0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=backstage][data-palette=p3]{--state-accent:#e2afd9;--state-current:#3c354f;--state-preview:#8876d0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=backstage][data-palette=p4]{--state-accent:#ecc28c;--state-current:#3e393e;--state-preview:#8876d0;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-backstage{background:#0d1328 url("assets/themes/backstage.webp") center/cover;border:2px solid #8876d0}
html[data-theme=backstage] #app.basic-reader:after{box-shadow:inset 0 0 6px #8876d0,0 0 5px #b9a7ef;border-width:2px}
html[data-theme=vintagerock][data-palette]:root{--bg:#2a1010;--panel:#341b1b;--panel-raised:#3f2828;--line:#6e5c5c;--text:#f7f3ed;--muted:#c4c7ca;--field:#1d0b0b;--control:#3f2828;--frame:#b69152;--frame-shade:#62442a;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#3f2828,#341b1b);--corner-bg:#341b1b;--corner-ink:#f7f3ed;--decoration:url("assets/themes/vintagerock.webp");--motif:url("assets/themes/vintagerock-corner.svg");color-scheme:dark;}
html[data-theme=vintagerock][data-palette=p1]{--state-accent:#e5b67f;--state-current:#533528;--state-preview:#b69152;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=vintagerock][data-palette=p2]{--state-accent:#e2a0a5;--state-current:#523031;--state-preview:#b69152;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=vintagerock][data-palette=p3]{--state-accent:#d4c49b;--state-current:#4f382f;--state-preview:#b69152;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=vintagerock][data-palette=p4]{--state-accent:#adc7b6;--state-current:#473835;--state-preview:#b69152;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-vintagerock{background:#2a1010 url("assets/themes/vintagerock.webp") center/cover;border:2px solid #b69152}
html[data-theme=roots][data-palette]:root{--bg:#173020;--panel:#21392a;--panel-raised:#2e4536;--line:#617267;--text:#f7f3ed;--muted:#c4c7ca;--field:#102216;--control:#2e4536;--frame:#b69a4b;--frame-shade:#575a31;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#2e4536,#21392a);--corner-bg:#21392a;--corner-ink:#f7f3ed;--decoration:url("assets/themes/roots.webp");--motif:url("assets/themes/roots-corner.svg");color-scheme:dark;}
html[data-theme=roots][data-palette=p1]{--state-accent:#cfce83;--state-current:#3f5336;--state-preview:#b69a4b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=roots][data-palette=p2]{--state-accent:#9dce9f;--state-current:#34533c;--state-preview:#b69a4b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=roots][data-palette=p3]{--state-accent:#edbd80;--state-current:#464f35;--state-preview:#b69a4b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=roots][data-palette=p4]{--state-accent:#a2cbd2;--state-current:#365247;--state-preview:#b69a4b;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-roots{background:#173020 url("assets/themes/roots.webp") center/cover;border:2px solid #b69a4b}
html[data-theme=soundsystem][data-palette]:root{--bg:#201c17;--panel:#2a2621;--panel-raised:#36332e;--line:#676561;--text:#f7f3ed;--muted:#c4c7ca;--field:#161410;--control:#36332e;--frame:#b58e52;--frame-shade:#5c4a2f;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#36332e,#2a2621);--corner-bg:#2a2621;--corner-ink:#f7f3ed;--decoration:url("assets/themes/soundsystem.webp");--motif:url("assets/themes/soundsystem-corner.svg");color-scheme:dark;}
html[data-theme=soundsystem][data-palette=p1]{--state-accent:#e6ad77;--state-current:#4c3c2c;--state-preview:#b58e52;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=soundsystem][data-palette=p2]{--state-accent:#dfc797;--state-current:#4a4233;--state-preview:#b58e52;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=soundsystem][data-palette=p3]{--state-accent:#b6c6b3;--state-current:#414139;--state-preview:#b58e52;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=soundsystem][data-palette=p4]{--state-accent:#c5b1d2;--state-current:#443d40;--state-preview:#b58e52;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-soundsystem{background:#201c17 url("assets/themes/soundsystem.webp") center/cover;border:2px solid #b58e52}
html[data-theme=soundsystem] #app.basic-reader:after{border-width:5px;border-style:ridge;background-size:32px 32px}
html[data-theme=ska][data-palette]:root{--bg:#efead8;--panel:#f8f6ed;--panel-raised:#fffdf9;--line:#9b958c;--text:#252a2c;--muted:#555c61;--field:#fffefa;--control:#fffdf9;--frame:#8a793c;--frame-shade:#c7bd9a;--reader-ground:#f3eee3;--ribbon:linear-gradient(115deg,#fffdf9,#f8f6ed);--corner-bg:#f8f6ed;--corner-ink:#252a2c;--decoration:url("assets/themes/ska.webp");--motif:url("assets/themes/ska-corner.svg");color-scheme:light;}
html[data-theme=ska][data-palette=p1]{--state-accent:#805d12;--state-current:#ded5ba;--state-preview:#8a793c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ska][data-palette=p2]{--state-accent:#3e5668;--state-current:#d4d4c7;--state-preview:#8a793c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ska][data-palette=p3]{--state-accent:#904630;--state-current:#e1d1bf;--state-preview:#8a793c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
html[data-theme=ska][data-palette=p4]{--state-accent:#526946;--state-current:#d7d7c2;--state-preview:#8a793c;--state-ink:#ffffff;--state-current-ink:#252a2c;}
.theme-swatch-ska{background:#efead8 url("assets/themes/ska.webp") center/cover;border:2px solid #8a793c}
html[data-theme=dub][data-palette]:root{--bg:#082631;--panel:#13303a;--panel-raised:#213c46;--line:#576b73;--text:#f7f3ed;--muted:#c4c7ca;--field:#061b22;--control:#213c46;--frame:#4d9eaa;--frame-shade:#245661;--reader-ground:#082631;--ribbon:linear-gradient(115deg,#213c46,#13303a);--corner-bg:#13303a;--corner-ink:#f7f3ed;--decoration:url("assets/themes/dub.webp");--motif:url("assets/themes/dub-corner.svg");color-scheme:dark;}
html[data-theme=dub][data-palette=p1]{--state-accent:#8dd9df;--state-current:#254d57;--state-preview:#4d9eaa;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=dub][data-palette=p2]{--state-accent:#efa98e;--state-current:#3b4345;--state-preview:#4d9eaa;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=dub][data-palette=p3]{--state-accent:#b6c5e7;--state-current:#2e4959;--state-preview:#4d9eaa;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
html[data-theme=dub][data-palette=p4]{--state-accent:#bbd5ac;--state-current:#2f4c4c;--state-preview:#4d9eaa;--state-ink:#14202a;--state-current-ink:#f7f3ed;}
.theme-swatch-dub{background:#082631 url("assets/themes/dub.webp") center/cover;border:2px solid #4d9eaa}
html[data-theme=paper][data-palette=classic]{--state-accent:#4b535b;--state-current:#e2e6e8;--state-preview:#657583;--state-ink:#ffffff;--state-current-ink:#252a2c}html[data-theme=paper] #app.basic-reader .stage{border:2px solid #444b51;border-radius:12px;--reader-frame-inset:2px}html[data-theme=paper] #basicCorner{background:#30383e;color:#fff;border-color:#707980}
html[data-theme=jazzdeco] #app.basic-reader:after{border-radius:3px;border-width:4px}html[data-theme=bluenote] #app.basic-reader:after{border-radius:12px;background-image:none;border-width:4px}

/* Light skin metadata and floating page status share the UI token contrast. */
html:is([data-theme=paper],[data-theme=ivory],[data-theme=modernclass],[data-theme=bossa],[data-theme=ambient],[data-theme=nordic],[data-theme=bohemian],[data-theme=pastelpop],[data-theme=ska]) :is(.tiny-pill,.search-box kbd){background:var(--control);color:var(--text);border-color:var(--line)}
html:is([data-theme=paper],[data-theme=ivory],[data-theme=modernclass],[data-theme=bossa],[data-theme=ambient],[data-theme=nordic],[data-theme=bohemian],[data-theme=pastelpop],[data-theme=ska]) .floating-page-status{background:var(--panel);color:var(--text);border-color:var(--line)}

#themeShowcase:is([data-preview-theme=paper],[data-preview-theme=ivory],[data-preview-theme=modernclass],[data-preview-theme=bossa],[data-preview-theme=ambient],[data-preview-theme=nordic],[data-preview-theme=bohemian],[data-preview-theme=pastelpop],[data-preview-theme=ska]) [data-showcase-apply]{color:#fff}
/* Erősítő 3D: separate opt-in material variant. No score, canvas or export styling. */
html[data-theme=rockampleather][data-palette]:root{
 --bg:#151412;--panel:#24211e;--panel-raised:#34312b;--line:#716654;
 --text:#f7f3ed;--muted:#c9c2b7;--field:#121110;--control:#34312b;
 --frame:#bf9755;--frame-shade:#59442a;--reader-ground:#f3eee3;
 --leather-tint:#20170f70;
 --leather-sheet-size:max(100vw,177.69vh) auto;
 --leather-image:linear-gradient(115deg,var(--leather-tint),#08090b80),url("assets/themes/rockamp-tolex-sheet.webp");
 --ribbon:linear-gradient(180deg,#ffffff09,#00000040),linear-gradient(115deg,var(--leather-tint),#08090b80),url("assets/themes/rockamp-tolex-sheet.webp") center top/var(--leather-sheet-size) no-repeat;
 --corner-bg:#24211e;--corner-ink:#f7f3ed;
 --decoration:url("assets/themes/rockamp.webp");--motif:url("assets/themes/rockamp-corner.svg");color-scheme:dark;
}
html[data-theme=rockampleather][data-palette=brass]{--state-accent:#e9bf79;--state-current:#483e2b;--state-preview:#bf9755;--state-ink:#14202a;--state-current-ink:#f7f3ed}
html[data-theme=rockampleather][data-palette=copper]:root{--frame:#b88867;--frame-shade:#64422e;--leather-tint:#54271380;--state-accent:#e6ae90;--state-current:#49372c;--state-preview:#b88867;--state-ink:#14202a;--state-current-ink:#f7f3ed}
html[data-theme=rockampleather][data-palette=chrome]:root{--frame:#a1b2bd;--frame-shade:#414e58;--leather-tint:#14243370;--state-accent:#c4d2db;--state-current:#343e45;--state-preview:#a1b2bd;--state-ink:#14202a;--state-current-ink:#f7f3ed}
html[data-theme=rockampleather][data-palette=oxblood]:root{--frame:#ba8780;--frame-shade:#573034;--leather-tint:#5b152590;--state-accent:#efb2a7;--state-current:#493137;--state-preview:#ba8780;--state-ink:#14202a;--state-current-ink:#f7f3ed}
html[data-theme=rockampleather] :is(#basicToolbar,#practiceDock,.stage-header,.library-footer){
 background:var(--ribbon)!important;background-repeat:no-repeat!important;
 border-color:var(--frame)!important;
 box-shadow:inset 0 1px 0 #ffe5b04d,inset 0 -2px 3px #000b,0 3px 8px #0005;
}
html[data-theme=rockampleather][data-palette] :is(.library,#basicPanel,.settings-dialog,.tool-menu-dialog,.app-message-dialog,.workspace-card,.score-editor-shell,.creator-meta-card,.creator-sidebar,.creator-header,.creator-footer,.annotation-header,.annotation-toolbar,.annotation-tool-panel,.native-top,.native-side,.native-controls,.ocr-review-dialog,.ocr-progress-dialog,.key-picker-dialog,.annotation-library-panel,.quick-list,.theme-gallery-heading,.customization-card){
 background-image:var(--leather-image)!important;background-size:auto,var(--leather-sheet-size)!important;background-repeat:no-repeat!important;background-position:center top!important;
 box-shadow:inset 0 1px 0 #ffe5b026,inset 0 -1px 2px #0009;
}
html[data-theme=rockampleather] #app.basic-reader{background:var(--bg)!important}
html[data-theme=rockampleather] #app.basic-reader:before{
 border:3px ridge var(--frame);border-radius:9px;
 box-shadow:0 3px 8px #0009,inset 0 0 10px #0008;
}
html[data-theme=rockampleather] #app.basic-reader:after{
 border:5px ridge var(--frame);border-radius:12px;background-size:32px 32px;
 box-shadow:inset 0 1px 1px #fff5,inset 0 -2px 4px #0009,0 2px 5px #0008;
}
html[data-theme=rockampleather] #basicCorner{
 background:linear-gradient(150deg,var(--frame),var(--frame-shade))!important;color:#fff9ef;
 border:1px solid var(--frame);text-shadow:0 1px 2px #000;
 box-shadow:inset 0 1px 0 #fff6,0 2px 4px #0008;
}
/* Beveled controls retain semantic selected, danger, disabled and focus states. */
html[data-theme=rockampleather] :is(#basicToolbar,#practiceDock,.stage-header,.library-footer) button{
 box-shadow:inset 0 1px 0 #fff2,inset 0 -2px 2px #0008,0 1px 2px #0007;
}
html[data-theme=rockampleather] :is(#basicToolbar,#practiceDock,.stage-header,.library-footer) button:active:not(:disabled){box-shadow:inset 0 2px 3px #0008}
.theme-swatch-rockampleather{
 background:linear-gradient(180deg,#0000 65%,#17110bc9),url("assets/themes/rockamp.webp") center/cover;
 border:4px ridge #bf9755;box-shadow:inset 0 0 0 5px #201b16,0 2px 5px #0006;
}

/* M3.3.123 — settings tabs and module introductions */
#settingsModal .settings-group[hidden]{display:none!important}
#settingsModal .settings-nav{gap:4px;padding-bottom:0;background:var(--panel);border-color:var(--line);scrollbar-width:thin}
#settingsModal .settings-nav [role=tab]{position:relative;background:transparent!important;color:var(--muted);border:0!important;border-radius:10px 10px 0 0;min-height:52px;padding:14px 18px;white-space:nowrap;font-weight:600}
#settingsModal .settings-nav [role=tab][aria-selected=true]{color:var(--accent);background:var(--panel-raised,var(--panel))!important}
#settingsModal .settings-nav [role=tab][aria-selected=true]::after{content:'';position:absolute;bottom:0;left:14px;right:14px;height:3px;border-radius:3px;background:var(--accent)}
#settingsModal .settings-nav [role=tab]:focus-visible,#settingsModal .settings-module-open:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
#settingsModal .settings-group{margin-bottom:0;align-content:start}
#settingsModal #settings-modules{grid-template-columns:minmax(0,1fr);gap:24px;background:transparent!important}
#settingsModal #settings-modules>h3{font-size:22px}
#settingsModal .settings-module-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel);color:var(--text);box-shadow:0 8px 28px #0001}
#settingsModal .settings-module-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 18px 0}
#settingsModal .settings-module-previews figure{margin:0;min-width:0}
#settingsModal .settings-module-previews img{display:block;width:100%;aspect-ratio:1.6;object-fit:contain;background:var(--bg);border:1px solid var(--line);border-radius:10px;box-sizing:border-box}
#settingsModal .settings-module-previews figcaption{padding:8px 2px 0;color:var(--muted);font-size:13px}
#settingsModal .settings-module-body{padding:24px;display:grid;gap:14px}
#settingsModal .settings-module-body p{margin:0;line-height:1.6;max-width:80ch;color:var(--muted)}
#settingsModal .settings-module-body .settings-module-eyebrow{color:var(--accent);font-size:11px;font-weight:750;letter-spacing:.12em}
#settingsModal .settings-module-body h4{font-size:27px;line-height:1.2;margin:0;color:var(--text)}
#settingsModal .settings-module-features{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
#settingsModal .settings-module-features li{border:1px solid var(--line);border-radius:7px;padding:6px 10px;font-size:13px;color:var(--text);background:var(--panel-raised,var(--panel))}
#settingsModal .settings-module-open{width:fit-content;max-width:100%;margin-top:4px;padding:13px 18px;min-height:48px;text-align:left;font:600 15px system-ui;border:1px solid var(--accent);border-radius:10px;background:var(--control,var(--panel-raised));color:var(--text);cursor:pointer}
#settingsModal .settings-module-open:hover{background:var(--panel-raised);box-shadow:inset 0 0 0 1px var(--accent)}
@media(max-width:600px){#settingsModal .settings-module-previews{grid-template-columns:minmax(0,1fr);padding:12px 12px 0;gap:12px}#settingsModal .settings-module-body{padding:18px;gap:12px}#settingsModal .settings-module-body h4{font-size:24px}#settingsModal .settings-module-open{width:100%}}
