:root {
  color-scheme: dark;
  font-family: 'Inter', 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: #020617;
  --card: rgba(15, 23, 42, 0.78);
  --card-border: rgba(226, 232, 240, 0.12);
  --text: #f8fafc;
  --muted: #cbd5f5;
  --accent: #8b5cf6;
  --accent-strong: #a855f7;
  --success: #34d399;
  --danger: #fb7185;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: var(--bg);
  background-image: linear-gradient(135deg, rgba(2, 8, 23, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%), url('/background.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before,
body::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body::before {
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.2), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(248, 113, 113, 0.2), transparent 40%);
  filter: blur(45px);
  animation: pulse 14s ease-in-out infinite alternate;
}

body::after {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.35));
}

main {
  width: min(520px, 100%);
  position: relative;
  z-index: 1;
}

.card {
  position: relative;
  background: var(--card);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 80px rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  animation: float 16s ease-in-out infinite alternate;
  isolation: isolate;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.2), transparent 45%),
    radial-gradient(circle at 70% 0%, rgba(14, 165, 233, 0.15), transparent 55%);
  opacity: 0.7;
  z-index: -1;
}

.card h1,
.card h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card--wide {
  width: min(860px, 100%);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: fadeSlide 0.8s ease both;
}

label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(203, 213, 225, 0.9);
}

input {
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35);
}

textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35);
}

button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.95rem 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.35);
}

button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 45%);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 35px rgba(99, 102, 241, 0.45);
}

button:hover::after {
  transform: translateX(100%);
}

button.secondary {
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: none;
}

button.danger {
  background: linear-gradient(120deg, #fb7185, #f43f5e);
  box-shadow: 0 12px 24px rgba(248, 113, 113, 0.3);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#player {
  width: 100%;
  border-radius: 24px;
  background: #000;
  min-height: clamp(240px, 45vw, 360px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.video-shell {
  position: relative;
  border-radius: 28px;
  padding: 0.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.35), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: inset 0 0 30px rgba(15, 23, 42, 0.9);
}

ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

li {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  animation: fadeSlide 0.4s ease both;
}

.stream-info {
  flex: 1;
}

.stream-info small {
  color: rgba(203, 213, 225, 0.75);
}

.stream-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.status {
  min-height: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  animation: fadeSlide 0.3s ease;
  white-space: pre-line;
}

/* Zeilenumbrüche aus Settings (\n) anzeigen */
.multiline {
  white-space: pre-line;
}

/* Consent-Banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--card);
  border-top: 1px solid var(--card-border);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 -10px 40px rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(18px);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  max-width: 100%;
}

.consent-banner--visible {
  transform: translateY(0);
}

.consent-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .consent-banner__content {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.consent-banner__text {
  flex: 1;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

.consent-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-banner__text a:hover {
  color: var(--accent-strong);
}

.consent-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.consent-banner__button {
  padding: 0.625rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.consent-banner__accept {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.consent-banner__accept:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-1px);
}

.consent-banner__reject,
.consent-banner__settings {
  background: transparent;
  color: var(--muted);
  border-color: var(--card-border);
}

.consent-banner__reject:hover,
.consent-banner__settings:hover {
  background: rgba(226, 232, 240, 0.05);
  color: var(--text);
  border-color: var(--card-border);
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--danger);
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--text);
}

.panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel.disabled {
  opacity: 0.55;
  filter: saturate(0.7);
  pointer-events: none;
}

/* License Card (Admin) */
.license-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.25);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.license-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.license-card__headline {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--text);
}

.license-card__sub {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.license-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.kv-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
}

.kv-grid dt {
  color: rgba(203, 213, 225, 0.85);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.kv-grid dd {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.92em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.96);
  white-space: nowrap;
}

.pill--success {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
  color: rgba(167, 243, 208, 0.98);
}

.pill--danger {
  border-color: rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.12);
  color: rgba(254, 205, 211, 0.98);
}

.pill--muted {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.10);
  color: rgba(226, 232, 240, 0.92);
}

.license-alert {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.35);
  color: var(--muted);
}

.license-alert--danger {
  border-color: rgba(251, 113, 133, 0.25);
  background: rgba(251, 113, 133, 0.08);
  color: rgba(254, 205, 211, 0.95);
}

.license-footnote {
  color: rgba(203, 213, 225, 0.75);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .kv-grid {
    grid-template-columns: 1fr;
  }
}

