/* Word Guess Game, direction B. rem sizes match the 390px board at a 16px root:
   52×40 tiles, 44px keys, 332px keyboard. */

@font-face {
  font-family: "Public Sans Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 95%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --tangerine: #ff713d;
  --butter: #fff2a6;
  --butter-deep: #ffe8a3;
  --ink: #28204a;
  --muted: #594772;
  --ultra: #3027a8;
  --ultra-hover: #241b83;
  --pink: #ff4fcb;
  --lime: #bfff45;
  --exact: #bfff45;
  --exact-edge: #7a9e24;
  --present: #ffbc64;
  --present-edge: #b16d27;
  --absent: #54465d;
  --absent-edge: #36283e;
  --line: #88739b;
  --top-edge: #fff2c9;
  --empty-edge: #cdba6f;
  --panel: #28204a;
  --key-dark: #3d315b;
  --letter-dark: #fff2a6;
  --font: "Public Sans", "Public Sans Fallback", sans-serif;
  --display: Fraunces, "Fraunces Fallback", Georgia, serif;
  --shadow: 0 6px 0 rgba(72, 29, 85, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { font-size: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--tangerine);
}

img, svg { max-width: 100%; }

button, input, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: var(--ultra); }

a:hover { color: var(--ultra-hover); }

:focus-visible {
  outline: 3px solid var(--ultra);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--butter);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  z-index: 3;
}

.skip:focus { top: 0.5rem; }

.site-header {
  background: var(--butter);
  color: var(--ink);
  min-height: 3rem;
  box-shadow: 0 4px 0 rgba(72, 29, 85, 0.16);
}

.header-inner {
  width: min(73.75rem, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logo {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ultra);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  padding: 0.5rem 0;
}

.logo:hover { color: var(--ultra-hover); }

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex: 0 0 8px;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  color: var(--ultra);
  background: var(--butter-deep);
  border: 1px solid var(--line);
}

.menu-btn svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.nav-toggle:focus-visible + .menu-btn {
  outline: 3px solid var(--ultra);
  outline-offset: 2px;
}

.menu-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.close-icon,
.close-label { display: none; }

.nav-toggle:checked + .menu-btn .open-icon,
.nav-toggle:checked + .menu-btn .open-label { display: none; }

.nav-toggle:checked + .menu-btn .close-icon { display: block; }

.nav-toggle:checked + .menu-btn .close-label { display: inline; }

.site-nav { display: none; flex: 1 0 100%; padding: 0 0 0.5rem; }

.nav-toggle:checked ~ .site-nav { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.625rem;
}

.site-nav a[aria-current="page"] {
  color: var(--ultra);
  box-shadow: inset 0 -2px 0 var(--pink);
}

@media (min-width: 75rem) {
  .header-inner { flex-wrap: nowrap; }
  .menu-btn, .nav-toggle { display: none; }
  .site-nav { display: block; flex: 0 1 auto; padding: 0; margin-left: 1rem; }
  .site-nav ul { display: flex; gap: 0.25rem; }
}

.page {
  width: min(73.75rem, calc(100% - 2rem));
  margin: 0.5rem auto 0;
  padding-bottom: 2rem;
}

.page-title {
  margin: 0 0 0.5rem;
  min-height: 2.5rem;
  max-height: none;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--ultra);
  letter-spacing: -0.02em;
}

@media (min-width: 75rem) {
  .page-title { font-size: 2.5rem; }
}

.page-info .page-title {
  background: var(--butter);
  border-radius: 1.25rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
}

.lead {
  color: var(--ink);
  max-width: 68ch;
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.sym { display: block; width: 100%; height: 100%; }

a.text-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin: 0.25rem 0.5rem 0.25rem 0;
}

