* {
  box-sizing: border-box;
}

:root {
  --bg: #08070d;
  --bg-soft: #12101c;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 212, 59, 0.22);
  --text: #ffffff;
  --muted: #b9b4c8;
  --honey: #ffd43b;
  --honey-dark: #ffad0a;
  --orange: #ff7a18;
  --black: #0d0b12;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 212, 59, 0.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 122, 24, 0.14), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(255, 212, 59, 0.08), transparent 35%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(30deg, transparent 48%, #ffd43b 49%, #ffd43b 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, #ffd43b 49%, #ffd43b 51%, transparent 52%);
  background-size: 90px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 7, 13, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 212, 59, 0.18);
}

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

.brand {
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  color: var(--honey);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand span {
  color: white;
}

.brand-icon {
  color: var(--honey);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.18s ease;
}

nav a:hover,
nav a.active {
  background: rgba(255, 212, 59, 0.14);
  color: var(--honey);
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  color: #12101c;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  box-shadow: 0 10px 28px rgba(255, 173, 10, 0.22);
  white-space: nowrap;
}

.user-menu {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--honey);
  box-shadow: 0 0 18px rgba(255, 212, 59, 0.28);
}

main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px;
  flex: 1;
}

footer {
  text-align: center;
  padding: 22px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 212, 59, 0.12);
  background: rgba(8, 7, 13, 0.72);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -2.4px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1px;
}

h3 {
  margin: 0 0 10px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.18s ease;
}

.btn-primary {
  color: #12101c;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  box-shadow: 0 14px 32px rgba(255, 173, 10, 0.25);
}

.btn-secondary {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.1);
  border: 1px solid rgba(255, 212, 59, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.panel,
.hero-content,
.hero-card,
.stat-card,
.step-card,
.reward-card {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}

.home-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-content {
  border-radius: 34px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.hero-content::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 212, 59, 0.28), transparent 65%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 212, 59, 0.13);
  color: var(--honey);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-content p {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-mini-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-mini-stats strong,
.hero-mini-stats span {
  display: block;
}

.hero-mini-stats strong {
  color: var(--honey);
  font-size: 22px;
}

.hero-mini-stats span {
  color: var(--muted);
  margin-top: 4px;
}

.hero-card {
  border-radius: 34px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
}

.big-honey {
  font-size: 120px;
  line-height: 1;
  filter: drop-shadow(0 20px 35px rgba(255, 173, 10, 0.25));
  margin-bottom: 20px;
}

.bee-orbit {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 212, 59, 0.35);
  display: grid;
  place-items: center;
}

.bee-orbit span {
  font-size: 34px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.stat-card {
  border-radius: 26px;
  padding: 22px;
  min-width: 0;
  overflow: hidden;
}

.stat-card span {
  font-size: 24px;
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--honey);
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
}

.stat-card p {
  margin: 8px 0 0;
  font-size: 15px;
}

.stream-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.stream-panel,
.side-chat-panel {
  min-width: 0;
}

.panel {
  border-radius: 30px;
  padding: 26px;
}

.stream-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading span {
  display: inline-block;
  color: var(--honey);
  font-weight: 900;
  margin-bottom: 8px;
}

.section-heading.center {
  text-align: center;
}

.stream-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}

.stream-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stream-status.is-live {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.12);
  border-color: rgba(44, 255, 122, 0.25);
}

.stream-status.is-live span {
  background: #49ff83;
  box-shadow: 0 0 16px rgba(73, 255, 131, 0.9);
}

.stream-status.is-offline {
  color: #ff6b86;
  background: rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.25);
}

.stream-status.is-offline span {
  background: #ff4d6d;
  box-shadow: 0 0 16px rgba(255, 77, 109, 0.7);
}

.stream-meta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.stream-meta-card small {
  display: block;
  color: var(--honey);
  font-weight: 900;
  margin-bottom: 6px;
}

.stream-meta-card strong {
  display: block;
  color: white;
  font-size: 20px;
  line-height: 1.25;
}

.stream-meta-card p {
  margin: 6px 0 0;
  font-size: 15px;
}

.small-btn {
  padding: 11px 14px;
  border-radius: 14px;
  white-space: nowrap;
}

.twitch-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 59, 0.22);
  background: #000;
}

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

.main-player-frame {
  aspect-ratio: 16 / 9;
}

.stream-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.claim-button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 900;
  cursor: not-allowed;
  color: #12101c;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  opacity: 0.55;
}

.claim-button.active {
  opacity: 1;
  cursor: pointer;
}

.claim-button.active:disabled {
  opacity: 0.7;
  cursor: wait;
}

.login-link-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.claim-info {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.side-chat-panel {
  display: flex;
  flex-direction: column;
}

.chat-heading {
  margin-bottom: 16px;
}

.chat-heading h2 {
  font-size: 34px;
}

.chat-heading p {
  margin: 8px 0 0;
  font-size: 15px;
}

.chat-placeholder {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 59, 0.22);
  background: #0e0e10;
}

.chat-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.side-chat {
  flex: 1;
  min-height: 620px;
}

.side-chat iframe {
  height: 100%;
  min-height: 620px;
}

