/* PocketArcade / daylight arcade. */
:root {
  color-scheme: light;
  --bg: #faf7ef;
  --ink: #292824;
  --muted: #79766e;
  --line: #dcd8ce;
  --orange: #f9683a;
  --paper: #fffef8;
  --game: #bceca6;
  --game-bg: #e4f4d9;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
input {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #4474d6;
}
button {
  touch-action: manipulation;
}
img,
svg,
canvas {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #ffd891;
}
.page-wrap {
  max-width: 1440px;
  margin: auto;
  padding: 0 48px;
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
.site-header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-bottom: 1.5px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.brand-light {
  font-weight: 850;
}
.brand small {
  font-size: 8px;
  letter-spacing: 2.1px;
  display: block;
  margin-top: 6px;
  font-weight: 600;
}
.brand-mark {
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 13px;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 4px;
  place-content: center;
  width: 45px;
  height: 45px;
  transform: rotate(-8deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.brand-mark i {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 1px;
}
.brand-mark i:last-child {
  border-radius: 50%;
  background: #ffe17d;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}
.site-header nav a {
  padding: 12px 0;
  position: relative;
}
.site-header nav .selected:after {
  content: "";
  display: block;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
}
.button {
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  padding: 12px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover:not(:disabled) {
  transform: translate(-1px, -2px);
  box-shadow: 3px 5px 0 var(--ink);
}
.button:active:not(:disabled) {
  transform: translate(1px, 2px);
  box-shadow: 0 0 0 var(--ink);
}
.button.primary {
  background: var(--orange);
  color: #fff;
}
.button.small {
  font-size: 12px;
  padding: 10px 16px;
}
.button.secondary {
  box-shadow: none;
  background: #ffffff90;
  font-size: 12px;
}
.button.secondary:hover:not(:disabled) {
  box-shadow: 2px 2px 0 var(--ink);
}
.shuffle {
  background: #ffdf75;
  gap: 8px;
}
.shuffle .icon {
  width: 17px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
}
.live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border: 1px solid var(--ink);
  background: #67b482;
  border-radius: 50%;
  margin-right: 6px;
}
.lobby-hero {
  display: grid;
  grid-template-columns: 2.25fr 1fr;
  gap: 23px;
  padding: 35px 0 50px;
}
.hero-main {
  border: 1.5px solid var(--ink);
  border-radius: 17px;
  background: #fff0bf;
  min-height: 356px;
  position: relative;
  overflow: hidden;
  display: flex;
  box-shadow: 4px 5px 0 #e9e3d4;
}
.hero-copy {
  padding: 37px 36px;
  position: relative;
  z-index: 2;
  width: 70%;
}
.hero-copy h1 {
  font-size: clamp(44px, 4.3vw, 66px);
  line-height: 1.01;
  letter-spacing: -3px;
  font-weight: 850;
  margin: 22px 0 18px;
}
.hero-copy h1 > span {
  color: var(--orange);
  position: relative;
}
.hero-copy h1 > span:after {
  content: "";
  position: absolute;
  height: 7px;
  border: 3px solid var(--orange);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
  left: -4px;
  right: -7px;
  bottom: -10px;
  transform: rotate(-3deg);
}
.hero-copy > p {
  font-size: 13px;
  line-height: 1.75;
  margin: 24px 0 23px;
  color: #5f5948;
}
.hero-copy .button {
  padding: 12px 19px;
}
.hero-footnote {
  display: flex;
  gap: 19px;
  font-size: 10px;
  font-weight: 600;
  margin-top: 23px;
}
.hero-footnote span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-footnote .icon {
  width: 13px;
  height: 13px;
}
.hero-doodles {
  position: absolute;
  right: 14px;
  top: 0;
  width: 37%;
  height: 100%;
}
.doodle-tile {
  position: absolute;
  top: 45px;
  right: 38px;
  width: 139px;
  height: 139px;
  background: #f6a8c1;
  border: 2px solid var(--ink);
  border-radius: 19px;
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(12deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
}
.doodle-tile small {
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: 6px;
}
.doodle-face {
  width: 89px;
  height: 89px;
  position: absolute;
  right: 6px;
  bottom: 94px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #a6cf94;
  transform: rotate(-12deg);
  box-shadow: 3px 4px 0 var(--ink);
}
.doodle-face i {
  position: absolute;
  top: 24px;
  width: 7px;
  height: 13px;
  background: var(--ink);
  border-radius: 50%;
  left: 26px;
}
.doodle-face i:nth-child(2) {
  left: 49px;
}
.doodle-face b {
  position: absolute;
  left: 26px;
  top: 39px;
  width: 31px;
  height: 21px;
  border: 2px solid var(--ink);
  border-radius: 0 0 30px 30px;
  border-top: 0;
}
.doodle-star {
  position: absolute;
  left: -12px;
  top: 178px;
  color: #7a9ddb;
  font-size: 90px;
  line-height: 1;
  transform: rotate(10deg);
  text-shadow: 2px 2px var(--ink);
}
.doodle-spark {
  font-size: 37px;
  position: absolute;
  right: 3px;
  top: 17px;
  transform: rotate(-10deg);
  color: var(--orange);
}
.doodle-caption {
  position: absolute;
  bottom: 31px;
  right: 24px;
  font:
    italic 17px/1.1 Georgia,
    serif;
  transform: rotate(5deg);
}
.doodle-arrow {
  position: absolute;
  bottom: 31px;
  left: 9px;
  font-size: 55px;
  transform: rotate(15deg);
}
.hero-corner {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #ffde77;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  border-radius: 0 8px 0 0;
  padding: 4px 13px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.featured-pick {
  display: flex;
  flex-direction: column;
  background: #dce9f9;
  border: 1.5px solid var(--ink);
  border-radius: 17px;
  box-shadow: 4px 5px 0 #e9e3d4;
  overflow: hidden;
  transition: transform 0.2s;
}
.featured-pick:hover {
  transform: rotate(1deg);
}
.pick-top {
  padding: 19px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px monospace;
}
.pill {
  font: 700 8px Arial;
  letter-spacing: 1px;
  border: 1.5px solid var(--ink);
  padding: 5px 8px;
  border-radius: 20px;
  background: var(--paper);
  transform: rotate(-3deg);
}
.pick-art {
  height: 181px;
  display: grid;
  place-items: center;
}
.pick-art .art-hex {
  width: 210px;
  filter: drop-shadow(3px 4px #75849d40);
}
.pick-copy {
  padding: 0 23px 19px;
}
.pick-copy small {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}
.pick-copy h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 4px 0;
  font-weight: 800;
}
.pick-copy p {
  font-size: 11px;
  margin: 0;
  color: #596372;
}
.pick-bottom {
  margin-top: auto;
  border-top: 1.5px solid var(--ink);
  background: #bbd4f2;
  display: flex;
  justify-content: space-between;
  padding: 13px 23px;
  font-size: 12px;
  font-weight: 700;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 25px;
}
.section-heading h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 8px 0 0;
  line-height: 1.15;
}
.count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 11px;
  border: 1.3px solid var(--ink);
  border-radius: 50%;
  background: #ffde77;
  vertical-align: middle;
  margin-left: 12px;
  letter-spacing: 0;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  padding: 11px 12px;
  width: 259px;
  min-height: 44px;
}
.search-box input {
  font-size: 11px;
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
}
.search-box .icon {
  width: 16px;
  height: 16px;
}
.search-box kbd {
  border: 1px solid #bcb5a6;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 11px;
  color: var(--muted);
}
.search-box:focus-within {
  outline: 2px solid #799cdb;
  outline-offset: 2px;
}
.library-tools {
  margin-bottom: 26px;
}
.filter-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-tabs button {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 7px;
  padding: 9px 12px;
  min-height: 41px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-tabs button:hover {
  background: #f1eadc;
}
.filter-tabs button.active {
  background: var(--ink);
  color: var(--paper);
}
.filter-tabs button.active span {
  background: #ffffff2a;
}
.filter-tabs button span {
  font-size: 8px;
  border-radius: 3px;
  padding: 1px 4px;
}
.filter-tabs .icon {
  width: 14px;
  height: 14px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}
.game-card {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 3px 4px 0 #dfd8c9;
  background: var(--paper);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  min-width: 0;
}
.game-card:hover {
  transform: translate(-2px, -3px);
  box-shadow: 5px 7px 0 var(--ink);
}
.game-art {
  height: 175px;
  background: var(--game-bg);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
}
.game-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#29282413 0.8px, transparent 0.8px);
  background-size: 12px 12px;
  pointer-events: none;
  z-index: 0;
}
.game-art > * {
  z-index: 1;
}
.card-play {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.7px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s;
}
.card-play .icon {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
.game-card:hover .card-play {
  opacity: 1;
  transform: none;
}
.favorite-button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  background: #fffef8e0;
  border: 1.2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 3;
}
.favorite-button .icon {
  width: 15px;
  height: 15px;
}
.favorite-button[aria-pressed="true"] {
  background: #ffdd68;
}
.favorite-button[aria-pressed="true"] .icon {
  fill: var(--ink);
}
.card-copy {
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-copy h3 {
  font-size: 17px;
  letter-spacing: -0.5px;
  margin: 4px 0 0;
  font-weight: 750;
}
.card-genre {
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.8px;
  color: #777166;
}
.card-arrow {
  font-size: 21px;
}
.library-bottom {
  padding: 28px 0 37px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1.5px solid var(--ink);
}
.library-bottom .icon {
  width: 13px;
  height: 13px;
  margin-left: 6px;
}
.notes-section {
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 45px;
}
.notes-section h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 13px 0;
  font-weight: 800;
}
.notes-section p {
  font-size: 12px;
  color: var(--muted);
}
.notes-list a {
  display: flex;
  align-items: center;
  gap: 19px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.notes-list a:first-child {
  padding-top: 0;
}
.note-number {
  font-size: 20px;
  font-weight: 750;
  color: #cfbfa4;
}
.notes-list small {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.notes-list h3 {
  font-size: 14px;
  font-weight: 650;
  margin: 4px 0;
  line-height: 1.5;
}
.notes-list a > span:last-child {
  margin-left: auto;
  font-size: 20px;
}
.notes-list a:hover h3 {
  color: var(--orange);
}
.site-footer {
  border-top: 1.5px solid var(--ink);
  padding: 28px 0 25px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.site-footer .brand {
  font-size: 22px;
  color: var(--ink);
}
.site-footer .brand-mark {
  width: 33px;
  height: 33px;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 6px);
  gap: 3px;
  border-radius: 8px;
}
.site-footer p {
  flex: 1;
}
.site-footer > div {
  display: flex;
  gap: 18px;
}
.site-footer button {
  border: 0;
  background: none;
  font-size: 10px;
  padding: 0;
  color: var(--muted);
}
.site-footer small {
  width: 100%;
  font-size: 8px;
  padding-left: 45px;
  margin-top: -17px;
}
.empty-results {
  text-align: center;
  padding: 60px 20px;
  border: 1.5px dashed #b7ac96;
  border-radius: 12px;
  color: var(--muted);
}
.game-heading {
  padding: 22px 0;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  width: fit-content;
  margin-bottom: 16px;
}
.back-link .icon {
  width: 15px;
}
.back-link:hover {
  color: var(--orange);
}
.game-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.game-title-row h1 {
  font-size: 35px;
  line-height: 1.15;
  margin: 6px 0;
  letter-spacing: -1.3px;
  font-weight: 800;
}
.game-title-row p {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0 0;
}
.game-title-row .eyebrow {
  color: #6f6b5d !important;
  font-size: 9px;
}
.separator {
  padding: 0 6px;
  color: #b9b3a6;
}
.title-dot {
  color: var(--orange);
}
.game-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 650;
}
.game-badge .icon {
  color: var(--orange);
  width: 26px;
  height: 26px;
  transform: rotate(-12deg);
}
body[data-game] .site-header {
  height: 79px;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 246px;
  gap: 26px;
  align-items: start;
}
.game-panel {
  border: 1.8px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 5px 0 #dfd8c9;
  background: var(--paper);
  overflow: hidden;
  min-width: 0;
}
.panel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--game);
  border-bottom: 1.5px solid var(--ink);
  padding: 11px 17px;
  min-height: 48px;
}
.panel-bar > span {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.panel-bar .live-dot {
  background: var(--paper);
}
.icon-button {
  display: grid;
  place-items: center;
  background: #ffffff60;
  border: 1.2px solid #29282470;
  border-radius: 6px;
  width: 31px;
  height: 29px;
}
.icon-button .icon {
  width: 15px;
  height: 15px;
}
.game-stage {
  background: var(--game-bg);
  padding: 24px 22px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-stage > div {
  width: 100%;
  text-align: center;
}
.game-stage:has(.os-frame) {
  padding: 0;
  display: block;
  min-height: 0;
}
.panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  padding: 11px 17px;
  border-top: 1.5px solid var(--ink);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.6px;
}
.panel-bottom .icon {
  width: 11px;
  height: 11px;
  margin-left: 5px;
}
.instructions {
  padding: 21px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 11px;
}
.instructions h2 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.6px;
  margin: 10px 0 23px;
}
.instructions dl {
  display: grid;
  gap: 17px;
  margin: 0;
}
.instructions dt kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 11px;
  border: 1.3px solid var(--ink);
  border-radius: 5px;
  box-shadow: 0 2px 0 var(--ink);
  padding: 3px 7px;
  background: #f2eee2;
  font-weight: 600;
}
.instructions dd {
  font-size: 11px;
  color: #766f64;
  margin: 7px 0 0;
}
.small-divider {
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.instructions .eyebrow {
  font-size: 9px;
  color: #837c6e;
}
.wisdom {
  font-size: 12px;
  line-height: 1.85;
  color: #726b60;
}
.difficulty {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  font-weight: 600;
}
.difficulty i {
  width: 6px;
  height: 6px;
  background: #77a87b;
  border-radius: 50%;
}
.up-next {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 13px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.next-art {
  width: 76px;
  height: 95px;
  background: var(--game-bg);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.next-art > div,
.next-art > svg {
  transform: scale(0.44);
  min-width: 150px;
  flex-shrink: 0;
}
.next-art .art-flight {
  transform: scale(0.36);
  min-width: 260px;
}
.up-next small {
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--muted);
}
.up-next h3 {
  font-size: 12px;
  margin: 5px 0;
}
.up-next > div > span {
  font-size: 9px;
  color: var(--muted);
}
.game-details {
  max-width: calc(100% - 272px);
  margin-top: 27px;
}
.game-details details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.game-details summary {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.game-details summary::-webkit-details-marker {
  display: none;
}
.game-details summary > span {
  font-size: 17px;
  font-weight: 400;
}
.game-details details[open] summary > span {
  transform: rotate(45deg);
}
.more-games {
  padding: 42px 0;
}
.more-games .section-heading h2 {
  font-size: 25px;
}
.more-games .game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.text-link {
  font-size: 12px;
  font-weight: 650;
}
.game-stats,
.game-stage > div > div:first-child:has(> span) {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
}
.game-stats > span,
.game-stage > div > div:first-child > span {
  padding: 8px 14px;
  border: 1.3px solid var(--ink);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 2px 0 #29282420;
  font-variant-numeric: tabular-nums;
}
.game-stage [id$="-best"] {
  background: #ffe8a1;
}
.game-status,
.game-stage [id$="-status"] {
  font-size: 12px;
  color: #625e52;
  margin: 16px 0;
  min-height: 18px;
  line-height: 1.6;
}
.game-stage .game-new,
.game-stage button[id$="-new"],
.game-stage button[id$="-start"] {
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  color: #fff;
  padding: 10px 17px;
  font-size: 12px;
  font-weight: 700;
  min-height: 42px;
  box-shadow: 2px 3px 0 var(--ink);
  margin: 0;
}
.game-stage .game-new:hover,
.game-stage button[id$="-new"]:hover,
.game-stage button[id$="-start"]:hover {
  background: #e9562a;
}
.game-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.merge-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 17px;
  flex-wrap: wrap;
}
.direction-buttons {
  display: flex;
  gap: 5px;
}
.mg-btn {
  width: 37px;
  height: 36px;
  border: 1.3px solid var(--ink);
  border-radius: 6px;
  background: #ffffff90;
  font-size: 17px;
  box-shadow: 0 2px 0 #29282445;
}
.mg-btn:hover {
  background: #fff;
}
.mg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 342px);
  margin: auto;
  padding: 9px;
  border: 1.8px solid var(--ink);
  border-radius: 12px;
  background: #a2c493;
  box-shadow: 0 4px 0 #29282430;
  touch-action: none;
}
.mg-grid > div {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1.3px solid #29282470;
  border-radius: 7px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 3px 0 #29282430;
  animation: tile-in 0.16s;
}
.mg-grid > div[data-value="0"] {
  background: #c5d9ba !important;
  border: 1px solid #93b184;
  box-shadow: inset 0 2px 0 #00000008;
}
.mm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 348px;
  margin: auto;
}
.mm-card {
  aspect-ratio: 1;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #ee94b3;
  box-shadow: 0 4px 0 #996074;
  color: var(--ink);
  font-size: 32px;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.15s;
}
.mm-card:not(.revealed):not(.done):after {
  content: "✳";
  font-size: 34px;
  color: #713f5b;
}
.mm-card:hover:not(:disabled) {
  transform: translateY(-3px);
}
.mm-card.revealed {
  background: #fff5cf;
  box-shadow: 0 4px 0 #b7a778;
}
.mm-card.done {
  background: #b8db94;
  box-shadow: 0 2px 0 #8dba78;
  opacity: 1;
  color: #35582c;
}
.rt-pad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border: 1.8px solid var(--ink);
  border-radius: 14px;
  background: #ffdc59;
  width: min(100%, 580px);
  min-height: 319px;
  margin: auto;
  color: #3a321c;
  box-shadow: 0 6px 0 #9e8c40;
  touch-action: manipulation;
}
.rt-pad .icon {
  width: 65px;
  height: 65px;
  fill: #fff6bf;
  stroke-width: 1.5;
}
.rt-pad #rt-msg {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1px;
}
.rt-pad small {
  font-size: 12px;
}
.rt-pad.wait {
  background: #ffa080;
  box-shadow: 0 6px 0 #b26950;
}
.rt-pad.go {
  background: #9cdb87;
  box-shadow: 0 6px 0 #5c934b;
}
.rt-pad.go .icon {
  fill: #fff;
}
.rt-pad.early {
  background: #f3b9d3;
  box-shadow: 0 6px 0 #aa7b93;
}
.rt-pad.done {
  background: #9dcde7;
  box-shadow: 0 6px 0 #638eaa;
}
.reaction-results {
  min-height: 31px;
  margin-top: 20px;
  display: flex;
  gap: 7px;
  justify-content: center;
}
.reaction-results span {
  border: 1px solid var(--ink);
  background: #fffef8;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
}
.pz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 320px;
  margin: auto;
}
.pz-tile {
  aspect-ratio: 1;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: #8dbaf1;
  box-shadow: 0 4px 0 #3d648d;
  font-size: 34px;
  font-weight: 750;
  color: #23374b;
}
.pz-tile.blank {
  background: #cbdaee;
  border: 1px dashed #8aa7c6;
  box-shadow: none;
}
.pz-tile:disabled:not(.blank) {
  opacity: 1;
}
.simon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 290px;
  max-width: 100%;
  margin: auto;
}
.simon-pad {
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 6px 0 #29282455;
  font-size: 28px;
  font-weight: 750;
  color: #242424;
}
.simon-pad:disabled {
  opacity: 1;
  cursor: default;
}
.simon-pad.is-lit {
  background: #fff !important;
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--ink);
}
#simon-sound {
  margin-right: 12px;
  font-size: 11px;
}
.wh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 340px;
  margin: auto;
}
.wh-hole {
  aspect-ratio: 1.3;
  position: relative;
  overflow: hidden;
  border: 2px solid #654632;
  border-radius: 50%;
  background: #956c4a;
  box-shadow: inset 0 8px 0 #6e4d36;
  font-size: 38px;
  color: #271d19;
}
.wh-hole.up {
  background: #d7ac78;
}
.wh-hole.up:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 65%;
  background: #b9855f;
  border-radius: 50% 50% 20% 20%;
  z-index: 0;
}
.wh-hole > span {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: bold;
}
.canvas-wrap {
  position: relative;
  width: 342px;
  max-width: 100%;
  margin: auto;
  line-height: 0;
}
.canvas-wrap canvas {
  width: 100%;
  height: auto;
  border: 1.8px solid var(--ink);
  border-radius: 10px;
  touch-action: none;
  box-shadow: 0 4px 0 #526a4c;
}
.canvas-overlay {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #e5f1d7dd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  line-height: 1.4;
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.canvas-overlay strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.canvas-overlay span {
  font-size: 12px;
  max-width: 80%;
}
.snake-directions {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}
.snake-directions button {
  width: 40px;
  height: 36px;
  border: 1px solid var(--ink);
  background: #fffef8;
  border-radius: 6px;
  font-size: 19px;
}
.wg-board {
  display: grid;
  gap: 6px;
  width: 282px;
  max-width: 100%;
  margin: auto;
}
.wg-row {
  display: flex;
  gap: 6px;
}
.wg-cell {
  width: 52px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1.5px solid #8f9e8d;
  border-radius: 6px;
  background: #fffef8;
  font-size: 24px;
  font-weight: 750;
}
.wg-cell.hit {
  background: #83bd79;
  color: #152f18;
  border-color: #335c2c;
}
.wg-cell.near {
  background: #edce6c;
  color: #4b3a10;
  border-color: #998238;
}
.wg-cell.miss {
  background: #bec5b8;
  color: #3e4838;
  border-color: #858e7d;
}
.wg-keys {
  max-width: 450px;
  margin: 20px auto;
}
.wg-keys > div {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 6px 0;
}
.wg-keys button {
  min-width: 28px;
  height: 38px;
  padding: 0 6px;
  border: 1.2px solid #64745f;
  background: #fffef8;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 2px 0 #8d9c87;
}
.wg-keys button[data-result="hit"] {
  background: #83bd79;
}
.wg-keys button[data-result="near"] {
  background: #edce6c;
}
.wg-keys button[data-result="miss"] {
  background: #bec5b8;
}
.os-frame {
  display: block;
  width: 100%;
  height: 536px;
  border: 0;
  background: var(--game-bg);
}
.frame-clumsy-bird {
  height: auto;
  aspect-ratio: 3/2;
}
.frame-2048 {
  height: 540px;
}
.classic-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 10px;
  background: var(--game-bg);
}
.classic-actions .button {
  padding: 9px 17px;
  font-size: 12px;
}
.engine-credit {
  font-size: 8px;
  color: #726b60;
  line-height: 1.6;
  text-align: center;
  padding: 10px 15px;
  margin: 0;
  background: var(--paper);
  border-top: 1px solid #29282420;
}
.engine-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.game-panel:fullscreen {
  overflow: auto;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}
