:root {
  --bg: #0b0f0d;
  --panel: #111814;
  --panel-soft: #17211b;
  --text: #f4fff8;
  --muted: #9fb1a7;
  --green: #1ed760;
  --line: rgba(255, 255, 255, .08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.app-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: #050706;
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.brand {
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  min-height: 150px;
}

.brand-logo img {
  display: block;
  width: 205px;
  height: 150px;
  object-fit: contain;
}


.login-logo {
  justify-content: center;
  min-height: 150px;
}

.login-logo img {
  width: 205px;
  height: 150px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 700;
}

.nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(30, 215, 96, .22);
  border-radius: 8px;
  background: rgba(30, 215, 96, .08);
  color: var(--green);
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-pill:hover,
.nav-pill.active {
  background: var(--panel-soft);
  color: var(--text);
}

.nav-pill:hover .nav-icon,
.nav-pill.active .nav-icon {
  border-color: rgba(30, 215, 96, .55);
  background: rgba(30, 215, 96, .16);
  color: #d7ffe4;
}

.artist-panel {
  margin-top: 28px;
}

.online-panel {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.radio-mini-player { display:grid; gap:9px; margin:22px 2px 18px; padding:14px; border:1px solid rgba(30,215,96,.25); border-radius:12px; background:linear-gradient(145deg,#111814,#080b09); box-shadow:0 10px 25px rgba(0,0,0,.25); }
.radio-mini-head { display:flex; justify-content:space-between; align-items:center; }
.radio-mini-player .radio-kicker { font-size:.68rem; }
.radio-mini-live { color:var(--green); font-size:.62rem; font-weight:900; letter-spacing:.08em; }
.radio-mini-live::first-letter { text-shadow:0 0 8px var(--green); }
.radio-mini-player strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.84rem; }
.radio-mini-player strong { white-space:normal; overflow-wrap:anywhere; word-break:break-word; line-height:1.25; }
.radio-mini-player audio { width:100%; height:52px; }
.radio-mini-cover { justify-self:center; width:64px; height:64px; object-fit:cover; border-radius:10px; box-shadow:0 0 18px rgba(30,215,96,.25); }
.radio-mini-player button { font-size:.7rem; }
.radio-mini-popout { display:grid; place-items:center; width:30px; height:28px; padding:4px; justify-self:end; }
.radio-mini-popout svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.radio-mini-player.is-playing .radio-mini-head { animation:radio-pulse 1.6s ease-in-out infinite; }
.radio-mini-player.is-playing .radio-mini-live { text-shadow:0 0 7px var(--green); }
.radio-mini-player.is-playing .radio-mini-live::first-letter { animation:radio-blink .8s ease-in-out infinite; }
@keyframes radio-pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.025); } }
@keyframes radio-blink { 0%,100% { opacity:.45; } 50% { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .radio-mini-player.is-playing .radio-mini-head,.radio-mini-player.is-playing .radio-mini-live::first-letter { animation:none; } }

.panel-title,
.eyebrow,
.status-line {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.artist-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.artist-row {
  display: block;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.artist-row:hover {
  background: var(--panel);
}

.artist-row small {
  display: block;
  color: var(--muted);
}

.online-users-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.online-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
}

.online-user.muted {
  color: var(--muted);
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(30, 215, 96, .7);
}

.content {
  padding: 28px;
  min-width: 0;
  overflow-x: clip;
}

.topbar,
.hero-band,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
}

.topbar {
  position: relative;
  min-height: 170px;
  padding: 28px;
  border: 1px solid rgba(30, 215, 96, .18);
  border-radius: 8px;
  background: #0b0f0d url('../../img/hero-neon.svg') center/100% 100% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 60px rgba(0, 0, 0, .28);
}


.topbar .eyebrow {
  color: var(--green);
  letter-spacing: .08em;
}

.topbar h1 {
  color: #f7fff9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.member-chat {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.radio-grid { display:grid; gap:18px; margin-top:28px; }
.radio-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:28px; border:1px solid rgba(30,215,96,.22); border-radius:14px; background:linear-gradient(135deg,#111814,#0b0f0d); }
.radio-kicker { color:var(--green); font-size:.75rem; font-weight:900; letter-spacing:.14em; }
.radio-head h2 { margin:6px 0; font-size:clamp(1.8rem,4vw,3rem); }
.radio-head p,.radio-player p { color:var(--muted); margin:0; }
.radio-list { display:grid; gap:8px; }
.radio-track { display:grid; grid-template-columns:52px 52px minmax(0,1fr) auto auto; align-items:center; gap:16px; padding:15px 18px; border:1px solid var(--line); border-radius:10px; background:var(--panel); }
.radio-track-cover { width:52px; height:52px; object-fit:cover; border-radius:8px; background:rgba(30,215,96,.1); }
.radio-track-cover-empty { display:grid; place-items:center; color:var(--green); font-size:1.5rem; }
.radio-track:hover { border-color:rgba(30,215,96,.45); background:var(--panel-soft); }
.radio-play.radio-playing { box-shadow:0 0 0 2px rgba(30,215,96,.25), 0 0 18px rgba(30,215,96,.3); }
.radio-index { color:var(--green); font-weight:900; font-variant-numeric:tabular-nums; }
.radio-track-info { display:grid; gap:4px; min-width:0; }
.radio-track-info strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.radio-track-info small { color:var(--muted); }
.radio-player-page { display:grid; place-items:center; min-height:100vh; padding:24px; background:radial-gradient(circle at 50% 20%,#173d27,#0b0f0d 55%); }
.radio-player { display:grid; justify-items:center; gap:14px; width:min(100%,390px); padding:34px 26px; text-align:center; border:1px solid rgba(30,215,96,.3); border-radius:20px; background:rgba(17,24,20,.92); box-shadow:0 20px 70px rgba(0,0,0,.45); }
.radio-player::before { order:-2; }
.radio-player-cover { display:block; width:190px; height:190px; object-fit:cover; border-radius:16px; }
.radio-player-orb { display:grid; place-items:center; width:92px; height:92px; border-radius:50%; color:var(--green); font-size:3rem; background:rgba(30,215,96,.1); box-shadow:0 0 0 10px rgba(30,215,96,.05),0 0 35px rgba(30,215,96,.45); }
.radio-player h1 { max-width:100%; margin:0; overflow-wrap:anywhere; font-size:1.35rem; }
.radio-player audio { width:100%; accent-color:var(--green); }
@media (max-width:700px) { .radio-head { align-items:stretch; flex-direction:column; } .radio-track { grid-template-columns:32px minmax(0,1fr) auto; } .radio-delete { grid-column:2 / -1; justify-self:start; } }

.member-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}

.member-chat-head div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-chat-head > span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.chat-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(30, 215, 96, .8);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 240px;
  padding: 12px 14px;
  overflow-y: auto;
  scrollbar-color: rgba(30, 215, 96, .35) transparent;
}

.chat-message {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 3px 0;
}

.chat-message-own {
  background: transparent;
}

.chat-message-system {
  max-width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
}

.chat-message-system p {
  color: #fff;
  font-weight: 800;
}

.chat-message > div {
  min-width: 0;
}

.chat-message header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: .84rem;
}

.chat-message-own header strong {
  color: #ff4d4d;
}

.chat-message time {
  color: var(--muted);
  font-size: .68rem;
}

.chat-message p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.chat-post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.chat-post-link span {
  display: inline-block;
  margin-top: 5px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
}

.chat-post-link:hover p {
  color: #fff;
  text-decoration: underline;
}

.chat-system-icon {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.chat-form {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}

.chat-form .btn {
  min-height: 38px;
  min-width: max-content;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11);
}

.chat-form .btn-success {
  border-color: rgba(30, 215, 96, .45);
  background: linear-gradient(135deg, rgba(30, 215, 96, .72), rgba(30, 215, 96, .44));
  color: #f4fff8;
}

.chat-form .btn-outline-danger {
  border-color: rgba(255, 71, 87, .48);
  background: linear-gradient(135deg, rgba(255, 71, 87, .14), rgba(255, 255, 255, .035));
  color: #ff6b79;
}

.chat-form .form-control {
  min-width: 0;
  border-color: var(--line);
  background: #0d130f;
  color: var(--text);
}

.chat-emoji-button {
  width: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0d130f;
  font-size: 1.15rem;
}

.chat-emoji-picker {
  position: absolute;
  z-index: 8;
  bottom: 62px;
  left: 10px;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d130f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}

.chat-emoji-picker button {
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 1.15rem;
}

.chat-emoji-picker button:hover {
  background: var(--panel-soft);
}

.release-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.release-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(30, 215, 96, .09), var(--panel));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.release-counter-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 215, 96, .14);
  color: var(--green);
}

.release-counter-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.release-counter div {
  display: grid;
}

.release-counter strong {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.release-counter div span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.spotify-release-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.spotify-release-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

.spotify-release-row.is-owned { border-color: rgba(30, 215, 96, .35); }
.spotify-release-row.is-missing { border-color: rgba(255, 71, 87, .28); }
.spotify-release-row img,
.spotify-release-cover { width: 58px; height: 58px; object-fit: cover; border-radius: 7px; background: rgba(255,255,255,.08); }
.spotify-release-row strong,
.spotify-release-row small { display: block; }
.spotify-release-row small { margin-top: 4px; color: rgba(255,255,255,.58); text-transform: capitalize; }

.spotify-scan-new-badge,
.spotify-new-badge {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e31b36;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 5px 14px rgba(227, 27, 54, .38);
}

.spotify-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.spotify-new-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.spotify-new-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 215, 96, .46);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
}

.spotify-new-cover,
.spotify-new-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.spotify-new-card-body { display: grid; gap: 7px; padding: 14px; }
.spotify-new-card-body > strong { color: var(--green); font-size: .82rem; }
.spotify-new-card-body h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.spotify-new-card-body small { color: rgba(255,255,255,.58); text-transform: capitalize; }
.spotify-new-card-body .btn { margin-top: 5px; }

.spotify-schedule-status {
  margin-top: 5px;
  color: #a7f3be;
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.spotify-logs-grid { display: grid; gap: 10px; margin-top: 14px; }
.spotify-log-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(100px, auto));
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.spotify-log-row div strong,
.spotify-log-row div small { display: block; }
.spotify-log-row div small { margin-top: 4px; color: rgba(255,255,255,.58); }
.spotify-log-row.status-completed { border-color: rgba(30,215,96,.3); }
.spotify-log-row.status-failed { border-color: rgba(255,71,87,.4); }
.spotify-log-new { color: #ff6b79; font-weight: 800; }
.spotify-log-row div .spotify-log-error { color: #ff6b79; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .release-counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Optional Midnight Coral theme, inspired by the supplied music-player reference. */
[data-theme="midnight-coral"] {
  --bg: #090922;
  --panel: #11112f;
  --panel-soft: #1b1b45;
  --text: #f8f7ff;
  --muted: #9290b0;
  --green: #ff4f70;
  --line: rgba(195, 193, 255, .13);
}

[data-theme="midnight-coral"] body {
  background: linear-gradient(180deg, #ff4f70 0 43%, #24264f 43% 100%);
}

.topbar-user-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--green);
  color: var(--text);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 28%, transparent);
  outline-offset: 2px;
}

