:root {
  --bg: #05020a;
  --bg-soft: #0b0612;
  --panel: rgba(22, 13, 34, 0.72);
  --panel-strong: rgba(26, 15, 42, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f7fb;
  --muted: #a9abba;
  --dim: #6f7282;
  --green: #7c3aed;
  --green-2: #d8b4fe;
  --purple: #7c3aed;
  --purple-2: #d8b4fe;
  --amber: #c084fc;
  --red: #ff6678;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --font: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 58, 237, 0.28), transparent 34rem),
    radial-gradient(circle at 82% 12%, rgba(216, 180, 254, 0.14), transparent 28rem),
    linear-gradient(135deg, #030108 0%, #09030f 46%, #05020a 100%);
  color: var(--text);
  font-family: var(--font);
  letter-spacing: -0.015em;
}

body:not(.admin-body),
body:not(.admin-body) * {
  user-select: none;
  -webkit-user-select: none;
}

body:not(.admin-body) input,
body:not(.admin-body) textarea,
body:not(.admin-body) select {
  user-select: text;
  -webkit-user-select: text;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

select,
select option {
  color-scheme: dark;
}

select option {
  color: #f8f5ff;
  background: #12091d;
}

select.form-control,
.sort-form select {
  background-color: rgba(18, 9, 29, 0.98);
  color: #f8f5ff;
}

.aurora {
  position: fixed;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(124, 58, 237, 0.12), transparent, rgba(216, 180, 254, 0.08), transparent),
    radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 60%);
  filter: blur(42px);
  animation: slow-spin 28s linear infinite;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.66);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #16051f;
  font-size: 0.82rem;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.42);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid rgba(216, 180, 254, 0.2);
  background: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.nav-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  transition: 180ms ease;
}

.site-nav a:hover,
.nav-toggle:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
}

.site-header.is-nav-open .nav-toggle {
  color: var(--text);
  border-color: rgba(216, 180, 254, 0.36);
  background: rgba(216, 180, 254, 0.1);
}

main {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
}

