.sheet {
  margin-top: 0.4rem;
}

[hidden] {
  display: none !important;
}

.kicker {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker a {
  color: inherit;
}

.sheet h2 {
  margin: 0.2rem 0 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
}

.deck {
  margin: 0.55rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-style: italic;
}

.play-status {
  min-height: 1.4em;
  margin: 0.75rem 0 0;
  text-align: center;
}

.play-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.8rem 0 0;
}

.back-always {
  margin: 0.45rem 0 0;
  text-align: center;
}

.back-front {
  color: inherit;
}

.back-front.is-prominent {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.back-front.is-prominent:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.play-actions button,
.choice,
.key,
.queen,
.letter-tile,
.pad-key,
.cell,
.back-front,
.guess-form button,
.guess-form input {
  touch-action: manipulation;
}

.play-actions button,
.choice,
.key,
.queen,
.letter-tile {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}

.play-actions button,
.choice {
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.play-actions button:hover,
.choice:hover,
.key:hover,
.queen:hover,
.letter-tile:hover {
  background: rgba(43, 43, 43, 0.06);
}

.verbum-board {
  display: grid;
  gap: 0.35rem;
  width: min(100%, 22rem);
  margin: 1rem auto 0;
}

.verbum-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
}

.tile {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(1.25rem, 5vw, 1.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.tile.is-correct,
.key.is-correct {
  background: #245c38;
  border-color: #245c38;
  color: var(--paper);
}

.tile.is-present,
.key.is-present {
  background: #c6a15b;
  border-color: #8a6d2f;
  color: var(--ink);
}

.tile.is-absent,
.key.is-absent {
  background: #8a8478;
  border-color: #8a8478;
  color: var(--paper);
}

.tile.is-correct,
.tile.is-present,
.tile.is-absent {
  border-width: 2px;
  border-style: solid;
}

.keys {
  width: min(100%, 34rem);
  margin: 0.9rem auto 0;
}

.key-row {
  display: flex;
  justify-content: center;
  gap: 0.28rem;
  margin-top: 0.28rem;
}

.key {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.8rem;
  padding: 0.2rem;
  text-transform: uppercase;
  cursor: pointer;
}

.key.is-wide {
  flex: 1.5 1 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.board-wrap {
  width: min(100%, 28rem);
  margin: 1rem auto 0;
}

.play-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(100%, 28rem);
  margin: 0.7rem auto 0;
  font-variant-numeric: tabular-nums;
}

.crypto-hint {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
  min-height: 44px;
  padding: 0 0.2rem;
}

.crypto-scroll {
  width: min(100%, 40rem);
  margin: 0.8rem auto 0;
}

.crypto-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0.45rem 0.55rem;
  user-select: none;
  -webkit-user-select: none;
}

.crypto-word {
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: nowrap;
}

.crypto-mark {
  padding: 0 0.02em 0.12em;
  font-size: 1.05rem;
  line-height: 1;
}

.crypto-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 1.15em;
  min-height: 44px;
  margin: 0 0.03em;
  padding: 0.1rem 0.04rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.crypto-plain {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0.95em;
  height: 1.15em;
  border-bottom: 1px solid rgba(43, 43, 43, 0.45);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.crypto-cipher {
  display: block;
  margin-top: 0.16em;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}

.crypto-cell.is-selected {
  background: rgba(43, 43, 43, 0.08);
  box-shadow: inset 0 -2px 0 #2b2b2b;
}

.crypto-cell.is-cursor {
  background: rgba(43, 43, 43, 0.16);
  box-shadow: inset 0 0 0 2px #2b2b2b;
}

.crypto-cell.is-selected .crypto-cipher {
  opacity: 1;
  font-weight: 700;
}

.crypto-cell.is-conflict .crypto-plain {
  background: #e4c8c2;
  color: #8a332c;
  border-bottom-color: #8a332c;
}

.crypto-cell.is-given {
  cursor: default;
  pointer-events: none;
}

.crypto-cell.is-given .crypto-plain {
  font-style: italic;
  background: rgba(43, 43, 43, 0.07);
  border-bottom-style: double;
}

.crypto-byline {
  margin: 0.9rem 0 0.2rem;
  text-align: center;
}

.crypto-byline p {
  margin: 0;
}

.crypto-byline p:first-child {
  font-style: italic;
}

.crypto-vulgate {
  margin-top: 0.45rem;
  font-style: italic;
}

.crypto-vulgata {
  font-style: normal;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  margin-right: 0.35rem;
}

.crypto-byline p:last-child {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
}

.sudoku {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  width: min(100%, 28rem);
  margin: 0.4rem auto 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.cell {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  border-right: 1px solid rgba(43, 43, 43, 0.28);
  border-bottom: 1px solid rgba(43, 43, 43, 0.28);
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--display);
  font-size: clamp(1rem, 4.2vw, 1.45rem);
  line-height: 1;
  cursor: pointer;
}

.cell.is-rule-r { border-right: 2px solid var(--ink); }
.cell.is-rule-b { border-bottom: 2px solid var(--ink); }

.cell.is-given {
  font-style: normal;
}

.cell:not(.is-given) {
  font-style: italic;
}

.cell.is-selected {
  background: rgba(43, 43, 43, 0.08);
}

.cell.is-conflict {
  background: #e4c8c2;
  color: #8a332c;
}

.pencil {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  font-family: var(--text);
  font-style: italic;
  font-size: clamp(0.45rem, 1.7vw, 0.62rem);
  line-height: 1;
}

.pencil i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}

.pad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  width: min(100%, 16rem);
  margin: 0.75rem auto 0;
}

.pad-key {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--display);
  font-size: 1.15rem;
  cursor: pointer;
}

