:root {
  --ink: #161413;
  --muted: #675f58;
  --paper: #fbf7ef;
  --panel: #ffffff;
  --line: #ded2c5;
  --red: #c82f2b;
  --gold: #e2ac48;
  --teal: #0f7772;
  --blue: #27658f;
  --shadow: 0 20px 55px rgba(32, 24, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(22, 20, 19, 0.1);
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.quick-stats,
.section-heading,
.form-actions,
.card-heading,
.join-band,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--gold);
  font: 700 14px/1 "Space Grotesk", sans-serif;
}

.nav-links {
  gap: clamp(12px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(710px, calc(100vh - 56px));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 12vw, 128px) clamp(18px, 5vw, 64px) clamp(42px, 8vw, 78px);
  background:
    linear-gradient(90deg, rgba(18, 14, 12, 0.92), rgba(18, 14, 12, 0.62) 50%, rgba(18, 14, 12, 0.18)),
    radial-gradient(circle at 75% 34%, rgba(226, 172, 72, 0.35), transparent 34%),
    #171211;
  color: #fffaf0;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 86px;
  background: linear-gradient(180deg, transparent, rgba(251, 247, 239, 0.98));
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.screen-glow {
  position: absolute;
  right: clamp(18px, 7vw, 110px);
  bottom: 126px;
  width: min(50vw, 680px);
  aspect-ratio: 16 / 9;
  border: 10px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 47, 43, 0.45), rgba(15, 119, 114, 0.42)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 3px, transparent 3px 18px);
  box-shadow: 0 0 90px rgba(226, 172, 72, 0.32);
  transform: perspective(900px) rotateY(-11deg) rotateX(3deg);
}

.poster-stack {
  position: absolute;
  top: 88px;
  right: 44px;
  display: grid;
  gap: 16px;
  transform: rotate(7deg);
}

