html { overflow-x: hidden; }
:root {
  color-scheme: light;
  --paper: #f7f0e5;
  --ink: #5a2632;
  --wine: #7e273a;
  --coral: #bd6b58;
  --muted: #9b7a70;
  --line: #dec7b7;
  --serif: Georgia, "Noto Serif TC", "PMingLiU", serif;
  font-family: "Microsoft JhengHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .4;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.shell {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}

.theater-theme {
  background: radial-gradient(ellipse at 50% 27%, #9d3946 0, #742232 46%, #421727 100%);
  color: #fff0d5;
  overflow-x: hidden;
}

.topbar {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 3px double currentColor;
  font-family: var(--serif);
  font-size: 15px;
}

.brand strong {
  display: block;
  font-size: .96rem;
  letter-spacing: .12em;
}

.brand small {
  display: block;
  font-family: var(--serif);
  font-size: .55rem;
  letter-spacing: .15em;
  margin-top: 5px;
}

.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  opacity: .7;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: #efd2a8;
  border-radius: 50%;
}

.status-dot.offline {
  background: #bb8d83;
}

.top-clock {
  font-variant-numeric: tabular-nums;
  padding-left: 10px;
}

.curtain {
  position: absolute;
  top: 0;
  width: 20vw;
  min-width: 90px;
  height: 730px;
  pointer-events: none;
  z-index: 0;
  opacity: .65;
  background: repeating-linear-gradient(91deg, #170b1670 0, #b94e4a30 13%, #340b25a0 24%, #9c3e4130 38%);
}

.curtain-left {
  left: -8vw;
  transform: skew(-7deg);
  border-radius: 0 0 95% 0;
  box-shadow: 35px 20px 50px #2d0c2160;
}

.curtain-right {
  right: -8vw;
  transform: skew(7deg);
  border-radius: 0 0 0 95%;
  box-shadow: -35px 20px 50px #2d0c2160;
}

.viewer {
  position: relative;
  z-index: 1;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding: 28px 0 25px;
}

.eyebrow {
  font: 600 .64rem/1.6 var(--serif);
  letter-spacing: .17em;
  margin: 0 0 13px;
  color: #deac8d;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  letter-spacing: -.04em;
}

h1 span {
  color: #e7b697;
}

.intro-copy {
  font-size: .73rem;
  line-height: 1.9;
  color: #d7a78e;
  margin: 0;
}

.draw-layout {
  display: block;
  position: relative;
}

.stage {
  text-align: center;
  position: relative;
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 5px 0;
}

.ticket-edition {
  font-family: var(--serif);
  letter-spacing: .08em;
  font-size: .71rem;
  opacity: .65;
}

.phase-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: .64rem;
  color: #e7bf9e;
  background: #42142766;
  padding: 6px 11px;
  border-radius: 99px;
  white-space: nowrap;
}

.phase-chip.active::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e7bf9e;
  animation: breathe 1s ease-in-out infinite;
}

.stage-inner {
  padding-top: 7px;
}

.event-kicker {
  font-size: .59rem;
  letter-spacing: .22em;
  color: #c99886;
  margin: 14px 0 9px;
}

.stage h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  margin: 0;
  overflow-wrap: anywhere;
}

.prize-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
  font-size: .85rem;
}

.prize-line > span {
  font-size: .62rem;
  opacity: .55;
}

.prize-line strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.display-frame {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  padding: 55px 30px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wine);
}

.display-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15px -20px;
  background: radial-gradient(ellipse, #fff3d7 0, #f8e1bccc 42%, #edc7a470 62%, transparent 73%);
  transform: scaleX(1.05);
}

.display-frame::after {
  content: "✦";
  position: absolute;
  color: #a64c4a;
  top: 37px;
  font-size: 1.3rem;
}

.display-label {
  font-size: .68rem;
  letter-spacing: .14em;
  color: #ad6e59;
  margin: 0 0 16px;
}

.draw-display {
  font: 800 clamp(2.7rem, 6vw, 5.2rem)/1.2 var(--serif);
  letter-spacing: .05em;
  margin: 0;
  max-width: 88%;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 #fff5da;
}

.draw-display.name {
  font-size: clamp(2.5rem, 5.7vw, 4.7rem);
}

.draw-display.countdown {
  font: 400 6.4rem/.95 Georgia, serif;
  font-variant-numeric: tabular-nums;
}

.display-note {
  font-size: .68rem;
  margin: 15px 0 0;
  color: #a66d58;
  line-height: 1.8;
}

