/* Public pages — events archive, gallery, information, music, sponsors, and not-found. Keep this file linked in source order. */

/* public events archive */

.events-list-head {
  position: relative;
  z-index: 1;
  padding: 30px 0 28px;
  text-align: center;
}

.events-list-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-2) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-list-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.events-list-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.events-list-page .events-list-shell {
  width: 100%;
  margin: 0;
  padding: 8px 0 0;
}

.events-list-page .events-list-sub {
  text-transform: uppercase;
}

.events-list-section {
  margin-bottom: 40px;
}

.events-list-section-title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.events-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.events-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(14, 18, 26, 0.72);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.events-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

body.light-mode .events-card {
  background: rgba(255, 255, 255, 0.78);
}

.events-card-flyer {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(var(--accent-rgb), 0.06);
}

.events-card-flyer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.events-card:hover .events-card-flyer img {
  transform: scale(1.03);
}

.events-card-flyer-empty {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  gap: 10px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 20% 10%, hsla(var(--card-hue-1, 195), 90%, 62%, 0.55), transparent 55%),
    radial-gradient(120% 80% at 90% 90%, hsla(var(--card-hue-2, 230), 90%, 55%, 0.55), transparent 55%),
    linear-gradient(155deg, hsl(var(--card-hue-1, 195) 70% 18%) 0%, hsl(var(--card-hue-2, 230) 70% 8%) 100%);
}

.events-card-flyer-empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, transparent 30%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.events-card-flyer-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.events-card-flyer-name {
  position: relative;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.15;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  max-width: 220px;
  z-index: 1;
}

body.light-mode .events-card-flyer-empty {
  color: #fff;
}

.events-card-meta {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.events-card-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.events-card-name {
  margin: 2px 0 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.events-card-venue {
  font-size: 0.84rem;
  color: var(--muted-2);
}

.events-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.events-card-past .events-card-flyer img {
  filter: grayscale(0.4) brightness(0.85);
}

.events-list-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.events-list-foot {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* public gallery */

.gallery-page {
  width: min(1240px, calc(100% - 32px));
}

.gallery-hero {
  min-height: min(680px, calc(100svh - 132px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 28px 0 52px;
}

.gallery-hero-copy {
  min-width: 0;
}

.gallery-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.52) 118%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-hero-copy p:last-child {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
  text-wrap: balance;
}

.gallery-hero-stack {
  position: relative;
  min-height: clamp(420px, 50vw, 620px);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.gallery-hero-stack::before {
  content: "";
  position: absolute;
  inset: 13% 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 47, 147, 0.30), transparent 68%);
}

.gallery-hero-stack img {
  position: absolute;
  width: clamp(180px, 20vw, 300px);
  height: clamp(180px, 20vw, 300px);
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.gallery-hero-stack picture {
  display: contents;
}

.gallery-hero-stack picture:nth-child(1) img {
  width: clamp(270px, 35vw, 500px);
  height: clamp(270px, 35vw, 500px);
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.gallery-hero-stack picture:nth-child(2) img {
  left: 2%;
  top: 10%;
  z-index: 3;
  transform: rotate(-9deg);
}

.gallery-hero-stack picture:nth-child(3) img {
  right: 4%;
  top: 6%;
  z-index: 2;
  transform: rotate(8deg);
}

.gallery-hero-stack picture:nth-child(4) img {
  left: 7%;
  bottom: 4%;
  z-index: 4;
  transform: rotate(7deg);
}

.gallery-hero-stack picture:nth-child(5) img {
  right: 0;
  bottom: 8%;
  z-index: 1;
  transform: rotate(-7deg);
}

.gallery-collection {
  padding: 8px 0 54px;
}

.gallery-collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-collection-head h2,
.gallery-submit h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.gallery-collection-head p:not(.info-section-head-kicker) {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.gallery-collection-head span {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

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

.gallery-tile {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

.gallery-tile picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-tile picture img {
  display: block;
}

.gallery-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.06) brightness(1.04);
}

.gallery-tile:hover::after {
  border-color: rgba(255, 47, 147, 0.54);
  box-shadow: inset 0 0 0 1px rgba(255, 47, 147, 0.25);
}

.gallery-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 47, 147, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(18, 21, 29, 0.82), rgba(12, 14, 20, 0.82));
}

.gallery-submit a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #050505;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.12);
}

body.gallery-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 12px;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.gallery-lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox figure {
  min-width: 0;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.gallery-lightbox img {
  max-width: min(86vw, 1040px);
  max-height: 82svh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.gallery-lightbox figcaption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gallery-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
}

.gallery-lightbox-nav {
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

/* public info / FAQ hub */

.info-page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 88px;
}

.info-hero {
  text-align: center;
  padding: 30px 0 28px;
}

.info-kicker {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.info-hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 12vw, 8rem);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-hero-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  text-wrap: balance;
}

.info-jump-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 10px;
  margin: 4px 0 42px;
}

.info-jump-link {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--accent-rgb), 0.14), transparent 48%),
    rgba(14, 18, 26, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.info-jump-link:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--accent-rgb), 0.22), transparent 48%),
    rgba(18, 23, 33, 0.86);
}

