:root {
  --nrg-red: #d40000;
  --nrg-red-2: #ff1d1d;
  --nrg-yellow: #f3c400;
  --nrg-black: #030303;
  --nrg-panel: rgba(18, 18, 20, .78);
  --nrg-panel-2: rgba(255, 255, 255, .075);
  --nrg-border: rgba(255, 255, 255, .12);
  --nrg-text: #f8fafc;
  --nrg-muted: rgba(248, 250, 252, .68);
  --nrg-radius: 30px;
  --bottom-nav-height: 82px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  background: var(--nrg-black);
}

body {
  margin: 0;
  color: var(--nrg-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.app-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% -10%, rgba(212, 0, 0, .46), transparent 35%),
    radial-gradient(circle at 88% 18%, rgba(243, 196, 0, .18), transparent 28%),
    radial-gradient(circle at 10% 70%, rgba(212, 0, 0, .24), transparent 32%),
    linear-gradient(180deg, #050505, #111111 46%, #030303);
}

.app-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at top, #000, transparent 74%);
}

.app-shell {
  max-width: 1040px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-nav-height) + 104px + env(safe-area-inset-bottom));
}

.top-hero {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, rgba(3,3,3,.96), rgba(3,3,3,.68) 72%, transparent);
  backdrop-filter: blur(18px);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 19px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.app-title {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 950;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--nrg-muted);
  font-size: .60rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.page {
  display: none;
  animation: pageIn .22s ease both;
}

.page.active {
  display: block;
}

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

.hero-card,
.player-card,
.section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nrg-border);
  border-radius: var(--nrg-radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045)),
    rgba(4,4,6,.76);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  backdrop-filter: blur(24px);
}

.hero-card {
  padding: clamp(1rem, 4vw, 2.1rem);
  min-height: 450px;
}

.hero-card-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle, rgba(212,0,0,.52), transparent 68%);
  pointer-events: none;
}

.player-card,
.section-card {
  padding: clamp(1rem, 4vw, 2rem);
}

.cover-stage {
  position: relative;
  width: min(78vw, 350px);
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  padding: 10px;
  margin-inline: auto;
  background: linear-gradient(135deg, rgba(243,196,0,.56), rgba(212,0,0,.9), rgba(255,255,255,.12));
  box-shadow:
    0 30px 65px rgba(0,0,0,.55),
    0 0 80px rgba(212, 0, 0, .30);
}

.player-art-stage {
  width: min(72vw, 330px);
}

.cover-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  background: #050505;
}

.live-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}

.live-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 16px #22c55e;
  animation: pulse 1.4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(.82); opacity: .62; }
  50% { transform: scale(1.18); opacity: 1; }
}

.track-title {
  font-size: clamp(2.1rem, 7vw, 4.8rem);
  line-height: .92;
  font-weight: 950;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.player-title {
  font-size: clamp(1.8rem, 5.6vw, 3.5rem);
}

.track-artist {
  color: var(--nrg-muted);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
}

.btn-nrg {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--nrg-red);
  --bs-btn-border-color: rgba(255,255,255,.16);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nrg-red-2);
  --bs-btn-hover-border-color: rgba(255,255,255,.24);
  --bs-btn-active-bg: #a90000;
  box-shadow: 0 16px 38px rgba(212,0,0,.35);
  font-weight: 850;
}

