@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Rajdhani:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: rgba(26, 26, 26, 0.62);
  --paper: #f3f3f0;
  --panel: #ffffff;
  --line: rgba(26, 26, 26, 0.1);
  --surface-secondary: #e6e5e0;
  --surface-tertiary: #b3c1b9;
  --accent: #28775c;
  --accent-dark: #1a1a1a;
  --green: #28775c;
  --gold: #28775c;
  --blue: #28775c;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PP Mori", "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  background: #f3efe5;
  border-bottom: 1px solid var(--line);
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 24px;
}

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

.brand-mark {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  width: 34px;
}

.nav-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.nav-actions a {
  color: var(--muted);
  font-weight: 700;
}

.google-button,
.settings-toggle,
.primary-action,
.secondary-action,
.icon-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.google-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 14px;
}

.settings-toggle {
  background: rgba(255, 177, 46, 0.14);
  border: 1px solid rgba(255, 177, 46, 0.42);
  color: #ffd68a;
  padding: 10px 14px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(23, 35, 31, 0.92), rgba(35, 107, 82, 0.74)),
    url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
  min-height: 460px;
  padding: 82px 24px;
}

.hero-content {
  margin: 0 auto;
  max-width: 1180px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  max-width: none;
}

.hero p:not(.eyebrow) {
  color: #f8f1df;
  font-size: 1.18rem;
  max-width: 640px;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.genre-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-genre-tabs {
  margin-top: 22px;
  position: relative;
}

.primary-genre-tabs .community-submit-trigger {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 226, 31, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(255, 18, 30, 0.92), rgba(255, 20, 150, 0.86) 54%, rgba(255, 132, 24, 0.92));
  border-color: rgba(255, 226, 31, 0.78);
  box-shadow:
    0 0 18px rgba(255, 20, 150, 0.5),
    0 0 34px rgba(255, 132, 24, 0.28);
  color: #fff;
  min-width: 62px;
  overflow: visible;
  position: relative;
}

.primary-genre-tabs .community-submit-trigger::before {
  background: rgba(255, 132, 24, 0.36);
  border-radius: inherit;
  content: "";
  inset: -5px;
  opacity: 0.85;
  position: absolute;
  z-index: -1;
  animation: submitPulse 1.8s ease-in-out infinite;
}

.community-submit-trigger .submit-plus {
  display: inline-block;
  font-size: 1.48rem;
  line-height: 0.8;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.88);
}

@keyframes submitPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

.community-submit-panel {
  background:
    linear-gradient(135deg, rgba(0, 240, 200, 0.12), rgba(255, 20, 150, 0.12)),
    rgba(5, 12, 18, 0.92);
  border: 1px solid rgba(255, 177, 46, 0.35);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(210px, 0.56fr) minmax(340px, 1fr);
  margin-top: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 18px;
  transform: translateY(-8px);
  transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, transform 220ms ease;
}

.community-submit-panel.is-open {
  max-height: 820px;
  opacity: 1;
  padding: 18px;
  transform: translateY(0);
}

.community-submit-copy h2 {
  color: #fff;
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.community-submit-copy p:not(.eyebrow),
.community-submit-status,
.community-submit-preview p {
  color: #d8e8df;
  font-size: 0.92rem;
}

.community-submit-form {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.7fr);
}

.community-submit-form label:first-child,
.community-submit-actions {
  grid-column: 1 / -1;
}

.community-submit-preview {
  align-self: end;
  grid-column: 2;
}

.community-submit-form label {
  display: grid;
  gap: 6px;
}

.community-submit-form span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.community-submit-form input,
.community-submit-form select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: #fff;
  min-height: 44px;
  padding: 0 12px;
}

.community-submit-form input.is-clean-url {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(0, 255, 166, 0.1)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 166, 0.82);
  box-shadow: 0 0 0 1px rgba(0, 255, 166, 0.18), 0 0 18px rgba(0, 255, 166, 0.12);
  color: #eafff5;
}

.community-submit-form select option {
  color: #081014;
}

.community-submit-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.community-submit-status.is-ok {
  color: #00ffa6;
}

.community-submit-status.is-ok::before {
  content: "\2713 ";
}

.community-submit-status.is-warning {
  color: var(--gold);
}

.community-submit-status.is-error {
  color: #ff369d;
}

.community-submit-preview {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 240, 200, 0.24);
  border-radius: 8px;
  padding: 8px;
}

.community-submit-preview iframe {
  border: 0;
  border-radius: 6px;
  display: block;
  height: clamp(128px, 14vw, 210px);
  width: 100%;
}

.rank-submit-float {
  align-items: center;
  animation: rankSubmitFloat 1.9s ease forwards;
  background: rgba(0, 255, 166, 0.14);
  border: 1px solid rgba(0, 255, 166, 0.7);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(0, 255, 166, 0.32), 0 0 42px rgba(255, 177, 46, 0.16);
  color: #fff;
  display: inline-flex;
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: 0.78rem;
  gap: 8px;
  left: 50%;
  padding: 9px 14px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: -18px;
  transform: translate(-50%, 0);
  white-space: nowrap;
  z-index: 20;
}

.community-login-float {
  animation: communityLoginFloat 2.1s ease forwards;
  background: rgba(255, 177, 46, 0.18);
  border-color: rgba(255, 177, 46, 0.78);
  box-shadow: 0 0 24px rgba(255, 177, 46, 0.34), 0 0 42px rgba(255, 20, 150, 0.18);
  color: #fff8df;
  left: 0;
  top: -10px;
  transform: translate(0, 0);
}

@keyframes communityLoginFloat {
  0% {
    opacity: 0;
    transform: translate(0, 8px) scale(0.94);
  }
  18%,
  72% {
    opacity: 1;
    transform: translate(0, -14px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(0, -34px) scale(0.98);
  }
}

.community-submit-actions {
  position: relative;
}

@keyframes rankSubmitFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.94);
  }
  18%,
  70% {
    opacity: 1;
    transform: translate(-50%, -18px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -42px) scale(0.98);
  }
}

.ad-reservation-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 24px 0;
}

.ad-reservation {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 177, 46, 0.08), rgba(0, 240, 200, 0.08)),
    rgba(8, 18, 24, 0.82);
  border: 1px dashed rgba(255, 177, 46, 0.42);
  border-radius: 8px;
  color: #dbe8df;
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  text-align: center;
}

.ad-reservation span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-reservation strong {
  color: #fff;
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: 1rem;
}

.ad-reservation p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.secondary-hero-actions {
  margin-top: 10px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
}

.primary-action {
  background: var(--accent);
  color: #fff;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.content-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: 54px 24px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 20px;
}

.section-heading.compact h2 {
  font-size: 1.5rem;
}

.filters {
  margin-bottom: 22px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
}

.filters input {
  min-width: min(420px, 80vw);
}

.video-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.video-card,
.panel,
.rules-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-card {
  display: grid;
  overflow: hidden;
}

.thumb {
  aspect-ratio: 16 / 9;
  background: #202723;
  display: block;
  object-fit: cover;
  width: 100%;
}

.video-card-content {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.video-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}

.meta {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  gap: 4px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: #edf4ef;
  border-radius: 999px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 9px;
}

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

.card-actions .primary-action,
.card-actions .secondary-card-action {
  align-items: center;
  border-radius: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 10px;
}

.secondary-card-action {
  background: #eef3f8;
  color: var(--blue);
  font-weight: 900;
}