.flash-stack {
  position: fixed;
  right: 22px;
  top: 92px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.flash {
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 16px;
  background: rgba(18, 22, 31, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.flash-success {
  border-color: rgba(168, 85, 247, 0.5);
}

.flash-danger,
.field-error {
  color: #ffd5da;
  border-color: rgba(255, 102, 120, 0.45);
}

.hero {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 80px 0 40px;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(3rem, 10vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.hero-copy p,
.page-hero p,
.detail-copy p,
.glass-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-search,
.stack-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.live-search-panel {
  position: relative;
  z-index: 12;
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-top: 12px;
  border: 1px solid rgba(216, 180, 254, 0.24);
  border-radius: 24px;
  padding: 14px;
  background: rgba(9, 4, 16, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.live-search-panel[hidden] {
  display: none;
}

.live-search-panel section {
  display: grid;
  gap: 8px;
}

.live-search-panel strong {
  color: var(--green-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
}

.live-search-panel a {
  display: grid;
  gap: 2px;
  border-radius: 14px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.045);
}

.live-search-panel a:hover {
  background: rgba(216, 180, 254, 0.12);
}

.live-search-panel small {
  color: var(--muted);
}

.hero-search input,
.stack-form input,
.stack-form textarea,
.sort-form select,
.form-control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: 180ms ease;
}

.stack-form textarea,
textarea.form-control {
  min-height: 170px;
  border-radius: 22px;
  resize: vertical;
}

.hero-search input:focus,
.stack-form input:focus,
.stack-form textarea:focus,
.sort-form select:focus,
.form-control:focus {
  border-color: rgba(216, 180, 254, 0.78);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}

.hero-search button,
.stack-form button,
.primary-cta,
.admin-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  color: #16051f;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.hero-search button:hover,
.stack-form button:hover,
.primary-cta:hover,
.admin-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.38);
}

.hero-panel,
.glass-panel,
.admin-panel,
.auth-panel,
.confirm-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.hero-visual-stack {
  display: grid;
  gap: 18px;
}

.hero-artist-card {
  position: relative;
  display: block;
  width: min(100%, clamp(170px, 20vw, 280px));
  margin: 16px 0 18px;
  border-radius: 50%;
  filter: drop-shadow(0 28px 70px rgba(124, 58, 237, 0.28));
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.hero-artist-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.hero-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.hero-visual-stack .hero-panel {
  min-height: 320px;
}

.audio-player-card {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.audio-player-card > span,
.audio-player-card > strong,
.equalizer {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(124, 58, 237, 0.28), transparent 45%),
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.26), transparent 10rem),
    var(--player-cover, linear-gradient(135deg, rgba(124, 58, 237, .4), rgba(8, 7, 14, .7))),
    url("../img/noise.svg");
  background-size: cover, cover, contain, 240px 240px;
  background-position: center;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  opacity: 0.78;
}

.hero-panel span,
.hero-panel strong,
.equalizer {
  position: relative;
}

.hero-panel strong {
  font-size: 2.1rem;
  line-height: 1;
}

.equalizer {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  height: 70px;
  margin-top: 22px;
}

.equalizer i {
  width: 10px;
  border-radius: 999px;
  background: var(--green-2);
  animation: bars 1.2s ease-in-out infinite;
}

.equalizer i:nth-child(1) { height: 34%; animation-delay: 0s; }
.equalizer i:nth-child(2) { height: 74%; animation-delay: 0.12s; }
.equalizer i:nth-child(3) { height: 48%; animation-delay: 0.24s; }
.equalizer i:nth-child(4) { height: 88%; animation-delay: 0.36s; }
.equalizer i:nth-child(5) { height: 42%; animation-delay: 0.48s; }

.audio-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.audio-controls button,
.cookie-actions button,
.cookie-preferences button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.audio-controls label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.audio-controls input {
  accent-color: var(--green-2);
}

.youtube-audio-host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.rail-section,
.track-list-section,
.split-section,
.social-strip,
.grid-section,
.page-hero {
  margin: 54px 0;
}

.section-heading,
.admin-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2,
.admin-page-head h1 {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.055em;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.section-heading a,
.admin-secondary {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: 180ms ease;
}

.section-heading a:hover,
.admin-secondary:hover {
  color: var(--text);
  border-color: rgba(216, 180, 254, 0.48);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 230px);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x proximity;
}

.compact-rail {
  grid-auto-columns: minmax(170px, 200px);
}

.release-card {
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 26px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.release-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(216, 180, 254, 0.34);
  background: rgba(255, 255, 255, 0.085);
}

.cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 22px;
  background: #121722;
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.release-card:hover img {
  transform: scale(1.06);
}

.cover-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, 0.18), transparent 58%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.release-card:hover .cover-shine {
  transform: translateX(120%);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-hot {
  color: #16051f;
  border-color: transparent;
  background: var(--green-2);
}

.release-card strong {
  font-size: 1.05rem;
}

.release-card small,
.date-line {
  color: var(--muted);
}

.play-orb {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 900;
}

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

.glass-panel {
  padding: 30px;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.social-strip div,
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-strip a,
.social-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transition: 180ms ease;
}

.social-strip a:hover,
.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 180, 254, 0.48);
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin: clamp(42px, 7vw, 82px) auto 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 70px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 10%, rgba(168, 85, 247, 0.3), transparent 34rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
}

.page-hero.slim {
  min-height: auto;
}

.page-hero.readable {
  max-width: 900px;
}

.page-hero h1 {
  max-width: 100%;
  font-size: clamp(3rem, 8vw, 6.4rem);
  overflow-wrap: anywhere;
}

.sort-form {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 10px;
}

.catalog-filter-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-top: 18px;
}

.sort-form label {
  color: var(--muted);
}

.singer-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.singer-filter legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--muted);
  font-weight: 800;
}

.singer-filter label,
.catalog-filter-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.singer-filter input {
  accent-color: var(--purple-2);
}

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

.catalog-filter-actions button {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: #16051f;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-weight: 900;
  cursor: pointer;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 240px));
  gap: 22px;
  align-items: start;
  justify-content: start;
}