.name-stream {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 3px 0 18px;
  color: #ce9a86;
  font-size: .68rem;
}

.name-stream span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 25%;
}

.name-stream span + span::before {
  content: "·";
  margin-right: 24px;
  color: #f0bc8e;
}

.stage-foot {
  font-size: .6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #bc8e7e;
}

.small-star {
  color: #d79a75;
  font-size: 1.1rem;
}

.event-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0;
  padding: 0 0 20px;
  text-align: center;
}

.event-stats {
  display: flex;
  gap: 34px;
}

.event-stats > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.event-stats strong {
  font: 400 2rem/1 Georgia, serif;
}

.event-stats span {
  font-size: .6rem;
  color: #c99b86;
}

.watch-note {
  max-width: 220px;
  font-size: .61rem;
  line-height: 1.8;
  color: #b98a7b;
  margin: 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 11px 18px;
  min-height: 43px;
  border: 0;
  background: transparent;
  border-radius: 3px;
  font-size: .75rem;
  text-decoration: none;
  font-weight: 650;
  color: inherit;
}

.button.primary {
  background: var(--wine);
  color: #fff6e4;
}

.button.primary:hover {
  background: #622034;
}

.button.secondary {
  background: #eee0d1;
  color: var(--wine);
}

.button.secondary:hover {
  background: #e5cfbb;
}

.viewer .button.secondary {
  background: #4c182b88;
  color: #deb89c;
  padding: 8px 13px;
  min-height: 34px;
  font-size: .62rem;
}

.notice {
  margin: 10px 0 0;
  font-size: .73rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  color: #799270;
}

.notice.error {
  color: #b04b46;
}

.viewer .notice {
  width: 100%;
  color: #f2bd9e;
}

.prize-program {
  margin-top: 42px;
  text-align: center;
}

.prize-program .eyebrow {
  font-size: .55rem;
  margin-bottom: 8px;
}

.prize-program h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 23px;
}

.prize-program-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 45px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.prize-program-list li {
  max-width: 250px;
  text-align: center;
}

.prize-program-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: #ebc6a5;
}

.prize-program-list span {
  display: block;
  margin-top: 7px;
  font-size: .74rem;
  line-height: 1.7;
  color: #d09e86;
  overflow-wrap: anywhere;
}

.prize-program-list small {
  display: block;
  color: #ae7c70;
  margin-top: 5px;
  font-size: .6rem;
}

.results {
  margin-top: 47px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.section-heading h2 {
  font: 700 1.3rem var(--serif);
  margin: 0;
}

.section-heading > .muted {
  font-size: .64rem;
}

.count-chip {
  color: #bb8b79;
  font-size: .61rem;
  margin-left: 5px;
}

.empty-state {
  font-family: var(--serif);
  font-size: 1rem;
  text-align: center;
  color: #bd8a75;
  margin: 0;
  padding: 25px 10px;
}

.winner-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.winner-tier {
  margin-bottom: 28px;
}

.winner-tier-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 13px;
}

.winner-tier-heading strong {
  font: 700 1.35rem var(--serif);
  color: #e8b997;
}

.winner-tier-heading span {
  font-size: .73rem;
  color: #bd8c78;
}

.tier-winners {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding: 0;
  margin: 0;
}

.winner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5e8d5;
  color: var(--wine);
  padding: 18px 25px;
  min-width: 220px;
  flex: 1 1 220px;
  position: relative;
  animation: reveal .5s ease-out;
}

.winner-card::before {
  content: "✦";
  font-size: 1.4rem;
  color: #c88c6f;
  margin-right: 3px;
}

.winner-rank {
  font: italic 400 1rem var(--serif);
  color: #bd927c;
}

.winner-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  overflow-wrap: anywhere;
}

.winner-card small {
  display: block;
  font-size: .6rem;
  color: #aa8070;
  margin-top: 4px;
}

.entrants {
  margin-top: 30px;
  padding-block: 16px;
}

.entrants summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-family: var(--serif);
  font-size: .9rem;
  cursor: pointer;
  list-style: none;
}

.entrants summary::-webkit-details-marker {
  display: none;
}

.entrants summary small {
  font-family: system-ui, sans-serif;
  font-size: .6rem;
  margin-left: 9px;
  color: #bd8c78;
}

.entrant-note {
  font-size: .68rem;
  margin: 0 0 16px;
}

