:root {
  color-scheme: dark;
  --page-hue: 0deg;
  --ink: #f7fbff;
  --muted: #b6d6ff;
  --panel: rgba(1, 7, 20, 0.82);
  --panel-strong: rgba(0, 3, 12, 0.94);
  --line: rgba(48, 162, 255, 0.42);
  --accent: #1194ff;
  --accent-hot: #55e6ff;
  --accent-white: #f9fdff;
  --shadow: 0 24px 80px rgba(0, 28, 95, 0.5);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@property --page-hue {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 112, 255, 0.38), transparent 36rem),
    linear-gradient(180deg, #02040b 0%, #050a17 45%, #010206 100%);
  color: var(--ink);
}

@keyframes full-page-hue-shift {
  to {
    --page-hue: 360deg;
  }
}

@keyframes background-hue-shift {
  to {
    filter: saturate(1.15) contrast(1.08) hue-rotate(360deg);
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("brand-background.png") center top / cover no-repeat;
  content: "";
  opacity: 0.34;
  filter: saturate(1.15) contrast(1.08);
  animation: background-hue-shift 30s linear infinite;
  will-change: filter;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 149, 255, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 149, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  opacity: 0.34;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 70%, transparent);
  animation: full-page-hue-shift 30s linear infinite;
  will-change: filter;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 450px);
  gap: 18px;
  min-height: 100vh;
  padding: 18px;
  align-items: start;
  animation: full-page-hue-shift 30s linear infinite;
  filter: hue-rotate(var(--page-hue));
  will-change: filter;
}

body.popup-open {
  overflow: hidden;
}

.hero {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(73, 177, 255, 0.56);
  border-radius: 8px;
  background: #000814;
  box-shadow:
    inset 0 0 42px rgba(0, 167, 255, 0.36),
    0 0 34px rgba(0, 117, 255, 0.28),
    var(--shadow);
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1659 / 948;
  object-fit: contain;
  object-position: center;
}

.eyebrow,
.label,
.section-title {
  margin: 0;
  color: var(--accent-hot);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(85, 230, 255, 0.78);
}

h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: 1.45rem;
  text-shadow: 0 0 16px rgba(85, 230, 255, 0.7);
}

.request-panel,
.qr-panel,
.queue-panel,
.dedication-list-panel,
.genre-reset-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 30, 78, 0.48), rgba(0, 5, 18, 0.86)),
    var(--panel);
  box-shadow:
    inset 0 0 26px rgba(0, 149, 255, 0.18),
    0 0 28px rgba(0, 116, 255, 0.24),
    var(--shadow);
  backdrop-filter: blur(18px);
}