.theme-toggle:disabled { cursor: wait; opacity: .72; }
.theme-toggle-track { position: relative; width: 34px; height: 19px; border-radius: 99px; background: #344039; transition: background .2s ease; }
.theme-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.theme-toggle[aria-checked="true"] .theme-toggle-track { background: var(--green); }
.theme-toggle[aria-checked="true"] .theme-toggle-thumb { transform: translateX(15px); }

@media (min-width: 901px) {
  [data-theme="midnight-coral"] .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--bg);
    box-shadow: none;
    overflow: clip;
  }

  [data-theme="midnight-coral"] .sidebar {
    top: 0;
    height: 100vh;
  }
}

[data-theme="midnight-coral"] .sidebar {
  background: linear-gradient(180deg, #121331, #0c0c26);
  border-right-color: rgba(195, 193, 255, .1);
}

[data-theme="midnight-coral"] .content {
  background: radial-gradient(circle at 82% 4%, rgba(73, 45, 130, .22), transparent 25%), #090922;
}

[data-theme="midnight-coral"] .topbar {
  min-height: 136px;
  border-color: rgba(255, 79, 112, .25);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 35%, rgba(114, 52, 161, .33), transparent 30%),
    linear-gradient(135deg, #171638, #0c0c27 70%);
}

[data-theme="midnight-coral"] .nav-pill,
[data-theme="midnight-coral"] .letter-btn,
[data-theme="midnight-coral"] .user-menu-dropdown button {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

[data-theme="midnight-coral"] .nav-pill:hover,
[data-theme="midnight-coral"] .nav-pill.active,
[data-theme="midnight-coral"] .letter-btn:hover,
[data-theme="midnight-coral"] .letter-btn.active,
[data-theme="midnight-coral"] .user-menu-dropdown button:hover {
  border-color: rgba(255, 79, 112, .35);
  background: rgba(255, 79, 112, .13);
  color: #ff6f89;
  box-shadow: none;
}

[data-theme="midnight-coral"] .nav-icon {
  border-color: transparent;
  background: transparent;
  color: #aaa8c9;
}

[data-theme="midnight-coral"] .nav-pill:hover .nav-icon,
[data-theme="midnight-coral"] .nav-pill.active .nav-icon {
  border-color: transparent;
  background: transparent;
  color: #ff4f70;
}

[data-theme="midnight-coral"] .member-chat,
[data-theme="midnight-coral"] .release-counter,
[data-theme="midnight-coral"] .artist-card,
[data-theme="midnight-coral"] .forum-post,
[data-theme="midnight-coral"] .radio-track,
[data-theme="midnight-coral"] .modal-content {
  border-color: rgba(195, 193, 255, .12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(28, 27, 67, .96), rgba(14, 14, 42, .98));
}

[data-theme="midnight-coral"] .release-counter-icon,
[data-theme="midnight-coral"] .radio-track-cover {
  background: rgba(255, 79, 112, .14);
}

[data-theme="midnight-coral"] .artist-card::after {
  background: linear-gradient(180deg, rgba(9, 9, 34, .02), rgba(9, 9, 34, .9)), radial-gradient(circle at 22% 18%, rgba(255, 79, 112, .22), transparent 36%);
}

[data-theme="midnight-coral"] .artist-card:hover {
  border-color: rgba(255, 79, 112, .68);
  box-shadow: 0 18px 42px rgba(6, 5, 28, .48), 0 0 0 1px rgba(255, 79, 112, .14) inset;
}

[data-theme="midnight-coral"] .radio-mini-player {
  border-color: rgba(255, 79, 112, .35);
  background: linear-gradient(145deg, #1c1b43, #0d0d29);
  box-shadow: 0 14px 32px rgba(5, 5, 24, .42);
}

[data-theme="midnight-coral"] .btn:not(.btn-danger):not(.btn-outline-danger) {
  border-color: rgba(255, 79, 112, .42);
  background: linear-gradient(135deg, rgba(255, 79, 112, .22), rgba(137, 77, 185, .12));
}

[data-theme="midnight-coral"] .btn:not(.btn-danger):not(.btn-outline-danger):hover,
[data-theme="midnight-coral"] .btn:not(.btn-danger):not(.btn-outline-danger):focus-visible {
  border-color: rgba(255, 79, 112, .8);
  background: linear-gradient(135deg, #ff4f70, #d64175);
}

[data-theme="midnight-coral"] .form-control,
[data-theme="midnight-coral"] .form-select,
[data-theme="midnight-coral"] .user-menu-dropdown {
  border-color: rgba(195, 193, 255, .14);
  background-color: #121230;
}

@media (max-width: 900px) {
  .topbar-user-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  [data-theme="midnight-coral"] body { background: #090922; }
  [data-theme="midnight-coral"] .app-shell { min-height: 100vh; }
}

@media (max-width: 520px) {
  .release-counters {
    grid-template-columns: 1fr;
  }

  .chat-messages {
    height: 260px;
    padding-inline: 10px;
  }

  .chat-message {
    max-width: 100%;
  }

  .chat-form {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .chat-form .btn-success,
  .chat-form .btn-outline-danger {
    grid-column: 1 / -1;
  }

  .chat-emoji-picker {
    right: 10px;
    grid-template-columns: repeat(4, 34px);
    width: max-content;
  }
}

@media (max-width: 760px) {
  .chat-form {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .chat-form .btn-success,
  .chat-form .btn-outline-danger {
    grid-column: 1 / -1;
    width: 100%;
  }

  .page-actions {
    justify-content: center;
  }

  .page-actions .btn {
    flex: 0 1 220px;
  }
}

.user-menu {
  position: relative;
  align-self: flex-start;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.user-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  cursor: default;
}

.user-menu-dropdown {
  position: absolute;
  z-index: 10;
  top: 100%;
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1512;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.user-menu:hover .user-menu-dropdown,
.user-menu:focus-within .user-menu-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.user-menu-dropdown button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 800;
}

.user-menu-dropdown button:hover {
  background: rgba(30, 215, 96, .12);
  color: var(--text);
}

.hero-band {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(30, 215, 96, .18);
  background:
    linear-gradient(120deg, rgba(30, 215, 96, .22), rgba(17, 24, 20, .94) 44%, rgba(8, 10, 9, .98)),
    url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1600&q=80') center 34%/cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 60px rgba(0, 0, 0, .28);
  min-height: 210px;
}

.hero-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(30, 215, 96, .24), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .48));
  pointer-events: none;
}

.hero-band > * {
  position: relative;
  z-index: 1;
}

.hero-band p {
  color: var(--green);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-band h2 {
  max-width: 760px;
  margin: 0;
  color: #f7fff9;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  margin: 22px auto 20px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(30, 215, 96, .045));
}

.page-actions .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 156px;
  max-width: 240px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(30, 215, 96, .38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(30, 215, 96, .2), rgba(255, 255, 255, .055));
  color: #f4fff8;
  font-size: .94rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-shadow: none;
  white-space: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .18);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.page-actions .btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .12), transparent);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity .16s ease, transform .36s ease;
}

.page-actions .btn:hover,
.page-actions .btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(30, 215, 96, .72);
  background: linear-gradient(135deg, rgba(30, 215, 96, .34), rgba(255, 255, 255, .08));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 24px rgba(0, 0, 0, .24);
}

.page-actions .btn:hover::before,
.page-actions .btn:focus-visible::before {
  opacity: 1;
  transform: translateX(80%);
}

.page-actions .btn-outline-danger {
  border-color: rgba(255, 71, 87, .42);
  background: linear-gradient(135deg, rgba(255, 71, 87, .16), rgba(255, 255, 255, .045));
}

.page-actions .btn-outline-danger:hover,
.page-actions .btn-outline-danger:focus-visible {
  border-color: rgba(255, 71, 87, .78);
  background: linear-gradient(135deg, rgba(255, 71, 87, .28), rgba(255, 255, 255, .075));
}

.alphabet-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

.letter-btn {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 900;
}

.letter-btn:hover,
.letter-btn.active {
  border-color: rgba(30, 215, 96, .6);
  background: var(--green);
  color: #061008;
}

.toolbar {
  margin-bottom: 18px;
}

.form-control,
.form-select,
.modal-content {
  background-color: var(--panel);
  border-color: var(--line);
  color: var(--text);
  color-scheme: dark;
}

.form-control::placeholder {
  color: #b8c6bd;
  opacity: 1;
}

.form-select option {
  background: var(--panel);
  color: var(--text);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--panel) inset;
  caret-color: var(--text);
}

.modal-full {
  width: min(1320px, calc(100vw - 32px));
  max-width: none;
}

#postModal .modal-body {
  padding: 24px;
}

#postBody {
  min-height: 420px;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--panel);
  border-color: var(--green);
  color: var(--text);
  box-shadow: 0 0 0 .2rem rgba(30, 215, 96, .18);
}

.search {
  max-width: 520px;
}

.date {
  max-width: 190px;
}

.post-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.artist-grid.remix-results-mode {
  display: block;
}

.remix-global-results {
  padding: 0;
}

.artist-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.artist-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.artist-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .82)),
    radial-gradient(circle at 22% 18%, rgba(30, 215, 96, .18), transparent 34%);
}

.artist-card::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, transparent 36%, rgba(255, 255, 255, .28) 48%, transparent 60%, transparent 100%);
  opacity: 0;
  transform: translateX(-65%);
  transition: opacity .22s ease, transform .55s ease;
  pointer-events: none;
}

.artist-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 215, 96, .46);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}

.artist-card:hover::before {
  opacity: 1;
  transform: translateX(65%);
}

.artist-card:hover img {
  filter: saturate(1.12) contrast(1.12) brightness(1.05);
}

.artist-read-check {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: var(--green);
  color: #041007;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.artist-album-count {
  display: none;
}

[data-theme="midnight-coral"] .artist-album-count {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: linear-gradient(145deg, #5061dc, #283482);
  color: #fff;
  box-shadow: 0 8px 22px rgba(3, 5, 28, .42), 0 0 0 4px rgba(79, 95, 218, .14);
}

[data-theme="midnight-coral"] .artist-album-count strong {
  color: #fff;
  font-size: .92rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .38);
}

.artist-card-actions {
  display: grid;
  gap: 7px;
}

.artist-card-badges {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.artist-card-coral-badges {
  display: none;
}

.artist-nassa-label,
.artist-covers-label,
.artist-spotify-label {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(30, 215, 96, .14);
  color: #a7f3be;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.artist-covers-label {
  background: rgba(255, 152, 0, .16);
  color: #ffc46b;
}

.artist-spotify-label {
  border-color: rgba(255, 255, 255, .35);
  background: #000;
  color: #fff;
}

.remix-count-label {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-content: center;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(185, 18, 28, .92);
  color: #fff;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
  backdrop-filter: blur(5px);
}

.remix-count-label strong {
  font-size: 1.25rem;
  font-weight: 950;
}

.remix-count-label small {
  margin-top: 4px;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.remixer-card::after {
  background: linear-gradient(180deg, rgba(70, 10, 18, .08), rgba(26, 3, 8, .92)), radial-gradient(circle at 24% 15%, rgba(255, 56, 76, .34), transparent 40%);
}

.remixer-card:hover {
  border-color: rgba(255, 68, 88, .65);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 68, 88, .15) inset;
}

.remix-detail {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}

.remix-hero {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  min-height: 310px;
  padding: 38px;
  background: linear-gradient(135deg, #f1372d 0%, #b9121c 52%, #570008 100%);
}

.remix-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  content: "";
  background: linear-gradient(transparent, rgba(17, 17, 17, .66));
  pointer-events: none;
}

.remix-hero-cover {
  position: relative;
  z-index: 1;
  width: 230px;
  height: 230px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
}

.remix-hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
}