.play-layout {
  position: relative;
  display: grid;
  gap: 0;
  align-items: start;
  background: var(--butter);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.sheet-tab {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 24px;
  height: 24px;
  background: var(--lime);
  border-radius: 7px 2px 8px 2px;
  pointer-events: none;
  z-index: 2;
}

.play-layout .page-title {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.5rem 0.75rem 0;
}

.game-card,
.support-card {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.game-card { padding: 0 0.75rem 0.75rem; }

.support-card { padding: 0.5rem 1.5rem 1.5rem; }

.card {
  background: var(--butter);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 40rem) {
  .support-card,
  .card { padding: 1rem 1rem 1.25rem; }
}

@media (min-width: 75rem) {
  .play-layout {
    grid-template-columns: 45rem 22.25rem;
    column-gap: 3rem;
    padding: 0 1.75rem 1.75rem;
  }
  .play-layout .page-title { padding: 0.5rem 0 0; }
  .game-card { padding: 0 0 0; }
  .support-card { padding: 0.25rem 0 0; }
}

.game-card.dark {
  background: var(--panel);
  color: var(--letter-dark);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.game-card.dark :focus-visible {
  outline: 3px solid var(--letter-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ultra);
}

.game-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.identity,
.status,
.keyboard,
.actions,
.note,
.notice,
.confirm,
.share {
  font-family: var(--font);
}

.identity {
  width: min(20.75rem, 100%);
  min-height: 2rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.identity .date { font-weight: 400; color: var(--muted); }

.game-card.dark .identity,
.game-card.dark .identity .date,
.game-card.dark .status { color: var(--letter-dark); }

.board {
  width: 18.25rem;
  max-width: 100%;
  min-height: 16.25rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.row {
  position: relative;
  display: flex;
  gap: 0.5rem;
  min-height: 2.5rem;
}

.row.current::before {
  content: "";
  position: absolute;
  left: -0.625rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 2px;
  background: var(--ultra);
}

.game-card.dark .row.current::before { background: var(--lime); }

.row-accent {
  position: absolute;
  inset: -3px -2px;
  border: 2px solid var(--pink);
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
}

.tile {
  position: relative;
  width: 3.25rem;
  height: 2.5rem;
  flex: 0 0 3.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--butter-deep);
  color: var(--ink);
  overflow: visible;
  box-shadow: inset 0 1px 0 var(--top-edge), inset 0 -2px 0 var(--empty-edge);
}

.row.current .tile { border-color: var(--ultra); }

.tile-letter,
.tile-deco {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0.875rem;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.tile-deco {
  pointer-events: none;
  opacity: 0;
}

.tile-symbol {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  display: flex;
}

.tile-symbol .sym { width: 12px; height: 12px; }

.tile.exact {
  background: var(--exact);
  color: var(--ink);
  border-color: var(--exact-edge);
  box-shadow: inset 0 1px 0 var(--top-edge), inset 0 -2px 0 var(--exact-edge);
}

.tile.present {
  background: var(--present);
  color: var(--ink);
  border-color: var(--present-edge);
  box-shadow: inset 0 1px 0 var(--top-edge), inset 0 -2px 0 var(--present-edge);
}

.tile.absent {
  background: var(--absent);
  color: #fff;
  border-color: var(--absent-edge);
  box-shadow: inset 0 1px 0 #7a6b82, inset 0 -2px 0 var(--absent-edge);
}

.game-card.dark .tile {
  background: var(--key-dark);
  color: var(--letter-dark);
  border: 2px solid var(--letter-dark);
  box-shadow: inset 0 -2px 0 #1a1430;
}

.game-card.dark .tile.exact {
  background: var(--exact);
  color: var(--ink);
  border-color: var(--exact-edge);
  box-shadow: inset 0 -2px 0 var(--exact-edge);
}

.game-card.dark .tile.present {
  background: var(--present);
  color: var(--ink);
  border-color: var(--present-edge);
  box-shadow: inset 0 -2px 0 var(--present-edge);
}

.game-card.dark .tile.absent {
  background: var(--absent);
  color: #fff;
  border-color: var(--letter-dark);
  box-shadow: inset 0 -2px 0 var(--absent-edge);
}

.game-card.contrast .tile.exact,
.game-card.contrast .key.exact {
  border: 2px solid var(--ink);
  box-shadow: inset 0 -3px 0 var(--ink), inset 0 -6px 0 var(--exact-edge);
}

.game-card.contrast .tile.present,
.game-card.contrast .key.present {
  border: 2px solid var(--ink);
}

.game-card.contrast .tile.present::after,
.game-card.contrast .key.present::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 5px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 2px, transparent 2px 4px);
  pointer-events: none;
}

.game-card.contrast .tile.absent,
.game-card.contrast .key.absent {
  border: 2px solid var(--letter-dark);
  border-bottom-style: dotted;
}

.game-card.dark.contrast .tile.exact,
.game-card.dark.contrast .key.exact,
.game-card.dark.contrast .tile.present,
.game-card.dark.contrast .key.present {
  border-color: var(--ink);
}

.status {
  width: min(20.75rem, 100%);
  min-height: 3rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.5rem;
}

.status-main,
.status-sub { margin: 0; min-height: 1.5rem; }

.status-sub.is-error { font-weight: 700; }

.result-icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: -0.35rem;
}

.result-icon .sym { width: 1.5rem; height: 1.5rem; }

.keyboard {
  width: 20.75rem;
  max-width: 100%;
  min-height: 11.75rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.key-row {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.75rem;
}

.key {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--butter-deep);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  touch-action: manipulation;
  user-select: none;
  box-shadow: inset 0 1px 0 var(--top-edge), inset 0 -2px 0 var(--empty-edge);
}

.key-symbol {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  display: flex;
}

.key-symbol .sym { width: 10px; height: 10px; }

.key.exact {
  background: var(--exact);
  color: var(--ink);
  border-color: var(--exact-edge);
  box-shadow: inset 0 -2px 0 var(--exact-edge);
}

.key.present {
  background: var(--present);
  color: var(--ink);
  border-color: var(--present-edge);
  box-shadow: inset 0 -2px 0 var(--present-edge);
}

.key.absent {
  background: var(--absent);
  color: #fff;
  border-color: var(--absent-edge);
  box-shadow: inset 0 -2px 0 var(--absent-edge);
}

.game-card.dark .key {
  background: var(--key-dark);
  color: var(--letter-dark);
  border: 2px solid var(--letter-dark);
  box-shadow: none;
}

.game-card.dark .key.exact { background: var(--exact); color: var(--ink); border-color: var(--exact-edge); }
.game-card.dark .key.present { background: var(--present); color: var(--ink); border-color: var(--present-edge); }
.game-card.dark .key.absent { background: var(--absent); color: #fff; border-color: var(--letter-dark); }

.actions {
  width: min(20.75rem, 100%);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  min-height: 3rem;
}

.enter,
.backspace,
.text-btn {
  min-height: 3rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  touch-action: manipulation;
}

.enter {
  flex: 0 0 11.4375rem;
  width: 11.4375rem;
  border: 0;
  background: var(--ultra);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 0.5rem;
  box-shadow: 0 2px 0 #1a145f;
}

.enter:hover { background: var(--ultra-hover); color: #fff; }

.enter:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ink);
}

.enter:disabled,
.enter[aria-disabled="true"] {
  background: var(--butter-deep);
  color: var(--muted);
  box-shadow: inset 0 -2px 0 var(--empty-edge);
}

@media (prefers-reduced-motion: no-preference) {
  .enter { transition: transform 100ms linear, background-color 100ms linear; }
  .enter:hover { transform: translateY(-1px); }
}

.enter.neutral {
  background: var(--butter-deep);
  color: var(--ultra);
  border: 1px solid var(--ultra);
  box-shadow: inset 0 -2px 0 var(--empty-edge);
}

.enter.neutral:hover { color: var(--ultra-hover); background: var(--butter-deep); }

.backspace {
  flex: 0 0 8.8125rem;
  width: 8.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--ultra);
  background: var(--butter-deep);
  color: var(--ultra);
  box-shadow: inset 0 -2px 0 var(--empty-edge);
}

.backspace svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.backspace:disabled {
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
}

.game-card.dark .backspace,
.game-card.dark .enter.neutral {
  background: var(--key-dark);
  color: var(--letter-dark);
  border-color: var(--letter-dark);
  box-shadow: none;
}

.note,
.notice,
.confirm,
.share {
  width: min(20.75rem, 100%);
  margin: 0.5rem auto 0;
  font-size: 1rem;
  line-height: 1.5;
}

.notice,
.confirm,
.share {
  background: var(--butter-deep);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pink);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.notice-title { margin: 0 0 0.25rem; font-weight: 700; }

.confirm h3,
.share h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.25rem;
  line-height: 1.25;
}