.pad-key.is-wide {
  grid-column: span 3;
  font-family: var(--text);
  font-size: 0.95rem;
}

.pad-key[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.lotd-word {
  margin: 1rem 0 0;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.05;
}

.choices {
  display: grid;
  gap: 0.5rem;
  width: min(100%, 28rem);
  margin: 1rem auto 0;
}

.choice {
  text-align: left;
  padding: 0.7rem 0.8rem;
}

.choice.is-right {
  background: #245c38;
  border-color: #245c38;
  color: var(--paper);
}

.choice.is-wrong {
  background: #e4c8c2;
  border-color: #8a332c;
}

.choice:disabled {
  cursor: default;
}

.lotd-status {
  min-height: 2.6em;
}

.lotd-next {
  display: flex;
  justify-content: center;
  width: min(100%, 28rem);
  margin: 0.8rem auto 0;
}

.lotd-next button {
  width: 100%;
  min-height: 44px;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  touch-action: manipulation;
}

.lotd-next button:hover,
.lotd-next button:focus-visible {
  background: rgba(43, 43, 43, 0.06);
}

.lotd-next button[aria-disabled="true"] {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}

.score-line {
  margin: 0.8rem 0 0;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.letters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 1rem 0 0;
}

.letter-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--tile, 2.75rem);
  height: var(--tile, 2.75rem);
  min-width: var(--tile, 2.75rem);
  max-width: var(--tile, 2.75rem);
  min-height: var(--tile, 2.75rem);
  max-height: var(--tile, 2.75rem);
  flex: 0 0 var(--tile, 2.75rem);
  padding: 0 0 2px;
  appearance: none;
  border: 1px solid #c9b89a;
  border-radius: 0;
  background-color: #f3ecdc;
  background-image: linear-gradient(155deg, #faf6ee 0%, #f3ecdc 58%, #e4d3b8 100%);
  color: #2b2b2b;
  -webkit-text-fill-color: #2b2b2b;
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--tile-font, 1.2rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow:
    inset 1px 1px 0 rgba(255, 252, 245, 0.95),
    inset -1px -1px 0 rgba(90, 68, 36, 0.14),
    0 4px 0 #c4b496;
  transform: translateY(0);
  transition: transform 80ms ease-out, box-shadow 80ms ease-out;
}

.letter-face {
  display: block;
}

.letter-pip {
  position: absolute;
  right: 3px;
  bottom: 4px;
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--pip, 0.48rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.7;
}

.letter-tile:hover,
.letter-tile:focus-visible {
  background-color: #f3ecdc;
  background-image: linear-gradient(155deg, #faf6ee 0%, #f3ecdc 58%, #e4d3b8 100%);
  color: #2b2b2b;
  -webkit-text-fill-color: #2b2b2b;
}

.letter-tile:active {
  transform: translateY(2px);
  box-shadow:
    inset 1px 1px 0 rgba(255, 252, 245, 0.7),
    inset 0 -1px 0 rgba(90, 68, 36, 0.16),
    0 1px 0 #c4b496;
}

.letter-tile.is-used,
.letter-tile.is-used:hover,
.letter-tile.is-used:focus-visible {
  border-color: #1c1c1c;
  background: linear-gradient(155deg, #3c3c3c 0%, #2b2b2b 58%, #232323 100%);
  color: var(--paper);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.2),
    inset -1px -1px 0 rgba(0, 0, 0, 0.4),
    0 4px 0 #161616;
}

.letter-tile.is-used:active {
  transform: translateY(2px);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 #161616;
}

.back-home {
  margin: 0 0 0.35rem;
  text-align: left;
}

.back-home a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.back-home a:hover,
.back-home a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  margin: 0.15rem 0 0;
}

.score-row .score-line {
  margin: 0;
}

.reveal-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.guess-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  container-type: inline-size;
}

.letter-actions {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  width: min(100%, 28rem);
  margin: 0.15rem 0 0;
}

