:root {
  --bg-0: #050506;
  --bg-1: #0c0d12;
  --bg-2: #1b1a22;
  --panel: rgba(18, 19, 24, 0.74);
  --panel-strong: rgba(14, 15, 20, 0.9);
  --text: #e8e8eb;
  --muted: #b6b6bd;
  --line: rgba(255, 255, 255, 0.08);
  --line-red: rgba(197, 20, 34, 0.35);
  --red: #b31217;
  --red-soft: #6d0e12;
  --red-accent: #ff4e57;
  --green: #1d8b47;
  --radius: 18px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  --glow: 0 0 35px rgba(179, 18, 23, 0.24);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 25% 0%, var(--bg-2), var(--bg-1) 45%, var(--bg-0) 100%);
  font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
  scroll-behavior: auto;
}
body {
  display: flex;
  flex-direction: column;
  position: relative;
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-thumb { background: linear-gradient(var(--red), #33080b); border-radius: 12px; }
body::-webkit-scrollbar-track { background: #090a0c; }
a { color: inherit; text-decoration: none; }

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="2"/></filter><rect width="200" height="200" filter="url(%23n)" opacity="0.36"/></svg>');
}

.site-wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, .56);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
  filter: saturate(.82) contrast(1.08);
}
.site-wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(120, 10, 15, .2), transparent 42%),
    linear-gradient(to bottom, rgba(5, 5, 7, .16), rgba(5, 5, 7, .64));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 14px auto;
  width: min(96%, 1440px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(22, 22, 28, 0.84), rgba(11, 12, 16, 0.84));
  border: 1px solid var(--line);
  border-bottom-color: var(--line-red);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow), inset 0 -1px 0 rgba(197, 20, 34, 0.16);
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.brand-link {
  transition: filter .2s ease, transform .2s ease;
}
.brand-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.18)) drop-shadow(0 0 14px rgba(179,18,23,.18));
}
.topbar-search {
  flex: 1;
  max-width: 460px;
  position: relative;
}
.topbar-search input {
  background: rgba(10, 12, 16, .84);
  border: 1px solid rgba(255,255,255,.14);
  padding-left: 36px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #a9a9b1;
  pointer-events: none;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(140deg, #d61c24, #34090b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--glow);
}
.topbar-right {
  color: var(--muted);
  font-size: 0.94rem;
  text-align: right;
}
.topbar-right-wrap {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 10px;
}
.topbar-right {
  display: flex;
  align-items: center;
}
.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin-top: -13px;
  margin-right: -22px;
  margin-bottom: -13px;
  padding: 0 22px 0 18px;
  border-radius: 0 15px 15px 0;
  color: #e9ebf2;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.08);
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: color .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-admin:hover {
  color: #fff;
  background: linear-gradient(to bottom, rgba(179,18,23,.18), rgba(179,18,23,.06));
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.1), inset 0 -2px 0 rgba(179,18,23,.42);
}

.container {
  width: min(66.66vw, 1320px);
  margin: 20px auto 46px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.content-shell {
  background: linear-gradient(to bottom, rgba(18, 20, 26, .82), rgba(11, 12, 17, .8));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  padding: 14px;
}

.hero {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(0,0,0,.86) 26%, rgba(0,0,0,.35) 75%),
    linear-gradient(to top, rgba(109,14,18,.42), transparent);
}
.hero-overlay {
  position: relative;
  max-width: 64%;
  padding: 34px;
}
.hero-tag {
  margin: 0 0 10px;
  color: #ff6b72;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero h1 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
}
.hero-meta { margin: 0 0 10px; color: #d6d6dc; }
.hero-meta span { color: #7d7d87; margin: 0 6px; }
.hero-description { color: #d0d0d7; max-width: 68ch; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-hero-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-width: 92px;
  padding: 9px 18px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 24px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn-hero-view:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.13);
}
.featured-player {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(620px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.featured-player audio { display: none; }
.featured-player-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(6, 8, 12, .76);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.featured-player-btn:hover { background: rgba(12, 16, 22, .9); }
.featured-player-progress-wrap {
  flex: 1;
  display: grid;
  gap: 4px;
}
.featured-player-text {
  display: grid;
  gap: 1px;
  margin-bottom: 2px;
}
.featured-player-text strong {
  font-size: .86rem;
  line-height: 1.15;
  color: #f1f2f7;
}
.featured-player-text span {
  font-size: .76rem;
  color: #adb2c1;
  line-height: 1.15;
}
.featured-player-progress-wrap input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #c63d46;
}
.featured-player-time {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .7rem;
  color: #b6bac8;
}

.card {
  background: linear-gradient(to bottom, rgba(22, 24, 31, 0.78), rgba(14, 15, 21, 0.75));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.32);
}

.filters { margin: 22px 0; padding: 16px; }
.filters-grid {
  display: grid;
  grid-template-columns: 2fr repeat(6, 1fr) auto;
  gap: 10px;
}
input, select, textarea {
  width: 100%;
  background: #0f1015;
  color: var(--text);
  border: 1px solid #2a2d36;
  border-radius: 12px;
  padding: 11px 12px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,18,23,.2); }