.info-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.info-rail {
  position: sticky;
  top: 98px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(14, 18, 26, 0.62);
  border: 1px solid var(--border);
}

.info-rail a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.info-rail a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.info-section,
.info-faq,
.info-contact {
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(18, 21, 29, 0.82), rgba(12, 14, 20, 0.82));
}

/* Fixed public navigation must not obscure destinations reached from info
   jump links or event ticket CTAs. The announcement bar, when present,
   contributes its own offset through --announcement-offset. */
.info-section[id],
.info-faq[id],
.event-tiers[id] {
  scroll-margin-top: var(--public-anchor-offset);
}

.info-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 26px;
}

.info-section-head p,
.info-contact-label {
  margin: 0 0 9px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.info-section-head h2,
.info-contact h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.info-section-body {
  min-width: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.info-section-body p {
  margin: 0 0 16px;
}

.info-section-body ul {
  margin: 0;
  padding-left: 18px;
}

.info-section-body li + li {
  margin-top: 8px;
}

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

.info-section-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--accent-on);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(var(--accent-rgb), 0.2);
}

.info-faq {
  padding: 26px;
}

.info-faq .info-section-head {
  margin-bottom: 18px;
}

.info-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.info-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
}

.info-faq-item summary::-webkit-details-marker {
  display: none;
}

.info-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.info-faq-item[open] summary::after {
  content: "-";
}

.info-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.info-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at 80% 0%, rgba(var(--accent-rgb), 0.16), transparent 56%),
    linear-gradient(180deg, rgba(18, 21, 29, 0.86), rgba(12, 14, 20, 0.86));
}

.info-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.info-contact-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.info-contact-actions a:hover {
  color: var(--accent-on);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.info-foot {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* partners page */

.partners-page {
  width: min(1120px, calc(100% - 32px));
}

.info-section-head-kicker {
  margin: 0 0 9px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sponsors-page {
  width: min(980px, calc(100% - 32px));
}

.sponsors-rl {
  text-align: center;
  padding: 18px 0 26px;
}

.sponsors-rl-hero {
  padding-bottom: 20px;
}

.sponsors-rl-hero h1 {
  font-size: clamp(3.2rem, 11vw, 8.2rem);
}

.sponsors-rl-apply {
  width: min(850px, 100%);
  margin: 0 auto;
  text-align: left;
}

.sponsors-rl-apply-actions {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.sponsors-rl-apply-actions p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sponsors-rl-apply-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 850;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.sponsors-rl-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(850px, 100%);
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 0%, rgba(var(--accent-rgb), 0.14), transparent 44%),
    linear-gradient(180deg, rgba(18, 21, 29, 0.78), rgba(12, 14, 20, 0.78));
  text-align: left;
}

.sponsors-rl-footer-cta p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.48;
}

.sponsors-rl-footer-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sponsors-rl-footer-cta a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 850;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.sponsors-rl-footer-cta a:first-child {
  color: var(--accent-on);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* 404 */

body:has(.not-found-page) .nav-container {
  top: 32px;
}

body:has(.not-found-page) .bg-glow-1 {
  width: 58vw;
  height: 58vw;
  left: -20vw;
  top: 18vh;
  opacity: 0.72;
}

body:has(.not-found-page) .bg-glow-2 {
  width: 64vw;
  height: 64vw;
  right: -24vw;
  top: 4vh;
  opacity: 0.62;
}

.not-found-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 32px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    #070707;
  color: var(--text);
  pointer-events: none;
}

.not-found-ribbon-track {
  display: flex;
  width: max-content;
  animation: notFoundTicker 26s linear infinite;
}

.not-found-ribbon span {
  flex: 0 0 auto;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.not-found-ribbon span:nth-child(2n) {
  color: var(--muted);
}

.not-found-ribbon span:nth-child(4n) {
  color: var(--accent);
}

@keyframes notFoundTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.not-found-page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  margin: 0 auto;
  padding: 156px 0 72px;
}

.not-found-hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 76px) 0 32px;
  text-align: center;
}

