@font-face {
  font-family: DM Sans;
  src: url(assets/dm-sans.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: DM Serif;
  src: url(assets/dm-serif.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #22251f;
  --muted: #5d625b;
  --rule: #dcded5;
  --paper: #fafaf6;
  --serif: "DM Serif", Georgia, serif;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #167fa0;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
.wrap {
  width: min(1216px, calc(100% - 104px));
  margin: 0 auto;
}
.masthead {
  background: var(--paper);
  border-bottom: 1px solid #bbbfb4;
}
.mast {
  height: 77px;
  display: flex;
  align-items: center;
  gap: 53px;
}
.brand {
  font-family: var(--serif);
  font-size: 2.3rem;
  letter-spacing: -0.065em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brandmark {
  display: grid;
  grid-template-columns: repeat(2, 11px);
  grid-template-rows: repeat(2, 11px);
  gap: 3px;
  transform: rotate(-7deg);
  margin-right: 1px;
}
.brandmark i {
  background: var(--ink);
  border-radius: 1px;
}
.brandmark i:last-child {
  background: #eeb936;
  transform: rotate(17deg);
}
nav {
  display: flex;
  height: 100%;
  gap: 30px;
}
nav a {
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
}
nav a.current {
  color: var(--ink);
}
nav a.current:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--ink);
}
.head-date {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 550;
}
.calendar {
  width: 16px;
  height: 15px;
  border: 1.6px solid;
  border-radius: 3px;
  position: relative;
}
.calendar:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  border-top: 1.5px solid;
}
.calendar:after {
  content: "";
  position: absolute;
  border-left: 2px solid;
  border-right: 2px solid;
  top: -4px;
  left: 3px;
  width: 5px;
  height: 4px;
}
.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 37px 0 23px;
}
.eyebrow,
.feature-label,
.category,
.theme-hint > span {
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.3;
}
.edition {
  display: flex;
  align-items: center;
  gap: 8px;
}
.edition i {
  width: 17px;
  height: 3px;
  background: #d6a42b;
  display: block;
}
.page-intro h1,
.game-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
  font-size: clamp(3.75rem, 5.7vw, 5.2rem);
  line-height: 1.04;
  margin: 6px 0 0;
}
.page-intro h1 span {
  color: #c29b33;
}
.daily-progress {
  min-width: 184px;
  margin-bottom: 8px;
}
.daily-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 9px;
  font-size: 0.83rem;
}
.daily-progress strong {
  font-weight: 670;
}
.daily-progress span {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.meter {
  height: 5px;
  border-radius: 20px;
  background: #dfe1d7;
  overflow: hidden;
}
.meter i {
  height: 100%;
  background: #658351;
  display: block;
}
.feature {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 255px;
  border: 1.5px solid #29291f;
  border-radius: 15px;
  background: #ffda64;
}
.feature-copy {
  padding: 27px 0 30px 40px;
  z-index: 1;
}
.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 750;
}
.feature-label span {
  font-size: 1.25rem;
  line-height: 1;
}
.feature h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  font-size: clamp(3.45rem, 5vw, 4.6rem);
  line-height: 1.03;
  margin: 11px 0 8px;
}
.feature p {
  max-width: 380px;
  margin: 0 0 18px;
  line-height: 1.45;
  font-size: 1rem;
}
.pill,
.soft,
.num-keys button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  padding: 10px 18px;
  line-height: 1.25;
  font-size: 0.94rem;
  font-weight: 650;
  gap: 9px;
  min-height: 40px;
}
.dark {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
}
.dark:hover {
  background: #404537;
}
.play-triangle {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  margin-right: 2px;
}
.hero-art {
  align-self: stretch;
  position: relative;
}
.hero-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: contain;
  object-position: center;
}
.library {
  margin: 31px 0 54px;
}
.section-head {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.section-head h2,
.side-panel h2,
dialog h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.14;
}
.filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filters button {
  border-radius: 100px;
  padding: 6px 13px;
  border: 1px solid var(--rule);
  font-size: 0.83rem;
  font-weight: 620;
  line-height: 1.3;
  background: var(--paper);
}
.filters button.selected,
.filters button:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  background: #fff;
  border: 1px solid #c7cabe;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: #636a5c;
  box-shadow: 0 4px 0 #22251f14;
}
.card-art {
  height: 118px;
  background: var(--accent);
  border-bottom: 1px solid #25291e29;
  display: grid;
  place-items: center;
}
.card-art img {
  object-fit: contain;
  width: 100%;
  height: 116px;
}
.card-info {
  padding: 15px 18px 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.category {
  letter-spacing: 0.105em;
  text-transform: uppercase;
  color: #64695d;
  font-size: 0.74rem;
}
.card-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.13;
  letter-spacing: -0.048em;
  margin: 4px 0 5px;
}
.card-info p {
  font-size: 0.94rem;
  line-height: 1.43;
  margin: 0 0 13px;
  color: #43483f;
}
.card-count {
  margin-top: auto;
  border-top: 1px solid #e3e5dd;
  padding-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 0.77rem;
  color: var(--muted);
}
.markers {
  display: flex;
  gap: 4px;
}
.markers i {
  width: 7px;
  height: 7px;
  border: 1px solid #909688;
  border-radius: 50%;
  display: block;
}
.markers .win,
.markers .active,
.markers .over {
  background: #69865b;
  border-color: #69865b;
}
.markers .active {
  background: #e9b846;
  border-color: #b38c28;
}
.markers .over {
  background: #a3a69c;
  border-color: #676c60;
}
footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  padding: 22px 0;
}
.foot {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.85rem;
}
.small-brand {
  font-size: 1.5rem;
  color: var(--ink);
}
.foot .text-button {
  margin-left: auto;
  font-size: 0.85rem;
}
.text-button:hover,
.back:hover,
.help-link:hover {
  text-decoration: underline;
}
.subtle {
  color: var(--muted);
  font-size: 0.93rem;
}
.game-page {
  margin: 24px auto 55px;
  max-width: 1050px;
}
.game-topline,
.game-head,
.actions,
.num-keys,
.rounds,
.rack,
.duel-scores,
.lives,
.word-chips,
.domino-tray {
  display: flex;
  align-items: center;
  gap: 9px;
}
.game-topline,
.game-head {
  justify-content: space-between;
}
.game-topline {
  font-size: 0.92rem;
  color: #52594d;
}
.back:before {
  content: "";
  display: inline-block;
  border-top: 1.6px solid;
  border-left: 1.6px solid;
  transform: rotate(-45deg);
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 2px;
}
.help-link {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.help-link span {
  border: 1px solid;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  line-height: 15px;
  font-size: 0.72rem;
  font-weight: 700;
}
.game-head {
  padding: 24px 0 21px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 22px;
  gap: 12px;
}
.game-head h1 {
  font-size: clamp(2.75rem, 5vw, 4.2rem);
}
.rounds {
  gap: 6px;
}
.rounds button {
  border: 1px solid #bfc3b8;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-weight: 700;
}
.rounds button.sel {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.rounds button.won:not(.sel) {
  background: #d9e7d3;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(235px, 1fr);
  gap: 22px;
  align-items: start;
}
.play-area,
.side-panel {
  border: 1px solid #cfd1c8;
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  min-width: 0;
}
.play-area {
  text-align: center;
}
.side-panel {
  background: color-mix(in srgb, var(--accent) 20%, var(--paper));
  padding: 23px;
}
.side-panel h2 {
  font-size: 2.05rem;
  margin: 10px 0;
}
.side-panel p,
.rules-details p,
dialog p {
  line-height: 1.55;
  margin: 0.65em 0 1em;
}
.side-panel h3 {
  font-size: 1rem;
  margin: 21px 0 10px;
}
.scoreline {
  margin: 16px 0 8px;
}
.scoreline strong {
  font-size: 1.7rem;
}
.rules-details {
  border-top: 1px solid #0002;
  margin-top: 20px;
  padding-top: 12px;
  font-size: 0.92rem;
}
.rules-details summary {
  cursor: pointer;
  font-weight: 650;
}
.actions,
.num-keys,
.domino-tray,
.rack {
  justify-content: center;
  flex-wrap: wrap;
}
.actions {
  margin-top: 17px;
}
.soft,
.num-keys button {
  background: #fff;
  border: 1px solid #b9beb3;
}
.soft:hover,
.num-keys button:hover {
  background: #eff0ea;
}
.word-chips {
  flex-wrap: wrap;
  gap: 6px;
}
.word-chips span {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 5px 8px;
  background: #fffb;
  border: 1px solid #0002;
  border-radius: 5px;
}
.result {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: #e2eed9;
  border: 1px solid #b3c9a5;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.result.lost {
  background: #eee6db;
  border-color: #cdbfaf;
}
.result strong {
  font: 1.5rem var(--serif);
}
.result p {
  margin: 3px 0 0;
}
.entry-label {
  display: block;
  max-width: 430px;
  margin: 0 auto;
  text-align: left;
}
.entry-label > span {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  margin-bottom: 5px;
}
.entry-label input {
  width: 100%;
  border: 1px solid #bdc4b7;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 1.15rem;
  letter-spacing: 0.09em;
  font-weight: 680;
  background: var(--paper);
}
.entry-label input::placeholder {
  color: #81877a;
  letter-spacing: 0;
  font-weight: 450;
}
.wordle-board {
  display: grid;
  gap: 5px;
  max-width: 290px;
  margin: 0 auto 20px;
}
.wordle-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.letter-square {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid #d4d8cf;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 780;
  line-height: 1;
}
.typed {
  border-color: #858e80;
}
.guide {
  color: #607d54;
  background: #edf3e9;
}
.hit,
.near,
.miss {
  color: #fff !important;
}
.hit {
  background: #4c7953 !important;
  border-color: #4c7953 !important;
}
.near {
  background: #a77b24 !important;
  border-color: #a77b24 !important;
}
.miss {
  background: #666e65 !important;
  border-color: #666e65 !important;
}
.keyboard {
  max-width: 475px;
  margin: auto;
}
.keyboard > div {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 4px 0;
}
.key {
  background: #e2e6de;
  border-radius: 4px;
  font-weight: 700;
  flex: 1;
  max-width: 9.7%;
  height: 37px;
  padding: 0;
  font-size: 0.92rem;
}
.key.wide {
  max-width: 12%;
  font-size: 0.83rem;
}
.legend {
  padding: 0;
  list-style: none;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 0.9rem;
}
.legend i {
  width: 15px;
  height: 15px;
  border-radius: 3px;
}
.honey {
  width: min(250px, 85%);
  aspect-ratio: 1.04;
  position: relative;
  margin: 18px auto;
}
.hex {
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: #e5e6dd;
  position: absolute;
  width: 36%;
  height: 32%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 700;
}
.hex:hover {
  filter: brightness(0.94);
}
.hex0 {
  left: 50%;
  top: 50%;
  background: #ffd252;
}
.hex1 {
  left: 50%;
  top: 16.3%;
}
.hex2 {
  left: 78.5%;
  top: 33.3%;
}
.hex3 {
  left: 78.5%;
  top: 66.7%;
}
.hex4 {
  left: 50%;
  top: 83.7%;
}
.hex5 {
  left: 21.5%;
  top: 66.7%;
}
.hex6 {
  left: 21.5%;
  top: 33.3%;
}
.box-shell {
  padding: 22px 25px 27px;
}
.letter-box {
  width: min(260px, 85%);
  aspect-ratio: 1;
  position: relative;
  border: 3px solid var(--ink);
  background: #fbe8e3;
  margin: auto;
}
.box-letter {
  position: absolute;
  transform: translate(-50%, -50%);
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: 750;
}
.box-letter.used {
  background: #c6dcbc;
}
.box-letter.in-word {
  background: #f1ae9c;
}
.groups {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 5px;
}
.group-tile {
  border-radius: 7px;
  background: #eae9df;
  font-size: clamp(0.74rem, 1.2vw, 1rem);
  font-weight: 740;
  min-height: 65px;
  overflow-wrap: anywhere;
  padding: 3px;
}
.group-tile.sel {
  background: #514d59;
  color: #fff;
}
.solved-group {
  border-radius: 6px;
  margin-bottom: 5px;
  padding: 10px 4px;
  display: grid;
  gap: 3px;
}
.solved-group span {
  font-size: 0.82rem;
}
.level0 {
  background: #f4d681;
}
.level1 {
  background: #bddba4;
}
.level2 {
  background: #a8c9e0;
}
.level3 {
  background: #d3b5d9;
}
.lives i {
  width: 15px;
  height: 15px;
  border: 1px solid #6a7064;
  border-radius: 50%;
}
.lives i.on {
  background: #575d51;
}
.sudoku-board,
.cw-board,
.strand-board,
.pips-board,
.tile-board,
.duel-board {
  display: grid;
  max-width: 440px;
  margin: 0 auto;
}
.sudoku-board {
  grid-template-columns: repeat(9, 1fr);
  border: 2px solid var(--ink);
  padding: 0;
}
.su-cell {
  border-right: 1px solid #b7beb2;
  border-bottom: 1px solid #b7beb2;
  aspect-ratio: 1;
  padding: 0;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  color: #336f86;
}
.su-cell.given {
  font-weight: 750;
  color: #262d25;
}
.su-cell:nth-child(3n) {
  border-right: 2px solid var(--ink);
}
.su-cell:nth-child(9n) {
  border-right: 0;
}
.su-cell:nth-child(n + 19):nth-child(-n + 27),
.su-cell:nth-child(n + 46):nth-child(-n + 54) {
  border-bottom: 2px solid var(--ink);
}
.su-cell:nth-child(n + 73) {
  border-bottom: 0;
}
.su-cell.echo {
  background: #f4e8d7;
}
.su-cell.sel {
  background: #f2c193;
}
.su-cell.invalid {
  color: #ac2527;
}
.num-keys {
  margin: 14px auto 0;
  gap: 4px;
}
.num-keys button {
  padding: 5px;
  min-width: 29px;
  min-height: 33px;
  border-radius: 5px;
}
.cw-board {
  grid-template-columns: repeat(var(--size), 1fr);
  border: 2px solid var(--ink);
  max-width: min(100%, calc(var(--size) * 53px));
  background: #343933;
  gap: 1px;
}
.cw-cell,
.cw-block {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  min-width: 0;
}
.cw-cell {
  background: white;
  line-height: 1;
}
.cw-cell b {
  font-size: clamp(0.95rem, 2vw, 1.5rem);
}
.cw-cell small {
  position: absolute;
  top: 2%;
  left: 5%;
  font-size: clamp(0.45rem, 1vw, 0.67rem);
  font-weight: 550;
  line-height: 1;
}
.cw-cell.lit {
  background: #dceaf3;
}
.cw-cell.sel {
  background: #f5d27a;
}
.current-clue,
.theme-hint {
  padding: 10px 12px;
  border-radius: 6px;
  margin: 0 auto 14px;
  background: #e6edf2;
  font-size: 1rem;
  text-align: left;
}
.current-clue b {
  margin-right: 5px;
}
.capture {
  position: fixed;
  opacity: 0;
  width: 1px;
  height: 1px;
  bottom: 0;
  left: 0;
  pointer-events: none;
  font-size: 16px;
}
.clues-scroll {
  max-height: 400px;
  overflow: auto;
}
.clue {
  display: block;
  text-align: left;
  padding: 7px;
  width: 100%;
  font-size: 0.94rem;
  border-radius: 3px;
}
.clue.active {
  background: #d4e4ef;
  font-weight: 650;
}
.strand-board {
  grid-template-columns: repeat(var(--cols), 1fr);
  max-width: 345px;
  touch-action: none;
  user-select: none;
}
.strand {
  border-radius: 50%;
  aspect-ratio: 1;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 680;
  padding: 0;
}
.strand.sel,
.strand.found {
  background: #b3dbdf;
}
.strand.span-found {
  background: #f3d77f;
}
.strand.hint-cell {
  outline: 2px dashed #31707c;
  outline-offset: -4px;
}
.selection-word {
  min-height: 1.6em;
  font-weight: 740;
  letter-spacing: 0.12em;
}
.theme-hint {
  background: #e3f0ec;
  text-align: center;
  display: grid;
  gap: 3px;
}
.theme-hint strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.theme-hint > span {
  font-size: 0.73rem;
}
.pips-board {
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 3px;
  max-width: 340px;
}
.pips-cell {
  position: relative;
  padding: 11px;
  background: var(--region);
  border-radius: 5px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.pips-cell small {
  position: absolute;
  left: 2px;
  top: 2px;
  font-size: 0.71rem;
  line-height: 1.25;
  padding: 0 2px;
  background: #fff;
  border-radius: 3px;
  font-weight: 700;
}
.pips-cell.sel {
  outline: 3px solid #363b33;
  outline-offset: -4px;
}
.pips-cell.filled:before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 2px solid #35372d;
  border-radius: 6px;
  background: #fffdf2;
}
.pips-cell.join-r:before {
  right: -3px;
  border-right: 0;
  border-radius: 6px 0 0 6px;
}
.pips-cell.join-l:before {
  left: -3px;
  border-left: 0;
  border-radius: 0 6px 6px 0;
}
.pips-cell.join-t:before {
  top: -3px;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}
.pips-cell.join-b:before {
  bottom: -3px;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.die {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 31px;
  height: 31px;
  gap: 2px;
  position: relative;
  padding: 2px;
  max-width: 100%;
  align-items: center;
  justify-items: center;
}
.die i.dot {
  border-radius: 50%;
  background: #34382f;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.domino-tray {
  margin: 20px auto 0;
  max-width: 360px;
  gap: 8px;
}
.domino {
  background: #faf8ee;
  border: 2px solid #40443a;
  border-radius: 6px;
  padding: 4px;
  display: flex;
  gap: 3px;
  box-shadow: 0 2px 0 #40443a;
}
.domino .die + .die {
  border-left: 1px solid #a1a497;
  padding-left: 4px;
}
.domino.sel {
  background: #f5d681;
}
.board-note {
  margin-bottom: 0;
  line-height: 1.4;
  color: var(--muted);
  font-size: 0.93rem;
}
.tile-board {
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  max-width: 375px;
}
.tile {
  background: var(--ground);
  aspect-ratio: 1;
  position: relative;
  isolation: isolate;
  border: 1px solid #899781;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 0;
}
.tile.sel {
  outline: 3px solid #333c30;
  outline-offset: 1px;
}
.tile.empty {
  background: transparent;
  opacity: 0.23;
  border-style: dashed;
}
.tile-shape {
  position: absolute;
  inset: 12%;
  border: 3px solid #627f62;
  border-radius: 50%;
}
.shape1 {
  border-radius: 6px;
  border-color: #946b44;
}
.shape2 {
  inset: 20%;
  transform: rotate(45deg);
  border-radius: 3px;
  border-color: #8271a1;
}
.shape3 {
  border-style: double;
  border-width: 6px;
  border-color: #648a9b;
}
.tile-symbol {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1;
  color: #363f34;
}
.symbol1 {
  color: #795238;
}
.symbol2 {
  color: #76577b;
}
.symbol3 {
  color: #386773;
}
.duel-board {
  grid-template-columns: repeat(11, 1fr);
  gap: 1px;
  background: #adb7a7;
  border: 1px solid #adb7a7;
}
.duel-cell {
  aspect-ratio: 1;
  background: #f8f8f1;
  padding: 0;
  font-weight: 680;
  font-size: clamp(0.78rem, 1.6vw, 1.2rem);
}
.duel-cell.double:not(.occupied) {
  background: #d7e6eb;
  color: #47636c;
  font-size: 0.67rem;
}
.duel-cell.occupied {
  background: #f2d79b;
}
.duel-cell.sel {
  box-shadow: inset 0 0 0 3px #222;
}
.rack {
  margin: 13px 0;
}
.rack span {
  border: 1px solid #99865d;
  border-radius: 4px;
  background: #f4dfaa;
  font-weight: 750;
  padding: 4px 7px;
  box-shadow: 0 2px 0 #a58c60;
}
.rack small {
  font-size: 0.65rem;
  vertical-align: sub;
}
.duel-scores {
  gap: 22px;
}
.duel-scores > div {
  display: grid;
  font-size: 0.82rem;
}
.duel-scores b {
  font-size: 1.7rem;
}
.move-log {
  font-size: 0.86rem;
  margin: 4px 0 !important;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-cards > div {
  background: #f0f1e8;
  border: 1px solid #c7cebc;
  border-radius: 10px;
  display: grid;
  gap: 3px;
  padding: 18px;
}
.stat-cards strong {
  font: 2.4rem var(--serif);
}
.stats-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.stats-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: #fff;
}
.stats-list .markers {
  margin-left: auto;
}
.stat-icon {
  width: 44px;
  height: 37px;
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.stat-icon img {
  width: 100%;
}
dialog {
  border: 1px solid #393e33;
  background: var(--paper);
  border-radius: 14px;
  width: min(460px, calc(100% - 36px));
  padding: 25px;
  box-shadow: 0 15px 80px #0003;
  color: var(--ink);
}
dialog::backdrop {
  background: #20261e66;
}
dialog form {
  margin-top: 15px;
}
#announce {
  pointer-events: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 10px);
  border-radius: 9px;
  background: #292e26;
  color: #fff;
  padding: 10px 16px;
  max-width: min(500px, 90vw);
  width: max-content;
  opacity: 0;
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 5;
  font-size: 0.94rem;
}
#announce.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1550px) {
  .page-intro {
    padding-top: 47px;
  }
  .feature {
    min-height: 285px;
  }
  .card-art,
  .card-art img {
    height: 140px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .mast {
    gap: 32px;
  }
  .catalog-grid {
    gap: 12px;
  }
  .card-info {
    padding: 12px;
  }
  .card-info h3 {
    font-size: 1.55rem;
  }
  .feature-copy {
    padding-left: 30px;
  }
  .play-layout {
    gap: 14px;
  }
  .play-area,
  .side-panel {
    padding: 17px;
  }
  .section-head h2 {
    font-size: 1.9rem;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .mast {
    height: 63px;
    gap: 22px;
  }
  .brand {
    font-size: 1.85rem;
  }
  .head-date {
    font-size: 0.78rem;
  }
  .calendar {
    display: none;
  }
  nav {
    gap: 13px;
  }
  nav a {
    font-size: 0.83rem;
  }
  .page-intro {
    padding: 26px 0 18px;
  }
  .page-intro h1 {
    font-size: 3.6rem;
  }
  .daily-progress {
    min-width: 135px;
  }
  .feature {
    min-height: 212px;
    grid-template-columns: 1.05fr 1fr;
  }
  .feature-copy {
    padding: 18px 0 20px 21px;
  }
  .feature h2 {
    font-size: 3rem;
  }
  .feature p {
    font-size: 0.93rem;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-info {
    padding: 14px;
  }
  .card-info h3 {
    font-size: 1.75rem;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .play-layout {
    grid-template-columns: 1fr;
  }
  .side-panel {
    max-width: 100%;
  }
  .play-area {
    padding: 18px;
  }
  .game-head {
    padding: 18px 0;
  }
  .clues-scroll {
    max-height: 230px;
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-list {
    grid-template-columns: 1fr;
  }
  .foot {
    gap: 10px;
  }
  .foot span {
    font-size: 0.75rem;
  }
  .letter-square {
    font-size: 1.65rem;
  }
  .group-tile {
    font-size: 0.92rem;
  }
  .result {
    align-items: flex-start;
  }
  .card-art,
  .card-art img {
    height: 126px;
  }
}
@media (max-width: 530px) {
  .mast {
    gap: 13px;
    justify-content: space-between;
  }
  .head-date {
    display: none;
  }
  .page-intro {
    align-items: start;
    gap: 12px;
  }
  .page-intro h1 {
    font-size: clamp(2.55rem, 10vw, 3.25rem);
    margin-top: 7px;
  }
  .daily-progress {
    min-width: 70px;
    margin-top: 18px;
  }
  .daily-progress > div:first-child {
    display: block;
    font-size: 0.74rem;
    text-align: right;
    margin-bottom: 4px;
  }
  .daily-progress strong {
    display: none;
  }
  .eyebrow,
  .feature-label {
    font-size: 0.69rem;
  }
  .edition {
    gap: 5px;
  }
  .edition i {
    width: 12px;
  }
  .feature {
    min-height: 234px;
    display: block;
  }
  .feature-copy {
    position: relative;
    width: 64%;
    padding: 20px 0 20px 16px;
  }
  .feature h2 {
    font-size: clamp(2.4rem, 9vw, 3rem);
    margin: 10px 0 6px;
  }
  .feature p {
    font-size: 0.91rem;
    max-width: 190px;
    margin-bottom: 16px;
  }
  .hero-art {
    position: absolute;
    right: -2%;
    top: 12%;
    width: 51%;
    height: 77%;
    z-index: -1;
  }
  .hero-art img {
    object-fit: contain;
  }
  .library {
    margin-top: 23px;
  }
  .section-head {
    gap: 10px;
  }
  .section-head h2 {
    font-size: 1.8rem;
  }
  .filters {
    gap: 4px;
  }
  .filters button {
    padding: 6px 10px;
  }
  .catalog-grid {
    gap: 10px;
  }
  .card-art,
  .card-art img {
    height: 96px;
  }
  .card-info {
    padding: 11px;
  }
  .card-info h3 {
    font-size: 1.4rem;
  }
  .card-info p {
    font-size: 0.85rem;
  }
  .card-count {
    align-items: flex-start;
    gap: 4px;
    flex-wrap: wrap;
  }
  .markers {
    gap: 3px;
  }
  .markers i {
    width: 6px;
    height: 6px;
  }
  .card-count .markers {
    margin-top: 4px;
  }
  .card-count > span:last-child {
    font-size: 0.72rem;
  }
  .foot {
    flex-wrap: wrap;
  }
  .foot span {
    display: none;
  }
  .game-head {
    flex-wrap: wrap;
  }
  .rounds button {
    width: 32px;
    height: 32px;
  }
  .game-page {
    margin-top: 15px;
  }
  .play-area {
    padding: 13px 9px;
  }
  .group-tile {
    min-height: 53px;
    font-size: 0.77rem;
  }
  .key {
    font-size: 0.8rem;
  }
  .actions {
    gap: 5px;
  }
  .soft,
  .actions .pill {
    font-size: 0.84rem;
    padding: 8px 11px;
  }
  .result {
    flex-direction: column;
  }
  .current-clue {
    font-size: 0.9rem;
  }
  .su-cell {
    font-size: 1.27rem;
  }
  .duel-cell {
    font-size: 1rem;
  }
  .stats-list a {
    gap: 7px;
  }
  .foot .small-brand {
    font-size: 1.45rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.account-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-logout,
#save-indicator {
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 6px 11px;
  font-size: 0.83rem;
  white-space: nowrap;
}
.account-logout:hover {
  background: #ebece4;
}
#save-indicator[disabled] {
  border: 0;
  color: var(--muted);
}
@media (max-width: 760px) {
  .mast:has(.account-controls) .head-date {
    display: none;
  }
  .account-controls {
    margin-left: auto;
  }
  .mast:has(.account-controls) {
    gap: 12px;
  }
  .mast:has(.account-controls) nav {
    gap: 9px;
  }
  #save-indicator:not([hidden]) {
    position: fixed;
    bottom: 8px;
    right: 10px;
    background: #fafaf6;
    z-index: 4;
  }
  .account-logout {
    padding: 6px 9px;
  }
}
@media (max-width: 400px) {
  .mast:has(.account-controls) .brand {
    font-size: 1.5rem;
    gap: 6px;
  }
  .mast:has(.account-controls) nav a,
  .account-logout {
    font-size: 0.75rem;
  }
}
