/* The Costume Contest page (costume.html). Builds on landing.css. */
:root {
    --cc-pumpkin: #ff9a2e;
    --cc-purple: #8a4fd8;
}
.costume-page { background: radial-gradient(ellipse at top, #2a1838 0%, var(--page-bg) 60%) fixed, var(--page-bg); }
.cc-main { max-width: 1120px; }
.cc-intro .titlebar { color: var(--cc-pumpkin); }
.cc-status { margin: 0 0 12px; color: var(--text); }
.cc-winner {
    display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 14px;
    background: rgba(255, 180, 58, 0.12); border: 2px solid var(--gold); color: var(--text);
    font: 18px/1.3 'Ari9500Display', 'Ari9500', monospace;
}
.cc-crown { font-size: 28px; }
.cc-login { max-width: 360px; }
.cc-signed-in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; color: var(--text-2); }
.cc-sort { max-width: 360px; }
.cc-grid {
    list-style: none; margin: 12px 0 0; padding: 0;
    display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.cc-card { display: flex; flex-direction: column; align-items: center; padding: 10px 8px; text-align: center; }
.cc-card.cc-won { box-shadow: 0 0 0 3px var(--gold), 0 0 18px rgba(255, 210, 90, 0.5); }
.cc-stage {
    width: 100%; display: flex; justify-content: center; align-items: flex-end; min-height: 150px;
    background: linear-gradient(#1b1430, #2c1d3f); margin-bottom: 8px;
}
.cc-stage canvas { image-rendering: pixelated; max-width: 100%; }
.cc-name { margin: 0; font-weight: bold; color: var(--text); overflow-wrap: anywhere; }
.cc-meta { margin: 2px 0 8px; font-size: 12px; color: var(--text-dim); }
.cc-vote-row { display: flex; align-items: center; gap: 6px; }
.cc-vote { min-width: 72px; }
.cc-vote.voted { color: var(--cc-pumpkin); }
.cc-vote:disabled { opacity: 0.6; cursor: default; filter: none; }
.cc-tag { font-size: 11px; padding: 1px 6px; background: var(--cc-purple); color: #fff; }
@media (max-width: 560px) {
    .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .nav a[href="#entries"] { display: none; }
}