.entrant-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  padding: 0;
  margin: 0 0 20px;
  max-height: 270px;
  overflow-y: auto;
}

.entrant-list li {
  font-size: .71rem;
  color: #d3a48e;
  overflow-wrap: anywhere;
  max-width: 100%;
}

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

.viewer .muted {
  color: #b88a79;
}

.small {
  font-size: .72rem;
  line-height: 1.8;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 28px 35px;
  font-size: .57rem;
  color: #a7796d;
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
}

.footer-divider {
  padding-inline: 8px;
}

.admin-theme {
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(#9e6b4b0a .6px, transparent .6px);
  background-size: 5px 5px;
}

.admin-theme .status-dot {
  background: #ba735e;
}

.admin-theme .connection {
  color: var(--muted);
}

.admin-theme .footer {
  color: #a98b7b;
}

.admin-intro {
  padding-top: 35px;
  align-items: center;
}

.admin-intro h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.admin-intro h1 span {
  color: var(--coral);
}

.admin-intro .eyebrow {
  color: var(--coral);
}

.admin-subtitle {
  font-size: .73rem;
  color: #a88b7a;
  margin: 14px 0 0;
}

.planner-steps {
  display: flex;
  gap: 60px;
  padding: 15px 0 32px;
  margin-bottom: 10px;
}

.planner-steps a {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 10px;
  text-decoration: none;
}

.planner-steps a > span {
  grid-row: 1 / 3;
  font: italic 400 2rem/1 var(--serif);
  color: var(--coral);
}

.planner-steps strong {
  font-size: .76rem;
  font-weight: 650;
}

.planner-steps small {
  display: block;
  font-size: .58rem;
  color: #a78e7f;
  margin-top: 5px;
}

.admin-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-panel {
  padding: 0;
}

.sheet-heading {
  margin-bottom: 28px;
}

.sheet-heading .eyebrow {
  font-size: .55rem;
  color: #bd9b87;
  margin: 0 0 7px;
}

.sheet-heading h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0;
}

.form-intro {
  font-size: .74rem;
  line-height: 1.9;
}

input, textarea {
  width: 100%;
  color: var(--ink);
  background: #fffcf6;
  border: 0;
  border-bottom: 1px solid #cbb39f;
  border-radius: 0;
  padding: 13px 14px;
}

input:focus, textarea:focus {
  outline: 2px solid #c68a6e;
  outline-offset: 2px;
}

input::placeholder, textarea::placeholder {
  color: #baa18f;
}

input:disabled, textarea:disabled {
  color: #9e8576;
  background: #ede3d6;
}

label {
  display: block;
  font-size: .8rem;
  font-weight: 650;
  margin: 14px 0 9px;
}

textarea {
  resize: vertical;
  line-height: 1.9;
}

.planning-topline {
  max-width: 720px;
}

.planning-topline input {
  font-size: 1.08rem;
  padding-block: 17px;
}

.planning-columns {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 38px;
}

.plan-step h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 17px;
}

.plan-step h3 > span {
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
  margin-right: 12px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-row > span {
  font-size: .69rem;
  margin-top: 14px;
}

#names-step {
  max-width: 100%;
}

#event-names {
  min-height: 200px;
}

.prize-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 21px;
}

.prize-editor-row {
  display: grid;
  grid-template-columns: 32px minmax(120px, .7fr) minmax(180px, 1.5fr) 95px 50px;
  gap: 18px;
  align-items: end;
}

.prize-editor-row > .prize-ordinal {
  align-self: center;
  margin-top: 25px;
  font: italic 400 1.8rem var(--serif);
  color: #c4967b;
}

.prize-editor-row label {
  font-size: .67rem;
  color: #a78977;
  margin-top: 0;
}

.prize-remove {
  align-self: center;
  margin-top: 25px;
  padding: 8px 0;
  border: 0;
  color: #b18c77;
  background: transparent;
  font-size: .67rem;
}

.add-prize {
  display: inline-block;
  margin-top: 22px;
}

#prize-total {
  margin-top: 15px;
}

.repeat-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .78rem;
  margin-top: 24px;
  font-weight: 500;
}

.repeat-option input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--wine);
}

.repeat-option small {
  display: block;
  font-size: .65rem;
  color: #aa8a78;
  margin-top: 6px;
  font-weight: 400;
}

.save-row {
  padding-top: 25px;
  margin-top: 20px;
}

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

.launch-panel {
  margin-top: 45px;
  padding: 34px 0;
}

