/* Court-side arcade refinements. The player, layout and saved-game contract stay
   in site.css; this layer gives existing components one coherent visual voice. */
.arcade-ui {
  --paper: #f8f7f2;
  --surface: #fffefa;
  --ink: #20394b;
  --muted: #6f7e87;
  --line: #dedfd8;
  --orange: #f47b35;
  --orange-dark: #b94c1d;
  --teal: #29766c;
  background-image: radial-gradient(#263e4b0c 0.75px, transparent 0.75px);
  background-size: 8px 8px;
}
.arcade-ui .topbar {
  background: #fffefa;
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 3px 0 #20394b07;
  gap: 24px;
}
.arcade-ui .brand {
  font-family: Court, Lato, sans-serif;
  font-size: 23px;
  letter-spacing: -0.7px;
}
.arcade-ui .brand img {
  filter: drop-shadow(1px 2px 0 #20394b);
  transition: transform 0.35s;
}
.arcade-ui .brand:hover img {
  transform: rotate(-22deg);
}
.arcade-ui .brand small {
  font-family: Lato, sans-serif;
  font-weight: 400;
}
.arcade-ui .global-search {
  border: 1.5px solid #d8ddd8;
  background: #f5f5ef;
  border-radius: 8px;
  margin-left: 20px;
  max-width: 505px;
}
.arcade-ui .global-search:focus-within {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 3px 0 #29766c15;
}
.arcade-ui .search-results {
  border: 1.5px solid var(--ink);
  box-shadow: 4px 5px 0 #20394b18;
}
.arcade-ui .search-results a:hover {
  background: #fff0df;
}
.quick-pick {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: #ffe5a4;
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.16s,
    box-shadow 0.16s,
    background 0.16s;
}
.quick-pick:hover {
  background: #ffdc83;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--ink);
}
.quick-pick:active {
  transform: translateY(3px);
  box-shadow: none;
}
.quick-pick:hover .icon {
  transform: rotate(-14deg);
}
.quick-pick .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.arcade-ui .top-favorite {
  position: relative;
  margin-left: 0;
  gap: 7px;
  min-height: 42px;
}
.saved-count {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 5px;
  color: #fff;
  background: var(--orange-dark);
  font:
    700 10px/1 Lato,
    sans-serif;
}
.arcade-ui .sidebar {
  background: #fffefa;
  border-right: 1px solid #dcded6;
}
.arcade-ui .nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7e8b91;
  margin-right: 12px;
}
.nav-label b {
  background: var(--ink);
  color: #fffdf1;
  padding: 3px 7px;
  border-radius: 4px;
  font: 700 11px/1.2 monospace;
  letter-spacing: 0;
}
.arcade-ui .nav-item {
  border: 1.5px solid transparent;
  padding: 10px 12px;
  transition:
    background 0.16s,
    transform 0.16s,
    border-color 0.16s;
}
.arcade-ui .nav-item:hover {
  background: #f0f3eb;
  color: var(--ink);
  transform: translateX(2px);
}
.arcade-ui .nav-item.active {
  color: var(--ink);
  background: #ffdfc4;
  border-color: var(--ink);
  box-shadow: 0 3px 0 #20394b;
}
.arcade-ui .nav-item.active i {
  width: 6px;
  height: 6px;
  background: var(--orange-dark);
}
.arcade-ui .nav-divider {
  border-color: #e0e3d9;
}
.arcade-ui .sidebar-note {
  overflow: hidden;
  border: 1.5px solid #aac3b4;
  background: #eaf3e4;
  box-shadow: 3px 3px 0 #d8e2d2;
  border-radius: 11px;
}
.arcade-ui .sidebar-note::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid #a4bca250;
  border-radius: 50%;
  right: -55px;
  top: -25px;
  box-shadow:
    0 0 0 15px #a4bca211,
    0 0 0 30px #a4bca20c;
  pointer-events: none;
}
.arcade-ui .sidebar-note strong {
  font-family: Court, Lato, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}