.game-panel:fullscreen .game-stage {
  flex: 1;
}
.game-panel:fullscreen .os-frame {
  height: calc(100vh - 170px);
}
.game-panel:fullscreen .frame-clumsy-bird {
  max-width: 100%;
  aspect-ratio: auto;
}
.game-panel:fullscreen .mg-grid {
  width: min(65vh, 550px);
}
.prose {
  font-size: 14px;
  line-height: 1.85;
  color: #6b665b;
}
.prose h2,
.prose h3 {
  color: var(--ink);
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -0.4px;
}
.prose h2 {
  font-size: 24px;
  margin-top: 35px;
}
.prose h3 {
  font-size: 19px;
  margin-top: 27px;
}
.prose a {
  color: #cc4e28;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
}
.prose li {
  margin: 8px 0;
}
.prose code {
  font-size: 12px;
  background: #f0eadc;
  padding: 3px 5px;
  border-radius: 3px;
}
.document-page {
  max-width: 760px;
  margin: 35px auto 70px;
}
.document-page > .eyebrow {
  margin-top: 34px;
}
.document-page h1,
.collection-page h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.7px;
  font-weight: 800;
  margin: 18px 0 30px;
}
.document-page > .prose {
  border-top: 1.5px solid var(--ink);
  padding-top: 15px;
}
.collection-page {
  padding: 32px 0 60px;
}
.collection-page > p {
  font-size: 14px;
  max-width: 660px;
  margin-bottom: 33px;
  color: var(--muted);
}
.collection-page .game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 5px 0 #29282440;
  max-width: 840px;
  width: calc(100% - 36px);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  z-index: 100;
}
.cookie-banner > div {
  flex: 1;
}
.cookie-banner strong {
  font-size: 12px;
}
.cookie-banner p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0;
}
.cookie-banner a {
  text-decoration: underline;
}
.cookie-banner .button {
  font-size: 10px;
  white-space: nowrap;
  min-height: 38px;
  padding: 9px 13px;
}
.sponsor-slot {
  padding: 25px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 20px;
}
.sponsor-slot > span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.sponsor-slot iframe {
  border: 0;
  max-width: 100%;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  z-index: 200;
}
.skip-link:focus {
  top: 15px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 12px 20px;
  background: #ffdf75;
  box-shadow: 3px 4px 0 var(--ink);
  z-index: 150;
  font-size: 12px;
  max-width: 90%;
  width: max-content;
}
@keyframes tile-in {
  from {
    transform: scale(0.93);
  }
  to {
    transform: scale(1);
  }
}