.login-required-card {
  min-height: 620px;
  border-radius: 24px;
  border: 1px solid rgba(255, 212, 59, 0.22);
  background:
    radial-gradient(circle at 30% 10%, rgba(255, 212, 59, 0.14), transparent 35%),
    rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.login-required-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.login-required-card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.login-required-card p {
  max-width: 360px;
  margin-bottom: 20px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.leaderboard {
  display: grid;
  gap: 12px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.leaderboard-rank {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 212, 59, 0.12);
  color: var(--honey);
  font-weight: 900;
}

.leaderboard-user strong,
.leaderboard-user span {
  display: block;
}

.leaderboard-user strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.leaderboard-user span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.leaderboard-points {
  font-weight: 900;
  color: var(--honey);
  font-size: 15px;
  white-space: nowrap;
}

.text-link {
  display: inline-block;
  color: var(--honey);
  font-weight: 900;
  text-decoration: none;
  margin-top: 18px;
}

.compact-leaderboard-panel .section-heading h2 {
  font-size: 34px;
}

.compact-leaderboard {
  gap: 10px;
}

.compact-leaderboard .leaderboard-row {
  grid-template-columns: 52px 1fr auto;
  padding: 12px;
}

.compact-leaderboard .leaderboard-rank {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-info-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.quick-info-item strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  color: var(--black);
  font-weight: 900;
  margin-bottom: 12px;
}

.quick-info-item p {
  margin: 0;
  font-size: 15px;
}

.how-it-works,
.shop-preview {
  margin-top: 24px;
}

.steps-grid,
.reward-grid {
  display: grid;
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reward-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-card,
.reward-card {
  border-radius: 26px;
  padding: 24px;
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  color: var(--black);
  font-weight: 900;
  margin-bottom: 16px;
}

.reward-card span {
  font-size: 34px;
}

.reward-card h3 {
  margin-top: 14px;
}

.empty-dark {
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  color: var(--muted);
}

.hero {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}

.badge {
  display: inline-block;
  background: rgba(255, 212, 59, 0.13);
  color: var(--honey);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255, 212, 59, 0.18);
  border-radius: 22px;
  padding: 22px;
}

.placeholder {
  border: 1px dashed rgba(255, 212, 59, 0.35);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  margin-top: 18px;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(255, 212, 59, 0.18);
}

th,
td {
  padding: 15px;
  text-align: left;
  font-size: 17px;
}

th {
  background: rgba(255, 212, 59, 0.15);
  color: var(--honey);
}

tr:nth-child(even) {
  background: rgba(255,255,255,0.04);
}

tr:nth-child(odd) {
  background: rgba(255,255,255,0.08);
}

.empty {
  text-align: center;
  font-size: 20px;
  padding: 30px;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  border: 1px solid rgba(255, 212, 59, 0.18);
}

@media (max-width: 1150px) {
  .stream-layout {
    grid-template-columns: 1fr;
  }

  .side-chat,
  .side-chat iframe {
    min-height: 520px;
  }

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

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .reward-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .quick-info-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-row,
  .compact-leaderboard .leaderboard-row {
    grid-template-columns: 48px 1fr;
  }

  .leaderboard-points {
    grid-column: 2;
  }

  .side-chat,
  .side-chat iframe {
    min-height: 460px;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  .login-button {
    width: 100%;
  }

  main {
    padding: 28px 16px;
  }

  .hero-content,
  .hero-card,
  .panel {
    border-radius: 24px;
    padding: 24px;
  }

  .hero-mini-stats,
  .stats-grid,
  .reward-grid {
    grid-template-columns: 1fr;
  }

  .stream-top,
  .stream-meta-card,
  .stream-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .small-btn,
  .claim-button {
    width: 100%;
  }
}



/* =========================
   FIXED SHARED PAGE HERO
========================= */
.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  margin-bottom: 24px;
}
.page-hero-content h1 { margin-top: 10px; margin-bottom: 14px; }
.page-hero-content p { max-width: 860px; }
.page-hero-icon {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 62px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 212, 59, 0.18), transparent 55%), rgba(0,0,0,0.22);
  border: 1px dashed rgba(255, 212, 59, 0.35);
}
.stats-table-card {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}
.stats-table-card table { margin-top: 0; }

/* =========================
   FIXED COMMANDS PAGE
========================= */
.commands-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.commands-overview-card {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.commands-overview-card strong {
  display: block;
  color: var(--honey);
  font-size: 18px;
  margin-bottom: 8px;
}
.commands-overview-card span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.commands-section { margin-bottom: 30px; }
.commands-section-header { margin-bottom: 18px; }
.commands-section-kicker { display: inline-block; color: var(--honey); font-weight: 900; margin-bottom: 8px; }
.commands-section-header h2 { margin-bottom: 8px; }
.commands-section-header p { margin: 0; font-size: 16px; }
.commands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.command-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 212, 59, 0.16);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  min-width: 0;
}
.command-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.command-card-top h3 { margin: 0; font-size: 24px; color: white; }
.command-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.command-badge.all { color: #12101c; background: linear-gradient(135deg, var(--honey), var(--orange)); }
.command-badge.mod { color: #ffffff; background: rgba(147, 112, 255, 0.18); border: 1px solid rgba(147, 112, 255, 0.35); }
.command-description { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.command-usage { display: flex; flex-direction: column; gap: 8px; }
.command-usage span { color: var(--honey); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.command-usage code {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* =========================
   FIXED SHOP PAGE
========================= */
.shop-user-panel { margin-bottom: 24px; }
.shop-user-card,
.shop-login-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.shop-user-left { display: flex; align-items: center; gap: 14px; }
.shop-user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--honey);
  box-shadow: 0 0 18px rgba(255, 212, 59, 0.28);
}
.shop-user-card span,
.shop-login-card span,
.shop-balance-preview span {
  display: block;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.shop-user-card strong,
.shop-login-card strong,
.shop-balance-preview strong { color: white; font-size: 20px; }
.shop-balance-preview {
  text-align: right;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}
.shop-message {
  position: sticky;
  top: 86px;
  z-index: 50;
  display: none;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(0,0,0,0.32);
}
.shop-message.success {
  display: block;
  color: #6cff9a;
  background: rgba(44,255,122,0.12);
  border: 1px solid rgba(44,255,122,0.30);
}
.shop-message.error {
  display: block;
  color: #ff8aa0;
  background: rgba(255,77,109,0.13);
  border: 1px solid rgba(255,77,109,0.32);
}
.shop-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.shop-tab {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.07);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  border: 1px solid rgba(255, 212, 59, 0.14);
}
.shop-tab:hover {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.12);
}
.shop-tab.active { color: #12101c; background: linear-gradient(135deg, var(--honey), var(--orange)); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.shop-reward-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 212, 59, 0.16);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  position: relative;
  overflow: hidden;
}
.shop-reward-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 212, 59, 0.13), transparent 70%);
  pointer-events: none;
}
.shop-reward-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; position: relative; z-index: 1; }
.shop-reward-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 30px;
  background: rgba(255, 212, 59, 0.11);
  border: 1px solid rgba(255, 212, 59, 0.22);
}
.shop-reward-badges { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.shop-category,
.shop-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.shop-category { color: var(--honey); background: rgba(255, 212, 59, 0.12); border: 1px solid rgba(255, 212, 59, 0.18); }
.shop-status { color: #6cff9a; background: rgba(44, 255, 122, 0.10); border: 1px solid rgba(44, 255, 122, 0.22); }
.shop-reward-card h3 { font-size: 23px; margin-bottom: 10px; position: relative; z-index: 1; }
.shop-reward-card p { font-size: 15px; line-height: 1.55; margin: 0 0 20px; position: relative; z-index: 1; }
.shop-reward-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.shop-price {
  min-width: 0;
  flex: 1 1 auto;
}
.shop-price > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}
.shop-price-value,
.shop-price strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--honey);
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}
.shop-price-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}
.shop-buy-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 15px;
  padding: 12px 16px;
  font-weight: 900;
  text-decoration: none;
  color: #12101c;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  cursor: not-allowed;
  opacity: 0.72;
  white-space: nowrap;
}
.shop-buy-button.active,
a.shop-buy-button { cursor: pointer; opacity: 1; }
.shop-buy-button:disabled { filter: grayscale(0.25); }
.shop-history-panel {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}
.shop-empty-history {
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px dashed rgba(255, 212, 59, 0.25);
  color: var(--muted);
}
.shop-history-list { display: grid; gap: 12px; }
.shop-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}
.shop-history-item strong,
.shop-history-item span { display: block; }
.shop-history-item span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.shop-history-right { display: flex; align-items: center; gap: 10px; }
.shop-history-price { color: var(--honey) !important; font-weight: 900; font-size: 15px !important; }
.shop-history-status {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--honey) !important;
  background: rgba(255,212,59,0.12);
  border: 1px solid rgba(255,212,59,0.18);
  font-weight: 900;
}