.inline-grid {
  margin: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  min-height: 70vh;
  padding: 64px 0 24px;
}

.detail-cover {
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
}

.detail-copy h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.detail-meta {
  font-size: 1.06rem;
}

.rich-text {
  max-width: 72ch;
  color: #dcdde7;
  line-height: 1.78;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin: 28px 0 10px;
  color: var(--text);
  line-height: 1.15;
}

.rich-text p {
  margin: 0 0 18px;
}

.rich-text a {
  color: var(--green-2);
  text-decoration: underline;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.07);
  transition: 180ms ease;
}

.platform-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(216, 180, 254, 0.28));
}

.platform-icon img,
.inline-social-icon,
.social-mini-icon img,
.singer-social img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.social-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.platform-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 180, 254, 0.5);
}

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

.track-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.sortable-row {
  cursor: grab;
}

.sortable-row:active {
  cursor: grabbing;
}

.sortable-row.is-dragging {
  opacity: 0.55;
  border-color: rgba(216, 180, 254, 0.62);
  transform: scale(0.99);
}

.drag-handle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--purple-2);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 900;
  letter-spacing: -0.12em;
}

.track-row.sortable-row {
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
}

.track-number {
  color: var(--dim);
  font-weight: 900;
}

.track-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.track-links .platform-grid {
  margin: 0;
}

.track-links .platform-pill {
  padding: 8px;
}

.track-links .platform-pill span {
  width: 24px;
  height: 24px;
}

.video-section {
  margin: 28px 0 70px;
}

.preview-audio-section {
  margin: 28px 0 70px;
}

.preview-audio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.preview-audio-card h2 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.empty-state {
  color: var(--muted);
}

.site-footer {
  width: min(1200px, calc(100% - 28px));
  margin: 80px auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.footer-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-button:hover {
  color: var(--green-2);
}

.site-footer small {
  grid-column: 1 / -1;
  color: var(--dim);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  width: min(720px, calc(100% - 36px));
  display: grid;
  gap: 18px;
  border: 1px solid rgba(216, 180, 254, 0.26);
  border-radius: 30px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(14, 7, 24, 0.96), rgba(4, 2, 8, 0.94));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(28px);
}

.cookie-floating-button {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216, 180, 254, 0.35);
  border-radius: 18px;
  padding: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 30% 24%, rgba(216, 180, 254, 0.95), transparent 33%),
    linear-gradient(145deg, rgba(124, 58, 237, 0.92), rgba(9, 4, 16, 0.94));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 0 32px rgba(124, 58, 237, 0.22);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.cookie-floating-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cookie-floating-button span {
  position: absolute;
  left: calc(100% + 10px);
  bottom: 50%;
  width: max-content;
  max-width: 190px;
  padding: 9px 12px;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 5, 18, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50%) translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-floating-button:hover {
  border-color: rgba(216, 180, 254, 0.7);
  transform: translateY(-2px);
}

.cookie-floating-button:hover span,
.cookie-floating-button:focus-visible span {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

.cookie-banner[hidden],
.cookie-banner.is-hidden,
.cookie-preferences[hidden] {
  display: none;
}

.cookie-copy h2 {
  margin: 6px 0 8px;
}

.cookie-copy p,
.cookie-preferences small,
.form-help {
  color: var(--muted);
  line-height: 1.6;
}

.cookie-copy a {
  color: var(--purple-2);
  text-decoration: underline;
}

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

.cookie-actions .primary,
.cookie-preferences .primary {
  color: #16051f;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.cookie-preferences {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cookie-preferences label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.cookie-preferences small {
  grid-column: 2;
}

.cookie-media-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--purple-2);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-media-note[hidden] {
  display: none;
}

.is-cookie-blocked .youtube-audio-host {
  display: none;
}

.cookie-embed {
  position: relative;
}

.cookie-embed iframe:not([src]) {
  display: none;
}

.cookie-embed-placeholder {
  display: grid;
  gap: 10px;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.22), transparent 34%),
    rgba(5, 2, 10, 0.9);
}