.btn-glass {
  color: #fff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.btn-glass:hover,
.btn-glass:focus {
  color: #fff;
  background: rgba(255,255,255,.16);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.stat-card {
  min-height: 110px;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
}

.stat-card i {
  color: var(--nrg-yellow);
  font-size: 1.2rem;
}

.stat-card strong {
  display: block;
  margin-top: .45rem;
  font-size: 1.18rem;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card span {
  color: var(--nrg-muted);
  font-size: .78rem;
}

.section-title,
.section-heading {
  color: #fff;
  font-weight: 950;
  letter-spacing: -.045em;
}

.section-heading {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.mini-history,
.playlist-list,
.schedule-list,
.request-list,
.events-list {
  display: grid;
  gap: .75rem;
}

.track-row,
.schedule-row,
.request-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .72rem;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
}

.schedule-row {
  grid-template-columns: 52px minmax(0, 1fr);
}

.track-row img,
.request-row img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(0,0,0,.3);
}

.track-row strong,
.schedule-row strong,
.request-row strong {
  display: block;
  color: #fff;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-row span,
.schedule-row span,
.request-row span {
  display: block;
  color: var(--nrg-muted);
  font-size: .85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-row .time-pill,
.schedule-row .time-pill {
  justify-self: end;
  border-radius: 999px;
  padding: .38rem .62rem;
  color: var(--nrg-yellow);
  background: rgba(243,196,0,.12);
  font-size: .74rem;
  font-weight: 850;
}

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

.nrg-progress .progress-bar {
  background: linear-gradient(90deg, var(--nrg-red), var(--nrg-yellow));
  border-radius: 999px;
  transition: width .45s ease;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.35rem 0 1rem;
}

.play-btn {
  width: 82px;
  height: 82px;
  font-size: 2.2rem;
}

.control-btn {
  width: 54px;
  height: 54px;
  font-size: 1.2rem;
}

.glass-input {
  color: #fff !important;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

.glass-input::placeholder {
  color: rgba(255,255,255,.5);
}

.form-select.glass-input {
  --bs-form-select-bg-img: none;
}

.form-range {
  accent-color: var(--nrg-red);
}

.soft-alert {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(220, 38, 38, .16);
  color: #fecaca;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: .5rem;
  min-height: 180px;
  padding: 1.2rem;
  border-radius: 22px;
  color: var(--nrg-muted);
  background: rgba(255,255,255,.055);
  border: 1px dashed rgba(255,255,255,.16);
  text-align: center;
}

.empty-state i {
  color: var(--nrg-yellow);
  font-size: 2rem;
}


.events-hero {
  isolation: isolate;
}

.events-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -150px;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(212,0,0,.42), transparent 64%),
    radial-gradient(circle at 35% 35%, rgba(243,196,0,.28), transparent 58%);
  z-index: -1;
}

.event-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .58rem .82rem;
  color: #111;
  background: linear-gradient(135deg, var(--nrg-yellow), #fff3a0);
  font-weight: 950;
  font-size: .78rem;
  box-shadow: 0 15px 35px rgba(243,196,0,.18);
}

.event-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: .85rem;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(212,0,0,.18), rgba(255,255,255,.07)),
    rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
}

.event-media {
  position: relative;
  min-height: 106px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.24);
}

.event-media img {
  width: 100%;
  height: 100%;
  min-height: 106px;
  display: block;
  object-fit: cover;
  background: #050505;
}

.event-date-tile {
  display: grid;
  place-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
  min-height: 106px;
  color: #111;
  background: linear-gradient(135deg, var(--nrg-yellow), #fff3a0);
  text-transform: uppercase;
}

.event-date-overlay {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  min-width: 58px;
  border-radius: 16px;
  padding: .36rem .45rem;
  color: #111;
  background: linear-gradient(135deg, var(--nrg-yellow), #fff3a0);
  text-transform: uppercase;
}

.event-date-tile strong,
.event-date-overlay strong {
  display: block;
  font-size: 2rem;
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.07em;
}

.event-date-tile span,
.event-date-overlay span {
  display: block;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.event-body {
  min-width: 0;
  display: grid;
  gap: .45rem;
}

.event-body h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 1.85rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
  border-radius: 999px;
  padding: .42rem .62rem;
  color: var(--nrg-muted);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  font-size: .76rem;
  font-weight: 850;
}

.event-description {
  margin: 0;
  color: var(--nrg-muted);
  font-size: .93rem;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .2rem;
}

@media (max-width: 575.98px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-media,
  .event-media img,
  .event-date-tile {
    min-height: 170px;
  }

  .event-date-tile {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: .45rem;
  }
}


.quote-hero {
  isolation: isolate;
}

.quote-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -125px;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(243,196,0,.34), transparent 64%),
    radial-gradient(circle at 30% 30%, rgba(212,0,0,.48), transparent 55%);
  filter: blur(2px);
  z-index: -1;
}