@media (max-width: 1180px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .commands-overview { grid-template-columns: 1fr; }
  .commands-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-icon { width: 82px; height: 82px; font-size: 46px; }
  .stats-table-card { padding: 18px; border-radius: 24px; overflow-x: auto; }
  .shop-user-card,
  .shop-login-card,
  .shop-reward-bottom,
  .shop-history-item,
  .shop-history-right { flex-direction: column; align-items: flex-start; }
  .shop-balance-preview { width: 100%; text-align: left; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-buy-button { width: 100%; text-align: center; }
}

/* =========================
   ADMIN PANEL
========================= */

.admin-locked-panel {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 42px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.admin-locked-icon {
  font-size: 64px;
  margin-bottom: 18px;
}

.admin-locked-panel h2 {
  margin-bottom: 12px;
}

.admin-locked-panel p {
  max-width: 640px;
  margin: 0 auto 24px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  min-width: 0;
}

.admin-stat-card span {
  display: block;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.admin-stat-card strong {
  display: block;
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.admin-stat-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

.admin-message {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 900;
}

.admin-message.success,
.admin-message.error {
  display: block;
}

.admin-message.success {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.12);
  border: 1px solid rgba(44, 255, 122, 0.25);
}

.admin-message.error {
  color: #ff6b86;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.25);
}

.admin-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 24px;
  margin-bottom: 24px;
}

.admin-panel {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  min-width: 0;
}

.admin-wide-panel {
  grid-row: span 2;
}

.admin-redemptions-list {
  display: grid;
  gap: 14px;
}

.admin-redemption-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-redemption-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.7fr 1fr;
  gap: 14px;
  align-items: center;
}

.admin-small-label {
  display: block;
  color: var(--honey);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.admin-redemption-main strong {
  display: block;
  color: white;
  font-size: 15px;
  overflow-wrap: anywhere;
}

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

.admin-action-button {
  border: 0;
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 900;
  cursor: pointer;
}

.admin-action-button.complete {
  color: #12101c;
  background: linear-gradient(135deg, #6cff9a, #35d96d);
}

.admin-action-button.cancel {
  color: white;
  background: rgba(255, 77, 109, 0.16);
  border: 1px solid rgba(255, 77, 109, 0.28);
}

.admin-action-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.admin-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px dashed rgba(255, 212, 59, 0.25);
  color: var(--muted);
}

.admin-empty.small {
  font-size: 14px;
}

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

.admin-list-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-list-row span {
  color: var(--honey);
  font-weight: 900;
}

.admin-list-row strong {
  overflow-wrap: anywhere;
}

.admin-list-row em {
  color: var(--honey);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-status.pending {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.12);
  border: 1px solid rgba(255, 212, 59, 0.22);
}

.admin-status.completed {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.12);
  border: 1px solid rgba(44, 255, 122, 0.25);
}

.admin-status.cancelled {
  color: #ff6b86;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.25);
}

@media (max-width: 1100px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .admin-wide-panel {
    grid-row: auto;
  }

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

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

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

  .admin-panel,
  .admin-locked-panel {
    padding: 22px;
    border-radius: 24px;
  }

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

  .admin-list-row em {
    grid-column: 2;
  }
}

/* =========================
   PROFILE DROPDOWN
========================= */

.profile-menu {
  position: relative;
}

.profile-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  width: 360px;

  background:
    radial-gradient(circle at top right, rgba(255, 184, 40, 0.20), transparent 34%),
    radial-gradient(circle at bottom left, rgba(122, 72, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #211625 0%, #17101d 48%, #100b15 100%);

  border: 1px solid rgba(255, 212, 59, 0.24);
  border-radius: 28px;
  padding: 18px;

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 38px rgba(255, 184, 40, 0.10);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: 0.18s ease;
  z-index: 9999;
}

.profile-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  right: 0;
  width: 100%;
  height: 18px;
}

.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-mini-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}

.profile-mini-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--honey);
  box-shadow: 0 0 22px rgba(255, 212, 59, 0.28);
}

.profile-mini-header span {
  display: block;
  color: var(--honey);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.profile-mini-header strong {
  display: block;
  color: white;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.profile-mini-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.profile-menu-actions {
  display: grid;
  gap: 10px;
}

.profile-menu-button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 17px;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.16s ease;
}

.profile-menu-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 212, 59, 0.10);
  border-color: rgba(255, 212, 59, 0.25);
}

.profile-menu-button > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 212, 59, 0.12);
  border: 1px solid rgba(255, 212, 59, 0.18);
  font-size: 20px;
}

.profile-menu-button strong {
  display: block;
  font-size: 15px;
  color: white;
  margin-bottom: 2px;
}

.profile-menu-button small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.profile-menu-button.danger {
  color: #ff8aa0;
  background: rgba(255, 77, 109, 0.13);
  border-color: rgba(255, 77, 109, 0.30);
}

.profile-menu-button.danger > span {
  background: rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.22);
}

.profile-menu-button.danger strong {
  color: #ff6b86;
}

/* =========================
   ACCOUNT PAGE
========================= */

.account-locked-panel {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 42px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.account-locked-icon {
  font-size: 64px;
  margin-bottom: 18px;
}

.account-locked-panel p {
  max-width: 620px;
  margin: 0 auto 24px;
}

.account-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.14), transparent 36%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 34px;
  margin-bottom: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.account-hero-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.account-avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--honey);
  box-shadow: 0 0 35px rgba(255, 212, 59, 0.25);
}

.account-hero h1 {
  margin: 10px 0 4px;
}

.account-hero p {
  margin: 0;
  color: var(--muted);
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.account-hero-mediky {
  min-width: 220px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255, 212, 59, 0.18);
  text-align: center;
}

.account-hero-mediky span {
  display: block;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.account-hero-mediky strong {
  display: block;
  color: white;
  font-size: clamp(28px, 4vw, 42px);
}

.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.account-stat-card,
.account-panel {
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.30);
}

.account-stat-card {
  border-radius: 24px;
  padding: 22px;
}

.account-stat-card span {
  display: block;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.account-stat-card strong {
  display: block;
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.account-stat-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.account-panel {
  border-radius: 30px;
  padding: 28px;
}

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

.account-info-list div {
  padding: 14px;
  border-radius: 17px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.account-info-list span {
  display: block;
  color: var(--honey);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.account-info-list strong {
  color: white;
  overflow-wrap: anywhere;
}

.account-info-list a {
  color: var(--honey);
  text-decoration: none;
}

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

.account-history-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.account-history-item strong {
  display: block;
  color: white;
}

.account-history-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.account-history-right {
  text-align: right;
}

.account-history-right > span {
  color: var(--honey);
  font-weight: 900;
  margin-bottom: 7px;
}

.account-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
}

.account-status.pending {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.12);
  border: 1px solid rgba(255, 212, 59, 0.22);
}

.account-status.completed {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.12);
  border: 1px solid rgba(44, 255, 122, 0.25);
}

.account-status.cancelled {
  color: #ff6b86;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.25);
}

.account-empty {
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px dashed rgba(255, 212, 59, 0.25);
  color: var(--muted);
}

@media (max-width: 1000px) {
  .account-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .account-hero-mediky {
    min-width: 0;
  }

  .account-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 700px) {
  .profile-dropdown {
    right: -8px;
    left: auto;
    width: min(360px, calc(100vw - 32px));
  }

  .account-hero-left {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .account-history-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-history-right {
    text-align: left;
  }
}

/* =========================
   SHOP EMPTY STATE
========================= */

.shop-empty-state {
  display: none;
  margin-bottom: 28px;
  padding: 38px 26px;
  text-align: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 212, 59, 0.12), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px dashed rgba(255, 212, 59, 0.28);
  box-shadow: 0 24px 80px rgba(0,0,0,0.30);
}

.shop-empty-state-icon {
  font-size: 58px;
  margin-bottom: 14px;
}

.shop-empty-state h2 {
  margin: 0 0 10px;
}

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

/* =========================
   SHOP AUDIO PREVIEW
========================= */

.shop-preview-button {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 212, 59, 0.24);
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--honey);
  background: rgba(255, 212, 59, 0.08);
  font-weight: 900;
  transition: 0.16s ease;
}