.confirm p,
.share p { margin: 0 0 0.75rem; }

.confirm-actions,
.share-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.text-btn {
  border: 1px solid var(--ultra);
  background: var(--butter-deep);
  color: var(--ultra);
  padding: 0.5rem 0.75rem;
  box-shadow: inset 0 -2px 0 var(--empty-edge);
}

.text-btn:hover { background: var(--butter); color: var(--ultra-hover); }

.share textarea {
  width: 100%;
  min-height: 8rem;
  font: 400 1rem/1.5 var(--font);
  color: var(--ink);
  background: var(--butter);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

.legend li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; }

.swatch {
  width: 2.75rem;
  height: 2.5rem;
  flex: 0 0 2.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swatch.exact { background: var(--exact); color: var(--ink); }
.swatch.present { background: var(--present); color: var(--ink); }
.swatch.absent { background: var(--absent); color: #fff; }

.swatch .sym { width: 1rem; height: 1rem; }

fieldset.appearance {
  border: 0;
  margin: 1rem 0 0;
  padding: 0;
}

.appearance legend { font-family: var(--font); font-size: 1rem; font-weight: 700; padding: 0; }

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 1rem;
}

.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--ultra); }

.support-card h2,
.card h2 {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  color: var(--ultra);
}

.support-card h2::after,
.card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--pink);
  pointer-events: none;
}

