.builder fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.builder legend { font-family: var(--font-hand); font-size: 20px; margin-bottom: 8px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.options span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: var(--o); border-radius: 12px;
  background: var(--paper); font-family: var(--font-hand); font-size: 17px; cursor: pointer;
}
.options input:checked + span { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.options input:focus-visible + span { outline: 3px solid var(--hi); outline-offset: 2px; }
.options input:disabled + span { opacity: 0.4; cursor: default; }
#drink { width: 100%; max-width: 420px; }
.preview { min-height: 1.5em; font-family: var(--font-display); font-size: 22px; margin: 4px 0 14px; }
.btn.big { font-size: 14px; padding: 13px 24px; }

.board-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.board-head h2 { font-size: 28px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.board { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; counter-reset: rank; }
.dish {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  background: var(--paper-2); border: var(--o); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px;
}
.dish .rank { font-family: var(--font-display); font-size: 26px; text-align: center; }
.dish:nth-child(1) .rank { color: var(--red); }
.dish .name { font-family: var(--font-hand); font-size: 21px; line-height: 1.15; }
.dish .name .plus { color: var(--ink-soft); margin: 0 4px; }
.dish .meta { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.dish .addons { font-size: 14px; margin-top: 2px; }
.vote {
  display: grid; justify-items: center; gap: 0; min-width: 58px; padding: 6px 8px; border: var(--o); border-radius: 12px;
  background: var(--paper); font-family: var(--font-hand); font-size: 15px; line-height: 1.1;
}
.vote b { font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.vote[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.empty { padding: 16px; text-align: center; }
@media (max-width: 520px) {
  .dish { grid-template-columns: 30px 1fr auto; gap: 8px; padding: 10px; }
  .dish .name { font-size: 18px; }
}

@media (max-width: 720px) {
  /* The radio fills its label, so the label is the real target: 44px. */
  .options span { min-height: 44px; display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 720px) {
  /* The radio is absolutely positioned across its label, so the LABEL is the
     target and it has to be the one that is 44px tall. */
  .options label { min-height: 44px; display: flex; }
  .options label > span { width: 100%; }
}