.poster-panel {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.dedication-panel {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.dedication-header {
  display: block;
  width: min(100%, 864px);
  border: 1px solid rgba(73, 177, 255, 0.72);
  border-radius: 8px;
  box-shadow:
    inset 0 0 30px rgba(0, 167, 255, 0.28),
    0 0 42px rgba(0, 117, 255, 0.34),
    var(--shadow);
}

.poster-form {
  position: relative;
  width: min(100%, 864px);
  aspect-ratio: 864 / 1821;
  overflow: hidden;
  border: 1px solid rgba(73, 177, 255, 0.72);
  border-radius: 8px;
  background: #000814;
  box-shadow:
    inset 0 0 30px rgba(0, 167, 255, 0.28),
    0 0 42px rgba(0, 117, 255, 0.34),
    var(--shadow);
}

.dedication-form {
  position: relative;
  width: min(100%, 864px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(73, 177, 255, 0.72);
  border-radius: 8px;
  background: #000814;
  box-shadow:
    inset 0 0 30px rgba(0, 167, 255, 0.28),
    0 0 42px rgba(0, 117, 255, 0.34),
    var(--shadow);
}

.poster-form::before,
.dedication-form::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  content: "";
}

.poster-form::before {
  background-image: url("form-poster.png");
}

.dedication-form::before {
  background-image: url("dedicatorias-form.jpg");
}

.poster-form > *,
.dedication-form > * {
  z-index: 1;
}

.poster-link,
.poster-input,
.song-search-results,
.poster-submit,
.poster-list-button,
.poster-form .form-note,
.dedication-input,
.dedication-submit,
.dedication-note {
  position: absolute;
}

.poster-link {
  display: block;
  border-radius: 8px;
}

.poster-link:focus-visible,
.poster-submit:focus-visible,
.poster-list-button:focus-visible,
.poster-input:focus {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.poster-link--instagram {
  left: 34.4%;
  top: 13.1%;
  width: 46.2%;
  height: 7.2%;
}

.poster-link--tiktok {
  left: 34.4%;
  top: 21.3%;
  width: 46.2%;
  height: 7.1%;
}

.poster-link--facebook {
  left: 34.4%;
  top: 29.25%;
  width: 46.2%;
  height: 7.1%;
}

.poster-input {
  left: 21.7%;
  width: 56.6%;
  height: 4.35%;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 8, 24, 0.18);
  color: #f7fbff;
  padding: 0 4%;
  text-align: center;
  font-size: clamp(0.9rem, 3.3vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(0, 140, 255, 0.95);
  outline: none;
}

.dedication-input {
  border: 0;
  border-radius: 8px;
  background: rgba(0, 8, 24, 0.18);
  color: #f7fbff;
  padding: 3%;
  text-align: center;
  font-size: clamp(1rem, 3.8vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(0, 140, 255, 0.95);
  outline: none;
  resize: none;
}

.dedication-input--message {
  left: 18.8%;
  top: 17.4%;
  width: 62.4%;
  height: 55.8%;
  line-height: 1.35;
}

.dedication-input--from {
  left: 46.8%;
  top: 77.9%;
  width: 25%;
  height: 5.8%;
  padding: 0 2%;
}

.poster-input::placeholder {
  color: rgba(230, 246, 255, 0.52);
}

.poster-input--song {
  top: 39%;
}

.poster-input--artist {
  top: 49.15%;
}

.poster-input--name {
  top: 59.25%;
}

.poster-input--vibe {
  top: 69.25%;
  appearance: none;
  text-align-last: center;
}

.poster-submit {
  left: 27.7%;
  top: 76.75%;
  width: 44.6%;
  height: 7.9%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.poster-list-button {
  left: 16.8%;
  top: 86%;
  width: 66.4%;
  height: 10.2%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.poster-submit:hover,
.poster-list-button:hover,
.dedication-submit:hover {
  box-shadow: inset 0 0 36px rgba(85, 230, 255, 0.28);
}

.dedication-submit {
  left: 35%;
  top: 89.4%;
  width: 30%;
  height: 6.2%;
  border: 1px solid rgba(103, 198, 255, 0.72);
  border-radius: 6px;
  background: rgba(0, 55, 130, 0.38);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 18px rgba(0, 145, 255, 0.24),
    0 0 18px rgba(0, 102, 255, 0.3);
}

.poster-form .form-note {
  left: 16%;
  top: 84.5%;
  width: 68%;
  min-height: 0;
  margin: 0;
  color: #f7fbff;
  text-align: center;
  font-size: clamp(0.78rem, 2.5vw, 1.15rem);
  text-shadow: 0 0 12px rgba(85, 230, 255, 0.95);
}

.dedication-note {
  left: 16%;
  top: 96.2%;
  width: 68%;
  min-height: 0;
  margin: 0;
  color: #f7fbff;
  text-align: center;
  font-size: clamp(0.72rem, 2.3vw, 1rem);
  text-shadow: 0 0 12px rgba(85, 230, 255, 0.95);
}

.success-popup {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  place-items: center;
  align-content: center;
  padding: 16px;
  background: rgba(0, 3, 12, 0.78);
  backdrop-filter: blur(8px);
}

.message-popup {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 3, 12, 0.68);
  backdrop-filter: blur(8px);
}

.success-popup[hidden] {
  display: none;
}

.message-popup[hidden] {
  display: none;
}

.success-popup.is-visible {
  display: grid;
}

.message-popup.is-visible {
  display: grid;
}

.message-popup__box {
  display: grid;
  width: min(90vw, 420px);
  gap: 16px;
  justify-items: center;
  border: 1px solid rgba(103, 198, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 30, 78, 0.74), rgba(0, 5, 18, 0.94)),
    var(--panel);
  padding: 24px;
  box-shadow:
    inset 0 0 26px rgba(0, 149, 255, 0.22),
    0 0 34px rgba(0, 116, 255, 0.34),
    var(--shadow);
  text-align: center;
}

.message-popup__box strong {
  color: #f7fbff;
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  text-shadow: 0 0 18px rgba(85, 230, 255, 0.95);
}

.success-popup img {
  display: block;
  width: min(94vw, 820px);
  border-radius: 8px;
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.36),
    0 0 64px rgba(0, 132, 255, 0.72);
  animation: success-pop 360ms ease-out both;
}

.success-popup__close {
  position: relative;
  z-index: 21;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 8, 24, 0.84);
  box-shadow:
    inset 0 0 14px rgba(85, 230, 255, 0.38),
    0 0 18px rgba(0, 132, 255, 0.6);
  color: #fff;
  cursor: pointer;
}

.success-popup__close::before,
.success-popup__close::after {
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  box-shadow: 0 0 10px rgba(85, 230, 255, 0.95);
}

.success-popup__close::before {
  transform: rotate(45deg);
}

.success-popup__close::after {
  transform: rotate(-45deg);
}

.success-popup__close:hover,
.success-popup__close:focus-visible {
  background: rgba(0, 61, 143, 0.92);
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.panel-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(73, 191, 255, 0.2), transparent 15rem),
    radial-gradient(circle at 90% 100%, rgba(0, 82, 255, 0.24), transparent 14rem);
  pointer-events: none;
}

.request-panel {
  align-self: start;
  padding: 22px;
}

.request-panel,
.qr-panel {
  margin-top: 2px;
}

.request-panel > *:not(.panel-glow),
.qr-panel > *:not(.panel-glow),
.queue-panel > *:not(.panel-glow),
.dedication-list-panel > *:not(.panel-glow),
.genre-reset-panel > *:not(.panel-glow) {
  position: relative;
  z-index: 1;
}

.brand-row,
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.ghost-button,
.primary-button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.ghost-button {
  border: 1px solid rgba(103, 198, 255, 0.55);
  background: rgba(0, 55, 130, 0.38);
  color: var(--ink);
  padding: 0 16px;
  box-shadow: inset 0 0 18px rgba(0, 145, 255, 0.2), 0 0 14px rgba(0, 102, 255, 0.18);
}

.ghost-button:hover,
.social-link:hover {
  border-color: rgba(135, 232, 255, 0.96);
  box-shadow: 0 0 18px rgba(25, 161, 255, 0.45);
}

.primary-button {
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg, #f8fdff 0%, #66dcff 32%, #006fff 100%);
  color: #001329;
  text-transform: uppercase;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.34),
    0 0 36px rgba(0, 132, 255, 0.45);
}

