:root {
  color-scheme: dark;
  --bg: #101e20;
  --panel: #192a2c;
  --muted: #a1b5b3;
  --orange: #f7a064;
  --line: #314447;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 35%, #243b3c 0, transparent 58%), var(--bg);
  color: #edf1e9;
  font:
    15px Manrope,
    system-ui,
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
header {
  max-width: 1350px;
  margin: auto;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 601px) {
  header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .brand {
    grid-column: 2;
  }
  .header-right {
    grid-column: 3;
    justify-self: end;
  }
}
.brand {
  color: inherit;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand span {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 5px;
  color: var(--muted);
}
.header-right {
  display: flex;
  gap: 26px;
  align-items: center;
}
.edition {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.icon {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 23px;
}
main {
  max-width: 1032px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: 250px 380px 250px;
  gap: 46px;
  align-items: start;
  padding: 0 30px;
}
.intro {
  padding-top: 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
}
h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 0 0 22px;
  font-weight: 600;
}
h1 span {
  color: var(--orange);
}
.intro > p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}
.rule {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 25px;
}
.rule > span {
  font-size: 12px;
  color: var(--orange);
  border: 1px solid #775b46;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rule p {
  font-size: 12px;
  line-height: 1.8;
  color: #c3cecb;
  margin: 0;
}
.record {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.record span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}
.record strong {
  font-size: 30px;
  font-weight: 500;
}
.swatches {
  display: flex;
  align-items: center;
  margin-top: 28px;
}
.swatches i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7eb5a6;
  margin-left: -3px;
  border: 2px solid var(--bg);
}
.swatches i:nth-child(2) {
  background: #e0a272;
}
.swatches i:nth-child(3) {
  background: #b39dc4;
}
.swatches i:nth-child(4) {
  background: #d5ba71;
}
.swatches span {
  font-size: 10px;
  color: var(--muted);
  margin-left: 9px;
}
.game {
  border: 1px solid #425354;
  background: #0c1719;
  border-radius: 16px;
  padding: 0 12px;
  box-shadow: 0 20px 70px #0005;
}
.board-top,
.board-bottom {
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.board-top b {
  font-weight: 500;
}
.board-top i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 5px;
}
.board-top button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}
.board-wrap {
  position: relative;
  border: 1px solid #324648;
  overflow: hidden;
  border-radius: 4px;
}
#board {
  display: block;
  width: 100%;
  height: auto;
  background: #152527;
}
.board-bottom {
  height: 31px;
  font-size: 8px;
  letter-spacing: 0.8px;
}
#overlay {
  position: absolute;
  inset: 0;
  background: #102123dc;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 22px;
}
#overlay.hidden {
  display: none;
}
.overlay-number {
  font-size: 38px;
  color: var(--orange);
  margin-bottom: 28px;
  border: 1px solid #536259;
  border-radius: 20px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
}
h2 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 18px 0 8px;
}
#overlay p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.primary {
  background: var(--orange);
  color: #241b14;
  font-weight: 800;
  border: 0;
  padding: 17px 22px;
  border-radius: 7px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: #ffb583;
  transform: translateY(-2px);
}
.hint {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.score {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a2b2c;
}
.score > strong {
  display: block;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  margin: 15px 0 23px;
}
.stats {
  display: flex;
  justify-content: space-between;
}
.stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.stats b {
  font-size: 22px;
  font-weight: 500;
}
.progress {
  height: 3px;
  background: #344849;
  margin-top: 24px;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--orange);
  width: 0;
  transition: width 0.3s;
}
.tiny {
  font-size: 9px;
  color: var(--muted);
  margin: 10px 0 0;
}
.next {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
  margin-top: 16px;
}
.next canvas {
  display: block;
  width: 100%;
  height: auto;
}
.next > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.next strong {
  font-size: 13px;
  font-weight: 500;
}
.next div span {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.desktop-bonus {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #162729;
}
.desktop-bonus > .eyebrow {
  grid-column: 1 / -1;
}
.desktop-bonus button,
.mobile-bonus button {
  --charge: 0%;
  position: relative;
  width: 64px;
  height: 64px;
  padding: 5px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(#f3c84f var(--charge), #314447 0);
  color: #fff2c3;
  box-shadow: 0 4px 0 #071011;
}
.desktop-bonus button::before,
.mobile-bonus button::before {
  position: absolute;
  inset: 5px;
  content: "";
  border-radius: inherit;
  background: #1a2d2e;
  border: 1px solid #546263;
}
.desktop-bonus button i,
.mobile-bonus button i {
  position: relative;
  z-index: 1;
  font: 700 18px monospace;
  font-style: normal;
}
.desktop-bonus button:not(:disabled),
.mobile-bonus button:not(:disabled) {
  color: #2c2510;
  animation: bonus-ready 1.1s steps(2, end) infinite;
}
.desktop-bonus button:not(:disabled)::before,
.mobile-bonus button:not(:disabled)::before {
  background: #f3c84f;
  border-color: #ffe99c;
}
.desktop-bonus button.active,
.mobile-bonus button.active {
  color: #182314;
  animation: bonus-active 0.7s steps(2, end) infinite;
}
.desktop-bonus button.active::before,
.mobile-bonus button.active::before {
  background: #91cf78;
}
.desktop-bonus > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.desktop-bonus > div strong {
  font-size: 11px;
  font-weight: 600;
}
.desktop-bonus > div span {
  color: var(--muted);
  font: 7px monospace;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
.controls {
  margin-top: 28px;
}
.controls p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.controls kbd {
  display: inline-block;
  text-align: center;
  min-width: 25px;
  padding: 3px 6px;
  border: 1px solid #425557;
  border-bottom-width: 3px;
  border-radius: 4px;
  color: #d7e0da;
  font:
    12px Manrope,
    system-ui;
}
.restart {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
  padding: 8px 0;
}
.restart:hover {
  color: var(--orange);
}
footer {
  max-width: 1254px;
  border-top: 1px solid var(--line);
  margin: 24px auto;
  padding: 21px 20px;
  display: flex;
  justify-content: space-between;
  color: #92a6a5;
  font-size: 10px;
}
footer span + span {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.touch {
  display: none;
}
#toast {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff1ce;
  font-size: 28px;
  font-weight: 800;
  pointer-events: none;
  text-shadow: 0 2px 20px #000;
  opacity: 0;
  transition: opacity 0.15s;
}
#toast.show {
  opacity: 1;
}
@media (min-width: 1400px) {
  main {
    margin-top: 46px;
  }
}
@media (max-width: 1000px) {
  main {
    grid-template-columns: 320px 230px;
    justify-content: center;
    gap: 24px;
  }
  .intro {
    display: none;
  }
}
@media (max-width: 600px) {
  header {
    padding: 18px 20px;
  }
  .brand {
    font-size: 17px;
  }
  .brand span {
    font-size: 8px;
  }
  .edition {
    display: none;
  }
  main {
    display: flex;
    flex-direction: column;
    margin: 15px auto;
    padding: 0 16px;
    gap: 18px;
    max-width: 400px;
  }
  .game {
    width: 100%;
    order: 2;
  }
  aside {
    width: 100%;
    display: contents;
  }
  .score {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    gap: 12px;
  }
  .score > .eyebrow {
    display: none;
  }
  .score > strong {
    font-size: 28px;
    margin: 0;
  }
  .stats {
    gap: 24px;
  }
  .stats > div {
    gap: 0;
  }
  .stats b {
    font-size: 18px;
  }
  .stats span {
    font-size: 10px;
  }
  .progress,
  .tiny,
  .next,
  .controls {
    display: none;
  }
  .restart {
    order: 3;
    align-self: center;
    margin: 0;
  }
  footer {
    justify-content: center;
    margin-top: 10px;
  }
  footer span + span {
    display: none;
  }
}

.leaderboard {
  max-width: 1120px;
  margin: 32px auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.leaderboard p,
.leaderboard li {
  color: var(--muted);
  line-height: 1.8;
}
#leaders {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
#leaders li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid #31444780;
}
.leader-rank {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #718380;
  font: 700 12px monospace;
}
.leader-rank svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  filter: drop-shadow(0 2px 0 #0006);
}
.leader-rank.gold {
  color: #f2c84b;
}
.leader-rank.silver {
  color: #c5d0d1;
}
.leader-rank.bronze {
  color: #bd7a42;
}
.leaderboard button,
.leaderboard input {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: inherit;
  font: inherit;
}
.leaderboard input {
  max-width: 100%;
  margin: 8px;
}
.leaderboard button {
  color: var(--orange);
}
#save-score {
  width: 100%;
  margin: 0 0 12px;
}
#save-score label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}
#save-score input,
#save-score button {
  width: 100%;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: inherit;
  font: inherit;
}
#save-score button {
  background: var(--orange);
  color: #241b14;
  font-weight: 800;
}
#save-message {
  margin: 0 0 12px !important;
  color: #dce6dd !important;
  font-size: 12px !important;
}
.share-dialog {
  width: min(430px, calc(100% - 32px));
  padding: 30px;
  border: 1px solid #536866;
  border-radius: 16px;
  background: #192a2c;
  color: #edf1e9;
  box-shadow: 0 24px 90px #000b;
  text-align: center;
}
.share-dialog::backdrop {
  background: #071113c7;
  backdrop-filter: blur(4px);
}
.share-dialog h2 {
  margin-top: 10px;
}
.share-dialog .share-lead {
  margin: 0 0 18px;
  color: var(--muted);
}
.share-preview {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #102123;
  text-align: left;
}
.share-preview p {
  margin: 0 0 12px;
  color: #c9d5d1;
  font-size: 13px;
  line-height: 1.65;
}
.share-preview strong {
  color: var(--orange);
  font-size: 15px;
}
.share-threads {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding: 15px 18px;
  border-radius: 7px;
  background: var(--orange);
  color: #241b14;
  font-weight: 800;
  text-decoration: none;
}
.share-threads:hover {
  background: #ffb583;
}
.share-later,
.share-close-icon {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.share-later {
  margin-top: 12px;
  padding: 8px 14px;
}
.share-close-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  font-size: 24px;
}
@media (max-width: 600px) {
  .leaderboard {
    margin: 16px;
  }
  .leaderboard form button {
    margin-top: 8px;
  }
  .share-dialog {
    padding: 26px 20px 20px;
  }
}