.not-found-code {
  margin: 8px 0 46px;
  color: var(--text);
  font-size: clamp(7rem, 24vw, 19rem);
  line-height: 0.68;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.58) 112%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 32px 80px rgba(255, 255, 255, 0.10);
}

.not-found-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.7rem, 8.4vw, 7rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.not-found-copy {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.35rem);
  line-height: 1.48;
  text-wrap: balance;
}

.not-found-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
}

.not-found-actions a {
  min-width: 210px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 18px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.not-found-actions a:hover {
  transform: translateY(-2px);
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.not-found-actions .not-found-primary {
  color: var(--accent-on);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 42px rgba(var(--accent-rgb), 0.26);
}

.not-found-meta {
  width: min(860px, 100%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.not-found-meta span + span::before {
  content: "/";
  margin-right: 14px;
  color: var(--border-strong);
}

.music-page {
  width: min(980px, calc(100% - 32px));
}

.music-hero h1 {
  font-size: clamp(3.7rem, 12vw, 7.8rem);
}

.music-request-alert {
  max-width: 780px;
  margin: 0 auto 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.music-request-alert-ok {
  border-color: rgba(91, 227, 168, 0.35);
  background: rgba(91, 227, 168, 0.10);
  color: #b8ffd8;
}

.music-request-alert-error {
  border-color: rgba(255, 107, 107, 0.34);
  background: rgba(255, 107, 107, 0.10);
  color: #ffb6b6;
}

.music-request-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 92% 0%, rgba(var(--accent-rgb), 0.11), transparent 48%),
    linear-gradient(180deg, rgba(18, 21, 29, 0.82), rgba(12, 14, 20, 0.82));
}

.music-request-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.music-request-copy p:not(.info-section-head-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.music-request-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.music-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.music-field > span {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.music-field input,
.music-field select,
.music-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.music-field select {
  min-height: 48px;
}

.music-field textarea {
  min-height: 112px;
  resize: vertical;
}

.music-field input:focus,
.music-field select:focus,
.music-field textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.58);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.10);
  background: rgba(255, 255, 255, 0.075);
}

.music-field-with-prefix > div {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.music-field-with-prefix > div:focus-within {
  border-color: rgba(var(--accent-rgb), 0.58);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.10);
  background: rgba(255, 255, 255, 0.075);
}

.music-field-with-prefix > div > span {
  padding-left: 14px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.music-field-with-prefix input,
.music-field-with-prefix input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.music-request-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.music-search-results {
  min-height: 0;
}

.music-search-message {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.music-result-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.music-result {
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.music-result:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.075);
}

.music-result-art,
.music-card-art,
.music-selected-art-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-weight: 900;
}

.music-result-art {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

.music-result-art img,
.music-card-art img,
.music-selected-art-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-result-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.music-result-body strong,
.music-result-body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-result-body strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
}

.music-result-body span {
  color: var(--muted);
  font-size: 0.84rem;
}

.music-selected {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(91, 227, 168, 0.32);
  background: rgba(91, 227, 168, 0.09);
}

.music-selected[hidden] {
  display: none;
}

.music-selected-art-inner {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.music-selected p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-selected span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-submit {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-on);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.16s ease;
}

.music-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.music-submit:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: none;
  transform: none;
}

.music-board-section {
  margin-top: 18px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 45, 143, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(18, 21, 29, 0.78), rgba(12, 14, 20, 0.78));
}