.poster-stack span {
  width: 94px;
  height: 132px;
  border-radius: 7px;
  background: linear-gradient(150deg, var(--red), var(--gold));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.poster-stack span:nth-child(2) {
  background: linear-gradient(150deg, var(--teal), #8bc8bb);
}

.poster-stack span:nth-child(3) {
  background: linear-gradient(150deg, var(--blue), #b8d2e4);
}

.poster-stack span:nth-child(4) {
  background: linear-gradient(150deg, #6d334f, #f2b17f);
}

.poster-stack span:nth-child(5) {
  background: linear-gradient(150deg, #26211f, var(--gold));
}

.ticket-stub {
  position: absolute;
  right: clamp(56px, 10vw, 170px);
  bottom: 74px;
  width: 182px;
  padding: 18px 22px;
  border: 2px dashed rgba(22, 20, 19, 0.4);
  border-radius: 10px;
  background:
    radial-gradient(circle at left 50%, transparent 0 13px, var(--gold) 14px),
    radial-gradient(circle at right 50%, transparent 0 13px, var(--gold) 14px),
    repeating-linear-gradient(180deg, rgba(22, 20, 19, 0.34) 0 4px, transparent 4px 9px),
    var(--gold);
  background-position:
    left center,
    right center,
    38px 0,
    0 0;
  background-size:
    50% 100%,
    50% 100%,
    2px 100%,
    100% 100%;
  background-repeat: no-repeat;
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.ticket-stub span,
.stat-label,
.eyebrow {
  display: block;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticket-stub strong {
  display: block;
  margin-top: 4px;
  font: 700 33px/1 "Space Grotesk", sans-serif;
}

.paid-link {
  font-weight: 900;
}

.hero-content {
  width: min(820px, 100%);
}

.admin-hero {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 96px) 0 18px;
}

.admin-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
}

.admin-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hall-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.hall-list article {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.hall-list article:last-child {
  border-bottom: 0;
}

.hall-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hall-list strong {
  text-align: right;
  font: 800 18px/1.2 Inter, sans-serif;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(50px, 8.8vw, 118px);
  line-height: 0.9;
}

.hero-copy {
  max-width: 680px;
  color: var(--gold);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  font: 800 14px/1 Inter, sans-serif;
  cursor: pointer;
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 30px rgba(200, 47, 43, 0.26);
}

.button-secondary {
  background: rgba(255, 250, 240, 0.13);
  color: #fffaf0;
  border: 1px solid rgba(255, 250, 240, 0.28);
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
  pointer-events: none;
}

.button-secondary-dark,
.button-quiet {
  background: #f4eadf;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-quiet {
  min-height: 40px;
}

.quick-stats {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 36px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: minmax(105px, 0.75fr) minmax(82px, 0.55fr) minmax(130px, 0.8fr) minmax(300px, 1.9fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-stats article {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.quick-stats article:last-child {
  border-right: 0;
}

.stat-label {
  margin-bottom: 8px;
  color: var(--muted);
}

.quick-stats strong {
  display: block;
  overflow-wrap: anywhere;
  font: 700 clamp(23px, 3vw, 35px)/1 "Space Grotesk", sans-serif;
}

#statLeader {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(18px, 2.1vw, 30px);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 76px auto;
  scroll-margin-top: 96px;
}

.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-link-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.leaderboard,
.movie-table,
.admin-card,
.standing-card,
.contestant-card,
.completion-panel,
.info-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.leaderboard,
.movie-table {
  overflow: hidden;
}

.leaderboard-image {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.leaderboard-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.movie-quote-section {
  margin-bottom: -32px;
}

.movie-quote-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fffdf9;
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.movie-quote-card p {
  margin: 10px 0 0;
  color: var(--ink);
  font: italic 700 clamp(28px, 4vw, 48px)/1.12 "Space Grotesk", sans-serif;
}

.movie-quote-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.leaderboard-row,
.movie-row {
  display: grid;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.leaderboard-row {
  grid-template-columns: 0.55fr 1.7fr 1fr 1.6fr;
}

.movie-row {
  grid-template-columns: minmax(190px, 2fr) minmax(70px, 0.75fr) repeat(5, minmax(78px, 1fr));
}

.leaderboard-row:last-child,
.movie-row:last-child {
  border-bottom: 0;
}

.leaderboard-head,
.movie-head {
  min-height: 46px;
  background: #241d1b;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.leaderboard-head small,
.movie-head small {
  display: block;
  margin-left: 4px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.leaderboard-head small {
  display: inline-block;
}

.leaderboard-row:not(.leaderboard-head),
.movie-row:not(.movie-head) {
  font-weight: 700;
}

.player-jump {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.player-jump:hover,
.player-jump:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

.name-separator {
  color: var(--muted);
}

.movie-title-cell {
  display: grid;
  gap: 3px;
}

.movie-title-cell strong {
  font: inherit;
  overflow-wrap: anywhere;
}

.movie-title-cell small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.leaderboard-row span:nth-child(3),
.movie-row span:last-child {
  color: var(--red);
}

.movie-row.is-complete span:last-child {
  color: var(--blue);
}

.is-first {
  background: #fff3d5;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  font-weight: 700;
}

.contestant-browser {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
  padding: 22px;
}

.new-entry-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.new-entry-card > label,
.new-entry-pick span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.new-entry-card input,
.new-entry-card select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf9;
  color: var(--ink);
  font-weight: 800;
}

.new-entry-card input {
  width: min(420px, 100%);
}

.new-entry-card input:focus,
.new-entry-card select:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

.new-entry-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.new-entry-pick {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.new-entry-pick span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: #f4eadf;
}

.status-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-key i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.key-red {
  background: var(--red);
}

.key-blue {
  background: var(--blue);
}

.contestant-browser label {
  display: block;
  margin-bottom: 8px;
}

.contestant-browser select {
  width: min(420px, 100%);
  min-height: 46px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf9;
  color: var(--ink);
  font-weight: 800;
}

.contestant-browser select:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

.compare-panel {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.compare-panel h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

.compare-panel .card-heading {
  margin-bottom: 22px;
}

.compare-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.compare-field {
  display: grid;
  gap: 8px;
}

.compare-controls label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.compare-controls select {
  width: 100%;
  min-height: 46px;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf9;
  color: var(--ink);
  font-weight: 800;
}

.compare-controls select:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

.compare-action {
  display: flex;
  justify-content: flex-end;
}

#compareLists {
  margin-top: 14px;
}

#compareLists > .empty-state {
  padding: 10px 0 2px;
}

.compare-reset {
  margin-top: 12px;
}

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

.final-lists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-grid > .empty-state {
  grid-column: 1 / -1;
}

.compare-stats {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.compare-stats h4 {
  margin: 0 0 16px;
  font: 700 24px/1.05 "Space Grotesk", sans-serif;
}

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

.compare-stat-grid article,
.compare-detail-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fffdf9;
}

.compare-stat-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.compare-stat-grid strong {
  font: 700 24px/1.05 "Space Grotesk", sans-serif;
}

.compare-score-lines {
  display: grid;
  gap: 8px;
}

.compare-score-lines p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  border-top: 1px solid rgba(30, 41, 59, 0.1);
  padding-top: 8px;
}

.compare-score-lines p:first-child {
  border-top: 0;
  padding-top: 0;
}

.compare-score-lines span {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.compare-score-lines strong {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 18px;
  line-height: 1;
}

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

.compare-detail-grid h5 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.compare-detail-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.compare-detail-grid em {
  display: block;
  margin-top: 3px;
  font-style: italic;
}

.fun-stats-panel {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.fun-stats-panel h3 {
  margin-bottom: 16px;
  font-size: 28px;
  letter-spacing: 0;
}

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

.fun-stat-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fffdf9;
}

.fun-stat-grid article.fun-wide {
  grid-column: span 2;
}

.fun-stat-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fun-stat-grid span em {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-style: italic;
  line-height: 1.25;
  text-transform: none;
}

.fun-stat-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font: 700 20px/1.05 "Space Grotesk", sans-serif;
}

.fun-stat-grid em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.35;
}

.fun-mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.fun-mini-list em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contestant-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contestant-card h3 {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 18px 20px;
  background: #241d1b;
  color: #fffaf0;
  font-size: 24px;
}

.contestant-card h3 small {
  color: rgba(255, 250, 240, 0.72);
  font: 800 12px/1.2 Inter, sans-serif;
  text-transform: uppercase;
}

.contestant-card ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contestant-card li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 42px minmax(72px, auto);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.contestant-card li:last-child {
  border-bottom: 0;
}

.pick-rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #f4eadf;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pick-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contestant-card li.has-results .pick-title {
  color: var(--red);
}

.contestant-card li.is-complete .pick-title {
  color: var(--blue);
}

.pick-multiplier {
  justify-self: end;
  color: var(--red);
  font-weight: 800;
}

.pick-gross {
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.contestant-card li.has-results .pick-gross {
  color: var(--red);
}

.contestant-card li.is-complete .pick-gross {
  color: var(--blue);
}

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

.admin-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contest-week-card {
  margin-bottom: 18px;
}

.contest-year-card select,
.contest-week-card select,
.leaderboard-image-card input {
  max-width: 360px;
}

.leaderboard-image-card input[type="file"] {
  max-width: min(100%, 460px);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  background: #fffdf9;
  color: var(--muted);
  font-weight: 700;
}

.leaderboard-image-card {
  margin-bottom: 18px;
}

.coming-soon-admin-card,
.movie-quote-admin-card,
.contest-year-card,
.backup-card {
  margin-bottom: 18px;
}

.backup-import-button {
  cursor: pointer;
}

.backup-card input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.coming-soon-admin-card textarea,
.movie-quote-admin-card textarea {
  min-height: 150px;
}

.movie-quote-admin-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.movie-quote-admin-fields label {
  margin-bottom: -4px;
}

.movie-quote-admin-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf9;
  color: var(--ink);
  font-weight: 800;
}

.movie-quote-admin-fields input:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

.paid-status-card {
  margin-bottom: 18px;
}

.paid-player-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.paid-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fffdf9;
  font-weight: 800;
}

.paid-player-row input {
  width: 18px;
  height: 18px;
}

.card-heading {
  justify-content: space-between;
  gap: 18px;
}

.card-heading h3 {
  margin-bottom: 0;
  font-size: 28px;
}

.card-heading span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

textarea {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  background: #fffdf9;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

#adminPassword {
  width: min(360px, 100%);
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fffdf9;
  color: var(--ink);
  font-weight: 800;
}

textarea:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

#adminPassword:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

.form-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.results-grid {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.result-grid-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(138px, 0.9fr) minmax(108px, 0.75fr) repeat(4, minmax(92px, 0.75fr)) minmax(112px, 0.72fr);
  gap: 10px;
  align-items: center;
  min-width: 1110px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.result-grid-row:last-child {
  border-bottom: 0;
}

.result-grid-head {
  min-height: 44px;
  background: #241d1b;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-sort-button,
.table-sort-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.result-sort-button:hover,
.result-sort-button:focus-visible,
.table-sort-button:hover,
.table-sort-button:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}

.result-movie-title {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.result-release-date,
.result-week {
  display: grid;
  gap: 5px;
}

.result-release-date span,
.result-week span {
  display: none;
}

.result-contest-week {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.result-release-date input,
.result-week input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 9px;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.result-release-date input:focus,
.result-week input:focus {
  outline: 3px solid rgba(15, 119, 114, 0.18);
  border-color: var(--teal);
}

.result-clear-row {
  min-height: 38px;
  border: 1px solid rgba(200, 47, 43, 0.28);
  border-radius: 7px;
  padding: 8px 10px;
  background: #fff4ee;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.result-clear-row:hover,
.result-clear-row:focus-visible {
  background: #fde5dc;
  outline: 3px solid rgba(200, 47, 43, 0.14);
}

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

.standing-card {
  padding: 22px;
}

.coming-soon-section {
  margin-top: -42px;
}

.coming-soon-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #241d1b;
  color: #fffaf0;
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.coming-soon-card .standing-label {
  color: var(--gold);
  font: 800 clamp(20px, 3vw, 34px)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.coming-soon-card strong {
  display: block;
  font: 700 clamp(34px, 6vw, 72px)/0.95 "Space Grotesk", sans-serif;
}

.coming-soon-movies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.coming-soon-movies article {
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.06);
}

.coming-soon-movies article strong {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 22px;
  line-height: 1.05;
}

.coming-soon-movies p {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.coming-soon-movies p span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 250, 240, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.coming-soon-empty {
  grid-column: 1 / -1;
}

.standing-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.standing-note {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.35;
}

.standing-card strong {
  display: block;
  margin-bottom: 8px;
  font: 700 26px/1.05 "Space Grotesk", sans-serif;
}

.standing-card p,
.completion-score p,
.info-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.paid-status-link {
  color: var(--ink);
  font-weight: 800;
}

.paid-status-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.paid-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.paid-status-row:last-child {
  border-bottom: 0;
}

.paid-status-row strong {
  overflow-wrap: anywhere;
  font: 800 16px/1.2 Inter, sans-serif;
}

.paid-status-row span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.paid-status-row.is-paid span {
  color: var(--blue);
}

.paid-status-row.is-unpaid span {
  color: var(--red);
}

.all-movies-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(32, 24, 18, 0.08);
}

.all-movies-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 2fr) minmax(82px, 0.6fr) minmax(130px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.all-movies-row:last-child {
  border-bottom: 0;
}

.all-movies-row strong {
  overflow-wrap: anywhere;
  font: 800 16px/1.2 Inter, sans-serif;
}

.all-movies-row-awaiting strong {
  color: #8d8580;
}

.all-movies-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.all-movies-date,
.all-movies-status {
  text-transform: uppercase;
}

.all-movies-status-showing {
  color: var(--ink);
}

.all-movies-status-awaiting {
  color: #8d8580;
}

.completion-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 2fr;
  gap: 0;
  overflow: hidden;
}

.completion-score {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #fff3d5;
}

.completion-score strong {
  font: 700 clamp(44px, 7vw, 78px)/0.9 "Space Grotesk", sans-serif;
}

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

.completion-lists article {
  padding: 24px;
}

.completion-lists article:first-child {
  border-right: 1px solid var(--line);
}

.completion-lists h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.completion-lists ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.completion-lists li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(222, 210, 197, 0.72);
}

.completion-lists li:last-child {
  border-bottom: 0;
}

.completion-lists em {
  color: var(--muted);
  font-style: italic;
  font-weight: 700;
}

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

.info-grid article {
  padding: 24px;
}

.info-grid h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-admin-link {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .admin-grid,
  .hall-list,
  .paid-player-list,
  .compare-controls,
  .compare-grid,
  .final-lists-grid,
  .compare-stat-grid,
  .compare-detail-grid,
  .fun-stat-grid,
  .new-entry-picks,
  .standings-grid,
  .coming-soon-movies,
  .movie-quote-admin-fields,
  .completion-panel,
  .completion-lists,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .completion-score,
  .completion-lists article:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .all-movies-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .quick-stats article:nth-child(even) {
    border-right: 0;
  }

  .quick-stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .fun-stat-grid article.fun-wide {
    grid-column: auto;
  }

  .leaderboard,
  .movie-table {
    overflow-x: auto;
  }

  .leaderboard-row,
  .movie-row {
    min-width: 720px;
  }

  .screen-glow {
    opacity: 0.58;
  }

  .poster-stack {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 690px;
  }

  h1 {
    font-size: 50px;
  }

  .screen-glow {
    width: 440px;
    right: -190px;
    bottom: 205px;
  }

  .ticket-stub {
    right: 18px;
    bottom: 54px;
    width: 205px;
    transform: rotate(-2deg);
  }

  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

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

  .quick-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats article:last-child {
    border-bottom: 0;
  }

  textarea {
    min-height: 300px;
  }
}