.remix-kicker {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.remix-hero h2 {
  margin: 8px 0;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  font-weight: 950;
  line-height: .95;
  letter-spacing: -.055em;
}

.remix-hero p {
  max-width: 850px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .82);
}

.remix-toolbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 480px) auto;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  background: linear-gradient(rgba(87, 0, 8, .38), transparent);
}

.remix-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.remix-page-actions .btn,
.remix-toolbar .add-remix-track {
  white-space: nowrap;
}

.remix-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.remix-track-search {
  max-width: 480px;
}

.remix-table {
  padding: 0 28px 30px;
}

.remix-table-head,
.remix-track-row {
  display: grid;
  grid-template-columns: 34px minmax(280px, 1.6fr) minmax(130px, .6fr) 90px auto;
  gap: 14px;
  align-items: center;
}

.remix-table-head {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #aaa;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.remix-track-row {
  min-height: 92px;
  padding: 9px 10px;
  border-radius: 7px;
  transition: background .15s ease;
}

.remix-track-row:hover {
  background: rgba(255, 255, 255, .065);
}

.remix-number,
.remix-size,
.remix-track-row time {
  color: #aaa;
  font-size: .9rem;
}

.remix-track-title {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.remix-track-title img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .3);
}

.remix-track-title div {
  min-width: 0;
}

.remix-track-title strong,
.remix-track-title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remix-track-title strong {
  font-size: 1rem;
}

.remix-track-title small {
  margin-top: 3px;
  color: #999;
}

.remix-row-actions {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}

.remix-empty {
  padding: 38px 10px;
  color: #999;
  text-align: center;
}

