/* The contest page. Shares the hub's top bar, footer and brand layer. */
.contest-hero h1 { font-size: clamp(40px, 12vw, 84px); white-space: normal; }
/* The sponsor sits on a white card so any logo reads on the orange. */
.sponsor { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 12px 0 2px; padding: 8px 16px; background: var(--white); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); }
.sponsor .by { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 20px; line-height: 1; }
.sponsor img { display: block; height: clamp(40px, 11vw, 60px); width: auto; max-width: min(260px, 60vw); object-fit: contain; }
.sponsor .name { font-family: var(--font-slab); font-weight: 900; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.1; }
/* With a sponsor link the whole card is the link. */
.sponsor.linked { padding: 0; }
.sponsor a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 11px; color: inherit; text-decoration: none; }
.sponsor a:hover { background: #FFF1E8; }
.prize { margin: 10px auto 0; max-width: 560px; font-family: var(--font-slab); font-weight: 900; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.2; color: var(--ink); }
.clock { display: inline-block; margin: 14px 0 0; padding: 6px 12px 4px; background: var(--ink); color: var(--white); border-radius: 10px; font-family: var(--font-display); letter-spacing: .05em; font-size: 17px; text-transform: uppercase; }
.blurb { margin: 18px 0 0; font-size: 16px; }
.entry { margin-top: 18px; padding: 18px 16px; }
.entry h2 { font-size: 26px; margin-bottom: 6px; }
.entry .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entry .input:not(.center) { font-size: 17px; }
.entry .check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; margin: 4px 0 12px; }
.entry .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.entry .linkbtn { background: none; border: 0; padding: 6px 0; color: var(--brand-dark); text-decoration: underline; font: inherit; cursor: pointer; }
.entry .me { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: end; margin-bottom: 14px; }
.entry .me p { margin: 0; }
.entry .me .who { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; line-height: 1.1; }
.entry .me .where { color: var(--gray-500); font-size: 14px; }
.entry .me .bestnum { font-family: var(--font-display); font-size: 34px; color: var(--brand); text-align: right; line-height: 1; }
.entry .me .bestlbl { font-size: 12.5px; color: var(--gray-500); text-align: right; }
.entry .winner { text-align: center; }
.entry .winner .who { font-family: var(--font-display); font-size: 34px; text-transform: uppercase; color: var(--brand); margin: 4px 0; }
.boards { margin-top: 28px; }
.boards .bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.boards h2 { font-size: 28px; }
.entrants { margin: 0; color: var(--gray-500); font-size: 14px; }
.boards .tabs { margin-bottom: 10px; }
.boardcard { padding: 4px 12px; }
.board .who { font-weight: 700; }
.board .who small { display: block; font-weight: 400; color: var(--gray-500); font-size: 13px; }
.board tr.mine td { background: #FFF1E8; }
.center { text-align: center; margin: 16px 0 0; }
.rules { margin: 34px 0 40px; font-size: 14.5px; }
.rules h2 { font-size: 22px; margin-bottom: 8px; }
.rules ol { padding-left: 20px; }
.rules li { margin-bottom: 8px; }
.code-sent { font-size: 15px; }
