.contest-page { background: var(--surface); }
.contest-ballot { padding-top: calc(var(--header-h) + 48px); }
.contest-container { max-width: calc(960px + 2 * var(--gutter)); }
.contest-notice, .contest-debug { margin-bottom: 20px; padding: 16px; border-radius: 12px; background: #fff0d6; color: #663500; }
.contest-selection-error { margin: 0 0 20px; }
.contest-nomination-limit { margin: -4px 0 16px; color: var(--ink-600); font-size: 14px; }
.contest-nominee .check { margin-bottom: 8px; }
.contest-nominee-site { margin-top: 10px; }
.contest-form { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); }
.contest-form h2, .contest-verify h2, .contest-complete h2 { color: var(--indigo-700); font: 700 26px/1.3 var(--font-display); }
.contest-form-intro { margin-top: 8px; color: var(--ink-600); line-height: 1.6; }
.contest-selection-summary { margin: 20px 0; padding: 14px 16px; border-radius: var(--r-sm); background: var(--indigo-50); line-height: 1.55; }
.contest-email { max-width: 560px; margin-bottom: 12px; }
.contest-privacy { max-width: 720px; color: var(--ink-600); font-size: 14px; line-height: 1.55; }
.contest-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contest-verify, .contest-complete { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); }
.contest-verify > p { margin: 12px 0 20px; }
.contest-verify .btn { margin-top: 20px; }
.contest-complete p { margin-top: 12px; line-height: 1.6; }
.contest-complete .btn { margin-top: 20px; }
.contest-code { max-width: 220px; font-size: 24px; letter-spacing: 4px; }
.contest-dialog .promtour-contest-disclaimer { line-height: 1.6; }
@media (max-width: 699px) {
  .contest-ballot { padding-top: calc(var(--header-h) + 32px); }
}
@media (max-width: 560px) {
  .contest-form, .contest-verify, .contest-complete { padding: 18px; }
  .contest-form-actions .btn { width: 100%; }
}

/* Reserve space before API data arrives, including the footer below the fold. */
[data-nominations] { min-height: 720px; }
[data-contest-state] { min-height: 3em; }
@media (max-width: 600px) { [data-contest-state] { min-height: 4.5em; } }