.arcade-ui .sidebar-note .small-ball {
  color: var(--orange-dark);
}
.arcade-ui .sidebar-note a {
  font-weight: 700;
}
.arcade-ui .breadcrumbs {
  color: #7e888c;
}
.arcade-ui .eyebrow {
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 1.5px;
}
.arcade-ui .game-heading {
  align-items: flex-end;
  margin-bottom: 26px;
}
.arcade-ui .game-heading h1 {
  font-size: clamp(39px, 3.6vw, 53px);
  line-height: 1.07;
  letter-spacing: -0.6px;
  margin: 11px 0 13px;
  text-shadow: 2px 3px 0 #f6bf862e;
}
.arcade-ui .game-heading .eyebrow {
  display: inline-block;
  background: #ffe7d4;
  border-left: 3px solid var(--orange);
  padding: 4px 8px;
  border-radius: 0 4px 4px 0;
  color: #97532c;
  font-size: 9px;
}
.arcade-ui .game-heading p {
  color: #657b85;
}
.arcade-ui .game-tags {
  margin: 0 0 3px;
}
.arcade-ui .game-tags > span {
  border-radius: 6px;
  border: 1px solid #cfd8d0;
  background: #fdfcf7;
  color: #576d74;
}
.arcade-ui .game-tags > span:last-child {
  color: #326c5c;
  background: #edf5e8;
}