.stepper {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.35);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
}

.step .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
}

.step.done {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
}

.step.done .dot {
  background: rgba(52, 211, 153, 0.9);
}

.step.active {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
}

.preview-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.preview-card {
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.panel-title h2 {
  margin: 0;
}

.panel-title p {
  margin: 0;
  color: rgba(203, 213, 225, 0.75);
  font-size: 0.95rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.admin-nav {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-button {
  width: 100%;
  text-align: left;
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-button:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
}

.nav-button.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
}

.nav-button strong {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-button small {
  color: rgba(203, 213, 225, 0.75);
}

.admin-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.9);
}

.hidden {
  display: none;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

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

@keyframes pulse {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  body {
    padding: 1rem;
  }

  .card {
    padding: 1.5rem;
    border-radius: 20px;
  }

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

  button {
    width: 100%;
  }
}

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

/* ===== Trauerseite Theme (nur Login-Frontseite) ===== */
.theme-mourning {
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #05070b, #0b0f18);
  color: rgba(248, 250, 252, 0.92);
}

.theme-mourning::before {
  animation: none;
  filter: blur(0px);
  opacity: 0.25;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
}

.theme-mourning::after {
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
}

.card--mourning {
  animation: fadeSlide 0.6s ease both;
  background: rgba(7, 10, 16, 0.78);
  border-color: rgba(226, 232, 240, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.card--mourning::before {
  opacity: 0.35;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04), transparent 55%);
}

.mourning-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mourning-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding-bottom: 0.25rem;
}

.mourning-logo {
  width: min(300px, 80vw);
  max-height: 300px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.98;
}

.mourning-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.theme-mourning h1,
.theme-mourning h2 {
  font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;
  letter-spacing: -0.01em;
}

.badge--mourning {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.16);
  color: rgba(248, 250, 252, 0.9);
}

.mourning-form label {
  color: rgba(226, 232, 240, 0.75);
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  color: rgba(226, 232, 240, 0.7);
  pointer-events: none;
}

.input-shell input {
  padding-left: 2.6rem;
}

.theme-mourning input {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(226, 232, 240, 0.18);
}

.theme-mourning input:focus {
  border-color: rgba(226, 232, 240, 0.35);
  box-shadow: 0 0 0 2px rgba(226, 232, 240, 0.12);
}

.btn--mourning {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(226, 232, 240, 0.18);
  box-shadow: none;
}

.btn--mourning:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.status--mourning {
  color: rgba(226, 232, 240, 0.78);
}

.mourning-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mourning-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.18), transparent);
}

.theme-mourning .legal-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(226, 232, 240, 0.65);
  font-size: 0.92rem;
}

.theme-mourning .legal-links a {
  color: rgba(226, 232, 240, 0.8);
}

.theme-mourning .legal-links a:hover {
  color: rgba(248, 250, 252, 0.95);
}

/* Landing (neutral) */
.landing-card {
  animation: fadeSlide 0.6s ease both;
}

.landing-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding-bottom: 0.25rem;
  width: 100%;
}

/* Landing-Logo als Header-Bild */
.landing-card .landing-logo {
  width: 100%;
  max-width: 100%;
  height: clamp(140px, 18vw, 240px);
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.35);
  filter: none;
}

.landing-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
  color: rgba(226, 232, 240, 0.95);
  font-weight: 650;
  letter-spacing: 0.02em;
}

.landing-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start; /* verhindert, dass Badge/Button-ähnliche Elemente auf volle Breite gestreckt werden */
}

.landing-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.landing-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), transparent);
}

.access-card {
  max-width: 720px;
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Access (pro) */
.access-card--pro {
  gap: 1.25rem;
}

.access-top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.access-logo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.35);
}

.access-top__text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.access-description {
  margin: 0;
}

.access-panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.access-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

@media (max-width: 720px) {
  .access-top {
    grid-template-columns: 1fr;
  }
  .access-logo {
    height: 180px;
  }
}

/* Player */
.player-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.player-titleblock {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.player-hint {
  margin: 0;
  color: rgba(203, 213, 225, 0.8);
  font-size: 0.95rem;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(148, 163, 184, 0.18);
  color: var(--text);
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.35);
  text-decoration: none;
}

@media (max-width: 640px) {
  .player-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .link-button {
    width: 100%;
  }
}
