body.collection-custom-background{background:var(--collection-bg)!important;color:var(--collection-ink)}
body.collection-custom-background main{background:transparent!important}
body.collection-custom-background :is(.mixed-selection-page,.classic-selection-page,.collection-page){color:var(--collection-ink)}
body.collection-custom-background :is(.mixed-selection-page,.classic-selection-page,.collection-page) :is(h1,h2,p,small,a,span,div){color:inherit}
body.collection-custom-background :is(.mixed-selection-lead,.mixed-selection-meta,.mixed-work-author,.mixed-work-number,.classic-selection-subtitle){color:var(--collection-ink)}
body.collection-custom-background :is(.mixed-selection-works li>a,.mixed-selection-authors a,.mixed-selection-authors>span,.classic-selection-poems li>a){border-color:color-mix(in srgb,var(--collection-ink) 22%,transparent)}
.collection-owner-tools{display:flex;justify-content:flex-end;padding-top:16px}.collection-owner-tools button{min-height:44px}
#collection-background-dialog{width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid #9d8cb455;border-radius:20px;padding:24px;background:#14121b;color:#f3eff8;box-shadow:0 20px 90px #0008}
#collection-background-dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}
#collection-background-form{display:grid;gap:16px}#collection-background-form h2,#collection-background-form p{margin:0}#collection-background-form label{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:18px}
#collection-background-form input[type=color]{width:84px;height:44px;padding:3px}#collection-background-form input[type=text]{width:130px;font:inherit;background:#24202d;color:inherit;padding:10px;border:1px solid #a391b755;border-radius:8px}
#collection-background-form button{min-height:44px;padding:8px 14px;font:inherit;border:1px solid #a391b755;border-radius:10px;background:#292333;color:inherit;cursor:pointer}
#collection-background-save{background:#65438c!important}.collection-background-actions{display:flex;gap:10px;flex-wrap:wrap}#collection-background-status{font-size:16px;line-height:1.5}
body.collection-custom-background :is(.mixed-selection-hero .button,.classic-selection-start){background:var(--collection-ink);color:var(--collection-bg);border-color:var(--collection-ink)}
/* The site's opaque decorative layer sits above the body background. */
body.collection-custom-background::before{background:var(--collection-bg)!important;opacity:1!important;animation:none!important}
.collection-appearance-page :is(.mixed-selection-breadcrumb,.classic-selection-breadcrumb,.publication-breadcrumb){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px}
.collection-appearance-trigger{font-size:16px;min-height:44px;padding:8px 14px;border:1px solid #a391b755;border-radius:12px;flex-shrink:0}
#collection-background-form select{max-width:240px;min-height:44px;font:inherit;background:#24202d;color:inherit;border:1px solid #a391b755;border-radius:8px;padding:8px}
#collection-background-surface{z-index:-1}
@media(prefers-reduced-motion:reduce){.collection-appearance-page .music-cover-object{transform:none!important;will-change:auto!important}}
@media(max-width:600px){.collection-appearance-trigger{font-size:15px}.collection-appearance-page .mixed-selection-breadcrumb{font-size:16px}#collection-background-form select{max-width:190px}}