.follow-box {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(70, 178, 255, 0.32);
}

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

.social-link {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(71, 172, 255, 0.46);
  border-radius: 6px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0, 80, 172, 0.34), rgba(0, 10, 31, 0.54));
  text-decoration: none;
}

.social-link span {
  color: var(--muted);
  font-size: 0.8rem;
}

.social-link strong {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  text-shadow: 0 0 12px rgba(0, 136, 255, 0.8);
}

.confirm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.confirm-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.song-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.field-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field-group label,
.field-group span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field-group input,
.field-group select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(72, 175, 255, 0.48);
  border-radius: 6px;
  background: rgba(0, 11, 31, 0.72);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
  box-shadow: inset 0 0 18px rgba(0, 94, 255, 0.18);
}

.field-group input::placeholder {
  color: rgba(183, 215, 255, 0.58);
}

.field-group input:focus,
.field-group select:focus {
  border-color: var(--accent-hot);
  box-shadow: 0 0 0 3px rgba(0, 142, 255, 0.24), inset 0 0 20px rgba(0, 94, 255, 0.18);
}

.song-form .primary-button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--accent-hot);
  font-weight: 800;
}

.qr-panel {
  grid-column: 2;
  padding: 22px;
}

.qr-panel img {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 18px auto;
  border: 10px solid white;
  border-radius: 6px;
  background: white;
  box-shadow: 0 0 28px rgba(85, 230, 255, 0.52);
}

