:root {
  color-scheme: light;
  --ink: #17243c;
  --muted: #4e5970;
  --blue: #1d4ed8;
  --border: #d7dfed;
  --wash: #f6f8ff;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(145deg, #ebf2ff 0%, #fbfaff 58%, #fff 100%);
  min-height: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8c41e2; outline-offset: 4px; }
.site-header { margin: auto; max-width: 940px; padding: 20px clamp(18px, 5vw, 36px); display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; border-bottom: 1px solid var(--border); }
.brand { margin-right: auto; color: var(--ink); text-decoration: none; font-weight: 750; }
main { margin: auto; max-width: 760px; padding: clamp(40px, 9vw, 94px) clamp(18px, 5vw, 36px) 64px; }
h1, h2 { font-family: Georgia, serif; line-height: 1.09; font-weight: 650; overflow-wrap: anywhere; }
h1 { margin: 0 0 22px; font-size: clamp(2.7rem, 8vw, 4.65rem); letter-spacing: -.05em; }
h2 { margin: 0 0 16px; font-size: 1.8rem; }
.intro { max-width: 56ch; color: var(--muted); font-size: 1.12rem; margin: 0 0 26px; }
.label { color: var(--blue); font-weight: 750; margin: 0 0 12px; }
.rounds { margin: 32px 0 22px; border-top: 1px solid var(--border); }
.round { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 740; }
.round:hover, .round:focus-visible { color: var(--blue); }
.round small, .detail { color: var(--muted); font-size: .93rem; }
.host-link { font-size: .9rem; }
.vote { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.vote .button { flex: 1 1 190px; min-height: 62px; font-size: 1.12rem; }
.button { background: var(--blue); color: white; border: 0; border-radius: 10px; display: inline-grid; place-items: center; padding: 11px 20px; min-height: 44px; cursor: pointer; text-decoration: none; font: inherit; font-weight: 720; overflow-wrap: anywhere; }
.button:hover { background: #183ea9; }
.editor { border: 1px solid var(--border); background: white; padding: clamp(18px, 4vw, 28px); border-radius: 16px; margin-block: 20px; }
.editor form, .login, .question-form { display: grid; gap: 9px; }
.editor label { font-weight: 670; }
.editor input[type=password], .editor input[type=text], .editor textarea { width: 100%; padding: 11px; border: 1px solid #8593ac; border-radius: 7px; font: inherit; background: var(--wash); color: var(--ink); }
.editor textarea { resize: vertical; }
.editor .checkbox { display: flex; align-items: center; gap: 7px; min-height: 44px; }
.editor button { justify-self: start; }
.tools { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-bottom: 18px; }
.notice { padding: 14px 18px; border-radius: 9px; background: #e9eeff; }
.results { margin: 20px 0; }
.results div { padding-block: 11px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
.results dt { overflow-wrap: anywhere; }
.results dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.sign-out button { border: 0; padding: 8px 0; color: var(--blue); background: none; text-decoration: underline; font: inherit; cursor: pointer; }
.identity { border: 0; padding: 0; margin: 8px 0 12px; min-width: 0; }
.identity legend { padding: 0; font-weight: 670; }
.identity > label { display: flex; align-items: center; min-height: 42px; gap: 7px; }
.name-field { margin-top: 8px; }
.name-field input { margin-top: 6px; }
.identity:has(input[value=anonymous]:checked) .name-field { display: none; }
.inbox-message { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
