:root {
  --paper: #f8f5ec;
  --sheet: #fffdf7;
  --ink: #242722;
  --muted: #62665a;
  --red: #ae3a27;
  --light: #dad7ca;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: ui-monospace, "Courier New", monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.43;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #236b89;
  outline-offset: 3px;
}
svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg,
a svg {
  pointer-events: none;
}
button:hover:not(:disabled),
a:hover {
  color: var(--red);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1104px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 12px;
  z-index: 4;
}
header {
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid #bcbcad;
}
.bar {
  display: flex;
  align-items: center;
  min-height: 67px;
  gap: 56px;
}
.brand,
.foot-brand {
  font: 700 29px/1 var(--serif);
  letter-spacing: -1.7px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 34px;
  border-radius: 7px 2px 7px 2px;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-6deg);
}
.brand-mark svg {
  width: 24px;
  height: 24px;
  transform: rotate(12deg);
}
nav {
  align-self: stretch;
  display: flex;
  gap: 27px;
}
nav a,
.help {
  font-size: 14px;
  text-decoration: none;
  font-weight: 650;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
}
nav a[aria-current] {
  color: var(--red);
}
nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: var(--red);
}
.help {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 20px;
  padding: 34px 8px 30px 0;
  min-height: 225px;
}
.hero h1 {
  font: 640 clamp(61px, 6.2vw, 91px)/1.02 var(--serif);
  letter-spacing: -0.071em;
  margin: 8px 0 9px;
}
.hero h1 em {
  color: var(--red);
  font-weight: 535;
}
.intro {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  color: #494e43;
}
.kicker,
.label,
.mono {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  margin: 0;
}
.kicker span {
  width: 23px;
  height: 2px;
  background: currentColor;
}
.bird {
  display: block;
  width: clamp(145px, 17vw, 219px);
  height: auto;
  mix-blend-mode: multiply;
  transform: rotate(2deg);
  margin-right: 28px;
}
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  align-items: start;
  gap: 23px;
}
.card {
  min-width: 0;
  background: var(--sheet);
  border: 1px solid #a4a698;
  border-radius: 6px;
  overflow: hidden;
}
.board {
  border-color: #62685b;
  box-shadow: 0 3px 0 #d6d4c7;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 25px;
  border-bottom: 1px solid var(--light);
}
h2 {
  font: 580 26px/1.16 var(--serif);
  letter-spacing: -0.055em;
  margin: 0;
}
.card-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-head h2 svg {
  color: var(--muted);
}
.quiet,
.board-tools button,
.text-btn,
.secondary {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.quiet {
  padding: 9px 0 9px 8px;
}
.quiet svg {
  width: 16px;
}
.board-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font: 500 13px var(--mono);
  margin-bottom: 19px;
}
.board-meta i {
  width: 3px;
  height: 3px;
  background: #7c7d72;
  border-radius: 50%;
}
.board-meta b {
  font-weight: 650;
  color: var(--ink);
}
#active-board,
.solver-body,
#finished {
  padding: 23px 27px 18px;
}
.label {
  display: block;
  color: var(--muted);
  letter-spacing: 0.095em;
}
.board-words {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 31px);
  margin-bottom: 24px;
}
.board-words .label {
  margin-bottom: 8px;
}
.goal-label svg {
  width: 13px;
  height: 13px;
  margin-right: 3px;
  vertical-align: -2px;
}
.goal-arrow {
  font: 29px var(--serif);
  color: #808172;
  align-self: flex-end;
  margin-bottom: 14px;
}
.tiles {
  display: flex;
  gap: 5px;
}
.playing button,
.goal > span {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 620;
  line-height: 1;
}
.playing button {
  width: clamp(43px, 4.7vw, 64px);
  height: clamp(52px, 5.5vw, 74px);
  border: 1.3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 0 3px 0 #b8b6a8;
  background: #f9f6e9;
  font-size: clamp(32px, 3.35vw, 48px);
  padding: 0;
}
.playing button.changed {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.13em;
}
.goal > span {
  width: clamp(27px, 2.65vw, 39px);
  height: clamp(35px, 3.2vw, 46px);
  border: 1px solid #caa698;
  color: var(--red);
  background: #fbece2;
  border-radius: 3px;
  font-size: clamp(22px, 2vw, 29px);
}
.board-words > div:last-child {
  align-self: flex-end;
}
.goal {
  gap: 3px;
}
.entry {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 8px;
}
.entry input {
  background: #fffef9;
  border: 1px solid #a5a796;
  border-radius: 4px;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  height: 47px;
  padding: 0 13px;
  letter-spacing: 0.15em;
  font: 650 20px var(--mono);
  text-transform: uppercase;
}
.entry input::placeholder {
  font: 420 16px var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: #797d71;
}
.primary,
.secondary {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 44px;
  padding: 10px 19px;
  font: 650 15px var(--sans);
  text-decoration: none;
}
.primary {
  background: var(--red);
  color: white;
  border: 1px solid var(--red);
}
.primary:hover:not(:disabled) {
  background: #8d2b1e;
  color: white;
}
.secondary {
  border: 1px solid #999c90;
}
.move-tip {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
}
.feedback {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 14px;
}
.feedback:empty {
  display: none;
}
.board-tools {
  display: flex;
  gap: 23px;
  margin-top: 9px;
}
.board-tools button {
  min-height: 37px;
  padding: 3px 0;
}
.board-tools svg {
  width: 16px;
}
.ladder {
  background: #f1efe4;
}
.ladder .card-head {
  border-bottom: 1px solid #cbcbbc;
}
.mono {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.ladder-body {
  padding: 19px 23px 21px;
}
.ladder ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.route-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 12px;
  position: relative;
  min-height: 43px;
}
.point {
  z-index: 1;
  width: 10px;
  height: 10px;
  justify-self: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.route-row:not(:last-child):after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 50%;
  bottom: -50%;
  border-left: 1px dashed #949787;
}
.route-word {
  font: 650 23px var(--mono);
  letter-spacing: 0.1em;
}
.route-word u,
.example-chain u {
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.route-tag {
  font: 500 11px var(--mono);
  color: var(--muted);
}
.prompt-row .point {
  width: 8px;
  height: 8px;
  background: var(--sheet);
  border-style: dashed;
}
.prompt-row .route-word {
  font: italic 17px var(--serif);
  letter-spacing: 0;
  color: #737669;
}
.end-row .point {
  border-radius: 0;
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}
.end-row .route-word,
.detour .route-tag {
  color: var(--red);
}
.expander {
  font-size: 13px;
  text-decoration: underline;
  padding: 8px 0;
}
.ladder details {
  margin-top: 15px;
  font-size: 14px;
}
.ladder summary {
  cursor: pointer;
}
.ladder details p {
  font: 14px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.rules {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 42px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 3px double #b8baab;
  border-bottom: 1px solid #c4c5b9;
}
.rules h2 {
  font-size: 24px;
}
.rules p,
.example-side p,
.dialog-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #505648;
}
.rules p {
  max-width: 530px;
  margin: 8px 0 0;
}
.demo {
  border-left: 1px solid #c7c7ba;
  padding-left: 30px;
}
.example-chain {
  font: 600 19px/1.4 var(--mono);
  letter-spacing: 0.035em;
  margin: 7px 0;
}
.example-chain i {
  font: normal 18px var(--serif);
  color: #737768;
}
.unknown {
  color: #767a6c;
}
.text-btn {
  padding: 3px 0;
  font-size: 13px;
  color: var(--red);
}
.text-btn svg {
  width: 15px;
}
.footer-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 12px;
}
.foot-brand {
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.9px;
}
.footer-line button {
  margin-left: auto;
  padding: 8px 0;
  text-decoration: underline;
}
.footer-line a {
  text-underline-offset: 2px;
}
#finished {
  min-height: 270px;
}
.stamp {
  border: 2px solid var(--red);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  transform: rotate(-10deg);
}
#finished h3,
.solver-body h3 {
  font: 560 32px/1.1 var(--serif);
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}
#finished p {
  margin: 0.5em 0;
  color: #53594b;
}
#personal {
  font: 12px var(--mono);
}
#finish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}
.solver-body {
  padding-bottom: 25px;
}
.solver-body .feedback {
  margin-top: 14px;
}
.example-side,
.dialog-body {
  padding: 21px 24px;
}
.example-side p {
  margin: 12px 0 0;
}
#solver-result {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--light);
}
#distance { margin: 0 0 16px; }
#distance:focus { outline: none; }
#solution-ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 0 0 16px;
  padding: 16px;
  list-style: none;
  background: var(--paper);
  border-left: 3px solid var(--red);
}
#solution-ladder[hidden] { display: none; }
.solution-step {
  display: grid;
  align-content: start;
  gap: 6px;
}
.step-label { font: 600 13px var(--sans); color: var(--muted); }
.solution-word { display: inline-flex; gap: 3px; }
.solution-word > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 35px;
  border: 1px solid var(--light);
  border-radius: 3px;
  background: var(--sheet);
  font: 600 22px/1 var(--mono);
}
.solution-word .replaced-letter {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.letter-change { font: 600 13px var(--mono); }
#solver-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: clamp(14px, 2vw, 24px);
  margin-bottom: 18px;
}
#solver-hint[hidden] { display: none; }
.hint-tiles { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 20px); }
.hint-tiles .solution-word > span {
  width: clamp(21px, 3vw, 40px);
  height: clamp(29px, 3.8vw, 47px);
  font-size: clamp(17px, 2.3vw, 28px);
}
.hint-arrow { color: var(--muted); }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
#solver-hint:has(.hint-tiles[hidden]) {
  padding: 0;
  background: transparent;
  border: 0;
}
#solver-hint .hint-tiles[hidden] { display: none; }
#next-hint { background: var(--sheet); }
#next-hint svg { width: 16px; height: 16px; }
#solver-result #practice { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) {
  .entry.solver-entry { display: grid; grid-template-columns: max-content 1fr; }
  .solver-entry input { grid-column: 1 / -1; }
  .solver-entry .secondary { justify-self: start; }
  #solution-ladder {
    flex-direction: column;
    gap: 0;
    padding: 4px 10px;
  }
  .solution-step {
    grid-template-columns: 4.2em max-content 1fr;
    align-items: center;
    padding: 8px 0;
    gap: 8px;
  }
  .solution-step + .solution-step { border-top: 1px solid var(--light); }
  .solution-word > span { width: 23px; height: 29px; font-size: 18px; }
  .letter-change { justify-self: end; white-space: nowrap; }
}
@media (max-width: 370px) {
  .entry.solver-entry { grid-template-columns: minmax(0, 1fr) auto; }
  .solver-entry button { padding-inline: 8px; font-size: 14px; }
  .solver-entry .primary svg { display: none; }
}
dialog {
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid #898b7b;
  border-radius: 7px;
  max-width: min(480px, 90vw);
  padding: 0;
}
dialog::backdrop {
  background: #22271d66;
}
dialog .card-head button {
  font-size: 26px;
}
.dialog-body p:first-child {
  margin-top: 0;
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 52px);
  }
  .desk {
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
    gap: 15px;
  }
  .board-words {
    gap: 11px;
  }
  .card-head {
    padding-inline: 17px;
  }
  #active-board,
  .solver-body,
  #finished {
    padding-inline: 17px;
  }
  .playing button {
    width: 40px;
    height: 53px;
  }
  .goal > span {
    width: 25px;
    height: 35px;
  }
  .goal-arrow {
    font-size: 19px;
    margin-bottom: 8px;
  }
  .ladder-body {
    padding-inline: 15px;
  }
  .hero {
    min-height: 190px;
  }
  .bird {
    margin-right: 8px;
  }
}
@media (max-width: 720px) {
  .desk {
    grid-template-columns: 1fr;
  }
  .wrap {
    width: min(550px, calc(100% - 34px));
  }
  .bar {
    min-height: 56px;
    gap: 26px;
  }
  .brand {
    font-size: 24px;
    gap: 7px;
  }
  .brand-mark {
    width: 25px;
    height: 28px;
  }
  .brand-mark svg {
    width: 21px;
  }
  nav {
    gap: 18px;
  }
  .help span {
    display: none;
  }
  .help {
    padding: 9px 0 9px 6px;
  }
  .hero {
    min-height: 0;
    padding: 25px 0 23px;
    gap: 4px;
  }
  .hero h1 {
    font-size: clamp(39px, 8.7vw, 57px);
    letter-spacing: -0.065em;
    line-height: 1.1;
    margin: 6px 0;
  }
  .kicker {
    font-size: 12px;
    letter-spacing: 0.07em;
  }
  .kicker span {
    width: 14px;
  }
  .intro {
    font-size: 14px;
    max-width: 34ch;
  }
  .bird {
    width: clamp(64px, 16vw, 100px);
    margin: 0;
  }
  .card-head {
    min-height: 49px;
  }
  h2 {
    font-size: 23px;
  }
  .quiet {
    font-size: 13px;
  }
  .board-words {
    gap: clamp(7px, 3vw, 20px);
    margin-bottom: 20px;
  }
  .playing button {
    width: clamp(32px, 9.5vw, 50px);
    height: clamp(43px, 12vw, 60px);
  }
  .goal > span {
    width: clamp(19px, 5.4vw, 31px);
    height: clamp(27px, 7vw, 41px);
    font-size: 20px;
  }
  .playing,
  .goal {
    gap: 3px;
  }
  .board-meta {
    margin-bottom: 14px;
  }
  #active-board {
    padding-top: 16px;
    padding-bottom: 11px;
  }
  .route-row {
    min-height: 34px;
  }
  .route-word {
    font-size: 20px;
  }
  .ladder-body {
    padding-block: 10px 14px;
  }
  .rules {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 22px;
    padding: 18px 0;
  }
  .demo {
    border: 0;
    padding: 0;
  }
  .footer-line {
    gap: 9px 14px;
  }
  .footer-line button {
    margin: 0;
  }
  .entry {
    gap: 7px;
  }
  .primary,
  .secondary {
    padding-inline: 13px;
  }
  .label {
    font-size: 12px;
  }
  .example-side {
    padding: 15px;
  }
  .rules p {
    font-size: 14px;
  }
}
@media (max-width: 365px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .bar {
    gap: 18px;
  }
  .bird {
    width: 56px;
  }
  .board-words {
    gap: 6px;
  }
  .goal-arrow {
    font-size: 16px;
  }
  .intro {
    font-size: 13px;
  }
  .card-head,
  #active-board,
  .solver-body {
    padding-inline: 13px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .route-row:last-child,
  .stamp {
    animation: appear 0.18s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.35;
      translate: 0 3px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

.solver-card { grid-column: 1 / -1; }
.solver-card .solver-body {
  padding: clamp(18px, 3.2vw, 40px);
}
#solver-label {
  display: block;
  margin-bottom: 14px;
  font: 580 clamp(22px, 2.4vw, 30px)/1.15 var(--serif);
  letter-spacing: -.035em;
}
body[data-page="solver"] .rules {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(24px, 3vw, 42px);
  border-top: 1px solid var(--light);
  column-gap: clamp(36px, 7vw, 96px);
  row-gap: 32px;
}
@media (max-width: 640px) {
  .hint-tiles .solution-word { gap: 2px; }
  #solver-hint { padding: 12px; }
}
.solver-example { padding: 0; }
.solver-example details { padding: 10px 0; border-bottom: 1px solid var(--light); }
.solver-example summary { cursor: pointer; font-weight: 600; }
.rules .solver-example .example-chain { font: 600 clamp(16px, 2vw, 20px)/1.5 var(--mono); color: var(--ink); }
.solver-example .text-btn { min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

.practice-links {
  line-height: 1.6;
  margin: 18px 0;
}
.practice-links a, .strategy-guide a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.strategy-guide {
  max-width: 68ch;
  padding-block: 28px 42px;
}
.strategy-guide h1 {
  font: 640 clamp(34px, 5vw, 56px)/1.1 var(--serif);
  margin: 0 0 20px;
}
.strategy-guide h2 {
  margin: 30px 0 8px;
}
.strategy-guide p {
  line-height: 1.6;
}
.strategy-guide .ladder-example {
  border-left: 3px solid var(--red);
  padding: 6px 14px;
  background: var(--sheet);
}

body[data-page=board]:not([data-game-ready]) .desk{visibility:hidden}.stage{min-height:388px;position:relative}.tool-inner{display:contents}.practice-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:9px}.practice-actions button{padding:8px 0;font-size:14px;text-decoration:underline}.practice-notes{max-width:72ch;padding:24px 0}.practice-notes details{padding:12px 0;border-bottom:1px solid var(--light)}.practice-notes summary{cursor:pointer;font-weight:600}.practice-notes p{line-height:1.65}body[data-page=board] .desk{margin:0 2px 5px}.policy{padding-block:32px;max-width:65ch;line-height:1.65}.policy h1,.policy h2{font-family:var(--serif)}@media(max-width:720px){.stage{min-height:540px}}
/* Daily edition */
.daily-main{width:min(1030px,calc(100% - 48px));margin:52px auto 64px}
.puzzle-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);grid-template-rows:auto 1fr;column-gap:clamp(32px,6vw,100px);align-items:start;border-top:3px solid var(--ink);padding:28px 0 22px}
.puzzle-lead{grid-area:1/1}.puzzle-lead h1{font-family:var(--serif);font-size:clamp(46px,5.6vw,80px);letter-spacing:-.035em;line-height:1.01;margin:16px 0}
.edition,.r-index,.puzzle-archive small{font:600 12px/1.3 var(--mono);letter-spacing:.035em}.edition{color:var(--muted);margin:0}.edition span{margin:0 .4em;color:var(--red)}
.puzzle-brief{font-size:17px;line-height:1.55;margin:0 0 24px;max-width:32ch}
.route-sheet{grid-area:1/2/3/3;align-self:center;position:relative;list-style:none;margin:0;padding:18px clamp(18px,4vw,46px);background:#ede9db;border-block:1px solid #bab6a6}
.route-sheet li{position:relative;display:grid;grid-template-columns:44px 1fr;align-items:center;gap:10px;min-height:38px;border-bottom:1px dotted #bdb9a8}
.route-sheet li:last-child{border-bottom:0}.r-index{color:#655f50;font-size:11px;text-transform:uppercase}
.r-word{font:700 24px/1.2 var(--mono);letter-spacing:.2em;text-align:center}.r-word em{font-style:normal;color:var(--red);text-decoration:underline;text-underline-offset:4px}
.route-sheet [data-state=hidden] .r-word{color:#88816f;font-size:17px;letter-spacing:.5em}.route-sheet [data-state=goal] .r-word{color:var(--red)}
.reveal-desk{grid-area:2/1}.r-controls,.r-utilities,.edition-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.r-controls button,.r-utilities button{font:650 15px/1.15 var(--sans);border:1px solid var(--ink);padding:12px 17px;background:transparent;color:var(--ink);border-radius:4px;min-height:44px}
.r-controls button:first-child{background:var(--red);border-color:var(--red);color:white}.r-controls button:disabled,.r-utilities button:disabled{opacity:.48;cursor:default}
.r-utilities{gap:18px}.r-utilities button{border:0;padding:4px 0;font-size:13px;text-decoration:underline;text-underline-offset:3px}.r-feedback:empty{display:none}.r-feedback{font-size:15px;line-height:1.4;margin:12px 0 0;color:var(--ink)}
.edition-links{border-top:1px solid var(--light);padding:12px 0;gap:12px 24px;font:600 13px/1.5 var(--sans)}.edition-links a{padding:5px 0}
.puzzle-archive{margin-top:28px}.puzzle-archive h2{font:650 30px/1.1 var(--serif);letter-spacing:-.025em;margin:0 0 16px}
.puzzle-archive ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 22px;margin:0;padding:0;list-style:none}
.puzzle-archive a{display:grid;gap:6px;text-decoration:none;padding:15px 0;border-top:1px solid var(--ink)}
.puzzle-archive small,.puzzle-archive a>span{color:var(--muted)}.puzzle-archive strong{font:700 25px/1 var(--serif)}.puzzle-archive a>span{display:flex;justify-content:space-between;font-size:13px}.puzzle-archive a:hover strong,.puzzle-archive a b{color:var(--red)}
/* Aligned letters make the position of a clue visible across both rows. */
.route-sheet .r-word{display:inline-grid;grid-template-columns:repeat(4,1.2em);justify-content:center;justify-self:center;letter-spacing:0;font:700 27px/1.25 var(--mono)}
.route-sheet .r-word span{display:grid;place-items:center;border:2px solid transparent}
.route-sheet [data-state=hidden] .r-word{font-size:27px;letter-spacing:0;color:#766f60}
.route-sheet .r-word .hint-ring{border-color:var(--red);border-radius:50%;color:var(--red);background:#fff7e7}
.route-sheet .r-word .hint-gap{border:2px dashed var(--red);color:var(--red);border-radius:4px}
.route-sheet .r-changed{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.route-sheet [data-state=clue]{background:#fff9e9}
.r-feedback:not(:empty){font-size:17px;font-weight:600}
.move-editor{--slots:min(100%,272px);padding-top:10px}
.practice-prompt{display:flex;justify-content:space-between;align-items:center;width:var(--slots);margin:0 0 7px;font:600 14px/1.4 var(--sans);color:var(--muted)}
.practice-prompt b{color:var(--ink)}
.move-editor #current-word,.move-editor #letters{width:var(--slots);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.move-editor #current-word button,.move-editor #letters span{display:grid;place-items:center;min-height:48px;border-radius:4px;font:700 27px/1 var(--mono);color:var(--ink)}
.move-editor #current-word button{border:1px solid var(--light);background:#efede4}
.move-editor label{display:block;margin:18px 0 7px;font:700 19px/1.2 var(--sans)}
.move-editor .editable-tiles{width:var(--slots);position:relative;cursor:text}
.move-editor #letters{width:100%}
.move-editor #letters span{height:56px;border:2px solid #7d796c;background:var(--sheet);position:relative}
.move-editor #letters span:first-child:empty:after,.move-editor #letters span.selected:empty:after{content:"";height:24px;width:2px;background:var(--red)}
.move-editor .editable-tiles:focus-within #letters .selected{border-color:var(--red);background:#fbf0df;box-shadow:0 0 0 1px var(--red)}
.move-editor #letters .edited{color:var(--red)}
.move-editor #guess{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;border-radius:4px;padding:0;color:transparent;caret-color:transparent;font-size:24px;cursor:text;outline:0}
.move-editor #guess::selection{color:transparent;background:transparent}
.move-editor #move-tip{font-size:14px;margin:8px 0 15px;color:var(--muted)}
.move-editor button[type=submit]{min-height:46px;width:var(--slots);justify-content:center;gap:10px;font-size:16px}
#active-board .board-tools{margin-top:12px}#active-board .feedback:empty{display:none}
@media(max-width:650px){
.daily-main{width:calc(100% - 32px);margin:23px auto 40px}.puzzle-spread{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px 0}
.puzzle-lead h1{font-size:clamp(36px,9vw,48px);margin:6px 0}.puzzle-brief{margin:0;max-width:none;font-size:15px}.edition{font-size:11px}
.route-sheet{align-self:stretch;padding:8px 18px}.route-sheet li{min-height:29px;grid-template-columns:45px 1fr 45px}.route-sheet .r-word,.route-sheet [data-state=hidden] .r-word{font-size:23px}.route-sheet li{min-height:33px}
.r-controls button{min-height:44px;padding:9px 14px}.puzzle-archive ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.puzzle-archive{margin-top:20px}.puzzle-archive a{padding:12px 0}.edition-links{gap:4px 16px}
.move-editor{--slots:min(100%,260px)}.move-editor #letters span{height:50px}
body:not([data-page=board]) header .bar{flex-wrap:wrap;gap:6px 14px;padding-block:8px;height:auto}
body:not([data-page=board]) header .brand{white-space:nowrap}body:not([data-page=board]) header nav[aria-label=Main]{order:3;width:100%;gap:22px;display:flex}body:not([data-page=board]) header nav[aria-label=Main] a{white-space:nowrap;padding:6px 0}
body:not([data-page=board]) header .help{margin-left:auto}
}

.daily-game{border-top:3px solid var(--ink);padding:24px 0}
.daily-game .puzzle-brief{max-width:none}
.daily-review{border-top:1px solid var(--light);padding:22px 0;line-height:1.6}
.daily-review h2{font:650 28px/1.2 var(--serif);margin:0}.daily-review p{margin:8px 0 14px;max-width:68ch}
.daily-review details{border-top:1px solid var(--light);max-width:68ch}.daily-review summary{padding:11px 0;cursor:pointer;font-weight:650}
.daily-solution{font-family:var(--mono);font-weight:650}
@media(max-width:650px){.daily-game .puzzle-brief{margin:8px 0 18px}.daily-game{padding:16px 0}}

body[data-page=play] .hero .intro{max-width:none;font-size:clamp(16px,1.4vw,19px)}
.practice-notes[aria-labelledby]{max-width:none;width:100%;padding:24px 0}
.practice-notes h2{margin:0 0 10px}.practice-notes>p{margin:0 0 20px}
.practice-questions,.review-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(20px,4vw,48px);align-items:start}
.practice-notes .practice-questions details{padding:0;border-block:1px solid var(--light);margin-bottom:-1px}
.practice-questions summary,.daily-review summary{display:flex;gap:16px;align-items:center;justify-content:space-between;list-style:none;cursor:pointer}
.practice-questions summary{padding:14px 0}.practice-questions details p{margin:0 0 16px;line-height:1.5}
.practice-questions summary::-webkit-details-marker,.daily-review summary::-webkit-details-marker{display:none}
.practice-questions summary::after,.daily-review summary::after{content:"+";font:500 22px/1 var(--sans);color:var(--red)}
.practice-questions details[open]>summary::after,.daily-review details[open]>summary::after{content:"−"}
.solution-steps small{font:600 12px/1.3 var(--sans);color:#625e52}
.review-panels{gap:14px;margin-top:18px}
.daily-review .review-panels details{max-width:none;border:1px solid var(--light);background:var(--sheet);border-radius:5px;overflow:hidden}
.daily-review summary{padding:14px 18px;font:650 19px/1.3 var(--serif)}
.daily-review details[open] summary{border-bottom:1px solid var(--light)}
.move-comparison{width:calc(100% - 32px);margin:12px 16px;border-collapse:collapse;font-size:14px}
.move-comparison th,.move-comparison td{text-align:left;padding:8px 4px;border-bottom:1px solid var(--light)}
.move-comparison thead th{font:600 12px/1.4 var(--sans);color:var(--muted)}
.move-comparison :is(td,th):last-child{text-align:right;white-space:nowrap}
.move-comparison td b{display:inline-block;background:#eeecdf;padding:1px 5px;margin:2px 0;border-radius:3px;font:650 15px/1.5 var(--mono)}
.move-comparison tbody tr:first-child td b{background:#e0ebdf;color:#304e37}
.solution-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:14px 16px;padding:0}
.solution-steps li{display:grid;gap:3px;padding:4px 8px;border-left:2px solid var(--light)}
.solution-steps b{font:650 18px var(--mono);letter-spacing:.08em}
.solution-steps mark{background:transparent;color:var(--red);text-decoration:underline;text-underline-offset:3px}
.daily-review details p{margin:10px 18px 16px}
@media(max-width:650px){.practice-questions,.review-panels{grid-template-columns:1fr}.practice-notes[aria-labelledby]{padding:16px 0}.daily-review summary{font-size:18px}.review-panels{gap:10px}
body[data-page=play] .hero{display:grid;grid-template-columns:minmax(0,1fr) auto}
body[data-page=play] .hero>div{display:contents}
body[data-page=play] .hero .bird{grid-column:2;grid-row:1/span 2}
body[data-page=play] .hero .intro{grid-column:1/-1;grid-row:3}
}

/* The board itself controls the breakpoint, including when embedded on the homepage. */
.board:has(.move-editor){container-type:inline-size}
.move-editor{--slots:100%;display:grid;grid-template-columns:minmax(0,1fr);padding:0}
.move-editor .practice-prompt{margin:0 0 6px;font-size:14px}
.move-editor #current-word{width:auto;justify-self:start;grid-template-columns:repeat(4,42px);gap:4px}
.move-editor #current-word button{min-height:42px;font-size:22px}
.move-editor label{margin:18px 0 8px}
.move-editor #letters span{height:54px}
.move-editor #move-tip{margin:8px 0 12px}
.move-editor .editable-tiles:focus-within #letters span:first-child:not(.selected)::after{content:none}
#active-board .board-tools{display:flex;align-items:center;gap:20px}
.board-tools .daily-hints-link{font-size:14px;font-weight:650;color:var(--red);text-underline-offset:3px}
.daily-game>.puzzle-lead{margin-bottom:22px}
.daily-game .puzzle-lead h1{font-size:clamp(40px,5vw,68px);margin:8px 0}
.daily-game .puzzle-brief{margin:0}
@container (min-width:470px){
  .move-editor{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-areas:"current next" "source entry" "tip check";gap:10px clamp(20px,5cqw,36px);align-items:center}
  .move-editor .practice-prompt{grid-area:current;margin:0}
  .move-editor label{grid-area:next;margin:0}
  .move-editor #current-word{grid-area:source;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}
  .move-editor #current-word button{min-height:50px;font-size:26px}
  .move-editor .editable-tiles{grid-area:entry}
  .move-editor #move-tip{grid-area:tip;margin:0}
  .move-editor button[type=submit]{grid-area:check}
}
body[data-page=play] .stage[data-gf-frame][style*="height:"]{min-height:0}

.rung-footer{margin-top:clamp(42px,7vw,84px);padding:clamp(32px,4vw,58px) 0 38px;background:#262b25;color:#faf7ed;border-top:4px solid #a74631}
.rung-footer .wrap{min-width:0}
.footer-columns{display:grid;grid-template-columns:2fr 1fr 1.1fr 1.1fr;gap:24px 36px}
.footer-identity>a{font:700 clamp(34px,3.4vw,48px)/1 var(--serif);letter-spacing:-.04em;text-decoration:none}
.footer-identity p{font-size:15px;line-height:1.5;color:#d1d2c5;max-width:23ch;margin:12px 0 0}
.rung-footer .footer-menu{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.rung-footer h2{color:#faf7ed;margin:0 0 10px;font:650 20px/1.2 var(--serif);letter-spacing:-.02em}
.rung-footer .footer-menu a,.rung-footer .footer-menu button{padding:5px 0;color:#d9dace;font:500 15px/1.4 var(--sans);text-align:left;text-decoration:none;background:none;border:0}
.rung-footer .footer-menu :is(a,button):hover{text-decoration:underline;text-underline-offset:4px;color:white}
.footer-directories{border-top:1px solid #575b50;margin-top:28px;padding-top:16px}
.rung-footer .footer-directories h2{font:600 14px/1.3 var(--sans);color:#d9dace;letter-spacing:0;margin:0 0 6px}
.rung-footer .directory-track{display:flex;width:100%;overflow-x:auto;overscroll-behavior-x:contain;gap:12px;scrollbar-width:none;padding:2px 0}
.directory-track::-webkit-scrollbar{display:none}
.directory-track>a{box-sizing:border-box;flex:0 0 100px;height:30px;display:flex;align-items:center;justify-content:center;text-align:center;color:#e9e9de;font:600 13px/1.15 var(--sans);text-decoration:none}
.directory-track img{display:block;width:auto;max-width:100%;height:22px;object-fit:contain}
.directory-track>a:hover{text-decoration:underline;text-underline-offset:3px}
.rung-footer :focus-visible{outline:2px solid #ffc390;outline-offset:2px}.directory-track>a:focus-visible{outline-offset:-2px}
@media(prefers-reduced-motion:reduce){.directory-track>[aria-hidden=true]{display:none}}
@media(max-width:680px){.footer-columns{grid-template-columns:1fr 1fr;gap:22px 18px}.footer-identity p{font-size:14px}.rung-footer h2{font-size:18px}.rung-footer{padding-bottom:24px}.footer-directories{margin-top:24px}}
.solver-guide { line-height: 1.6; }
.solver-guide details { border-bottom: 1px solid var(--light); padding: 10px 0; }
.solver-guide summary { font-weight: 600; cursor: pointer; }
.solver-guide details p { margin: 8px 0; }
.solver-guide .text-btn { min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.solver-guide .solver-route { font: 600 1rem/1.7 var(--mono); }
.solver-reading { max-width: 76ch; margin: 32px 0 56px; }
.solver-reading section { border-top: 1px solid var(--light); padding: 22px 0 14px; }
.solver-reading h2 { margin: 0; font: 600 clamp(23px, 3vw, 32px)/1.2 var(--serif); }
.solver-reading dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.solver-reading dt { font: 600 1rem/1.6 var(--mono); }
.solver-reading dd { margin: 0; }
.solver-archive { border-collapse: collapse; width: 100%; font-size: 15px; }
.solver-archive th, .solver-archive td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--light); }
.solver-archive th:first-child { padding-left: 0; }
.solver-archive thead th { color: var(--muted); font-size: 13px; }
.solver-archive tbody th { font-family: var(--mono); }
.solver-archive a { display: inline-block; text-underline-offset: 3px; padding: 3px 0; }

@media (max-width: 480px) {
  #solver-form .solver-entry {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  #solver-form button {
    width: 100%;
    padding-inline: 6px;
    white-space: normal;
    justify-content: center;
    line-height: 1.25;
  }
  #solver-form .primary svg { display: none; }
}
#hints {scroll-margin-top:1rem}
#hints[hidden] {display:none}
#hints h2 {font:650 clamp(30px,4vw,44px)/1.1 var(--serif);margin:0 0 8px}
#hints .r-utilities {gap:8px;margin-top:12px}
#hints .r-utilities button, #hints .r-utilities a {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:44px;padding:9px 16px;border:1px solid #b8b3a5;border-radius:4px;
  background:#eeeade;color:var(--ink);font:650 16px/1.25 var(--sans);text-decoration:none
}
#hints .r-utilities button[hidden] {display:none}
#hints .r-utilities :is(a,button):hover:not(:disabled) {border-color:var(--ink);background:#e5e0d2}
#hints .r-utilities :is(a,button):focus-visible {outline:2px solid var(--red);outline-offset:2px}
.daily-game .puzzle-lead h1 {font-size:clamp(34px,4.5vw,62px);text-wrap:balance}