.launch-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.step-number {
  font: italic 400 3rem/1 var(--serif);
  color: var(--coral);
}

.launch-heading .eyebrow {
  color: var(--coral);
  font-size: .56rem;
  margin: 0 0 8px;
}

.launch-heading h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0;
}

.launch-heading .phase-chip {
  margin-left: auto;
  background: #e8d6c4;
  color: var(--wine);
}

.launch-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 35px;
  margin-top: 25px;
}

.launch-details h3 {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 9px;
  overflow-wrap: anywhere;
}

.launch-details p {
  font-size: .74rem;
  line-height: 1.8;
  margin: 0;
  overflow-wrap: anywhere;
}

.launch-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.share-link {
  display: block;
  margin-top: 13px;
  color: #b47255;
  font-size: .68rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.launch-button {
  min-height: 50px;
}

.launch-caption {
  margin-top: 20px;
}

.history-panel {
  margin-top: 30px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b27359;
  text-underline-offset: 4px;
  text-decoration: underline;
  font-size: .74rem;
}

.event-history {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-history li {
  padding-block: 10px;
}

.history-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 11px 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  text-align: left;
}

.history-button strong {
  font-size: .87rem;
  overflow-wrap: anywhere;
}

.history-button span {
  font-size: .63rem;
  color: #a88b77;
  flex: none;
}

.history-button.selected strong {
  color: var(--coral);
}

.event-history p {
  margin-top: 0;
}

.owner-gate {
  padding: 30px 0;
}

.owner-gate h2 {
  font-family: var(--serif);
}

.owner-gate p {
  font-size: .85rem;
  line-height: 1.8;
}

.confirm-dialog {
  width: min(490px, calc(100% - 32px));
  padding: 32px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 100px #34121c55;
}

.confirm-dialog::backdrop {
  background: #42162777;
  backdrop-filter: blur(4px);
}

.dialog-flower {
  display: block;
  font-size: 3rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 20px;
}

.confirm-dialog .eyebrow {
  color: var(--coral);
  font-size: .56rem;
}

.confirm-dialog h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin: 0 0 20px;
}

.confirm-dialog p:not(.eyebrow) {
  font-size: .84rem;
  line-height: 1.85;
}

.confirm-dialog .form-actions {
  margin-top: 25px;
}

.stage.is-live .display-frame::after {
  animation: rotate 8s linear infinite;
}

.stage.is-complete .draw-display {
  color: #7a2438;
}

