:root {
  --bg: #070b10;
  --bg-soft: #101822;
  --panel: rgba(13, 18, 24, 0.84);
  --panel-strong: #0c1218;
  --panel-light: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 198, 92, 0.24);
  --text: #f5efe3;
  --muted: #c0b9ae;
  --accent: #ffca6a;
  --accent-strong: #e2a133;
  --success: #99d3b2;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --max-width: 1240px;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 202, 106, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(79, 132, 109, 0.18), transparent 28%),
    linear-gradient(180deg, #070b10 0%, #111a23 55%, #070b10 100%);
}

body.nav-open {
  overflow: hidden;
}

body.admin-body {
  --bg: #f5f3ee;
  --bg-soft: #ebe7df;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --panel-light: #ffffff;
  --line: rgba(18, 24, 32, 0.08);
  --line-strong: rgba(18, 24, 32, 0.14);
  --text: #14171b;
  --muted: #6b7280;
  --accent: #14171b;
  --accent-strong: #14171b;
  --success: #2f7a58;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  background: #f5f3ee;
  color: var(--text);
}

body.admin-body .admin-shell {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

html[data-admin-ready="true"] body.admin-body .admin-shell {
  opacity: 1;
  pointer-events: auto;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-header,
.site-footer,
.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 1rem;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 16, 0.8);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 22px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
}

.brand-copy strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.top-links a:hover,
.top-links a.is-active {
  color: var(--text);
}

.top-links a.nav-apply,
.top-links a.nav-signin {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.top-links a.nav-apply {
  color: #0a0f15;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd88f, #d6942d);
  box-shadow: 0 12px 28px rgba(214, 148, 45, 0.16);
}

.top-links a.nav-apply:hover,
.top-links a.nav-apply.is-active {
  color: #0a0f15;
}

.top-links a.nav-signin {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.top-links a.nav-signin:hover,
.top-links a.nav-signin.is-active {
  color: var(--text);
}

.menu-trigger,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.3rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.menu-trigger:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-trigger,
.button-primary {
  color: #0a0f15;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd88f, #d6942d);
  box-shadow: 0 12px 28px rgba(214, 148, 45, 0.22);
}

.button-ghost,
.menu-close {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.page-shell {
  padding: 2.3rem 0 4.5rem;
}

body.admin-body .page-shell,
body.admin-body .site-header,
body.admin-body .site-footer {
  width: auto;
  margin: 0;
}

body.admin-body .eyebrow,
body.admin-body .page-kicker {
  color: #7b8290;
}

body.admin-body .lead,
body.admin-body p,
body.admin-body label span,
body.admin-body .page-hero-card p,
body.admin-body .info-card p,
body.admin-body .table-card p {
  color: var(--muted);
}

body.admin-body .button-primary,
body.admin-body .menu-trigger {
  color: #ffffff;
  background: #16181c;
  box-shadow: none;
}

body.admin-body .button-ghost {
  color: #16181c;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 32, 0.1);
  box-shadow: none;
}

body.admin-body .status-badge,
body.admin-body .tag {
  color: #303743;
  background: #f3f5f7;
  border-color: rgba(18, 24, 32, 0.08);
}

body.admin-body .table-shell th {
  color: #7b8290;
}

body.admin-body .table-shell td,
body.admin-body .table-shell th {
  border-bottom-color: rgba(18, 24, 32, 0.08);
}

body.admin-body input,
body.admin-body select,
body.admin-body textarea {
  color: #16181c;
  background: #ffffff;
  border-color: rgba(18, 24, 32, 0.1);
}

body.admin-body input::placeholder,
body.admin-body textarea::placeholder {
  color: #9aa1ac;
}

body.admin-body .form-status.error {
  color: #b42318;
}

.hero,
.section,
.contact-grid,
.registration-grid,
.detail-grid,
.split-layout {
  display: grid;
  gap: 1.5rem;
}

.hero {
  align-items: center;
  padding-top: 1.2rem;
}

.hero-home {
  grid-template-columns: 0.8fr 1.2fr;
  min-height: calc(100vh - 9rem);
}

.hero-page {
  grid-template-columns: 1fr;
}

.page-hero-card,
.video-shell,
.route-card,
.media-card,
.feature-card,
.judge-card,
.info-card,
.contact-card,
.registration-card,
.requirements-card,
.page-banner,
.crest-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero-card,
.feature-card,
.judge-card,
.info-card,
.contact-card,
.registration-card,
.requirements-card,
.page-banner {
  padding: 1.65rem;
}

.hero-copy {
  padding-left: 1.2rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 0.94;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.34rem;
  line-height: 1.1;
}

.lead,
.section-head p,
.page-hero-card p,
.feature-card p,
.judge-card p,
.info-card p,
.contact-card p,
.requirements-card p,
.page-banner p,
.footer-copy p,
.footer-links a,
.footer-links p,
figcaption,
label span,
.placeholder-copy {
  color: var(--muted);
}

.lead,
.page-hero-card p {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.45rem;
}

.audition-date-notice {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 190, 54, 0.48);
  border-radius: 14px;
  background: rgba(255, 190, 54, 0.1);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.audition-date-notice span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audition-date-notice strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.25;
}

a.audition-date-notice {
  transition: border-color 160ms ease, transform 160ms ease;
}

a.audition-date-notice:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-row article,
.footer-ribbon span,
.pill {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-row strong,
.requirements-list strong,
.contact-card strong,
.placeholder-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-stage {
  display: grid;
  gap: 0;
}

.video-shell {
  min-height: 44rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.22)),
    url("/video-poster.jpg") center/cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: 44rem;
  object-fit: cover;
  opacity: 0;
  transition: opacity 280ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.video-brand-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.video-brand-chip img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.video-brand-chip span {
  font-size: 0.84rem;
  font-weight: 700;
}

.video-shell::after,
.page-hero-card::after,
.route-card::after,
.media-card::after,
.page-banner::after {
  content: "";
  position: absolute;
  inset: auto -12% -34% auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 106, 0.22), transparent 62%);
  pointer-events: none;
}

.video-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  font-size: 0.86rem;
  font-weight: 700;
}

.crest-card p,
.route-card span,
.nav-card span,
.page-kicker,
figcaption {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crest-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding-top: 1.75rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 1.2rem;
}

.section-head.compact {
  margin-bottom: 0.9rem;
}