@media (max-width: 850px) {
  .remix-hero { grid-template-columns: 130px 1fr; min-height: 220px; padding: 24px; }
  .remix-hero-cover { width: 130px; height: 130px; }
  .remix-table-head { display: none; }
  .remix-track-row { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .remix-track-row time, .remix-size { display: none; }
  .remix-toolbar { grid-template-columns: 1fr; }
  .remix-track-search { max-width: none; }
}

@media (max-width: 560px) {
  .remix-hero { grid-template-columns: 1fr; align-items: start; }
  .remix-hero-cover { width: 110px; height: 110px; }
  .remix-hero h2 { font-size: 2.5rem; }
  .remix-table { padding-inline: 12px; }
  .remix-track-row { grid-template-columns: minmax(0, 1fr); }
  .remix-number { display: none; }
  .remix-row-actions { justify-content: flex-start; padding-left: 85px; }
}


.artist-card-body {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.artist-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
}

.artist-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.post-list-row {
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.post-list-row:hover {
  background: #19231d;
}

.post-list-row img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.post-list-row h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.post-row-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.post-list-row:hover h3 {
  color: var(--green);
}

.post-list-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.new-label-inline {
  padding: 6px 10px;
  border-radius: 6px;
  background: #ff2a2a;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.forum-post {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.forum-post-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 24px;
  border-bottom: 0;
  background: transparent;
}

.forum-post-cover {
  display: contents;
}

.discography-summary {
  display: none;
}

.forum-post-head img {
  width: 300px;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.forum-post-head h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  text-align: center;
}

.forum-post-head span {
  color: var(--muted);
  text-align: center;
}

.forum-post-head .new-label-inline {
  position: absolute;
  top: 24px;
  right: 24px;
}

.editor-label-inline {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(30, 215, 96, .45);
  border-radius: 6px;
  background: rgba(30, 215, 96, .14);
  color: #bfffd4;
  font-size: .76rem;
  font-weight: 900;
}

.forum-post-body {
  display: grid;
  gap: 12px;
  padding: 28px 36px;
  text-align: center;
  justify-items: center;
}

.forum-post-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.albumlist-title {
  margin-top: 20px;
  color: #ff3b3b;
  font-size: 1.05rem;
  text-decoration: underline;
}

.albumlist-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  white-space: normal;
  width: min(1500px, 100%);
}

.download-button {
  justify-self: center;
  min-width: 180px;
}

.upload-dropzone {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border: 2px dashed rgba(30, 215, 96, .42);
  border-radius: 8px;
  background: rgba(30, 215, 96, .08);
  color: var(--text);
  text-align: center;
  cursor: pointer;
}

.upload-dropzone span,
.upload-summary {
  color: var(--muted);
}

.upload-summary {
  margin-top: 12px;
  font-weight: 800;
}

.upload-mode {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.upload-mode label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.upload-progress {
  height: 12px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.upload-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width .16s ease;
}

.dead-links-results {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.dead-links-section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.dead-links-section h6 { margin-bottom: 12px; }
.dead-links-section ul { margin: 0; padding-left: 20px; }
.dead-links-section li { margin: 7px 0; }
.dead-links-section small { display: block; color: var(--muted); }
.dead-link-duplicate + .dead-link-duplicate { margin-top: 16px; }
.dead-link-duplicate code { display: block; overflow-wrap: anywhere; margin-bottom: 7px; color: #ffb4b4; }

.album-download-list {
  display: grid;
  gap: 10px;
}

.album-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.album-modal-header-line {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(30, 215, 96, .35);
  border-radius: 8px;
  background: rgba(30, 215, 96, .1);
  color: #d7ffe4;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.album-download-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.album-download-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.album-download-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.post-updated-at {
  color: var(--muted);
  font-size: .92rem;
}

.read-state {
  align-self: center;
  color: var(--muted);
  font-weight: 800;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.card-actions .btn,
.card-actions .read-state {
  min-width: 130px;
}

.post-action-bar {
  display: contents;
}

.post-action-item svg,
.post-action-label-coral {
  display: none;
}

.monospace-input {
  font-family: Consolas, "Courier New", monospace;
}

.login-body {
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(rgba(5, 7, 6, .76), rgba(5, 7, 6, .92)),
    url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.login-card {
  width: min(430px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 15, 13, .92);
}

.user-form {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.user-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.users-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.user-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 420px);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.user-row span {
  display: block;
  color: var(--muted);
}

.password-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

/* Unified button theme */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(30, 215, 96, .38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(30, 215, 96, .2), rgba(255, 255, 255, .055));
  color: #f4fff8;
  font-size: .94rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .18);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .12), transparent);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity .16s ease, transform .36s ease;
}

.btn:hover,
.btn:focus-visible,
.btn:active {
  transform: translateY(-1px);
  border-color: rgba(30, 215, 96, .72);
  background: linear-gradient(135deg, rgba(30, 215, 96, .34), rgba(255, 255, 255, .08));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 24px rgba(0, 0, 0, .24);
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  transform: translateX(80%);
}

.btn:disabled,
.btn.disabled {
  transform: none;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .055);
  color: rgba(244, 255, 248, .45);
  box-shadow: none;
  opacity: 1;
}

.btn:disabled::before,
.btn.disabled::before {
  display: none;
}

.btn.btn-lg {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .94rem;
}

.btn.btn-sm {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: .84rem;
}

.btn-danger,
.btn-outline-danger {
  border-color: rgba(255, 71, 87, .42);
  background: linear-gradient(135deg, rgba(255, 71, 87, .16), rgba(255, 255, 255, .045));
  color: #ff6b79;
}

.btn-danger:hover,
.btn-danger:focus-visible,
.btn-outline-danger:hover,
.btn-outline-danger:focus-visible {
  border-color: rgba(255, 71, 87, .78);
  background: linear-gradient(135deg, rgba(255, 71, 87, .28), rgba(255, 255, 255, .075));
  color: #fff;
}

.nav-pill,
.letter-btn,
.user-menu-dropdown button {
  border: 1px solid rgba(30, 215, 96, .18);
  background: linear-gradient(135deg, rgba(30, 215, 96, .08), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.nav-pill:hover,
.nav-pill.active,
.letter-btn:hover,
.letter-btn.active,
.user-menu-dropdown button:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 215, 96, .55);
  background: linear-gradient(135deg, rgba(30, 215, 96, .22), rgba(255, 255, 255, .06));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 18px rgba(0, 0, 0, .18);
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .topbar,
  .hero-band,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .user-row,
  .password-form,
  .post-list-row,
  .forum-post-head {
    grid-template-columns: 1fr;
  }

  .forum-post-head img {
    width: min(300px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .search,
  .date {
    max-width: none;
    width: 100%;
  }

  .spotify-release-row { grid-template-columns: 48px minmax(0, 1fr); }
  .spotify-release-row .spotify-owned-toggle { grid-column: 1 / -1; }
  .spotify-log-row { grid-template-columns: 1fr 1fr; }
  .spotify-log-row > div { grid-column: 1 / -1; }
}

/* Midnight Coral home cover flow */
.home-coverflow { display: none; }

[data-theme="midnight-coral"] .home-coverflow:not(.d-none) {
  display: block;
  position: relative;
  margin-top: 22px;
  padding: 22px 24px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 79, 112, .22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 105%, rgba(255, 79, 112, .2), transparent 34%),
    linear-gradient(145deg, rgba(25, 24, 64, .98), rgba(10, 10, 34, .99));
  box-shadow: 0 20px 54px rgba(5, 5, 27, .34), inset 0 1px 0 rgba(255, 255, 255, .05);
}

[data-theme="midnight-coral"][data-view="home"] #postGrid,
[data-theme="midnight-coral"][data-view="home"] #statusLine,
[data-theme="midnight-coral"][data-view="home"] .page-actions {
  display: none;
}

[data-theme="midnight-coral"] .home-coverflow::before {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 38%;
  left: 50%;
  content: "";
  border-radius: 50%;
  background: rgba(255, 79, 112, .19);
  filter: blur(72px);
  transform: translate(-50%, -50%);
  animation: coverflow-ambient 6s ease-in-out infinite;
  pointer-events: none;
}

.home-coverflow-head {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.home-coverflow-head h2 { margin: 3px 0 0; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 900; }
.home-coverflow-kicker { color: #ff4f70; font-size: .7rem; font-weight: 900; letter-spacing: .16em; }
.home-coverflow-controls { display: flex; align-items: center; gap: 10px; color: #aaa8c9; font-size: .76rem; font-weight: 900; }
.coverflow-arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 79, 112, .3); border-radius: 50%; background: rgba(255, 79, 112, .1); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.coverflow-arrow:hover:not(:disabled), .coverflow-arrow:focus-visible { transform: translateY(-1px); border-color: #ff6f89; background: #ff4f70; outline: none; }
.coverflow-arrow:disabled { opacity: .3; cursor: default; }

.home-coverflow-track {
  position: relative;
  z-index: 1;
  height: 300px;
  margin-top: 4px;
  perspective: 1050px;
  perspective-origin: 50% 44%;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.home-coverflow-card {
  position: absolute;
  z-index: var(--cover-order);
  top: 28px;
  left: calc(50% - 105px);
  width: 210px;
  height: 244px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(190, 186, 255, .18);
  border-radius: 17px;
  background: #131333;
  color: #fff;
  text-align: left;
  box-shadow: 0 18px 38px rgba(3, 3, 21, .55);
  opacity: var(--cover-opacity);
  transform: translateX(var(--cover-x)) translateZ(var(--cover-z)) rotateY(var(--cover-rotate)) scale(var(--cover-scale));
  transform-origin: center center;
  transition: transform .42s cubic-bezier(.2, .78, .2, 1), opacity .32s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.home-coverflow-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04); }
.home-coverflow-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 5, 27, .92)); }
.home-coverflow-card-copy { position: absolute; inset: auto 14px 13px; display: grid; gap: 3px; }
.home-coverflow-card-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; }
.home-coverflow-card-copy small { color: #bbb9d2; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.home-coverflow-new { position: absolute; top: 11px; right: 11px; padding: 5px 8px; border-radius: 999px; background: #ff4f70; color: #fff; font-size: .58rem; font-weight: 950; letter-spacing: .1em; box-shadow: 0 6px 18px rgba(255, 79, 112, .42); }
.home-coverflow-card.is-active { border-color: rgba(255, 111, 137, .9); opacity: 1; box-shadow: 0 24px 50px rgba(3, 3, 21, .62), 0 0 0 4px rgba(255, 79, 112, .12); }
.home-coverflow-card.is-active img { animation: coverflow-cover-breathe 3.8s ease-in-out infinite; }
.home-coverflow-card.is-active:hover { transform: translateX(var(--cover-x)) translateZ(18px) rotateY(var(--cover-rotate)) scale(1.025); }
.home-coverflow-card:focus-visible { outline: 3px solid rgba(255, 111, 137, .65); outline-offset: 4px; }
.home-coverflow-card.is-hidden { opacity: 0; pointer-events: none; }
.home-coverflow-caption { position: relative; z-index: 30; display: grid; justify-items: center; min-height: 42px; margin-top: -5px; text-align: center; }
.home-coverflow-caption strong { font-size: 1.08rem; }
.home-coverflow-caption span { margin-top: 3px; color: #9290b0; font-size: .76rem; }

@keyframes coverflow-ambient {
  0%, 100% { opacity: .55; transform: translate(-56%, -50%) scale(.88); }
  50% { opacity: 1; transform: translate(-44%, -50%) scale(1.12); }
}

@keyframes coverflow-cover-breathe {
  0%, 100% { transform: scale(1); filter: saturate(1.08) contrast(1.04); }
  50% { transform: scale(1.045); filter: saturate(1.2) contrast(1.06) brightness(1.05); }
}

@media (max-width: 720px) {
  [data-theme="midnight-coral"] .home-coverflow:not(.d-none) { padding: 18px 14px 14px; }
  .home-coverflow-head { align-items: flex-start; }
  .home-coverflow-track { height: 250px; }
  .home-coverflow-card { top: 24px; left: calc(50% - 82px); width: 164px; height: 198px; }
  .home-coverflow-card { transform: translateX(var(--cover-mobile-x)) translateZ(var(--cover-z)) rotateY(var(--cover-rotate)) scale(var(--cover-scale)); }
  .home-coverflow-card.is-active:hover { transform: translateX(var(--cover-mobile-x)) translateZ(12px) rotateY(var(--cover-rotate)) scale(1.02); }
  .home-coverflow-card-copy { inset: auto 10px 10px; }
  .home-coverflow-card-copy strong { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-coverflow-card { transition: none; }
  .home-coverflow-card.is-active img,
  [data-theme="midnight-coral"] .home-coverflow::before { animation: none; }
}

/* Persistent right-hand member chat */
.chat-sidebar {
  display: none;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  min-width: 0;
  padding: 24px 16px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #050706;
}

.chat-sidebar .member-chat {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.chat-sidebar .chat-messages {
  height: auto;
  min-height: 0;
}

.chat-sidebar .chat-form {
  grid-template-columns: auto minmax(0, 1fr);
}

.chat-sidebar .chat-form .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.chat-sidebar .chat-emoji-picker {
  right: 10px;
  left: auto;
  grid-template-columns: repeat(6, 34px);
  max-width: calc(100% - 20px);
}

[data-theme="midnight-coral"] .chat-sidebar {
  display: block;
  border-left-color: rgba(195, 193, 255, .1);
  background: linear-gradient(180deg, #121331, #0c0c26);
}

[data-theme="midnight-coral"] .chat-sidebar .member-chat {
  border-color: rgba(255, 79, 112, .22);
  background: linear-gradient(180deg, rgba(28, 27, 67, .98), rgba(14, 14, 42, .99));
}

[data-theme="midnight-coral"] .chat-sidebar .chat-form .form-control,
[data-theme="midnight-coral"] .chat-sidebar .chat-emoji-button,
[data-theme="midnight-coral"] .chat-sidebar .chat-emoji-picker {
  background: #10102d;
}

@media (min-width: 1281px) {
  [data-theme="midnight-coral"] .app-shell {
    grid-template-columns: 290px minmax(0, 1fr) 340px;
  }

  [data-theme="midnight-coral"] .chat-sidebar {
    top: 0;
    height: 100vh;
  }
}

@media (max-width: 1280px) {
  [data-theme="midnight-coral"] .app-shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .chat-sidebar,
  [data-theme="midnight-coral"] .chat-sidebar {
    position: static;
    grid-column: 1 / -1;
    height: auto;
    padding: 18px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .chat-sidebar .member-chat { height: auto; }
  .chat-sidebar .chat-messages { height: 320px; }
  .chat-sidebar .chat-form { grid-template-columns: auto minmax(180px, 1fr) auto auto; }
  .chat-sidebar .chat-form .btn { grid-column: auto; width: auto; }
}

@media (max-width: 900px) {
  .app-shell,
  [data-theme="midnight-coral"] .app-shell { grid-template-columns: 1fr; }
  .chat-sidebar { grid-column: auto; }
}

@media (max-width: 620px) {
  .chat-sidebar { padding: 12px; }
  .chat-sidebar .chat-form { grid-template-columns: auto minmax(0, 1fr); }
  .chat-sidebar .chat-form .btn { grid-column: 1 / -1; width: 100%; }
}

/* Midnight Coral finishing details */
[data-theme="midnight-coral"] .topbar {
  z-index: 120;
  overflow: visible;
}

[data-theme="midnight-coral"] .topbar-user-actions,
[data-theme="midnight-coral"] .user-menu,
[data-theme="midnight-coral"] .user-menu-dropdown {
  z-index: 130;
}

[data-theme="midnight-coral"] .user-menu-dropdown {
  z-index: 140;
  box-shadow: 0 22px 54px rgba(3, 3, 25, .72), 0 0 0 1px rgba(255, 79, 112, .12);
}

[data-theme="midnight-coral"] .home-coverflow-track {
  height: 370px;
}

[data-theme="midnight-coral"] .home-coverflow-card {
  top: 24px;
  left: calc(50% - 135px);
  width: 270px;
  height: 320px;
  border-radius: 20px;
}

[data-theme="midnight-coral"] .home-coverflow {
  isolation: isolate;
}

[data-theme="midnight-coral"] .home-coverflow-card.is-active {
  z-index: 80 !important;
}

[data-theme="midnight-coral"] .home-coverflow-card-copy strong {
  font-size: 1.05rem;
}

[data-theme="midnight-coral"] .radio-mini-player {
  position: fixed;
  z-index: 300;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 46px minmax(130px, 250px) minmax(260px, 1fr) 34px;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 62px;
  margin: 0;
  padding: 7px 18px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: linear-gradient(90deg, #ff4f70, #f04c74 48%, #ce3f76);
  box-shadow: 0 -12px 34px rgba(4, 4, 28, .4), inset 0 1px 0 rgba(255, 255, 255, .2);
}

[data-theme="midnight-coral"] .radio-mini-player .radio-mini-head {
  display: none;
}

[data-theme="midnight-coral"] .radio-mini-player .radio-mini-cover {
  grid-column: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(60, 10, 35, .28);
}

[data-theme="midnight-coral"] .radio-mini-player > strong {
  grid-column: 2;
  color: #fff;
  font-size: .78rem;
  line-height: 1.18;
}

[data-theme="midnight-coral"] .radio-mini-player audio {
  grid-column: 3;
  width: 100%;
  height: 36px;
  min-width: 0;
  accent-color: #fff;
}

[data-theme="midnight-coral"] .radio-mini-player .radio-mini-popout {
  grid-column: 4;
  justify-self: center;
  width: 32px;
  height: 32px;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

[data-theme="midnight-coral"] .content,
[data-theme="midnight-coral"] .sidebar,
[data-theme="midnight-coral"] .chat-sidebar {
  padding-bottom: 82px;
}

@media (max-width: 720px) {
  [data-theme="midnight-coral"] .home-coverflow-track { height: 292px; }
  [data-theme="midnight-coral"] .home-coverflow-card { top: 24px; left: calc(50% - 100px); width: 200px; height: 244px; }

  [data-theme="midnight-coral"] .radio-mini-player {
    grid-template-columns: minmax(90px, 135px) minmax(130px, 1fr) 32px;
    gap: 8px;
    height: 56px;
    padding: 6px 10px;
  }

  [data-theme="midnight-coral"] .radio-mini-player .radio-mini-cover { display: none; }
  [data-theme="midnight-coral"] .radio-mini-player > strong { grid-column: 1; font-size: .68rem; }
  [data-theme="midnight-coral"] .radio-mini-player audio { grid-column: 2; height: 32px; }
  [data-theme="midnight-coral"] .radio-mini-player .radio-mini-popout { grid-column: 3; }
  [data-theme="midnight-coral"] .content,
  [data-theme="midnight-coral"] .sidebar,
  [data-theme="midnight-coral"] .chat-sidebar { padding-bottom: 70px; }
}

/* Midnight Coral identity and compact dashboard */
.brand-logo .brand-logo-coral,
.eyebrow-coral,
.radio-advanced-controls {
  display: none;
}

[data-theme="midnight-coral"] .brand-logo .brand-logo-default,
[data-theme="midnight-coral"] .eyebrow-default {
  display: none;
}

[data-theme="midnight-coral"] .brand-logo .brand-logo-coral {
  display: block;
  width: 268px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(255, 79, 112, .22));
  transform-origin: center;
  animation: coral-brand-pulse 3.2s ease-in-out infinite;
}

@keyframes coral-brand-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 22px rgba(255, 79, 112, .22));
  }
  50% {
    transform: scale(1.045);
    filter: drop-shadow(0 9px 30px rgba(255, 79, 112, .48)) drop-shadow(0 0 13px rgba(83, 99, 220, .34));
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="midnight-coral"] .brand-logo .brand-logo-coral {
    animation: none;
  }
}

[data-theme="midnight-coral"] .brand-logo {
  min-height: 108px;
  margin-top: -9px;
  margin-bottom: 0;
}

[data-theme="midnight-coral"] .sidebar {
  padding-top: 14px;
  scrollbar-width: none;
}

[data-theme="midnight-coral"] .sidebar::-webkit-scrollbar {
  display: none;
}

[data-theme="midnight-coral"] .sidebar .nav-pill {
  margin-top: 6px;
  padding-block: 9px;
}

[data-theme="midnight-coral"] .eyebrow-coral {
  display: inline;
  text-transform: none;
}

[data-theme="midnight-coral"][data-view="home"] .topbar {
  min-height: 92px;
  padding: 16px 22px;
}

[data-theme="midnight-coral"][data-view="home"] .topbar h1 {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
}

[data-theme="midnight-coral"][data-view="home"] .topbar .eyebrow {
  font-size: .72rem;
  letter-spacing: .12em;
}

[data-theme="midnight-coral"] .release-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 14px 0 0;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid rgba(195, 193, 255, .12);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(22, 21, 57, .98), rgba(13, 13, 39, .98));
  box-shadow: 0 12px 30px rgba(4, 4, 28, .2);
}

[data-theme="midnight-coral"] .release-counter {
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 6px 10px;
  border: 0;
  border-right: 1px solid rgba(195, 193, 255, .1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

[data-theme="midnight-coral"] .release-counter:last-child {
  border-right: 0;
}

[data-theme="midnight-coral"] .release-counter-icon {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 79, 112, .12);
}

[data-theme="midnight-coral"] .release-counter-icon svg {
  width: 18px;
  height: 18px;
}

[data-theme="midnight-coral"] .release-counter strong {
  font-size: 1.05rem;
}

[data-theme="midnight-coral"] .release-counter div span {
  margin-top: 2px;
  font-size: .62rem;
}

[data-theme="midnight-coral"] .home-coverflow:not(.d-none) {
  margin-top: 12px;
}

/* Advanced Midnight Coral radio transport */
[data-theme="midnight-coral"] .radio-mini-player {
  grid-template-columns: 48px minmax(135px, 250px) minmax(320px, 1fr) 36px;
  border-top-color: rgba(255, 79, 112, .55);
  background:
    radial-gradient(circle at 12% 140%, rgba(255, 79, 112, .25), transparent 26%),
    linear-gradient(90deg, rgba(20, 19, 54, .985), rgba(10, 10, 34, .99));
  box-shadow: 0 -12px 36px rgba(3, 3, 24, .52), inset 0 1px 0 rgba(255, 255, 255, .07);
}

[data-theme="midnight-coral"] .radio-mini-player audio {
  display: none;
}

[data-theme="midnight-coral"] .radio-advanced-controls {
  grid-column: 3;
  display: grid;
  grid-template-columns: 30px 36px 30px 38px minmax(120px, 1fr) 38px 32px;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

[data-theme="midnight-coral"] .radio-advanced-controls button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c8c6dc;
  font-size: .82rem;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

[data-theme="midnight-coral"] .radio-advanced-controls button:hover,
[data-theme="midnight-coral"] .radio-advanced-controls button:focus-visible {
  color: #fff;
  background: rgba(255, 79, 112, .2);
  outline: none;
  transform: scale(1.06);
}

[data-theme="midnight-coral"] .radio-advanced-controls .radio-play-toggle {
  width: 36px;
  height: 36px;
  background: #ff4f70;
  color: #fff;
  box-shadow: 0 5px 16px rgba(255, 79, 112, .34);
}

[data-theme="midnight-coral"] .radio-player-time {
  color: #8583a3;
  font-size: .64rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

[data-theme="midnight-coral"] .radio-player-progress {
  width: 100%;
  height: 4px;
  margin: 0;
  accent-color: #ff4f70;
  cursor: pointer;
}

[data-theme="midnight-coral"] .radio-mini-player .radio-mini-cover {
  border-color: rgba(255, 79, 112, .55);
  background: linear-gradient(135deg, #252451, #12122f);
  box-shadow: 0 5px 18px rgba(255, 79, 112, .22);
}

[data-theme="midnight-coral"] .radio-mini-player.is-playing .radio-mini-cover {
  box-shadow: 0 5px 20px rgba(255, 79, 112, .48);
}

@media (max-width: 900px) {
  [data-theme="midnight-coral"] .release-counters { grid-template-columns: repeat(4, minmax(92px, 1fr)); overflow-x: auto; }
  [data-theme="midnight-coral"] .release-counter { min-width: 92px; }
  [data-theme="midnight-coral"] .radio-mini-player { grid-template-columns: minmax(105px, 150px) minmax(180px, 1fr) 34px; }
  [data-theme="midnight-coral"] .radio-advanced-controls { grid-column: 2; grid-template-columns: 28px 34px 28px minmax(100px, 1fr) 30px; }
  [data-theme="midnight-coral"] .radio-advanced-controls .radio-player-time { display: none; }
  [data-theme="midnight-coral"] .radio-mini-player .radio-mini-popout { grid-column: 3; }
}

@media (max-width: 560px) {
  [data-theme="midnight-coral"] .brand-logo-coral { width: 238px; height: 92px; }
  [data-theme="midnight-coral"] .radio-mini-player { grid-template-columns: 88px minmax(150px, 1fr) 30px; }
  [data-theme="midnight-coral"] .radio-advanced-controls { gap: 3px; grid-template-columns: 25px 32px 25px minmax(70px, 1fr) 27px; }
  [data-theme="midnight-coral"] .radio-advanced-controls button { width: 25px; height: 25px; font-size: .68rem; }
  [data-theme="midnight-coral"] .radio-advanced-controls .radio-play-toggle { width: 32px; height: 32px; }
  [data-theme="midnight-coral"] .release-counter-icon { display: none; }
}

/* Midnight Coral ambient scene and member profiles. These stay invisible in the default theme. */
.coral-ambient,
.coral-only,
.user-chip-profile,
.user-chip > .profile-avatar,
.online-avatar,
.online-user-copy small {
  display: none;
}

.online-user-copy strong {
  font: inherit;
}

.private-message-trigger,
.private-inbox-button {
  display: none;
}

[data-theme="midnight-coral"] .online-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="midnight-coral"] .online-panel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="midnight-coral"] .private-inbox-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 111, 139, .38);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 79, 112, .2), rgba(121, 86, 220, .2));
  color: #ff91a6;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

[data-theme="midnight-coral"] .private-inbox-button:hover,
[data-theme="midnight-coral"] .private-inbox-button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4f70, #7956dc);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 79, 112, .3);
  outline: none;
}

[data-theme="midnight-coral"] .private-inbox-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] body {
  position: relative;
  overflow-x: hidden;
  background: #08081f;
}