@keyframes breathe {
  50% {
    opacity: .35;
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 900px) {
  .shell {
    width: calc(100% - 44px);
  }
  .prize-editor-row {
    grid-template-columns: 28px minmax(100px,.7fr) minmax(150px,1.5fr) 80px 40px;
    gap: 12px;
  }
  .planner-steps {
    gap: 35px;
  }
}

@media (max-width: 660px) {
  .shell {
    width: calc(100% - 32px);
  }
  .topbar {
    min-height: 82px;
  }
  .brand strong {
    font-size: .79rem;
    letter-spacing: .05em;
  }
  .brand small {
    font-size: .48rem;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 12px;
  }
  .connection {
    font-size: .58rem;
  }
  .top-clock {
    display: none;
  }
  .curtain {
    height: 560px;
    width: 20vw;
    opacity: .45;
  }
  .intro {
    padding: 25px 0 24px;
    gap: 16px;
    align-items: flex-start;
  }
  h1 {
    font-size: 2.35rem;
    max-width: 300px;
  }
  h1 span {
    display: block;
  }
  .eyebrow {
    font-size: .5rem;
    margin-bottom: 11px;
  }
  .intro-copy {
    font-size: .57rem;
    max-width: 105px;
    line-height: 1.8;
    align-self: flex-end;
  }
  .ticket-edition {
    font-size: .61rem;
  }
  .phase-chip {
    font-size: .58rem;
  }
  .event-kicker {
    font-size: .55rem;
  }
  .stage h2 {
    font-size: 1.35rem;
  }
  .prize-line {
    font-size: .75rem;
    margin-top: 10px;
  }
  .display-frame {
    min-height: 240px;
    padding: 52px 10px 38px;
  }
  .display-frame::before {
    inset-inline: -55px;
  }
  .display-frame::after {
    top: 30px;
  }
  .draw-display {
    font-size: 2.5rem;
    max-width: 95%;
  }
  .draw-display.name {
    font-size: 2.3rem;
  }
  .draw-display.countdown {
    font-size: 5rem;
  }
  .display-label, .display-note {
    font-size: .59rem;
  }
  .name-stream {
    font-size: .61rem;
    gap: 16px;
  }
  .name-stream span + span::before {
    margin-right: 16px;
  }
  .stage-foot {
    font-size: .55rem;
  }
  .event-panel {
    gap: 16px;
    margin-top: 24px;
  }
  .event-stats {
    gap: 27px;
  }
  .event-stats strong {
    font-size: 1.8rem;
  }
  .event-stats span {
    font-size: .59rem;
  }
  .watch-note {
    width: 100%;
    max-width: 100%;
    font-size: .6rem;
    order: 4;
  }
  .prize-program {
    margin-top: 25px;
  }
  .prize-program h2 {
    font-size: 1.45rem;
  }
  .prize-program-list {
    gap: 20px 30px;
  }
  .prize-program-list strong {
    font-size: 1rem;
  }
  .prize-program-list span {
    font-size: .68rem;
  }
  .results {
    margin-top: 36px;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading > div {
    gap: 8px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 1.07rem;
  }
  .section-heading > .muted, .count-chip {
    font-size: .56rem;
  }
  .winner-tier-heading strong {
    font-size: 1.2rem;
  }
  .winner-tier-heading span {
    font-size: .67rem;
  }
  .winner-card {
    min-width: 100%;
    padding: 17px 23px;
  }
  .winner-card strong {
    font-size: 1.2rem;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    font-size: .53rem;
    padding-block: 20px 30px;
  }
  .admin-intro {
    align-items: flex-start;
  }
  .admin-intro h1 {
    font-size: 2.5rem;
  }
  .admin-intro .button {
    font-size: .58rem;
    min-height: 35px;
    padding: 8px 10px;
  }
  .admin-subtitle {
    font-size: .66rem;
  }
  .planner-steps {
    gap: 20px;
    justify-content: space-between;
    padding-bottom: 27px;
  }
  .planner-steps a {
    grid-template-columns: 20px 1fr;
    column-gap: 7px;
  }
  .planner-steps a > span {
    font-size: 1.5rem;
  }
  .planner-steps strong {
    font-size: .65rem;
  }
  .planner-steps small {
    display: none;
  }
  .sheet-heading h2 {
    font-size: 1.5rem;
  }
  .sheet-heading .eyebrow {
    font-size: .5rem;
  }
  .form-intro {
    font-size: .68rem;
  }
  .planning-topline input {
    font-size: .95rem;
  }
  .planning-columns {
    gap: 30px;
    margin-top: 30px;
  }
  .plan-step h3 {
    font-size: 1.35rem;
  }
  .prize-editor-row {
    grid-template-columns: 24px minmax(0,1fr) 74px 36px;
    gap: 11px;
  }
  .prize-editor-row > div:nth-child(2) {
    grid-column: 2 / 4;
  }
  .prize-editor-row > div:nth-child(3) {
    grid-column: 2 / 3;
  }
  .prize-editor-row > div:nth-child(4) {
    grid-column: 3 / 4;
  }
  .prize-editor-row > .prize-ordinal {
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 29px;
    font-size: 1.4rem;
  }
  .prize-remove {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 31px;
    font-size: .59rem;
  }
  .prize-editor-row input {
    padding: 11px;
    font-size: .8rem;
  }
  .prize-editor-row label {
    font-size: .6rem;
  }
  .prize-rows {
    gap: 26px;
  }
  .repeat-option {
    font-size: .72rem;
  }
  .repeat-option small {
    font-size: .6rem;
  }
  .button {
    font-size: .7rem;
    padding-inline: 14px;
  }
  .save-row .button {
    flex: 1;
  }
  .launch-panel {
    margin-top: 25px;
    padding-top: 24px;
  }
  .launch-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .launch-heading h2 {
    font-size: 1.5rem;
  }
  .launch-heading .eyebrow {
    font-size: .49rem;
  }
  .launch-heading .phase-chip {
    margin-left: 0;
  }
  .step-number {
    font-size: 2.5rem;
  }
  .launch-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .launch-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .launch-actions .button {
    flex: 1;
  }
  .launch-button {
    min-height: 43px;
  }
  .launch-details h3 {
    font-size: .93rem;
  }
  .launch-details p, .launch-caption {
    font-size: .67rem;
  }
  .history-button {
    display: block;
  }
  .history-button strong, .history-button span {
    display: block;
  }
  .history-button span {
    margin-top: 7px;
    font-size: .59rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

