:root {
  color-scheme: dark;
  --bg: #08131d;
  --bg-soft: rgba(11, 25, 38, 0.82);
  --panel: rgba(10, 23, 35, 0.78);
  --panel-strong: rgba(14, 32, 47, 0.96);
  --border: rgba(123, 220, 255, 0.16);
  --text: #eef8ff;
  --muted: #9eb8c9;
  --accent: #7bdcff;
  --accent-strong: #1cb7f6;
  --warm: #ff9460;
  --warm-deep: #ff6d4d;
  --good: #6cffcf;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --transition: 180ms ease;
  font-family: "Segoe UI Variable Text", "Aptos", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(28, 183, 246, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 148, 96, 0.18), transparent 24%),
    linear-gradient(180deg, #050d14, #08131d 30%, #091824 100%);
  color: var(--text);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.background-orb {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.background-orb-left {
  left: -12rem;
  top: -10rem;
  background: linear-gradient(135deg, var(--accent), transparent);
}

.background-orb-right {
  right: -10rem;
  bottom: -12rem;
  background: linear-gradient(135deg, var(--warm), transparent);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) minmax(320px, 360px);
  gap: 18px;
  min-height: 100vh;
  padding: 18px;
}

.panel {
  background: linear-gradient(180deg, rgba(15, 29, 42, 0.94), rgba(8, 19, 29, 0.88));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.sidebar,
.detail-column,
.main-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar {
  padding: 24px;
}

.music-upload-zone,
.player-cover-zone {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.32);
  border-radius: 24px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.music-upload-zone.drag-active,
.player-cover-zone.drag-active {
  border-color: rgba(123, 220, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.28);
}

.music-upload-kicker,
.player-cover-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.music-upload-zone strong,
.player-cover-zone strong {
  font-size: 1rem;
}

.music-upload-status,
.player-cover-status {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.brand-block h1,
.hero-copy h2,
.drop-card h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  letter-spacing: -0.04em;
}

.brand-block h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0;
}

.brand-logo {
  border-radius: 20px;
  display: block;
  margin: 0 0 18px;
  width: min(100%, 220px);
}

.brand-copy {
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.primary-action,
.secondary-action,
.danger-action,
.control-button,
.play-button,
.album-pill,
.queue-button {
  border: 0;
  border-radius: 999px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.primary-action,
.play-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #03202d;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(28, 183, 246, 0.28);
}

.primary-action:hover,
.secondary-action:hover,
.danger-action:hover,
.control-button:hover,
.play-button:hover,
.album-pill:hover,
.queue-button:hover,
.track-row:hover {
  transform: translateY(-1px);
}

.primary-action,
.secondary-action,
.danger-action {
  min-height: 50px;
  padding: 0 18px;
}

.secondary-action,
.control-button,
.album-pill,
.queue-button {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.danger-action {
  background: rgba(255, 109, 77, 0.12);
  color: #ffd6c8;
  border: 1px solid rgba(255, 109, 77, 0.24);
}

.ghost-link {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-weight: 700;
  padding: 0;
}

.sidebar-section,
.player-card,
.editor-card,
.queue-card,
.toolbar,
.albums-rail,
.track-panel {
  padding: 22px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.stat-label {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-value {
  font-size: 1.2rem;
}

.album-filter-list,
.queue-list,
.track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.album-pill {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  text-align: left;
}

.album-pill.active,
.album-card.active,
.track-row.selected {
  border-color: rgba(123, 220, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.24);
}

.album-pill-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.album-pill strong,
.queue-item strong,
.track-primary strong {
  font-size: 0.96rem;
}

.album-pill span,
.queue-item span,
.track-primary span,
.track-meta,
.toolbar-tips span {
  color: var(--muted);
  font-size: 0.85rem;
}

.main-column {
  min-width: 0;
}

.welcome-brand {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.welcome-brand::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 220, 255, 0.2), transparent 62%);
  pointer-events: none;
}

.welcome-brand-copy {
  position: relative;
  z-index: 1;
}

.welcome-brand-copy h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  margin: 0;
}

.welcome-brand-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  margin: 16px 0 0;
  max-width: 52ch;
}

.welcome-logo {
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(123, 220, 255, 0.24),
    0 30px 60px rgba(28, 183, 246, 0.18);
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  min-height: 320px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -16% -22% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 220, 255, 0.2), transparent 62%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h2 {
  font-size: clamp(2.1rem, 5vw, 3.65rem);
  line-height: 0.96;
  margin: 0;
  max-width: 10ch;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 18px 0 0;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-art-card {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 22px;
  position: relative;
  z-index: 1;
}

.glow-ring {
  box-shadow:
    0 0 0 10px rgba(123, 220, 255, 0.04),
    0 28px 50px rgba(28, 183, 246, 0.22);
}

.hero-art,
.now-playing-art,
.cover-art {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 24px;
  color: var(--text);
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-transform: uppercase;
}

.hero-art,
.now-playing-art {
  aspect-ratio: 1;
  width: 100%;
  max-width: 220px;
}

.cover-art img,
.hero-art img,
.now-playing-art img,
.album-card-art img,
.queue-art img,
.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-art::before,
.hero-art::before,
.now-playing-art::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta {
  text-align: center;
}

.hero-meta-label {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.toolbar {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}

.search-field,
.volume-field,
.editor-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field span,
.volume-field span,
.editor-form label span {
  color: var(--muted);
  font-size: 0.85rem;
}

.search-field input,
.editor-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  min-height: 50px;
  outline: none;
  padding: 0 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-field input:focus,
.editor-form input:focus {
  border-color: rgba(123, 220, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.08);
}

.toolbar-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.album-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.album-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  overflow: hidden;
  padding: 14px;
  text-align: left;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.album-card-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.18), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, rgba(11, 28, 40, 1), rgba(9, 20, 30, 1));
  border-radius: 18px;
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.album-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.album-card-copy strong {
  font-size: 1rem;
}

.album-card-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.track-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-table-header,
.track-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr) 84px 84px;
}