[data-theme="midnight-coral"] .coral-ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 115%, rgba(255, 79, 112, .16), transparent 38%),
    linear-gradient(135deg, #08081f, #0d0d2d 52%, #090921);
}

[data-theme="midnight-coral"] .coral-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 78%, transparent);
}

[data-theme="midnight-coral"] .coral-ambient-orb {
  position: absolute;
  display: block;
  width: 38vw;
  height: 38vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .34;
  will-change: transform;
}

[data-theme="midnight-coral"] .coral-ambient-orb-one {
  top: -18%;
  left: 18%;
  background: #ff426d;
  animation: coral-float-one 17s ease-in-out infinite alternate;
}

[data-theme="midnight-coral"] .coral-ambient-orb-two {
  top: 30%;
  right: -12%;
  background: #6947e8;
  animation: coral-float-two 22s ease-in-out infinite alternate;
}

[data-theme="midnight-coral"] .coral-ambient-orb-three {
  bottom: -24%;
  left: 8%;
  background: #1f88b8;
  opacity: .22;
  animation: coral-float-three 20s ease-in-out infinite alternate;
}

[data-theme="midnight-coral"] .coral-ambient-glow {
  position: absolute;
  top: 12%;
  left: 28%;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 158, .7), transparent);
  box-shadow: 0 0 38px 9px rgba(255, 79, 112, .18);
  animation: coral-glow-sweep 9s ease-in-out infinite;
}

@keyframes coral-float-one {
  from { transform: translate3d(-8%, -4%, 0) scale(.9); }
  to { transform: translate3d(38%, 26%, 0) scale(1.18); }
}

@keyframes coral-float-two {
  from { transform: translate3d(8%, -12%, 0) scale(1.08); }
  to { transform: translate3d(-46%, 22%, 0) scale(.86); }
}

@keyframes coral-float-three {
  from { transform: translate3d(-10%, 8%, 0) scale(.94); }
  to { transform: translate3d(52%, -28%, 0) scale(1.14); }
}

@keyframes coral-glow-sweep {
  0%, 100% { transform: translateX(-18%) rotate(-5deg); opacity: .2; }
  50% { transform: translateX(34%) rotate(4deg); opacity: .75; }
}

[data-theme="midnight-coral"] .app-shell {
  position: relative;
  z-index: 1;
  background: transparent;
}

[data-theme="midnight-coral"] .content {
  background: rgba(7, 7, 29, .68);
  backdrop-filter: blur(4px);
}

[data-theme="midnight-coral"] .sidebar,
[data-theme="midnight-coral"] .chat-sidebar {
  background: linear-gradient(180deg, rgba(18, 19, 49, .9), rgba(8, 8, 31, .88));
  backdrop-filter: blur(18px);
}

[data-theme="midnight-coral"] .coral-only {
  display: block;
}

[data-theme="midnight-coral"] .user-chip-default {
  display: none;
}

[data-theme="midnight-coral"] .user-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 205px;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(255, 106, 135, .26);
  background: rgba(17, 17, 47, .76);
  color: #fff;
  box-shadow: 0 10px 28px rgba(4, 4, 24, .25);
  backdrop-filter: blur(12px);
}

.profile-avatar {
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4f70, #7956dc);
  color: #fff;
  font-weight: 900;
}

.profile-avatar img,
.online-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-theme="midnight-coral"] .user-chip > .profile-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  border: 2px solid rgba(255, 255, 255, .72);
}

[data-theme="midnight-coral"] .profile-avatar-pulse {
  animation: profile-avatar-pulse 2.3s ease-out infinite;
}

@keyframes profile-avatar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 79, 112, .62), 0 5px 15px rgba(0, 0, 0, .28); }
  70% { box-shadow: 0 0 0 10px rgba(255, 79, 112, 0), 0 5px 15px rgba(0, 0, 0, .28); }
  100% { box-shadow: 0 0 0 0 rgba(255, 79, 112, 0), 0 5px 15px rgba(0, 0, 0, .28); }
}