.shop-preview-button:hover {
  background: rgba(255, 212, 59, 0.14);
  border-color: rgba(255, 212, 59, 0.38);
  transform: translateY(-1px);
}

.shop-preview-button.playing {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.10);
  border-color: rgba(44, 255, 122, 0.32);
}

.shop-note-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 3, 10, 0.72);
  backdrop-filter: blur(10px);
}

.shop-note-modal.show {
  display: flex;
}

.shop-note-box {
  width: min(560px, 100%);
  position: relative;
  border-radius: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.14), transparent 38%),
    linear-gradient(180deg, #211625 0%, #15101c 100%);
  border: 1px solid rgba(255, 212, 59, 0.24);
  box-shadow: 0 28px 90px rgba(0,0,0,0.65);
}

.shop-note-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.08);
  font-size: 24px;
  line-height: 1;
}

.shop-note-box h2 {
  margin: 12px 0 8px;
}

.shop-note-box p {
  margin-bottom: 18px;
}

.shop-note-box textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid rgba(255, 212, 59, 0.18);
  padding: 16px;
  outline: none;
  color: white;
  background: rgba(0,0,0,0.28);
  font: inherit;
}

.shop-note-box textarea:focus {
  border-color: rgba(255, 212, 59, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 212, 59, 0.08);
}

.shop-note-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.shop-note-footer small {
  color: var(--muted);
}

.shop-note-footer > div {
  display: flex;
  gap: 10px;
}

@media (max-width: 600px) {
  .shop-note-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-note-footer > div {
    flex-direction: column;
  }
}

/* =========================
   STATS PAGE V2
========================= */

.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.stats-overview-card {
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.12), transparent 36%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.30);
}

.stats-overview-card span {
  display: block;
  color: var(--honey);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.stats-overview-card strong {
  display: block;
  color: white;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.stats-overview-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.stats-rankings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.stats-table-card {
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.10), transparent 34%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  min-width: 0;
}

.stats-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.stats-table-card table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.stats-table-card thead {
  background: rgba(255, 212, 59, 0.18);
}

.stats-table-card th {
  color: var(--honey);
  text-align: left;
  padding: 16px 14px;
  font-weight: 900;
}

.stats-table-card td {
  padding: 16px 14px;
  color: white;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.stats-table-card tbody tr {
  background: rgba(255,255,255,0.035);
}

.stats-table-card tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.065);
}

.stats-rank {
  display: inline-flex;
  min-width: 44px;
  color: var(--honey);
  font-weight: 900;
}

.stats-player {
  color: white;
  overflow-wrap: anywhere;
}

.stats-mediky {
  color: var(--honey);
  font-weight: 900;
  white-space: nowrap;
}

.stats-empty-row {
  text-align: center;
  color: var(--muted) !important;
  padding: 28px !important;
}

@media (max-width: 1050px) {
  .stats-rankings-grid,
  .stats-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .stats-table-card {
    padding: 20px;
    border-radius: 24px;
  }

  .stats-table-card th,
  .stats-table-card td {
    padding: 13px 10px;
  }

  .stats-overview-card {
    padding: 22px;
    border-radius: 24px;
  }
}

/* =========================
   ADMIN PROMPT MODAL
========================= */

.admin-action-button.note {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.12);
  border: 1px solid rgba(255, 212, 59, 0.28);
}

.admin-action-button.note:hover {
  background: rgba(255, 212, 59, 0.18);
}

.admin-prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 3, 10, 0.72);
  backdrop-filter: blur(10px);
}

.admin-prompt-modal.show {
  display: flex;
}

.admin-prompt-box {
  width: min(620px, 100%);
  position: relative;
  border-radius: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.14), transparent 38%),
    linear-gradient(180deg, #211625 0%, #15101c 100%);
  border: 1px solid rgba(255, 212, 59, 0.24);
  box-shadow: 0 28px 90px rgba(0,0,0,0.65);
}

.admin-prompt-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.08);
  font-size: 24px;
  line-height: 1;
}

.admin-prompt-box h2 {
  margin: 12px 0 8px;
}

.admin-prompt-box p {
  margin: 0 0 18px;
  color: var(--muted);
}

.admin-prompt-text {
  min-height: 120px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 18px;
  border: 1px solid rgba(255, 212, 59, 0.18);
  padding: 16px;
  color: white;
  background: rgba(0,0,0,0.28);
  line-height: 1.55;
}

.admin-prompt-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

/* =========================
   ACHIEVEMENTS PAGE
========================= */

.achievement-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.achievement-summary-card {
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.11), transparent 36%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}

.achievement-summary-card span,
.achievement-requirement span,
.achievement-progress-top span,
.achievement-reward span {
  display: block;
  color: var(--honey);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.achievement-summary-card strong {
  display: block;
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.achievement-summary-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.achievement-login-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 212, 59, 0.08);
  border: 1px solid rgba(255, 212, 59, 0.22);
}

.achievement-login-panel span {
  display: block;
  color: var(--honey);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.achievement-login-panel strong {
  color: white;
}

.achievement-message {
  display: none;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 900;
}

.achievement-message.success,
.achievement-message.error {
  display: block;
}

.achievement-message.success {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.10);
  border: 1px solid rgba(44, 255, 122, 0.28);
}

.achievement-message.error {
  color: #ff8aa0;
  background: rgba(255, 77, 109, 0.10);
  border: 1px solid rgba(255, 77, 109, 0.28);
}

.achievement-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.achievement-filter {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.06);
  font-weight: 900;
  transition: 0.16s ease;
}

.achievement-filter:hover,
.achievement-filter.active {
  color: #151019;
  background: linear-gradient(135deg, var(--honey), #ff9f1c);
  border-color: rgba(255, 212, 59, 0.55);
}

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

.achievement-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.10), transparent 35%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  transition: 0.18s ease;
}

.achievement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 212, 59, 0.32);
}

.achievement-card.claimed {
  opacity: 0.78;
}

.achievement-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.achievement-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 28px;
  background: rgba(255, 212, 59, 0.12);
  border: 1px solid rgba(255, 212, 59, 0.22);
}

.achievement-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.achievement-badges span,
.achievement-badges em {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.achievement-badges span {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.11);
  border: 1px solid rgba(255, 212, 59, 0.22);
}