.track-table-header {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  padding: 0 12px 6px;
  text-transform: uppercase;
}

.track-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  min-height: 76px;
  padding: 10px 12px;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.track-song {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.track-thumb {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 16px;
  display: flex;
  flex: 0 0 54px;
  font-size: 0.96rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.track-primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-primary strong,
.track-primary span,
.track-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-file-name {
  color: var(--muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.track-play-button,
.queue-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  padding: 0 12px;
}

.player-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.player-media {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.now-playing-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.now-playing-copy strong {
  font-size: 1.24rem;
}

.now-playing-copy span {
  color: var(--muted);
}

.player-file-name,
#editor-file-name {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-word;
}

.player-cover-zone {
  justify-content: center;
  min-height: 220px;
}

.transport-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr minmax(110px, 1.2fr) 1fr;
}

.control-button,
.play-button {
  min-height: 48px;
  width: 100%;
}

.progress-block,
.editor-form,
.queue-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cover-workbench {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cover-upload-zone {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.32);
  border-radius: 24px;
  color: inherit;
  display: grid;
  gap: 16px;
  grid-template-columns: 108px minmax(0, 1fr);
  padding: 16px;
  text-align: left;
}

.cover-upload-zone.drag-active {
  border-color: rgba(123, 220, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.3);
}

.cover-upload-zone .cover-art {
  aspect-ratio: 1;
  font-size: 1.2rem;
  width: 100%;
}

.cover-upload-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cover-upload-copy strong {
  font-size: 1rem;
}

.cover-upload-copy span {
  color: var(--muted);
  line-height: 1.5;
}

.cover-upload-tip {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

input[type="range"] {
  accent-color: var(--accent);
  width: 100%;
}

.progress-times {
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

.editor-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.queue-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  flex-direction: row;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 12px;
}

.queue-item-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.queue-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.18), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 14px;
  display: flex;
  flex: 0 0 44px;
  justify-content: center;
  overflow: hidden;
}

.drop-overlay {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(4, 10, 16, 0.72);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 20;
}

.drop-overlay.visible {
  display: flex;
}

.upload-studio {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(4, 10, 16, 0.8);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 28;
}

.upload-studio[hidden] {
  display: none;
}

.upload-studio-panel {
  background: linear-gradient(180deg, rgba(15, 29, 42, 0.98), rgba(8, 19, 29, 0.96));
  border: 1px solid rgba(123, 220, 255, 0.18);
  border-radius: 32px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 48px);
  max-width: 920px;
  overflow: auto;
  padding: 28px;
  width: min(920px, 100%);
}