.qr-field {
  margin-bottom: 14px;
}

.wide {
  width: 100%;
}

.queue-panel {
  grid-column: 1 / -1;
  width: min(100%, 863px);
  justify-self: center;
  padding: 22px;
}

.dedication-list-panel {
  width: min(100%, 864px);
  padding: 22px;
}

.genre-reset-panel {
  width: min(100%, 864px);
  padding: 18px;
}

.genre-vote-panel,
.genre-results-panel,
.site-footer {
  position: relative;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 864px);
  overflow: hidden;
  border: 1px solid rgba(73, 177, 255, 0.72);
  border-radius: 8px;
  box-shadow:
    inset 0 0 30px rgba(0, 167, 255, 0.28),
    0 0 42px rgba(0, 117, 255, 0.34),
    var(--shadow);
}

.genre-vote-panel img,
.genre-results-panel img,
.site-footer img {
  display: block;
  width: 100%;
}

.genre-choice {
  position: absolute;
  width: 20.6%;
  height: 12%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.genre-choice:hover,
.genre-choice:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
  box-shadow:
    inset 0 0 32px rgba(85, 230, 255, 0.24),
    0 0 18px rgba(85, 230, 255, 0.32);
}

.genre-choice--1,
.genre-choice--2,
.genre-choice--3,
.genre-choice--4 {
  top: 35.5%;
}

.genre-choice--5,
.genre-choice--6,
.genre-choice--7,
.genre-choice--8 {
  top: 50.4%;
}

.genre-choice--9,
.genre-choice--10,
.genre-choice--11,
.genre-choice--12 {
  top: 65.3%;
}

.genre-choice--13,
.genre-choice--14,
.genre-choice--15,
.genre-choice--16 {
  top: 80.2%;
}

.genre-choice--1,
.genre-choice--5,
.genre-choice--9,
.genre-choice--13 {
  left: 8.3%;
}

.genre-choice--2,
.genre-choice--6,
.genre-choice--10,
.genre-choice--14 {
  left: 30%;
}

.genre-choice--3,
.genre-choice--7,
.genre-choice--11,
.genre-choice--15 {
  left: 51.4%;
}

.genre-choice--4,
.genre-choice--8,
.genre-choice--12,
.genre-choice--16 {
  left: 73%;
}

.genre-vote-note {
  position: absolute;
  left: 16%;
  bottom: 1.8%;
  width: 68%;
  margin: 0;
  color: #f7fbff;
  text-align: center;
  font-size: clamp(0.72rem, 2.3vw, 1rem);
  text-shadow: 0 0 12px rgba(85, 230, 255, 0.95);
}

.genre-chart {
  position: absolute;
  left: 12.2%;
  top: 23.6%;
  display: grid;
  width: 75.6%;
  height: 63.6%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  column-gap: clamp(8px, 1.8vw, 20px);
  row-gap: clamp(4px, 0.75vw, 8px);
  padding: 1.7%;
}