.art-tiles {
  width: 150px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-radius: 10px;
  transform: rotate(-8deg);
  background: #ffffff09;
  border: 1px solid #ffffff15;
}
.art-tiles b {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #48513e;
  color: #c4caba;
  font-size: 17px;
  border-radius: 4px;
  font-weight: 650;
}
.art-tiles .t-0 {
  background: #ffffff09;
}
.art-tiles .t-2 {
  background: #afc69a;
  color: #354230;
}
.art-tiles .t-4 {
  background: #cadcae;
  color: #354230;
}
.art-tiles .t-8 {
  background: #e0de9e;
  color: #48452c;
}
.art-tiles .t-16 {
  background: #ecd099;
  color: #53432a;
}
.art-tiles .t-32 {
  background: #d7ae7c;
  color: #493328;
}
.art-tiles .t-64 {
  background: #d18e70;
  color: #fff1d9;
}
.art-tiles .t-128 {
  background: #ae9bc9;
  color: #f3e9ff;
}
.art-hex,
.art-snake {
  width: 230px;
  height: 175px;
}
.art-flight {
  position: relative;
  width: 260px;
  height: 191px;
}
.pipe {
  position: absolute;
  width: 43px;
  background: #78b6a3;
  border: 3px solid #426d63;
  border-radius: 4px;
  box-shadow: inset -8px 0 #00000016;
}
.pipe:after {
  content: "";
  position: absolute;
  width: 51px;
  height: 18px;
  background: #8cc6b3;
  border: 3px solid #426d63;
  left: -7px;
  border-radius: 3px;
}
.p1 {
  height: 73px;
  right: 42px;
  top: -7px;
}
.p1:after {
  bottom: -7px;
}
.p2 {
  height: 61px;
  right: 42px;
  bottom: -6px;
}
.p2:after {
  top: -7px;
}
.little-bird {
  position: absolute;
  left: 76px;
  top: 77px;
  width: 42px;
  height: 34px;
  border-radius: 48% 55% 40% 42%;
  background: #eacb85;
  border: 3px solid #7b6740;
  transform: rotate(-12deg);
  box-shadow: 0 5px 0 #192b2518;
}
.little-bird:before {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 3px;
  width: 17px;
  height: 10px;
  background: #db8d6e;
  border: 2px solid #7b6740;
  border-radius: 4px;
}
.little-bird:after {
  content: "";
  position: absolute;
  right: 4px;
  top: 2px;
  width: 11px;
  height: 14px;
  border-radius: 50%;
  background: #fff6da;
  border-right: 5px solid #493c2d;
}
.little-bird i {
  position: absolute;
  left: -7px;
  bottom: 3px;
  width: 25px;
  height: 15px;
  background: #eadb9d;
  border: 2px solid #7b6740;
  border-radius: 50%;
}
.cloud {
  position: absolute;
  width: 46px;
  height: 9px;
  background: #bfe2d314;
  border-radius: 20px;
}
.c1 {
  left: 32px;
  top: 38px;
}
.c2 {
  right: 18px;
  top: 93px;
}
.flight-line {
  width: 40px;
  border-top: 2px dashed #9fcaba40;
  position: absolute;
  left: 22px;
  top: 104px;
}
.art-memory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  transform: rotate(-8deg);
  width: 169px;
}
.art-memory b {
  height: 63px;
  display: grid;
  place-items: center;
  border: 1px solid #c79eb24d;
  border-radius: 8px;
  background: #69475e;
  color: #e8b4ce;
  font-size: 24px;
  box-shadow: 0 4px 0 #211a283d;
}
.art-memory b:nth-child(3n + 2) {
  transform: translateY(-8px);
}
.art-memory .m-0,
.art-memory .m-3 {
  background: #e3b7c5;
  color: #704056;
}
.art-reaction {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}
.art-reaction .icon {
  width: 58px;
  height: 58px;
  color: #e3d77e;
  fill: #e3d77e17;
  margin-bottom: 6px;
}
.art-reaction b {
  font-weight: 500;
  font-size: 15px;
  color: #f0e7ba;
}
.art-reaction span {
  font-size: 9px;
  color: #c7bd86;
}
.art-word {
  display: flex;
  gap: 5px;
  transform: rotate(-6deg);
}
.art-word b {
  width: 35px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #4e6960;
  color: #dcebdd;
  font-size: 21px;
  box-shadow: 0 4px 0 #0000001a;
}
.art-word .w-1 {
  background: #bbae77;
  color: #343c30;
}
.art-word .w-3 {
  background: #729c84;
}
.art-word .w-4 {
  background: none;
  border: 1px solid #6a7d72;
  color: #9db7ab;
}
.art-puzzle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 143px;
  transform: rotate(7deg);
}
.art-puzzle b {
  aspect-ratio: 1;
  border-radius: 5px;
  background: #acc8e2;
  color: #324962;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.art-puzzle .blank {
  background: #ffffff09;
}
.art-simon {
  width: 145px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  transform: rotate(12deg);
}
.art-simon i {
  aspect-ratio: 1;
  background: #b8a4e5;
  border-radius: 45% 15% 15% 15%;
}
.art-simon i:nth-child(2) {
  background: #dcab92;
  transform: rotate(90deg);
}
.art-simon i:nth-child(3) {
  background: #9acabc;
  transform: rotate(-90deg);
}
.art-simon i:nth-child(4) {
  background: #d9c68c;
  transform: rotate(180deg);
}
.art-mole {
  position: relative;
  width: 190px;
  height: 120px;
  border-bottom: 13px solid #705843;
  border-radius: 50%;
}
.art-mole span {
  display: block;
  background: #c39a7b;
  border-radius: 50% 50% 35% 35%;
  width: 82px;
  height: 87px;
  position: absolute;
  left: 53px;
  bottom: 0;
  color: #4d3930;
  text-align: center;
  font-size: 30px;
  padding-top: 13px;
  box-shadow: inset -9px 0 #00000012;
}
.art-mole i {
  position: absolute;
  top: 12px;
  left: 55px;
  background: #c39a7b;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 5px solid #d8ad8f;
}
.art-mole i:last-child {
  left: 111px;
} /* Illustrations use the same tactile pieces as the games. */
.art-tiles {
  background: #b3c9a2;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 4px 0 #29282422;
}
.art-tiles b {
  border: 1px solid #29282480;
  color: var(--ink) !important;
}
.art-tiles .t-0 {
  border-color: transparent;
  background: #cdddc2;
}
.art-tiles .t-2 {
  background: #ffefc1;
}
.art-tiles .t-4 {
  background: #ffd476;
}
.art-tiles .t-8 {
  background: #ffa478;
}
.art-tiles .t-16 {
  background: #f77e70;
}
.art-tiles .t-32 {
  background: #f1b4cc;
}
.art-tiles .t-64 {
  background: #b5a1e2;
}
.art-tiles .t-128 {
  background: #83bbd5;
}
.art-memory b {
  border: 1.5px solid var(--ink);
  background: #f7a6c3;
  color: #713956;
  box-shadow: 2px 3px 0 #75475b;
}
.art-memory .m-0,
.art-memory .m-3 {
  background: #ffefbb;
  color: #713956;
}
.art-reaction {
  color: #5c4b17;
}
.art-reaction .icon {
  color: #53451b;
  fill: #ffe68a;
}
.art-reaction b {
  color: #53451b;
  font-weight: 700;
}
.art-reaction span {
  color: #8a7540;
}
.art-flight .pipe {
  background: #75b18e;
  border-color: #304d3b;
}
.art-flight .pipe:after {
  background: #99d1ab;
  border-color: #304d3b;
}
.art-flight .cloud {
  background: #fffefa99;
}
.art-puzzle b {
  border: 1px solid var(--ink);
  box-shadow: 1px 2px 0 #587291;
}
.art-simon i {
  border: 1.5px solid var(--ink);
  box-shadow: 2px 3px 0 #29282444;
}
.art-word b {
  border: 1px solid var(--ink);
  box-shadow: 1px 3px 0 #29282455;
}
.next-art .art-tiles {
  transform: rotate(-8deg) scale(0.42);
}
.next-art .art-memory {
  transform: rotate(-8deg) scale(0.43);
}
@media (min-width: 1500px) {
  .hero-copy h1 {
    font-size: 67px;
  }
  .game-art {
    height: 190px;
  }
  .hero-main {
    min-height: 386px;
  }
  .pick-art {
    height: 192px;
  }
  .hero-doodles {
    right: 28px;
  }
  .doodle-tile {
    top: 56px;
    right: 35px;
  }
}
@media (max-width: 1120px) {
  .page-wrap {
    padding: 0 28px;
  }
  .lobby-hero {
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }
  .hero-copy {
    padding: 31px 27px;
    width: 74%;
  }
  .hero-copy h1 {
    font-size: 52px;
  }
  .hero-doodles {
    right: 0;
    width: 31%;
  }
  .doodle-tile {
    width: 99px;
    height: 99px;
    font-size: 33px;
    right: 24px;
    top: 48px;
  }
  .doodle-tile small {
    font-size: 5px;
  }
  .doodle-face {
    width: 70px;
    height: 70px;
    right: 10px;
    bottom: 109px;
  }
  .doodle-face i {
    top: 17px;
    left: 20px;
  }
  .doodle-face i:nth-child(2) {
    left: 40px;
  }
  .doodle-face b {
    left: 20px;
    top: 32px;
    width: 28px;
    height: 18px;
  }
  .doodle-star {
    font-size: 72px;
    left: -22px;
    top: 163px;
  }
  .doodle-caption {
    font-size: 14px;
    right: 20px;
  }
  .doodle-arrow {
    left: -10px;
  }
  .game-grid {
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-copy h3 {
    font-size: 16px;
  }
  .site-header nav {
    gap: 23px;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 19px;
  }
  .game-details {
    max-width: calc(100% - 239px);
  }
  .instructions {
    padding: 18px;
  }
  .game-stage {
    padding: 22px 17px;
  }
  .game-badge {
    font-size: 8px;
  }
  .hero-copy > p {
    max-width: 280px;
  }
  .hero-footnote {
    gap: 13px;
  }
  .pick-top {
    padding: 17px 15px 0;
  }
  .pick-copy {
    padding: 0 17px 17px;
  }
  .pick-bottom {
    padding: 12px 17px;
  }
  .notes-section {
    gap: 28px;
  }
  .site-footer p {
    display: none;
  }
}
@media (max-width: 760px) {
  .page-wrap {
    padding: 0 18px;
  }
  .site-header {
    height: 82px;
    gap: 12px;
  }
  .brand {
    font-size: 23px;
    letter-spacing: -1px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 11px;
    gap: 3px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.6px;
  }
  .site-header nav {
    display: none;
  }
  .shuffle {
    font-size: 10px !important;
    padding: 9px 12px !important;
    min-height: 38px;
  }
  .shuffle .icon {
    width: 14px;
  }
  .lobby-hero {
    grid-template-columns: 1fr;
    padding: 25px 0 35px;
    gap: 20px;
  }
  .hero-main {
    min-height: 335px;
  }
  .hero-copy {
    padding: 29px 23px 35px;
    width: 77%;
  }
  .hero-copy .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .hero-copy h1 {
    font-size: 47px;
    letter-spacing: -2.4px;
    line-height: 1.04;
    margin-top: 22px;
  }
  .hero-copy > p {
    font-size: 11px;
    line-height: 1.8;
    margin: 22px 0 19px;
    max-width: 235px;
  }
  .hero-copy .button {
    font-size: 11px;
    min-height: 42px;
    padding: 10px 14px;
  }
  .hero-footnote {
    font-size: 8px;
    gap: 13px;
    margin-top: 18px;
  }
  .hero-footnote .icon {
    width: 11px;
    height: 11px;
  }
  .hero-doodles {
    width: 30%;
    right: 0;
  }
  .doodle-tile {
    width: 64px;
    height: 64px;
    font-size: 24px;
    top: 34px;
    right: 14px;
    border-radius: 12px;
    box-shadow: 3px 4px 0 var(--ink);
  }
  .doodle-tile small {
    display: none;
  }
  .doodle-face {
    width: 58px;
    height: 58px;
    bottom: 51px;
    right: 13px;
  }
  .doodle-face i {
    width: 4px;
    height: 9px;
    left: 17px;
    top: 16px;
  }
  .doodle-face i:nth-child(2) {
    left: 32px;
  }
  .doodle-face b {
    left: 17px;
    top: 28px;
    width: 21px;
    height: 14px;
  }
  .doodle-star {
    font-size: 52px;
    left: 3px;
    top: 147px;
  }
  .doodle-caption,
  .doodle-arrow,
  .doodle-spark {
    display: none;
  }
  .hero-corner {
    font-size: 6px;
    padding: 3px 10px;
  }
  .featured-pick {
    min-height: 0;
    display: grid;
    grid-template-columns: 104px 1fr;
    grid-template-rows: auto auto;
    position: relative;
    background: #dce9f9;
  }
  .pick-top {
    grid-column: 2;
    padding: 12px 14px 0;
    font-size: 8px;
  }
  .pick-top > span:last-child {
    display: none;
  }
  .pill {
    font-size: 6px;
    letter-spacing: 0.6px;
    padding: 3px 6px;
  }
  .pick-art {
    grid-column: 1;
    grid-row: 1/4;
    height: 135px;
    width: 104px;
    overflow: hidden;
    border-right: 1.5px solid var(--ink);
    background: #c4d9f4;
  }
  .pick-art .art-hex {
    min-width: 128px;
    height: 125px;
    transform: scale(0.9);
  }
  .pick-copy {
    grid-column: 2;
    padding: 4px 14px 9px;
  }
  .pick-copy small {
    display: none;
  }
  .pick-copy h2 {
    font-size: 23px;
    margin: 2px 0;
  }
  .pick-copy p {
    font-size: 10px;
  }
  .pick-bottom {
    grid-column: 2;
    padding: 8px 14px;
    font-size: 10px;
    min-height: 32px;
  }
  .pick-bottom .icon {
    width: 15px;
    height: 15px;
  }
  .section-heading {
    align-items: start;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 19px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 25px;
    letter-spacing: -0.9px;
    margin-top: 7px;
  }
  .count {
    width: 23px;
    height: 23px;
    font-size: 9px;
    margin-left: 8px;
  }
  .search-box {
    width: 100%;
    min-height: 43px;
  }
  .library-tools {
    margin-bottom: 20px;
  }
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 7px;
    gap: 3px;
  }
  .filter-tabs button {
    font-size: 10px;
    white-space: nowrap;
    padding: 8px 11px;
    min-height: 38px;
    flex-shrink: 0;
  }
  .game-grid,
  .collection-page .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .game-art {
    height: 151px;
  }
  .card-copy {
    padding: 12px 10px;
  }
  .card-copy h3 {
    font-size: 14px;
    letter-spacing: -0.4px;
  }
  .card-genre {
    font-size: 6px;
    letter-spacing: 0.45px;
  }
  .card-arrow {
    font-size: 16px;
  }
  .favorite-button {
    width: 28px;
    height: 28px;
    right: 8px;
    top: 8px;
  }
  .favorite-button .icon {
    width: 13px;
    height: 13px;
  }
  .game-art .art-tiles {
    width: 110px;
  }
  .art-tiles b {
    font-size: 14px;
  }
  .art-memory {
    width: 118px;
    gap: 7px;
  }
  .art-memory b {
    height: 45px;
    font-size: 20px;
  }
  .art-hex,
  .art-snake {
    width: 165px;
    height: 153px;
  }
  .art-flight {
    transform: scale(0.71);
  }
  .art-reaction .icon {
    width: 39px;
    height: 39px;
  }
  .art-reaction b {
    font-size: 12px;
  }
  .art-reaction span {
    font-size: 8px;
  }
  .art-puzzle {
    width: 112px;
  }
  .art-simon {
    width: 113px;
  }
  .art-word {
    transform: rotate(-6deg) scale(0.68);
  }
  .art-mole {
    transform: scale(0.73);
  }
  .library-bottom {
    font-size: 9px;
    padding: 25px 0;
  }
  .library-bottom > span:last-child {
    display: none;
  }
  .notes-section {
    grid-template-columns: 1fr;
    padding: 34px 0;
    gap: 14px;
  }
  .notes-section h2 {
    font-size: 27px;
  }
  .notes-section h2 br {
    display: none;
  }
  .notes-section p {
    font-size: 11px;
  }
  .notes-list h3 {
    font-size: 12px;
  }
  .notes-list a {
    gap: 13px;
  }
  .site-footer {
    gap: 17px;
    padding: 24px 0;
  }
  .site-footer > div {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 9px;
    width: 100%;
  }
  .site-footer small {
    padding: 0;
    margin: 0;
  }
  .site-footer .brand {
    font-size: 21px;
  }
  .site-footer button {
    font-size: 9px;
  }
  body[data-game] .site-header {
    height: 74px;
  }
  .game-heading {
    padding: 18px 0;
  }
  .game-title-row h1 {
    font-size: 31px;
  }
  .game-title-row .eyebrow {
    font-size: 8px;
  }
  .game-title-row p {
    font-size: 11px;
  }
  .game-badge {
    display: none;
  }
  .back-link {
    font-size: 10px;
    margin-bottom: 17px;
  }
  .play-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .game-stage {
    padding: 20px 14px;
    min-height: 0;
  }
  .panel-bar {
    padding: 9px 13px;
    min-height: 45px;
  }
  .panel-bar > span {
    font-size: 10px;
  }
  .panel-bottom {
    font-size: 6px;
    padding: 10px 12px;
    letter-spacing: 0.3px;
  }
  .panel-bottom > span:last-child {
    display: none;
  }
  .game-stats,
  .game-stage > div > div:first-child:has(> span) {
    font-size: 10px;
    gap: 7px;
    margin-bottom: 18px;
  }
  .game-stats > span,
  .game-stage > div > div:first-child > span {
    padding: 7px 11px;
  }
  .mg-grid {
    gap: 6px;
    padding: 7px;
  }
  .mg-grid > div {
    font-size: 30px;
  }
  .merge-actions {
    gap: 10px;
    margin-top: 16px;
  }
  .direction-buttons {
    width: 100%;
    justify-content: center;
    gap: 7px;
  }
  .mg-btn {
    width: 46px;
    height: 39px;
  }
  .merge-actions .button {
    min-height: 40px;
    font-size: 11px;
    padding: 9px 18px;
  }
  .game-status,
  .game-stage [id$="-status"] {
    font-size: 11px;
    margin: 15px 0;
  }
  .mm-grid {
    gap: 8px;
  }
  .mm-card {
    font-size: 29px;
  }
  .mm-card:not(.revealed):not(.done):after {
    font-size: 29px;
  }
  .rt-pad {
    min-height: 280px;
    gap: 16px;
  }
  .rt-pad #rt-msg {
    font-size: 24px;
  }
  .rt-pad small {
    font-size: 10px;
  }
  .rt-pad .icon {
    width: 50px;
    height: 50px;
  }
  .reaction-results {
    gap: 5px;
  }
  .reaction-results span {
    font-size: 9px;
    padding: 5px 7px;
  }
  .instructions {
    padding: 21px;
  }
  .instructions h2 {
    font-size: 22px;
    margin: 9px 0 20px;
  }
  .instructions dl {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }
  .instructions dd {
    font-size: 10px;
  }
  .small-divider {
    margin: 20px 0;
  }
  .wisdom {
    font-size: 11px;
  }
  .up-next {
    display: none;
  }
  .game-details {
    max-width: none;
    margin-top: 20px;
  }
  .game-details summary {
    font-size: 11px;
  }
  .more-games {
    padding: 34px 0;
  }
  .more-games .section-heading h2 {
    font-size: 22px;
  }
  .more-games .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .more-games .game-card:last-child {
    display: none;
  }
  .text-link {
    font-size: 10px;
  }
  .os-frame {
    height: 435px;
  }
  .frame-2048 {
    height: 433px;
  }
  .frame-clumsy-bird {
    height: auto;
    aspect-ratio: 3/2;
  }
  .classic-actions {
    padding: 13px 8px;
  }
  .classic-actions .button {
    font-size: 10px;
    min-height: 38px;
    padding: 8px 12px;
  }
  .engine-credit {
    font-size: 7px;
  }
  .wg-keys > div {
    gap: 3px;
  }
  .wg-keys button {
    min-width: 23px;
    padding: 0 4px;
    font-size: 10px;
  }
  .simon-grid {
    width: 266px;
  }
  .simon-pad {
    font-size: 25px;
  }
  #simon-sound {
    font-size: 10px;
  }
  .wh-grid {
    gap: 12px;
  }
  .cookie-banner {
    flex-wrap: wrap;
    width: calc(100% - 24px);
    bottom: 12px;
    gap: 10px;
    padding: 14px;
  }
  .cookie-banner > div {
    width: 100%;
    flex: none;
  }
  .cookie-banner .button {
    min-height: 36px;
    font-size: 9px;
  }
  .document-page h1,
  .collection-page h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .prose {
    font-size: 13px;
  }
  .canvas-overlay strong {
    font-size: 22px;
  }
  .canvas-overlay span {
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .page-wrap {
    padding: 0 14px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .shuffle span {
    display: none;
  }
  .hero-copy {
    padding: 25px 18px 34px;
    width: 82%;
  }
  .hero-copy h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 10px;
    max-width: 215px;
  }
  .hero-doodles {
    width: 25%;
  }
  .doodle-tile {
    right: 11px;
    top: 20px;
    width: 47px;
    height: 47px;
    font-size: 19px;
  }
  .doodle-face {
    right: 10px;
    bottom: 64px;
  }
  .doodle-star {
    top: 135px;
    left: 11px;
    font-size: 42px;
  }
  .hero-footnote {
    font-size: 7px;
  }
  .hero-copy .eyebrow {
    font-size: 6px;
  }
  .game-art {
    height: 135px;
  }
  .card-copy h3 {
    font-size: 12px;
  }
  .card-arrow {
    display: none;
  }
  .game-art .art-tiles {
    width: 99px;
  }
  .art-memory {
    width: 102px;
  }
  .art-memory b {
    height: 40px;
  }
  .art-reaction b {
    font-size: 10px;
  }
  .game-stage {
    padding: 18px 10px;
  }
  .game-stats > span,
  .game-stage > div > div:first-child > span {
    padding: 6px 8px;
  }
  .mg-grid > div {
    font-size: 25px;
  }
  .wh-hole > span {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 760px) {
  .hero-copy {
    width: 100%;
    padding: 29px 23px 35px;
  }
  .hero-copy h1 {
    font-size: 44px;
    max-width: 305px;
  }
  .hero-doodles {
    width: 100%;
    pointer-events: none;
  }
  .doodle-tile {
    width: 45px;
    height: 45px;
    right: 17px;
    top: 17px;
    font-size: 18px;
    border-radius: 10px;
  }
  .doodle-star {
    left: auto;
    right: 17px;
    top: 158px;
    font-size: 42px;
  }
  .doodle-face {
    right: 18px;
    bottom: 40px;
  }
  .hero-copy > p {
    max-width: 245px;
  }
  .hero-copy .eyebrow {
    font-size: 6px;
  }
  .hero-copy .button {
    margin-right: 60px;
  }
}
@media (max-width: 380px) {
  .hero-copy {
    padding: 26px 19px 35px;
  }
  .hero-copy h1 {
    font-size: 38px;
    max-width: 260px;
  }
  .hero-copy > p {
    max-width: 220px;
  }
  .doodle-star {
    right: 9px;
    top: 150px;
    font-size: 30px;
  }
  .doodle-tile {
    width: 36px;
    height: 36px;
    right: 13px;
    top: 15px;
    font-size: 15px;
  }
  .doodle-face {
    right: 13px;
    bottom: 47px;
    width: 47px;
    height: 47px;
  }
  .doodle-face i {
    top: 12px;
    left: 12px;
  }
  .doodle-face i:nth-child(2) {
    left: 27px;
  }
  .doodle-face b {
    top: 22px;
    left: 12px;
  }
  .hero-copy .button {
    margin-right: 37px;
  }
}