[data-theme="midnight-coral"] .user-chip-profile {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

[data-theme="midnight-coral"] .user-chip-profile strong {
  overflow: hidden;
  font-size: .84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .user-chip-profile small {
  overflow: hidden;
  max-width: 170px;
  margin-top: 4px;
  color: #aaa8c9;
  font-size: .66rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .online-users-list {
  gap: 10px;
}

[data-theme="midnight-coral"] .online-user {
  min-width: 0;
}

[data-theme="midnight-coral"] .private-message-trigger {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 111, 139, .34);
  border-radius: 50%;
  background: rgba(255, 79, 112, .1);
  color: #ff879e;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

[data-theme="midnight-coral"] .private-message-trigger:hover,
[data-theme="midnight-coral"] .private-message-trigger:focus-visible {
  transform: translateY(-2px) scale(1.06);
  background: #ff4f70;
  color: #fff;
  box-shadow: 0 7px 20px rgba(255, 79, 112, .35);
  outline: none;
}

[data-theme="midnight-coral"] .private-message-trigger svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .online-dot {
  display: none;
}

[data-theme="midnight-coral"] .online-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4f70, #7956dc);
  color: #fff;
  font-size: .76rem;
}

[data-theme="midnight-coral"] .online-user-copy {
  display: grid;
  min-width: 0;
}

[data-theme="midnight-coral"] .online-user-copy strong,
[data-theme="midnight-coral"] .online-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .online-user-copy small {
  display: block;
  max-width: 190px;
  margin-top: 2px;
  color: #9694b5;
  font-size: .66rem;
  font-weight: 600;
}

[data-theme="midnight-coral"] .private-message-content {
  overflow: hidden;
  border: 1px solid rgba(255, 101, 132, .34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0, rgba(105, 71, 232, .28), transparent 38%),
    linear-gradient(145deg, rgba(24, 20, 62, .98), rgba(10, 10, 36, .98));
  color: #f7f5ff;
  box-shadow: 0 30px 90px rgba(3, 3, 24, .75), 0 0 55px rgba(255, 79, 112, .13);
  backdrop-filter: blur(22px);
}

[data-theme="midnight-coral"] .private-message-content .modal-header {
  border-color: rgba(255, 255, 255, .09);
}

[data-theme="midnight-coral"] .private-message-content .btn-close {
  filter: invert(1) grayscale(1);
}

[data-theme="midnight-coral"] .private-message-incoming {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(121, 86, 220, .3);
  border-radius: 17px;
  background: rgba(83, 69, 167, .15);
}

[data-theme="midnight-coral"] .private-message-incoming.d-none {
  display: none;
}

[data-theme="midnight-coral"] .private-message-incoming .online-avatar {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
}

[data-theme="midnight-coral"] .private-message-incoming > div {
  min-width: 0;
}

[data-theme="midnight-coral"] .private-message-incoming small {
  color: #aaa8c9;
}

[data-theme="midnight-coral"] .private-message-incoming p {
  margin: 7px 0 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

[data-theme="midnight-coral"] .private-message-content textarea {
  resize: vertical;
  min-height: 105px;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(7, 7, 29, .7);
  color: #fff;
}

[data-theme="midnight-coral"] .private-message-content textarea:focus {
  border-color: rgba(255, 79, 112, .7);
  background: rgba(7, 7, 29, .88);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 79, 112, .12);
}

[data-theme="midnight-coral"] .private-message-form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
}

[data-theme="midnight-coral"] .private-message-sound-picker {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(121, 86, 220, .25);
  border-radius: 14px;
  background: rgba(121, 86, 220, .08);
}

[data-theme="midnight-coral"] .private-message-sound-picker .form-label {
  margin-bottom: 7px;
  color: #d9d6ec;
  font-size: .76rem;
  font-weight: 800;
}

[data-theme="midnight-coral"] .private-message-sound-picker .form-label small {
  color: #8f8cac;
  font-weight: 600;
}

[data-theme="midnight-coral"] .private-message-sound-picker > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px auto;
  gap: 8px;
}

[data-theme="midnight-coral"] .private-message-sound-picker .form-select {
  border-color: rgba(255, 255, 255, .13);
  background-color: rgba(7, 7, 29, .72);
  color: #fff;
}

[data-theme="midnight-coral"] .private-sound-preview,
[data-theme="midnight-coral"] .private-sound-manage,
[data-theme="midnight-coral"] .private-message-sound-play,
[data-theme="midnight-coral"] .private-inbox-sound {
  border: 1px solid rgba(255, 104, 135, .34);
  border-radius: 10px;
  background: rgba(255, 79, 112, .1);
  color: #ff9caf;
  font-size: .72rem;
  font-weight: 800;
}

[data-theme="midnight-coral"] .private-sound-preview {
  display: grid;
  place-items: center;
  width: 38px;
  padding: 0;
}

[data-theme="midnight-coral"] .private-sound-preview:disabled {
  opacity: .35;
}

[data-theme="midnight-coral"] .private-sound-manage {
  padding-inline: 12px;
}

[data-theme="midnight-coral"] .private-sound-preview:not(:disabled):hover,
[data-theme="midnight-coral"] .private-sound-manage:hover,
[data-theme="midnight-coral"] .private-message-sound-play:hover,
[data-theme="midnight-coral"] .private-inbox-sound:hover {
  background: #ff4f70;
  color: #fff;
  box-shadow: 0 7px 18px rgba(255, 79, 112, .25);
}

[data-theme="midnight-coral"] .private-sound-preview svg,
[data-theme="midnight-coral"] .private-message-sound-play svg,
[data-theme="midnight-coral"] .private-inbox-sound svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .private-sound-preview svg {
  fill: currentColor;
  stroke: none;
}

[data-theme="midnight-coral"] .private-message-sound-play,
[data-theme="midnight-coral"] .private-inbox-sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
}

[data-theme="midnight-coral"] .private-message-sound-play.d-none {
  display: none;
}

[data-theme="midnight-coral"] .private-message-status {
  color: #aaa8c9;
  font-size: .78rem;
}

[data-theme="midnight-coral"] #privateMessageSend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: linear-gradient(135deg, #ff4f70, #7956dc);
  box-shadow: 0 9px 24px rgba(255, 79, 112, .24);
}

[data-theme="midnight-coral"] #privateMessageSend svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .private-inbox-modal .modal-dialog {
  max-width: 650px;
}

[data-theme="midnight-coral"] .private-inbox-status {
  margin-bottom: 12px;
  color: #aaa8c9;
  font-size: .78rem;
  font-weight: 700;
}

[data-theme="midnight-coral"] .private-inbox-list {
  display: grid;
  gap: 11px;
}

[data-theme="midnight-coral"] .private-inbox-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 17px;
  background: rgba(255, 255, 255, .035);
}

[data-theme="midnight-coral"] .private-inbox-item.is-received {
  border-left: 3px solid #ff4f70;
}

[data-theme="midnight-coral"] .private-inbox-item.is-sent {
  border-left: 3px solid #7956dc;
}

[data-theme="midnight-coral"] .private-inbox-item > .online-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

[data-theme="midnight-coral"] .private-inbox-item-copy {
  min-width: 0;
}

[data-theme="midnight-coral"] .private-inbox-item header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

[data-theme="midnight-coral"] .private-inbox-item header strong {
  color: #fff;
  font-size: .85rem;
}

[data-theme="midnight-coral"] .private-inbox-item time {
  color: #8582a8;
  font-size: .68rem;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .private-inbox-item p {
  margin: 7px 0 10px;
  color: #dcdaeb;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

[data-theme="midnight-coral"] .private-inbox-sound {
  margin-bottom: 10px;
}

[data-theme="midnight-coral"] .private-inbox-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

[data-theme="midnight-coral"] .private-inbox-actions button {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 113, 141, .28);
  border-radius: 9px;
  background: rgba(255, 79, 112, .08);
  color: #ff9aae;
  font-size: .72rem;
  font-weight: 800;
}

[data-theme="midnight-coral"] .private-inbox-actions button:hover {
  background: rgba(255, 79, 112, .2);
  color: #fff;
}

[data-theme="midnight-coral"] .private-inbox-actions .private-inbox-delete {
  display: grid;
  place-items: center;
  width: 31px;
  padding: 0;
  color: #ff708c;
}

[data-theme="midnight-coral"] .private-inbox-delete svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .pm-sound-upload-form {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(170px, 1fr) auto;
  gap: 9px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(121, 86, 220, .27);
  border-radius: 15px;
  background: rgba(121, 86, 220, .08);
}

[data-theme="midnight-coral"] .pm-sound-upload-form .form-control {
  border-color: rgba(255, 255, 255, .13);
  background-color: rgba(7, 7, 29, .72);
  color: #fff;
}

[data-theme="midnight-coral"] .pm-sound-admin-list {
  display: grid;
  gap: 8px;
}

[data-theme="midnight-coral"] .pm-sound-admin-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}

[data-theme="midnight-coral"] .pm-sound-admin-item > div {
  display: grid;
  min-width: 0;
}

[data-theme="midnight-coral"] .pm-sound-admin-item strong {
  overflow: hidden;
  color: #fff;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .pm-sound-admin-item small {
  color: #8582a8;
  font-size: .66rem;
}

[data-theme="midnight-coral"] .pm-sound-admin-play,
[data-theme="midnight-coral"] .pm-sound-admin-delete {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 111, 139, .28);
  border-radius: 10px;
  background: rgba(255, 79, 112, .08);
  color: #ff8da3;
}

[data-theme="midnight-coral"] .pm-sound-admin-play svg,
[data-theme="midnight-coral"] .pm-sound-admin-delete svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .pm-sound-admin-play svg {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 560px) {
  [data-theme="midnight-coral"] .private-inbox-item header {
    display: grid;
    gap: 3px;
  }
  [data-theme="midnight-coral"] .private-message-sound-picker > div,
  [data-theme="midnight-coral"] .pm-sound-upload-form {
    grid-template-columns: minmax(0, 1fr) 38px;
  }
  [data-theme="midnight-coral"] .private-sound-manage,
  [data-theme="midnight-coral"] .pm-sound-upload-form .btn {
    grid-column: 1 / -1;
  }
}

[data-theme="midnight-coral"] .profile-modal-content {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 79, 112, .2), transparent 35%),
    linear-gradient(145deg, rgba(28, 27, 67, .99), rgba(10, 10, 34, .99));
}

.profile-modal-kicker {
  display: block;
  margin-bottom: 3px;
  color: #ff6f89;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.profile-editor {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.profile-avatar-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f8f7ff;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}

[data-theme="midnight-coral"] .profile-avatar-preview {
  display: grid;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, .66);
  box-shadow: 0 0 0 5px rgba(255, 79, 112, .12), 0 12px 24px rgba(0, 0, 0, .3);
}

.profile-form-status {
  min-height: 20px;
  margin-top: 12px;
  color: #ff91a5;
  font-size: .78rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="midnight-coral"] .coral-ambient-orb,
  [data-theme="midnight-coral"] .coral-ambient-glow,
  [data-theme="midnight-coral"] .profile-avatar-pulse {
    animation: none;
  }
}

@media (max-width: 560px) {
  [data-theme="midnight-coral"] .user-chip {
    min-width: 0;
  }

  [data-theme="midnight-coral"] .user-chip-profile small {
    max-width: 110px;
  }
}

/* Midnight Coral: roomier chat, transparent glass panels and empty home artwork. */
.home-empty-state {
  display: none;
}

[data-theme="midnight-coral"] .home-empty-state.is-visible {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(330px, 54vh, 610px);
  overflow: hidden;
}

[data-theme="midnight-coral"] .home-empty-state::before {
  position: absolute;
  width: min(58vw, 620px);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 112, .24), rgba(105, 71, 232, .11) 42%, transparent 70%);
  filter: blur(18px);
  animation: empty-logo-aura 5s ease-in-out infinite;
}

[data-theme="midnight-coral"] .home-empty-state img {
  position: relative;
  z-index: 1;
  width: min(78%, 580px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 46px rgba(255, 79, 112, .3));
  animation: empty-logo-float 5s ease-in-out infinite;
}

@keyframes empty-logo-float {
  0%, 100% { transform: translateY(25px) scale(.98); }
  50% { transform: translateY(9px) scale(1.02); }
}