.route-grid,
.hook-grid,
.media-grid,
.feature-grid,
.judges-grid,
.contact-grid,
.registration-grid,
.detail-grid,
.banner-grid,
.contestant-grid,
.instagram-grid,
.dashboard-grid,
.legal-grid,
.leaderboard-stack,
.profile-grid,
.schedule-grid,
.table-grid {
  display: grid;
  gap: 1rem;
}

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

.hook-card,
.cta-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hook-card {
  min-height: 13rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 202, 106, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.hook-card span {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hook-card h3 {
  max-width: 14rem;
  font-size: 1.3rem;
  line-height: 1.15;
}

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

.contestant-grid,
.instagram-grid,
.dashboard-grid,
.table-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card {
  min-height: 17rem;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(6, 10, 14, 0.82)),
    var(--card-image) center/cover;
}

.route-card h3 {
  max-width: 15rem;
  font-size: 1.18rem;
  line-height: 1.12;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.45rem 1.55rem;
  background:
    radial-gradient(circle at right, rgba(255, 202, 106, 0.12), transparent 28%),
    var(--panel);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.media-grid-home {
  grid-template-columns: 1.25fr 1fr 1fr;
}

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

.media-card {
  min-height: 16rem;
  background: var(--panel);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tall {
  grid-row: span 2;
  min-height: 31rem;
}

.media-placeholder,
.placeholder-card {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 202, 106, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.media-placeholder div,
.placeholder-copy {
  max-width: 18rem;
}

figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
}

.page-hero-card {
  min-height: 28rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(8, 12, 16, 0.88)),
    var(--page-image) center/cover;
}

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

.feature-card {
  min-height: 15rem;
}

.feature-card p,
.judge-card p,
.info-card p,
.contact-card p,
.requirements-card p,
.page-banner p {
  margin: 0.85rem 0 0;
  line-height: 1.7;
}

.detail-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.banner-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.page-banner {
  min-height: 24rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(8, 12, 16, 0.84)),
    var(--banner-image) center/cover;
}

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

.judge-card {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 34%),
    var(--panel-strong);
}

.judge-profile-card {
  min-height: 100%;
  justify-content: start;
  overflow: hidden;
  padding: 0;
}

.judge-profile-visual {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(255, 202, 106, 0.24), rgba(12, 23, 31, 0.9)),
    var(--panel-strong);
}

.judge-profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.judge-profile-visual.is-empty {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.judge-profile-visual.is-empty span {
  max-width: 14rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  line-height: 1.4;
}

.judge-profile-copy {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
}

.judge-profile-copy h3,
.judge-profile-copy p {
  margin: 0;
}

.judge-profile-headline {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.judge-profile-bio {
  display: grid;
  gap: 0.85rem;
}

.judge-profile-bio p {
  margin: 0;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-stack,
.requirements-list,
.footer-links {
  display: grid;
  gap: 1rem;
}

.contact-card a,
.footer-links a {
  color: var(--text);
}

.registration-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.registration-card,
.requirements-card {
  padding: 1.5rem;
}

.registration-flow-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.registration-flow-list article {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-light);
}

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

label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.94rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.94rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 202, 106, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 202, 106, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #9a9389;
}

.full-width {
  grid-column: 1 / -1;
}

[hidden] {
  display: none !important;
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.check-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  color: var(--success);
  font-size: 0.92rem;
}

.requirements-list article {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-light);
}

.contestant-card,
.post-card,
.dashboard-card,
.leaderboard-row,
.timeline-item,
.judge-score-card,
.table-card,
.legal-card,
.share-panel,
.qr-card,
.status-card,
.mini-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.post-card {
  min-height: 23rem;
  display: flex;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(8, 12, 16, 0.9)),
    var(--card-image) center/cover;
}

.contestant-card {
  min-height: 24rem;
  display: grid;
  grid-template-rows: 15rem 1fr;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 11, 16, 0.9)),
    var(--panel);
}

.contestant-card-visual,
.leaderboard-image,
.rank-card-image {
  position: relative;
  overflow: hidden;
}

.contestant-card-visual img,
.leaderboard-image img,
.rank-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contestant-card-visual::after,
.leaderboard-image::after,
.rank-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.04), rgba(7, 11, 16, 0.45));
}

.contestant-rank-chip,
.rank-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: var(--text);
}

.contestant-rank-chip {
  top: 1rem;
  left: 1rem;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 11, 16, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contestant-vote-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 11, 16, 0.78);
  backdrop-filter: blur(12px);
}

.contestant-vote-chip strong,
.rank-card-votes strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.contestant-vote-chip span,
.rank-card-votes span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.contestant-card-body,
.post-card-body,
.dashboard-card,
.leaderboard-row,
.timeline-item,
.judge-score-card,
.table-card,
.legal-card,
.share-panel,
.qr-card,
.status-card,
.mini-card {
  padding: 1.3rem;
}

.contestant-card-body {
  display: grid;
  gap: 0.95rem;
}

.contestant-card-body h3,
.contestant-card-body p {
  margin: 0;
}

.contestant-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contestant-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contestant-card-actions .button {
  flex: 1 1 10rem;
}

.contestant-card-body p,
.post-card-body p,
.dashboard-card p,
.leaderboard-row p,
.timeline-item p,
.judge-score-card p,
.table-card p,
.legal-card p,
.share-panel p,
.qr-card p,
.status-card p,
.mini-card span,
.legal-list li,
.data-list li {
  color: var(--muted);
  line-height: 1.7;
}

.profile-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.profile-meta,
.tag-row,
.action-row,
.data-list,
.legal-list,
.timeline-list,
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.timeline-list,
.stack-list,
.data-list,
.legal-list {
  flex-direction: column;
}

.tag,
.status-badge,
.code-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-badge {
  color: var(--accent);
}

.leaderboard-stack {
  grid-template-columns: 1fr;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: auto 1.35fr auto;
  align-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 202, 106, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(7, 11, 16, 0.88));
}

.leaderboard-row.is-podium {
  border-color: rgba(255, 202, 106, 0.22);
}

.leaderboard-rank-wrap {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
}

.leaderboard-rank-wrap strong {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  line-height: 0.9;
  color: var(--accent);
}

.leaderboard-contestant {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
}

.leaderboard-image {
  height: 5.5rem;
  border-radius: 20px;
}

.leaderboard-copy p,
.leaderboard-copy h3 {
  margin: 0;
}