.brand img {
  display: block;
  width: 240px;
  height: auto;
}
/* Molded plastic controls inspired by pocket Brick Game consoles. */
@media (max-width: 600px), (pointer: coarse) {
  .touch {
    display: block;
    padding: 16px 8px 18px;
    user-select: none;
    -webkit-user-select: none;
  }
  .console-caption {
    display: flex;
    justify-content: space-between;
    color: #a1b5b3;
    font: bold 10px monospace;
    letter-spacing: 1px;
  }
  .console-caption span {
    font-size: 8px;
    opacity: 0.65;
  }
  .console-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 18px;
  }
  .dpad {
    display: grid;
    grid-template: repeat(3, 44px) / repeat(3, 44px);
    filter: drop-shadow(0 5px 0 #050c0d);
  }
  .touch button {
    touch-action: none;
    -webkit-touch-callout: none;
    border: 1px solid #4e6260;
    color: #e4e9df;
    background: linear-gradient(#3c5150, #263735);
    box-shadow:
      inset 0 2px 1px #ffffff20,
      0 4px 0 #050c0d;
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 6px;
    padding: 0;
  }
  .touch button:active,
  .touch button.pressed {
    transform: translateY(3px);
    box-shadow:
      inset 0 2px 4px #0006,
      0 1px 0 #050c0d;
  }
  .pad-up {
    grid-area: 1/2;
  }
  .pad-left {
    grid-area: 2/1;
  }
  .pad-right {
    grid-area: 2/3;
  }
  .pad-down {
    grid-area: 3/2;
  }
  .pad-center {
    grid-area: 2/2;
    display: grid;
    place-items: center;
    color: #6c8079;
    background: #2c3e3b;
    font-size: 26px;
  }
  .action-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .action-buttons > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .action-buttons > div:first-child {
    margin-top: 30px;
  }
  .action-buttons span {
    font: bold 8px monospace;
    letter-spacing: 1px;
    color: var(--muted);
  }
  .touch .round {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 29px;
  }
  .touch .rotate-button {
    background: linear-gradient(#ffba80, #e28b51);
    color: #342215;
    border-color: #ffc79a;
  }
  .touch .drop-button {
    background: linear-gradient(#dbbf79, #a78b4a);
    color: #342a16;
    border-color: #ead49a;
  }
  .console-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .touch #touch-pause {
    width: auto;
    height: 32px;
    padding: 0 12px;
    border-radius: 18px;
    font-size: 12px;
  }
  #touch-pause span {
    font: 9px monospace;
    letter-spacing: 1px;
    margin-left: 6px;
  }
  .speaker {
    color: #40514e;
    font-size: 17px;
    letter-spacing: 2px;
    transform: rotate(-15deg);
  }
}
@media (max-width: 600px) {
  header {
    padding: 10px 18px;
  }
  .brand img {
    width: 190px;
  }
  main {
    margin: 10px auto;
    gap: 10px;
  }
  .game {
    background: linear-gradient(145deg, #263c3b, #172a2b);
    border-radius: 18px 18px 36px 18px;
  }
  .board-wrap {
    width: min(100%, calc((100svh - 350px) * 0.5556));
    min-width: 170px;
    margin: auto;
  }
  #overlay {
    padding: 12px;
  }
  #overlay .overlay-number {
    display: none;
  }
  #overlay h2 {
    font-size: 25px;
    margin: 10px 0 4px;
  }
  #overlay p {
    margin: 8px 0 12px;
    font-size: 12px;
  }
  #overlay .hint {
    display: none;
  }
  .primary {
    padding: 12px;
  }
}

