.card[hidden]{display:none!important}
/* The poll occupies one game-card slot, including on phones. */
.card.vote { background: #fff3b9; padding: 14px; grid-column: span 1; min-width: 0; align-self: stretch; }
.vote-heading { display: flex; align-items: center; gap: 8px; }
.vote-heading > span { flex: none; font-size: 30px; line-height: 1; }
.vote-heading > div { min-width: 0; }
.vote h2 { font: 400 20px/1.2 var(--font-title); margin: 0 0 4px; }
.vote-heading p { margin: 0; font-size: 12px; line-height: 1.4; }
.vote-form { margin-top: 10px; }
.vote fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-height: 230px; overflow-y: auto; }
.vote legend { font-size: 12px; font-weight: bold; margin-bottom: 8px; }
.vote-option { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; column-gap: 6px; row-gap: 2px; border: 2px solid var(--ink); padding: 6px; border-radius: 10px; background: #fffdf5; cursor: pointer; min-height: 50px; font-size: 13px; }
.vote-option:has(input:checked) { background: #dcd0ff; }
.vote-option input { grid-row: span 2; accent-color: #7051cc; width: 16px; height: 16px; margin: 0; }
.vote-option > span { min-width: 0; overflow-wrap: anywhere; }
.vote-option small { grid-column: 2; font-size: 11px; color: var(--ink2); }
.vote button { border: 3px solid var(--ink); border-radius: 12px; background: var(--coral); color: var(--ink); padding: 8px 12px; font: 700 15px var(--font); cursor: pointer; min-height: 44px; box-shadow: 0 3px 0 var(--ink); }
.vote button:disabled { opacity: .6; cursor: wait; }
.vote-submit { width: 100%; margin: 10px 0 6px; }
.vote .vote-other { border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 13px; padding: 10px 0; text-align: left; }
.suggest-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; border: 4px solid var(--ink); border-radius: 22px; background: #fff3b9; color: var(--ink); box-shadow: 0 8px 0 var(--ink), 0 14px 40px rgba(0, 0, 0, .22); }
.suggest-dialog::backdrop { background: rgba(43, 29, 46, .45); }
.suggest-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.suggest-heading h3 { margin: 0; font: 400 20px/1.2 var(--font-title); }
.vote .suggest-close { flex: none; width: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 20px; }
.vote input[type=text], .suggest-form input { display: block; width: 100%; font: 16px var(--font); border: 2px solid var(--ink); border-radius: 10px; background: white; padding: 8px; margin: 6px 0 8px; }
.suggest-form { padding-top: 4px; }
.suggest-form label { font-size: 13px; }
.suggest-form p, .vote-message { font-size: 12px; line-height: 1.5; margin: 8px 0 0; }
.vote-message, .suggest-message { font-weight: 700; }
.vote-message:empty, .suggest-message:empty { display: none; }
.site-note { font-size: 12px; text-align: center; max-width: 700px; margin: 30px auto 0; color: white; line-height: 1.7; }
.site-note a { color: white; }
.site-loading { padding: 40px; border-radius: 20px; background: var(--cream); text-align: center; grid-column: 1/-1; }
.vote button:focus-visible, .vote-option:focus-within { outline: 3px solid #7655e8; outline-offset: 2px; }