.leaderboard-copy h3 {
  margin-top: 0.18rem;
  margin-bottom: 0.35rem;
}

.leaderboard-metric {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.leaderboard-metric span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
}

.leaderboard-metric small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.rank-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(7, 11, 16, 0.9)),
    var(--panel);
  box-shadow: var(--shadow);
}

.rank-card.is-leading {
  border-color: rgba(255, 202, 106, 0.3);
}

.rank-card-image {
  height: 14rem;
}

.rank-badge {
  top: 1rem;
  left: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(7, 11, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rank-card-copy,
.rank-card-votes {
  padding: 1.1rem 1.15rem;
}

.rank-card-copy p,
.rank-card-copy h3 {
  margin: 0;
}

.rank-card-copy h3 {
  margin-top: 0.18rem;
  margin-bottom: 0.35rem;
}

.rank-card-votes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

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

.admin-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.admin-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-nav-link {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 14, 19, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-nav-link strong,
.admin-nav-link span {
  display: block;
}

.admin-nav-link strong {
  margin-bottom: 0.25rem;
}

.admin-nav-link span {
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-nav-link:hover,
.admin-nav-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 202, 106, 0.28);
  background: rgba(255, 202, 106, 0.08);
}

.dashboard-card strong,
.mini-card strong {
  display: block;
  margin-bottom: 0.45rem;
}

.admin-metric-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 202, 106, 0.12), transparent 42%),
    rgba(9, 14, 19, 0.82);
}

.admin-metric-card.is-warm {
  border-color: rgba(255, 202, 106, 0.26);
}

.admin-metric-card.is-cool {
  border-color: rgba(126, 197, 255, 0.2);
}

.admin-metric-card.is-danger {
  border-color: rgba(255, 128, 128, 0.22);
}

.dashboard-metric {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-section-head h3 {
  margin: 0.15rem 0 0;
}

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

.admin-queue-card {
  display: grid;
  gap: 0.2rem;
  min-height: 9.5rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(9, 14, 19, 0.74)),
    rgba(9, 14, 19, 0.74);
}

.admin-queue-card strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.admin-queue-card.is-danger {
  border-color: rgba(255, 128, 128, 0.22);
}

.admin-lookup-form,
.admin-filter-grid {
  display: grid;
  gap: 0.95rem;
}

.admin-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-filter-grid .full-width {
  grid-column: 1 / -1;
}

.admin-review-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-review-sidebar,
.admin-review-main {
  display: grid;
  gap: 1rem;
}

.admin-review-sidebar {
  position: sticky;
  top: 1.2rem;
}

.admin-stage-panel,
.admin-toolbar-panel,
.admin-list-shell {
  display: grid;
  gap: 1rem;
}

.admin-stage-nav {
  display: grid;
  gap: 0.5rem;
}

.admin-stage-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 20px;
  background: #fbfaf6;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.admin-stage-link:hover,
.admin-stage-link.is-active {
  transform: translateY(-1px);
  border-color: #14171b;
  background: #14171b;
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.admin-stage-link.is-warm:not(.is-active) {
  background: #fffaf1;
}

.admin-stage-link.is-cool:not(.is-active) {
  background: #f6fbff;
}

.admin-stage-copy strong,
.admin-stage-copy span,
.admin-stage-count,
.admin-list-cell strong,
.admin-list-cell small {
  display: block;
}

.admin-stage-copy strong {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.admin-stage-copy span {
  color: #7b8290;
  font-size: 0.8rem;
  line-height: 1.5;
}

.admin-stage-link:hover .admin-stage-copy span,
.admin-stage-link.is-active .admin-stage-copy span {
  color: rgba(255, 255, 255, 0.72);
}

.admin-stage-count {
  min-width: 2.5rem;
  padding: 0.52rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 24, 32, 0.06);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.admin-stage-link:hover .admin-stage-count,
.admin-stage-link.is-active .admin-stage-count {
  background: rgba(255, 255, 255, 0.14);
}

.admin-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-list-head h3 {
  margin: 0.2rem 0 0.35rem;
}

.admin-list-head p:last-child {
  margin: 0;
  max-width: 42rem;
}

.admin-list-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: min(24rem, 100%);
}

.admin-list-totals article {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 20px;
  background: #fbfaf6;
}

.admin-list-totals span {
  display: block;
  color: #7b8290;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-list-totals strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.admin-list-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0 0.2rem;
}

.admin-list-columns span,
.admin-list-label {
  color: #7b8290;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-list-row {
  gap: 1rem;
  border-radius: 28px;
}

.admin-list-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-list-row-subtitle {
  margin: 0.4rem 0 0;
  color: #7b8290;
  line-height: 1.6;
}

.admin-list-row-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-list-cell {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(18, 24, 32, 0.07);
  border-radius: 18px;
  background: #fbfaf6;
}

.admin-list-cell strong {
  margin-top: 0.45rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.admin-list-cell small {
  margin-top: 0.3rem;
  color: #7b8290;
  font-size: 0.84rem;
}

.admin-list-row-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 1fr) auto auto;
  gap: 0.8rem;
  align-items: end;
}

.admin-inline-control,
.admin-inline-toggle {
  display: grid;
  gap: 0.45rem;
}

.admin-inline-control span,
.admin-inline-toggle span {
  font-size: 0.84rem;
  color: #7b8290;
}

.admin-inline-toggle {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(18, 24, 32, 0.07);
  border-radius: 18px;
  background: #fbfaf6;
}

.admin-row-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.admin-row-links-portal {
  padding-top: 0.2rem;
}

.admin-inline-note {
  color: #6b7280;
  font-size: 0.88rem;
}

.admin-inline-note strong {
  color: #14171b;
}

.admin-list-empty {
  border-style: dashed;
  background: #fbfaf6;
  box-shadow: none;
}

.admin-detail-panel {
  margin-top: 1rem;
}