.achievement-badges em {
  color: var(--muted);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
}

.achievement-card.completed .achievement-badges em {
  color: #6cff9a;
  background: rgba(44, 255, 122, 0.11);
  border-color: rgba(44, 255, 122, 0.25);
}

.achievement-card.claimed .achievement-badges em {
  color: var(--honey);
  background: rgba(255, 212, 59, 0.11);
  border-color: rgba(255, 212, 59, 0.25);
}

.achievement-card h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 26px;
}

.achievement-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.achievement-requirement {
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
  margin-bottom: 16px;
}

.achievement-requirement strong {
  color: white;
}

.achievement-progress {
  margin-bottom: 18px;
}

.achievement-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.achievement-progress-top strong {
  color: white;
  font-size: 13px;
}

.achievement-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.achievement-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--honey), #ff9f1c);
}

.achievement-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.achievement-reward strong {
  color: white;
  font-size: 20px;
}

.achievement-button {
  border: 0;
  border-radius: 16px;
  padding: 13px 16px;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  font-weight: 900;
  text-decoration: none;
  cursor: not-allowed;
}

.achievement-button.active,
.achievement-button.login {
  color: #151019;
  cursor: pointer;
  background: linear-gradient(135deg, var(--honey), #ff9f1c);
}

.achievement-button.active:hover,
.achievement-button.login:hover {
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .achievement-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 700px) {
  .achievement-summary-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .achievement-login-panel,
  .achievement-card-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .achievement-button {
    width: 100%;
    text-align: center;
  }
}


/* =========================
   MAINTENANCE + ADMIN QUICK ACTIONS
========================= */

.maintenance-lock-page {
  min-height: 64vh;
  display: grid;
  place-items: center;
}

.maintenance-lock-card {
  width: min(760px, 100%);
  text-align: center;
  border-radius: 34px;
  padding: 44px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.16), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.maintenance-lock-icon {
  font-size: 72px;
  margin-bottom: 16px;
}

.maintenance-lock-card h1 {
  margin: 8px 0 16px;
}

.maintenance-lock-card p {
  max-width: 620px;
  margin: 0 auto 24px;
}

.maintenance-lock-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.admin-control-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 24px;
  margin-bottom: 24px;
}

.admin-control-card {
  border-radius: 30px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.10), transparent 36%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.30);
}

.admin-control-card.maintenance.is-on {
  border-color: rgba(255, 77, 109, 0.38);
  background:
    radial-gradient(circle at top right, rgba(255, 77, 109, 0.18), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
}

.admin-control-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-control-heading.compact {
  margin-bottom: 14px;
}

.admin-control-heading span {
  display: block;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}

.admin-control-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}

.admin-control-heading p {
  margin: 8px 0 0;
  font-size: 15px;
}

.admin-control-heading > strong {
  flex: 0 0 auto;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: #151019;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  font-weight: 900;
}

.admin-control-card.maintenance.is-on .admin-control-heading > strong {
  color: white;
  background: rgba(255, 77, 109, 0.18);
  border: 1px solid rgba(255, 77, 109, 0.35);
}

.admin-input-label {
  display: block;
  color: var(--honey);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.admin-control-textarea,
.admin-control-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 59, 0.18);
  outline: none;
  color: white;
  background: rgba(0,0,0,0.24);
  font: inherit;
}

.admin-control-textarea {
  min-height: 104px;
  resize: vertical;
  padding: 14px;
  margin-bottom: 14px;
}

.admin-control-input {
  padding: 13px 14px;
}

.admin-control-textarea:focus,
.admin-control-input:focus {
  border-color: rgba(255, 212, 59, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 212, 59, 0.08);
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.admin-quick-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-quick-box h3 {
  margin: 0;
  color: white;
}

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

@media (max-width: 700px) {
  .maintenance-lock-card,
  .admin-control-card {
    padding: 22px;
    border-radius: 24px;
  }

  .admin-control-heading {
    flex-direction: column;
  }
}

/* =========================
   STREAM RECORDS / ZAZNAMY
========================= */

.records-hero {
  position: relative;
  overflow: hidden;
}

.records-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 212, 59, 0.16), transparent 68%);
  pointer-events: none;
}

.records-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.records-hero-stats div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.records-hero-stats strong,
.records-hero-stats span {
  display: block;
}

.records-hero-stats strong {
  color: var(--honey);
  font-size: 24px;
  line-height: 1.1;
}

.records-hero-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.records-toolbar {
  margin: 28px 0 22px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.10), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.records-toolbar h2 {
  margin: 6px 0 0;
  font-size: clamp(22px, 3vw, 32px);
}

.records-toolbar span {
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.records-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.records-filter-button {
  border: 1px solid rgba(255, 212, 59, 0.18);
  color: var(--text);
  background: rgba(0,0,0,0.22);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.records-filter-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 59, 0.45);
}

.records-filter-button.active {
  color: #171019;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  border-color: transparent;
}

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

.record-card {
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.10), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.record-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 212, 59, 0.34);
  box-shadow: 0 28px 90px rgba(0,0,0,0.38);
}

.record-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 212, 59, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 212, 59, 0.10), rgba(139, 92, 246, 0.10));
}

.record-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

.record-card:hover .record-thumbnail img {
  transform: scale(1.04);
  opacity: 0.9;
}

.record-thumbnail-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 58px;
}

.record-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  color: white;
  background: rgba(0,0,0,0.68);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.record-card-body {
  padding: 22px;
}

.record-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.record-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.record-card h2 a {
  color: white;
  text-decoration: none;
}

.record-card p {
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.record-tags,
.record-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.record-tags span,
.record-detail-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--honey);
  background: rgba(255, 212, 59, 0.08);
  border: 1px solid rgba(255, 212, 59, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.record-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  width: 100%;
  min-height: 46px;
  border-radius: 16px;
  color: #171019;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  box-shadow: 0 14px 32px rgba(255, 176, 0, 0.18);
}

.records-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px;
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.records-empty > div {
  font-size: 56px;
  margin-bottom: 12px;
}

.records-empty.small {
  padding: 22px;
  border-radius: 22px;
}

.records-empty.small > div {
  font-size: 34px;
}

.record-detail-hero {
  margin-bottom: 22px;
}

.record-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--honey);
  text-decoration: none;
  font-weight: 900;
}

.record-detail-heading {
  padding: 30px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.13), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.record-detail-heading h1 {
  margin: 10px 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.record-detail-heading p {
  margin: 0;
  color: var(--muted);
}

.record-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: start;
}

.record-player-panel,
.record-chapters-panel,
.record-related-panel,
.record-description-panel {
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.08), transparent 36%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}

.record-player-panel {
  overflow: hidden;
}

.record-player-frame {
  aspect-ratio: 16 / 9;
  background: #05050a;
}

.record-youtube-player,
.record-youtube-player iframe,
#recordsYoutubePlayer {
  width: 100%;
  height: 100%;
}

.record-video-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.record-video-placeholder > div {
  font-size: 60px;
  margin-bottom: 12px;
}

.record-video-placeholder h2 {
  margin: 0 0 8px;
}