.letter-actions button {
  flex: 1 1 0;
  min-height: 44px;
  max-width: 9rem;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
  touch-action: manipulation;
}

.letters,
.rack {
  --tile: min(2.75rem, calc((100cqi - 38px) / 7));
  --tile-font: calc(var(--tile) * 1.2rem / 2.75rem);
  --pip: calc(var(--tile) * 0.48rem / 2.75rem);
}

.letters {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  width: calc(7 * var(--tile) + 24px);
  max-width: 100%;
}

.rack {
  display: grid;
  grid-template-columns: repeat(7, var(--tile));
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  align-self: center;
  box-sizing: border-box;
  width: calc(7 * var(--tile) + 38px);
  max-width: 100%;
  min-width: 0;
  padding: 6px 6px 9px;
  border: 1px solid #6a6256;
  border-radius: 0;
  background: linear-gradient(180deg, #ddcfb6 0%, #cbb89a 62%, #b7a383 100%);
  box-shadow:
    inset 0 1px 0 #efe4d0,
    inset 0 -5px 0 #5c564c,
    0 3px 0 #3e3a34;
}

.rack-slot {
  box-sizing: border-box;
  width: var(--tile);
  height: var(--tile);
  min-width: var(--tile);
  max-width: var(--tile);
  min-height: var(--tile);
  max-height: var(--tile);
  background: #b49b74;
  box-shadow: inset 0 2px 2px rgba(43, 43, 43, 0.28);
}

.rack .letter-tile,
.rack .letter-tile:hover,
.rack .letter-tile:focus-visible,
.rack .letter-tile:active {
  width: var(--tile);
  height: var(--tile);
  min-width: var(--tile);
  max-width: var(--tile);
  min-height: var(--tile);
  max-height: var(--tile);
  flex: 0 0 var(--tile);
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  color: #2b2b2b;
  -webkit-text-fill-color: #2b2b2b;
  border-color: #c9b89a;
  background-color: #f3ecdc;
  background-image: linear-gradient(155deg, #faf6ee 0%, #f3ecdc 58%, #e4d3b8 100%);
  font-size: var(--tile-font);
  box-shadow:
    inset 1px 1px 0 rgba(255, 252, 245, 0.95),
    inset -1px -1px 0 rgba(90, 68, 36, 0.14),
    0 4px 0 #c4b496;
}

.rack .letter-face,
.rack .letter-pip {
  color: #2b2b2b;
  -webkit-text-fill-color: #2b2b2b;
  opacity: 1;
  filter: none;
}

.rack .letter-pip {
  font-size: var(--pip);
  opacity: 0.7;
}

.rack .letter-tile:active {
  transform: translateY(2px);
  background-color: #f3ecdc;
  background-image: linear-gradient(155deg, #faf6ee 0%, #f3ecdc 58%, #e4d3b8 100%);
  color: #2b2b2b;
  box-shadow:
    inset 1px 1px 0 rgba(255, 252, 245, 0.7),
    inset 0 -1px 0 rgba(90, 68, 36, 0.16),
    0 1px 0 #c4b496;
}

.rack-slot:has(.letter-tile) {
  background: transparent;
  box-shadow: none;
}

#tiles .letter-tile.is-used {
  pointer-events: none;
}

.letter-tile.is-landing {
  visibility: hidden;
}

.letter-fly {
  visibility: visible;
  transition: transform 150ms ease-out, width 150ms ease-out, height 150ms ease-out;
}

.guess-form button:not(.letter-tile) {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  touch-action: manipulation;
}

.guess-form input {
  width: min(100%, 16rem);
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.found {
  width: min(100%, 36rem);
  margin: 1rem auto 0;
  padding: 0;
  list-style: none;
  columns: 2;
  font-variant-numeric: tabular-nums;
}

.found li {
  padding: 0.12rem 0;
  text-transform: lowercase;
}

@media (max-width: 820px) {
  html,
  body {
    height: 100dvh;
    height: var(--vvh, 100dvh);
    min-height: 100dvh;
    min-height: var(--vvh, 100dvh);
    max-height: 100dvh;
    max-height: var(--vvh, 100dvh);
    overflow: hidden;
  }

  body {
    width: 100%;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }

  .paper {
    box-sizing: border-box;
    height: 100%;
    max-height: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.15rem 0.7rem calc(16px + max(env(safe-area-inset-bottom), 0px));
  }

  .masthead {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 44px;
  }

  .masthead .rule,
  .masthead .motto {
    display: none;
  }

  .masthead h1 {
    margin: 0;
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0.03em;
    text-align: left;
    white-space: nowrap;
  }

  .masthead h1 a {
    display: block;
    min-height: 44px;
    line-height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .masthead .edition {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .masthead .edition time,
  .masthead .edition-place {
    display: none;
  }

  .colophon {
    display: none;
  }

  .sheet {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .play-top {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 44px;
  }

  .play-top .kicker,
  .play-top .back-always {
    margin: 0;
  }

  .play-top .kicker {
    font-size: 0.68rem;
  }

  .play-top .back-front {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .sheet h2 {
    flex: 0 0 auto;
    margin: 0;
    font-size: 1.28rem;
  }

  .deck {
    flex: 0 0 auto;
    margin: 0.05rem 0 0.15rem;
    font-size: 0.78rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .play-status {
    flex: 0 0 auto;
    min-height: 1.15em;
    margin: 0.1rem 0;
    font-size: 0.86rem;
  }

  .play-actions {
    flex: 0 0 auto;
    margin: 0.1rem 0;
    gap: 0.4rem;
  }

  .play-actions:not(:has(button:not([hidden]), a:not([hidden]))) {
    display: none;
  }

  .play-actions button,
  .play-actions a,
  .choice,
  .key,
  .pad-key,
  .guess-form button:not(.letter-tile),
  .guess-form input {
    min-height: 44px;
    touch-action: manipulation;
  }

  .play-fit {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: size;
  }

  .play-fit .verbum-board {
    width: min(100cqw, calc(100cqh * 5 / 6), 22rem);
    height: min(100cqh, calc(100cqw * 6 / 5));
    margin: 0;
    gap: 0.22rem;
    grid-template-rows: repeat(6, minmax(0, 1fr));
  }

  .verbum-row {
    min-width: 0;
    min-height: 0;
    height: 100%;
    gap: 0.22rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tile {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    font-size: clamp(0.85rem, 4.2vw, 1.45rem);
    line-height: 1;
  }

  .keys {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0.15rem 0 0;
  }

  .key {
    min-height: 44px;
  }

  .key-row {
    gap: 0.22rem;
    margin-top: 0.22rem;
  }

  .play-meta {
    flex: 0 0 auto;
    width: 100%;
    margin: 0.1rem 0;
  }

  .play-fit .sudoku {
    width: min(100cqw, 100cqh, 28rem);
    height: min(100cqw, 100cqh, 28rem);
    margin: 0;
    grid-template-rows: repeat(9, minmax(0, 1fr));
  }

  .cell {
    aspect-ratio: auto;
    min-height: 0;
    font-size: clamp(0.85rem, 4vw, 1.3rem);
  }

  .pad {
    flex: 0 0 auto;
    width: min(100%, 22rem);
    margin: 0.25rem auto 0;
    gap: 0.28rem;
  }

  .pad-key {
    min-height: 44px;
  }

  .lotd-word {
    flex: 0 0 auto;
    margin: 0.15rem 0;
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .score-line {
    flex: 0 0 auto;
    margin: 0.1rem 0;
  }

  .choices {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0.15rem auto;
    align-content: stretch;
    grid-template-rows: repeat(5, minmax(44px, 1fr));
    gap: 0.35rem;
  }

  .choices:empty {
    display: none;
  }

  .choice {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0.7rem;
  }

  .lotd-status {
    min-height: 2.4em;
  }

  .lotd-next {
    flex: 0 0 auto;
    width: 100%;
    margin: 0.15rem 0 0;
  }

  #review-wrap:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .letters,
  .rack {
    --tile: min(44px, calc((100cqi - 38px) / 7));
    --tile-font: calc(var(--tile) * 1.12rem / 44px);
    --pip: calc(var(--tile) * 0.44rem / 44px);
  }

  .letters {
    flex: 0 0 auto;
    margin: 0.2rem 0 0;
    gap: 4px;
  }

  .letter-actions {
    margin: 0.25rem 0 24px;
  }

  .letter-tile,
  .rack .letter-tile {
    width: var(--tile);
    height: var(--tile);
    min-width: var(--tile);
    max-width: var(--tile);
    min-height: var(--tile);
    max-height: var(--tile);
    font-size: var(--tile-font);
  }

  .letter-pip,
  .rack .letter-pip {
    right: 2px;
    bottom: 3px;
    font-size: var(--pip);
  }

  .guess-form {
    flex: 0 0 auto;
    margin: 0.25rem 0 0;
  }

  .guess-form input {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 16px;
    min-height: 44px;
  }

  ul.found {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0.2rem 0;
    columns: unset;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.05rem 0.75rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  ul.found li {
    flex: 1 1 42%;
    min-width: 0;
  }

  ol.found {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0.2rem 0;
    columns: unset;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .crypto-scroll {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0.1rem 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .crypto-byline {
    flex: 0 0 auto;
    margin: 0.15rem 0 0.1rem;
  }

  .crypto-board {
    gap: 0.35rem 0.4rem;
  }

  .crypto-plain {
    font-size: 0.95rem;
  }
}