.cookie-embed-placeholder strong {
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.cookie-embed-placeholder p {
  max-width: 420px;
  margin: 0;
}

.cookie-embed-placeholder button {
  border: 1px solid rgba(216, 180, 254, 0.38);
  border-radius: 999px;
  padding: 12px 18px;
  color: #16051f;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  cursor: pointer;
  font-weight: 900;
}

.cookie-embed.is-cookie-allowed .cookie-embed-placeholder {
  display: none;
}

.newsletter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  width: 100%;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.newsletter-consent input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--purple-2);
}

.newsletter-consent a {
  color: var(--purple-2);
  text-decoration: underline;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.newsletter-form .newsletter-consent {
  grid-column: 1 / -1;
  order: 2;
}

.newsletter-form button {
  order: 1;
}

.admin-body {
  background: #07080d;
}

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

.admin-shell.auth-shell {
  grid-template-columns: 1fr;
  place-items: center;
  padding: 24px;
}

.admin-shell.auth-shell .admin-main {
  width: min(1080px, 100%);
  padding: 0;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding: 22px;
  background: rgba(12, 15, 21, 0.88);
  backdrop-filter: blur(24px);
}

.admin-brand {
  margin-bottom: 10px;
}

.admin-nav-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 18px;
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.admin-sidebar nav a,
.admin-sidebar-footer a,
.admin-sidebar-footer button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 11px 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar nav a:hover,
.admin-sidebar-footer a:hover,
.admin-sidebar-footer button:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.admin-sidebar-footer {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

.admin-sidebar-footer form {
  margin: 0;
}

.admin-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.admin-actions,
.row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-grid,
.admin-grid-two,
.form-grid,
.check-grid,
.admin-card-grid {
  display: grid;
  gap: 16px;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 24px;
}

.stat-card,
.admin-content-card,
.admin-table-row {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.stat-card {
  padding: 20px;
}

.stat-card span {
  color: var(--muted);
  text-transform: capitalize;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2.5rem;
}

.admin-grid-two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.admin-panel,
.auth-panel,
.confirm-box {
  padding: 24px;
}

.admin-list-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 10px;
  transition: 180ms ease;
}

.admin-list-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.admin-list-row img,
.admin-table-row img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}

.person-thumb,
.admin-table-row img.person-thumb {
  border-radius: 50%;
  object-fit: contain;
  background: rgba(124, 58, 237, 0.08);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.admin-list-row small,
.admin-table-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.setting-key {
  color: var(--dim) !important;
  font-size: 0.78rem;
}

.setting-value {
  margin-top: 8px !important;
  color: #d9d2e8 !important;
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-form.narrow {
  max-width: 640px;
}

.admin-form-wide {
  max-width: none;
}

.form-block {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.032);
}

.form-block h2 {
  margin: 0;
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.media-preview-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.media-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.media-preview-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.check-field {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-field small {
  color: var(--dim);
}

.form-field .field-error {
  color: #ffd5da;
}

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.form-section-title {
  margin: 20px 0 0;
}

.form-preview-img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.form-preview-img.person-preview-img {
  object-fit: contain;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.admin-table,
.admin-card-grid {
  display: grid;
  gap: 12px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.admin-table-row.sortable-row {
  grid-template-columns: 34px auto minmax(0, 1fr) auto;
}

.admin-table-row:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-table-row.sortable-row:not(:has(img)) {
  grid-template-columns: 34px auto minmax(0, 1fr) auto;
}

.file-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 18px;
}

.file-breadcrumbs a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.file-breadcrumbs a:hover {
  color: var(--text);
  border-color: rgba(216, 180, 254, 0.34);
}

.file-manager-grid {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.file-manager-tools,
.file-manager-list {
  border-radius: 30px;
}

.file-manager-tools {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.file-manager-tools form {
  margin: 0;
}

.file-manager-list {
  display: grid;
  gap: 12px;
}

.file-drop-zone {
  border: 1px dashed rgba(216, 180, 254, 0.38);
  border-radius: 22px;
  padding: 18px;
  color: var(--muted);
  background: rgba(124, 58, 237, 0.08);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(8, 6, 14, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.file-row:hover,
.file-row.is-drop-target,
.file-drop-zone.is-drop-target {
  border-color: rgba(216, 180, 254, 0.46);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(8, 6, 14, 0.82);
}

.file-row.is-dragging {
  opacity: 0.55;
  transform: scale(0.99);
}

.file-row-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.file-row-main strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: #f8f5ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(216, 180, 254, 0.52));
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.25);
}

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

.inline-edit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.inline-edit-form .form-control {
  width: min(220px, 36vw);
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 14px;
}

.code-editor-form {
  max-width: none;
}

.CodeMirror {
  min-height: 68vh;
  border: 1px solid rgba(216, 180, 254, 0.18);
  border-radius: 24px;
  overflow: hidden;
  font-size: 0.95rem;
}

.file-manager-head {
  align-items: end;
}

.file-head-actions,
.file-head-actions form {
  margin: 0;
}

.file-manager-grid {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 22px;
}

.file-manager-tools {
  display: grid;
  gap: 14px;
  background: transparent;
}

.file-manager-tools .file-tool-card {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.2), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.file-manager-tools .file-tool-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.file-manager-tools .file-tool-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.file-tool-help {
  padding-top: 2px;
}

.file-manager-tools .file-tool-card .form-control,
.file-upload-control {
  min-height: 48px;
  border-radius: 18px;
  padding: 12px 14px;
}

.file-manager-tools .file-tool-card .admin-primary,
.file-manager-tools .file-tool-card .admin-secondary {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
}

.file-manager-list {
  padding: 24px;
  border-radius: 34px;
}

.file-list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.file-list-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  letter-spacing: -0.06em;
}

.file-list-head small {
  color: var(--muted);
}

.file-list-stack {
  display: grid;
  gap: 14px;
}

.file-drop-zone {
  margin-bottom: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  color: #d8b4fe;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(216, 180, 254, 0.035)),
    rgba(12, 7, 20, 0.58);
}

.file-row {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.16), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.file-row-parent {
  display: flex;
  align-items: center;
}

.file-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.file-row-main {
  color: var(--text);
}

.file-row-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.file-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}

.file-icon-folder {
  background: linear-gradient(135deg, #7c3aed, #c084fc);
}

.file-icon-file {
  background: linear-gradient(135deg, #2d1b69, #8b5cf6);
}

.file-icon-config {
  background: linear-gradient(135deg, #4c1d95, #d8b4fe);
}

.file-icon-back {
  background: rgba(255, 255, 255, 0.08);
}

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

.compact-action {
  min-height: 42px;
  padding: 10px 16px;
}

.file-row-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.inline-edit-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
}

.inline-edit-form .form-control {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: 16px;
}

.file-row-actions .inline-form {
  margin: 0;
}

.file-row-actions .danger-link {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.06);
}

.code-editor-form {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.code-editor-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(216, 180, 254, 0.16);
  background:
    linear-gradient(135deg, rgba(20, 10, 35, 0.96), rgba(7, 4, 12, 0.92)),
    rgba(8, 6, 14, 0.94);
  backdrop-filter: blur(18px);
}

.code-editor-toolbar strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.code-editor-toolbar small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.code-editor-field {
  margin: 0;
}

.code-editor-textarea {
  min-height: 540px;
}

.cm-s-anime-neurali.CodeMirror {
  height: min(72vh, 760px);
  min-height: 540px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.16), transparent 22rem),
    #08060d;
  color: #f8f5ff;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  font-size: 0.98rem;
  line-height: 1.65;
}

.cm-s-anime-neurali .CodeMirror-gutters {
  border-right: 1px solid rgba(216, 180, 254, 0.14);
  background: rgba(5, 2, 10, 0.9);
}

.cm-s-anime-neurali .CodeMirror-linenumber {
  color: rgba(215, 205, 238, 0.42);
}

.cm-s-anime-neurali .CodeMirror-cursor {
  border-left: 2px solid #d8b4fe;
}

.cm-s-anime-neurali .CodeMirror-selected {
  background: rgba(168, 85, 247, 0.28);
}

.cm-s-anime-neurali .CodeMirror-activeline-background {
  background: rgba(255, 255, 255, 0.045);
}

.cm-s-anime-neurali .cm-tag,
.cm-s-anime-neurali .cm-bracket {
  color: #ff7ab6;
}

.cm-s-anime-neurali .cm-attribute {
  color: #7dd3fc;
}

.cm-s-anime-neurali .cm-string {
  color: #facc15;
}

.cm-s-anime-neurali .cm-keyword {
  color: #c084fc;
}

.cm-s-anime-neurali .cm-property,
.cm-s-anime-neurali .cm-def {
  color: #a7f3d0;
}

.cm-s-anime-neurali .cm-variable,
.cm-s-anime-neurali .cm-variable-2 {
  color: #f8f5ff;
}

.cm-s-anime-neurali .cm-number,
.cm-s-anime-neurali .cm-atom {
  color: #fb923c;
}

.cm-s-anime-neurali .cm-comment {
  color: #8f90a0;
  font-style: italic;
}

.cm-s-anime-neurali .cm-operator {
  color: #f0abfc;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.responsive-table table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.responsive-table th {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-content-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.admin-content-card img {
  width: 110px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.admin-content-card h2 {
  margin: 8px 0 4px;
}

.admin-content-card p {
  margin: 0;
  color: var(--muted);
}

.row-actions a,
.danger-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.danger-link {
  color: #ffd5da;
  border-color: rgba(255, 102, 120, 0.25);
}

.inline-form {
  display: inline;
}

.delete-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.32), transparent 28rem),
    rgba(3, 2, 8, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.delete-confirm-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.delete-confirm-overlay[hidden] {
  display: none;
}

.delete-confirm-card {
  width: min(520px, 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.26);
  border-radius: 34px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(31, 15, 55, 0.94), rgba(8, 5, 15, 0.94)),
    radial-gradient(circle at 12% 0%, rgba(168, 85, 247, 0.36), transparent 16rem);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s ease;
}

.delete-confirm-overlay.is-open .delete-confirm-card {
  transform: translateY(0) scale(1);
}

.delete-confirm-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 16px;
  color: #16051f;
  font-weight: 900;
  background: linear-gradient(135deg, #f0abfc, #a855f7);
  box-shadow: 0 18px 44px rgba(168, 85, 247, 0.34);
}

.delete-confirm-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.055em;
}

.delete-confirm-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

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

.delete-confirm-actions button {
  flex: 1 1 180px;
}

.danger-confirm {
  background: linear-gradient(135deg, #ff7a9a, #c026d3);
  box-shadow: 0 20px 58px rgba(192, 38, 211, 0.3);
}

.has-admin-modal {
  overflow: hidden;
}

.auth-panel {
  width: min(980px, 100%);
  margin: 8vh auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.auth-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.auth-link {
  justify-self: start;
  color: var(--green-2);
  text-decoration: underline;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.singer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin: 40px 0 90px;
}

.singer-card {
  position: relative;
  display: grid;
  gap: 16px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 24px;
  min-height: 310px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 6%, rgba(216, 180, 254, 0.18), transparent 16rem),
    rgba(255, 255, 255, 0.055);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.singer-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.7), transparent);
  opacity: 0.55;
}

.singer-card:hover {
  transform: translateY(-7px);
  border-color: rgba(216, 180, 254, 0.44);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 80px rgba(124, 58, 237, 0.22);
}

.singer-avatar,
.singer-profile-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  overflow: hidden;
}

