/* Shared modern surfaces for account, musical profile and episode details. */
body.modern-look :is(#profile-dialog,.music-profile,.library-dialog,.library-download-dialog,#login-confirm-dialog){--muted:#a9afa4;--border:#ffffff26;background:#151815;color:#f4f4ed;border:1px solid #ffffff30;border-radius:16px;box-shadow:0 24px 90px #0009;font-family:Inter,Arial,sans-serif}
body.modern-look :is(#profile-dialog,.music-profile,.library-dialog,.library-download-dialog)::backdrop{background:#050705c9;backdrop-filter:blur(5px)}
body.modern-look #header-profile-popover{background:#181c18;border-color:#ffffff30;border-radius:12px;box-shadow:0 16px 48px #0008}
body.modern-look #header-profile-popover :is(button,a){border-color:#ffffff30;background:transparent;color:#e9ece4;border-radius:7px;font:600 13px/1.4 Inter,Arial,sans-serif}
body.modern-look #header-profile-popover :is(button,a):hover{background:#ffffff0a}
body.modern-look #header-profile-popover #profile-login-open{background:#d0ff43;color:#101210;border-color:#d0ff43}
body.modern-look #profile-dialog{width:min(580px,calc(100vw - 32px));max-width:580px;padding:28px;box-sizing:border-box}
body.modern-look #profile-dialog #profile-title{font:italic 800 30px/1.15 Arial,sans-serif;letter-spacing:-.8px;margin:10px 44px 20px 0}
body.modern-look :is(#profile-dialog,.music-profile) :is(input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select){background:#101310;border:1px solid #ffffff35;border-radius:7px;color:#f4f4ed;font:14px/1.4 Inter,Arial,sans-serif;padding:12px;box-shadow:none;max-width:100%;box-sizing:border-box}
body.modern-look :is(#profile-dialog,.music-profile) input::file-selector-button{background:#222722;color:#e9ece4;border:1px solid #ffffff35;border-radius:6px;padding:8px 10px;cursor:pointer}
body.modern-look :is(#profile-dialog,.music-profile) button{border-radius:7px;box-shadow:none;font-family:Inter,Arial,sans-serif;letter-spacing:0}
body.modern-look #profile-dialog :is(#profile-save,#profile-login-submit,#profile-password-save,#profile-send-link){background:#d0ff43;color:#101210;border:0;padding:11px 16px;min-height:42px;text-decoration:none;font-weight:700}
body.modern-look #profile-dialog :is(#profile-edit,#profile-edit-cancel,.music-profile-open,#profile-login-send){background:transparent;border:1px solid #ffffff35;color:#f4f4ed;border-radius:7px;padding:10px 14px;min-height:40px;text-decoration:none}
body.modern-look #profile-dialog :is(#profile-delete,#profile-remove-photo,#profile-logout){color:#a9afa4}
body.modern-look #profile-dialog .profile-summary-identity{padding-bottom:18px;border-bottom:1px solid #ffffff26;gap:18px}
body.modern-look :is(#profile-dialog,.music-profile) .profile-avatar{background:#252c22;color:#d0ff43;border:1px solid #ffffff30}
body.modern-look #profile-dialog :is(#profile-purchases,#profile-verification,#profile-login,#profile-password-panel){border-color:#ffffff26}
body.modern-look .music-profile :is(.music-personal-field,.music-pro-contact,.music-network-field,.music-privacy-section,.music-edit-panel>fieldset,.music-edit-panel>.music-check){background:#191d19;border-color:#ffffff26;border-radius:10px;box-shadow:none}
body.modern-look .music-profile .music-cover-header>.music-public-bio{background:#151815d9;border-color:#ffffff26;border-radius:10px}
body.modern-look .music-profile .music-cover-header:after{background:linear-gradient(180deg,#10121005 10%,#10121044 35%,#101210d9 75%,#151815 100%)}
body.modern-look .music-profile .music-identity{background:transparent}
body.modern-look .music-profile .music-identity h2{font-family:Arial,sans-serif;font-style:italic;font-weight:800;letter-spacing:-.6px}
body.modern-look .music-profile .music-identity .music-avatar{border-color:#151815;box-shadow:0 0 0 1px #ffffff50}
body.modern-look .music-profile :is(.music-tabs,.music-editor-nav,.music-about,.music-tastes,.music-liked-section,.music-album,.music-affinity,.music-other-style){border-color:#ffffff26}
body.modern-look .music-profile :is(.music-tabs button,.music-editor-nav button){background:transparent;border:1px solid transparent;border-radius:7px;color:#c9cec5;font-weight:600;box-shadow:none}
body.modern-look .music-profile :is(.music-tabs button[aria-current=page],.music-editor-nav button[aria-current=page]){background:#d0ff43;color:#101210}
body.modern-look .music-profile :is(.music-style-tags span,.music-styles .music-check){background:#202620;border:1px solid #ffffff26;color:#d8ddd3;box-shadow:none}
body.modern-look .music-profile .music-styles .music-check.is-selected{background:#d0ff4315;color:#d0ff43;border-color:#d0ff4380}
body.modern-look .music-profile .music-editor-bar{background:#181c18f5;border-color:#ffffff30;box-shadow:0 -8px 24px #0003}
body.modern-look .music-profile .music-editor-bar button{border-radius:7px}
body.modern-look .music-profile :is(.music-affinity-list button,.music-public-favorites a){background:#191d19;border-color:#ffffff26;border-radius:9px;color:#f4f4ed}
body.modern-look .music-profile .music-dj-badge.music-dj-pass{background:#101410df;border-color:#d0ff4370;border-radius:7px}
body.modern-look :is(.music-profile .music-identity-actions button,.music-profile .music-network-links a){background:#101410b3;border-color:#ffffff50;color:#f4f4ed;text-shadow:none;box-shadow:none}
body.modern-look .music-profile.music-managing>.music-album{background:#191d19;border-color:#ffffff26;border-radius:10px}
body.modern-look .library-dialog{width:min(960px,calc(100vw - 32px));max-height:92dvh;overflow:auto;padding:0}
body.modern-look .library-dialog-head{background:#151815;border-bottom:1px solid #ffffff26;padding:22px 24px;gap:20px}
body.modern-look .library-dialog-head h2{font:italic 800 clamp(24px,3vw,36px)/1.15 Arial,sans-serif;letter-spacing:-.7px;color:#f4f4ed;margin:0}
body.modern-look .library-dialog-identity{gap:18px;min-width:0}
body.modern-look .library-dialog-cover{width:80px;height:80px;border:1px solid #ffffff26;border-radius:8px;object-fit:cover}
body.modern-look .library-dialog .library-dialog-dj{font:14px/1.5 Inter,Arial,sans-serif;color:#adb5a8;margin:8px 0 0}
body.modern-look .library-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
body.modern-look .library-dialog-actions button{flex:0 1 auto;min-height:40px;background:transparent;border:1px solid #ffffff40;border-radius:7px;padding:10px 16px;color:#e9ece4;font:600 13px/1.4 Inter,Arial,sans-serif;box-shadow:none}
body.modern-look .library-dialog-actions .library-preview{background:#d0ff43;color:#101210;border-color:#d0ff43;font-weight:700}
body.modern-look .library-dialog :is(.track-row,.tracklist-caption){border-color:#ffffff26}
body.modern-look .library-dialog .track-row{padding-block:14px;gap:14px}
body.modern-look .library-dialog .track-info h3{font:600 15px/1.4 Inter,Arial,sans-serif;color:#f4f4ed}
body.modern-look .library-dialog .track-info p{font:13px/1.4 Inter,Arial,sans-serif;color:#a9afa4}
body.modern-look .library-dialog :is(.track-number,.track-stamp,.track-preview-control small){font:11px/1.4 Inter,Arial,sans-serif;color:#a9afa4}
body.modern-look .library-dialog .track-preview{width:36px;height:36px;min-height:36px;border:1px solid #ffffff40;background:transparent;color:#e9ece4;box-shadow:none;border-radius:50%;padding:0}
body.modern-look .library-dialog .track-preview:hover,body.modern-look .library-dialog .track-preview[aria-pressed=true]{background:#d0ff43;color:#101210;border-color:#d0ff43}
body.modern-look :is(.library-dialog .library-close,#profile-dialog .profile-close,.music-profile>.music-close){width:36px;height:36px;min-height:36px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #ffffff40!important;background:#151815e6!important;border-radius:50%;color:#f4f4ed!important;font:24px/1 Arial,sans-serif;box-shadow:none!important;flex-shrink:0}
body.modern-look :is(#profile-dialog,.music-profile,.library-dialog) :focus-visible{outline:2px solid #d0ff43;outline-offset:3px}
@media(max-width:600px){
 body.modern-look #profile-dialog{padding:20px;width:calc(100vw - 20px)}
 body.modern-look .music-profile{border-radius:0}
 body.modern-look .library-dialog{width:calc(100vw - 16px);max-height:94dvh;border-radius:12px}
 body.modern-look .library-dialog-head{padding:16px;gap:12px}
 body.modern-look .library-dialog-cover{width:56px;height:56px}
 body.modern-look .library-dialog-identity{gap:12px}
 body.modern-look .library-dialog-actions button{padding:9px 11px;font-size:12px}
 body.modern-look :is(#profile-dialog,.music-profile) :is(input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select){font-size:16px}
}
body.modern-look .music-profile :is(.music-tastes,.music-affinity,.music-liked-section,.music-album){background:#191d19;border-color:#ffffff26;border-radius:10px;box-shadow:none}
body.modern-look .music-profile .music-photos button:not(.music-photo-preview){background:transparent;border:1px solid #ffffff35;color:#c9cec5;border-radius:7px}
.music-media-notice{padding:12px 14px;border:1px solid #d0ff4366;border-radius:8px;background:#d0ff430b;color:#e9ece4;font:13px/1.5 Inter,Arial,sans-serif;overflow-wrap:anywhere}
.music-media-notice[hidden]{display:none!important}
body.modern-look .music-profile .music-editor-status{max-width:60%;line-height:1.5}
@media(max-width:600px){body.modern-look .music-profile .music-editor-bar{flex-wrap:wrap;padding:12px 18px}body.modern-look .music-profile .music-editor-status{max-width:100%;width:100%}}

/* Guide and public DJ profiles share the modern panel language. */
body.modern-look #first-visit-guide{background:#151815;border:1px solid #ffffff26;border-radius:16px;box-shadow:0 24px 90px #000b}
body.modern-look .visit-guide-art{background:#101210;border-color:#ffffff26;border-radius:8px}
body.modern-look #visit-guide-title{font-family:Arial,sans-serif;font-weight:900;font-style:italic;color:#f4f4ed}
body.modern-look .visit-guide-copy{color:#b8bdb3}
body.modern-look #first-visit-guide button{border-radius:7px}
body.modern-look #first-visit-guide .visit-guide-close{background:#101210;border-color:#ffffff40;border-radius:50%}
body.modern-look .visit-guide-back{border-color:#ffffff40;color:#f4f4ed}
body.modern-look .visit-guide-skip{color:#a9afa4}
body.modern-look .visit-guide-preview-control{border-color:#ffffff35}

/* Let episode titles use the available header width beside the cover. */
body.modern-look .library-dialog-head .library-dialog-identity{flex:1 1 auto;min-width:0}
body.modern-look .library-dialog-head .library-dialog-text{flex:1 1 auto;min-width:0}
body.modern-look .library-dialog-head .library-dialog-text h2{width:auto;max-width:none;white-space:normal;word-break:normal;overflow-wrap:break-word;text-wrap:wrap}
body.modern-look .library-dialog-head .library-dialog-cover{flex-shrink:0}
@media(max-width:560px){body.modern-look .library-dialog-head .library-dialog-text h2{font-size:clamp(20px,6vw,26px);letter-spacing:-.4px}}

body.modern-look .library-dialog-head .library-dialog-cover{width:128px;height:128px;flex-basis:128px;object-fit:contain;border-radius:8px}
body.modern-look .library-dialog-like{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:56px;min-height:40px;margin-top:10px;padding:6px 12px;border:1px solid #738450;border-radius:24px;background:#10150d;color:#eef1e5;font:600 13px/1.2 Arial,sans-serif;cursor:pointer}
body.modern-look .library-dialog-like svg{width:22px;height:22px;fill:none;stroke:currentColor}
body.modern-look .library-dialog-like[aria-pressed=true]{color:#d0ff43;background:#d0ff4318;border-color:#d0ff43}
body.modern-look .library-dialog-like[aria-pressed=true] svg{fill:currentColor}
body.modern-look .library-dialog-like:disabled{opacity:.5;cursor:default}
@media(max-width:560px){body.modern-look .library-dialog-head .library-dialog-cover{width:88px;height:88px;flex-basis:88px}body.modern-look .library-dialog-head{gap:10px}body.modern-look .library-dialog-head .library-dialog-identity{gap:12px}body.modern-look .library-dialog-like{min-height:44px}}