.record-video-placeholder p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.record-description-panel {
  margin: 0;
  padding: 24px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
  background: rgba(255,255,255,0.025);
}

.record-description-panel h2 {
  margin: 0 0 10px;
}

.record-description-panel p {
  margin: 0;
  color: var(--muted);
}

.record-chapters-panel {
  padding: 24px;
  position: sticky;
  top: 18px;
}

.record-chapters-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.record-chapter-button {
  width: 100%;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  background: rgba(0,0,0,0.22);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.record-chapter-button:hover,
.record-chapter-button.active {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 59, 0.35);
  background: rgba(255, 212, 59, 0.08);
}

.record-chapter-time {
  color: #171019;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  border-radius: 999px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.record-chapter-main {
  display: grid;
  gap: 4px;
}

.record-chapter-main strong {
  line-height: 1.15;
}

.record-chapter-main em {
  color: var(--honey);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.record-chapter-main small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.record-related-panel {
  margin-top: 24px;
  padding: 24px;
}

.record-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.record-related-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  color: white;
  text-decoration: none;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .18s ease, border-color .18s ease;
}

.record-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 59, 0.35);
}

.record-related-card > span {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 212, 59, 0.10);
}

.record-related-card strong,
.record-related-card small {
  display: block;
}

.record-related-card small {
  color: var(--muted);
  margin-top: 4px;
}

.records-not-found {
  min-height: 55vh;
  display: grid;
  place-items: center;
}

@media (max-width: 1120px) {
  .records-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .record-chapters-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .records-toolbar,
  .record-detail-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .records-filters {
    justify-content: flex-start;
  }

  .records-grid,
  .record-related-grid,
  .records-hero-stats {
    grid-template-columns: 1fr;
  }

  .record-chapter-button {
    grid-template-columns: 1fr;
  }

  .record-chapter-time {
    width: fit-content;
    padding: 0 12px;
  }
}

/* Menší nadpis na detaile záznamu */
.record-detail-heading h1 {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 1.08 !important;
  max-width: 920px;
}

@media (max-width: 760px) {
  .record-detail-heading h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
  }
}

/* Ešte menší nadpis na detaile záznamu */
.record-detail-heading h1 {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  line-height: 1.12 !important;
  max-width: 860px;
}

@media (max-width: 760px) {
  .record-detail-heading h1 {
    font-size: clamp(23px, 7vw, 30px) !important;
  }
}

/* Menší text v sekcii O zázname */
.record-description-panel {
  padding: 20px 24px !important;
}

.record-description-panel h2 {
  font-size: clamp(26px, 3vw, 34px) !important;
  line-height: 1.1 !important;
  margin-bottom: 10px !important;
}

.record-description-panel p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* Vrátenie textu v sekcii O zázname späť */
.record-description-panel {
  padding: 24px !important;
}

.record-description-panel h2 {
  font-size: unset !important;
  line-height: unset !important;
  margin: 0 0 10px !important;
}

.record-description-panel p {
  font-size: unset !important;
  line-height: unset !important;
}

/* Menší nadpis v boxe kapitol */
.record-chapters-panel .section-heading h2 {
  font-size: clamp(24px, 2.3vw, 32px) !important;
  line-height: 1.12 !important;
  margin-top: 6px !important;
  margin-bottom: 12px !important;
}

.record-chapters-panel .section-heading p {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* Väčšie a čitateľnejšie texty v kartách kapitol */
.record-chapter-button {
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 15px 16px !important;
}

.record-chapter-main {
  min-width: 0 !important;
  gap: 3px !important;
}

.record-chapter-main strong {
  display: block !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.record-chapter-main em {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.record-chapter-main small {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.record-chapter-time {
  min-width: 78px !important;
  font-size: 12px !important;
}

/* =========================
   NOTIFICATIONS BELL
========================= */

.notifications-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.notification-bell-button {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 212, 59, 0.18);
  border-radius: 999px;
  color: var(--honey);
  background:
    radial-gradient(circle at top, rgba(255, 212, 59, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.045);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.notification-bell-button:hover,
.notification-bell-button.has-unread {
  transform: translateY(-2px);
  border-color: rgba(255, 212, 59, 0.45);
  background:
    radial-gradient(circle at top, rgba(255, 212, 59, 0.24), transparent 62%),
    rgba(255, 212, 59, 0.08);
}

.notification-bell-icon {
  font-size: 20px;
  line-height: 1;
}

.notification-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #171019;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  border: 2px solid rgba(10, 8, 13, 0.95);
  font-size: 11px;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-badge.hidden {
  display: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(390px, calc(100vw - 28px));
  max-height: 520px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.12), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(18, 14, 24, 0.96));
  border: 1px solid rgba(255, 212, 59, 0.18);
  box-shadow: 0 28px 90px rgba(0,0,0,0.52);
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.notification-panel.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.notification-panel-header {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.notification-panel-header span {
  display: block;
  color: var(--honey);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.notification-panel-header strong {
  display: block;
  color: white;
  font-size: 20px;
  line-height: 1.1;
}

.notification-panel-header button {
  border: 1px solid rgba(255, 212, 59, 0.18);
  border-radius: 999px;
  color: var(--honey);
  background: rgba(0,0,0,0.22);
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.notification-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px;
}

.notification-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.notification-item {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: white;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.notification-item:hover,
.notification-item.unread {
  background: rgba(255, 212, 59, 0.07);
  border-color: rgba(255, 212, 59, 0.16);
}

.notification-item:hover {
  transform: translateY(-1px);
}

.notification-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 212, 59, 0.10);
  font-size: 19px;
}

.notification-item-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.notification-item-content strong {
  color: white;
  font-size: 14px;
  line-height: 1.2;
}

.notification-item-content em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-item-content small {
  color: var(--honey);
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .notifications-menu {
    margin-left: 4px;
  }

  .notification-bell-button {
    width: 42px;
    height: 42px;
  }

  .notification-panel {
    right: -58px;
  }
}

/* =========================
   NOTIFICATIONS PANEL - SOLID PROFILE STYLE
========================= */

.notification-panel {
  position: absolute !important;
  top: calc(100% + 14px) !important;
  right: 0 !important;
  width: min(390px, calc(100vw - 28px)) !important;
  max-height: 520px !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255, 191, 73, 0.35) !important;
  background:
    linear-gradient(180deg, rgba(42, 29, 36, 0.99) 0%, rgba(24, 17, 27, 0.99) 100%) !important;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  z-index: 1200 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.notification-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255, 191, 73, 0.10) 0%,
      transparent 32%,
      transparent 68%,
      rgba(255, 120, 60, 0.07) 100%
    );
  opacity: 1;
}

.notification-panel > * {
  position: relative;
  z-index: 1;
}

.notification-panel-header {
  padding: 20px 22px 14px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

.notification-panel-header span {
  display: block !important;
  color: var(--honey) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 4px !important;
}

.notification-panel-header strong {
  display: block !important;
  color: white !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
}

.notification-panel-header button {
  border: 1px solid rgba(255, 212, 59, 0.20) !important;
  border-radius: 999px !important;
  color: var(--honey) !important;
  background: rgba(0, 0, 0, 0.24) !important;
  padding: 8px 12px !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}

.notification-panel-header button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 212, 59, 0.42) !important;
  background: rgba(255, 212, 59, 0.08) !important;
}

.notification-list {
  max-height: 420px !important;
  overflow-y: auto !important;
  padding: 12px 14px 14px !important;
}

.notification-empty {
  padding: 22px 16px !important;
  text-align: center !important;
  border-radius: 18px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.notification-item {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 14px !important;
  margin-bottom: 10px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 191, 73, 0.14) !important;
  color: white !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.026) 100%) !important;
  cursor: pointer !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}