@keyframes empty-logo-aura {
  0%, 100% { opacity: .55; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (min-width: 1281px) {
  [data-theme="midnight-coral"] .app-shell {
    grid-template-columns: 290px minmax(0, 1fr) minmax(390px, 430px);
  }

  [data-theme="midnight-coral"] .chat-sidebar {
    padding-inline: 18px;
  }

  [data-theme="midnight-coral"] .chat-sidebar .chat-messages {
    padding: 18px;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  [data-theme="midnight-coral"] .chat-sidebar .chat-messages {
    height: 440px;
  }
}

[data-theme="midnight-coral"] .content {
  background: rgba(7, 7, 29, .36);
  backdrop-filter: blur(1px);
}

[data-theme="midnight-coral"] .sidebar,
[data-theme="midnight-coral"] .chat-sidebar {
  background: linear-gradient(180deg, rgba(18, 19, 49, .72), rgba(8, 8, 31, .66));
  backdrop-filter: blur(9px);
}

[data-theme="midnight-coral"] .topbar {
  background:
    radial-gradient(circle at 78% 35%, rgba(114, 52, 161, .25), transparent 32%),
    linear-gradient(135deg, rgba(23, 22, 56, .68), rgba(12, 12, 39, .58) 70%);
  backdrop-filter: blur(9px);
}

[data-theme="midnight-coral"] .home-coverflow:not(.d-none) {
  background:
    radial-gradient(circle at 50% 105%, rgba(255, 79, 112, .22), transparent 36%),
    linear-gradient(145deg, rgba(25, 24, 64, .66), rgba(10, 10, 34, .58));
  backdrop-filter: blur(8px);
}

[data-theme="midnight-coral"] .release-counters {
  background: linear-gradient(90deg, rgba(22, 21, 57, .64), rgba(13, 13, 39, .58));
  backdrop-filter: blur(8px);
}

[data-theme="midnight-coral"] .chat-sidebar .member-chat,
[data-theme="midnight-coral"] .artist-card,
[data-theme="midnight-coral"] .forum-post,
[data-theme="midnight-coral"] .radio-track {
  background: linear-gradient(145deg, rgba(28, 27, 67, .7), rgba(14, 14, 42, .62));
  backdrop-filter: blur(8px);
}

[data-theme="midnight-coral"] .coral-ambient-orb {
  opacity: .48;
  filter: blur(66px);
}

[data-theme="midnight-coral"] .coral-ambient-orb-three {
  opacity: .34;
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="midnight-coral"] .home-empty-state::before,
  [data-theme="midnight-coral"] .home-empty-state img {
    animation: none;
  }
}

/* Midnight Coral artist command bar */
.artist-coral-controls {
  display: none;
}

[data-theme="midnight-coral"][data-view="artists"] .page-actions,
[data-theme="midnight-coral"][data-view="remixes"] .page-actions {
  display: none;
}

[data-theme="midnight-coral"] .artist-coral-controls.is-active {
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(260px, 620px) minmax(170px, 1fr);
  align-items: center;
  gap: 18px;
  margin: 20px 0 18px;
  padding: 11px 14px;
  border: 1px solid rgba(195, 193, 255, .14);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(24, 23, 61, .68), rgba(12, 12, 38, .52));
  box-shadow: 0 14px 32px rgba(4, 4, 25, .2), inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(9px);
}

[data-theme="midnight-coral"] .artist-coral-action-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

[data-theme="midnight-coral"] .artist-coral-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 190px;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 11px;
}

[data-theme="midnight-coral"] .artist-coral-controls.is-remixes {
  grid-template-columns: minmax(350px, auto) minmax(230px, 1fr) minmax(150px, auto);
}

[data-theme="midnight-coral"] .artist-coral-controls.is-remixes .artist-coral-add,
[data-theme="midnight-coral"] .remix-coral-bulk {
  min-width: 164px;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: 11px;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .remix-coral-bulk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

[data-theme="midnight-coral"] .artist-coral-add svg,
[data-theme="midnight-coral"] .remix-coral-bulk svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .artist-coral-search-slot {
  width: 100%;
  justify-self: center;
}

[data-theme="midnight-coral"] .artist-coral-search-slot .toolbar {
  width: 100%;
  margin: 0;
}

[data-theme="midnight-coral"] .artist-coral-search-slot .search {
  width: 100%;
  max-width: none;
  min-height: 42px;
  border-color: rgba(255, 111, 137, .3);
  border-radius: 12px;
  background: rgba(9, 9, 34, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

[data-theme="midnight-coral"] .artist-coral-count-slot {
  justify-self: end;
  text-align: right;
}

[data-theme="midnight-coral"] .artist-coral-count-slot .status-line {
  margin: 0;
  padding: 0 8px;
  color: #ff718c;
  font-size: clamp(.88rem, 1.1vw, 1.05rem);
  font-weight: 950;
  letter-spacing: .045em;
  text-shadow: 0 0 18px rgba(255, 79, 112, .4);
  white-space: nowrap;
}

@media (max-width: 780px) {
  [data-theme="midnight-coral"] .artist-coral-controls.is-active {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  [data-theme="midnight-coral"] .artist-coral-action-slot,
  [data-theme="midnight-coral"] .artist-coral-count-slot {
    justify-self: stretch;
    text-align: left;
  }

  [data-theme="midnight-coral"] .artist-coral-action-slot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-theme="midnight-coral"] .artist-coral-add,
  [data-theme="midnight-coral"] .remix-coral-bulk {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  [data-theme="midnight-coral"] .artist-coral-action-slot {
    grid-template-columns: 1fr;
  }
}

/* Midnight Coral popup radio player */
[data-theme="midnight-coral"] .radio-player-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 79, 112, .34), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(105, 71, 232, .33), transparent 38%),
    #090922;
}

[data-theme="midnight-coral"] .radio-player-page::before,
[data-theme="midnight-coral"] .radio-player-page::after {
  position: fixed;
  z-index: -1;
  width: 320px;
  height: 320px;
  content: "";
  border-radius: 50%;
  filter: blur(62px);
  opacity: .5;
  pointer-events: none;
}

[data-theme="midnight-coral"] .radio-player-page::before {
  top: -100px;
  left: -90px;
  background: #ff426d;
  animation: popup-player-orbit-one 10s ease-in-out infinite alternate;
}

[data-theme="midnight-coral"] .radio-player-page::after {
  right: -110px;
  bottom: -110px;
  background: #6947e8;
  animation: popup-player-orbit-two 12s ease-in-out infinite alternate;
}

[data-theme="midnight-coral"] .radio-player {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 42px 30px 34px;
  border-color: rgba(255, 111, 137, .3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 79, 112, .14), transparent 38%),
    linear-gradient(145deg, rgba(28, 27, 67, .76), rgba(10, 10, 34, .7));
  box-shadow: 0 28px 80px rgba(3, 3, 25, .55), inset 0 1px 0 rgba(255, 255, 255, .09);
  backdrop-filter: blur(16px);
}

[data-theme="midnight-coral"] .radio-player-orb {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 111, 137, .38);
  background: linear-gradient(145deg, rgba(255, 79, 112, .2), rgba(105, 71, 232, .22));
  color: #ff718c;
  box-shadow: 0 0 0 10px rgba(255, 79, 112, .07), 0 0 38px rgba(255, 79, 112, .38);
}

[data-theme="midnight-coral"] .radio-player .radio-kicker {
  color: #ff718c;
}

[data-theme="midnight-coral"] .radio-player h1 {
  color: #fff;
  font-size: 1.5rem;
}

[data-theme="midnight-coral"] .radio-player p {
  color: #aaa8c9;
}

[data-theme="midnight-coral"] .radio-player audio {
  accent-color: #ff4f70;
  filter: saturate(.9) hue-rotate(292deg);
}

@keyframes popup-player-orbit-one {
  from { transform: translate3d(-20px, -10px, 0) scale(.9); }
  to { transform: translate3d(150px, 130px, 0) scale(1.14); }
}

@keyframes popup-player-orbit-two {
  from { transform: translate3d(15px, 10px, 0) scale(1.08); }
  to { transform: translate3d(-140px, -105px, 0) scale(.88); }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="midnight-coral"] .radio-player-page::before,
  [data-theme="midnight-coral"] .radio-player-page::after {
    animation: none;
  }
}

/* Midnight Coral structured discography, generated from "year - title" lines. */
[data-theme="midnight-coral"] .albumlist-text:has(.album-release-list) {
  width: min(920px, 100%);
  line-height: 1.35;
}

[data-theme="midnight-coral"] .album-release-list {
  display: grid;
  width: min(920px, 100%);
  margin-inline: auto;
  gap: 7px;
  text-align: left;
}

[data-theme="midnight-coral"] .album-release-list > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(195, 193, 255, .13);
}

[data-theme="midnight-coral"] .album-release-list > header span {
  color: #ff718c;
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .18em;
}

[data-theme="midnight-coral"] .album-release-list > header strong {
  color: #aaa8c9;
  font-size: .78rem;
}

[data-theme="midnight-coral"] .album-release-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 8px 13px 8px 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(12, 12, 38, .4);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

[data-theme="midnight-coral"] .album-release-row:hover {
  transform: translateX(4px);
  border-color: rgba(255, 111, 137, .28);
  background: rgba(28, 27, 67, .66);
}

[data-theme="midnight-coral"] .album-release-date {
  display: grid;
  place-content: center;
  width: 60px;
  height: 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 111, 137, .35);
  border-radius: 10px;
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 255, 255, .12), transparent 40%),
    linear-gradient(145deg, #d73d61, #49377f);
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(5, 5, 28, .34);
}

[data-theme="midnight-coral"] .album-release-date strong {
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

[data-theme="midnight-coral"] .album-release-date span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .68);
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

[data-theme="midnight-coral"] .album-release-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

[data-theme="midnight-coral"] .album-release-copy strong {
  color: #f8f7ff;
  font-size: .96rem;
  line-height: 1.25;
}

[data-theme="midnight-coral"] .album-release-copy small {
  color: #9290b0;
  font-size: .72rem;
  font-weight: 650;
}

[data-theme="midnight-coral"] .album-release-type {
  min-width: 55px;
  padding: 5px 8px;
  border: 1px solid rgba(195, 193, 255, .16);
  border-radius: 999px;
  background: rgba(195, 193, 255, .07);
  color: #aaa8c9;
  font-size: .57rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-align: center;
}

[data-theme="midnight-coral"] .album-release-type-single,
[data-theme="midnight-coral"] .album-release-type-ep {
  border-color: rgba(255, 111, 137, .32);
  background: rgba(255, 79, 112, .1);
  color: #ff91a5;
}

[data-theme="midnight-coral"] .album-release-type-live {
  border-color: rgba(72, 184, 214, .3);
  background: rgba(72, 184, 214, .1);
  color: #82dcef;
}

[data-theme="midnight-coral"] .album-release-note {
  margin: 4px 8px !important;
  color: #aaa8c9 !important;
  text-align: left;
}

@media (max-width: 620px) {
  [data-theme="midnight-coral"] .forum-post-body {
    padding-inline: 14px;
  }

  [data-theme="midnight-coral"] .album-release-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding-right: 9px;
  }

  [data-theme="midnight-coral"] .album-release-date {
    width: 54px;
    height: 52px;
  }

  [data-theme="midnight-coral"] .album-release-type {
    display: none;
  }
}