.singer-avatar {
  width: min(78%, 190px);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.025), 0 24px 65px rgba(0, 0, 0, 0.28);
}

.singer-avatar img,
.singer-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.singer-card small {
  color: var(--muted);
  line-height: 1.5;
}

.singer-card strong {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: -0.045em;
}

.singer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--purple-2);
  background: rgba(124, 58, 237, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
}

.singer-social-link {
  margin: 8px 0 18px;
}

.singer-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 390px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
  min-height: 58vh;
  margin: clamp(42px, 7vw, 86px) 0 34px;
  border: 1px solid var(--line);
  border-radius: clamp(32px, 5vw, 58px);
  padding: clamp(26px, 5vw, 68px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 180, 254, 0.18), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(30px) saturate(1.18);
  -webkit-backdrop-filter: blur(30px) saturate(1.18);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.36);
}

.singer-profile::before {
  content: "";
  position: absolute;
  inset: auto 9% -22%;
  height: 44%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.24), transparent 68%);
  pointer-events: none;
}

.singer-profile-art {
  position: relative;
  display: grid;
  place-items: center;
}

.singer-profile-art::before {
  content: "";
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 140deg, rgba(236, 72, 153, 0.42), rgba(59, 130, 246, 0.34), rgba(216, 180, 254, 0.38), rgba(236, 72, 153, 0.42));
  filter: blur(26px);
  opacity: 0.5;
}