.notification-item:hover,
.notification-item.unread {
  transform: translateY(-1px);
  border-color: rgba(255, 191, 73, 0.32) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.035) 100%) !important;
}

.notification-item-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 18px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 212, 59, 0.12) !important;
  border: 1px solid rgba(255, 212, 59, 0.12) !important;
  font-size: 20px !important;
}

.notification-item-content {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

.notification-item-content strong {
  color: white !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.notification-item-content em {
  color: rgba(255, 255, 255, 0.72) !important;
  font-style: normal !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.notification-item-content small {
  color: var(--honey) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {
  .notification-panel {
    right: -58px !important;
    width: min(360px, calc(100vw - 22px)) !important;
  }
}

/* =========================
   RECORD VIDEO OPACITY / OVERLAY FIX
========================= */

.record-player-panel {
  position: relative !important;
  overflow: hidden !important;
  background: #05050a !important;
}

.record-player-frame {
  position: relative !important;
  z-index: 5 !important;
  background: #000 !important;
  opacity: 1 !important;
  isolation: isolate !important;
}

.record-player-frame::before,
.record-player-frame::after,
.record-player-panel::before,
.record-player-panel::after {
  display: none !important;
  content: none !important;
}

.record-youtube-player,
.record-youtube-player iframe,
#recordsYoutubePlayer,
#recordsYoutubePlayer iframe {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: #000 !important;
}

.record-player-frame iframe {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background: #000 !important;
}

/* =========================
   ACTIVE BOOST BAR
========================= */

.boost-status-bar {
  width: 100%;
  padding: 10px 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 212, 59, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(31, 23, 34, 0.98), rgba(48, 33, 30, 0.98));
  border-bottom: 1px solid rgba(255, 212, 59, 0.22);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
  position: relative;
  z-index: 40;
}

.boost-status-bar.hidden {
  display: none;
}

.boost-status-inner {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.boost-status-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.boost-status-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #171019;
  background: linear-gradient(135deg, var(--honey), var(--orange));
  box-shadow: 0 12px 26px rgba(255, 176, 0, 0.24);
}

.boost-status-main strong {
  display: block;
  color: white;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
}

.boost-status-main p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.25;
}

.boost-status-queue {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.boost-status-queue span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--honey);
  background: rgba(255, 212, 59, 0.08);
  border: 1px solid rgba(255, 212, 59, 0.18);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .boost-status-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .boost-status-queue {
    justify-content: flex-start;
  }
}

/* =========================
   ACTIVE BOOST BAR - GREEN COMPACT
========================= */

.boost-status-bar {
  position: sticky !important;
  top: 78px !important;
  z-index: 60 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(90deg, #166534 0%, #15803d 45%, #166534 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

.boost-status-bar.hidden {
  display: none !important;
}

.boost-status-inner {
  width: min(1180px, calc(100vw - 28px)) !important;
  margin: 0 auto !important;
  min-height: 52px !important;
  padding: 9px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.boost-status-left {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.boost-status-left strong {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.boost-status-left p {
  margin: 2px 0 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.boost-status-right {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#boostStatusTime {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 94px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .boost-status-bar {
    top: 74px !important;
  }

  .boost-status-inner {
    width: min(100%, calc(100vw - 24px)) !important;
    padding: 9px 0 !important;
  }

  .boost-status-left strong {
    font-size: 14px !important;
  }

  .boost-status-left p {
    font-size: 12px !important;
  }

  #boostStatusTime {
    min-width: 78px !important;
    font-size: 13px !important;
    padding: 7px 12px !important;
  }
}

@media (max-width: 640px) {
  .boost-status-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .boost-status-right {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* =========================
   HOME OFFLINE PLAYER + CHAT LOCK
========================= */

.home-offline-lock-target {
  position: relative !important;
  overflow: hidden !important;
}

.home-offline-lock-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 30 !important;
  display: grid !important;
  place-items: center !important;
  padding: 22px !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 212, 59, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(20, 15, 24, 0.98), rgba(38, 27, 26, 0.98)) !important;
  border-radius: inherit !important;
  text-align: center !important;
}

.home-offline-player-card {
  width: min(620px, 100%) !important;
  padding: 34px !important;
  border-radius: 32px !important;
  border: 1px solid rgba(255, 212, 59, 0.22) !important;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.14), transparent 42%),
    rgba(255,255,255,0.045) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34) !important;
}

.home-offline-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  color: #171019 !important;
  background: linear-gradient(135deg, var(--honey), var(--orange)) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.home-offline-player-card h2 {
  margin: 16px 0 10px !important;
  color: white !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  line-height: 1.05 !important;
}

.home-offline-category {
  display: inline-flex !important;
  margin-bottom: 16px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  color: var(--honey) !important;
  background: rgba(255, 212, 59, 0.08) !important;
  border: 1px solid rgba(255, 212, 59, 0.16) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.home-offline-date {
  display: block !important;
  color: white !important;
  font-size: clamp(18px, 2.4vw, 26px) !important;
  line-height: 1.2 !important;
}

.home-offline-countdown {
  color: var(--honey) !important;
  font-weight: 950 !important;
  margin: 10px 0 0 !important;
}

.home-offline-player-card p {
  max-width: 520px !important;
  margin: 14px auto 0 !important;
  color: rgba(255,255,255,0.76) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.home-offline-chat-overlay {
  background:
    radial-gradient(circle at top, rgba(255, 212, 59, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(34, 24, 33, 0.99), rgba(16, 12, 20, 0.99)) !important;
}

.home-offline-chat-card {
  width: min(300px, 100%) !important;
  padding: 26px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(255, 212, 59, 0.20) !important;
  background: rgba(255,255,255,0.045) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.30) !important;
}

.home-offline-chat-icon {
  width: 62px !important;
  height: 62px !important;
  margin: 0 auto 14px !important;
  border-radius: 22px !important;
  display: grid !important;
  place-items: center !important;
  color: #171019 !important;
  background: linear-gradient(135deg, var(--honey), var(--orange)) !important;
  font-size: 26px !important;
}

.home-offline-chat-card h3 {
  margin: 0 0 10px !important;
  color: white !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.home-offline-chat-card p {
  margin: 0 !important;
  color: rgba(255,255,255,0.76) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.home-offline-chat-card small {
  display: block !important;
  margin-top: 12px !important;
  color: var(--honey) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

/* =========================
   ADMIN STREAM SCHEDULE CARD
========================= */

.admin-stream-schedule-card {
  margin: 0 0 24px !important;
  padding: 26px !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.11), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045)) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,0.30) !important;
}

.admin-stream-schedule-heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.admin-stream-schedule-heading span {
  display: block !important;
  color: var(--honey) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
}

.admin-stream-schedule-heading h2 {
  margin: 0 !important;
  color: white !important;
  font-size: clamp(24px, 3vw, 34px) !important;
}

.admin-stream-schedule-heading p {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
}

.admin-stream-toggle {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 10px 13px !important;
  border-radius: 999px !important;
  color: var(--honey) !important;
  background: rgba(255, 212, 59, 0.08) !important;
  border: 1px solid rgba(255, 212, 59, 0.16) !important;
  cursor: pointer !important;
}

.admin-stream-toggle input {
  accent-color: #facc15 !important;
}

.admin-stream-schedule-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.admin-stream-schedule-grid label {
  display: grid !important;
  gap: 8px !important;
}

.admin-stream-schedule-grid label span {
  color: var(--honey) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.admin-stream-schedule-grid input {
  width: 100% !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 212, 59, 0.18) !important;
  outline: none !important;
  color: white !important;
  background: rgba(0,0,0,0.24) !important;
  font: inherit !important;
  padding: 13px 14px !important;
}

.admin-stream-schedule-grid input:focus {
  border-color: rgba(255, 212, 59, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(255, 212, 59, 0.08) !important;
}

.admin-stream-schedule-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

#adminNextStreamMessage {
  margin: 0 !important;
  font-weight: 900 !important;
}

#adminNextStreamMessage.success {
  color: #4ade80 !important;
}

#adminNextStreamMessage.error {
  color: #fb7185 !important;
}