/* The marquee and raised controls are the primary arcade motif. */
.arcade-ui .player-shell {
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--ink);
  box-shadow:
    0 6px 0 #132b3b,
    0 14px 24px #20394b12;
}
.cabinet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  padding: 7px 15px;
  background: var(--ink);
  color: #f2f1df;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 1.8px;
  font-weight: 700;
}
.cabinet-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cabinet-top .icon {
  width: 17px;
  height: 17px;
  color: #ffb57a;
}
.cabinet-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d1e8c4;
  font:
    700 9px/1.2 Lato,
    sans-serif;
  letter-spacing: 1.2px;
}
.cabinet-status i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #b8d5a6;
  box-shadow: 0 0 0 3px #b8d5a614;
}
.player-shell[data-state="loading"] .cabinet-status {
  color: #ffd796;
}
.player-shell[data-state="loading"] .cabinet-status i {
  background: #ffc86b;
}
.arcade-ui .player-stage {
  background: #263d48;
}
.arcade-ui .primary-stage .stage-backdrop {
  filter: blur(1.5px) saturate(1.15);
  opacity: 0.72;
}
.arcade-ui .player-stage::after {
  background: linear-gradient(
    0deg,
    #112d4be6 0%,
    #132d4573 48%,
    #172e4530 100%
  );
}
.arcade-ui .play-gate {
  gap: 15px;
  background: transparent;
}
.arcade-ui .play-gate::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 18px;
  border: 1px solid #ffffff22;
  border-radius: 6px;
  background:
    linear-gradient(#fff8, #fff8) left top/25px 2px no-repeat,
    linear-gradient(#fff8, #fff8) left top/2px 25px no-repeat,
    linear-gradient(#fff8, #fff8) right bottom/25px 2px no-repeat,
    linear-gradient(#fff8, #fff8) right bottom/2px 25px no-repeat;
}
.arcade-ui .play-gate .gate-kicker {
  font:
    700 9px/1.5 Lato,
    sans-serif;
  letter-spacing: 3px;
  color: #fff2d5;
  border-bottom: 1px solid #f7dba247;
  padding-bottom: 9px;
  margin: 0 0 2px;
}
.gate-emblem {
  position: relative;
  margin: 1px 0 3px;
  transform: rotate(-5deg);
  animation: badge-hover 4.5s ease-in-out infinite;
}
.arcade-ui .gate-cover {
  display: block;
  width: 112px;
  height: 112px;
  border: 4px solid #fff9e7;
  border-radius: 22px;
  box-shadow:
    5px 6px 0 #112d4b99,
    0 0 0 1.5px #142e49;
}
.emblem-star {
  position: absolute;
  right: -13px;
  bottom: -9px;
  color: #ffe199;
  background: var(--orange-dark);
  width: 33px;
  height: 33px;
  border: 2px solid #fff2d8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  transform: rotate(12deg);
  box-shadow: 2px 2px 0 #132d48;
}
.arcade-ui .play-gate > strong {
  font-size: clamp(28px, 2.9vw, 41px);
  color: #fffcf1;
  text-shadow:
    0 3px 0 #142d46,
    2px 5px 0 #142d4659;
  letter-spacing: 0.2px;
  line-height: 1.1;
  margin-top: 4px;
}
.arcade-ui .button {
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 3px 0 #20394b;
  transition:
    background 0.16s,
    transform 0.16s,
    box-shadow 0.16s;
}
.arcade-ui .button.primary {
  color: #fffdf2;
  background: var(--orange);
  border: 2px solid #ffbd83;
  box-shadow:
    0 5px 0 var(--orange-dark),
    0 7px 0 #173447,
    0 10px 15px #102c4033;
  text-shadow: 0 1px 0 #a94b1b;
}
.arcade-ui .button.primary:hover {
  transform: translateY(-2px);
  background: #fc8949;
  box-shadow:
    0 7px 0 var(--orange-dark),
    0 9px 0 #173447,
    0 13px 18px #102c4033;
}
.arcade-ui .button.primary:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 var(--orange-dark),
    0 3px 0 #173447;
}
.arcade-ui .play-gate .button {
  font-family: Court, Lato, sans-serif;
  font-size: 24px;
  min-width: 218px;
  padding: 14px 24px;
  gap: 13px;
  margin: 4px 0 8px;
}
.arcade-ui .play-gate .button > .icon {
  width: 16px;
  height: 16px;
}
.arcade-ui .play-gate .play-arrow {
  margin-left: 7px;
  line-height: 1;
}
.arcade-ui .play-gate .play-arrow .icon {
  stroke-width: 2.5;
  fill: none;
  width: 20px;
  height: 20px;
}
.arcade-ui .play-gate .gate-instruction {
  font-size: 10px;
  color: #d7e4e7;
  letter-spacing: 0.2px;
}
.arcade-ui .play-gate .gate-shortcut {
  color: #b9ccd2;
  font-size: 9px;
  margin-top: -6px;
}
.gate-shortcut kbd {
  padding: 2px 5px;
  border: 1px solid #8aa4b15c;
  border-radius: 3px;
  font:
    8px Lato,
    sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 2px 0 #102a3c;
  color: #f6efde;
  margin-left: 4px;
}
.arcade-ui .play-gate > strong {
  max-width: calc(100% - 38px);
  text-align: center;
  text-wrap: balance;
}
.arcade-ui .player-toolbar {
  background: #fff8e8;
  padding: 12px 15px;
  border-top: 2px solid var(--ink);
}
.arcade-ui .player-caption {
  font-weight: 700;
  color: #264152;
}
.arcade-ui .player-caption img {
  border: 1px solid #50665b;
  box-shadow: 1px 1px 0 #20394b;
}
.arcade-ui .player-actions {
  gap: 7px;
}
.arcade-ui .player-actions button,
.arcade-ui .player-actions > a {
  border: 1px solid #dbd7c8;
  border-radius: 5px;
  padding: 7px;
  min-height: 29px;
  background: #fffefa;
  color: #62716f;
  box-shadow: 0 2px 0 #ddd8c5;
  transition: 0.15s;
}
.arcade-ui .player-actions button:hover,
.arcade-ui .player-actions > a:hover {
  color: var(--orange-dark);
  border-color: #f0b082;
  transform: translateY(-1px);
}
.arcade-ui .player-actions button:active,
.arcade-ui .player-actions > a:active {
  transform: translateY(2px);
  box-shadow: none;
}
.arcade-ui .player-loading {
  background-color: #20394bf5;
  background-image: radial-gradient(#b1c6c618 1px, transparent 1px);
  background-size: 12px 12px;
}
.loading-ball {
  position: relative;
  display: block;
  width: 48px;
  height: 68px;
  margin-bottom: 8px;
}
.loading-ball::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 9px;
  width: 30px;
  height: 5px;
  background: #0d283c88;
  border-radius: 50%;
  animation: bounce-shadow 0.8s ease-in-out infinite;
}
.loading-ball img {
  position: absolute;
  left: 4px;
  top: 0;
  filter: drop-shadow(0 2px 0 #142b3e);
  animation: loading-dribble 0.8s ease-in-out infinite;
}
.arcade-ui .player-loading strong {
  font-family: Court, Lato, sans-serif;
  font-size: 24px;
}
.arcade-ui .player-help {
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 #102c4070;
}
.arcade-ui .player-shell:fullscreen {
  box-shadow: none;
  border-radius: 0;
}
.arcade-ui .player-shell:fullscreen .cabinet-top {
  display: none;
}

.arcade-ui .next-up .section-heading {
  margin-top: 2px;
  margin-bottom: 18px;
}
.arcade-ui .next-up h2 {
  font-family: Court, Lato, sans-serif;
  font-size: 23px;
}
.arcade-ui .next-card {
  position: relative;
  border: 1.5px solid #ced3ca;
  background: #fffefa;
  box-shadow: 2px 3px 0 #e1e2d8;
  border-radius: 10px;
  margin: 0 0 14px;
  padding: 11px 9px;
  gap: 11px;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.arcade-ui .next-card:hover {
  border-color: var(--orange);
  transform: translate(3px, -2px);
  box-shadow: 1px 5px 0 #eadccc;
}
.queue-number {
  position: absolute;
  left: 5px;
  top: 5px;
  min-width: 21px;
  padding: 3px 4px;
  text-align: center;
  background: #fff2c5;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font: 700 10px/1 monospace;
  box-shadow: 1px 1px 0 #20394b;
  z-index: 1;
}
.arcade-ui .next-card img {
  border: 1px solid #20394b2e;
  border-radius: 8px;
}
.arcade-ui .next-card > .queue-number {
  margin: 0;
  color: var(--ink);
}
.arcade-ui .next-card > .icon {
  background: #f9e9d6;
  border: 1px solid #d9c6af;
  border-radius: 50%;
  padding: 4px;
  width: 23px;
  height: 23px;
  color: #a6663a;
}
.arcade-ui .browse-link {
  font-size: 11px;
  border: 1px dashed #acbfb3;
  padding: 10px 7px;
  border-radius: 6px;
  background: #eef3e9;
}
.arcade-ui .section-heading h2 {
  font-family: Court, Lato, sans-serif;
  letter-spacing: -0.2px;
  font-size: 27px;
  text-wrap: balance;
}
.arcade-ui .text-link {
  font-size: 12px;
}
.arcade-ui .text-link:hover .icon {
  transform: translateX(3px);
}
.arcade-ui .text-link .icon {
  transition: transform 0.2s;
}
.arcade-ui .game-card {
  border: 1.5px solid var(--ink);
  background: #fffefa;
  box-shadow: 0 4px 0 #20394b1c;
  border-radius: 11px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.arcade-ui .game-cover {
  border-bottom: 1.5px solid var(--ink);
  background: #f0eadf;
}
.arcade-ui .card-details {
  padding: 15px 13px;
  min-height: 75px;
}
.arcade-ui .card-details h3 {
  font-size: 15px;
  color: var(--ink);
  font-weight: 900;
}
.arcade-ui .card-details a > span {
  color: #76897c;
  font-size: 10px;
}
.arcade-ui .card-play {
  opacity: 1;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  height: 29px;
  border: 1.5px solid var(--ink);
  padding: 0 8px;
  border-radius: 6px;
  background: #fff9e7;
  box-shadow: 1px 2px 0 #20394b;
  color: var(--ink);
  right: 10px;
  bottom: 10px;
}
.card-play b {
  font-family: Court, Lato, sans-serif;
  letter-spacing: 0.7px;
  font-size: 12px;
}
.arcade-ui .card-play .icon {
  width: 10px;
  height: 10px;
}
.arcade-ui .card-label {
  border: 1px solid #20394b;
  background: #ffe09c;
  color: var(--ink);
  box-shadow: 1px 2px 0 #20394b;
  letter-spacing: 0.7px;
}
.arcade-ui .save-game {
  border: 1px solid #e4e5d9;
  background: #f7f8ef;
  border-radius: 6px;
  width: 29px;
  height: 29px;
  flex: none;
}
.arcade-ui .save-game:hover {
  color: var(--orange-dark);
  border-color: #efbd99;
  background: #fff1dd;
}
.arcade-ui [data-save][aria-pressed="true"] {
  color: var(--orange-dark) !important;
  border-color: #ecbc96;
  background: #fff0db;
}
.arcade-ui [data-save][aria-pressed="true"] .icon {
  fill: #f5a97445;
}
.just-saved .icon {
  animation: favorite-pop 0.45s ease-out;
}
.arcade-ui .guide-card {
  border: 1.5px solid #c6d1c5;
  box-shadow: 3px 3px 0 #e4e8dc;
  border-radius: 10px;
  background: #fffefa;
}
.arcade-ui .guide-card:hover {
  border-color: var(--teal);
}
.arcade-ui .guide-icon {
  border: 1px solid #e9bd97;
  border-radius: 9px;
  box-shadow: 2px 2px 0 #ebd2ba;
  background: #fff0d5;
}
.arcade-ui .guide-card h3 {
  font-size: 18px;
}
.arcade-ui .controls-card {
  border: 1.5px solid #c7d4c9;
  background: #fffdf6;
  box-shadow: 3px 3px 0 #e2e7d9;
  border-radius: 10px;
}
.arcade-ui .controls-card h3 {
  font-family: Court, Lato, sans-serif;
  font-size: 20px;
}
.arcade-ui .controls-card li {
  border-top: 1px dashed #d7dfd1;
}
.arcade-ui .quick-steps {
  border: 1.5px solid #b2c5b0;
  background: #edf3e6;
  box-shadow: 0 3px 0 #d3e0ce;
}
.arcade-ui .quick-steps b {
  color: #4d8771;
  font-size: 31px;
}
.arcade-ui .quick-steps strong {
  color: #2d584b;
}
.arcade-ui .quick-steps span {
  color: #648175;
}
.arcade-ui .faq-section h2 {
  font-family: Court, Lato, sans-serif;
  font-size: 29px;
}
.arcade-ui .faq-section details {
  border-bottom: 1px dashed #c5cfbf;
}
.arcade-ui .faq-section summary span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: #fff4dc;
  border: 1px solid #d7d0bb;
  border-radius: 5px;
  color: #b6783d;
}
.arcade-ui .page-heading {
  padding-top: 24px;
  padding-bottom: 30px;
}
.arcade-ui .page-heading h1 {
  font-size: 49px;
  text-shadow: 2px 3px 0 #f7e0b9;
}
.arcade-ui .catalog-search {
  border: 1.5px solid #bcc9c0;
  background: #fffefa;
  box-shadow: 0 3px 0 #e2e6db;
}
.arcade-ui .category-tabs button {
  border: 1.5px solid #c4cabe;
  background: #fffefa;
  color: #67766d;
  border-radius: 7px;
  box-shadow: 0 3px 0 #dce1d3;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.arcade-ui .category-tabs button:hover {
  background: #fff0d7;
  border-color: #d2b68b;
}
.arcade-ui .category-tabs button.selected {
  background: #ffe1a7;
  color: var(--ink) !important;
  border-color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.arcade-ui .category-tabs button:active {
  transform: translateY(2px);
  box-shadow: none;
}
.arcade-ui #result-count {
  font-family: monospace;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: #648173;
}
.arcade-ui .article {
  background: #fffefa;
  border-color: #d5dbcc;
  box-shadow: 4px 5px 0 #e7eadd;
  border-radius: 12px;
}
.arcade-ui .article h1 {
  text-shadow: 1px 2px 0 #f6e0b7;
}
.arcade-ui .article h2 {
  color: #2c4a51;
}
.arcade-ui footer {
  padding-left: 34px;
  padding-right: 34px;
  max-width: 1380px;
  border-top: 2px solid #d7decd;
}
.arcade-ui .footer-brand {
  font-size: 20px;
}
.arcade-ui #toast {
  border: 1.5px solid #e2e8d2;
  background: #244b40;
  box-shadow: 0 4px 0 #153326;
  border-radius: 8px;
  padding: 12px 21px;
}
.nav-scrim {
  position: fixed;
  inset: var(--header) 0 0;
  border: 0;
  background: #162b46a6;
  z-index: 25;
  backdrop-filter: blur(2px);
}
@keyframes badge-hover {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-5px) rotate(-3deg);
  }
}
@keyframes favorite-pop {
  0% {
    transform: scale(0.8);
  }
  45% {
    transform: scale(1.28) rotate(-12deg);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes loading-dribble {
  0%,
  100% {
    transform: translateY(0) rotate(-12deg);
  }
  50% {
    transform: translateY(24px) rotate(20deg);
  }
}
@keyframes bounce-shadow {
  0%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (hover: hover) and (pointer: fine) {
  .arcade-ui .game-card:hover {
    transform: translateY(-5px) rotate(-0.5deg);
    box-shadow: 3px 7px 0 #20394b28;
  }
  .arcade-ui .game-card:nth-child(even):hover {
    transform: translateY(-5px) rotate(0.5deg);
  }
  .arcade-ui .game-card:hover .card-play {
    background: var(--orange);
    color: #fff;
    box-shadow: 1px 3px 0 var(--ink);
  }
}
@media (max-width: 1200px) {
  .arcade-ui .brand {
    font-size: 21px;
  }
  .arcade-ui .global-search {
    margin-left: 4px;
    max-width: 380px;
  }
  .arcade-ui .topbar {
    gap: 18px;
  }
  .arcade-ui .next-card {
    gap: 8px;
    padding: 10px 7px;
  }
  .arcade-ui .next-card > .icon {
    width: 20px;
    height: 20px;
  }
  .arcade-ui .player-actions {
    gap: 5px;
  }
  .arcade-ui .player-actions button,
  .arcade-ui .player-actions > a {
    padding: 6px;
  }
  .arcade-ui .player-actions span {
    display: none;
  }
  .arcade-ui footer {
    padding-left: 0;
    padding-right: 0;
  }
  .arcade-ui .card-details h3 {
    font-size: 13px;
  }
  .arcade-ui .card-details {
    padding: 12px;
  }
  .arcade-ui .section-heading h2 {
    font-size: 25px;
  }
}
@media (max-width: 1000px) {
  .arcade-ui .global-search {
    max-width: 320px;
  }
  .arcade-ui .quick-pick {
    padding: 8px;
  }
  .quick-pick > span {
    display: none;
  }
  .arcade-ui .player-actions span {
    display: inline;
  }
  .arcade-ui .play-gate > strong {
    font-size: 35px;
  }
  .arcade-ui .play-gate .button {
    font-size: 22px;
    min-width: 205px;
  }
}
@media (min-width: 761px) {
  .nav-scrim {
    display: none;
  }
}
@media (max-width: 760px) {
  .arcade-ui .topbar {
    gap: 10px;
    padding: 0 15px;
  }
  .arcade-ui .brand {
    font-size: 20px;
    gap: 7px;
  }
  .arcade-ui .global-search {
    margin-left: auto;
    width: 32%;
    max-width: 240px;
  }
  .arcade-ui .quick-pick {
    margin-left: 0;
    box-shadow: 0 2px 0 var(--ink);
    padding: 7px;
    min-height: 32px;
  }
  .arcade-ui .top-favorite {
    gap: 3px;
  }
  .saved-count {
    position: absolute;
    margin-left: 16px;
    margin-top: -18px;
    min-width: 15px;
    height: 15px;
    font-size: 8px;
    border: 1px solid #fffefa;
  }
  .arcade-ui .sidebar {
    box-shadow: 5px 0 0 #122c4422;
  }
  .arcade-ui .nav-item {
    font-size: 13px;
    padding: 11px;
  }
  .arcade-ui .game-heading {
    margin-bottom: 22px;
  }
  .arcade-ui .game-heading h1 {
    font-size: 41px;
  }
  .arcade-ui .cabinet-top {
    padding: 7px 12px;
    min-height: 32px;
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .cabinet-status {
    font-size: 8px;
  }
  .arcade-ui .player-toolbar {
    padding: 10px 12px;
  }
  .arcade-ui .card-details {
    padding: 12px 9px;
    min-height: 69px;
  }
  .arcade-ui .card-details h3 {
    font-size: 12px;
  }
  .arcade-ui .card-play {
    padding: 0 6px;
    height: 25px;
    right: 8px;
    bottom: 8px;
  }
  .card-play b {
    font-size: 10px;
  }
  .arcade-ui .guide-card {
    padding: 20px;
  }
  .arcade-ui .page-heading h1 {
    font-size: 40px;
  }
  .arcade-ui .quick-steps b {
    font-size: 27px;
  }
  .arcade-ui .section-heading h2 {
    font-size: 25px;
  }
}
@media (max-width: 480px) {
  .arcade-ui .topbar {
    padding: 0 12px;
    gap: 8px;
  }
  .arcade-ui .brand {
    font-size: 18px;
    letter-spacing: -0.6px;
    gap: 7px;
  }
  .arcade-ui .global-search {
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    min-width: 30px;
    width: auto;
    padding: 6px;
    max-width: 100px;
  }
  .arcade-ui .global-search:focus-within {
    width: auto;
    max-width: none;
    background: #fffefa;
    border-color: var(--teal);
  }
  .arcade-ui .quick-pick {
    padding: 5px;
    min-height: 30px;
    border-radius: 5px;
  }
  .quick-pick .icon {
    width: 17px;
    height: 17px;
  }
  .arcade-ui .top-favorite {
    min-height: 30px;
    padding: 4px;
    margin-left: 0;
  }
  .arcade-ui .top-favorite .icon {
    width: 19px;
    height: 19px;
  }
  .arcade-ui .game-heading .eyebrow {
    font-size: 8px;
    padding: 3px 7px;
    letter-spacing: 1.3px;
  }
  .arcade-ui .game-heading h1 {
    font-size: 39px;
    line-height: 1.1;
    margin: 11px 0;
  }
  .arcade-ui .game-heading p {
    font-size: 11px;
  }
  .arcade-ui .player-shell {
    border-radius: 11px;
    box-shadow:
      0 4px 0 #132b3b,
      0 9px 18px #20394b12;
  }
  .arcade-ui .player-stage {
    aspect-ratio: 1.08;
  }
  .arcade-ui .primary-stage.playing {
    aspect-ratio: 9/14;
  }
  .arcade-ui .play-gate {
    gap: 10px;
  }
  .arcade-ui .play-gate::before {
    inset: 11px;
    background-size:
      18px 1px,
      1px 18px,
      18px 1px,
      1px 18px;
  }
  .arcade-ui .play-gate .gate-kicker {
    font-size: 7px;
    letter-spacing: 2px;
    padding-bottom: 6px;
    margin: 0;
  }
  .arcade-ui .gate-cover {
    width: 84px;
    height: 84px;
    border-width: 3px;
    border-radius: 17px;
    box-shadow:
      3px 4px 0 #112d4b99,
      0 0 0 1px #142e49;
  }
  .emblem-star {
    width: 26px;
    height: 26px;
    font-size: 15px;
    right: -9px;
    bottom: -7px;
  }
  .arcade-ui .play-gate > strong {
    font-size: 29px;
    margin-top: 2px;
  }
  .arcade-ui .play-gate .button {
    font-size: 21px;
    min-width: 183px;
    padding: 12px 19px;
    gap: 9px;
    margin: 3px 0 7px;
  }
  .arcade-ui .play-gate .play-arrow {
    margin-left: 2px;
  }
  .arcade-ui .play-gate .play-arrow .icon {
    width: 17px;
    height: 17px;
  }
  .arcade-ui .play-gate .gate-instruction {
    font-size: 8px;
  }
  .arcade-ui .player-actions span {
    display: none;
  }
  .arcade-ui .player-actions {
    gap: 5px;
  }
  .arcade-ui .player-actions button,
  .arcade-ui .player-actions > a {
    padding: 6px;
    min-height: 30px;
  }
  .arcade-ui .player-actions .icon {
    width: 14px;
    height: 14px;
  }
  .arcade-ui .player-caption strong {
    font-size: 10px;
  }
  .arcade-ui .player-toolbar {
    padding: 10px 9px;
    gap: 7px;
  }
  .arcade-ui .player-caption {
    gap: 6px;
  }
  .arcade-ui .player-caption img {
    width: 23px;
    height: 23px;
  }
  .arcade-ui .play-notes {
    padding-top: 25px;
  }
  .arcade-ui .card-details h3 {
    font-size: 13px;
  }
  .arcade-ui .card-details {
    min-height: 71px;
    padding: 12px 10px;
  }
  .arcade-ui .card-details a > span {
    font-size: 9px;
  }
  .arcade-ui .card-play {
    height: 27px;
    padding: 0 7px;
  }
  .card-play b {
    font-size: 11px;
  }
  .arcade-ui .save-game {
    width: 27px;
    height: 27px;
  }
  .arcade-ui .section-heading h2 {
    font-size: 26px;
  }
  .arcade-ui .text-link {
    font-size: 10px;
  }
  .arcade-ui .guide-card {
    padding: 18px;
    gap: 13px;
  }
  .arcade-ui .guide-card h3 {
    font-size: 17px;
  }
  .arcade-ui .page-heading h1 {
    font-size: 37px;
  }
  .arcade-ui .category-tabs button {
    font-size: 10px;
    padding: 8px 9px;
  }
  .arcade-ui .footer-brand {
    font-size: 18px;
  }
  .arcade-ui .controls-card li {
    font-size: 11px;
  }
  .arcade-ui .player-shell:fullscreen .player-toolbar {
    padding: 10px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-ui .gate-emblem,
  .arcade-ui .loading-ball img,
  .arcade-ui .loading-ball::after,
  .arcade-ui .just-saved .icon {
    animation: none !important;
  }
  .arcade-ui .game-card:hover,
  .arcade-ui .next-card:hover {
    transform: none;
  }
}
@media (max-width: 760px) {
  .saved-count {
    right: -5px;
    top: -1px;
    margin: 0;
  }
}
@media (max-width: 480px), (pointer: coarse) {
  .arcade-ui .play-gate .gate-shortcut {
    display: none;
  }
}

/* Readable, game-specific strategy and comparison content below the player. */
.home-mechanics {
  align-items: start;
}
.home-mechanics .controls-card {
  position: sticky;
  top: 100px;
}
.arcade-ui .mechanic-step {
  padding: 16px 0;
  border-bottom: 1px dashed #d6dccd;
}
.arcade-ui .mechanic-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.arcade-ui .mechanic-step h3 {
  font-size: 16px;
  margin: 0 0 7px;
  color: #37574f;
}
.arcade-ui .mechanic-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  max-width: 68ch;
}
.home-strategy {
  margin: 24px 0 45px;
}
.home-strategy .section-heading h2 {
  margin-top: 9px;
}
.upgrade-lanes {
  border: 1.5px solid #bcccb9;
  border-radius: 11px;
  overflow: hidden;
  background: #fffefa;
  box-shadow: 3px 4px 0 #e2e8d8;
}
.upgrade-lane {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 27px;
  padding: 24px 27px;
}
.upgrade-lane + .upgrade-lane {
  border-top: 1px solid #e3e6d9;
}
.upgrade-name {
  display: grid;
  grid-template-columns: 39px 1fr;
  column-gap: 12px;
  align-content: start;
}
.upgrade-name > span {
  grid-row: span 2;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #a15b30;
  background: #ffecd5;
  border: 1px solid #ddb18a;
  border-radius: 8px;
  box-shadow: 2px 2px 0 #e7c9ad;
}
.upgrade-name h3 {
  font:
    700 22px/1.1 Court,
    Lato,
    sans-serif;
  margin: 0 0 5px;
}
.upgrade-name small {
  font-size: 10px;
  color: #788c7d;
}
.upgrade-lane p,
.coin-guide p,
.comparison-entry p {
  color: #596f73;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
.coin-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 29px;
  margin-top: 35px;
  padding: 26px 29px;
  border-radius: 10px;
  background: #edf3e6;
  border: 1px solid #d2dfc9;
}
.coin-guide h2 {
  grid-column: 1/-1;
  font:
    700 25px/1.25 Court,
    Lato,
    sans-serif;
}
.home-comparisons {
  margin: 45px 0;
}
.home-comparisons .section-heading h2 {
  max-width: 700px;
  margin-top: 9px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.comparison-entry {
  padding: 23px;
  background: #fffefa;
  border: 1px solid #d5ddcd;
  border-radius: 10px;
}
.comparison-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.comparison-title img {
  flex: none;
  border-radius: 8px;
  border: 1.5px solid #536556;
  box-shadow: 2px 2px 0 #d4ddc8;
}
.comparison-title h3 {
  font-size: 19px;
  margin: 0 0 5px;
}
.comparison-title span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #788c7d;
}
.comparison-title > .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--teal);
}
.comparison-title:hover h3 {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.arcade-ui .next-card .relation-copy {
  font-size: 9px;
  line-height: 1.45;
  color: #6d8172;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arcade-ui .card-details a > .card-relation {
  color: #687e6f;
  font-size: 10px;
  line-height: 1.5;
  display: block;
}
.arcade-ui .home-bridge {
  display: block;
  margin: 20px 0 0;
  padding: 15px 17px;
  border-left: 3px solid #f2b375;
  background: #fbf2df;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.8;
}
.home-bridge > .icon {
  color: #ae622c;
  width: 18px;
  height: 18px;
  margin-right: 9px;
}
.home-bridge a {
  color: #91602c;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
@media (max-width: 1000px) {
  .upgrade-lane {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 18px;
    padding: 23px;
  }
  .comparison-grid {
    gap: 16px;
  }
  .comparison-entry {
    padding: 19px;
  }
  .comparison-title {
    gap: 10px;
  }
  .comparison-title img {
    width: 44px;
    height: 44px;
  }
  .comparison-title h3 {
    font-size: 16px;
  }
  .comparison-title span {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .home-mechanics .controls-card {
    position: static;
  }
  .upgrade-lane {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .coin-guide {
    padding: 23px;
    gap: 16px 23px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-title img {
    width: 48px;
    height: 48px;
  }
  .comparison-title h3 {
    font-size: 18px;
  }
  .comparison-entry p,
  .upgrade-lane p,
  .coin-guide p {
    font-size: 13px;
    line-height: 1.9;
  }
}
@media (max-width: 480px) {
  .home-mechanics {
    grid-template-columns: 1fr;
  }
  .arcade-ui .mechanic-step p {
    font-size: 13px;
  }
  .home-strategy .section-heading {
    align-items: flex-end;
  }
  .home-strategy .section-heading h2 {
    font-size: 24px;
  }
  .home-strategy .section-heading .text-link {
    max-width: 87px;
    text-align: right;
    white-space: normal;
    flex: none;
  }
  .upgrade-lane {
    padding: 22px 19px;
  }
  .coin-guide {
    grid-template-columns: 1fr;
    padding: 23px 20px;
  }
  .coin-guide h2 {
    font-size: 24px;
    grid-column: auto;
  }
  .comparison-entry {
    padding: 21px 19px;
  }
  .arcade-ui .card-details a > .card-relation {
    font-size: 9px;
  }
  .arcade-ui .player-actions button,
  .arcade-ui .player-actions > a {
    min-width: 33px;
    min-height: 33px;
  }
}