.singer-profile .singer-profile-image {
  position: relative;
  width: min(100%, 360px);
  box-shadow:
    inset 0 0 0 9px rgba(255, 255, 255, 0.025),
    0 30px 90px rgba(0, 0, 0, 0.34);
}

.singer-profile-copy {
  position: relative;
  min-width: 0;
}

.singer-profile-copy h1 {
  margin: 8px 0 12px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.singer-profile-lead {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.singer-profile-stats,
.singer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.singer-profile-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.singer-profile-stats strong {
  color: var(--text);
  font-size: 1.2rem;
}

.singer-bio-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.social-card {
  display: grid;
  gap: 10px;
  min-height: 130px;
  align-content: center;
  border-radius: 24px;
}

.maintenance-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68vh, 720px);
  margin: clamp(48px, 8vw, 96px) auto;
  border: 1px solid var(--line);
  border-radius: clamp(30px, 5vw, 54px);
  padding: clamp(34px, 7vw, 86px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 180, 254, 0.22), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.44);
}

.maintenance-page h1 {
  max-width: 820px;
  margin: 10px 0 16px;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.maintenance-page p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.maintenance-logo,
.maintenance-mark {
  display: grid;
  width: clamp(120px, 18vw, 220px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(216, 180, 254, 0.28);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.08);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.025),
    0 26px 80px rgba(124, 58, 237, 0.28);
}