.music-board-head {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-bottom: 18px;
}

.music-board-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.08;
  font-weight: 900;
}

.music-board-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pagination keeps large request queues readable without turning the footer
   into another full-width card. */
.music-board-more {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.music-board-more .music-submit {
  min-width: min(100%, 220px);
  padding: 0 20px;
}

.music-board-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.music-board-empty {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 800;
}

.music-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.music-card-art {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}

.music-card-body {
  min-width: 0;
}

.music-card-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.music-source-badge,
.music-rank,
.music-vote-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.music-rank {
  min-width: 38px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.music-source-spotify {
  background: rgba(30, 215, 96, 0.15);
  color: #8dffb4;
  border: 1px solid rgba(30, 215, 96, 0.34);
}

.music-vote-count {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--border);
}

.music-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.music-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.music-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.music-vote-form {
  margin: 0;
}

.music-vote-form button {
  min-width: 58px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-on);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.music-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--text);
  border: 1px solid var(--border);
  font: inherit;
  cursor: pointer;
}

.music-preview-button.is-playing {
  background: rgba(30, 215, 96, 0.16);
  color: #8dffb4;
  border-color: rgba(30, 215, 96, 0.36);
}

.music-preview-button.is-loading {
  opacity: 0.68;
  cursor: wait;
}

.music-preview-button.is-unavailable {
  opacity: 0.38;
  cursor: not-allowed;
}

.music-preview-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.music-preview-icon-play::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.music-preview-icon-pause::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 4px;
  height: 12px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.music-spotify-controller-host,
.music-spotify-controller-frame {
  position: fixed;
  left: 50%;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  height: 80px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 28px));
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 120;
}

.music-spotify-controller-host.is-visible,
.music-spotify-controller-frame.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.music-spotify-controller-frame {
  display: block !important;
  width: min(420px, calc(100vw - 32px)) !important;
  height: 80px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42) !important;
  z-index: 120 !important;
}

.music-vote-form button:disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  cursor: default;
}

body.light-mode .music-search-message,
body.light-mode .music-result,
body.light-mode .music-board-section,
body.light-mode .music-board-empty,
body.light-mode .music-card {
  background: rgba(255, 255, 255, 0.76);
}

body.light-mode .info-jump-link,
body.light-mode .info-rail,
body.light-mode .info-section,
body.light-mode .info-faq,
body.light-mode .info-contact {
  background: rgba(255, 255, 255, 0.76);
}

body.light-mode .music-request-panel {
  background: rgba(255, 255, 255, 0.76);
}

body.light-mode .sponsors-apply,
body.light-mode .sponsors-placement-section,
body.light-mode .sponsors-placement-list span,
body.light-mode .sponsors-contact,
body.light-mode .sponsors-rl-apply {
  background: rgba(255, 255, 255, 0.76);
}

body.light-mode .not-found-ribbon {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.02)),
    #f7f7f7;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .music-request-alert,
body.light-mode .music-field input,
body.light-mode .music-field select,
body.light-mode .music-field textarea,
body.light-mode .music-field-with-prefix > div {
  background: rgba(18, 41, 62, 0.045);
}