/* Midnight Coral actions inside an artist. */
[data-theme="midnight-coral"][data-view="artist"] .page-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: stretch;
  gap: 7px;
  margin-block: 18px;
  padding: 9px;
  border-color: rgba(195, 193, 255, .13);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(24, 23, 61, .66), rgba(12, 12, 38, .5));
  backdrop-filter: blur(9px);
}

[data-theme="midnight-coral"] .page-actions .coral-artist-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 44px;
  padding: 8px 9px;
  border-color: rgba(255, 111, 137, .25);
  border-radius: 10px;
  background: rgba(255, 79, 112, .075);
  color: #d8d6e8;
  font-size: clamp(.68rem, .75vw, .82rem);
  white-space: nowrap;
}

[data-theme="midnight-coral"] .page-actions .coral-artist-action svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .page-actions .coral-artist-action:hover,
[data-theme="midnight-coral"] .page-actions .coral-artist-action:focus-visible {
  border-color: rgba(255, 111, 137, .68);
  background: rgba(255, 79, 112, .2);
  color: #fff;
}

[data-theme="midnight-coral"] .page-actions #deleteArtistBtn.coral-artist-action {
  border-color: rgba(255, 76, 99, .32);
  background: rgba(255, 56, 82, .1);
  color: #ff91a5;
}

[data-theme="midnight-coral"] .page-actions #deleteArtistBtn.coral-artist-action:hover,
[data-theme="midnight-coral"] .page-actions #deleteArtistBtn.coral-artist-action:focus-visible {
  border-color: rgba(255, 76, 99, .78);
  background: rgba(255, 56, 82, .24);
  color: #fff;
}

@media (max-width: 1650px) {
  [data-theme="midnight-coral"][data-view="artist"] .page-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  [data-theme="midnight-coral"][data-view="artist"] .page-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  [data-theme="midnight-coral"][data-view="artist"] .page-actions {
    grid-template-columns: 1fr;
  }
}

[data-theme="midnight-coral"] .delete-artist-confirm-content {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0, rgba(255, 55, 82, .2), transparent 38%),
    linear-gradient(145deg, rgba(28, 27, 67, .98), rgba(10, 10, 34, .99));
}

.delete-artist-warning {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 13px;
  border: 1px solid rgba(255, 76, 99, .22);
  border-radius: 13px;
  background: rgba(255, 56, 82, .075);
}

.delete-artist-warning div {
  display: grid;
  gap: 3px;
}

.delete-artist-warning small {
  color: var(--muted);
}

.delete-artist-lock {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: rgba(255, 56, 82, .14);
  color: #ff718c;
}

.delete-artist-lock svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Midnight Coral cover and discography summary. */
[data-theme="midnight-coral"] .forum-post {
  overflow: visible;
}

[data-theme="midnight-coral"] .forum-post-head .new-label-inline,
[data-theme="midnight-coral"] .home-coverflow-new {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

[data-theme="midnight-coral"] .forum-post-head {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(300px, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 79, 112, .13), transparent 34%),
    linear-gradient(135deg, rgba(25, 24, 64, .38), rgba(10, 10, 34, .2));
}

[data-theme="midnight-coral"] .forum-post-cover {
  position: sticky;
  top: 24px;
  display: grid;
  align-content: center;
  align-self: start;
}

[data-theme="midnight-coral"] .forum-post-cover h3 {
  display: none;
}

[data-theme="midnight-coral"] .forum-post-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 111, 137, .3);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(3, 3, 24, .48), 0 0 0 7px rgba(255, 79, 112, .055);
}

[data-theme="midnight-coral"] .discography-summary {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(195, 193, 255, .13);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(105, 71, 232, .2), transparent 40%),
    linear-gradient(145deg, rgba(28, 27, 67, .62), rgba(12, 12, 39, .48));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 20px 44px rgba(4, 4, 25, .22);
  backdrop-filter: blur(9px);
  text-align: left;
}

[data-theme="midnight-coral"] .discography-summary-kicker {
  margin-bottom: 20px;
  color: #ff718c;
  font-size: clamp(.78rem, 1vw, .95rem);
  font-weight: 950;
  letter-spacing: .22em;
  text-shadow: 0 0 20px rgba(255, 79, 112, .34);
}

[data-theme="midnight-coral"] .discography-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
}

[data-theme="midnight-coral"] .discography-releases {
  width: 100%;
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid rgba(195, 193, 255, .11);
}

[data-theme="midnight-coral"] .discography-releases .album-release-list {
  width: 100%;
}

[data-theme="midnight-coral"] .discography-summary dl > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(195, 193, 255, .095);
}

[data-theme="midnight-coral"] .discography-summary dl > div:last-child {
  border-bottom: 0;
}

[data-theme="midnight-coral"] .discography-summary dt {
  color: #8583a3;
  font-size: .76rem;
  font-weight: 800;
}

[data-theme="midnight-coral"] .discography-summary dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f8f7ff;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  font-weight: 850;
}

@media (max-width: 760px) {
  [data-theme="midnight-coral"] .forum-post-head {
    grid-template-columns: 1fr;
  }

  [data-theme="midnight-coral"] .forum-post-cover img {
    width: min(100%, 330px);
    justify-self: center;
  }

  [data-theme="midnight-coral"] .forum-post-cover {
    position: static;
  }
}

/* Midnight Coral compact post action bar. */
[data-theme="midnight-coral"] .post-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  width: min(920px, 100%);
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(195, 193, 255, .13);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(24, 23, 61, .68), rgba(12, 12, 38, .54));
  box-shadow: 0 14px 30px rgba(4, 4, 25, .18), inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(9px);
}

[data-theme="midnight-coral"] .discography-summary .post-action-bar {
  justify-content: center;
  width: 100%;
  margin: 0 0 24px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(195, 193, 255, .11);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

[data-theme="midnight-coral"] .post-action-bar .card-actions {
  display: contents;
}

[data-theme="midnight-coral"] .post-action-bar .post-updated-at {
  display: none;
}

[data-theme="midnight-coral"] .post-action-bar .post-action-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 6px 10px;
  border-color: rgba(255, 111, 137, .22);
  border-radius: 9px;
  background: rgba(255, 79, 112, .07);
  color: #cbc9dd;
  font-size: .7rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

[data-theme="midnight-coral"] .post-action-bar .post-action-item svg {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .post-action-bar .post-action-label-default {
  display: none;
}

[data-theme="midnight-coral"] .post-action-bar .post-action-label-coral {
  display: inline;
}

[data-theme="midnight-coral"] .post-action-bar .post-action-item:hover,
[data-theme="midnight-coral"] .post-action-bar .post-action-item:focus-visible {
  border-color: rgba(255, 111, 137, .62);
  background: rgba(255, 79, 112, .18);
  color: #fff;
  transform: translateY(-1px);
}

[data-theme="midnight-coral"] .post-action-bar .read-state.post-action-item {
  border-color: rgba(82, 205, 157, .24);
  background: rgba(82, 205, 157, .08);
  color: #79ddb4;
}

[data-theme="midnight-coral"] .post-action-bar .delete-post.post-action-item {
  border-color: rgba(255, 76, 99, .3);
  background: rgba(255, 56, 82, .09);
  color: #ff91a5;
}

@media (max-width: 620px) {
  [data-theme="midnight-coral"] .post-action-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-theme="midnight-coral"] .post-action-bar .post-action-item {
    width: 100%;
  }
}

/* Midnight Coral collapsible chat dock. */
.chat-dock-toggle {
  display: none;
}

[data-theme="midnight-coral"] .chat-dock-toggle {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 60px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(17, 17, 47, .2);
  color: #fff;
  box-shadow: 0 5px 16px rgba(63, 11, 39, .22);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

[data-theme="midnight-coral"] .chat-dock-toggle:hover,
[data-theme="midnight-coral"] .chat-dock-toggle:focus-visible,
[data-theme="midnight-coral"].chat-collapsed .chat-dock-toggle {
  background: rgba(36, 38, 91, .82);
  box-shadow: 0 6px 20px rgba(16, 18, 69, .38);
  outline: none;
}

[data-theme="midnight-coral"] .chat-dock-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="midnight-coral"] .chat-unread-badge {
  position: absolute;
  top: -9px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #26348d;
  color: #fff;
  font-size: .62rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 5px 16px rgba(7, 9, 52, .55);
  animation: chat-balloon-pop .4s cubic-bezier(.2, .85, .25, 1.3);
}

[data-theme="midnight-coral"] .chat-unread-badge::after {
  position: absolute;
  right: 3px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  content: "";
  background: #26348d;
  transform: rotate(45deg);
}

@keyframes chat-balloon-pop {
  from { opacity: 0; transform: translateY(5px) scale(.55); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

[data-theme="midnight-coral"] .app-shell,
[data-theme="midnight-coral"] .chat-sidebar {
  transition: grid-template-columns .32s ease, width .32s ease, padding .32s ease, opacity .22s ease, border-color .22s ease;
}

@media (min-width: 1281px) {
  [data-theme="midnight-coral"].chat-collapsed .app-shell {
    grid-template-columns: 290px minmax(0, 1fr) 0;
  }

  [data-theme="midnight-coral"].chat-collapsed .chat-sidebar {
    width: 0;
    padding-inline: 0;
    border-left-color: transparent;
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 1280px) {
  [data-theme="midnight-coral"].chat-collapsed .chat-sidebar {
    display: none;
  }
}

@media (max-width: 560px) {
  [data-theme="midnight-coral"] .chat-dock-toggle {
    right: 48px;
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="midnight-coral"] .chat-unread-badge {
    animation: none;
  }
}

/* Midnight Coral artist cards open directly from the cover. */
[data-theme="midnight-coral"][data-view="artists"] .artist-card {
  cursor: pointer;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card > .artist-album-count,
[data-theme="midnight-coral"][data-view="artists"] .artist-card > .artist-read-check,
[data-theme="midnight-coral"][data-view="artists"] .artist-card .artist-card-badges {
  display: none;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card-coral-badges {
  position: absolute;
  z-index: 4;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 28px);
}

[data-theme="midnight-coral"] .artist-card-coral-badges > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .25);
}

[data-theme="midnight-coral"] .artist-coral-album-count {
  border-color: rgba(255, 255, 255, .72) !important;
  background: #3447b6;
  color: #fff;
}

[data-theme="midnight-coral"] .artist-coral-read-check {
  border-color: rgba(255, 255, 255, .72) !important;
  background: #ff4f70;
  color: #fff;
}

[data-theme="midnight-coral"] .artist-coral-nassa-label {
  background: rgba(43, 157, 98, .82);
  color: #d9ffe9;
}

[data-theme="midnight-coral"] .artist-coral-covers-label {
  background: rgba(166, 105, 24, .82);
  color: #ffe0a6;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card-actions .open-artist {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-width: 0;
  max-width: none;
  padding: 0;
  border: 0;
  opacity: 0;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card:has(.open-artist:focus-visible) {
  outline: 3px solid rgba(255, 111, 137, .72);
  outline-offset: 3px;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card-body > div:first-child {
  transform: none;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card-body {
  padding-bottom: 52px;
}

[data-theme="midnight-coral"][data-view="artists"] .artist-card h3 {
  text-shadow: 0 3px 14px rgba(0, 0, 0, .72);
}