.maintenance-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.social-card .social-icon,
.social-mini-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(216, 180, 254, 0.32));
}

.social-mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.admin-social-row.admin-table-row.sortable-row {
  grid-template-columns: 34px 44px minmax(0, 1fr) auto;
  min-height: 76px;
}

.admin-social-row .social-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  overflow: hidden;
  flex: 0 0 44px;
}

.admin-social-row .social-mini-icon img {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  border-radius: 0;
  object-fit: contain;
}

.admin-social-meta {
  min-width: 0;
}

.admin-social-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-social-icon {
  flex: 0 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-body .reveal {
  opacity: 1;
  transform: none;
}

.site-header,
.site-footer,
.glass-panel,
.hero-panel,
.page-hero,
.release-card,
.singer-card,
.social-card,
.admin-form,
.admin-panel,
.admin-table-row,
.stat-card,
.auth-panel,
.confirm-box {
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-panel,
.admin-form,
.admin-panel,
.page-hero,
.site-footer {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    radial-gradient(circle at 12% 0%, rgba(216, 180, 254, 0.13), transparent 34rem);
}

.admin-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 6%, rgba(216, 180, 254, 0.08), transparent 24rem),
    linear-gradient(145deg, #030108 0%, #07030d 55%, #05020a 100%);
}

.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(12, 8, 20, 0.93), rgba(7, 8, 13, 0.9)),
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.18), transparent 18rem);
}

.admin-main,
.form-control,
.admin-table-row,
.track-row {
  min-width: 0;
}