.upload-studio-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.upload-studio-header h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Bahnschrift SemiBold", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
}

.upload-studio-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 1.6rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.upload-studio-copy {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 58ch;
}

.upload-studio-copy p {
  margin: 0;
}

.upload-studio-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.upload-studio-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upload-asset-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.32);
  border-radius: 24px;
  color: inherit;
  display: grid;
  gap: 16px;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 160px;
  padding: 18px;
  text-align: left;
}

.upload-asset-card.drag-active {
  border-color: rgba(123, 220, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(123, 220, 255, 0.28);
}

.upload-preview-art {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(123, 220, 255, 0.2), rgba(255, 148, 96, 0.18)),
    linear-gradient(180deg, #143246, #0a1721);
  border-radius: 22px;
  color: var(--text);
  display: flex;
  font-family: "Bahnschrift SemiBold", "Segoe UI Variable Display", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  text-transform: uppercase;
  width: 100%;
}

.upload-preview-art img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.upload-asset-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.upload-asset-copy strong {
  font-size: 1rem;
}

.upload-asset-copy span {
  color: var(--muted);
  line-height: 1.55;
}

.upload-file-hint {
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-studio-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upload-studio-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload-studio-fields span {
  color: var(--muted);
  font-size: 0.85rem;
}

.upload-studio-fields input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text);
  min-height: 52px;
  outline: none;
  padding: 0 16px;
}

.upload-studio-fields input:focus {
  border-color: rgba(123, 220, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(123, 220, 255, 0.08);
}

.upload-studio-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.upload-studio-feedback {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(123, 220, 255, 0.22);
  border-radius: 18px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 14px 16px;
}

.upload-studio-feedback[data-tone="success"] {
  border-color: rgba(108, 255, 207, 0.28);
  color: #dffff4;
}

.upload-studio-feedback[data-tone="error"] {
  border-color: rgba(255, 109, 77, 0.32);
  color: #ffd7cc;
}

.drop-card {
  background: linear-gradient(180deg, rgba(16, 34, 49, 0.96), rgba(8, 20, 29, 0.94));
  border: 1px solid rgba(123, 220, 255, 0.26);
  border-radius: 32px;
  max-width: 34rem;
  padding: 34px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.drop-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.toast {
  background: rgba(8, 21, 31, 0.94);
  border: 1px solid rgba(123, 220, 255, 0.2);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  padding: 12px 18px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 25;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(123, 220, 255, 0.26);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 34rem;
}

.floating {
  animation: float-card 5.5s ease-in-out infinite;
}

.fade-up {
  animation: fade-up 420ms ease;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1320px) {
  .app-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .detail-column {
    grid-column: 1 / -1;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .hero {
    grid-template-columns: 1fr;
  }

  .welcome-brand {
    grid-template-columns: 1fr;
  }

  .welcome-logo {
    max-width: 340px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar-tips {
    justify-content: flex-start;
  }

  .detail-column {
    grid-template-columns: 1fr;
  }

  .player-media {
    grid-template-columns: 1fr;
  }

  .upload-studio-grid,
  .upload-studio-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 12px;
  }

  .sidebar,
  .player-card,
  .editor-card,
  .queue-card,
  .toolbar,
  .albums-rail,
  .track-panel,
  .hero,
  .welcome-brand {
    padding: 18px;
  }

  .brand-logo {
    max-width: 160px;
  }

  .track-table-header {
    display: none;
  }

  .track-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .track-song {
    align-items: flex-start;
  }

  .track-meta {
    white-space: normal;
  }

  .editor-actions {
    grid-template-columns: 1fr;
  }

  .transport-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-upload-zone {
    grid-template-columns: 1fr;
  }

  .upload-studio {
    padding: 12px;
  }

  .upload-studio-panel {
    padding: 20px;
  }

  .upload-asset-card {
    grid-template-columns: 1fr;
  }

  .upload-studio-actions {
    flex-direction: column;
  }
}