textarea { min-height: 120px; resize: vertical; }

.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.75fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: start;
  margin-top: 14px;
}
.left-col, .right-col {
  padding: 14px;
  min-width: 0;
}
.panel-subtle {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sidebar-comments {
  margin-bottom: 18px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    radial-gradient(circle at 12% 0%, rgba(179,18,23,.14), transparent 48%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 24px rgba(0,0,0,.18);
}
.sidebar-comments h3 {
  margin: 0 0 8px;
}
.sidebar-comments div {
  color: #c5c8d0;
  font-size: .88rem;
  line-height: 1.5;
  word-break: break-word;
}

.archive-group { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed rgba(255,255,255,.08); }
.archive-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.archive-group summary::-webkit-details-marker { display: none; }
.archive-group summary::before {
  content: "▶";
  color: #a6a6ae;
  margin-right: 8px;
  font-size: .75rem;
  transition: transform .2s ease;
}
.archive-group[open] summary::before {
  transform: rotate(90deg);
  color: #ff6c73;
}
.archive-group h4 { margin: .4rem 0; color: #f1f1f4; font-size: .95rem; }
.archive-group h4 span { color: #9e9ea8; font-weight: 400; }
.archive-group a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease, transform .2s ease;
}
.archive-group a:hover { color: #ff6e75; transform: translateX(2px); }

.album-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 14px;
  margin-bottom: 14px;
  border-color: rgba(255,255,255,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.album-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(179,18,23,.15);
}
.cover-wrap { overflow: hidden; border-radius: 12px; }
.album-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .25s ease, filter .25s ease;
}
.album-card:hover img { transform: scale(1.04); filter: saturate(1.08); }
.meta-line { margin-top: 6px; }
.album-content h2 { margin: 0 0 6px; font-size: 1.32rem; }
.album-content p { margin: 5px 0; font-size: .9rem; color: #cbccd3; }
.album-meta-stack {
  display: grid;
  gap: 3px;
  margin: 8px 0 10px;
}
.album-meta-stack p {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  margin: 0;
  color: #d1d3da;
}
.album-meta-stack span {
  color: #858995;
  font-size: .78rem;
  text-transform: uppercase;
}
.album-description {
  display: none;
}
.album-track-mini {
  color: #9ea0ab !important;
  font-size: .84rem !important;
  margin: 10px 0 14px;
  line-height: 1.35;
}
.track-mini-list {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.track-mini-list li {
  font-size: .82rem;
  line-height: 1.3;
  color: #b4b7c2;
  white-space: normal;
  word-break: break-word;
}
.album-hidden { display: none; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-format { background: rgba(179,18,23,.19); color: #ffc1c4; border: 1px solid rgba(179,18,23,.42); }
.badge-country { background: rgba(41,43,54,.7); color: #dddde5; border: 1px solid rgba(255,255,255,.15); }
.empty-state { padding: 16px; color: var(--muted); }

.right-col-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.right-col-head h3 { white-space: nowrap; font-size: 1rem; }
.right-col-head small { color: #9f9fab; }
.latest-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background-color .18s ease, transform .18s ease;
}
.latest-item:hover { background: rgba(179,18,23,.08); transform: translateX(2px); }
.latest-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 0 1px rgba(179,18,23,.22);
}
.latest-item strong { display: block; line-height: 1.1; font-size: .9rem; }
.latest-item p { margin: 2px 0; line-height: 1.15; font-size: .86rem; color: #c4c6cf; }
.latest-item small { font-size: .78rem; color: #8f93a0; }
.latest-item > div {
  min-width: 0;
}

.load-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 18px;
}
.home-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 16px;
}
.btn-page {
  min-width: 132px;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: #ff6b73;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  box-shadow: var(--glow);
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-secondary { background: #1a1d28; border: 1px solid #333749; box-shadow: none; }
.btn-warning { background: linear-gradient(135deg, #bf8b1f, #8a6217); box-shadow: 0 0 16px rgba(191, 139, 31, .28); }
.btn-danger { background: linear-gradient(135deg, #7f1017, #421013); }
.btn-download-glass {
  min-width: 164px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 12px 24px rgba(0,0,0,.2);
  font-weight: 700;
  letter-spacing: 0;
}
.btn-download-glass:hover {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.13);
}
.btn-compact {
  width: fit-content;
  min-width: 160px;
  padding: 9px 14px;
  border-radius: 10px;
}
.btn-small { padding: 6px 10px; font-size: .84rem; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.album-content .actions {
  margin-top: 18px;
  margin-bottom: 8px;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #8f0d14, #31070a);
  box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 24px rgba(179,18,23,.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.detail-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
}
.detail-cover { width: 100%; border-radius: 14px; }
.detail-badges { display: flex; gap: 8px; margin: 8px 0 14px; }
.track-details summary { cursor: pointer; color: #f2f2f5; margin: 10px 0; }
.tracklist {
  white-space: pre-wrap;
  background: #0a0b0f;
  border: 1px solid #2a2d36;
  border-radius: 12px;
  padding: 12px;
}

.footer {
  width: min(96%, 1440px);
  margin: auto auto 0;
  padding: 14px;
  text-align: center;
  font-size: .93rem;
  color: #b8b8bf;
  border-top: 1px solid rgba(179,18,23,.28);
  border-radius: 12px;
  background: rgba(12, 13, 18, .74);
  position: relative;
  z-index: 2;
}

.admin-page .card,
.install-wrap .card,
.maintenance-page .card { padding: 18px; }
.admin-page {
  display: grid;
  gap: 14px;
}
.admin-page:has(.admin-login) {
  min-height: calc(100vh - 170px);
  place-items: center;
}
.admin-main-card,
.admin-panel-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(to bottom, rgba(16, 18, 24, 0.9), rgba(10, 12, 17, 0.86));
  box-shadow: 0 18px 34px rgba(0, 0, 0, .3);
}
.admin-form { display: grid; gap: 10px; max-width: 860px; }
.admin-login {
  width: min(100%, 410px);
}
.login-shell {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px 24px !important;
  border-radius: 18px;
  background: linear-gradient(to bottom, rgba(17, 19, 25, .92), rgba(8, 10, 14, .88));
  box-shadow: 0 22px 48px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
}
.login-shell h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}
.admin-login-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.36)) drop-shadow(0 0 16px rgba(255,255,255,.1));
}
.login-form {
  width: 100%;
  max-width: 330px;
}
.login-form .btn {
  justify-self: center;
}
.wallpaper-settings {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.wallpaper-settings h3,
.wallpaper-settings p,
.sidebar-comments-settings h3,
.sidebar-comments-settings p { margin: 0; }
.wallpaper-preview {
  width: min(100%, 420px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  table-layout: fixed;
  min-width: 980px;
}
.admin-table th, .admin-table td {
  padding: 9px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
}
.admin-table th:nth-child(2),
.admin-table th:nth-child(3),
.admin-table td:nth-child(2),
.admin-table td:nth-child(3) {
  width: 28%;
}
.admin-col-text {
  min-width: 0;
}
.admin-ellipsis {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-actions-cell {
  white-space: nowrap;
}
.admin-actions-cell .inline-form {
  display: inline-block;
  margin-left: 6px;
}
.inline-form { display: inline; }
.preview-cover { max-width: 220px; border-radius: 10px; border: 1px solid var(--line); }
.preview-cover.hidden { display: none; }
.checkbox { display: flex; gap: 10px; align-items: center; }
.checkbox-premium {
  gap: 8px;
  font-size: .95rem;
}
.checkbox-premium input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #b31217;
  cursor: pointer;
}
.alert { padding: 10px; border-radius: 10px; margin: 8px 0; }
.alert.error { background: #4f1317; }
.alert.ok { background: #165e32; }
.admin-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.admin-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.admin-table-search {
  position: relative;
  width: min(100%, 420px);
}
.admin-table-search input {
  background: rgba(10, 12, 16, .84);
  border: 1px solid rgba(255,255,255,.14);
  padding-left: 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.stat-card {
  background: rgba(14,15,21,.8);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.stat-card strong { font-size: 1.3rem; color: #fff; }
.stat-card span { color: var(--muted); font-size: .88rem; }
.stat-card-fire {
  border-color: rgba(255, 85, 54, .28);
  box-shadow: inset 0 0 24px rgba(179,18,23,.08);
}
.admin-kicker {
  margin: 0 0 5px;
  color: #ff737a;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.monitor-head h3 { margin: 0; }
.monitor-fire {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: radial-gradient(circle at 50% 20%, rgba(255,90,54,.22), rgba(179,18,23,.08));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 0 24px rgba(179,18,23,.18);
  font-size: 1.4rem;
}
.download-monitor-list {
  display: grid;
  gap: 10px;
}
.download-monitor-item {
  display: grid;
  grid-template-columns: 62px 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(14,16,22,.76), rgba(8,9,13,.56));
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.download-monitor-item:hover {
  transform: translateY(-1px);
  border-color: rgba(179,18,23,.34);
  box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 0 0 1px rgba(179,18,23,.08);
}
.download-monitor-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.1);
}
.download-rank {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aeb2bf;
  font-weight: 900;
}
.download-rank span {
  min-width: 28px;
  font-size: .96rem;
}
.download-rank em {
  font-style: normal;
  filter: drop-shadow(0 0 10px rgba(255,80,44,.34));
}
.download-rank.is-hot { color: #fff0d9; }
.download-monitor-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.download-monitor-info strong,
.download-monitor-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-monitor-info strong {
  color: #fff;
  font-size: 1rem;
}
.download-monitor-info span {
  color: #b9bcc8;
  font-size: .88rem;
}
.download-count {
  min-width: 105px;
  text-align: right;
  display: grid;
  gap: 1px;
}
.download-count strong {
  color: #fff;
  font-size: 1.18rem;
}
.download-count span {
  color: #9fa3af;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.form-section {
  background: rgba(10,11,16,.65);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px;
}
.form-section h3 { margin-top: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.featured-track-label {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 6px;
}
.featured-track-preview {
  width: min(100%, 420px);
  margin-top: 8px;
}
.dropzone {
  display: block;
  border: 1px dashed rgba(255,255,255,.25);
  padding: 12px;
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}
.dropzone.drag { border-color: rgba(179,18,23,.8); color: #ffd2d4; background: rgba(179,18,23,.14); }
#cover_image { margin-top: 8px; }

.maintenance-page { min-height: 58vh; display: grid; place-items: center; }
.maintenance-card { max-width: 660px; text-align: center; }
.muted { color: var(--muted); }

@media (max-width: 1280px) {
  .container { width: min(92vw, 1320px); }
  .filters-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: 1fr; }
  .right-col { order: 3; }
  .left-col { order: 4; }
}
@media (max-width: 760px) {
  .topbar {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar-search { width: 100%; max-width: none; }
  .site-logo { width: 44px; height: 44px; }
  .topbar-right-wrap { width: 100%; justify-content: space-between; }
  .topbar-right { font-size: .85rem; }
  .hero-overlay { max-width: 100%; padding: 20px; }
  .featured-player {
    position: static;
    width: 100%;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .featured-player-progress-wrap { min-width: 100%; }
  .content-shell { padding: 10px; }
  .album-card { grid-template-columns: 1fr; }
  .album-card img { height: auto; aspect-ratio: 1 / 1; }
  .album-meta-stack p { grid-template-columns: 64px 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .filters-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .admin-list-head { align-items: stretch; flex-direction: column; }
  .admin-table-search { width: 100%; }
  .download-monitor-item {
    grid-template-columns: 42px 62px minmax(0, 1fr);
    align-items: start;
  }
  .download-monitor-item img {
    width: 62px;
    height: 62px;
  }
  .download-count {
    grid-column: 2 / -1;
    min-width: 0;
    text-align: left;
  }
}