@media (min-width: 921px) {
  main,
  .site-footer {
    width: min(1320px, calc(100% - 88px));
  }

  .site-header {
    width: min(1320px, calc(100% - 88px));
    padding-inline: 16px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: clamp(44px, 7vw, 96px);
    padding-top: clamp(70px, 8vw, 110px);
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual-stack {
    width: min(100%, 460px);
    justify-self: end;
  }

  .hero-visual-stack .hero-panel {
    min-height: 340px;
  }

  .page-hero {
    padding: clamp(48px, 5vw, 78px);
  }

  .page-hero.readable {
    max-width: 1020px;
  }

  .catalog-filter-form {
    max-width: 860px;
  }

  .sort-form {
    grid-template-columns: 110px minmax(320px, 620px);
  }

  .grid-section {
    grid-template-columns: repeat(auto-fill, minmax(220px, 250px));
    gap: 26px;
  }

  .singer-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .singer-profile {
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  }
}

@keyframes slow-spin {
  to { transform: rotate(1turn); }
}

@keyframes bars {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@media (max-width: 920px) {
  .hero,
  .detail-layout,
  .singer-profile,
  .split-section,
  .admin-grid-two,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    min-height: auto;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
  }

  .admin-sidebar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .admin-brand {
    margin: 0;
  }

  .admin-nav-toggle {
    display: inline-flex;
  }

  .admin-nav-content {
    grid-column: 1 / -1;
    display: none;
    padding-top: 12px;
  }

  .admin-nav-content.is-open {
    display: grid;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .file-manager-grid {
    grid-template-columns: 1fr;
  }

  .file-manager-tools {
    position: static;
  }

  .admin-content-card,
  .admin-table-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .admin-content-card .row-actions,
  .admin-table-row .row-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-header {
    border-radius: 24px;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 10px;
    background: rgba(8, 10, 14, 0.94);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-artist-card {
    width: min(58vw, 210px);
    margin: 16px auto 18px;
  }

  .hero-search,
  .stack-form,
  .newsletter-form,
  .audio-controls,
  .section-heading,
  .admin-page-head,
  .site-footer,
  .social-strip,
  .track-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .track-row {
    display: grid;
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: start;
  }

  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar nav,
  .admin-sidebar-footer {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 10px;
    bottom: 68px;
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    overflow: auto;
  }

  .cookie-floating-button {
    left: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .cookie-floating-button svg {
    width: 21px;
    height: 21px;
  }

  .cookie-floating-button span {
    display: none;
  }

  .cookie-actions {
    display: grid;
  }
}

@media (max-width: 760px) {
  main,
  .admin-main {
    width: min(100% - 20px, 1180px);
  }

  .admin-main {
    padding: 22px 0 64px;
  }

  .admin-form,
  .admin-panel,
  .glass-panel,
  .page-hero,
  .site-footer {
    border-radius: 26px;
    padding: 18px;
  }

  .admin-table-row,
  .admin-table-row.sortable-row,
  .admin-table-row.sortable-row:not(:has(img)),
  .track-row.sortable-row,
  .file-row {
    grid-template-columns: 1fr;
  }

  .file-row-actions,
  .inline-edit-form,
  .inline-edit-form .form-control {
    width: 100%;
  }

  .file-row-actions {
    justify-content: stretch;
  }

  .drag-handle {
    width: 100%;
    height: 28px;
  }

  .row-actions,
  .admin-head-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .row-actions a,
  .row-actions button,
  .admin-primary,
  .admin-secondary {
    justify-content: center;
    width: 100%;
  }

  .singer-grid,
  .social-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
  }

  .singer-card {
    border-radius: 24px;
    padding: 14px;
  }

  .singer-card strong {
    text-align: center;
  }

  .singer-profile {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding: 22px;
    text-align: center;
  }

  .singer-profile .singer-profile-image {
    width: min(72vw, 260px);
  }

  .singer-profile-copy h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .singer-profile-stats,
  .singer-profile-actions {
    justify-content: center;
  }

  .singer-profile-actions .singer-social {
    width: 100%;
  }

  .singer-bio-card {
    text-align: left;
  }

  .maintenance-page {
    min-height: 58vh;
  }
}