.mobile-hud {
  display: none;
}
@media (max-width: 600px) {
  header {
    position: relative;
    justify-content: center;
    padding: 8px 48px;
    border: 0;
  }
  .brand img {
    width: 170px;
  }
  .header-right {
    position: absolute;
    right: 14px;
  }
  .score,
  .restart {
    display: none;
  }
  .board-top {
    display: grid;
    grid-template-columns: 1fr 32px;
    height: 34px;
  }
  #status {
    display: none;
  }
  .board-top i {
    width: 7px;
    height: 7px;
  }
  .playfield-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
  .board-column {
    width: min(calc(100% - 82px), calc((100svh - 300px) * 0.5556));
    min-width: 0;
  }
  .board-wrap {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  .mobile-hud {
    display: flex;
    width: 74px;
    flex: 0 0 74px;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-hud > div {
    padding: 9px 4px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #142426;
    text-align: center;
  }
  .mobile-hud .mobile-bonus {
    padding: 8px 3px 9px;
  }
  .mobile-hud .mobile-bonus > strong {
    display: block;
    margin-bottom: 7px;
    color: #e7d6a1;
    font: 700 7px monospace;
    letter-spacing: 0.15px;
  }
  .mobile-bonus button {
    width: 58px;
    height: 58px;
    padding: 4px;
  }
  .mobile-bonus button:disabled {
    cursor: default;
    opacity: 0.72;
  }
  .mobile-bonus > span {
    margin: 8px 0 0;
    min-height: 16px;
    font-size: 5.5px;
    line-height: 1.35;
    letter-spacing: 0.25px;
  }
  .mobile-hud span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font: 7px monospace;
    letter-spacing: 1px;
  }
  .mobile-hud strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
  }
  #mobile-next {
    display: block;
    width: 66px;
    height: 66px;
    margin: auto;
  }
  .board-bottom {
    height: 22px;
    font-size: 7px;
  }
  .game {
    padding: 0 12px;
  }
  .desktop-bonus {
    display: none;
  }
  main {
    margin: 0 auto;
    padding: 0 10px;
  }
}
@keyframes bonus-ready {
  50% { filter: brightness(1.2); }
}
@keyframes bonus-active {
  50% { transform: translateY(2px); }
}
body[data-state="playing"] .board-top i {
  background: #8acc91;
}
@media (max-width: 600px), (pointer: coarse) {
  .touch {
    padding: 8px 12px 14px;
  }
  .utility-buttons {
    display: flex;
    justify-content: center;
    gap: 32px;
  }
  .touch .utility-buttons button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 48px;
    height: 46px;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .utility-buttons i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    font-style: normal;
    border-radius: 50%;
    background: #eabb58;
    color: #2a2716;
    box-shadow:
      inset 0 2px 1px #fff5,
      0 3px 0 #665022;
    font-size: 15px;
  }
  .utility-buttons span {
    font: 8px monospace;
    letter-spacing: 0.5px;
    color: var(--muted);
  }
  .touch #touch-pause {
    width: 48px;
    height: 46px;
    padding: 0;
  }
  #touch-pause span {
    margin: 0;
    font-size: 8px;
  }
  #touch-pause i {
    background: #f7a064;
  }
  body[data-state="playing"] #touch-pause i {
    background: #8acc91;
  }
  #touch-sound[aria-pressed="true"] i {
    background: #8acc91;
  }
  .console-buttons {
    margin: 10px 0 0;
    gap: 24px;
  }
  .dpad {
    grid-template: 56px 56px / 56px 26px 56px;
    gap: 8px 0;
    filter: none;
  }
  .touch .dpad button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(#f6da77, #d8ac3b);
    border-color: #f9df92;
    color: #443710;
  }
  .pad-left {
    grid-area: 1/1;
  }
  .pad-right {
    grid-area: 1/3;
  }
  .pad-down {
    grid-area: 2/1/3/4;
    justify-self: center;
  }
  .action-buttons {
    margin-right: 6px;
  }
  .action-buttons > div:first-child {
    margin-top: 0;
    gap: 10px;
  }
  .touch .rotate-button {
    width: 78px;
    height: 78px;
    font-size: 38px;
    background: linear-gradient(#f6da77, #d8ac3b);
    border-color: #f9df92;
    color: #443710;
  }
}

/* Preserve hard pixel edges on scaled game canvases. */
#board,
#next,
#mobile-next {
  image-rendering: pixelated;
}