.split-band {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.panel {
  padding: 22px;
}

.account-status {
  background: #f5f1e5;
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 900;
  margin-bottom: 16px;
  padding: 10px 12px;
}

.playlist {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 16px;
  min-height: 96px;
  padding: 0;
}

.playlist li,
.ranking-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.full {
  width: 100%;
}

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

.ranking-item {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.score {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 950;
}

.vote-actions {
  display: flex;
  gap: 8px;
}

.vote-actions button {
  background: #f7f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 950;
  min-height: 38px;
  min-width: 42px;
}

.rules-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rules-grid article {
  box-shadow: none;
  padding: 18px;
}

.rules-grid h3 {
  margin: 0 0 8px;
}

.rules-grid p {
  color: var(--muted);
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.player-dialog {
  background: rgba(23, 35, 31, 0.72);
  inset: 0;
  padding: 24px;
  position: fixed;
  z-index: 20;
}

.player-shell {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 5vh auto;
  max-width: 960px;
  overflow: hidden;
}

.player-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}

.player-header h2 {
  font-size: 1.2rem;
  margin: 0;
}

.icon-button {
  background: #f4f0e9;
  color: var(--ink);
  font-size: 1.6rem;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.player-frame {
  aspect-ratio: 16 / 9;
  background: #111;
}

.player-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.site-footer {
  align-items: center;
  background: #17231f;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 26px 24px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span,
.site-footer a {
  color: #d8e2dc;
}

.ui-icon {
  display: inline-block;
  fill: none;
  flex: 0 0 auto;
  height: 1em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vertical-align: -0.14em;
  width: 1em;
}

.ui-icon-fill {
  fill: currentColor;
  stroke: none;
}

.legal-page {
  margin: 0 auto;
  max-width: 880px;
  padding: 44px 24px;
}

.admin-page {
  margin: 0 auto;
  max-width: 1440px;
  padding: 28px 22px 70px;
}

.admin-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

.admin-header-actions .admin-status {
  max-width: 360px;
}

.admin-hero {
  margin-bottom: 20px;
}

.admin-hero h1 {
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.admin-hero p:not(.eyebrow) {
  max-width: 780px;
}

.admin-hero p:not(.eyebrow),
.admin-note {
  color: var(--muted);
}

.admin-section-index {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 240, 200, 0.08), rgba(255, 177, 46, 0.08)),
    rgba(7, 18, 28, 0.92);
  border: 1px solid rgba(0, 240, 200, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(7, 18, 28, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-section-index a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #eafff5;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  padding: 9px 12px;
  text-transform: uppercase;
}

.admin-section-index a:hover {
  background: rgba(0, 240, 200, 0.14);
  border-color: rgba(0, 240, 200, 0.48);
  color: #fff;
}

.admin-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-workspace {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.admin-main-flow,
.admin-side-flow {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.admin-side-flow {
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card-taxonomy,
.admin-card-settings {
  grid-column: 1 / -1;
}

.admin-card,
.admin-video-panel {
  min-width: 0;
}

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

.admin-page .section-heading.compact {
  gap: 3px;
}

.admin-page .section-heading.compact .eyebrow {
  font-size: 0.78rem;
  margin: 0;
}

.admin-page .section-heading.compact h2 {
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1;
  margin: 0;
}

.admin-actions,
.admin-inline-form {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-inline-form label {
  flex: 1 1 240px;
}

.admin-stack-form {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr;
}

.admin-stack-form label {
  flex: none;
}

.admin-genre-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(210px, 0.45fr) minmax(300px, 1fr) auto;
}

.admin-genre-form label {
  min-width: 0;
}

.admin-genre-form textarea {
  min-height: 72px;
  resize: vertical;
}

.admin-genre-form .primary-action {
  min-height: 44px;
}

.admin-import-grid {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 200px) minmax(110px, 150px) auto;
}

.admin-import-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
}

.admin-filter-bar {
  align-items: center;
  justify-content: flex-end;
}

.admin-sync-actions {
  align-items: center;
  margin-bottom: 0;
}

.compact-admin-field {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}

.compact-admin-field input {
  min-height: 38px;
  width: 72px;
}

.admin-status {
  color: var(--gold);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.admin-status.is-error {
  color: #ff4f75;
}

.admin-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.admin-list-compact {
  max-height: 220px;
}

.admin-card-taxonomy .admin-list-compact {
  max-height: 420px;
}

.admin-row,
.admin-video-row {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 9px;
}

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

.admin-card-taxonomy .admin-row {
  align-items: stretch;
  grid-template-columns: minmax(180px, 0.42fr) minmax(280px, 1fr) auto auto;
}

.admin-card-taxonomy .admin-row textarea {
  min-height: 54px;
  resize: vertical;
  width: 100%;
}

.admin-account-row {
  grid-template-columns: minmax(170px, 1fr) minmax(140px, 0.7fr) auto auto;
}

.admin-row.is-selected {
  background:
    linear-gradient(135deg, rgba(255, 177, 46, 0.16), rgba(0, 240, 200, 0.08)),
    rgba(7, 18, 28, 0.04);
  border-color: rgba(255, 177, 46, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 177, 46, 0.16), 0 0 18px rgba(255, 177, 46, 0.12);
}

.admin-selected-label {
  color: var(--gold) !important;
  font-weight: 900;
  text-transform: uppercase;
}

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

.admin-row span,
.admin-video-row span {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row input {
  width: 100%;
}

.admin-row textarea {
  width: 100%;
}

.admin-video-heading {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(230px, 0.45fr) minmax(0, 1fr);
  margin-bottom: 12px;
}

.admin-video-list {
  display: grid;
  gap: 8px;
}

.admin-video-row {
  align-items: center;
  grid-template-columns: 88px 88px minmax(0, 1fr) minmax(140px, 200px);
}

.admin-video-thumb {
  aspect-ratio: 16 / 9;
  background: rgba(7, 18, 28, 0.25);
  border: 1px solid rgba(0, 240, 200, 0.16);
  border-radius: 6px;
  display: block;
  object-fit: cover;
  width: 88px;
}

.admin-video-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-video-copy strong {
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.admin-video-copy a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-check {
  align-items: center;
  display: flex;
  gap: 8px;
}

.admin-check input {
  min-height: auto;
}

.admin-pagination {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}

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

.admin-sync-panel {
  border: 1px solid rgba(0, 240, 200, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
}

.admin-sync-panel h3 {
  color: var(--text);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.admin-switch {
  align-items: center;
  background: rgba(3, 12, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  gap: 9px;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 9px;
}

.admin-switch input {
  accent-color: var(--accent);
  flex: 0 0 auto;
  min-height: auto;
  width: 18px;
}

.admin-switch span {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
}

.admin-security-card {
  margin-top: 18px;
}

.admin-pagination span {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .admin-workspace {
    grid-template-columns: 1fr;
  }

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

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

  .admin-filter-bar {
    justify-content: flex-start;
  }
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.legal-page h2 {
  margin-top: 32px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 760px) {
  .topbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-band,
  .ranking-item {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-link-group,
  .nav-tool-group {
    justify-content: flex-start;
    max-width: 100%;
  }

  .nav-link-group {
    border-radius: 14px;
  }

  .speed-popover {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(220px, calc(100vw - 24px));
  }

  .speed-popover::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .google-login-panel {
    left: 0;
    right: auto;
  }

  .google-login-panel::before {
    left: 17px;
    right: auto;
  }

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

  .admin-header,
  .admin-video-heading {
    grid-template-columns: 1fr;
  }

  .admin-grid,
  .admin-side-flow,
  .admin-genre-form,
  .admin-import-grid,
  .admin-video-row {
    grid-template-columns: 1fr;
  }

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

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

  .admin-card-taxonomy .admin-row {
    grid-template-columns: 1fr;
  }

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

.channel-band {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}

.channel-band > .section-heading,
.classification-heading-row,
.mi-list-toggle-row,
.mi-list-drawer,
.classification-dashboard,
.channel-feature {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

.classification-heading-row {
  align-items: stretch;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
  position: relative;
  z-index: 6;
}

.mi-list-toggle-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
  position: relative;
  z-index: 7;
}

.classification-heading-row .section-heading h2 {
  margin-bottom: 0;
}

.classification-summary {
  background:
    linear-gradient(135deg, rgba(0, 240, 200, 0.13), rgba(255, 54, 164, 0.08)),
    #111916;
  border: 1px solid #2c3a35;
  border-radius: 8px;
  color: #fff;
  display: grid;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.classification-summary .eyebrow {
  color: var(--gold) !important;
  margin: 0;
}

.classification-summary h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 0.95;
}

.classification-description {
  color: #d6dfd8;
  margin: 0;
  max-width: 760px;
}

.classification-meta-row {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
}

.classification-summary .source-grid {
  grid-template-columns: 1fr;
}

.classification-summary .source-grid span {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 100%;
  text-align: center;
}

.classification-summary .source-grid strong {
  color: var(--gold);
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: clamp(2.05rem, 3.5vw, 3.45rem);
  line-height: 0.9;
  text-shadow: 0 0 16px rgba(255, 177, 46, 0.22);
}

.classification-summary .genre-insights {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.classification-summary .insight-card {
  background:
    linear-gradient(135deg, rgba(0, 240, 200, 0.11), rgba(255, 54, 164, 0.07)),
    rgba(7, 18, 28, 0.92);
  border: 1px solid rgba(0, 240, 200, 0.24);
  gap: 5px;
  min-width: 0;
  padding: 12px;
}

.classification-summary .insight-card span {
  color: rgba(245, 249, 255, 0.64);
}

.classification-summary .insight-card strong {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.3vw, 1.18rem);
  line-height: 1.12;
}

.classification-summary .insight-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.mi-list-toggle {
  flex: 0 0 auto;
  align-self: start;
  position: relative;
}

.classification-heading-row .mi-list-toggle,
.mi-list-toggle-row .mi-list-toggle {
  background: rgba(0, 240, 200, 0.1);
  border-color: rgba(0, 240, 200, 0.42);
  color: #eef5ef;
  min-height: 42px;
}

.mi-list-toggle-row .mi-list-toggle {
  min-width: 132px;
}

.classification-heading-row .mi-list-toggle:hover,
.mi-list-toggle-row .mi-list-toggle:hover {
  background: rgba(0, 240, 200, 0.2);
  color: var(--accent);
}

.mi-list-toggle.has-items::after {
  background: #23a8ff;
  border: 2px solid #f3f3f0;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(35, 168, 255, 0.72);
  content: "";
  height: 10px;
  position: absolute;
  right: 8px;
  top: 6px;
  width: 10px;
}

.mi-list-drawer {
  display: grid;
  grid-template-rows: 0fr;
  left: 50%;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -8px);
  transition: grid-template-rows 180ms ease, opacity 180ms ease, transform 180ms ease;
  width: min(1180px, 100%);
  z-index: 8;
}

.mi-list-drawer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mi-list-panel {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(210px, 0.7fr) minmax(320px, 1.25fr) minmax(170px, 0.45fr);
  min-height: 640px;
  overflow: hidden;
  padding: 14px;
}

.mi-list-panel .section-heading.compact {
  grid-column: 1;
  margin-bottom: 0;
}

.mi-list-panel .account-status,
.mi-list-panel .playlist-name-field,
.mi-list-panel .playlist-persist-toggle {
  grid-column: 1;
}

.mi-list-panel .playlist {
  grid-column: 2;
  grid-row: 1 / span 4;
}

.mi-list-panel .playlist-panel-actions {
  align-self: start;
  grid-column: 3;
  grid-row: 1 / span 4;
  grid-template-columns: 1fr;
  margin: 0;
}

.mi-list-panel .playlist {
  max-height: 600px;
  overflow: auto;
}

.playlist-persist-toggle {
  align-items: center;
  background: rgba(40, 119, 92, 0.08);
  border: 1px solid rgba(40, 119, 92, 0.18);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 0.84rem;
  gap: 9px;
  min-height: 34px;
  padding: 7px 9px;
}

.playlist-persist-toggle input {
  accent-color: var(--accent);
  min-height: 0;
}

.classification-dashboard {
  margin-top: 16px;
}

.channel-feature {
  align-items: stretch;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.channel-copy,
.genre-copy {
  background: #111916;
  border: 1px solid #2c3a35;
  border-radius: 8px 0 0 8px;
  color: #fff;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 46px);
}

.channel-copy h3,
.genre-copy h3 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.98;
  margin: 0;
  max-width: 620px;
}

.channel-copy p,
.genre-copy p {
  color: #d6dfd8;
  margin: 0;
  max-width: 600px;
}

.channel-kicker,
.genre-kicker {
  color: var(--gold) !important;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-pill {
  background: transparent;
  border: 1px solid #56645f;
  border-radius: 999px;
  color: #e9f0ea;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 14px;
}

.primary-genre-tabs .tab-pill {
  background: var(--paper);
  border: 0.6px solid var(--line);
  color: var(--ink);
  min-height: 42px;
  padding: 11px 18px;
}

.primary-genre-tabs .tab-pill.active,
.primary-genre-tabs .tab-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tab-pill.active,
.tab-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #17231f;
}

.source-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-grid span,
.source-grid a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #eef5ef;
  font-size: 0.88rem;
  padding: 12px;
}

.playlist-embed {
  aspect-ratio: 16 / 10;
  background: #0c1110;
  border: 1px solid #2c3a35;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
}

.playlist-embed iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.style-panel,
.genre-insights {
  background: var(--surface-secondary);
  border-radius: 0 8px 8px 0;
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.style-panel div,
.insight-card {
  background: var(--paper);
  display: grid;
  gap: 8px;
  padding: clamp(22px, 4vw, 40px);
}

.style-panel span,
.insight-card span {
  color: var(--muted);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 615;
}

.style-panel strong,
.insight-card strong {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 615;
  line-height: 1.1;
}

.style-panel p,
.insight-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

@media (max-width: 900px) {
  .channel-feature,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .channel-copy,
  .genre-copy,
  .playlist-embed,
  .style-panel {
    border-radius: 8px;
  }

  .playlist-embed {
    border-left: 1px solid #2c3a35;
  }
}

/* Semaloop-inspired refinement */
.site-header,
.hero {
  background: var(--paper);
}

.site-header {
  border-bottom-color: var(--line);
}

.topbar {
  max-width: 1200px;
  padding-bottom: 40px;
  padding-top: 40px;
}

.brand {
  font-size: 15px;
  font-weight: 615;
}

.brand-mark {
  border-radius: 6px;
}

.nav-actions a,
.google-button {
  border: 0.6px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 615;
  min-height: 36px;
  padding: 9px 16px;
}

.nav-actions a {
  align-items: center;
  background: var(--paper);
  display: inline-flex;
}

.google-button {
  background: #fff;
}

.hero {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(7, 18, 28, 0) 0 64%, var(--paper) 100%),
    linear-gradient(135deg, #081728 0%, #00485a 45%, #0ac878 100%);
  color: #fff;
  display: flex;
  min-height: 680px;
  overflow: hidden;
  padding: 108px 24px 84px;
  position: relative;
  width: 100%;
}

.hero::before,
.hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.hero::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.38) 0 0.7px, transparent 1.2px),
    radial-gradient(circle, rgba(0, 0, 0, 0.28) 0 0.8px, transparent 1.3px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 42%, rgba(0, 0, 0, 0.16));
  background-position: 0 0, 3px 4px, 0 0;
  background-size: 5px 5px, 7px 7px, auto;
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.78;
}

.hero::after {
  border-bottom: 3px solid rgba(255, 222, 31, 0.94);
  bottom: 34px;
  height: 1px;
  left: 7%;
  right: 7%;
}

.hero-motion-field,
.hero-motion-field::before {
  content: "";
  pointer-events: none;
  position: absolute;
}

.hero-motion-field {
  background:
    radial-gradient(circle at 73% 16%, rgba(var(--hero-spot-1-rgb, 0, 255, 166), 0.92) 0 16%, rgba(var(--hero-spot-1-rgb, 0, 255, 166), 0.46) 26%, transparent 48%),
    radial-gradient(circle at 12% 12%, rgba(var(--hero-spot-2-rgb, 255, 18, 30), 0.94) 0 22%, rgba(var(--hero-spot-2-rgb, 255, 18, 30), 0.54) 35%, transparent 58%),
    radial-gradient(circle at 88% 78%, rgba(var(--hero-spot-3-rgb, 255, 20, 120), 0.92) 0 20%, transparent 45%),
    radial-gradient(circle at 46% 70%, rgba(var(--hero-spot-4-rgb, 0, 95, 255), 0.72) 0 20%, rgba(var(--hero-spot-4-rgb, 0, 95, 255), 0.36) 42%, transparent 68%),
    linear-gradient(135deg, rgba(5, 16, 24, 0.92), rgba(var(--hero-spot-4-rgb, 0, 95, 255), 0.24) 45%, rgba(var(--hero-spot-1-rgb, 0, 255, 166), 0.28));
  border-radius: 50%;
  filter: saturate(1.08) contrast(1.03);
  height: max(980px, 140vw);
  left: 50%;
  opacity: 0.94;
  top: 0;
  transform: translate(-50%, -53%) rotate(var(--hero-disc-angle, 0deg));
  transform-origin: center center;
  will-change: transform;
  width: max(980px, 140vw);
  z-index: 0;
}

.hero-motion-field::before {
  animation: heroColorPulse calc(var(--hero-sweep-duration, 12s) / 2) ease-in-out infinite;
  animation-direction: var(--hero-spin-direction, normal);
  background:
    radial-gradient(circle at 73% 16%, rgba(var(--hero-spot-1-rgb, 0, 255, 166), 0.36) 0 7%, rgba(var(--hero-spot-1-rgb, 0, 255, 166), 0.13) 17%, transparent 30%),
    radial-gradient(circle at 12% 12%, rgba(var(--hero-spot-2-rgb, 255, 18, 30), 0.38) 0 9%, rgba(var(--hero-spot-2-rgb, 255, 18, 30), 0.12) 20%, transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(var(--hero-spot-3-rgb, 255, 20, 120), 0.34) 0 8%, rgba(var(--hero-spot-3-rgb, 255, 20, 120), 0.12) 18%, transparent 32%),
    radial-gradient(circle at 46% 70%, rgba(var(--hero-spot-4-rgb, 0, 95, 255), 0.32) 0 10%, rgba(var(--hero-spot-4-rgb, 0, 95, 255), 0.12) 24%, transparent 40%);
  border-radius: 50%;
  filter: blur(7px);
  inset: 0;
  mix-blend-mode: screen;
}

.hero-content {
  max-width: 1440px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.hero h1.hero-title {
  display: grid;
  gap: 26px;
  justify-items: center;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 auto;
  max-width: 1160px;
  text-transform: uppercase;
}

.hero-title-main {
  color: transparent;
  font-family: "Orbitron", "Eurostile", "Arial Black", sans-serif;
  font-size: 8.9rem;
  font-weight: 900;
  line-height: 0.78;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.24),
    0 0 32px rgba(0, 255, 211, 0.28);
  -webkit-text-stroke: 3px #fff;
}

.hero-title-sub {
  background: #ffab2e;
  color: #fff;
  display: inline-block;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 0.95;
  padding: 8px 30px 9px;
  text-shadow: 0 2px 0 rgba(169, 89, 0, 0.28);
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  font-weight: 500;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.hero-slogan {
  color: rgba(248, 255, 249, 0.86);
  display: grid;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 3px;
  line-height: 1.18;
  margin: 12px auto 26px;
  max-width: 660px;
  text-shadow: 0 0 12px rgba(0, 240, 200, 0.14);
}

.hero-slogan span:nth-child(1),
.hero-slogan a:nth-child(3) {
  color: #ffe5a5;
}

.hero-slogan a {
  text-decoration: none;
}

.hero-slogan a:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 177, 46, 0.32);
}

.eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 76px;
}

.hero .hero-tagline {
  margin: 24px auto 12px;
}

.hero-presenter {
  color: #fff;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 3rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 14px !important;
}

.hero-side-label {
  bottom: 108px;
  color: #fff12d;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  left: 36px;
  letter-spacing: 0;
  position: absolute;
  text-orientation: mixed;
  transform: rotate(-90deg);
  transform-origin: left center;
  z-index: 2;
}

.hero-line {
  background: #fff;
  position: absolute;
  width: 3px;
  z-index: 2;
}

.hero-line-left {
  height: 176px;
  left: 58px;
  top: 160px;
}

.hero-line-right {
  height: 260px;
  right: 58px;
  top: 300px;
}

@keyframes heroDiscSpin {
  0% {
    transform: translate(-50%, -53%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -53%) rotate(360deg);
  }
}

@keyframes heroColorPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.05);
  }
}

.primary-action,
.secondary-action,
.tab-pill,
.video-text-link,
.source-grid span,
.source-grid a {
  font-size: 15px;
  font-weight: 615;
}

.primary-action {
  background: var(--ink);
  border: 0.6px solid var(--ink);
  border-radius: 999px;
  color: #fff;
}

.secondary-action {
  background: #fff;
  border: 0.6px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.content-band {
  max-width: 1200px;
  padding-bottom: 48px;
  padding-top: 48px;
}

.section-heading h2,
.section-heading.compact h2 {
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  letter-spacing: 0;
  line-height: 1.15;
}

.channel-copy {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

.channel-copy h3 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: 0;
  line-height: 1.1;
}

.channel-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.channel-kicker {
  color: rgba(255, 255, 255, 0.72) !important;
}

.tab-pill {
  border-color: rgba(255, 255, 255, 0.48);
}

.tab-pill.active,
.tab-pill:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.source-grid span,
.source-grid a {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.playlist-embed {
  border-color: transparent;
}

.filters {
  align-items: end;
}

input,
select,
textarea {
  border-width: 0.6px;
}

.video-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.video-card {
  align-items: stretch;
  background: transparent;
  border: 0.6px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: 12px;
}

.video-card.is-playing {
  grid-column: span 2;
}

.video-media {
  aspect-ratio: 16 / 9;
  background: var(--surface-secondary);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
}

.video-media iframe,
.video-media .thumb {
  border: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-card-content {
  gap: 10px;
  padding: 0;
}

.video-card h3 {
  font-size: 17px;
  font-weight: 615;
  letter-spacing: 0;
  line-height: 1.25;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  gap: 2px;
}

.badge {
  background: var(--surface-secondary);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 615;
  padding: 4px 8px;
}

.card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-template-columns: none;
}

.video-text-link {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

.video-text-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.video-text-link.muted {
  color: var(--muted);
}

.empty-state {
  background: var(--surface-secondary);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 28px;
  place-content: center;
  text-align: center;
}

.empty-state h3 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 615;
  line-height: 1.1;
  margin: 0;
}

.empty-state p {
  color: var(--muted);
  margin: 0;
  max-width: 460px;
}

.panel,
.rules-grid article {
  background: var(--surface-secondary);
  border-color: transparent;
  box-shadow: none;
}

.site-footer {
  background: var(--ink);
}

.hero .primary-genre-tabs .tab-pill.active,
.hero .primary-genre-tabs .tab-pill:hover {
  background: #fff;
  border-color: #fff;
  color: #151515;
}

.hero .primary-genre-tabs .tab-pill {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero .primary-genre-tabs {
  justify-content: center;
}

.hero-playlist-dock {
  bottom: 54px;
  display: grid;
  gap: 10px;
  max-width: min(330px, calc(100vw - 48px));
  min-width: 0;
  position: absolute;
  right: 24px;
  width: 330px;
  z-index: 3;
}

.hero-playlist-dock .playlist-player {
  margin: 0;
}

.hero-playlist-dock .playlist-controls {
  margin: 0;
}

.admin-badge {
  background: #fff4d7;
  color: #6f4f00;
}

.insight-card span {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero {
    min-height: 560px;
    padding-bottom: 52px;
    padding-top: 64px;
  }

  .hero-line,
  .hero-side-label {
    display: none;
  }

  .hero-presenter {
    font-size: 2rem !important;
  }

  .eyebrow {
    font-size: 1.05rem;
    margin-bottom: 42px;
  }

  .hero-title-main {
    font-size: 3.7rem;
    -webkit-text-stroke-width: 2px;
  }

  .hero-title-sub {
    font-size: 1.35rem;
    padding: 7px 16px 8px;
  }

  .video-card.is-playing {
    grid-column: span 1;
  }

  .video-card h3 {
    font-size: 17px;
  }
}

@media (min-width: 1280px) {
  .hero {
    min-height: 760px;
  }

  .hero-title-main {
    font-size: 10.7rem;
  }

  .hero-title-sub {
    font-size: 2.55rem;
  }
}

/* JEEC neón system */
:root {
  color-scheme: dark;
  --ink: #f5f9ff;
  --muted: rgba(245, 249, 255, 0.66);
  --paper: #07121c;
  --panel: rgba(9, 23, 35, 0.84);
  --line: rgba(255, 255, 255, 0.15);
  --surface-secondary: rgba(255, 255, 255, 0.07);
  --surface-tertiary: rgba(0, 240, 200, 0.18);
  --accent: #00f0c8;
  --accent-dark: #051018;
  --green: #00f0c8;
  --gold: #ffb12e;
  --blue: #2d8cff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 23, 42, 0.22), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(0, 240, 200, 0.2), transparent 34rem),
    linear-gradient(180deg, #07121c 0%, #09101a 52%, #05080d 100%);
  color: var(--ink);
  font-family: "Rajdhani", "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
}

.site-header {
  background: #05080d;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.topbar {
  color: var(--ink);
}

.brand {
  color: var(--ink);
  font-family: "Orbitron", "Arial Black", sans-serif;
  text-transform: uppercase;
}

.brand-mark {
  background: #020202;
  box-shadow: 0 0 12px rgba(0, 219, 255, 0.18), 0 0 14px rgba(255, 45, 198, 0.16);
}

.nav-actions a,
.google-button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(246, 255, 251, 0.9);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
}

.nav-actions a:hover,
.google-button:hover {
  background: rgba(0, 240, 200, 0.14);
  border-color: rgba(0, 240, 200, 0.6);
  color: #fff;
}

.content-band {
  color: var(--ink);
}

.section-heading .eyebrow,
.genre-kicker,
.channel-kicker {
  color: var(--gold) !important;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
}

.section-heading h2,
.section-heading.compact h2,
.genre-copy h3,
.rules-grid h3,
.empty-state h3 {
  color: var(--ink);
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.filters,
.panel,
.rules-grid article,
.video-card,
.contact-form {
  position: relative;
}

.panel,
.rules-grid article,
.video-card,
.empty-state {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.panel,
.rules-grid article,
.video-card,
.empty-state,
input,
select,
textarea {
  backdrop-filter: blur(10px);
}

label,
.meta,
.rules-grid p,
.empty-state p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 240, 200, 0.86);
  box-shadow: 0 0 0 3px rgba(0, 240, 200, 0.14);
  outline: 0;
}

.genre-copy {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 177, 46, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(7, 18, 28, 0.96), rgba(13, 43, 56, 0.9));
  border-color: rgba(0, 240, 200, 0.2);
}

.genre-copy p {
  color: rgba(245, 249, 255, 0.78);
}

.source-grid span,
.source-grid a {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

.source-grid a,
.video-text-link {
  color: var(--accent);
}

.genre-insights {
  background: rgba(0, 240, 200, 0.18);
  border: 1px solid rgba(0, 240, 200, 0.18);
  border-left: 0;
}

.insight-card {
  background: rgba(4, 13, 22, 0.92);
}

.insight-card span {
  color: var(--gold);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
}

.insight-card strong {
  color: var(--ink);
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.insight-card p {
  color: var(--muted);
}

.tab-pill,
.primary-action,
.secondary-action,
.video-text-link,
.badge,
.account-status,
.score,
.vote-actions button {
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
}

.tab-pill {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink);
}

.tab-pill.active,
.tab-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #07121c;
}

.primary-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #07121c;
}

.primary-action:disabled {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(245, 249, 255, 0.42);
  cursor: not-allowed;
}

.video-card {
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.video-card:hover {
  border-color: rgba(0, 240, 200, 0.58);
  box-shadow: 0 0 0 1px rgba(0, 240, 200, 0.16), var(--shadow);
  transform: translateY(-2px);
}

.video-media {
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card h3 {
  color: var(--ink);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.badge {
  background: rgba(0, 240, 200, 0.11);
  border: 1px solid rgba(0, 240, 200, 0.18);
  color: var(--accent);
}

.account-status {
  background: rgba(255, 177, 46, 0.14);
  border: 1px solid rgba(255, 177, 46, 0.28);
  color: #ffd68a;
}

.playlist li,
.ranking-item {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
}

.score {
  color: var(--gold);
  font-family: "Orbitron", "Arial Black", sans-serif;
}

.vote-actions button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.vote-actions button:not(:disabled):hover {
  background: rgba(0, 240, 200, 0.16);
  border-color: rgba(0, 240, 200, 0.6);
}

.contact-form {
  max-width: 760px;
}

.site-footer {
  background: #05080d;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer strong {
  color: var(--ink);
  font-family: "Orbitron", "Arial Black", sans-serif;
}

.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  line-height: 1;
}

.footer-identity {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 28px);
}

.footer-brand-icon {
  background: #020202;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(0, 219, 255, 0.2), 0 0 18px rgba(255, 45, 198, 0.18);
  display: block;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
}

.footer-community {
  align-items: baseline;
  display: inline-flex;
  gap: 12px;
  line-height: 1;
  white-space: nowrap;
}

.site-version {
  color: var(--gold) !important;
  display: inline-flex;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  margin-left: 0;
  white-space: nowrap;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .genre-insights {
    border-left: 1px solid rgba(0, 240, 200, 0.18);
  }

  .footer-community {
    white-space: normal;
  }
}

.catalog-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin: 0 0 22px;
}

.editorial-band {
  padding-top: 42px;
}

.editorial-band .section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.editorial-band .section-heading h2,
.editorial-band .section-heading .eyebrow {
  margin: 0;
}

.editorial-intro {
  color: rgba(226, 255, 246, 0.78);
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0;
  max-width: 860px;
}

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

.editorial-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.editorial-grid h3 {
  color: var(--ink);
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: 1rem;
  line-height: 1.12;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.editorial-grid p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.controls-band > .section-heading,
.compliance-band > .section-heading {
  display: grid;
  gap: 12px;
}

.controls-band > .section-heading .eyebrow,
.compliance-band > .section-heading .eyebrow {
  margin: 0;
}

.controls-band > .section-heading h2,
.compliance-band > .section-heading h2 {
  margin: 0 0 20px;
}

.catalog-tabs,
.view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-channel-filter {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: auto minmax(180px, 240px);
}

.catalog-channel-filter span,
.catalog-pagination label span {
  color: var(--muted);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-channel-filter select,
.catalog-pagination input {
  background: rgba(7, 18, 28, 0.86);
  border: 1px solid rgba(0, 240, 200, 0.22);
  border-radius: 999px;
  color: var(--ink);
  min-height: 38px;
}

.icon-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 44px;
}

.icon-toggle.active,
.icon-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #07121c;
}

.catalog-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.catalog-pagination span {
  color: var(--muted);
  font-weight: 800;
}

.catalog-pagination label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.catalog-pagination input {
  padding-inline: 12px;
  width: 84px;
}

.video-media-button {
  cursor: pointer;
  padding: 0;
}

.video-media-button:hover .thumb {
  filter: brightness(1.08) saturate(1.1);
}

.admin-status {
  color: #ffd68a;
  display: grid;
  font-size: 0.82rem;
  gap: 3px;
}

.action-link {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.action-link .ui-icon,
.primary-action .ui-icon,
.secondary-action .ui-icon,
.icon-button .ui-icon {
  height: 1rem;
  width: 1rem;
}

.video-text-link {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.video-grid.is-list-view {
  grid-template-columns: 1fr;
}

.video-grid.is-list-view .video-card {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 112px;
}

.video-grid.is-list-view .video-card.is-playing {
  grid-column: auto;
  grid-template-columns: 280px minmax(0, 1fr);
}

.video-grid.is-list-view .video-media {
  aspect-ratio: 16 / 9;
  border-radius: 5px;
}

.video-grid.is-list-view .video-card-content {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.video-grid.is-list-view .meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.video-grid.is-list-view .card-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.video-grid.is-list-view .action-label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.video-grid.is-list-view .action-link {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.video-grid.is-list-view .action-link:hover {
  background: rgba(0, 240, 200, 0.14);
  text-decoration: none;
}

.settings-toggle {
  background: rgba(255, 177, 46, 0.12);
  border: 1px solid rgba(255, 177, 46, 0.45);
  border-radius: 999px;
  color: #ffd68a;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 700;
  min-height: 36px;
  padding: 9px 16px;
}

.settings-toggle:hover,
.settings-toggle[aria-pressed="true"] {
  background: var(--gold);
  color: #07121c;
}

.admin-checkbox-field {
  align-items: center;
  background: rgba(7, 18, 28, 0.62);
  border: 1px solid rgba(0, 240, 200, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 9px;
  min-height: 54px;
  padding: 10px 12px;
}

.admin-checkbox-field input {
  accent-color: var(--gold);
  min-height: auto;
  width: auto;
}

.admin-checkbox-field span {
  color: rgba(226, 255, 246, 0.82);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.speed-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 240, 200, 0.22);
  border-radius: 999px;
  display: inline-flex;
  gap: 9px;
  min-height: 36px;
  padding: 7px 12px;
}

.speed-control span {
  color: var(--muted);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.speed-control input {
  accent-color: var(--gold);
  background: transparent;
  border: 0;
  min-height: auto;
  padding: 0;
  width: 82px;
}

.speed-popover-options {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 8px;
}

.speed-checkbox {
  align-items: center;
  background: rgba(7, 18, 28, 0.76);
  border: 1px solid rgba(0, 240, 200, 0.22);
  border-radius: 999px;
  color: rgba(226, 255, 246, 0.78);
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
}

.speed-checkbox input {
  accent-color: var(--gold);
  margin: 0;
  min-height: auto;
  width: auto;
}

.speed-checkbox span {
  color: inherit;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.speed-checkbox:has(input:checked) {
  background: rgba(255, 177, 46, 0.18);
  border-color: rgba(255, 177, 46, 0.62);
  color: #ffe5a5;
}

.disc-color-control {
  border-top: 1px solid rgba(0, 240, 200, 0.16);
  margin-top: 10px;
  padding-top: 10px;
}

.disc-color-header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.disc-color-reset {
  background: rgba(7, 18, 28, 0.8);
  border: 1px solid rgba(0, 240, 200, 0.24);
  border-radius: 999px;
  color: rgba(226, 255, 246, 0.82);
  cursor: pointer;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
}

.disc-color-reset:hover {
  border-color: rgba(255, 177, 46, 0.62);
  color: #ffe5a5;
}

.disc-color-swatches {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, 1fr);
}

.disc-color-swatch {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.7), transparent 24%),
    var(--swatch-color, #00f0c8);
  border: 1px solid rgba(226, 255, 246, 0.24);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(var(--swatch-rgb, 0, 240, 200), 0.34);
  cursor: pointer;
  min-height: 26px;
  padding: 0;
  position: relative;
}

.disc-color-swatch::after {
  border: 2px solid transparent;
  border-radius: inherit;
  content: "";
  inset: -4px;
  position: absolute;
}

.disc-color-swatch.is-selected {
  border-color: rgba(255, 226, 75, 0.94);
  box-shadow:
    0 0 0 2px rgba(255, 226, 75, 0.18),
    0 0 18px rgba(var(--swatch-rgb, 0, 240, 200), 0.72);
}

.disc-color-swatch.is-selected::after {
  border-color: rgba(255, 226, 75, 0.52);
}

.nav-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.nav-link-group,
.nav-tool-group {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link-group {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px;
}

.nav-link-group a {
  border-radius: 999px;
  color: rgba(246, 255, 251, 0.86);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

.nav-link-group a[hidden] {
  display: none !important;
}

.nav-link-group a:hover {
  background: rgba(0, 240, 200, 0.14);
  border-color: rgba(0, 240, 200, 0.6);
  color: #fff;
}

.nav-tool-group {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 999px;
  padding: 4px;
}

.language-switch {
  align-items: center;
  display: inline-flex;
  gap: 3px;
}

.language-option {
  align-items: center;
  background: rgba(248, 255, 249, 0.78);
  border: 1px solid rgba(40, 119, 92, 0.24);
  border-radius: 999px;
  color: #0d3f31;
  cursor: pointer;
  display: inline-flex;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  padding: 0 10px;
  white-space: nowrap;
}

.language-option.is-active,
.language-option:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.nav-control-button,
.nav-auth-button {
  align-items: center;
  background: rgba(248, 255, 249, 0.92);
  border: 1px solid rgba(40, 119, 92, 0.34);
  border-radius: 999px;
  color: #0d3f31;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
}

.nav-control-button {
  padding: 0;
  width: 34px;
}

.nav-control-button .ui-icon {
  height: 16px;
  width: 16px;
}

.nav-control-button.is-active,
.nav-control-button[aria-expanded="true"],
.nav-control-button:not(:disabled):hover,
.nav-auth-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.nav-control-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.nav-auth-button {
  min-width: 58px;
}

.nav-login-control {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  position: relative;
}

.nav-user-label {
  color: #0d3f31;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  max-width: 150px;
  overflow: hidden;
  padding: 0 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-login-panel {
  background: rgba(7, 18, 28, 0.96);
  border: 1px solid rgba(0, 240, 200, 0.34);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  min-width: 220px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 90;
}

.google-login-panel::before {
  border-bottom: 8px solid rgba(7, 18, 28, 0.96);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: "";
  position: absolute;
  right: 17px;
  top: -8px;
}

.google-login-panel p {
  color: rgba(248, 255, 249, 0.82);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.speed-control {
  background: transparent;
  border: 0;
  min-height: 0;
  padding: 0;
  position: relative;
}

.speed-popover {
  background: rgba(7, 18, 28, 0.94);
  border: 1px solid rgba(0, 240, 200, 0.34);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  min-width: 190px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 80;
}

.speed-popover::before {
  border-bottom: 8px solid rgba(7, 18, 28, 0.94);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: "";
  position: absolute;
  right: 11px;
  top: -8px;
}

.speed-popover label {
  display: grid;
  gap: 8px;
}

.speed-popover span {
  color: rgba(248, 255, 249, 0.78);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.speed-popover input {
  accent-color: var(--gold);
  width: 100%;
}

.playlist-name-field {
  margin-bottom: 14px;
}

.playlist-panel-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 0 0 12px;
}

.playlist li {
  display: grid;
  gap: 7px;
}

.playlist li.is-current-playlist-video {
  border-color: rgba(255, 177, 46, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 177, 46, 0.22),
    0 0 22px rgba(255, 177, 46, 0.12);
}

.playlist li button {
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-weight: 700;
  justify-self: start;
  padding: 0;
}

.playlist-controls {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(36px, 1fr));
  margin: 0 0 16px;
  min-width: 0;
}

.playlist-control-button {
  align-items: center;
  background: rgba(0, 240, 200, 0.08);
  border: 1px solid rgba(0, 240, 200, 0.34);
  border-radius: 999px;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
}

.playlist-control-button .ui-icon {
  height: 17px;
  width: 17px;
}

.playlist-control-button.is-primary {
  background: linear-gradient(135deg, rgba(255, 177, 46, 0.95), rgba(0, 240, 200, 0.72));
  border-color: rgba(255, 177, 46, 0.8);
  color: #07121c;
}

.playlist-control-button.is-active,
.playlist-control-button[aria-pressed="true"],
.playlist-control-button:not(:disabled):hover {
  background: rgba(255, 177, 46, 0.18);
  border-color: rgba(255, 177, 46, 0.72);
  color: var(--gold);
}

.playlist-control-button.is-primary:not(:disabled):hover {
  box-shadow: 0 0 18px rgba(255, 177, 46, 0.28);
}

.playlist-control-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.playlist-player {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(0, 240, 200, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  width: 100%;
}

.playlist-player[hidden] {
  display: none;
}

.playlist-player-header {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.playlist-player-header span {
  color: var(--gold);
  display: block;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.playlist-player-header strong {
  color: var(--ink);
  display: block;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-player-frame {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  max-width: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.playlist-player-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  max-width: 100%;
  width: 100%;
}

.playlist-player-status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.88rem;
  gap: 8px;
  justify-content: space-between;
  margin: 0;
}

.playback-symbol {
  align-items: center;
  border: 1px solid rgba(255, 177, 46, 0.48);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  height: 25px;
  justify-content: center;
  width: 25px;
}

.playback-symbol .ui-icon {
  height: 14px;
  width: 14px;
}

.playback-symbols {
  display: inline-flex;
  gap: 6px;
}

.inline-heading {
  margin-top: 14px;
}

.likes-list {
  min-height: 64px;
}

.likes-mode-toggle {
  align-items: center;
  background: rgba(7, 18, 28, 0.68);
  border: 1px solid rgba(0, 240, 200, 0.2);
  border-radius: 999px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 9px;
  padding: 4px;
}

.likes-mode-toggle button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(226, 255, 246, 0.72);
  cursor: pointer;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  min-height: 28px;
  padding: 5px 7px;
  text-transform: uppercase;
}

.likes-mode-toggle button.active,
.likes-mode-toggle button:hover {
  background: rgba(0, 240, 200, 0.16);
  border-color: rgba(0, 240, 200, 0.5);
  color: #f8fff9;
  box-shadow: 0 0 14px rgba(0, 240, 200, 0.18);
}

.video-card.is-selected {
  border-color: rgba(255, 177, 46, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 177, 46, 0.28),
    0 0 28px rgba(255, 177, 46, 0.16),
    var(--shadow);
}

.remove-link {
  color: var(--gold);
}

.liked-link {
  color: #ff4f75;
}

.classification-dashboard {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: visible;
}

.classification-dashboard .panel {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  min-width: 0;
  overflow: visible;
  padding: 16px;
  position: relative;
}

.classification-dashboard .panel:has(details[open]) {
  z-index: 30;
}

.classification-dashboard .section-heading.compact {
  margin-bottom: 9px;
}

.classification-dashboard .section-heading.compact .eyebrow {
  color: var(--ink) !important;
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
}

.heading-icon {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: 1.08rem;
  justify-content: center;
  margin-right: 5px;
  text-shadow: 0 0 10px rgba(255, 177, 46, 0.45);
  vertical-align: -0.12em;
}

.classification-dashboard .section-heading.compact h2 {
  font-size: 1.08rem;
  line-height: 1.1;
}

.classification-dashboard .account-status {
  font-size: 0.92rem;
  margin-bottom: 10px;
  padding: 8px 10px;
}

.classification-dashboard .playlist-name-field {
  margin-bottom: 10px;
}

.classification-dashboard .playlist,
.classification-dashboard .ranking-list {
  align-content: start;
  align-items: start;
  gap: 8px;
  grid-auto-rows: max-content;
}

.classification-dashboard .playlist,
.classification-dashboard .ranking-list {
  flex: 1 1 auto;
  max-height: 600px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
  position: relative;
}

.classification-dashboard .playlist:has(details[open]),
.classification-dashboard .ranking-list:has(details[open]) {
  overflow: visible;
  z-index: 20;
}

.classification-dashboard .ranking-item {
  padding: 10px;
}

.classification-dashboard .ranking-song-item {
  align-items: center;
  display: block;
  gap: 8px;
  min-height: 58px;
  padding: 0;
}

.ranking-item-body {
  display: grid;
  gap: 5px;
}

.ranking-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ranking-actions .score {
  font-size: 0.95rem;
  min-width: 26px;
}

.rank-action-button {
  align-items: center;
  background: rgba(255, 177, 46, 0.12);
  border: 1px solid rgba(255, 177, 46, 0.34);
  border-radius: 999px;
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  height: 27px;
  justify-content: center;
  min-width: 30px;
  padding: 0 8px;
}

.rank-action-button .ui-icon {
  height: 14px;
  width: 14px;
}

.rank-action-button.is-voted,
.rank-action-button:not(:disabled):hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #07121c;
}

.ranking-lists-band {
  padding-top: 8px;
}

.ranking-lists-band .panel {
  max-width: 760px;
}

.playlist-item {
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 48px;
  padding: 7px 8px !important;
}

.playlist-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.playlist-item strong,
.playlist-item span {
  display: block;
}

.playlist-item-body {
  min-width: 0;
}

.playlist-item strong {
  font-size: 0.95rem;
  line-height: 1.08;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-item-meta {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
}

.playlist-item span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classification-dashboard .playlist-item,
.classification-dashboard .ranking-song-item {
  background:
    linear-gradient(135deg, rgba(7, 18, 28, 0.96), rgba(15, 49, 42, 0.94)),
    rgba(17, 25, 22, 0.94);
  border: 1px solid rgba(0, 240, 200, 0.22);
  border-radius: 7px;
  display: block;
  max-height: 58px;
  min-height: 58px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  transition: max-height 180ms ease, box-shadow 180ms ease;
}

.classification-dashboard .expandable-list-item:has(details[open]) {
  box-shadow:
    0 0 0 1px rgba(255, 177, 46, 0.22),
    0 14px 28px rgba(7, 18, 28, 0.2);
  max-height: 58px;
  overflow: visible;
  z-index: 12;
}

.expandable-list-item details {
  display: block;
}

.expandable-list-item summary {
  cursor: pointer;
  list-style: none;
}

.expandable-list-item summary::-webkit-details-marker {
  display: none;
}

.classification-dashboard .list-item-summary {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 50px;
  padding: 7px 8px;
}

.classification-dashboard .ranking-song-item .list-item-summary {
  grid-template-columns: 46px minmax(0, 1fr) 24px;
}

.classification-dashboard .playlist-thumb {
  border-radius: 5px;
  width: 46px;
}

.classification-dashboard .playlist-item-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.classification-dashboard .playlist-item strong,
.classification-dashboard .ranking-song-item strong {
  color: #f8fff9;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classification-dashboard .playlist-item-meta {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
}

.classification-dashboard .playlist-item-meta span {
  color: rgba(155, 236, 214, 0.78);
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classification-dashboard .list-item-details {
  background:
    linear-gradient(135deg, rgba(7, 18, 28, 0.98), rgba(17, 59, 50, 0.97)),
    #07121c;
  border: 1px solid rgba(60, 255, 143, 0.72);
  border-radius: 7px;
  box-shadow:
    0 0 0 1px rgba(60, 255, 143, 0.16),
    0 0 24px rgba(60, 255, 143, 0.22),
    0 18px 34px rgba(7, 18, 28, 0.38);
  color: rgba(226, 255, 246, 0.82);
  display: grid;
  gap: 10px;
  font-size: 0.82rem;
  grid-template-columns: 86px minmax(0, 1fr);
  left: 0;
  line-height: 1.2;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 100%;
  z-index: 22;
}

.classification-dashboard .ranking-item-details {
  grid-template-columns: 86px minmax(0, 1fr);
}

.classification-dashboard details:not([open]) .list-item-details {
  display: none;
}

.classification-dashboard details:not([open]) strong {
  white-space: nowrap !important;
}

.classification-dashboard details[open] .list-item-summary {
  align-items: center;
  grid-template-columns: 46px minmax(0, 1fr);
}

.classification-dashboard .ranking-song-item details[open] .list-item-summary {
  grid-template-columns: 46px minmax(0, 1fr) 24px;
}

.classification-dashboard details[open] .playlist-thumb {
  width: 46px;
}

.classification-dashboard details[open] .list-item-summary strong {
  white-space: nowrap;
}

.classification-dashboard .detail-title {
  color: #f8fff9;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.98rem;
  line-height: 1.05;
  white-space: normal;
}

.classification-dashboard .list-item-details button {
  justify-self: start;
}

.detail-thumb {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0, 240, 200, 0.22);
  border-radius: 6px;
  grid-row: span 2;
  object-fit: cover;
  width: 86px;
}

.detail-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.detail-actions,
.ranking-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-actions {
  grid-column: 2;
}

.sponsor-link {
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  display: inline;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: none;
}

.sponsor-link:hover {
  color: #ffe2a5;
}

.ranking-trend {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: 0.78rem;
  height: 22px;
  justify-content: center;
  justify-self: end;
  min-width: 22px;
}

.ranking-trend.is-up {
  color: #3cff8f;
  text-shadow: 0 0 10px rgba(60, 255, 143, 0.8);
}

.ranking-trend.is-down {
  color: #ff4f75;
  text-shadow: 0 0 10px rgba(255, 79, 117, 0.8);
}

.ranking-trend.is-same {
  color: #23a8ff;
  text-shadow: 0 0 10px rgba(35, 168, 255, 0.8);
}

.classification-dashboard .section-heading.compact .eyebrow {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.heading-title {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  min-width: 0;
}

.ranking-comments-toggle {
  align-items: center;
  background: rgba(0, 240, 200, 0.08);
  border: 1px solid rgba(0, 240, 200, 0.28);
  border-radius: 999px;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.ranking-comments-toggle .ui-icon {
  height: 15px;
  width: 15px;
}

.ranking-comments-toggle.is-active,
.ranking-comments-toggle:hover {
  background: rgba(60, 255, 143, 0.16);
  border-color: rgba(60, 255, 143, 0.7);
  box-shadow: 0 0 14px rgba(60, 255, 143, 0.18);
  color: #3cff8f;
}

.ranking-comments-toggle.has-recent-comments {
  animation: rankingCommentPulse 1.6s ease-in-out infinite;
  border-color: rgba(60, 255, 143, 0.7);
  color: #3cff8f;
}

@keyframes rankingCommentPulse {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(60, 255, 143, 0.16);
  }

  50% {
    box-shadow:
      0 0 14px rgba(60, 255, 143, 0.45),
      0 0 28px rgba(0, 240, 200, 0.2);
  }
}

.ranking-comments-panel {
  background:
    linear-gradient(135deg, rgba(7, 18, 28, 0.94), rgba(11, 45, 39, 0.9)),
    #07121c;
  border: 1px solid rgba(0, 240, 200, 0.2);
  border-radius: 7px;
  display: grid;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px;
}

.ranking-comments-panel h3 {
  color: #f8fff9;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.98rem;
  line-height: 1.1;
  margin: 0;
}

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

.ranking-comment-form textarea {
  background: rgba(248, 255, 249, 0.94);
  border: 1px solid rgba(0, 240, 200, 0.22);
  border-radius: 7px;
  color: #07121c;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.35;
  min-height: 78px;
  resize: vertical;
}

.ranking-comment-form-actions {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ranking-comment-form-actions span {
  color: rgba(226, 255, 246, 0.74);
  font-size: 0.78rem;
  line-height: 1.25;
}

.ranking-comments-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}

.ranking-comment {
  background: rgba(248, 255, 249, 0.06);
  border: 1px solid rgba(248, 255, 249, 0.1);
  border-radius: 7px;
  display: grid;
  gap: 3px;
  padding: 8px;
}

.ranking-comment strong {
  color: #f8fff9;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
}

.ranking-comment time {
  color: rgba(155, 236, 214, 0.7);
  font-size: 0.72rem;
}

.ranking-comment p,
.ranking-comment-empty {
  color: rgba(226, 255, 246, 0.86);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.42;
  margin: 0;
}

.sponsor-popover {
  background:
    linear-gradient(135deg, rgba(7, 18, 28, 0.99), rgba(11, 45, 39, 0.98)),
    #07121c;
  border: 1px solid rgba(60, 255, 143, 0.62);
  border-radius: 7px;
  box-shadow:
    0 0 20px rgba(60, 255, 143, 0.2),
    0 18px 34px rgba(7, 18, 28, 0.38);
  display: none;
  gap: 8px;
  left: calc(100% + 10px);
  max-height: 280px;
  overflow: auto;
  padding: 10px;
  position: absolute;
  top: 0;
  width: min(280px, 72vw);
  z-index: 32;
}

.sponsor-popover.is-open {
  display: grid;
}

.classification-dashboard .panel:nth-child(3) .sponsor-popover {
  left: auto;
  right: calc(100% + 10px);
}

.sponsor-popover > strong {
  color: #f8fff9;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
}

.sponsor-list {
  display: grid;
  gap: 7px;
  list-style: decimal;
  margin: 0;
  padding-left: 18px;
}

.sponsor-list li {
  color: rgba(226, 255, 246, 0.82);
  padding-left: 2px;
}

.sponsor-list strong {
  color: #f8fff9;
  display: block;
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
}

.sponsor-list span {
  color: rgba(155, 236, 214, 0.72);
  display: block;
  font-size: 0.76rem;
}

.playlist-player .icon-button {
  background: rgba(255, 177, 46, 0.14);
  border: 1px solid rgba(255, 177, 46, 0.5);
  color: var(--gold);
}

.playlist-player .icon-button:hover {
  background: var(--gold);
  color: #07121c;
}

.classification-dashboard .playlist-panel-actions {
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 10px;
}

.classification-dashboard .playlist-panel-actions.single-action {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.classification-dashboard .playlist-panel-actions .primary-action,
.classification-dashboard .playlist-panel-actions .secondary-action {
  align-items: center;
  border-radius: 999px;
  font-size: 0.86rem;
  min-height: 32px;
  padding: 7px 9px;
  white-space: nowrap;
}

.primary-action,
.secondary-action,
.settings-toggle,
.google-button,
.nav-control-button,
.nav-auth-button,
.language-option,
.icon-toggle,
.vote-actions button,
.playlist li button,
.playlist-control-button,
.admin-row button,
.admin-video-row button,
.admin-pagination button {
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.secondary-action,
.google-button,
.admin-row button,
.admin-video-row button,
.admin-pagination button,
.playlist-panel-actions .secondary-action {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(0, 240, 200, 0.22);
  color: var(--ink);
}

.secondary-action:hover,
.google-button:hover,
.admin-row button:hover,
.admin-video-row button:hover,
.admin-pagination button:hover,
.playlist-panel-actions .secondary-action:hover {
  background: rgba(0, 240, 200, 0.14);
  border-color: rgba(0, 240, 200, 0.58);
  color: var(--accent);
}

.primary-action:not(:disabled):hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(255, 177, 46, 0.18);
  color: #07121c;
}

button:disabled,
.primary-action:disabled,
.secondary-action:disabled,
.vote-actions button:disabled {
  background: rgba(26, 26, 26, 0.055);
  border-color: rgba(26, 26, 26, 0.12);
  color: rgba(26, 26, 26, 0.42);
  cursor: not-allowed;
  opacity: 1;
}

.vote-actions button {
  background: rgba(255, 177, 46, 0.12);
  border-color: rgba(255, 177, 46, 0.34);
  color: var(--gold);
}

.vote-actions button:not(:disabled):hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #07121c;
}

.playlist li button:hover {
  color: var(--accent);
  text-decoration: underline;
}

.song-ranking-band .split-band {
  margin-top: 0;
}

.motion-reduced .hero-motion-field,
.motion-reduced .hero-motion-field::before {
  animation: none;
}

.motion-reduced .video-card {
  transition: none;
}

@media (max-width: 760px) {
  .community-submit-panel,
  .community-submit-form {
    grid-template-columns: 1fr;
  }

  .community-submit-preview {
    grid-column: 1;
  }

  .community-submit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .community-submit-actions .primary-action {
    width: 100%;
  }

  .classification-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .classification-summary,
  .classification-meta-row,
  .classification-summary .genre-insights {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .classification-summary {
    gap: 10px;
    padding: 14px;
  }

  .classification-summary h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .classification-description,
  .classification-summary .insight-card p {
    font-size: 0.88rem;
  }

  .classification-summary .insight-card {
    padding: 10px;
  }

  .mi-list-toggle {
    width: 100%;
  }

  .mi-list-drawer {
    width: 100%;
  }

  .mi-list-panel {
    grid-template-columns: 1fr;
    max-height: min(72vh, 640px);
    min-height: 0;
    overflow: auto;
  }

  .mi-list-panel .section-heading.compact,
  .mi-list-panel .account-status,
  .mi-list-panel .playlist-name-field,
  .mi-list-panel .playlist-persist-toggle,
  .mi-list-panel .playlist,
  .mi-list-panel .playlist-panel-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .catalog-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-channel-filter {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .catalog-channel-filter select {
    width: 100%;
  }

  .catalog-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-pagination label {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-pagination input,
  .catalog-pagination button {
    width: 100%;
  }

  .video-grid.is-list-view .video-card,
  .video-grid.is-list-view .video-card.is-playing,
  .video-grid.is-list-view .video-card-content {
    grid-template-columns: 1fr;
  }

  .video-grid.is-list-view .video-media {
    max-width: 168px;
  }

  .video-grid.is-list-view .card-actions {
    justify-content: flex-start;
  }

  .playlist-controls {
    grid-template-columns: 1fr;
  }

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

  .hero-playlist-dock {
    bottom: 18px;
    left: 16px;
    max-width: none;
    right: 16px;
    width: auto;
  }

  .classification-dashboard {
    grid-template-columns: 1fr;
  }

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

  .playlist-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .classification-dashboard .list-item-details,
  .classification-dashboard .ranking-item-details {
    grid-template-columns: 1fr;
  }

  .detail-thumb {
    width: min(160px, 100%);
  }

  .sponsor-popover,
  .classification-dashboard .panel:nth-child(3) .sponsor-popover {
    left: 0;
    right: auto;
    top: calc(100% + 8px);
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motion-field,
  .hero-motion-field::before {
    animation: none;
  }

  .video-card {
    transition: none;
  }
}
