/* One palette for the entire application; no animated full-screen effects. */
:root{color-scheme:dark;color:#e4e9f0;background:#080e1c;--accent:#a0a8ef;--muted:#8c9daf;--line:#8498c526;--focus:#b7c9e8;--surface:#10192b;--surface-raised:#17213a;--signal:#df4942}
body{isolation:isolate;background:radial-gradient(ellipse at 82% 0,#2524534f,transparent 52%),radial-gradient(ellipse at 20% 100%,#29434b26,transparent 50%),#080e1c;color:#e4e9f0}
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(119deg,transparent 58%,#d6392f05 58.2%,transparent 58.7%),radial-gradient(ellipse at 90% 52%,#50508b0c,transparent 64%)}
::selection{background:#4b4d80;color:#fff}
button:hover:not(:disabled),a:hover{filter:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.sidebar{background:#0b1324f2;border-right:1px solid var(--line);color:#91a0b5}
.brand{color:#edf0f5;letter-spacing:4px}.brand small{color:#7c8fa4}.brand-symbol{color:#959ce5}.brand-symbol i:first-child{background:#cf413b}
.sidebar-description{color:#9aadb8;letter-spacing:1px}
.main-nav>a{border:1px solid transparent}.main-nav>a:hover{color:#e4e9f0;background:#858caf0c}.main-nav>a.active{color:#e6e9f5;background:linear-gradient(100deg,#4a4b7838,#28354a17);border-color:#8e9cc42b;box-shadow:inset 2px 0 #d44942}.main-nav b{color:#8294a8}.nav-separator{background:var(--line)}
.global-search,.account-button{background:#101a2b;border-color:#8498c530;color:#d9e1ec}.global-search input{color:#e4e9f0}.global-search input::placeholder{color:#72849a}.global-search>.icon{color:#8298b1}.global-search>button{background:#8389b818;color:#aab9d1}.account-button:hover{border-color:#a0add44d}.text-button{color:#a2adc0}
.setup-notice{background:#28334a;border-color:#98a8cd38;color:#c8d2e2}.setup-notice>button{color:#c2ccf2}
.page-title-row h1,.section-heading h2,.admin-toolbar h2{color:#edf0f5}.page-description,.dialog-description{color:#96a4b9}.page-kicker{color:#91a5c6}.page-counter{background:#7181b315;color:#a4b4ca;border:1px solid var(--line)}
.button{color:#bbc8da;background:#152238;border-color:#8096bd2e}.button:hover:not(:disabled){background:#1d2c45;border-color:#96a9ce4d}.button.primary{background:linear-gradient(115deg,#545ba5,#6a78b8);border-color:#a5b0de50;color:#f6f7ff;box-shadow:0 5px 18px #02071538}.button.primary:hover:not(:disabled){background:linear-gradient(115deg,#646bbc,#7a87c6)}.button.subtle{background:#5e6c9c18;color:#b3c0db}.button.danger{background:#a52d2a16;border-color:#db4c4136;color:#eaa8a3}.text-link{color:#a6b7d7}

/* The supplied Laplace image stays unchanged, including its transparent edge. */
.deep-hero{position:relative;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(300px,1.15fr);align-items:center;gap:12px;min-height:370px;padding:12px 0 28px;border-bottom:1px solid var(--line);overflow:hidden}
.deep-hero-copy{position:relative;z-index:2;padding:18px 0;max-width:440px}
.deep-hero .page-kicker{font-size:9px;letter-spacing:2.4px;margin:0 0 22px;color:#8d9fba;display:flex;gap:10px;align-items:center}
.deep-hero .page-kicker:before{content:"";width:20px;height:1px;background:#d23a35}
.deep-hero h1{font-size:37px;line-height:1.55;font-weight:550;letter-spacing:1.7px;margin:0 0 18px;color:#eef0f5}
.deep-hero h1 span{color:#aebbe7}.deep-hero p{font-size:12px;line-height:2;max-width:315px;color:#94a6b7;margin:0 0 25px}
.deep-hero .button-row{gap:11px}.deep-hero .button{padding:10px 17px}.deep-hero .hero-secondary{background:#111d308c;border-color:#91a2c43c;color:#abbcd4}
.abyss-art{position:relative;min-width:0;width:100%;aspect-ratio:1.42;display:flex;align-items:center;justify-content:center}
.abyss-art:before{content:"";position:absolute;width:83%;height:75%;top:5%;left:8%;border-radius:50%;border:1px solid #6a78ae23;transform:rotate(-21deg);box-shadow:0 -1px 0 #bb3b3b1f,inset 0 0 50px #24324e25}
.abyss-art:after{content:"";position:absolute;width:73%;height:33%;left:15%;bottom:12%;border-bottom:1px solid #ca3b3330;border-radius:50%;transform:rotate(-18deg)}
.abyss-figure{position:relative;z-index:1;display:block;width:111%;max-width:none;height:auto;transform:translateX(2%);filter:drop-shadow(0 18px 28px #01051269);pointer-events:none}
.world-seal{position:absolute;z-index:2;bottom:2%;right:2%;display:flex;align-items:center;gap:10px;padding:7px 9px 7px 7px;border:1px solid #8f9dc329;background:#0c1424eb;border-radius:34px}
.world-seal img{width:42px;height:42px;object-fit:cover;border-radius:50%;border:1px solid #7986c056}.world-seal span{font-size:8px;letter-spacing:1.5px;color:#8397b1;margin-right:5px}

.music-table,.artist-card,.playlist-card,.artist-detail-header,.playlist-detail-header,.admin-list,.stat-card,.filter-panel,.upload-panel,.media-search-panel{background:#111b2dda;border-color:var(--line)}
.music-table-head{background:#0d1728;color:#7f93ad;border-color:var(--line)}.music-row,.admin-item{border-color:#8294bb15}.music-row:hover,.admin-item:hover{background:#8b9cc509}.music-row.is-current{background:linear-gradient(90deg,#b3302e15,#4a57831a)}
.row-track-title,.admin-item-main>strong,.music-card-info h3{color:#e2e8f3}.row-track-title:hover{color:#b9c6f1}.row-track-category,.row-date,.row-duration,.row-index,.row-mobile-meta>.row-date{color:#7d92ab}.artist-links,.artist-card p,.playlist-content p,.artist-detail-header p,.playlist-detail-copy p{color:#95a6bc}.artist-links a:hover{color:#c2cef0}.collab-separator{color:#576b83}
.icon-button{color:#8fa3bf}.icon-button:hover{color:#d9e2f4;background:#93a6d017}.icon-button.is-favorite{color:#db7775}.icon-button.is-favorite>.icon{fill:currentColor}.repeat-button[aria-pressed=true],.shuffle-button[aria-pressed=true]{color:#edaaa5;background:#b03e3926}
.row-cover,.playlist-cover,.music-card-art{background:#18233a}.cover-placeholder{background:linear-gradient(145deg,#303c67,#203f4b);color:#aabbd7}.tag,.role-badge,.media-file-type{color:#a4b5d1;background:#7485b21b}.music-card-art{border:1px solid #8597bd21;box-shadow:0 5px 20px #01071336}.card-play{color:#f4f5ff;background:#626cb3eb}.card-play:hover{background:#7983c7}.card-mv{background:#10152de6;color:#d4daf2}
.field,.checkbox-label{color:#9eafc6}.field>input,.field>select,.field>textarea,.role-select,.media-selector-row>select,.filter-panel input,.filter-panel select{background:#0b1525;color:#dce4f1;border-color:#8b9ec33b}.field>input:focus,.field>select:focus,.field>textarea:focus{border-color:#a0b1df88}.field input::placeholder,.field textarea::placeholder{color:#6d829c}select option{background:#111d31;color:#dbe4f0}.checkbox-label input{accent-color:#8696d2;color-scheme:dark}
.filter-extra,.help-text,.small-note,.sample-notice,.selected-media-path,.media-reference.is-unused{color:#8097ad}.empty-state{background:#101b2c;border-color:#7e94bf3b;color:#d8e2ef}.empty-state>.icon{color:#6f88b1}.empty-state p{color:#879eb7}.loading-state{color:#a3b4cf}.error-state{background:#3c202742;border-color:#c44b4b42;color:#dbb0b1}
.player{background:#0c1628f5;border-color:#8498c530;box-shadow:0 -6px 24px #03070e4d}.player-cover{background:#263452;color:#9caed6}.playing-info>strong{color:#e2e9f4}.playing-info>span,.player-status{color:#8298b5}.main-play{background:linear-gradient(130deg,#7986c6,#5964a7);color:#f8f8ff}.progress-row>span{color:#8298b1}
input[type=range],.settings-volume-field>input[type=range]{background:linear-gradient(to right,#cb5651 0%,#a7b3e9 var(--progress,0%),#34405e var(--progress,0%),#34405e 100%)}input[type=range]::-webkit-slider-thumb{background:#b7c2eb}input[type=range]::-moz-range-thumb{background:#b7c2eb}
.dialog{background:radial-gradient(ellipse at 90% 0,#34346835,transparent 60%),#101a2c;color:#dde5f0;border-color:#8298c349;box-shadow:0 24px 75px #0009}.dialog::backdrop{background:#020711ce}.dialog>p,.dialog-description{color:#93a7bf}.dialog h2{color:#ecf0f8}.dialog-eyebrow{color:#879dc2}.auth-tabs{border-color:var(--line)}.auth-tabs>button{color:#8499b5}.auth-tabs>button.active{color:#c1cdf6;border-color:#d34b45}.dialog-footnote{color:#778ca7}.form-error{background:#8c343026;border-color:#cb514247;color:#e6b5b0!important}.dialog-list-item{background:#7189b00a;border-color:#899bc52d;color:#becce0}.dialog-list-item>small{color:#8fa4c2}.dialog-divider,.settings-security{border-color:var(--line)}.dialog-divider{background:var(--line)}.checkbox-grid{background:#08111f52;border-color:#8398c533}.video-dialog video{background:#020711}.video-dialog>p{color:#90a5bf}
.toast{background:#1a2944f5;color:#e6edf8;border:1px solid #8d9fc44a;box-shadow:0 5px 24px #0005;white-space:pre-wrap}.toast.is-error{background:#512c36f2;color:#f3c9c4}
.admin-tabs{border-color:var(--line)}.admin-tabs>a{color:#8da2c0}.admin-tabs>a.active{background:#5b6a9a24;color:#c5d0ee;box-shadow:inset 0 -1px #cb4c45}.stat-card>span{color:#8da2bf}.stat-card>strong{color:#bbc9ed}.admin-item-main>small,.user-record .admin-item-main>small,.file-progress,.inline-count,.user-form-note{color:#8099b7}.media-reference{color:#9bb1cb}.account-summary,.media-filter-count,.media-list-empty{color:#8ea6c2}.media-reference-label{color:#a8bbd8}.user-record .admin-item-main>strong{color:#e2e9f5}
.cleanup-notice{background:#4d5d8d19;border-color:#9aa9cb35;color:#b9c8e1}.cleanup-notice>p{color:#92abc8}.cleanup-notice>.text-button{color:#c1cff0}
.account-avatar{background:linear-gradient(135deg,#8c99ce,#556c8c);color:#10192b}.account-caret{border-color:#91a5c2}.account-menu{background:#111e33f5;border-color:#899dc447;box-shadow:0 15px 40px #0008}.account-menu-identity{border-color:var(--line)}.account-menu-identity>strong{color:#e2e9f6}.account-menu-identity>span{color:#869fbd}.account-menu-item{color:#b6c9e1}.account-menu-item>.icon{color:#8ba2c8}.account-menu-item:hover,.account-menu-item:focus-visible{background:#8298c317;color:#eef2ff}.account-menu-logout{border-color:var(--line);color:#d29d9c}.guest-settings-button{color:#a3b7d6;background:#14223a;border-color:#7e94bc38}
.account-fieldset input[readonly]{color:#7e95b0;background:#0a1424}.account-setting-row{border-color:#8a9cc422}.account-setting-copy>strong{color:#dce5f5}.account-setting-copy>span{color:#8aa2bf}.settings-switch{background:#34435f;border-color:#8b9cc349}.settings-switch:before{background:#899bb9}.settings-switch:checked{background:#6577ae;border-color:#a8b5d58c}.settings-switch:checked:before{background:#edf1ff}.settings-volume-value{color:#b7c8e6}.settings-restore>span{color:#7992b0}.settings-security h3{color:#c8d6ee}.settings-security p,.profile-avatar-help{color:#849ebc}.account-security-note{color:#b0c4df}.profile-avatar-preview{background:linear-gradient(140deg,#303d69,#183846);color:#bac9e1;border-color:#899ec34f}

@media(max-width:1050px){.deep-hero{grid-template-columns:minmax(235px,1fr) minmax(230px,1fr);min-height:340px}.deep-hero h1{font-size:30px;letter-spacing:.8px}.deep-hero p{max-width:270px}.world-seal{bottom:0;right:3%}.world-seal img{width:35px;height:35px}}
@media(max-width:820px){.sidebar{background:#0c1628;border-bottom:1px solid var(--line)}.deep-hero{min-height:330px}.deep-hero-copy{max-width:350px}.deep-hero h1{font-size:32px}}
@media(max-width:620px){.deep-hero{display:flex;flex-direction:column-reverse;gap:0;min-height:0;padding:0 0 26px;text-align:center;overflow:hidden}.abyss-art{width:min(100%,370px);aspect-ratio:1.65;margin:0 auto 3px}.abyss-figure{width:108%;transform:translateX(1%)}.world-seal{bottom:0;right:4%;padding:4px 6px 4px 4px;gap:6px}.world-seal img{width:31px;height:31px}.world-seal span{font-size:6px;letter-spacing:1px}.deep-hero-copy{padding:14px 4px 0;max-width:none;width:100%}.deep-hero .page-kicker{justify-content:center;font-size:7px;letter-spacing:1.8px;margin-bottom:12px}.deep-hero .page-kicker:before{width:13px}.deep-hero h1{font-size:29px;line-height:1.6;letter-spacing:1px;margin-bottom:12px}.deep-hero p{font-size:11px;line-height:1.9;max-width:290px;margin:0 auto 20px}.deep-hero .button-row{justify-content:center}.deep-hero .button{padding:8px 16px}.account-menu{background:#111e33}.reduced-motion .account-menu{background:#111e33}}
@media(max-width:380px){.deep-hero h1{font-size:25px}.deep-hero .page-kicker{font-size:6px;letter-spacing:1.2px}.deep-hero p{font-size:10px}.world-seal span{display:none}}
@media(prefers-reduced-motion:reduce){.abyss-figure{filter:none}}
.reduced-motion .abyss-figure{filter:none}

.portal-music .music-card {
  background: linear-gradient(150deg, #1c2640, #111c2e);
  border-color: #8e9fc83d;
}

.portal-music .music-card-art { box-shadow: none; }
.portal-music .card-play { background: #5a60a3f2; box-shadow: 0 3px 10px #05081485; }
.portal-music .card-play:hover { background: #727abe; }
.portal-music :is(.artist-card, .playlist-card):hover { border-color: #a2afd26e; background: #18243e; }
.portal-music .music-row.is-current { box-shadow: inset 2px 0 #cb5755; }
.portal-music .row-track-title { color: #eeeef5; }
.portal-music .button.danger:hover:not(:disabled) { background: #54272f; border-color: #c96967a3; }
.portal-music .admin-item:hover { background: #8b9cc512; }
.portal-music :is(.admin-item-main > small, .music-table-head, .empty-state p) { color: #a2b2ca; }
.portal-music .admin-tabs > a:hover { color: #eeedf6; background: #30375275; }
.portal-music .admin-tabs > a.active { color: #f0eaf8; background: #322b46; box-shadow: inset 0 -2px #b95b62; }
.portal-music .stat-card { background: linear-gradient(138deg, #1a2741, #141e31); }
.portal-music .stat-card > span { color: #aab8d0; }
.portal-music :is(.field > input, .field > select, .field > textarea) { border-color: #8b9ec356; }
.portal-music :is(.field > input, .field > select, .field > textarea):focus-visible {
  border-color: #b9c6f0;
  outline: 2px solid #b9c6f05d;
  outline-offset: 1px;
}