.quote-limit-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .58rem .82rem;
  color: #111;
  background: linear-gradient(135deg, var(--nrg-yellow), #fff3a0);
  font-weight: 950;
  font-size: .78rem;
  box-shadow: 0 15px 35px rgba(243,196,0,.18);
}

.quote-widget {
  position: relative;
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 5vw, 2.4rem);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(212,0,0,.25), rgba(255,255,255,.07)),
    rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}

.quote-widget::after {
  content: "";
  position: absolute;
  inset: auto -18% -40% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(243,196,0,.18), transparent 70%);
  pointer-events: none;
}

.quote-mark {
  color: var(--nrg-yellow);
  font-size: clamp(2.8rem, 11vw, 5.5rem);
  line-height: 1;
  opacity: .9;
}

.quote-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 7vw, 4.4rem);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.quote-artist {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: .62rem .88rem;
  color: var(--nrg-yellow);
  background: rgba(0,0,0,.36);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .95rem;
  font-weight: 900;
}

.quote-meter {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.quote-progress {
  height: 8px;
}

#generateQuoteBtn:disabled {
  opacity: .55;
  box-shadow: none;
}

.about-logo {
  width: min(220px, 65vw);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.app-list {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}

.app-list .list-group-item {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.08);
  padding: 1rem;
  font-weight: 800;
}

.app-list i {
  margin-right: .55rem;
  color: var(--nrg-yellow);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
}

.home-social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .85rem 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(212,0,0,.20), rgba(243,196,0,.08)), rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.20);
}

.home-social-card > span {
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
}

.home-social-card i {
  color: var(--nrg-yellow);
}

.social-row-compact {
  gap: .5rem;
}

.social-row-compact a {
  width: 42px;
  height: 42px;
}

.social-row a {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(243,196,0,.42);
  background: linear-gradient(135deg, rgba(212,0,0,.64), rgba(243,196,0,.22));
}

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

.apply-glow {
  position: absolute;
  inset: -40% -30% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,196,0,.30), transparent 68%);
  pointer-events: none;
}

.apply-poster-wrap {
  position: relative;
  border-radius: 30px;
  padding: .55rem;
  background: linear-gradient(135deg, rgba(243,196,0,.55), rgba(212,0,0,.38), rgba(255,255,255,.10));
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.apply-poster {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  background: #050505;
}

.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.genre-cloud span {
  display: inline-flex;
  align-items: center;
  padding: .55rem .72rem;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.12);
}

.apply-points {
  display: grid;
  gap: .7rem;
}

.apply-points div {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .84rem 1rem;
  border-radius: 18px;
  color: #fff;
  font-weight: 950;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
}

.apply-points i {
  color: var(--nrg-yellow);
  font-size: 1.25rem;
  filter: drop-shadow(0 0 12px rgba(243,196,0,.32));
}

.apply-slot {
  display: grid;
  gap: .25rem;
  padding: 1rem;
  border-radius: 22px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(212,0,0,.42), rgba(243,196,0,.12));
  border: 1px solid rgba(243,196,0,.22);
}

.apply-slot span {
  color: var(--nrg-muted);
  font-size: .76rem;
  font-weight: 850;
}

.apply-slot strong {
  color: #fff;
  font-size: clamp(1.15rem, 3.8vw, 1.8rem);
  letter-spacing: .04em;
}

.apply-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.apply-contact-card {
  min-width: 0;
  display: grid;
  gap: .18rem;
  padding: .95rem;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.11);
}

.apply-contact-card:last-child {
  grid-column: 1 / -1;
}

.apply-contact-card i {
  color: var(--nrg-yellow);
  font-size: 1.35rem;
}