@media (max-width: 820px) {
  .info-page {
    padding-top: 102px;
  }

  .gallery-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0 34px;
  }

  .gallery-hero-copy {
    text-align: center;
  }

  .gallery-hero-copy p:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-hero-stack {
    min-height: clamp(300px, 74vw, 500px);
  }

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

  .gallery-submit {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gallery-submit a {
    width: 100%;
  }

  .info-shell {
    grid-template-columns: 1fr;
  }

  .info-rail {
    display: none;
  }

  .info-section,
  .info-contact {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .music-request-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sponsors-apply,
  .sponsors-placement-section,
  .sponsors-rl-footer-cta {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sponsors-rl-footer-cta {
    text-align: center;
  }

  .sponsors-rl-apply-actions {
    justify-items: start;
    text-align: left;
  }

  .sponsors-rl-footer-cta div {
    justify-content: center;
  }

  .music-board-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .info-contact-actions {
    justify-content: flex-start;
  }

  .not-found-page {
    padding-top: 138px;
  }

  .not-found-code {
    margin-bottom: 34px;
  }
}

@media (max-width: 540px) {
  .info-page {
    width: min(100% - 24px, 1120px);
    padding-bottom: 64px;
  }

  .gallery-page {
    width: min(100% - 20px, 1240px);
  }

  .gallery-hero {
    padding-top: 20px;
  }

  .gallery-hero h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  .gallery-hero-stack {
    min-height: clamp(255px, 76vw, 360px);
  }

  .gallery-hero-stack img {
    border-radius: 17px;
  }

  .gallery-collection-head {
    display: grid;
    align-items: start;
  }

  .gallery-collection-head h2 {
    font-size: clamp(2.25rem, 11.2vw, 3.25rem);
    line-height: 0.95;
  }

  .gallery-collection-head span {
    width: fit-content;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .gallery-tile {
    border-radius: 14px;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 10px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
  }

  .gallery-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
  }

  .gallery-lightbox img {
    max-width: 94vw;
    max-height: 70svh;
    border-radius: 18px;
  }

  .gallery-lightbox-nav {
    width: 100%;
    height: 52px;
    border-radius: 999px;
  }

  body:has(.not-found-page) .nav-container {
    top: 28px;
  }

  .not-found-ribbon,
  .not-found-ribbon span {
    height: 28px;
  }

  .not-found-ribbon span {
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .not-found-page {
    width: min(100% - 24px, 1120px);
    gap: 28px;
    padding: 120px 0 56px;
  }

  .not-found-hero {
    justify-content: flex-start;
    padding-top: 36px;
  }

  .not-found-code {
    margin: 4px 0 28px;
    font-size: clamp(6.2rem, 32vw, 8.2rem);
  }

  .not-found-title {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .not-found-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

  .not-found-actions {
    width: 100%;
    margin-top: 30px;
  }

  .not-found-actions a {
    width: min(100%, 320px);
    min-height: 54px;
    border-radius: 16px;
  }

  .not-found-meta span + span::before {
    content: "";
    margin: 0;
  }

  .info-hero {
    padding-top: 16px;
  }

  .info-jump-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 28px;
  }

  .info-jump-link {
    min-height: 64px;
    border-radius: 16px;
    font-size: 0.68rem;
  }

  .info-section,
  .info-faq,
  .info-contact {
    border-radius: 18px;
    padding: 20px;
  }

  .music-page {
    width: min(100% - 24px, 980px);
  }

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

  .music-request-panel {
    border-radius: 18px;
    padding: 20px;
  }

  .sponsors-page {
    width: min(100% - 24px, 1160px);
  }

  .sponsors-rl {
    padding-top: 18px;
  }

  .sponsors-apply,
  .sponsors-placement-section,
  .sponsors-contact,
  .sponsors-rl-apply,
  .sponsors-rl-footer-cta {
    border-radius: 18px;
    padding: 20px;
  }

  .sponsors-placement-list {
    grid-template-columns: 1fr;
  }

  .sponsors-contact-actions a,
  .sponsors-rl-apply-actions a,
  .sponsors-rl-footer-cta a {
    width: 100%;
  }

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

  .music-result .music-source-badge {
    grid-column: 2;
    justify-self: start;
  }

  .music-board-section {
    border-radius: 18px;
    padding: 20px;
  }

  .music-card {
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: start;
  }

  .music-card-art {
    width: 62px;
    height: 62px;
  }

  .music-card-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .music-vote-form button {
    width: 100%;
  }

  .music-vote-form {
    flex: 1;
  }

  .info-faq-item summary {
    padding: 16px;
  }
}

.admin-preview-banner {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(7, 10, 16, 0.94);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.32);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-preview-banner > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.admin-preview-banner strong {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.admin-preview-banner span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-preview-banner nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-preview-link,
.admin-preview-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-preview-link-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: var(--accent-on);
}

.admin-preview-status {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 640px) {
  .admin-preview-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 14px;
  }

  .admin-preview-banner > div {
    flex-direction: column;
    gap: 2px;
  }

  .admin-preview-banner nav {
    width: 100%;
    justify-content: flex-start;
  }
}

