:root {
  --black: #050505;
  --black-2: #0a0a0a;
  --panel: #111111;
  --panel-2: #171717;
  --panel-3: #1e1e1e;
  --white: #f7f5f0;
  --muted: #aaa39d;
  --muted-2: #756f69;
  --line: #39332f;
  --teal: #e85c25;
  --cyan: #ff6a2b;
  --pink: #ff6a2b;
  --lime: #f3ebe3;
  --yellow: #ffad59;
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; padding-bottom: 72px; overflow-x: hidden; background: var(--black); color: var(--white); font-family: var(--font); font-size: 16px; }
button,input,select,textarea { font: inherit; }
button,a,select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { width: min(1480px,calc(100% - 48px)); height: 94px; margin: auto; display: flex; align-items: center; position: relative; z-index: 20; border: 1px solid rgba(255,170,120,.24); border-radius: 12px; background: #0d0d0d; box-shadow: 0 9px 28px rgba(0,0,0,.22); }
.brand { width: 285px; height: 86px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px,1.8vw,28px); }
.site-header nav a { padding: 12px 0; color: white; font-size: .82rem; font-weight: 800; transition: color .2s ease; }
.site-header nav a:hover { color: var(--pink); }
.site-header nav a.active { color: white; }
.support-link { min-width: 84px; height: 40px; margin-left: 10px; margin-right: 18px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ff6a2b; border-radius: 6px; background: #ff6a2b; color: white; font-size: .78rem; font-weight: 900; text-transform: uppercase; transition: background .2s ease,border-color .2s ease,transform .2s ease; }
.support-link:hover { border-color: #ff8047; background: #ff8047; color: white; transform: translateY(-1px); }
.account-control { margin-left: 14px; position: relative; flex: 0 0 auto; }
.account-toggle { min-width: 84px; height: 40px; padding: 0 17px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--pink); border-radius: 6px; background: var(--pink); color: white; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.account-toggle:hover,.account-toggle[aria-expanded="true"] { border-color: #ff8047; background: #ff8047; }
.account-toggle.has-avatar { width: 44px; min-width: 44px; height: 44px; padding: 0; overflow: hidden; border: 2px solid var(--pink); border-radius: 50%; background: #161818; }
.account-toggle img,.account-menu-user>img { width: 100%; height: 100%; object-fit: cover; }
.account-initials { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg,#ff7b3f,#a63b14); color: white; font-size: .78rem; font-weight: 900; }
.account-menu { width: 230px; padding: 7px; position: absolute; top: calc(100% + 12px); right: 0; z-index: 90; border: 1px solid #414543; border-radius: 10px; background: #11100f; box-shadow: 0 22px 55px rgba(0,0,0,.58); }
.account-menu::before { content: ""; width: 10px; height: 10px; position: absolute; top: -6px; right: 18px; transform: rotate(45deg); border-left: 1px solid #414543; border-top: 1px solid #414543; background: #11100f; }
.account-menu>a,.account-menu>button { width: 100%; min-height: 42px; padding: 0 12px; display: flex; align-items: center; border: 0; border-radius: 5px; background: transparent; color: white; font-size: .8rem; font-weight: 700; text-align: left; }
.account-menu>a:hover,.account-menu>button:hover { background: #252828; color: var(--cyan); }
.account-menu-user { margin-bottom: 6px; padding: 9px 9px 13px; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; align-items: center; border-bottom: 1px solid #343737; }
.account-menu-user>img,.account-menu-user>.account-initials { width: 42px; height: 42px; overflow: hidden; border-radius: 50%; }
.account-menu-user div { min-width: 0; }
.account-menu-user strong,.account-menu-user span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-menu-user strong { font-size: .82rem; }
.account-menu-user span { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.admin-badge { width: max-content; padding: 3px 6px; display: inline-flex !important; align-items: center; border-radius: 3px; background: var(--pink); color: white !important; font-size: .56rem !important; font-style: normal; font-weight: 900; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.account-menu-user strong .admin-badge { margin-left: 5px; vertical-align: 2px; }
.menu-button { display: none; }

.home-page { background: #080808; }
.home-page .site-header { background: #0d0d0d; }
.listen-screen { min-height: calc(100vh - 22px); margin-top: -94px; padding: 105px 24px 48px; position: relative; isolation: isolate; background: linear-gradient(145deg,#24120b 0,#100e0d 56%,#160b07 100%); }
.listen-screen::before { display: none; }
.listen-titlebar { width: min(1480px,100%); min-height: 72px; margin: 0 auto 10px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.listen-titlebar span { display: block; margin-bottom: 3px; color: var(--cyan); font-size: .66rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.listen-titlebar h1 { margin: 0; font-size: clamp(2rem,3.3vw,3.3rem); line-height: .95; letter-spacing: -.045em; }
.listen-titlebar p { margin: 0 0 5px; color: #c7c0b9; font-size: .82rem; }
.player-workspace { width: min(1480px,100%); min-height: 750px; margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; align-items: stretch; }
.player-panel,.now-panel,.compact-now-panel { min-width: 0; overflow: hidden; border: 1px solid rgba(255,160,105,.18); border-radius: 10px; background: linear-gradient(155deg,#171310,#090909); box-shadow: 0 14px 38px rgba(0,0,0,.24); }
.player-panel { padding: 11px 10px 10px; }
.music-column { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.music-column .playlist-panel { min-height: 0; display: flex; flex: 0 0 auto; flex-direction: column; }
.music-column .playlist-panel .rail-list { width: 100%; height: 472px; min-height: 0; padding-right: 4px; flex: 0 0 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #4c4038 #0a0a0a; scrollbar-width: thin; }
.compact-now-panel { padding: 10px; background: linear-gradient(155deg,rgba(30,17,11,.95),rgba(8,8,8,.96)); }
.compact-now-panel .now-status { min-height: 36px; padding: 0 1px 9px; justify-content: flex-start; border-bottom: 3px solid #fff; }
.compact-now-panel .now-status strong { font-family: "Arial Black",Arial,Helvetica,sans-serif; font-size: 1.25rem; line-height: 1; letter-spacing: -.025em; }
.compact-now-content { padding: 10px 0; display: grid; grid-template-columns: 96px minmax(0,1fr) 48px; gap: 11px; align-items: center; }
.compact-now-content>img { width: 96px; height: 96px; object-fit: cover; border: 1px solid rgba(255,180,135,.35); background: #0d0c0b; box-shadow: 0 10px 25px rgba(0,0,0,.4); }
.compact-now-panel .now-copy { width: auto; min-width: 0; margin: 0; }
.compact-now-panel .now-copy h1 { display: -webkit-box; font-size: 1.08rem; line-height: 1.17; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.compact-now-panel .now-copy h2 { font-size: .96rem; }
.compact-now-panel .track-progress { width: 100%; height: 8px; margin-top: 0; border-radius: 999px; }
.now-rating-slot { min-width: 48px; }
.queue-panel { padding-inline: 10px; display: flex; flex-direction: column; }
.queue-panel .rail-list { min-height: 0; flex: 1; overflow-y: auto; }
.panel-heading { min-height: 36px; padding: 0 2px 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; border-bottom: 2px solid rgba(247,245,240,.90); }
.panel-heading span { display: block; margin-bottom: 2px; color: var(--cyan); font-size: .6rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.panel-heading h2 { margin: 0; font-family: "Arial Black",Arial,Helvetica,sans-serif; font-size: 1.25rem; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.panel-heading a,.panel-heading small { color: #989e9b; font-size: .76rem; white-space: nowrap; }
.panel-heading a:hover { color: var(--cyan); }

.rail-list { width: 100%; min-width: 0; padding-top: 8px; display: flex; flex-direction: column; gap: 6px; overflow-x: hidden; scrollbar-gutter: stable; }
.mini-track { width: 100%; max-width: 100%; min-width: 0; min-height: 88px; padding: 7px; overflow: hidden; display: grid; grid-template-columns: 62px minmax(0,1fr) auto 45px; gap: 9px; align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(0,0,0,.38); transition: background .18s ease,border-color .18s ease,box-shadow .18s ease; }
.mini-track:hover { border-color: rgba(255,255,255,.34); background: rgba(0,0,0,.65); box-shadow: none; }
.song-clickable { cursor: pointer; }
.song-clickable:focus-visible { position: relative; z-index: 1; outline: 2px solid rgba(255,255,255,.82); outline-offset: -2px; }
.mini-track img { width: 62px; height: 62px; object-fit: cover; background: #111; }
.mini-track>* { min-width: 0; }
.mini-track strong,.mini-track span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-track strong { color: #f7f5f0; font-size: .91rem; line-height: 1.2; }
.mini-track span { margin-top: 4px; color: #aab8c2; font-size: .76rem; }
.mini-track time,.track-index,.track-eta { color: var(--muted-2); font-size: .72rem; font-style: normal; white-space: nowrap; }
.queue-panel .mini-track { min-height: 88px; grid-template-columns: 62px minmax(0,1fr) auto 45px; }
.queue-panel .mini-track img { width: 62px; height: 62px; }
.compact .mini-track { min-height: 76px; grid-template-columns: 52px minmax(0,1fr) auto; }
.compact .mini-track img { width: 52px; height: 52px; }
.requested-pill { width: max-content; padding: 5px 8px; border-radius: 3px; background: var(--pink); color: white !important; font-size: .65rem !important; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.mini-track .requested-pill { margin-top: 7px; }
.track-rating { min-width: 45px !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; align-self: center; }
.track-rating button { width: 42px; height: 38px; padding: 1px 3px; border: 0; background: transparent; color: #858b91; filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.track-rating button:hover { color: var(--pink); transform: scale(1.05); }
.track-rating svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: currentColor; stroke-width: 1.2; }
.track-rating small { margin-top: 1px; color: #f1f4f5; font-size: .61rem; font-weight: 900; line-height: 1; white-space: nowrap; }
.track-rating.own-rating button { color: var(--pink); }
.track-rating.loading-rating { opacity: .48; }

.chat-panel { padding: 11px 10px 10px; display: flex; flex-direction: column; }
.chat-heading { margin-inline: 0; }
.chat-heading small { color: var(--cyan); }
.chat-messages { min-height: 430px; max-height: 640px; padding: 8px 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #5a4a40 #0a0a0a; }
.chat-message { margin-bottom: 6px; padding: 12px; border: 1px solid rgba(155,142,133,.22); border-radius: 9px; background: rgba(8,8,8,.67); }
.chat-message:last-child { border-bottom: 0; }
.chat-message-head { display: flex; align-items: center; gap: 7px; min-width: 0; }
.chat-message-avatar { width: 29px; height: 29px; flex: 0 0 29px; overflow: hidden; border-radius: 50%; background: #282b2a; }
.chat-message-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-avatar-initials { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg,#ff7b3f,#a63b14); color: white; font-size: .58rem; font-weight: 900; }
.chat-flag { width: 24px; min-width: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; }
.country-flag-icon { width: 24px; height: 18px; display: inline-block; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.country-globe { line-height: 1; }
.account-country { display: flex !important; align-items: center; gap: 7px; }
.chat-message-head strong { min-width: 0; overflow: hidden; color: var(--white); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.chat-message-head time { margin-left: auto; color: var(--muted-2); font-size: .66rem; white-space: nowrap; }
.chat-message p { margin: 7px 0 0; color: #cbd0cd; font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-empty { min-height: 240px; padding: 32px 20px; display: grid; place-items: center; color: var(--muted-2); font-size: .8rem; text-align: center; }
.chat-access { margin: auto 0 0; padding: 16px; border: 1px solid rgba(155,142,133,.28); border-radius: 8px; background: rgba(8,8,8,.74); }
.chat-access p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.chat-access>div,.request-auth-gate>div { margin-top: 13px; display: flex; gap: 8px; }
.chat-access button,.chat-access a,.request-auth-gate button,.request-auth-gate a { min-height: 39px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #555a58; border-radius: 4px; background: #1d2020; color: white; font-size: .75rem; font-weight: 800; }
.chat-access .primary,.request-auth-gate .primary { border-color: var(--pink); background: var(--pink); }
.chat-composer { margin-top: auto; padding: 13px 16px 0; border-top: 1px solid var(--line); }
.chat-member { min-height: 25px; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; }
.chat-member strong { color: white; }
.chat-member button { margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--pink); font-size: .7rem; }
.chat-compose-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; }
.chat-compose-row textarea { min-height: 58px; max-height: 112px; padding: 10px 11px; resize: vertical; border: 1px solid #505554; border-radius: 5px; outline: 0; background: #0a0909; color: white; font-size: .8rem; line-height: 1.35; }
.chat-compose-row textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(255,106,43,.1); }
.chat-compose-row button { min-width: 62px; height: 42px; border: 1px solid var(--pink); border-radius: 4px; background: var(--pink); color: white; font-size: .73rem; font-weight: 800; }
.chat-compose-row button:disabled { opacity: .55; cursor: wait; }
.chat-feedback { min-height: 16px; margin-top: 5px; color: #ff9b70; font-size: .67rem; }

.now-panel { padding: 18px 22px 21px; display: flex; flex-direction: column; align-items: center; background: rgba(11,12,12,.94); }
.now-status { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: .77rem; }
.now-status strong { color: var(--white); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.now-status b { color: var(--lime); font-weight: 600; }
.live-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,106,43,.13); }
.main-art-shell { width: min(100%,480px); aspect-ratio: 1; margin-top: 8px; position: relative; isolation: isolate; }
.art-backdrop { position: absolute; z-index: -1; inset: 8%; background: center/cover no-repeat; filter: blur(45px) saturate(1.1); opacity: .38; transform: scale(1.09); }
.main-art-shell>img { width: 100%; height: 100%; object-fit: cover; background: #151413; border: 1px solid #3a3d3d; box-shadow: 0 22px 55px rgba(0,0,0,.56); }
.now-copy { width: min(100%,480px); margin-top: 20px; text-align: left; }
.now-copy h1 { margin: 0; overflow: hidden; color: #f5f6f4; font-size: clamp(1.65rem,2.35vw,2.55rem); line-height: 1.06; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.now-copy h2 { margin: 7px 0 0; color: var(--lime); font-size: 1.08rem; font-weight: 500; }
.now-copy p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.round-button { width: 58px; height: 58px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--teal); color: #120b07; box-shadow: 0 10px 28px rgba(0,0,0,.32); transition: transform .18s ease,background .18s ease; }
.round-button:hover { background: var(--cyan); transform: scale(1.04); }
.play-icon { width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor; }
.pause-icon { width: 14px; height: 18px; border-left: 5px solid currentColor; border-right: 5px solid currentColor; }
.track-progress { width: min(100%,480px); height: 8px; margin-top: auto; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.22); }
.track-progress span { width: 0; height: 100%; display: block; border-radius: inherit; background: #fff; }

.next-featured { padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.next-art-wrap { width: min(100%,480px); aspect-ratio: 1; margin: 0 auto; position: relative; overflow: hidden; background: #0d0c0b; }
.next-art-wrap img { width: 100%; height: 100%; object-fit: cover; }
.next-art-wrap .requested-pill { position: absolute; left: 12px; bottom: 12px; }
.next-featured>div:last-child { padding: 14px 2px 0; }
.next-featured strong,.next-featured span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.next-featured strong { font-size: 1.12rem; }
.next-featured>div:last-child>span { margin-top: 6px; color: var(--lime); font-size: .86rem; }
.queue-panel .compact .mini-track:nth-child(n+4) { display: none; }

.history-section,.request-section { padding: 98px max(24px,calc((100vw - 1480px)/2)); scroll-margin-top: 20px; }
.history-section { background: #11100f; }
.section-heading { margin-bottom: 42px; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,430px); gap: 60px; align-items: end; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--pink); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem,4.5vw,5rem); line-height: .98; letter-spacing: -.055em; }
.request-page-main .section-heading h1,.history-page-main .section-heading h1 { margin: 0; font-size: clamp(2.5rem,4.5vw,5rem); line-height: .98; letter-spacing: -.055em; }
.section-heading>p { margin: 0; color: var(--muted); line-height: 1.7; }
.history-tools { display: grid; grid-template-columns: 120px minmax(180px,1fr); gap: 8px 14px; align-items: center; }
.history-tools label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.history-tools select { height: 46px; padding: 0 13px; border: 1px solid #555959; border-radius: 3px; background: #201e1d; color: var(--white); }
.history-tools p { grid-column: 2; margin: 0; color: var(--muted-2); font-size: .78rem; }
.history-columns { min-height: 40px; padding: 0 18px; display: grid; grid-template-columns: 94px 66px minmax(0,1.5fr) minmax(170px,.55fr) 48px 40px; gap: 16px; align-items: center; border: 1px solid var(--line); border-bottom: 0; background: #0a0909; color: var(--muted-2); font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.history-columns span:nth-child(5) { text-align: center; }
.history-list { border: 1px solid var(--line); }
.history-row { min-height: 96px; padding: 11px 18px; display: grid; grid-template-columns: 94px 66px minmax(0,1.5fr) minmax(170px,.55fr) 48px 40px; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); background: #181716; transition: background .18s ease; }
.history-row:nth-child(even) { background: #201e1d; }
.history-row:last-child { border-bottom: 0; }
.history-row:hover { background: #292c2b; }
.history-row time { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.history-row>img { width: 66px; height: 66px; object-fit: cover; background: #0c0d0d; }
.history-main,.history-album { min-width: 0; }
.history-main strong,.history-main span,.history-album span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.history-main strong { font-size: 1rem; }
.history-main span { margin-top: 6px; color: var(--lime); font-size: .86rem; }
.history-album span { color: var(--muted); font-size: .81rem; }
.spotify-link { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #535757; border-radius: 50%; color: #cdd0ce; }
.spotify-link:hover { border-color: #1ed760; background: #1ed760; color: #100b08; }
.spotify-link svg { width: 20px; height: 20px; fill: currentColor; }
.load-more { min-width: 220px; height: 48px; margin: 28px auto 0; padding: 0 22px; display: block; border: 1px solid #626767; border-radius: 4px; background: #201e1d; color: white; font-weight: 700; }
.load-more:hover { border-color: var(--teal); color: var(--cyan); }
.empty-state { padding: 54px; border: 1px solid var(--line); background: #181716; color: var(--muted); text-align: center; }

.request-section { background: #080807; }
.request-heading .eyebrow { color: var(--cyan); }
.request-page-main .request-section { min-height: calc(100vh - 106px); padding-top: 46px; }
.request-page-main .request-heading { width: min(1480px,100%); margin-inline: auto; margin-bottom: 22px; }
.request-page-main .request-heading h1 { font-size: clamp(2.75rem,4vw,4.25rem); }
.request-page-main .request-heading>p { max-width: 490px; }
.request-member { width: min(1480px,100%); min-height: 36px; margin: -10px auto 12px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--muted); font-size: .78rem; }
.request-member strong { color: white; }
.request-member button { margin-left: 8px; padding: 0; border: 0; background: transparent; color: var(--pink); font-size: .74rem; }
.request-auth-gate { width: min(1480px,100%); min-height: 360px; margin: auto; padding: 42px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #353838; border-top: 3px solid var(--cyan); border-radius: 12px; background: #121110; text-align: center; box-shadow: 0 26px 75px rgba(0,0,0,.34); }
.request-lock { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,106,43,.35); border-radius: 50%; background: rgba(255,106,43,.08); color: var(--cyan); font-size: 1.7rem; }
.request-auth-gate h2 { margin: 20px 0 0; font-size: 1.65rem; }
.request-auth-gate p { max-width: 430px; margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.request-auth-gate>div { justify-content: center; }
.request-auth-gate button,.request-auth-gate a { min-width: 126px; min-height: 44px; }
.request-workspace { width: min(1480px,100%); margin: auto; overflow: hidden; border: 1px solid #353838; border-radius: 12px; background: #121110; box-shadow: 0 26px 75px rgba(0,0,0,.34); }
.request-browser { padding: 25px 28px; display: grid; grid-template-columns: minmax(220px,270px) minmax(0,1fr); gap: clamp(26px,3.5vw,52px); border-top: 3px solid var(--cyan); border-bottom: 1px solid #353838; background: #11100f; }
.request-browser-intro { min-width: 0; }
.request-step { display: block; color: var(--pink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.request-browser h2,.request-browser h3,.result-panel-heading h2,.result-panel-heading h3 { margin: 0; font-size: 1.4rem; }
.request-browser-intro>p { margin: 12px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.request-controls { min-width: 0; }
.request-search label { display: block; margin-bottom: 9px; color: var(--cyan); font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.request-search-row { display: grid; grid-template-columns: minmax(0,1fr) 116px; gap: 10px; align-items: stretch; }
.request-input-shell { min-width: 0; min-height: 58px; display: grid; grid-template-columns: 32px minmax(0,1fr) 38px; align-items: center; overflow: hidden; border: 1px solid #555959; border-radius: 5px; background: #080807; }
.request-input-shell:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(255,106,43,.11); }
.request-search svg { width: 20px; height: 20px; margin-left: 13px; fill: var(--muted); }
.request-search input { min-width: 0; height: 56px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: white; font-size: .95rem; }
.request-search input::placeholder { color: #717674; }
.request-search .clear-search { width: 38px; height: 40px; border: 0; background: transparent; color: white; font-size: 1.35rem; }
.request-search .search-submit { width: 116px; min-width: 116px; min-height: 58px; padding: 0 16px; border: 1px solid var(--cyan); border-radius: 5px; background: var(--cyan); color: #130b07; font-size: .8rem; font-weight: 800; }
.request-search .search-submit:hover { background: var(--yellow); color: #130d08; }
.browse-label { margin-top: 21px; display: flex; align-items: center; justify-content: space-between; }
.browse-label>span { color: #d0d3d1; font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.browse-label button { padding: 0; border: 0; background: transparent; color: var(--cyan); font-size: .73rem; }
.alphabet { margin-top: 11px; display: grid; grid-template-columns: repeat(14,minmax(34px,1fr)); gap: 6px; }
.alphabet button { min-width: 0; height: 36px; padding: 0; border: 1px solid #494d4d; border-radius: 3px; background: #1c1e1e; color: #d2d5d3; font-size: .74rem; }
.alphabet button:hover,.alphabet button.active { border-color: var(--pink); background: var(--pink); color: white; }
.request-help { margin-top: 17px; padding: 11px 13px; border-left: 2px solid var(--yellow); background: #1b1d1d; }
.request-help b,.request-help span { display: block; }
.request-help b { color: var(--yellow); font-size: .76rem; }
.request-help span { margin-top: 5px; color: #aeb3b0; font-size: .74rem; line-height: 1.45; }
.request-result-panel { min-width: 0; display: flex; flex-direction: column; background: #151413; }
.result-panel-heading { min-height: 70px; padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #0d0c0b; }
.result-panel-heading>span { color: var(--muted); font-size: .8rem; text-align: right; }
.notice { margin: 16px 22px 0; padding: 13px 15px; border: 1px solid var(--pink); background: rgba(255,106,43,.08); color: #ffb18f; font-size: .86rem; }
.notice.success { border-color: var(--cyan); background: rgba(255,106,43,.08); color: #ffb895; }
.request-results { min-height: 310px; max-height: 620px; overflow-y: auto; }
.request-empty { min-height: 310px; padding: 48px 28px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.request-empty>div { max-width: 320px; }
.request-empty svg { width: 48px; height: 48px; margin: 0 auto 18px; fill: var(--cyan); opacity: .48; }
.request-empty .loading-icon { animation: request-spin .8s linear infinite; }
.request-empty strong,.request-empty span { display: block; }
.request-empty strong { color: #d8dad8; font-size: 1.05rem; }
.request-empty span { margin-top: 8px; font-size: .82rem; line-height: 1.55; }
.request-song { min-height: 86px; padding: 10px 18px; display: grid; grid-template-columns: 60px minmax(0,1fr) minmax(135px,.4fr) auto; gap: 15px; align-items: center; background: #181716; border-bottom: 1px solid var(--line); }
.request-song:nth-child(even) { background: #201e1d; }
.request-song:hover { background: #292c2b; }
.request-song img { width: 60px; height: 60px; object-fit: cover; background: #0b0c0c; }
.request-song-copy,.request-availability { min-width: 0; }
.request-song-copy strong,.request-song-copy span,.request-song-copy small,.request-availability span,.request-availability small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.request-song-copy strong { font-size: .97rem; }
.request-song-copy span { margin-top: 5px; color: var(--cyan); font-size: .81rem; }
.request-song-copy small { margin-top: 5px; color: var(--muted-2); font-size: .72rem; }
.request-availability span { display: flex; align-items: center; gap: 7px; color: #bdc2bf; font-size: .76rem; }
.request-availability span::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #777d7a; }
.request-song.available .request-availability span { color: var(--cyan); }
.request-song.available .request-availability span::before { background: var(--cyan); box-shadow: 0 0 0 3px rgba(255,106,43,.13); }
.request-availability small { margin-top: 6px; color: var(--muted-2); font-size: .69rem; }
.request-song button { width: 112px; min-width: 112px; height: 42px; padding: 0 15px; justify-self: end; border: 1px solid var(--cyan); border-radius: 4px; background: transparent; color: var(--cyan); font-size: .76rem; font-weight: 800; }
.request-song button:hover { background: var(--cyan); color: #130b07; }
.request-song button:disabled { border-color: #454848; background: #2b2d2d; color: #7e8380; cursor: not-allowed; }
.request-page .site-header nav a.active { color: var(--cyan); }
.request-page .round-button { background: var(--cyan); color: #130b07; }
.request-page .round-button:hover { background: var(--yellow); color: #130d08; }
.request-page .dock-meta small { color: var(--cyan); }

.auth-modal { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 20px; }
.auth-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.82); }
.auth-dialog { width: min(460px,100%); max-height: calc(100vh - 40px); padding: 30px; position: relative; overflow-y: auto; border: 1px solid #3b3f3e; border-top: 3px solid var(--pink); border-radius: 12px; background: #121110; box-shadow: 0 35px 100px rgba(0,0,0,.7); }
.auth-dialog h2 { margin: 0; font-size: 2rem; letter-spacing: -.035em; }
.auth-intro { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.auth-close { width: 38px; height: 38px; padding: 0; position: absolute; top: 15px; right: 15px; border: 1px solid #464a49; border-radius: 50%; background: #1c1f1f; color: white; font-size: 1.35rem; line-height: 1; }
.auth-tabs { margin-top: 24px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #3e4241; border-radius: 6px; background: #0a0909; }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 800; }
.auth-tabs button.active { background: #252828; color: white; box-shadow: inset 0 -2px var(--pink); }
.auth-alert { margin-top: 16px; padding: 11px 12px; border: 1px solid rgba(255,106,43,.55); border-radius: 4px; background: rgba(255,106,43,.08); color: #ffb18f; font-size: .8rem; line-height: 1.4; }
.auth-alert.success { border-color: rgba(255,106,43,.5); background: rgba(255,106,43,.08); color: #ffb895; }
.auth-form { margin-top: 20px; }
.auth-form label { display: block; margin: 14px 0 7px; color: #d8dcda; font-size: .74rem; font-weight: 800; }
.auth-form input,.auth-form select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #555a58; border-radius: 4px; outline: 0; background: #0a0909; color: white; }
.auth-form input:focus,.auth-form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(255,106,43,.1); }
.auth-form small { display: block; margin-top: 8px; color: var(--muted-2); font-size: .7rem; line-height: 1.4; }
.auth-submit { width: 100%; min-height: 48px; margin-top: 20px; border: 1px solid var(--pink); border-radius: 4px; background: var(--pink); color: white; font-weight: 800; }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
.auth-switch a,.auth-switch button { padding: 0; border: 0; background: transparent; color: var(--cyan); font-weight: 700; text-decoration: underline; }
body.modal-open { overflow: hidden; }
.song-modal { position: fixed; z-index: 125; inset: 0; display: grid; place-items: center; padding: 20px; }
.song-modal[hidden] { display: none; }
.song-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.84); }
.song-dialog { width: min(760px,100%); padding: 24px; display: grid; grid-template-columns: minmax(220px,280px) minmax(0,1fr); gap: 28px; position: relative; border: 1px solid #4a4f4d; border-radius: 14px; background: #11100f; box-shadow: 0 30px 90px rgba(0,0,0,.72); }
.song-dialog-close { width: 38px; height: 38px; position: absolute; z-index: 2; top: 10px; right: 10px; border: 1px solid #4b504e; border-radius: 50%; background: #0a0909; color: white; font-size: 1.45rem; line-height: 1; }
.song-dialog>img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #3c403f; background: #0a0909; }
.song-dialog-copy { min-width: 0; padding: 12px 8px 4px 0; }
.song-dialog-title-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: start; }
.song-dialog-title-row>div:first-child { min-width: 0; }
.song-dialog-copy h2 { margin: 0; color: white; font-size: clamp(1.9rem,3vw,2.8rem); line-height: 1.02; letter-spacing: -.04em; }
.song-dialog-copy h3 { margin: 10px 0 0; color: var(--lime); font-size: 1.1rem; font-weight: 600; }
.song-rating-control { min-width: 70px; position: relative; display: flex; flex-direction: column; align-items: center; }
.song-rating-heart { width: 48px; height: 48px; padding: 9px; border: 1px solid #555a58; border-radius: 50%; background: #0a0909; color: #f0f1ef; transition: border-color .18s ease,color .18s ease,transform .18s ease; }
.song-rating-heart:hover,.song-rating-heart[aria-expanded="true"] { border-color: var(--pink); color: var(--pink); transform: scale(1.04); }
.song-rating-heart svg { width: 100%; height: 100%; display: block; fill: transparent; stroke: currentColor; stroke-width: 1.8; }
.song-rating-heart.rated { border-color: var(--pink); color: var(--pink); }
.song-rating-heart.rated svg { fill: currentColor; }
.song-rating-summary { margin-top: 6px; color: var(--muted); font-size: .65rem; white-space: nowrap; }
.song-rating-menu { width: 205px; padding: 8px; position: absolute; z-index: 4; top: 58px; right: 0; border: 2px solid #aaa; border-radius: 15px; background: #262827; box-shadow: 0 18px 50px rgba(0,0,0,.62); }
.song-rating-menu button { width: 100%; min-height: 34px; margin: 2px 0; padding: 0 10px; border: 2px solid #e1e1e1; border-radius: 11px; color: white; font-size: .74rem; font-weight: 800; text-align: left; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.song-rating-menu button:nth-child(1) { background: #126b20; }
.song-rating-menu button:nth-child(2) { background: #178129; }
.song-rating-menu button:nth-child(3) { background: #159028; }
.song-rating-menu button:nth-child(4) { background: #469a1e; }
.song-rating-menu button:nth-child(5) { background: #7d9412; }
.song-rating-menu button:nth-child(6) { background: #9b8510; }
.song-rating-menu button:nth-child(7) { background: #a96e12; }
.song-rating-menu button:nth-child(8) { background: #a94816; }
.song-rating-menu button:nth-child(9) { background: #a42e1c; }
.song-rating-menu button:nth-child(10) { background: #9e1720; }
.song-rating-menu button:hover,.song-rating-menu button.selected { filter: brightness(1.28); box-shadow: inset 0 0 0 2px #fff; }
.inline-rating-popover { width: 218px; max-height: calc(100vh - 92px); padding: 10px; position: fixed; z-index: 135; overflow-y: auto; border: 1px solid rgba(255,180,135,.65); border-radius: 12px; background: #0c0b0a; box-shadow: 0 24px 70px rgba(0,0,0,.72),0 0 0 1px rgba(255,106,43,.12); }
.inline-rating-heading { padding: 2px 3px 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(255,180,135,.28); }
.inline-rating-heading strong { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.inline-rating-heading span { color: var(--muted); font-size: .63rem; white-space: nowrap; }
.inline-rating-options { margin-top: 6px; }
.inline-rating-options button { width: 100%; min-height: 32px; margin: 2px 0; padding: 0 10px; border: 1px solid rgba(255,255,255,.86); border-radius: 8px; color: white; font-size: .72rem; font-weight: 800; text-align: left; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.inline-rating-options button:nth-child(1) { background: #126b20; }
.inline-rating-options button:nth-child(2) { background: #178129; }
.inline-rating-options button:nth-child(3) { background: #159028; }
.inline-rating-options button:nth-child(4) { background: #469a1e; }
.inline-rating-options button:nth-child(5) { background: #7d9412; }
.inline-rating-options button:nth-child(6) { background: #9b8510; }
.inline-rating-options button:nth-child(7) { background: #a96e12; }
.inline-rating-options button:nth-child(8) { background: #a94816; }
.inline-rating-options button:nth-child(9) { background: #a42e1c; }
.inline-rating-options button:nth-child(10) { background: #9e1720; }
.inline-rating-options button:hover,.inline-rating-options button.selected { filter: brightness(1.25); box-shadow: inset 0 0 0 2px white; }
.inline-rating-popover>small { min-height: 15px; margin: 7px 3px 1px; display: block; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.song-dialog-copy dl { margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 20px; }
.song-dialog-copy dl>div { min-width: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.song-dialog-copy dt { color: var(--muted-2); font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.song-dialog-copy dd { margin: 5px 0 0; overflow: hidden; color: #e8eae7; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.song-rating-feedback { min-height: 18px; margin-top: 17px; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.song-dialog-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.song-dialog-links a { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; border: 1px solid #505553; border-radius: 4px; background: #1c1f1e; color: white; font-size: .76rem; font-weight: 800; }
.song-dialog-links a:first-child { border-color: #1ed760; }
.song-dialog-links a:last-child { border-color: var(--pink); }

.register-page-main { min-height: calc(100vh - 106px); background: radial-gradient(circle at 50% 18%,#171b1b 0,#090a0a 44%,#050505 100%); }
.register-section { width: min(1480px,calc(100% - 48px)); margin: auto; padding: 62px 0 86px; }
.register-heading,.register-card { width: min(860px,100%); margin-inline: auto; }
.register-heading { max-width: 660px; margin-bottom: 30px; }
.register-heading h1 { margin: 0; font-size: clamp(3rem,6vw,5.3rem); line-height: .96; letter-spacing: -.06em; }
.register-heading>p { margin: 17px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.register-card { padding: 34px 38px 38px; border: 1px solid #383c3a; border-top: 3px solid var(--pink); border-radius: 12px; background: #11100f; box-shadow: 0 28px 85px rgba(0,0,0,.38); }
.register-form label { display: block; margin: 20px 0 8px; color: #f0f2ef; font-size: .8rem; font-weight: 800; }
.register-form label:first-child { margin-top: 0; }
.register-form input { width: 100%; height: 50px; padding: 0 13px; border: 1px solid #505554; border-radius: 5px; outline: 0; background: #080807; color: white; }
.register-form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(255,106,43,.1); }
.register-form small { display: block; margin-top: 7px; color: var(--muted-2); font-size: .72rem; font-weight: 600; line-height: 1.45; }
.turnstile-shell { min-height: 100px; margin-top: 22px; overflow: hidden; }
.turnstile-shell>div { max-width: 100%; }
.turnstile-note { max-width: 570px; margin: 10px 0 0; color: var(--muted-2); font-size: .7rem; line-height: 1.5; }
.register-card .auth-submit { margin-top: 10px; }
.register-page .dock-meta small { color: var(--pink); }

.account-page-main { min-height: calc(100vh - 106px); background: radial-gradient(circle at 50% 18%,#171b1b 0,#090a0a 44%,#050505 100%); }
.account-page-section { width: min(1480px,calc(100% - 48px)); margin: auto; padding: 62px 0 90px; }
.account-page-heading,.account-auth-gate,.profile-card,.settings-card { width: min(860px,100%); margin-inline: auto; }
.account-page-heading { margin-bottom: 30px; }
.account-page-heading h1 { margin: 0; font-size: clamp(3rem,6vw,5.2rem); line-height: .96; letter-spacing: -.06em; }
.account-page-heading>p { margin: 17px 0 0; color: var(--muted); line-height: 1.6; }
.account-auth-gate { min-height: 340px; padding: 44px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #383c3a; border-top: 3px solid var(--pink); border-radius: 12px; background: #11100f; text-align: center; }
.account-auth-gate h2 { margin: 0; font-size: 1.65rem; }
.account-auth-gate p { max-width: 430px; margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.account-auth-gate>div { margin-top: 20px; display: flex; gap: 9px; }
.account-auth-gate button,.account-auth-gate a { min-width: 124px; min-height: 43px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #555a58; border-radius: 4px; background: #1d2020; color: white; font-size: .78rem; font-weight: 800; }
.account-auth-gate a { border-color: var(--pink); background: var(--pink); }
.profile-card { padding: 38px; display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 28px 34px; align-items: center; border: 1px solid #383c3a; border-top: 3px solid var(--pink); border-radius: 12px; background: #11100f; box-shadow: 0 28px 85px rgba(0,0,0,.38); }
.profile-avatar,.settings-avatar-preview { overflow: hidden; border-radius: 50%; background: #242727; box-shadow: inset 0 0 0 1px #454947; }
.profile-avatar { width: 150px; height: 150px; }
.profile-avatar img,.settings-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar>span,.settings-avatar-preview>span { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg,#ff7b3f,#a63b14); color: white; font-size: 2.2rem; font-weight: 900; }
.profile-identity { min-width: 0; }
.profile-flag { font-size: 1.35rem; }
.profile-identity h2 { margin: 8px 0 0; overflow-wrap: anywhere; font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.04em; }
.profile-identity p { margin: 7px 0 0; color: var(--cyan); }
.profile-details { grid-column: 1/-1; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #383c3a; }
.profile-details>div { min-width: 0; padding: 18px; border-right: 1px solid #383c3a; }
.profile-details>div:last-child { border-right: 0; }
.profile-details dt { color: var(--muted-2); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-details dd { margin: 7px 0 0; overflow: hidden; color: white; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-settings-link { grid-column: 1/-1; width: max-content; min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--cyan); border-radius: 4px; color: var(--cyan); font-size: .78rem; font-weight: 800; }
.profile-settings-link:hover { background: var(--cyan); color: #130a06; }
.settings-card { padding: 38px; display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 28px 34px; align-items: center; border: 1px solid #383c3a; border-top: 3px solid var(--pink); border-radius: 12px; background: #11100f; box-shadow: 0 28px 85px rgba(0,0,0,.38); }
.settings-avatar-preview { width: 150px; height: 150px; }
.settings-avatar-copy h2 { margin: 0; font-size: 1.8rem; }
.settings-avatar-copy p { max-width: 490px; margin: 9px 0 18px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.avatar-file-button { min-height: 43px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--cyan); border-radius: 4px; color: var(--cyan); font-size: .78rem; font-weight: 800; }
.avatar-file-button:hover { background: var(--cyan); color: #130a06; }
#avatar-file-name { margin-left: 10px; color: var(--muted-2); font-size: .72rem; }
.settings-actions { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid #343737; }
.settings-actions>button { min-width: 150px; min-height: 46px; border: 1px solid var(--pink); border-radius: 4px; background: var(--pink); color: white; font-size: .8rem; font-weight: 800; }
.settings-actions>button:disabled { opacity: .55; cursor: wait; }
#settings-feedback { min-height: 20px; margin-top: 10px; color: var(--cyan); font-size: .76rem; }

.history-page-main .history-section { min-height: calc(100vh - 106px); padding-top: 60px; background: #11100f; }
.history-page-main .section-heading { margin-inline: auto; }
.page-loading main { opacity: .46; transition: opacity .12s ease; }

/* Shared Radio Paradise-inspired atmosphere for every page. */
.history-page,.request-page,.register-page,.profile-page,.settings-page,.song-page,.apps-page { background: #080808; }
.history-page-main,.request-page-main,.register-page-main,.account-page-main,.song-page-main,.apps-page-main { min-height: 100vh; margin-top: -94px; padding-top: 94px; position: relative; isolation: isolate; background: linear-gradient(145deg,#24120b 0,#100e0d 56%,#160b07 100%); }
.history-page-main::before,.request-page-main::before,.register-page-main::before,.account-page-main::before,.song-page-main::before,.apps-page-main::before { display: none; }
.history-page-main .history-section,.request-page-main .request-section { background: transparent; }
.history-page-main .section-heading,.request-page-main .request-heading { width: min(1480px,100%); }
.history-page-main .section-heading h1,.request-page-main .request-heading h1,.register-heading h1,.account-page-heading h1 { font-size: clamp(2.75rem,5vw,4.75rem); text-shadow: 0 4px 24px rgba(0,0,0,.35); }

.history-tools select,.request-input-shell,.auth-form input,.auth-form select,.register-form input { border-color: rgba(255,170,120,.4); background: rgba(7,7,7,.78); }
.history-columns { border-color: rgba(255,170,120,.28); border-radius: 9px 9px 0 0; background: rgba(12,10,9,.88); }
.history-list { padding: 7px; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(255,170,120,.28); border-top: 0; border-radius: 0 0 10px 10px; background: rgba(13,11,10,.90); }
.history-row,.history-row:nth-child(even) { border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(0,0,0,.38); }
.history-row:nth-child(even) { background: rgba(0,0,0,.3); }
.history-row:last-child { border-bottom: 1px solid rgba(155,142,133,.22); }
.history-row:hover { border-color: rgba(255,255,255,.34); background: rgba(0,0,0,.65); }
.history-main span { color: #f2ded2; }
.load-more,.empty-state { border-color: rgba(255,170,120,.36); background: rgba(14,12,10,.88); box-shadow: 0 15px 45px rgba(0,0,0,.25); }

.request-auth-gate,.request-workspace,.register-card,.account-auth-gate,.profile-card,.settings-card { border-color: rgba(255,170,120,.34); background: linear-gradient(155deg,#171310,#090909); box-shadow: 0 20px 55px rgba(0,0,0,.32); }
.request-browser { border-color: rgba(255,106,43,.8) rgba(255,170,120,.3) rgba(255,170,120,.3); background: rgba(15,12,10,.83); }
.request-help { background: rgba(9,8,8,.64); }
.request-result-panel { background: rgba(13,11,10,.64); }
.result-panel-heading { border-color: rgba(255,170,120,.28); background: rgba(9,8,8,.76); }
.request-results { padding: 7px; }
.request-song,.request-song:nth-child(even) { margin-bottom: 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(0,0,0,.38); }
.request-song:nth-child(even) { background: rgba(0,0,0,.3); }
.request-song:last-child { margin-bottom: 0; }
.request-song:hover { border-color: rgba(255,255,255,.34); background: rgba(0,0,0,.65); }
.request-song button { border-radius: 6px; background: rgba(255,106,43,.06); }
.alphabet button { border-color: rgba(255,170,120,.34); background: rgba(10,9,8,.62); }

.register-page-main,.account-page-main { background: linear-gradient(145deg,#24120b 0,#100e0d 56%,#160b07 100%); }
.register-card,.account-auth-gate,.profile-card,.settings-card { border-top: 2px solid var(--pink); }
.profile-details { overflow: hidden; border-color: rgba(255,170,120,.3); border-radius: 8px; background: rgba(7,7,7,.45); }
.profile-details>div { border-color: rgba(255,170,120,.3); }
.settings-actions { border-color: rgba(255,170,120,.25); }

.auth-dialog,.song-dialog { border-color: rgba(255,170,120,.48); background: linear-gradient(155deg,rgba(25,17,13,.98),rgba(9,9,9,.99)); }
.auth-close,.song-dialog-close,.song-rating-heart { border-color: rgba(255,170,120,.4); background: rgba(7,7,7,.82); }
.auth-tabs { border-color: rgba(255,170,120,.3); background: rgba(7,7,7,.72); }
.auth-tabs button.active { background: rgba(33,20,14,.88); }
.song-dialog-copy h3 { color: #f2ded2; }
.song-dialog-links a { border-color: rgba(255,170,120,.4); background: rgba(10,9,8,.70); }

.song-page-section { width: min(1480px,calc(100% - 48px)); margin: auto; padding: 28px 0 90px; }
.song-back-link { width: max-content; margin-bottom: 18px; display: block; color: #f3ebe3; font-size: .8rem; font-weight: 800; }
.song-back-link:hover { color: var(--cyan); }
.song-page-loading,.song-page-error { min-height: 340px; padding: 50px 24px; display: grid; place-items: center; border: 1px solid rgba(255,170,120,.34); border-radius: 11px; background: rgba(11,10,9,.90); color: var(--muted); text-align: center; }
.song-page-error { color: #ffb18f; }
.song-page-content { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.05fr) minmax(0,1.15fr); gap: 12px; align-items: stretch; }
.song-page-column { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.song-page-hero { padding: 18px; display: block; border: 1px solid rgba(255,170,120,.38); border-radius: 11px; background: linear-gradient(145deg,rgba(25,17,13,.96),rgba(9,9,9,.97)); box-shadow: 0 18px 48px rgba(0,0,0,.3); }
.song-page-hero>img { width: min(100%,300px); aspect-ratio: 1; margin: auto; object-fit: cover; border: 1px solid rgba(255,180,135,.4); background: #0b0a09; box-shadow: 0 14px 36px rgba(0,0,0,.42); }
.song-page-intro { min-width: 0; }
.song-page-hero .song-page-intro { margin-top: 18px; }
.song-page-title-row { display: block; }
.song-page-title-row h1 { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.8rem,2.6vw,2.7rem); line-height: .98; letter-spacing: -.045em; }
.song-page-title-row h2 { margin: 12px 0 0; color: #f2ded2; font-size: clamp(1.25rem,2vw,1.8rem); font-weight: 600; }
.song-page-intro>p { margin: 20px 0 0; color: var(--muted); font-size: 1rem; }
.song-page-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.song-page-tags span { padding: 6px 9px; border: 1px solid rgba(255,170,120,.35); border-radius: 4px; background: rgba(9,8,8,.55); color: #d5cdc6; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.song-page-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.song-page-links a { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; border: 1px solid rgba(255,170,120,.42); border-radius: 5px; background: rgba(10,9,8,.72); font-size: .78rem; font-weight: 800; }
.song-page-links a:first-child:hover { border-color: #1ed760; color: #1ed760; }
.song-page-links a:last-child:hover { border-color: var(--pink); color: #ff9a6d; }
.song-detail-panel { min-width: 0; padding: 18px; border: 1px solid rgba(255,170,120,.32); border-radius: 10px; background: linear-gradient(155deg,rgba(24,16,12,.91),rgba(10,9,9,.94)); }
.song-detail-heading { padding-bottom: 13px; border-bottom: 2px solid rgba(247,245,240,.85); }
.song-detail-heading span { color: var(--pink); font-size: .63rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.song-detail-heading h2 { margin: 5px 0 0; font-size: 1.35rem; }
.song-detail-grid { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
.song-detail-grid>div,.song-airplay-dates>div { min-width: 0; padding: 11px 7px; border-bottom: 1px solid rgba(255,170,120,.22); }
.song-detail-grid>div:nth-last-child(-n+2) { border-bottom: 0; }
.song-detail-grid dt,.song-airplay-dates dt { color: var(--muted-2); font-size: .63rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.song-detail-grid dd,.song-airplay-dates dd { margin: 5px 0 0; overflow-wrap: anywhere; color: #f5f1ed; font-size: .82rem; }
.song-stat-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.song-stat-grid>div { min-width: 0; padding: 12px 6px; border: 1px solid rgba(255,170,120,.24); border-radius: 6px; background: rgba(7,7,7,.55); text-align: center; }
.song-stat-grid strong,.song-stat-grid span { display: block; }
.song-stat-grid strong { color: #f3ebe3; font-size: 1.35rem; }
.song-stat-grid span { margin-top: 4px; color: var(--muted); font-size: .62rem; }
.song-airplay-dates { margin: 8px 0 0; }
.recent-airplay h3 { margin: 20px 8px 8px; font-size: .85rem; }
#song-recent-plays { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#song-recent-plays time,#song-recent-plays>span { padding: 9px 10px; border: 1px solid rgba(255,170,120,.22); border-radius: 5px; background: rgba(7,7,7,.48); color: var(--muted); font-size: .7rem; }
.song-rating-panel { padding: 17px 18px; display: block; border: 1px solid rgba(255,170,120,.32); border-radius: 10px; background: linear-gradient(155deg,rgba(24,16,12,.93),rgba(10,9,9,.95)); }
.song-rating-panel-heading { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.song-rating-panel-heading span { color: var(--pink); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.song-rating-panel-heading h2 { margin: 4px 0 0; font-size: 1.22rem; }
.song-page-heart-button { width: 50px; height: 44px; padding: 2px; flex: 0 0 50px; border: 0; background: transparent; color: #929ba2; transition: color .16s ease,transform .16s ease; }
.song-page-heart-button:hover,.song-page-heart-button:focus-visible { color: #c0c7cc; transform: scale(1.05); }
.song-page-heart-button.own-rating { color: var(--pink); }
.song-page-heart-button svg { width: 44px; height: 40px; display: block; fill: currentColor; }
.song-rating-summary { margin-top: 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 14px; }
.song-rating-bars { height: 54px; display: grid; grid-template-columns: repeat(10,minmax(7px,1fr)); gap: 3px; }
.song-rating-bar { min-width: 0; position: relative; overflow: hidden; border: 1px solid rgba(240,232,225,.55); background: rgba(0,0,0,.38); }
.song-rating-bar i { width: 100%; position: absolute; right: 0; bottom: 0; left: 0; display: block; background: #f0442f; }
.song-rating-bar.rating-3 i,.song-rating-bar.rating-4 i { background: #ef811d; }
.song-rating-bar.rating-5 i,.song-rating-bar.rating-6 i { background: #e2e91b; }
.song-rating-bar.rating-7 i,.song-rating-bar.rating-8 i { background: #78ed00; }
.song-rating-bar.rating-9 i,.song-rating-bar.rating-10 i { background: #16d827; }
.song-rating-numbers { min-width: 64px; padding-bottom: 2px; text-align: center; }
.song-rating-numbers strong,.song-rating-numbers span { display: block; }
.song-rating-numbers strong { color: white; font-size: .8rem; }
.song-rating-numbers span { margin-top: 3px; color: #eee8e2; font-size: .69rem; font-weight: 800; }
.song-page-rating-feedback { min-height: 16px; margin: 9px 0 0; color: #a99e97; font-size: .69rem; }
.song-comments-panel { min-width: 0; height: 100%; padding: 18px; display: flex; flex-direction: column; border: 1px solid rgba(255,170,120,.32); border-radius: 10px; background: linear-gradient(155deg,#171310,#090909); }
.song-comments-heading { padding-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: 2px solid rgba(247,245,240,.85); }
.song-comments-heading span { color: var(--pink); font-size: .63rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.song-comments-heading h2 { margin: 5px 0 0; font-size: 1.35rem; }
.song-comments-heading small { color: var(--muted); font-size: .72rem; }
.song-comment-list { min-height: 230px; max-height: 610px; padding: 8px 0; flex: 1; overflow-y: auto; scrollbar-color: #4c4038 #0a0a0a; scrollbar-width: thin; }
.song-comment { padding: 16px 4px; border-bottom: 1px solid rgba(255,170,120,.2); }
.song-comment:last-child { border-bottom: 0; }
.song-comment-head { min-width: 0; display: flex; align-items: center; gap: 8px; }
.song-comment-avatar { width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; border-radius: 50%; background: #2a2420; }
.song-comment-avatar>img { width: 100%; height: 100%; object-fit: cover; }
.song-comment-head>strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.song-comment-head>time { margin-left: auto; color: var(--muted-2); font-size: .66rem; white-space: nowrap; }
.song-comment>p { margin: 10px 0 0 80px; color: #e0d9d3; font-size: .84rem; line-height: 1.55; white-space: pre-wrap; }
.song-comments-empty { min-height: 110px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; }
.song-comment-access { margin-top: 8px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(255,170,120,.26); border-radius: 8px; background: rgba(7,7,7,.55); }
.song-comment-access p { margin: 0; color: var(--muted); font-size: .78rem; }
.song-comment-access>div { display: flex; gap: 8px; }
.song-comment-access button,.song-comment-access a,.song-comment-form button { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pink); border-radius: 6px; background: var(--pink); color: white; font-size: .75rem; font-weight: 800; }
.song-comment-access a { border-color: rgba(255,170,120,.42); background: transparent; }
.song-comment-form { margin-top: 12px; }
.song-comment-form>label { display: block; margin-bottom: 8px; color: #f1ece7; font-size: .78rem; font-weight: 800; }
.song-comment-form textarea { width: 100%; min-height: 110px; padding: 13px 14px; resize: vertical; border: 1px solid rgba(255,170,120,.38); border-radius: 8px; outline: 0; background: #070707; color: white; line-height: 1.5; }
.song-comment-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(255,106,43,.1); }
.song-comment-form>div { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.song-comment-form>div small { color: var(--muted-2); font-size: .66rem; }
.song-comment-form button:disabled { opacity: .55; cursor: wait; }
#song-comment-feedback { min-height: 18px; margin: 8px 0 0; color: var(--cyan); font-size: .7rem; }

.apps-section { width: min(1480px,calc(100% - 48px)); margin: auto; padding: 64px 0 110px; }
.apps-heading { max-width: 790px; margin-bottom: 44px; }
.apps-heading h1 { max-width: 740px; margin: 10px 0 18px; font-size: clamp(3rem,6vw,5.8rem); line-height: .92; letter-spacing: -.06em; }
.apps-heading p { max-width: 650px; margin: 0; color: #c9c1ba; font-size: 1rem; line-height: 1.65; }
.app-showcases { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.app-showcase { min-width: 0; min-height: 620px; padding: clamp(25px,4vw,50px); display: grid; grid-template-columns: minmax(210px,290px) minmax(0,1fr); gap: clamp(28px,4vw,54px); align-items: center; overflow: hidden; border: 1px solid rgba(255,170,120,.3); border-radius: 12px; background: linear-gradient(150deg,#171310,#090909); box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.phone { width: min(100%,268px); aspect-ratio: .5; margin: auto; padding: 9px; position: relative; border: 2px solid #77706a; border-radius: 39px; background: #060606; box-shadow: 0 26px 60px rgba(0,0,0,.48); }
.phone-android { border-radius: 28px; }
.phone-camera { width: 88px; height: 24px; position: absolute; z-index: 2; top: 15px; left: 50%; transform: translateX(-50%); border-radius: 15px; background: #060606; }
.phone-android .phone-camera { width: 11px; height: 11px; top: 17px; border: 2px solid #332a25; border-radius: 50%; }
.phone-screen { height: 100%; padding: 48px 22px 25px; display: flex; flex-direction: column; align-items: center; overflow: hidden; border-radius: 30px; background: linear-gradient(165deg,#24120b,#100e0d 62%,#1b0c08); text-align: center; }
.phone-android .phone-screen { border-radius: 20px; }
.phone-logo { width: 150px; height: 68px; object-fit: contain; }
.phone-live { margin: 18px 0 12px; display: flex; align-items: center; gap: 6px; color: #e3dbd4; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.phone-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,106,43,.14); }
.phone-art { width: 100%; aspect-ratio: 1; padding: 18px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(5,5,5,.68); }
.phone-art img { width: 100%; height: 100%; object-fit: contain; }
.phone-screen>strong { margin-top: 22px; font-size: .93rem; }
.phone-screen>small { margin-top: 7px; color: #aaa29c; font-size: .62rem; }
.phone-screen>button { width: 48px; height: 48px; margin-top: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cyan); color: #100b08; pointer-events: none; }
.app-showcase-copy { min-width: 0; }
.app-showcase-copy>span { color: var(--pink); font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.app-showcase-copy h2 { margin: 9px 0 16px; font-size: clamp(2rem,3.3vw,3.25rem); line-height: .97; letter-spacing: -.05em; }
.app-showcase-copy p { margin: 0; color: #b3aaa4; font-size: .88rem; line-height: 1.65; }
.app-download { width: max-content; min-width: 190px; min-height: 58px; margin-top: 28px; padding: 9px 17px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(255,190,150,.5); border-radius: 8px; background: #050505; transition: border-color .18s ease,transform .18s ease; }
.app-download:hover { border-color: var(--cyan); transform: translateY(-2px); }
.app-download svg { width: 30px; height: 30px; fill: white; }
.app-download span,.app-download small,.app-download strong { display: block; }
.app-download small { color: #d0c8c1; font-size: .58rem; }
.app-download strong { margin-top: 1px; font-size: 1rem; }

.bottom-player { height: 72px; padding: 0 max(20px,calc((100vw - 1480px)/2)); display: grid; grid-template-columns: minmax(220px,1fr) auto minmax(270px,1fr); gap: 24px; align-items: center; position: fixed; z-index: 70; inset: auto 0 0; border-top: 1px solid rgba(255,160,105,.3); background: #050505; box-shadow: 0 -12px 40px rgba(0,0,0,.48); }
.dock-track { min-width: 0; display: flex; align-items: center; gap: 12px; }
.dock-track>img { width: 52px; height: 52px; object-fit: cover; border: 1px solid #453c36; background: #0a0a0a; }
.dock-meta { min-width: 0; }
.dock-meta strong,.dock-meta small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dock-meta strong { font-size: .9rem; }
.dock-meta small { margin-top: 4px; color: var(--lime); font-size: .76rem; }
.dock-center { display: flex; align-items: center; justify-content: center; }
.bottom-player .dock-play { width: 46px; height: 46px; background: #fff; color: #0a0a0a; }
.bottom-player .dock-play:hover { background: #fff; color: #0a0a0a; transform: scale(1.04); }
.dock-tools { min-width: 0; justify-self: end; display: flex; align-items: center; gap: 22px; }
.dock-volume { min-width: 175px; display: flex; align-items: center; gap: 10px; color: #fff; }
.dock-volume svg { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.dock-volume input { width: 145px; height: 18px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; }
.dock-volume input::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: #fff; }
.dock-volume input::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6px; appearance: none; -webkit-appearance: none; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.55); }
.dock-volume input::-moz-range-track { height: 4px; border: 0; border-radius: 999px; background: #fff; }
.dock-volume input::-moz-range-progress { height: 4px; border-radius: 999px; background: #fff; }
.dock-volume input::-moz-range-thumb { width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.55); }
.dock-rating { width: 48px; min-height: 53px; display: grid; place-items: center; }
.dock-rating .track-rating { min-width: 44px !important; }
.dock-rating .track-rating button { width: 38px; height: 33px; }
.dock-rating .track-rating small { font-size: .57rem; }

@keyframes request-spin { to { transform: rotate(360deg); } }

@media (max-width: 1480px) {
  .player-workspace { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .chat-panel { grid-column: auto; min-height: 0; }
  .chat-messages { min-height: 430px; max-height: 640px; }
}

@media (max-width: 1180px) {
  .site-header { width: calc(100% - 48px); }
  .player-workspace { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .queue-panel { grid-column: auto; display: block; }
  .chat-panel { grid-column: 1/-1; }
  .queue-panel .rail-list { display: flex; }
  .alphabet { grid-template-columns: repeat(9,1fr); }
  .app-showcases { grid-template-columns: 1fr; }
  .app-showcase { min-height: 560px; }
  .song-page-content { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .song-comments-panel { grid-column: 1/-1; height: auto; min-height: 420px; }
}

@media (max-width: 920px) {
  body { padding-bottom: 74px; }
  .site-header { width: calc(100% - 36px); height: 86px; padding-right: 10px; gap: 6px; }
  .history-page-main,.request-page-main,.register-page-main,.account-page-main,.song-page-main,.apps-page-main { margin-top: -86px; padding-top: 86px; }
  .brand { width: 250px; min-width: 130px; height: 80px; flex: 1 1 250px; }
  .menu-button { width: 44px; height: 44px; margin-left: auto; padding: 0; display: flex; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 6px; background: transparent; }
  .menu-button:hover,.menu-button[aria-expanded="true"] { background: rgba(255,255,255,.07); }
  .menu-button span { width: 23px; height: 2px; background: white; }
  .site-header nav { width: 100%; margin: 0; display: none; position: absolute; z-index: 5; inset: calc(100% + 8px) 0 auto 0; padding: 8px 16px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid rgba(255,170,120,.28); border-radius: 10px; background: #0a0a0a; box-shadow: 0 18px 38px rgba(0,0,0,.48); }
  .site-header nav.open { display: flex; }
  .site-header nav a { width: 100%; padding: 12px 2px; }
  .support-link { margin-left: 0; margin-right: 4px; }
  .account-control { margin-left: 0; display: flex; align-items: center; }
  .listen-screen { margin-top: -86px; padding: 98px 18px 40px; }
  .listen-titlebar { min-height: 65px; }
  .listen-titlebar p { display: none; }
  .player-workspace { grid-template-columns: 1fr; }
  .music-column { grid-row: 1; }
  .queue-panel { grid-column: 1; grid-row: 2; }
  .chat-panel { grid-column: 1; grid-row: 3; }
  .main-art-shell { width: min(100%,540px); }
  .history-section,.request-section { padding: 78px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .history-tools { max-width: 460px; }
  .history-columns { display: none; }
  .history-row { grid-template-columns: 96px 62px minmax(0,1fr) 48px 38px; gap: 12px; }
  .history-row>img { width: 62px; height: 62px; }
  .queue-panel .mini-track { grid-template-columns: 62px minmax(0,1fr) auto 45px; }
  .queue-panel .mini-track img { width: 62px; height: 62px; }
  .history-album { display: none; }
  .request-browser { grid-template-columns: 1fr; gap: 24px; border-bottom-color: var(--line); }
  .request-help { max-width: 520px; }
  .request-results { min-height: 320px; }
  .request-empty { min-height: 320px; }
  .apps-section { width: min(100% - 36px,1480px); padding-top: 44px; }
  .app-showcase { grid-template-columns: minmax(190px,250px) minmax(0,1fr); }
  .bottom-player { height: 74px; grid-template-columns: minmax(0,1fr) auto auto; gap: 14px; }
  .dock-track>img { width: 52px; height: 52px; }
  .dock-center { justify-content: flex-end; }
  .dock-volume { min-width: 110px; }
  .dock-volume input { width: 80px; }
  .song-page-section { width: min(100% - 36px,1480px); padding-top: 28px; }
  .song-page-content { grid-template-columns: 1fr; }
  .song-page-hero { grid-column: 1; grid-template-columns: minmax(0,300px) minmax(0,1fr); gap: 26px; }
  .song-page-rating-feedback { grid-column: 1; margin-top: 9px; }
}

@media (max-width: 560px) {
  .site-header { width: calc(100% - 24px); padding-right: 8px; gap: 4px; }
  .brand { width: auto; max-width: 218px; min-width: 0; flex: 1 1 auto; }
  .account-toggle { min-width: 70px; height: 42px; padding-inline: 11px; }
  .account-toggle.has-avatar { width: 42px; min-width: 42px; height: 42px; }
  .support-link { display: none; }
  .listen-screen { padding-inline: 12px; }
  .listen-titlebar h1 { font-size: 2.05rem; }
  .player-panel,.now-panel,.compact-now-panel { border-radius: 10px; }
  .now-panel { padding: 14px 13px 18px; }
  .compact-now-panel { padding: 13px; }
  .compact-now-content { grid-template-columns: 86px minmax(0,1fr) 43px; gap: 9px; }
  .compact-now-content>img { width: 86px; height: 86px; }
  .compact-now-panel .now-copy h1 { font-size: 1rem; }
  .compact-now-panel .now-copy h2 { font-size: .84rem; }
  .compact-now-panel .now-copy p { font-size: .73rem; }
  .song-dialog { max-height: calc(100vh - 24px); padding: 18px; grid-template-columns: 1fr; gap: 18px; overflow-y: auto; }
  .song-dialog>img { width: min(210px,68vw); margin: 0 auto; }
  .song-dialog-copy { padding: 0; }
  .song-dialog-title-row { grid-template-columns: minmax(0,1fr) 62px; }
  .song-rating-menu { position: fixed; top: 50%; right: 50%; transform: translate(50%,-50%); }
  .song-dialog-copy dl { margin-top: 20px; }
  .now-status { justify-content: flex-start; flex-wrap: wrap; }
  .now-status>span:last-child { width: 100%; padding-left: 16px; }
  .now-copy h1 { font-size: 1.75rem; }
  .queue-panel { display: block; }
  .queue-panel .rail-list { display: flex; }
  .mini-track { grid-template-columns: 56px minmax(0,1fr) 43px; }
  .mini-track img { width: 56px; height: 56px; }
  .queue-panel .mini-track { grid-template-columns: 56px minmax(0,1fr) auto 43px; }
  .queue-panel .mini-track img { width: 56px; height: 56px; }
  .chat-messages { min-height: 300px; max-height: 480px; }
  .chat-access>div,.request-auth-gate>div { flex-direction: column; }
  .chat-access button,.chat-access a,.request-auth-gate button,.request-auth-gate a { width: 100%; }
  .auth-dialog { padding: 26px 20px 22px; }
  .history-section,.request-section { padding-inline: 12px; }
  .register-section { width: min(100% - 24px,1480px); padding: 42px 0 64px; }
  .register-card { padding: 26px 18px 30px; }
  .account-page-section { width: min(100% - 24px,1480px); padding: 42px 0 64px; }
  .profile-card,.settings-card { padding: 26px 18px; grid-template-columns: 96px minmax(0,1fr); gap: 22px 18px; }
  .profile-avatar,.settings-avatar-preview { width: 96px; height: 96px; }
  .profile-details { grid-template-columns: 1fr; }
  .profile-details>div { border-right: 0; border-bottom: 1px solid #383c3a; }
  .profile-details>div:last-child { border-bottom: 0; }
  .settings-actions { padding-top: 20px; }
  .mini-track time,.track-index { display: none; }
  .section-heading h2,.request-page-main .section-heading h1,.history-page-main .section-heading h1 { font-size: 2.65rem; }
  .history-tools { grid-template-columns: 1fr; }
  .history-tools p { grid-column: 1; }
  .history-row { min-height: 86px; padding: 10px; grid-template-columns: 56px minmax(0,1fr) 45px 35px; gap: 9px; }
  .history-row time { display: none; }
  .history-row>img { width: 56px; height: 56px; }
  .history-main strong { font-size: .92rem; }
  .request-page-main .request-section { padding-top: 42px; }
  .request-page-main .request-heading { margin-bottom: 25px; }
  .request-browser { padding: 24px 18px; }
  .request-search-row { grid-template-columns: 1fr; }
  .request-input-shell { grid-template-columns: 32px minmax(0,1fr) 36px; }
  .request-search .search-submit { width: 100%; min-width: 0; min-height: 48px; }
  .alphabet { grid-template-columns: repeat(7,1fr); }
  .result-panel-heading { padding: 20px 18px; align-items: flex-start; flex-direction: column; }
  .result-panel-heading>span { text-align: left; }
  .notice { margin-inline: 16px; }
  .request-song { padding: 12px 16px 16px; grid-template-columns: 54px minmax(0,1fr); }
  .request-song img { width: 54px; height: 54px; }
  .request-availability { grid-column: 2; }
  .request-song button { grid-column: 1/-1; width: 100%; min-width: 0; grid-row: auto; justify-self: stretch; }
  .song-page-section { width: min(100% - 24px,1480px); }
  .bottom-player { padding-inline: 10px; }
  .dock-track>img { width: 48px; height: 48px; }
  .dock-meta strong { font-size: .82rem; }
  .dock-meta small { font-size: .7rem; }
  .dock-play { width: 46px; height: 46px; }
  .dock-tools { gap: 5px; }
  .dock-volume { min-width: 34px; }
  .dock-volume input { width: 56px; }
  .dock-rating { width: 42px; }
  .apps-section { width: min(100% - 24px,1480px); padding-top: 38px; }
  .apps-heading { margin-bottom: 28px; }
  .apps-heading h1 { font-size: 3rem; }
  .app-showcase { min-height: 0; padding: 28px 20px; grid-template-columns: 1fr; }
  .phone { width: min(230px,76vw); }
  .app-showcase-copy { text-align: center; }
  .app-showcase-copy p { max-width: 420px; margin-inline: auto; }
  .app-download { margin-inline: auto; }
  .song-page-hero { padding: 18px; grid-template-columns: 1fr; }
  .song-page-hero>img { width: min(100%,290px); }
  .song-page-title-row h1 { font-size: 2.4rem; }
  .song-detail-panel { padding: 17px 14px; }
  .song-detail-grid { grid-template-columns: 1fr; }
  .song-detail-grid>div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,170,120,.22); }
  .song-detail-grid>div:last-child { border-bottom: 0; }
  .song-stat-grid { grid-template-columns: 1fr 1fr; }
  #song-recent-plays { grid-template-columns: 1fr; }
  .song-comments-panel { padding: 17px 14px; }
  .song-comment-head { gap: 6px; }
  .song-comment-head .chat-flag { display: none; }
  .song-comment>p { margin-left: 42px; }
  .song-comment-access { align-items: stretch; flex-direction: column; }
  .song-comment-access>div { width: 100%; }
  .song-comment-access button,.song-comment-access a { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* === Radio Ember brand refinements === */
.brand { width: 300px; padding: 7px 14px; }
.brand img { object-fit: contain; object-position: left center; }
.home-page .site-header { background: rgba(13,13,13,.96); border-color: rgba(255,106,43,.18); }
.listen-screen { background: radial-gradient(circle at 15% 10%,rgba(255,106,43,.14),transparent 26%),linear-gradient(145deg,#1b0d07 0,#0e0c0b 50%,#080808 100%); }
.compact-now-panel,.player-panel { box-shadow: 0 14px 38px rgba(0,0,0,.38); }
.track-progress span,.progress-track span { background: var(--cyan); }
.support-link,.account-toggle { border-color: var(--cyan); background: var(--cyan); color: #140a05; }
.support-link:hover,.account-toggle:hover,.account-toggle[aria-expanded="true"] { border-color: #ff8b52; background: #ff8b52; color: #140a05; }
.site-header nav a:hover,.account-menu>a:hover,.account-menu>button:hover { color: var(--cyan); }
.phone-screen { background: radial-gradient(circle at 70% 18%,rgba(255,106,43,.24),transparent 32%),linear-gradient(165deg,#1d0e08,#0c0b0a 62%,#050505); }
.bottom-player { border-top-color: rgba(255,106,43,.20); background: #050505; }
.bottom-player .dock-play { background: var(--cyan); color: #130a06; }
.bottom-player .dock-play:hover { background: #ff8147; color: #130a06; }
[data-placeholder-link] { opacity: .82; }
@media (max-width: 760px) { .brand { width: 220px; padding-inline: 8px; } }

/* === Radio Ember v2 — restrained ember + glass UI === */
:root {
  --ember: #ff6a2b;
  --teal: #efeee9;
  --cyan: #cbc9c3;
  --pink: #d8d5ce;
  --yellow: #bcb8b0;
  --line: rgba(255,255,255,.10);
  --glass: rgba(18,18,20,.52);
  --glass-strong: rgba(14,14,16,.72);
  --glass-soft: rgba(255,255,255,.045);
  --glass-border: rgba(255,255,255,.105);
}

html,
body,
.home-page {
  background:
    radial-gradient(circle at 18% 4%, rgba(255,255,255,.045), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.028), transparent 34rem),
    #070708;
}

.site-header,
.home-page .site-header {
  border-color: var(--glass-border);
  background: rgba(13,13,15,.58);
  box-shadow: 0 12px 40px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}

.listen-screen {
  background:
    radial-gradient(circle at 82% 8%, rgba(255,106,43,.045), transparent 24rem),
    radial-gradient(circle at 16% 16%, rgba(255,255,255,.045), transparent 30rem),
    linear-gradient(145deg,#0d0d0f 0,#080809 54%,#050506 100%);
}

.listen-titlebar span,
.panel-heading span,
.eyebrow,
.request-heading .eyebrow,
.request-step,
.request-search label,
.song-rating-panel-heading span {
  color: #aaa7a1;
}

.site-header nav a:hover,
.account-menu>a:hover,
.account-menu>button:hover,
.panel-heading a:hover,
.load-more:hover {
  color: #fff;
}

.support-link,
.account-toggle,
.chat-access .primary,
.request-auth-gate .primary,
.request-search .search-submit,
.request-song button,
.bottom-player .dock-play,
.round-button {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
  color: #f7f5f0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

.support-link:hover,
.account-toggle:hover,
.account-toggle[aria-expanded="true"],
.chat-access .primary:hover,
.request-auth-gate .primary:hover,
.request-search .search-submit:hover,
.request-song button:hover,
.bottom-player .dock-play:hover,
.round-button:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.15);
  color: #fff;
}

.account-toggle.has-avatar {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
}

.account-initials,
.chat-avatar-initials,
.profile-avatar>span,
.settings-avatar-preview>span {
  background: linear-gradient(145deg,#38383b,#171719);
}

.admin-badge,
.requested-pill {
  border: 1px solid rgba(255,106,43,.35);
  background: rgba(255,106,43,.12);
  color: #ffb18d !important;
}

.live-dot,
.phone-live i,
.request-song.available .request-availability span::before {
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255,106,43,.10);
}

.request-song.available .request-availability span {
  color: #d9d6d0;
}

.player-panel,
.now-panel,
.compact-now-panel,
.request-auth-gate,
.request-workspace,
.register-card,
.account-auth-gate,
.profile-card,
.settings-card,
.song-page-hero,
.song-detail-panel,
.song-rating-panel,
.song-comments-panel,
.app-showcase {
  border-color: var(--glass-border);
  background: linear-gradient(145deg,rgba(28,28,31,.60),rgba(10,10,12,.48));
  box-shadow: 0 18px 55px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.035);
  -webkit-backdrop-filter: blur(24px) saturate(118%);
  backdrop-filter: blur(24px) saturate(118%);
}

.compact-now-panel {
  background: linear-gradient(145deg,rgba(31,31,34,.58),rgba(9,9,11,.46));
}

.mini-track,
.chat-access,
.request-browser,
.result-panel-heading,
.request-song,
.profile-details,
.song-stat-grid>div,
#song-recent-plays time,
#song-recent-plays>span,
.song-comment-access,
.history-row,
.history-columns,
.history-list,
.load-more,
.empty-state {
  border-color: rgba(255,255,255,.085);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  backdrop-filter: blur(18px) saturate(112%);
}

.mini-track:hover,
.history-row:hover,
.request-song:hover {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.065);
}

.history-section,
.request-section {
  background: rgba(8,8,9,.70);
}

.history-row:nth-child(even) {
  background: rgba(255,255,255,.052);
}

.history-tools select,
.request-input-shell,
.auth-form input,
.auth-form select,
.register-form input,
.song-comment-form textarea,
.chat-compose-row textarea {
  border-color: rgba(255,255,255,.12);
  background: rgba(5,5,7,.54);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.request-input-shell:focus-within,
.auth-form input:focus,
.auth-form select:focus,
.register-form input:focus,
.song-comment-form textarea:focus,
.chat-compose-row textarea:focus {
  border-color: rgba(255,255,255,.30);
  box-shadow: 0 0 0 3px rgba(255,255,255,.055);
}

.request-browser {
  border-top: 1px solid rgba(255,255,255,.12);
}

.request-auth-gate {
  border-top: 1px solid rgba(255,255,255,.12);
}

.request-lock {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
  color: #d8d5cf;
}

.alphabet button {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: #c4c1bb;
}
.alphabet button:hover,
.alphabet button.active {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.track-progress span,
.progress-track span {
  background: #f4f2ed;
}

.main-art-shell>img,
.compact-now-content>img,
.song-page-hero>img {
  border-color: rgba(255,255,255,.13);
}

.account-menu,
.auth-dialog,
.song-dialog,
.inline-rating-popover,
.song-rating-menu {
  border-color: rgba(255,255,255,.13);
  background: rgba(16,16,18,.82);
  box-shadow: 0 28px 80px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
}

.auth-close,
.song-dialog-close,
.song-rating-heart,
.song-dialog-links a {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
}

.song-rating-heart:hover,
.song-rating-heart[aria-expanded="true"],
.song-rating-heart.rated {
  border-color: rgba(255,106,43,.42);
  color: var(--ember);
}

.notice,
.notice.success,
.auth-alert,
.auth-alert.success {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  color: #d9d5ce;
}

.bottom-player {
  border-top-color: rgba(255,255,255,.10);
  background: rgba(8,8,10,.70);
  box-shadow: 0 -16px 50px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
  backdrop-filter: blur(26px) saturate(125%);
}

.phone-screen {
  background:
    radial-gradient(circle at 70% 18%,rgba(255,255,255,.06),transparent 34%),
    linear-gradient(165deg,rgba(28,28,31,.88),rgba(8,8,10,.94) 62%,#050506);
}

/* Keep the Ember color as a signature, not a fill color. */
.live-dot,
.phone-live i,
.requested-pill,
.admin-badge,
.song-rating-heart.rated {
  --signature-ember: var(--ember);
}

@media (max-width: 980px) {
  .site-header nav {
    border-color: rgba(255,255,255,.10);
    background: rgba(12,12,14,.82);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    backdrop-filter: blur(24px) saturate(120%);
  }
}