.apply-contact-card span {
  color: var(--nrg-muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.apply-contact-card strong {
  overflow-wrap: anywhere;
  font-size: .96rem;
}

.apply-contact-card:hover {
  color: #fff;
  border-color: rgba(243,196,0,.38);
  background: rgba(255,255,255,.095);
}

@media (max-width: 575.98px) {
  .home-social-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .apply-contact-grid {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bottom-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item span {
    max-width: 54px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.admin-link-card {
  border: 1px solid rgba(243,196,0,.18) !important;
  background: linear-gradient(135deg, rgba(243,196,0,.10), rgba(212,0,0,.13)), rgba(255,255,255,.05) !important;
}

@media (max-width: 575.98px) {
  .license-top {
    flex-direction: column;
  }

  .license-seal {
    width: 88px;
    height: 88px;
  }

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

.apply-image-only {
  width: min(100%, 860px);
  margin: 0 auto;
  border-radius: 30px;
  padding: .55rem;
  background: linear-gradient(135deg, rgba(243,196,0,.55), rgba(212,0,0,.35), rgba(255,255,255,.10));
  box-shadow: 0 28px 90px rgba(0,0,0,.46);
}

.apply-image-only img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #050505;
}

@media (max-width: 575.98px) {
  .apply-image-only {
    border-radius: 22px;
    padding: .35rem;
  }

  .apply-image-only img {
    border-radius: 18px;
  }
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  width: min(1040px, 100%);
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(6, minmax(58px, 1fr));
  padding: .5rem .7rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(5,5,5,.82);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
}

.nav-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.58);
  display: grid;
  place-items: center;
  gap: .18rem;
  border-radius: 22px;
  font-size: .66rem;
  font-weight: 850;
}

.nav-item i {
  font-size: 1.14rem;
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(212,0,0,.92), rgba(243,196,0,.26));
  box-shadow: 0 15px 35px rgba(212,0,0,.24);
}

@media (max-width: 575.98px) {
  .top-hero .install-btn {
    padding-inline: .72rem;
  }

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

  .hero-card {
    min-height: auto;
  }

  .track-row,
  .request-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .track-row .time-pill {
    display: none;
  }

  .request-row .btn {
    grid-column: 1 / -1;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .bottom-nav {
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
  }
}

/* Persistent mini player: keeps playback controls visible while browsing every app tab. */
.global-mini-player {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 10px);
  z-index: 49;
  width: min(1016px, calc(100% - 18px));
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .65rem;
  transform: translateX(-50%);
  padding: .55rem .65rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg, rgba(212,0,0,.22), rgba(243,196,0,.08)),
    rgba(4,4,6,.88);
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  backdrop-filter: blur(24px);
}

.mini-main {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: .72rem;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.mini-main img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.12);
}

.mini-copy {
  min-width: 0;
  display: grid;
  gap: .12rem;
}

.mini-copy strong,
.mini-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-copy strong {
  font-size: .98rem;
  font-weight: 950;
  letter-spacing: -.025em;
}

.mini-copy small {
  color: var(--nrg-muted);
  font-size: .78rem;
  font-weight: 750;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .44rem .62rem;
  border-radius: 999px;
  color: var(--nrg-yellow);
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.10);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.mini-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 13px #22c55e;
}

.mini-play {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.global-mini-player.is-playing {
  border-color: rgba(243,196,0,.32);
  box-shadow: 0 24px 64px rgba(212,0,0,.28), 0 0 38px rgba(243,196,0,.08);
}

@media (max-width: 575.98px) {
  :root {
    --bottom-nav-height: 76px;
  }

  .app-shell {
    padding-bottom: calc(var(--bottom-nav-height) + 96px + env(safe-area-inset-bottom));
  }

  .global-mini-player {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
    border-radius: 22px;
  }

  .mini-status {
    display: none;
  }

  .mini-main {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .mini-main img {
    width: 48px;
    height: 48px;
  }

  .mini-play {
    width: 48px;
    height: 48px;
  }

  .bottom-nav {
    padding-inline: .35rem;
  }

  .nav-item {
    border-radius: 18px;
    font-size: .50rem;
  }

  .nav-item i {
    font-size: 1rem;
  }
}

.quote-widget.quote-pop {
  animation: quotePop .24s ease both;
}

@keyframes quotePop {
  from { transform: scale(.985); filter: brightness(.9); }
  to { transform: scale(1); filter: brightness(1); }
}