@media (max-width: 760px) {
  .admin-stream-schedule-heading,
  .admin-stream-schedule-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .admin-stream-schedule-grid {
    grid-template-columns: 1fr !important;
  }

  .home-offline-player-card {
    padding: 24px !important;
  }
}

/* =========================
   HOME OFFLINE RESTING SIMPLE
========================= */

/* Odstráni zbytočný text pod nadpisom Chat */
.chat-heading p {
  display: none !important;
}

/* Kompaktnejší offline overlay v playeri */
.home-offline-player-overlay {
  padding: 14px !important;
  align-items: center !important;
}

.home-offline-player-card.mediky-resting-card {
  width: min(500px, 92%) !important;
  max-width: 500px !important;
  max-height: calc(100% - 22px) !important;
  overflow: hidden !important;
  padding: 20px 22px !important;
  border-radius: 24px !important;
  text-align: center !important;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.12), transparent 40%),
    rgba(20, 16, 22, 0.94) !important;
  border: 1px solid rgba(255, 212, 59, 0.20) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(8px) !important;
}

.home-offline-player-card.mediky-resting-card .home-offline-badge {
  margin-bottom: 12px !important;
  padding: 7px 13px !important;
  min-height: 30px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.home-offline-player-card.mediky-resting-card h2 {
  margin: 0 0 14px !important;
  color: #ffffff !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: -0.6px !important;
}

.resting-next-box {
  width: min(390px, 100%) !important;
  margin: 0 auto !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 212, 59, 0.15) !important;
}

.resting-next-box span {
  display: block !important;
  margin-bottom: 6px !important;
  color: var(--honey) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.45px !important;
}

.resting-next-box strong {
  display: block !important;
  color: #ffffff !important;
  font-size: clamp(15px, 1.7vw, 20px) !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.resting-next-box em {
  display: inline-flex !important;
  margin-top: 10px !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  color: #171019 !important;
  background: linear-gradient(135deg, var(--honey), var(--orange)) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

.resting-next-box small {
  display: block !important;
  margin-top: 9px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

/* Skryje staré paragraph texty v offline karte, keby ich niečo znova doplnilo */
.home-offline-player-card.mediky-resting-card p,
.home-offline-player-card.mediky-resting-card .home-offline-category,
.home-offline-player-card.mediky-resting-card .home-offline-date,
.home-offline-player-card.mediky-resting-card .home-offline-countdown {
  display: none !important;
}

@media (max-width: 760px) {
  .home-offline-player-card.mediky-resting-card {
    width: 94% !important;
    padding: 17px !important;
    border-radius: 20px !important;
  }

  .home-offline-player-card.mediky-resting-card h2 {
    font-size: 26px !important;
  }

  .resting-next-box {
    padding: 12px 13px !important;
  }

  .resting-next-box strong {
    font-size: 15px !important;
  }
}

/* =========================
   HOME STREAM / CHAT HEADING CLEANUP
========================= */

.home-simple-heading {
  margin-bottom: 18px !important;
}

.home-simple-heading-title-hidden {
  display: none !important;
}

.home-simple-heading-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--honey) !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.35px !important;
  text-transform: none !important;
}

.home-simple-heading-label::first-letter {
  font-size: 1.08em !important;
}

@media (max-width: 760px) {
  .home-simple-heading {
    margin-bottom: 14px !important;
  }

  .home-simple-heading-label {
    font-size: clamp(20px, 6vw, 26px) !important;
  }
}

/* =========================
   ADMIN ANALYTICS CARD
========================= */

.admin-analytics-card {
  margin: 0 0 24px !important;
  padding: 26px !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 59, 0.11), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.045)) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,0.30) !important;
}

.admin-analytics-heading {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.admin-analytics-heading span,
.admin-analytics-subheading span {
  display: block !important;
  color: var(--honey) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
}

.admin-analytics-heading h2 {
  margin: 0 !important;
  color: white !important;
  font-size: clamp(24px, 3vw, 34px) !important;
}

.admin-analytics-heading p {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
}

.admin-analytics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.admin-analytics-stat {
  padding: 18px !important;
  border-radius: 22px !important;
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.admin-analytics-stat span {
  display: block !important;
  color: var(--honey) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

.admin-analytics-stat strong {
  display: block !important;
  color: white !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1 !important;
}

.admin-analytics-stat p {
  margin: 8px 0 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.admin-analytics-records {
  margin-top: 20px !important;
}

.admin-analytics-record {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 13px !important;
  align-items: center !important;
  padding: 14px !important;
  margin-top: 10px !important;
  border-radius: 18px !important;
  color: white !important;
  text-decoration: none !important;
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  transition: transform .18s ease, border-color .18s ease !important;
}

.admin-analytics-record:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 212, 59, 0.30) !important;
}

.admin-analytics-record > span {
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  color: #171019 !important;
  background: linear-gradient(135deg, var(--honey), var(--orange)) !important;
  font-weight: 950 !important;
}

.admin-analytics-record strong,
.admin-analytics-record small {
  display: block !important;
}

.admin-analytics-record strong {
  color: white !important;
  line-height: 1.2 !important;
}

.admin-analytics-record small {
  margin-top: 5px !important;
  color: var(--muted) !important;
}

.admin-analytics-empty {
  margin-top: 10px !important;
  padding: 18px !important;
  border-radius: 18px !important;
  color: var(--muted) !important;
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

@media (max-width: 1100px) {
  .admin-analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .admin-analytics-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-analytics-card {
    padding: 20px !important;
  }
}