.genre-chart-row {
  display: grid;
  grid-template-columns: minmax(62px, 1.05fr) minmax(48px, 1fr) minmax(34px, 0.42fr);
  align-items: center;
  gap: 5px;
  min-height: 18px;
  color: #f7fbff;
  font-size: clamp(0.5rem, 1.28vw, 0.78rem);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(85, 230, 255, 0.9);
}

.genre-chart-label,
.genre-chart-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.genre-chart-track {
  height: clamp(8px, 1.3vw, 13px);
  overflow: hidden;
  border: 1px solid rgba(103, 198, 255, 0.68);
  border-radius: 999px;
  background: rgba(0, 8, 24, 0.72);
  box-shadow: inset 0 0 10px rgba(0, 132, 255, 0.28);
}

.genre-chart-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8fdff, #55e6ff 35%, #127cff 100%);
  box-shadow: 0 0 14px rgba(85, 230, 255, 0.78);
  transition: width 360ms ease;
}

.queue-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(72, 175, 255, 0.42);
  border-left: 4px solid var(--accent-hot);
  border-radius: 6px;
  padding: 12px;
  background: rgba(0, 45, 110, 0.28);
}

.queue-item-content {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 4px;
}

.queue-item strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.queue-meta {
  color: var(--muted);
  font-size: 0.87rem;
}

.admin-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.delete-request {
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 105, 105, 0.72);
  border-radius: 6px;
  background: rgba(120, 0, 22, 0.36);
  color: #fff6f6;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 12px;
  text-transform: uppercase;
  box-shadow: inset 0 0 14px rgba(255, 50, 80, 0.18);
}

.delete-request:hover {
  border-color: rgba(255, 180, 180, 0.95);
  box-shadow: 0 0 16px rgba(255, 55, 90, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .shell,
  body::before,
  body::after {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

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

  .request-panel,
  .qr-panel,
  .queue-panel {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .shell {
    gap: 10px;
    padding: 10px;
  }

  body::before {
    opacity: 0.24;
    background-position: center top;
  }

  .request-panel,
  .qr-panel,
  .queue-panel {
    padding: 16px;
  }

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

  .genre-chart {
    left: 12.9%;
    top: 25.6%;
    width: 74.2%;
    height: 57.8%;
    column-gap: 4px;
    row-gap: 1px;
    padding: 0.8%;
  }

  .genre-chart-row {
    grid-template-columns: minmax(34px, 1fr) minmax(22px, 0.72fr) minmax(20px, 0.38fr);
    gap: 2px;
    min-height: 9px;
    font-size: clamp(0.28rem, 1.46vw, 0.44rem);
    line-height: 1;
    text-shadow: 0 0 5px rgba(85, 230, 255, 0.9);
  }

  .genre-chart-track {
    height: clamp(3px, 0.9vw, 6px);
    box-shadow: inset 0 0 6px rgba(0, 132, 255, 0.24);
  }

  .genre-chart-fill {
    box-shadow: 0 0 7px rgba(85, 230, 255, 0.62);
  }
}

@media (max-width: 380px) {
  .genre-chart {
    top: 26%;
    height: 56%;
    column-gap: 3px;
  }

  .genre-chart-row {
    grid-template-columns: minmax(30px, 1fr) minmax(18px, 0.66fr) minmax(18px, 0.36fr);
    gap: 1px;
    font-size: 0.28rem;
  }
}

@media print {
  body {
    background: white;
  }

  body::before,
  body::after,
  .hero,
  .request-panel,
  .queue-panel {
    display: none;
  }

  .shell {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .qr-panel {
    width: 100%;
    min-height: 100vh;
    border: 0;
    background: white;
    color: #111;
    box-shadow: none;
    text-align: center;
  }

  .label,
  .qr-field,
  .wide,
  .panel-glow {
    display: none;
  }

  .qr-panel h2 {
    margin-top: 0.5in;
    font-size: 42px;
  }

  .qr-panel img {
    width: 5in;
    margin-top: 0.35in;
    border: 0;
    box-shadow: none;
  }
}
