.contestBody { font-size: 1rem; }
.contestPage { width: min(1120px, calc(100% - 64px)); margin: auto; }
.contestHeader { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.contestLogo { font: 2rem WakanHGGyosho, var(--serif); color: var(--ink); text-decoration: none; letter-spacing: .1em; }
.contestPage .languageSwitch { flex-wrap: wrap; }
.contestPage .languageSwitch a { font-size: .875rem; padding: 10px 0; }
.contestNav { display: flex; flex-wrap: wrap; gap: 8px 30px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.contestNav a { color: var(--muted); text-decoration: none; padding: 5px 0; }
.contestNav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.contestPage main { padding: 44px 0; }
.contestEyebrow { font-size: .875rem; letter-spacing: .15em; color: var(--accent); margin-bottom: 14px; }
.contestPage h1 { font: 400 clamp(1.9rem, 4vw, 3rem)/1.3 var(--serif); max-width: 26ch; }
.contestLead { font: 1.2rem/1.8 var(--serif); max-width: 65ch; margin-top: 24px; }
.contestDeadline { margin: 26px 0 0; border-left: 3px solid var(--accent); padding: 10px 18px; font-weight: 600; }
.contestPoemForm { margin-top: 26px; padding: 22px 0; border-block: 1px solid var(--line); }
.contestPoemForm label { display: block; margin-bottom: 8px; }
.contestPoemForm > div { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.contestPoemForm input[type="number"] { width: 130px; background: transparent; border: 1px solid var(--line-strong); padding: 10px; }
.contestPoemForm button { background: var(--accent); color: var(--paper); padding: 10px 22px; }
.contestColumns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.contestColumns aside { margin-top: 40px; }
.contestPage section { margin-top: 36px; max-width: 72ch; }
.contestPage h2 { font: 1.5rem/1.5 var(--serif); margin-bottom: 14px; }
.contestPage section p + p { margin-top: 14px; }
.contestPage figure { margin: 0; }
.contestPage img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; object-position: top; }
.contestPage figcaption { color: var(--muted); font-size: .875rem; margin-top: 12px; }
.contestGallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; margin-top: 26px; align-items: start; }
.contestSources { margin-top: 40px; border-top: 1px solid var(--line); font-size: .875rem; }
.contestPlatforms { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; }
.contestPoems { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.contestPoems a { padding: 8px 12px; border: 1px solid var(--line); }
.contestLyrics { border-block: 1px solid var(--line); margin-top: 24px; }
.contestLyrics > div { columns: 2 280px; column-gap: 60px; padding: 22px 0; }
.contestLyrics p { white-space: pre-line; margin-bottom: 12px; break-inside: avoid; }
.contestPage .siteFooter { flex-wrap: wrap; font-size: .875rem; gap: 18px; }
.contestPage a { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .contestPage { width: calc(100% - 36px); }
  .contestHeader { flex-direction: column; align-items: start; gap: 10px; }
  .contestNav { gap: 6px 20px; }
  .contestColumns, .contestGallery { grid-template-columns: 1fr; gap: 26px; }
  .contestPage main { padding-top: 28px; }
  .contestColumns aside { margin-top: 0; }
  .contestPage h1 { max-width: none; }
}