.admin-detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(9, 14, 19, 0.72)),
    rgba(9, 14, 19, 0.74);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.admin-detail-grid p {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-detail-grid strong,
.admin-detail-grid span {
  display: block;
}

.admin-detail-grid strong {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-split-column,
.admin-list-stack {
  display: grid;
  gap: 0.8rem;
}

.admin-stream-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-stream-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-stream-link:hover,
.admin-stream-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.admin-stream-link.is-warm {
  border-color: rgba(255, 188, 73, 0.28);
  background: #fffaf0;
}

.admin-stream-link.is-cool {
  border-color: rgba(21, 132, 178, 0.16);
  background: #f5fbff;
}

.admin-stream-card span {
  display: block;
}

.admin-stream-meta {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.admin-link-cta {
  color: #0f766e;
  font-weight: 700;
}

.admin-record-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(9, 14, 19, 0.78)),
    rgba(9, 14, 19, 0.8);
}

.admin-record-card.is-focused {
  border-color: rgba(21, 132, 178, 0.28);
  box-shadow: 0 0 0 3px rgba(21, 132, 178, 0.08);
}

.admin-inline-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-inline-summary span {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-inline-summary strong {
  margin-right: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-quick-actions {
  flex-wrap: wrap;
}

.admin-link-row {
  margin-bottom: 0.35rem;
}

.admin-danger-button {
  border-color: rgba(180, 35, 24, 0.18);
  color: #9b2218;
  background: #fff6f5;
}

.admin-secret-card {
  display: grid;
  gap: 0.35rem;
  border-color: rgba(255, 202, 106, 0.28);
  background: #fffaf0;
}

.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

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

.legal-card h3,
.share-panel h3,
.qr-card h3,
.status-card h3,
.table-card h3 {
  margin-bottom: 0.8rem;
}

.legal-list,
.data-list {
  margin: 0;
  padding-left: 1.1rem;
}

.table-shell {
  overflow-x: auto;
}

.table-shell table {
  width: 100%;
  border-collapse: collapse;
}

.table-shell th,
.table-shell td {
  padding: 0.95rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-shell th {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mini-card {
  background: var(--panel-light);
}

.mini-card.warning {
  border-color: rgba(255, 202, 106, 0.24);
}

.split-surface {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

body.auth-admin-mode .split-surface {
  grid-template-columns: 1fr;
}

body.auth-admin-mode .info-stack {
  width: min(100%, 42rem);
  margin: 0 auto;
}

body.auth-admin-mode [data-auth-signup-card] {
  display: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
  padding: 1.2rem 1.2rem 1.6rem;
}

.admin-sidebar {
  display: none;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(18, 24, 32, 0.07);
}

.admin-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  object-fit: contain;
  background: #f7f7f5;
}

.admin-brand strong,
.admin-brand span {
  display: block;
}

.admin-brand span {
  color: #7b8290;
  font-size: 0.84rem;
}

.admin-side-nav {
  display: grid;
  gap: 0.9rem;
}

.admin-shell-actions {
  display: flex;
  padding-top: 1rem;
}

.admin-side-group {
  display: grid;
  gap: 0.4rem;
}

.admin-side-group-label {
  margin: 0;
  padding: 0 0.35rem;
  color: #7b8290;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-side-group-items {
  display: grid;
  gap: 0.3rem;
}

.admin-side-link {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease;
}

.admin-side-link strong,
.admin-side-link span {
  display: block;
}

.admin-side-link strong {
  margin-bottom: 0.18rem;
  font-size: 0.96rem;
}

.admin-side-link span {
  color: #7b8290;
  font-size: 0.8rem;
}

.admin-side-link:hover,
.admin-side-link.is-active {
  background: #16181c;
  border-color: #16181c;
  color: #ffffff;
}

.admin-side-link:hover span,
.admin-side-link.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.admin-side-note {
  padding: 0.9rem;
  border-radius: 20px;
  background: #f6f6f3;
}

.admin-side-note p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0 0.4rem;
}

.admin-page-actions {
  margin-left: auto;
}

.admin-media-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.admin-media-preview {
  display: grid;
  gap: 0.85rem;
}

.admin-media-preview-card {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 1.25rem;
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #faf8f2 0%, #f2efe6 100%);
}

.admin-media-preview-card img {
  max-width: min(100%, 20rem);
  max-height: 12rem;
  object-fit: contain;
}

.admin-media-note {
  margin: 0;
  color: #7b8290;
}

.admin-media-form {
  display: grid;
  gap: 0.9rem;
}

.admin-judge-list {
  display: grid;
  gap: 1rem;
}

.admin-judge-card {
  display: grid;
  gap: 1rem;
}

.admin-judge-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.admin-judge-card-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-judge-preview {
  min-height: 14rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.admin-judge-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-judge-preview-empty {
  min-height: 14rem;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  color: var(--muted);
  text-align: center;
}

.admin-judge-fields {
  display: grid;
  gap: 0.9rem;
}

.admin-inline-check {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 600;
}

.admin-inline-check input {
  width: auto;
  margin: 0;
}

.admin-page-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.admin-page-head p:last-child {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  line-height: 1.7;
}

.admin-panel {
  display: grid;
  gap: 1rem;
}

.admin-list-board,
body.admin-body .legal-grid,
body.admin-body .profile-grid {
  grid-template-columns: 1fr;
}

body.admin-body .dashboard-card,
body.admin-body .table-card,
body.admin-body .info-card,
body.admin-body .judge-score-card,
body.admin-body .mini-card,
body.admin-body .legal-card {
  border-color: rgba(18, 24, 32, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

body.admin-body .dashboard-card,
body.admin-body .table-card,
body.admin-body .info-card,
body.admin-body .judge-score-card {
  padding: 1.25rem;
}

body.admin-body .mini-card {
  padding: 1rem 1.05rem;
}

body.admin-body .mini-card.warning,
body.admin-body .admin-record-card .form-status.error {
  border-color: rgba(180, 35, 24, 0.14);
  background: #fff8f7;
}

body.admin-body .dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

body.admin-body .admin-stream-card,
body.admin-body .admin-record-card,
body.admin-body .judge-score-card {
  box-shadow: none;
}

body.admin-body .admin-record-card,
body.admin-body .judge-score-card,
body.admin-body .admin-detail-card {
  background: #ffffff;
}

body.admin-body .admin-stream-link:hover,
body.admin-body .admin-stream-link:focus-visible {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

body.admin-body .admin-record-card,
body.admin-body .judge-score-card {
  display: grid;
  gap: 0.9rem;
}

body.admin-body .admin-nav,
body.admin-body .hero,
body.admin-body .masthead,
body.admin-body .footer-shell {
  display: none;
}

.share-panel img {
  width: 100%;
  max-width: 220px;
  border-radius: 20px;
  background: #fff;
}

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

.vote-form-grid .full-width {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status.error {
  color: #ff9c9c;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.account-shell {
  padding-top: 1.2rem;
}

.account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0 1.35rem;
}

.account-heading h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.account-heading p {
  max-width: 23rem;
  margin: 0;
  color: var(--muted);
}

.account-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.account-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 202, 106, 0.08), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
}

.account-card-hero {
  grid-column: span 7;
}

.account-card-wide {
  grid-column: span 8;
}

.account-card h2,
.account-card h3 {
  margin: 0.15rem 0 0;
}

.account-card .lead {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.account-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.account-card-head,
.account-stage-line {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.account-card-head h3 {
  font-size: 1.28rem;
}

.account-metric-row,
.account-fact-list,
.account-link-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

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

.account-metric-card,
.account-fact-list article,
.account-history-item,
.account-link-button {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.account-metric-card,
.account-fact-list article {
  padding: 0.95rem 1rem;
}

.account-metric-card span,
.account-fact-list article strong,
.account-history-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-metric-card strong,
.account-fact-list article span {
  display: block;
  margin-top: 0.32rem;
  font-size: 1rem;
  line-height: 1.35;
}

.account-subsection {
  margin-top: 1.2rem;
}

.account-history-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.account-history-item {
  display: grid;
  gap: 0.24rem;
  padding: 0.9rem 1rem;
}

.account-history-item strong {
  font-size: 1rem;
}

.account-history-item em {
  color: var(--text);
  font-style: normal;
}

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

.account-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 1rem;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.account-link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 202, 106, 0.28);
  background: rgba(255, 202, 106, 0.08);
}

.account-inline-action {
  margin-top: 1rem;
}

.account-muted {
  color: var(--muted);
}

.account-stage-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.account-stage-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.account-stage-item.is-complete {
  border-color: rgba(153, 211, 178, 0.32);
  background: rgba(153, 211, 178, 0.08);
}

.account-stage-item.is-current {
  border-color: rgba(255, 202, 106, 0.34);
  background: rgba(255, 202, 106, 0.08);
}

.account-stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.account-stage-copy {
  display: grid;
  gap: 0.35rem;
}

.account-stage-copy strong {
  font-size: 1rem;
}

.account-stage-state {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-stage-copy p {
  margin: 0;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  background:
    radial-gradient(circle at top left, rgba(255, 202, 106, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.94), rgba(5, 9, 13, 0.98));
  backdrop-filter: blur(18px);
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nav-panel {
  width: min(calc(100% - 1rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(9, 14, 19, 0.84);
  box-shadow: var(--shadow);
}

.nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.nav-card {
  min-height: 15rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(7, 11, 16, 0.82)),
    var(--card-image) center/cover;
}

.nav-card h3 {
  font-size: 1.25rem;
}

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

.site-footer {
  padding-bottom: 2rem;
}

.footer-shell {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(9, 14, 19, 0.8);
}

.footer-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr 0.95fr;
  gap: 1rem;
}

.footer-copy {
  max-width: 28rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .hero-home,
  .hook-grid,
  .route-grid,
  .feature-grid,
  .judges-grid,
  .banner-grid,
  .contact-grid,
  .registration-grid,
  .contestant-grid,
  .instagram-grid,
  .dashboard-grid,
  .admin-overview-grid,
  .legal-grid,
  .profile-grid,
  .split-surface,
  .table-grid,
  .footer-main,
  .nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .admin-judge-card-layout {
    grid-template-columns: 1fr;
  }

  .admin-review-shell,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-review-sidebar,
  .admin-sidebar {
    position: static;
  }

  .admin-list-row-grid,
  .admin-list-row-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-list-totals {
    min-width: 0;
  }

  .media-tall {
    grid-row: auto;
    min-height: 20rem;
  }

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

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

  .account-card,
  .account-card-hero,
  .account-card-wide {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .page-shell {
    width: calc(100% - 1rem);
  }

  .masthead {
    border-radius: 28px;
  }

  .top-links {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.74rem;
  }

  .brand-copy span {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .brand-emblem {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 16px;
  }

  .hero-home,
  .hook-grid,
  .route-grid,
  .media-grid-home,
  .media-grid,
  .feature-grid,
  .judges-grid,
  .contact-grid,
  .registration-grid,
  .form-grid,
  .detail-grid,
  .banner-grid,
  .contestant-grid,
  .instagram-grid,
  .dashboard-grid,
  .admin-overview-grid,
  .legal-grid,
  .profile-grid,
  .split-surface,
  .vote-form-grid,
  .table-grid,
  .footer-main,
  .nav-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav,
  .admin-queue-grid,
  .admin-filter-grid,
  .admin-detail-grid,
  .admin-inline-summary,
  .admin-list-row-grid,
  .admin-list-row-controls,
  .admin-list-totals {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    padding: 0.8rem;
  }

  .admin-list-columns {
    display: none;
  }

  .admin-page-head {
    align-items: flex-start;
  }

  .admin-list-head,
  .admin-list-row-head {
    flex-direction: column;
  }

  .admin-stream-card {
    flex-direction: column;
  }

  .admin-stream-meta {
    justify-items: start;
    text-align: left;
  }

  .leaderboard-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-shell {
    padding-top: 1.3rem;
  }

  .account-layout,
  .account-metric-row,
  .account-link-grid {
    grid-template-columns: 1fr;
  }

  .account-card,
  .account-card-hero,
  .account-card-wide {
    grid-column: 1 / -1;
    padding: 1.1rem;
    border-radius: 24px;
  }

  .account-card-head,
  .account-stage-line {
    flex-direction: column;
  }

  .hero-copy {
    padding-left: 0;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .video-shell,
  .hero-video {
    min-height: 21rem;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-brand-chip {
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.55rem 0.7rem;
  }

  .video-brand-chip img {
    width: 1.7rem;
    height: 1.7rem;
  }

  .footer-ribbon {
    display: none;
  }

  .nav-panel {
    padding: 1rem;
    border-radius: 28px;
  }

  .nav-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Premium MTPN landing experience */
.brand-emblem {
  width: 4.9rem;
  height: 4.9rem;
  border-radius: 50%;
  border-color: rgba(255, 202, 106, 0.28);
  box-shadow:
    0 0 0 4px rgba(255, 202, 106, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.4);
}

.brand-emblem img {
  transform: scale(1.08);
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 6rem;
  padding: 0.8rem 1rem 0;
  border-top: 1px solid var(--line);
}

.powered-by span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.powered-by img {
  width: 6rem;
  height: 4.2rem;
  border: 1px solid rgba(255, 202, 106, 0.2);
  border-radius: 10px;
  object-fit: contain;
  background: #050609;
}

.powered-by strong {
  color: var(--accent);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.mobile-header-actions {
  display: none;
}

.menu-icon {
  display: grid;
  gap: 3px;
  width: 1rem;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

body[data-page="home"] {
  background: #050608;
}

body[data-page="home"] .site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
}

body[data-page="home"] .masthead {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(4, 5, 7, 0.7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

body[data-page="home"] .page-shell {
  width: 100%;
  max-width: none;
  padding: 0 0 5rem;
  overflow: hidden;
}

body[data-page="home"] .section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

body[data-page="home"] .hero-home {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 100svh;
  padding: clamp(10rem, 18vh, 13rem) max(2rem, calc((100vw - var(--max-width)) / 2)) 7.5rem;
  isolation: isolate;
  overflow: hidden;
}

body[data-page="home"] .hero-stage {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
}

body[data-page="home"] .hero-video {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.88) contrast(1.08);
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 5, 0.94) 0%, rgba(2, 3, 5, 0.75) 34%, rgba(2, 3, 5, 0.18) 70%, rgba(2, 3, 5, 0.32) 100%),
    linear-gradient(180deg, rgba(2, 3, 5, 0.48) 0%, transparent 30%, transparent 66%, rgba(2, 3, 5, 0.9) 100%);
}

.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 45%, rgba(226, 161, 51, 0.08), transparent 31%);
}

body[data-page="home"] .hero-copy {
  position: relative;
  z-index: 2;
  width: min(49rem, 68vw);
  padding: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-kicker p {
  margin: 0;
  color: #f4cc78;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker-line {
  width: 3.2rem;
  height: 1px;
  background: linear-gradient(90deg, #f4cc78, rgba(244, 204, 120, 0.1));
}

body[data-page="home"] .hero-copy h1 {
  color: #ffffff;
  font-size: clamp(4.2rem, 8.2vw, 8.3rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-wrap: balance;
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.42);
}

body[data-page="home"] h1 em,
body[data-page="home"] h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

body[data-page="home"] .hero-copy .lead {
  max-width: 40rem;
  margin: 1.55rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

body[data-page="home"] .hero-actions {
  margin: 2rem 0 1.8rem;
}

body[data-page="home"] .hero-actions .button {
  min-height: 3.5rem;
  padding-inline: 1.55rem;
  border-radius: 8px;
}

body[data-page="home"] .button-primary {
  background: linear-gradient(135deg, #ffe09a 0%, #e1a33c 48%, #b87416 100%);
  box-shadow: 0 18px 45px rgba(207, 139, 31, 0.26);
}

body[data-page="home"] .button-ghost {
  background: rgba(5, 7, 9, 0.5);
  backdrop-filter: blur(12px);
}

.sound-icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.55rem;
}

body[data-page="home"] .audition-date-notice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(24rem, 100%);
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-color: rgba(255, 202, 106, 0.28);
  border-radius: 9px;
  background: rgba(4, 6, 8, 0.62);
  backdrop-filter: blur(14px);
}

.date-day {
  padding-right: 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.date-copy {
  display: grid;
  gap: 0.15rem;
}

.date-copy small {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.date-copy strong {
  font-size: 0.98rem;
}

.date-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

.hero-rail {
  position: absolute;
  right: max(2rem, calc((100vw - var(--max-width)) / 2));
  bottom: 7.8rem;
  z-index: 2;
  display: grid;
  min-width: 17rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-rail article {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  padding: 0.65rem 0 0.65rem 1.1rem;
}

.hero-rail article > span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-rail article div {
  display: grid;
  gap: 0.15rem;
}

.hero-rail strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-rail small {
  font-size: 0.76rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: relative;
  width: 1px;
  height: 2.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  inset: -100% 0 0;
  background: var(--accent);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(100%); }
}

.home-intro {
  grid-template-columns: 1.05fr 0.75fr;
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

body[data-page="home"] .section-head {
  max-width: 51rem;
  margin: 0;
}

body[data-page="home"] .section-head h2 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.home-intro-copy {
  padding-bottom: 0.4rem;
}

.home-intro-copy p {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 202, 106, 0.46);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-pillars {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

body[data-page="home"] .hook-grid {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

body[data-page="home"] .hook-card {
  min-height: 24rem;
  padding: 1.6rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 202, 106, 0.03), rgba(255, 255, 255, 0.015)),
    #0a0e13;
  box-shadow: none;
  transition: background 240ms ease, transform 240ms ease;
}

body[data-page="home"] .hook-card:last-child {
  border-right: 0;
}

body[data-page="home"] .hook-card:hover {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 202, 106, 0.13), transparent 40%),
    #10151b;
}

.hook-number {
  color: rgba(255, 202, 106, 0.52) !important;
  font-size: 0.72rem !important;
}

body[data-page="home"] .hook-card p {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="home"] .hook-card h3 {
  max-width: 19rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.14;
}

.home-explore {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.home-explore .section-head {
  margin-bottom: 2rem !important;
}

body[data-page="home"] .route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

body[data-page="home"] .route-card {
  min-height: 28rem;
  padding: 1.6rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(2, 4, 6, 0.05), rgba(2, 4, 6, 0.92)),
    var(--card-image) center/cover;
  transition: transform 300ms ease, border-color 300ms ease;
}

body[data-page="home"] .route-card:hover {
  border-color: rgba(255, 202, 106, 0.42);
  transform: translateY(-6px);
}

body[data-page="home"] .route-card span {
  margin-bottom: 0.8rem;
}

body[data-page="home"] .route-card h3 {
  max-width: 25rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

body[data-page="home"] .route-card b {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 1rem;
}

.home-cta {
  padding-bottom: clamp(2rem, 6vw, 5rem);
}

body[data-page="home"] .cta-banner {
  min-height: 30rem;
  padding: clamp(2rem, 6vw, 5rem);
  border-color: rgba(255, 202, 106, 0.24);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.97), rgba(5, 7, 9, 0.7)),
    url("/video-poster.jpg") center 40%/cover;
}

body[data-page="home"] .cta-banner h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
}

body[data-page="home"] .cta-banner p:not(.eyebrow) {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

body[data-page="home"] .cta-banner-actions {
  align-items: flex-start;
  flex-direction: column;
}

body[data-page="home"] .cta-banner-actions .button {
  border-radius: 8px;
}

@media (max-width: 900px) {
  body[data-page="home"] .hero-home {
    padding-bottom: 6.5rem;
  }

  body[data-page="home"] .hero-copy {
    width: min(43rem, 82vw);
  }

  .hero-rail {
    display: none;
  }

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

@media (max-width: 760px) {
  .brand-emblem {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 50%;
  }

  body[data-page="home"] .masthead {
    padding: 0.7rem 0.8rem;
    border-radius: 999px;
  }

  .desktop-menu-trigger {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
  }

  .mobile-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    color: #080b0f;
    background: linear-gradient(135deg, #ffe09a 0%, #e1a33c 52%, #b87416 100%);
    box-shadow: 0 10px 24px rgba(207, 139, 31, 0.2);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-menu-trigger,
  body[data-page="home"] .mobile-menu-trigger {
    min-height: 2.8rem;
    padding: 0.66rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
    font-size: 0.7rem;
    font-weight: 700;
  }

  .nav-overlay {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem;
  }

  .nav-panel {
    width: 100%;
    min-height: calc(100svh - 1rem);
    margin: 0;
    padding: 1rem;
  }

  .nav-panel-head {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 0.6rem 0 0.9rem;
    background: rgba(9, 14, 19, 0.96);
  }

  .nav-panel-head h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .nav-panel-head .eyebrow {
    margin-bottom: 0.45rem;
  }

  .menu-close {
    flex: 0 0 auto;
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
  }

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

  .nav-card {
    min-height: 8.25rem;
    padding: 0.85rem;
    border-radius: 18px;
  }

  .nav-card h3 {
    font-size: 1rem;
  }

  .nav-card span {
    margin-bottom: 0.35rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .nav-card p {
    display: none;
  }

  body[data-page="home"] .hero-home {
    min-height: 100svh;
    padding: 9.2rem 1.2rem 5.5rem;
  }

  body[data-page="home"] .hero-copy {
    width: 100%;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(3.35rem, 17vw, 5.5rem);
    line-height: 0.89;
  }

  body[data-page="home"] .hero-copy .lead {
    max-width: 31rem;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  body[data-page="home"] .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin: 1.5rem 0 1.3rem;
  }

  body[data-page="home"] .hero-actions .button {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  body[data-page="home"] .section {
    width: calc(100% - 1.2rem);
  }

  .home-intro {
    padding-top: 5rem;
    padding-bottom: 3.5rem;
  }

  body[data-page="home"] .section-head h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  body[data-page="home"] .hook-grid,
  body[data-page="home"] .route-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hook-card {
    min-height: 17rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body[data-page="home"] .hook-card:last-child {
    border-bottom: 0;
  }

  body[data-page="home"] .route-card {
    min-height: 23rem;
  }

  body[data-page="home"] .cta-banner {
    min-height: 32rem;
    padding: 1.6rem;
  }

  .powered-by {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .masthead {
    gap: 0.55rem;
  }

  .brand-lockup {
    gap: 0.55rem;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    max-width: 6.5rem;
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .brand-emblem {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
  }

  .mobile-apply {
    padding-inline: 0.75rem;
    font-size: 0.7rem;
  }

  .mobile-menu-trigger {
    gap: 0.4rem;
    padding-inline: 0.65rem;
  }
}

@media (max-width: 355px) {
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll span::after {
    animation: none;
  }
}

/* Premium public-page system */
body:not([data-page="home"]):not(.admin-body) {
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 190, 72, 0.11), transparent 24rem),
    radial-gradient(circle at 8% 42%, rgba(41, 104, 88, 0.09), transparent 28rem),
    linear-gradient(180deg, #050709 0%, #0b1015 48%, #050709 100%);
}

body:not([data-page="home"]):not(.admin-body) .masthead {
  border-color: rgba(255, 202, 106, 0.14);
  background: rgba(5, 7, 9, 0.88);
}

body:not([data-page="home"]):not(.admin-body) .page-shell {
  padding-top: 2rem;
}

body:not([data-page="home"]):not(.admin-body) .hero-page {
  padding-top: 0.5rem;
}

body:not([data-page="home"]):not(.admin-body) .page-hero-card {
  min-height: min(68vh, 46rem);
  padding: clamp(2rem, 6vw, 5rem);
  border-color: rgba(255, 202, 106, 0.16);
  background:
    linear-gradient(90deg, rgba(3, 5, 7, 0.94), rgba(3, 5, 7, 0.56) 58%, rgba(3, 5, 7, 0.25)),
    linear-gradient(180deg, transparent 48%, rgba(3, 5, 7, 0.8)),
    var(--page-image) center/cover;
}

body:not([data-page="home"]):not(.admin-body) .page-hero-card h1 {
  max-width: 62rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.42);
}

body:not([data-page="home"]):not(.admin-body) .page-hero-card .lead {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

body:not([data-page="home"]):not(.admin-body) .section {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

body:not([data-page="home"]):not(.admin-body) .section-head {
  max-width: 56rem;
  margin-bottom: 2rem;
}

body:not([data-page="home"]):not(.admin-body) .section-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1;
}

body:not([data-page="home"]):not(.admin-body) .section-head > p:last-child:not(.eyebrow) {
  max-width: 45rem;
  margin-top: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

body:not([data-page="home"]):not(.admin-body) .feature-card,
body:not([data-page="home"]):not(.admin-body) .info-card,
body:not([data-page="home"]):not(.admin-body) .contact-card,
body:not([data-page="home"]):not(.admin-body) .requirements-card,
body:not([data-page="home"]):not(.admin-body) .registration-card,
body:not([data-page="home"]):not(.admin-body) .legal-card,
body:not([data-page="home"]):not(.admin-body) .mini-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 202, 106, 0.035), transparent 44%),
    rgba(9, 13, 18, 0.92);
}

body:not([data-page="home"]):not(.admin-body) .feature-card,
body:not([data-page="home"]):not(.admin-body) .info-card {
  transition: transform 220ms ease, border-color 220ms ease;
}

body:not([data-page="home"]):not(.admin-body) .feature-card:hover,
body:not([data-page="home"]):not(.admin-body) .info-card:hover {
  border-color: rgba(255, 202, 106, 0.25);
  transform: translateY(-4px);
}

body:not([data-page="home"]):not(.admin-body) .button-primary {
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe09a 0%, #e1a33c 48%, #b87416 100%);
}

body:not([data-page="home"]):not(.admin-body) input,
body:not([data-page="home"]):not(.admin-body) select,
body:not([data-page="home"]):not(.admin-body) textarea {
  min-height: 3.25rem;
  background: rgba(255, 255, 255, 0.035);
}

/* Judges */
body[data-page="judges"] .page-shell {
  width: 100%;
  max-width: none;
  padding-top: 1rem;
  overflow: hidden;
}

body[data-page="judges"] .page-shell > .section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.judges-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(25rem, 0.82fr) minmax(38rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  width: min(calc(100% - 2rem), 1440px);
  min-height: calc(100svh - 9rem);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid rgba(255, 202, 106, 0.14);
  border-radius: 36px;
  background:
    radial-gradient(circle at 70% 35%, rgba(212, 151, 50, 0.13), transparent 35%),
    linear-gradient(135deg, #090d12, #040608);
  overflow: hidden;
}

.judges-hero::before {
  content: "THE PANEL";
  position: absolute;
  left: -0.02em;
  bottom: -0.22em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.018);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(6rem, 17vw, 16rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.09em;
  white-space: nowrap;
}

.judges-hero-copy {
  position: relative;
  z-index: 2;
}

.judges-hero-copy h1 {
  max-width: 42rem;
  color: #fff;
  font-size: clamp(3.5rem, 6.5vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.judges-hero-copy h1 em,
.judges-panel-section h2 em,
.judges-standard h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.judges-hero-copy .lead {
  max-width: 38rem;
  margin: 1.5rem 0 1.8rem;
}

.judges-hero-collage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0.65rem;
  min-height: 37rem;
}

.judges-hero-collage figure {
  position: relative;
  height: 79%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #10151b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.judges-hero-collage figure:nth-child(2) {
  height: 92%;
}

.judges-hero-collage figure:nth-child(3) {
  height: 100%;
}

.judges-hero-collage figure:nth-child(4) {
  height: 86%;
}

.judges-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.92) contrast(1.03);
}

.judges-hero-collage figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 5, 7, 0.86));
}

.judges-hero-collage figcaption {
  z-index: 2;
  right: 0.6rem;
  bottom: 0.7rem;
  left: 0.6rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: none;
  font-size: 0.56rem;
  text-align: center;
}

.judges-panel-section {
  padding-top: clamp(6rem, 10vw, 10rem) !important;
}

.judges-panel-section .section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  max-width: none !important;
}

.judges-panel-section .section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1.8rem;
}

.judges-panel-section .section-head > p:last-child {
  align-self: end;
  margin: 0 0 0.4rem !important;
}

body[data-page="judges"] .judges-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

body[data-page="judges"] .judge-profile-card {
  display: grid;
  grid-template-columns: minmax(15rem, 0.86fr) minmax(18rem, 1.14fr);
  min-height: 33rem;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: #090d12;
  transition: border-color 240ms ease, transform 240ms ease;
}

body[data-page="judges"] .judge-profile-card:hover {
  border-color: rgba(255, 202, 106, 0.32);
  transform: translateY(-5px);
}

body[data-page="judges"] .judge-profile-card::before {
  content: var(--judge-index);
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 3;
  color: rgba(255, 202, 106, 0.62);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body[data-page="judges"] .judge-profile-visual {
  height: 100%;
  aspect-ratio: auto;
}

body[data-page="judges"] .judge-profile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 7, 9, 0.52));
  pointer-events: none;
}

body[data-page="judges"] .judge-profile-visual img {
  object-position: 50% 25%;
  filter: saturate(0.9);
  transition: transform 500ms ease;
}

body[data-page="judges"] .judge-profile-card:hover .judge-profile-visual img {
  transform: scale(1.025);
}

body[data-page="judges"] .judge-profile-copy {
  align-content: end;
  padding: 2rem;
}

body[data-page="judges"] .judge-profile-copy h3 {
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  line-height: 1;
}

body[data-page="judges"] .judge-profile-headline {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

body[data-page="judges"] .judge-profile-bio {
  max-height: 9.5rem;
  overflow: auto;
  padding-right: 0.5rem;
}

body[data-page="judges"] .judge-profile-bio p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.judges-standard {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.judges-standard h2 {
  font-size: clamp(2.7rem, 5.2vw, 5rem);
}

.judging-criteria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.judging-criteria article {
  min-height: 14rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.judging-criteria span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.judging-criteria strong {
  display: block;
  margin-top: 2rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
}

.judging-criteria p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.public-page-cta {
  min-height: 22rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-color: rgba(255, 202, 106, 0.2);
}

.public-page-cta h2 {
  max-width: 48rem;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
}

@media (max-width: 1100px) {
  .judges-hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .judges-hero-copy {
    max-width: 47rem;
  }

  .judges-hero-collage {
    min-height: 30rem;
  }

  body[data-page="judges"] .judge-profile-card {
    grid-template-columns: 1fr;
    grid-template-rows: 23rem auto;
  }

  body[data-page="judges"] .judge-profile-visual {
    height: 23rem;
  }
}

@media (max-width: 760px) {
  body:not([data-page="home"]):not(.admin-body) .page-hero-card {
    min-height: 32rem;
    padding: 1.5rem;
  }

  body:not([data-page="home"]):not(.admin-body) .page-hero-card h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  body[data-page="judges"] .page-shell > .section,
  .judges-hero {
    width: calc(100% - 1rem);
  }

  .judges-hero {
    min-height: auto;
    padding: 3.5rem 1rem 1rem;
    border-radius: 26px;
  }

  .judges-hero-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .judges-hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    min-height: 0;
  }

  .judges-hero-collage figure,
  .judges-hero-collage figure:nth-child(2),
  .judges-hero-collage figure:nth-child(3),
  .judges-hero-collage figure:nth-child(4) {
    height: 17rem;
  }

  .judges-panel-section .section-head,
  body[data-page="judges"] .judges-grid,
  .judges-standard,
  .judging-criteria {
    grid-template-columns: 1fr;
  }

  .judges-panel-section .section-head {
    gap: 1.4rem;
  }

  .judges-panel-section .section-head .eyebrow {
    margin-bottom: 0;
  }

  body[data-page="judges"] .judge-profile-card {
    grid-template-rows: 27rem auto;
  }

  body[data-page="judges"] .judge-profile-visual {
    height: 27rem;
  }

  body[data-page="judges"] .judge-profile-bio {
    max-height: none;
  }
}