.support-card h3,
.card h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 1rem 0 0.5rem;
}

.card p,
.support-card p { margin: 0 0 0.75rem; max-width: 68ch; }

.card p:last-child,
.support-card p:last-child { margin-bottom: 0; }

.card ul,
.card ol { margin: 0 0 0.75rem; padding-left: 1.25rem; max-width: 68ch; }

.card li + li { margin-top: 0.25rem; }

.table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 0.75rem; }

table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }

th, td { border: 1px solid var(--line); padding: 0.5rem; text-align: left; vertical-align: top; }

th { background: var(--butter-deep); }

.sample {
  width: 18.25rem;
  max-width: 100%;
  margin: 0.75rem 0;
}

.sample .tile-letter { position: absolute; }

.stats-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

.stat b { font-size: 1.25rem; }

.dist-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0;
  font-size: 1rem;
}

.dist-track {
  display: block;
  height: 1rem;
  background: var(--butter-deep);
  border-radius: 0.5rem;
  overflow: hidden;
}

.dist-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ultra);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-footer {
  background: var(--butter);
  color: var(--ink);
  margin-top: 2rem;
  padding: 1.5rem 1rem 2rem;
  box-shadow: 0 -4px 0 rgba(72, 29, 85, 0.16);
}

.footer-inner {
  width: min(73.75rem, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
  font-size: 1rem;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }

.footer-nav a { color: var(--ultra); font-weight: 700; }

.page-practice [data-daily-only],
.page-daily [data-practice-only] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .tile-deco,
  .row-accent { display: none !important; }
  .result-icon { opacity: 1 !important; }
  .enter,
  .enter:hover { transition: none; transform: none; }
}

@media (forced-colors: active) {
  .tile,
  .key,
  .enter,
  .backspace { border: 2px solid ButtonText; }
}
