@font-face {
  font-family: Lato;
  src: url("/assets/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("/assets/Lato-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: Court;
  src: url("/assets/Mexe.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f4f6f8;
  --surface: #fff;
  --ink: #19293b;
  --muted: #748195;
  --line: #e4e9ee;
  --orange: #f4742b;
  --orange-dark: #d65b17;
  --teal: #087b73;
  --navy: #172d43;
  --sidebar: 210px;
  --header: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #f9a665;
  outline-offset: 4px;
}
.icon {
  width: 21px;
  height: 21px;
  flex: none;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 15px;
}
.topbar {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  letter-spacing: -0.6px;
  font-size: 22px;
  font-weight: 900;
}
.brand img {
  flex: none;
}
.brand > span > span {
  color: var(--orange);
}
.brand small {
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 2px;
  color: var(--muted);
}
.global-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 550px;
  width: 44%;
  margin-left: 34px;
  background: var(--paper);
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
}
.global-search:focus-within {
  border-color: #b9c8d4;
  background: #fff;
}
.global-search input {
  width: 100%;
  border: 0;
  background: none;
  outline: 0;
  color: var(--ink);
  font-size: 14px;
}
.global-search kbd {
  font: 12px Lato;
  border: 1px solid #d9e0e7;
  padding: 0 5px;
  border-radius: 4px;
}
.top-favorite {
  margin-left: auto;
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
}
.top-favorite .icon {
  color: var(--muted);
}
.search-results {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 100%;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 25px #182e431c;
  color: var(--ink);
}
.search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 6px;
  font-size: 14px;
}
.search-results a:hover {
  background: var(--paper);
}
.search-results img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}
.search-results p {
  margin: 12px;
  font-size: 14px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: var(--header);
  bottom: 0;
  width: var(--sidebar);
  padding: 28px 15px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow: auto;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #9aa6b5;
  font-weight: 700;
  margin: 0 15px 13px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #69788b;
}
.nav-item .icon {
  width: 19px;
  height: 19px;
}
.nav-item:hover {
  background: var(--paper);
  color: var(--ink);
}
.nav-item.active {
  background: #fff1e7;
  color: #d76420;
}
.nav-item i {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: var(--orange);
  margin-left: auto;
}
.nav-divider {
  border-top: 1px solid var(--line);
  margin: 18px 12px;
}
.sidebar-note {
  position: relative;
  background: #f1f7f5;
  border: 1px solid #e1ebe6;
  border-radius: 13px;
  padding: 17px 15px;
  margin: 27px 0 15px;
}
.small-ball {
  display: block;
  color: var(--teal);
  margin-bottom: 10px;
}
.sidebar-note strong {
  font-size: 15px;
  line-height: 1.5;
  display: block;
}
.sidebar-note a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--teal);
  margin-top: 13px;
}
.sidebar-note .icon {
  width: 16px;
  height: 16px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 17px 14px 0;
  font-size: 11px;
  color: #7a8a9e;
}
.sidebar-bottom a {
  margin-right: 13px;
}
.sidebar-bottom span {
  display: block;
  font-size: 10px;
  margin-top: 9px;
  color: #a4adba;
}
.page {
  margin-left: var(--sidebar);
  padding-top: var(--header);
}
main {
  max-width: 1380px;
  padding: 27px 34px 10px;
  margin: auto;
}
.breadcrumbs {
  font-size: 11px;
  color: #8190a2;
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
}
.breadcrumbs a:hover {
  color: var(--orange);
}
.eyebrow {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.65px;
  color: var(--teal);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
}
h1 {
  font-family: Court, Lato, sans-serif;
  font-size: 43px;
  letter-spacing: -0.6px;
  margin: 9px 0 10px;
}
h2 {
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.55px;
  margin-bottom: 7px;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.2px;
}
.game-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.game-heading p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.game-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  white-space: nowrap;
}
.game-tags > span {
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 9px;
  color: #6d7d8f;
  display: flex;
  align-items: center;
  gap: 5px;
}
.game-tags .icon {
  width: 13px;
  height: 13px;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 22px;
  align-items: start;
}
.player-shell {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 18px #1b2e4010;
}
.player-stage {
  position: relative;
  aspect-ratio: 16/10;
  background: #162b41;
  overflow: hidden;
  isolation: isolate;
}
.stage-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  opacity: 0.35;
}
.primary-stage .stage-backdrop {
  filter: blur(1px);
  opacity: 0.55;
}
.player-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #102a4059, #172a4140);
  pointer-events: none;
  z-index: 0;
}
.player-stage.playing::after {
  display: none;
}
.player-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
  background: #172d43;
}
.play-gate {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  gap: 15px;
  background: #11283d30;
}
.gate-cover {
  border: 3px solid #fff9;
  border-radius: 22px;
  box-shadow: 0 8px 20px #14253333;
  object-fit: cover;
}
.play-gate > strong {
  font-family: Court, Lato, sans-serif;
  font-size: 31px;
  text-shadow: 0 2px 4px #162b4466;
  letter-spacing: 0.3px;
}
.play-gate > span {
  font-size: 11px;
  color: #fffdf2;
  margin-top: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 3px 0 var(--orange-dark);
}
.button.primary:hover {
  background: #fb803b;
}
.play-gate .button {
  font-size: 17px;
  min-width: 180px;
  padding: 15px 23px;
}
.play-gate .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke-width: 0;
}
.button.small {
  font-size: 12px;
  padding: 7px 13px;
}
.player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  gap: 8px;
  min-height: 62px;
}
.player-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.player-caption img {
  border-radius: 7px;
}
.player-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.player-actions button,
.player-actions > a {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 10px;
  color: #65768a;
  line-height: 1;
}
.player-actions .icon {
  width: 16px;
  height: 16px;
}
.player-actions button:hover,
.player-actions a:hover {
  color: var(--orange);
}
button[aria-pressed="true"] {
  color: var(--orange) !important;
}
button[aria-pressed="true"] .icon {
  fill: #ffbd9429;
}
.player-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  background: #13283ff0;
}
.player-loading strong {
  font-size: 18px;
}
.player-loading > span:last-child {
  font-size: 12px;
  color: #bfd0dd;
}
.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #ffffff3a;
  border-top-color: var(--orange);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.player-help {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 6;
  background: #fff;
  padding: 15px;
  border-radius: 9px;
  font-size: 12px;
  box-shadow: 0 3px 15px #1224353a;
}
.player-help p {
  margin-bottom: 9px;
}
.player-help a {
  margin-left: 12px;
}
.player-help a .icon {
  width: 13px;
  height: 13px;
}
.player-shell:fullscreen {
  height: 100vh;
  background: #13283f;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
}
.player-shell:fullscreen .player-stage {
  flex: 1;
  aspect-ratio: auto;
}
.player-shell:fullscreen .player-toolbar {
  background: #fff;
  flex: none;
}
.next-up {
  padding: 0 2px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.section-heading p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.section-heading .text-link {
  white-space: nowrap;
}
.next-up .section-heading {
  margin: 4px 0 17px;
}
.next-up .section-heading h2 {
  font-size: 17px;
  letter-spacing: -0.2px;
  margin: 0;
}
.next-up .section-heading > .icon {
  width: 17px;
  color: var(--muted);
}
.next-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  background: #fff;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: transform 0.18s;
}
.next-card:hover {
  transform: translateX(3px);
}
.next-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}
.next-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}
.next-card span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.next-card > .icon {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: #a3aeba;
}
.browse-link {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  margin-top: 17px;
}
.browse-link .icon {
  width: 15px;
  height: 15px;
}
.play-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 42px;
  margin-top: 34px;
  padding: 29px 0;
}
.play-notes h2 {
  margin-top: 9px;
}
.play-notes p,
.play-notes li {
  font-size: 13px;
  color: #64748a;
  line-height: 1.8;
}
.play-notes ol {
  margin: 17px 0 0;
  padding-left: 19px;
}
.play-notes li {
  padding-left: 4px;
  margin-bottom: 7px;
}
.controls-card {
  padding: 21px 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
}
.controls-card h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 15px;
  font-size: 15px;
}
.controls-card .icon {
  color: var(--orange);
  width: 18px;
  height: 18px;
}
.controls-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.controls-card li {
  border-top: 1px solid #edf0f3;
  padding: 9px 0;
  font-size: 12px;
  margin: 0;
  color: #56667d;
}
.controls-card > span {
  display: block;
  font-size: 10px;
  color: #96a1b0;
  margin-top: 10px;
}
.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e1e9e6;
  background: #edf5f1;
  border-radius: 12px;
  margin: 0 0 42px;
}
.quick-steps > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 22px;
}
.quick-steps > div + div {
  border-left: 1px solid #dbe6df;
}
.quick-steps b {
  font: 700 29px Court;
  color: #80ada2;
}
.quick-steps strong {
  display: block;
  font-size: 12px;
  color: #255b54;
  margin-bottom: 4px;
}
.quick-steps span {
  font-size: 10px;
  color: #749088;
}
.game-section,
.guide-section {
  margin: 42px 0 48px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 12px;
  color: var(--teal);
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  min-width: 0;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 14px #16283d0d;
}
.game-cover {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.game-cover > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.game-card:hover .game-cover > img {
  transform: scale(1.035);
}
.card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffed;
  color: var(--orange);
  opacity: 0;
  transform: translateY(5px);
  transition: 0.2s;
}
.game-card:hover .card-play {
  opacity: 1;
  transform: translateY(0);
}
.card-play .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke-width: 0;
}
.card-label {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 5px;
  background: #1b3e38df;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 7px;
}
.card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px 14px;
  gap: 7px;
}
.card-details h3 {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 4px;
  letter-spacing: 0;
}
.card-details a > span {
  font-size: 10px;
  color: #92a0af;
}
.save-game {
  border: 0;
  background: transparent;
  padding: 6px;
  color: #9faebb;
  display: grid;
  place-items: center;
}
.save-game .icon {
  width: 17px;
  height: 17px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 21px;
  transition: border-color 0.2s;
}
.guide-card:hover {
  border-color: #a7c8c1;
}
.guide-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #fff0e5;
  border-radius: 12px;
  color: var(--orange);
  flex: none;
}
.guide-card .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.guide-card h3 {
  font-size: 17px;
  margin: 6px 0 7px;
}
.guide-card p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.guide-card > .icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #92a3b0;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
  margin: 52px 0;
}
.faq-section h2 {
  margin-top: 12px;
}
.faq-section > div > p {
  color: var(--muted);
  font-size: 13px;
}
.faq-section details {
  border-bottom: 1px solid #dfe5eb;
  padding: 15px 0;
}
.faq-section summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section summary span {
  color: #8fa0af;
  font-size: 18px;
  line-height: 1;
}
.faq-section details[open] summary span {
  transform: rotate(45deg);
}
.faq-section details p {
  font-size: 13px;
  color: #728094;
  line-height: 1.8;
  margin: 12px 25px 0 0;
}
.game-source-note {
  font-size: 11px;
  color: #8391a2;
  margin-bottom: 25px;
}
.game-source-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-heading {
  padding: 26px 0 32px;
}
.page-heading h1 {
  font-size: 44px;
  margin: 11px 0 13px;
}
.page-heading p {
  color: var(--muted);
  max-width: 680px;
  font-size: 15px;
}
.catalog-tools {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 27px;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  width: 265px;
  color: var(--muted);
}
.catalog-search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 12px;
  background: transparent;
}
.catalog-search .icon {
  width: 17px;
  height: 17px;
}
.category-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.category-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 9px 12px;
  color: #778597;
  font-size: 11px;
  font-weight: 700;
}
.category-tabs button.selected {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
#result-count {
  font-size: 11px;
  color: #8d99a8;
  margin-left: auto;
}
.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 24px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 680px;
  margin: auto;
}
.empty-state > .icon {
  width: 48px;
  height: 48px;
  color: #cad4dd;
  margin-bottom: 25px;
}
.empty-state p {
  color: var(--muted);
  margin-bottom: 25px;
}
.guide-hub {
  margin: 10px 0 100px;
}
.article {
  max-width: 785px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px 48px;
  margin: 20px auto 45px;
}
.article h1 {
  font-size: 41px;
  line-height: 1.3;
  margin-top: 12px;
}
.article-lead {
  font-size: 18px !important;
  line-height: 1.6;
  color: #7b8a9b !important;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.article h2 {
  font-size: 23px;
  margin-top: 32px;
}
.article p {
  font-size: 15px;
  line-height: 1.9;
  color: #607086;
}
.article p a {
  color: var(--teal);
  text-decoration: underline;
}
.article > .button {
  margin-top: 19px;
}
.article .contact-email {
  display: block;
  font-size: 21px;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.legal-article h1 {
  font-size: 38px;
}
.legal-article p {
  font-size: 14px;
}
footer {
  max-width: 1312px;
  margin: 25px auto 0;
  padding: 28px 0 30px;
  border-top: 1px solid #e0e6ec;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-brand {
  font-size: 18px;
}
.footer-brand img {
  width: 28px;
  height: 28px;
}
footer p {
  color: #8b99a8;
  font-size: 11px;
  margin: 0;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 11px;
  color: #748397;
}
footer small {
  width: 100%;
  font-size: 9px;
  color: #99a6b3;
  margin-top: 3px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translate(-50%, 15px);
  background: #1f3d37;
  color: #fff;
  border-radius: 9px;
  padding: 11px 20px;
  font-size: 13px;
  box-shadow: 0 5px 15px #152c3322;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 60;
  pointer-events: none;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.menu-toggle {
  display: none;
}
.icon-button {
  border: 0;
  background: none;
  padding: 7px;
  color: var(--ink);
}
@media (min-width: 1700px) {
  main {
    padding-top: 35px;
  }
  .player-stage {
    aspect-ratio: 16/9;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .next-card img {
    width: 65px;
    height: 65px;
  }
  .next-card {
    margin-bottom: 16px;
    padding: 10px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 185px;
  }
  .topbar {
    padding: 0 22px;
    gap: 25px;
  }
  .brand {
    font-size: 20px;
  }
  .global-search {
    margin-left: 10px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .nav-item {
    font-size: 12px;
    gap: 9px;
    padding: 10px;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1fr) 198px;
    gap: 16px;
  }
  main {
    padding-left: 25px;
    padding-right: 25px;
  }
  .next-card img {
    width: 47px;
    height: 47px;
  }
  .next-card {
    gap: 8px;
    padding: 7px;
  }
  .next-card strong {
    font-size: 11px;
  }
  .game-tags {
    display: none;
  }
  .player-caption strong {
    display: none;
  }
  .player-actions {
    gap: 12px;
  }
  .player-actions span {
    font-size: 9px;
  }
  .play-notes {
    grid-template-columns: 1fr 250px;
    gap: 25px;
  }
  .quick-steps > div {
    padding: 16px 14px;
    gap: 10px;
  }
  .quick-steps b {
    font-size: 25px;
  }
  .guide-card {
    gap: 12px;
    padding: 20px 16px;
  }
  .guide-icon {
    width: 35px;
    height: 35px;
  }
  footer {
    margin-left: 25px;
    margin-right: 25px;
  }
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .card-details {
    padding: 11px;
  }
  .card-details h3 {
    font-size: 12px;
  }
  .category-tabs {
    order: 3;
    width: 100%;
  }
  .game-cover {
    aspect-ratio: 1;
  }
}
@media (max-width: 1000px) {
  .play-layout {
    grid-template-columns: 1fr;
  }
  .next-up {
    display: none;
  }
  .player-caption strong {
    display: block;
  }
  .games-grid {
    gap: 13px;
  }
  .game-heading h1 {
    font-size: 40px;
  }
  .faq-section {
    gap: 25px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    padding: 21px;
  }
  .guide-hub {
    grid-template-columns: 1fr 1fr;
  }
  .guide-hub .guide-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-hub .guide-card > .icon {
    display: none;
  }
  .quick-steps strong {
    font-size: 10px;
  }
  .quick-steps span {
    font-size: 9px;
  }
  .quick-steps b {
    font-size: 22px;
  }
  .global-search {
    max-width: 370px;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
    --header: 65px;
  }
  .topbar {
    padding: 0 17px;
    gap: 11px;
  }
  .brand {
    font-size: 19px;
    gap: 7px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand small {
    display: none;
  }
  .menu-toggle {
    display: block;
    padding: 3px;
  }
  .menu-toggle .icon {
    width: 22px;
    height: 22px;
  }
  .global-search {
    margin: 0 0 0 auto;
    max-width: 240px;
    width: 36%;
    padding: 8px 9px;
    gap: 7px;
  }
  .global-search input {
    font-size: 11px;
  }
  .global-search .icon {
    width: 17px;
    height: 17px;
  }
  .global-search kbd {
    display: none;
  }
  .top-favorite {
    margin-left: 3px;
  }
  .top-favorite span {
    display: none;
  }
  .sidebar {
    width: 220px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 10px 0 30px #19293b15;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  main {
    padding: 21px 20px 10px;
  }
  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .game-heading {
    margin-bottom: 20px;
  }
  .game-heading h1 {
    font-size: 36px;
    margin-bottom: 9px;
  }
  .game-heading p {
    font-size: 12px;
    max-width: 500px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .play-notes {
    margin-top: 15px;
    padding: 23px 0;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .play-notes p,
  .play-notes li {
    font-size: 12px;
  }
  .play-notes h2 {
    font-size: 23px;
  }
  .controls-card {
    padding: 18px;
  }
  .quick-steps {
    margin-bottom: 32px;
  }
  .game-section,
  .guide-section {
    margin: 32px 0 38px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading {
    margin-bottom: 16px;
  }
  .games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
  }
  .card-details {
    padding: 10px;
  }
  .card-details h3 {
    font-size: 11px;
  }
  .card-details a > span {
    font-size: 9px;
  }
  .save-game {
    padding: 2px;
  }
  .save-game .icon {
    width: 14px;
    height: 14px;
  }
  .guide-hub {
    grid-template-columns: 1fr;
  }
  .guide-hub .guide-card {
    flex-direction: row;
    align-items: center;
  }
  .faq-section {
    margin: 37px 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .faq-section > div > p {
    font-size: 12px;
  }
  .faq-section details {
    padding: 16px 0;
  }
  .faq-section summary {
    font-size: 13px;
  }
  .faq-section details p {
    font-size: 12px;
  }
  .page-heading {
    padding: 16px 0 23px;
  }
  .page-heading h1 {
    font-size: 37px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .catalog-search {
    width: 100%;
  }
  .catalog-tools {
    gap: 12px;
  }
  .category-tabs {
    order: 0;
    gap: 7px;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .article {
    padding: 28px;
    margin-top: 16px;
  }
  .article h1 {
    font-size: 34px;
  }
  .article h2 {
    font-size: 22px;
  }
  .article p {
    font-size: 14px;
  }
  .article-lead {
    font-size: 16px !important;
  }
  footer {
    margin-left: 20px;
    margin-right: 20px;
    gap: 12px;
  }
  .footer-brand {
    font-size: 17px;
  }
  footer p {
    font-size: 10px;
  }
  footer nav {
    gap: 15px;
  }
  footer small {
    font-size: 8px;
  }
  #toast {
    left: 50%;
    max-width: 90%;
    white-space: nowrap;
  }
  .player-caption strong {
    font-size: 11px;
  }
  .player-actions {
    gap: 16px;
  }
  .player-actions .icon {
    width: 16px;
    height: 16px;
  }
  .player-actions span {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .topbar {
    padding: 0 13px;
    gap: 8px;
  }
  .brand {
    font-size: 17px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .global-search {
    max-width: 135px;
    width: auto;
    flex: 1;
    background: transparent;
    padding: 6px;
    min-width: 28px;
  }
  .global-search input {
    font-size: 10px;
    min-width: 0;
  }
  .global-search input::placeholder {
    color: transparent;
  }
  .global-search:focus-within {
    position: absolute;
    left: 13px;
    right: 13px;
    width: auto;
    max-width: none;
    z-index: 2;
    background: #fff;
  }
  .global-search:focus-within input::placeholder {
    color: #9ba7b5;
  }
  .top-favorite .icon {
    width: 20px;
    height: 20px;
  }
  main {
    padding: 17px 14px 6px;
  }
  .game-heading h1 {
    font-size: 34px;
  }
  .game-heading p {
    font-size: 11px;
    line-height: 1.7;
  }
  .player-shell {
    border-radius: 11px;
  }
  .player-stage {
    aspect-ratio: 1.25;
  }
  .gate-cover {
    width: 74px;
    height: 74px;
    border-radius: 16px;
  }
  .play-gate {
    gap: 11px;
  }
  .play-gate > strong {
    font-size: 26px;
  }
  .play-gate .button {
    padding: 12px 22px;
    font-size: 15px;
    min-width: 161px;
  }
  .play-gate > span {
    font-size: 9px;
  }
  .player-toolbar {
    padding: 10px 11px;
    min-height: 53px;
  }
  .player-caption img {
    width: 25px;
    height: 25px;
  }
  .player-caption strong {
    font-size: 10px;
  }
  .player-actions {
    gap: 14px;
  }
  .player-actions span {
    display: none;
  }
  .player-actions .icon {
    width: 16px;
    height: 16px;
  }
  .play-notes {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 21px;
  }
  .play-notes h2 {
    font-size: 23px;
  }
  .play-notes p,
  .play-notes li {
    font-size: 12px;
  }
  .controls-card {
    padding: 17px 19px;
  }
  .controls-card ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 17px;
  }
  .controls-card li {
    font-size: 10px;
  }
  .controls-card li:last-child {
    grid-column: 1/-1;
  }
  .quick-steps {
    grid-template-columns: 1fr;
  }
  .quick-steps > div {
    padding: 13px 18px;
    gap: 16px;
  }
  .quick-steps > div + div {
    border-left: 0;
    border-top: 1px solid #dbe6df;
  }
  .quick-steps strong {
    font-size: 12px;
    margin-bottom: 0;
  }
  .quick-steps span {
    font-size: 10px;
  }
  .quick-steps b {
    font-size: 24px;
  }
  .section-heading {
    align-items: flex-end;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .text-link {
    font-size: 10px;
    gap: 4px;
  }
  .text-link .icon {
    width: 13px;
    height: 13px;
  }
  .games-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .game-card {
    border-radius: 10px;
  }
  .card-details {
    padding: 11px;
  }
  .card-details h3 {
    font-size: 12px;
  }
  .card-details a > span {
    font-size: 9px;
  }
  .save-game .icon {
    width: 15px;
    height: 15px;
  }
  .guide-card {
    padding: 18px;
    gap: 13px;
  }
  .guide-card h3 {
    font-size: 16px;
  }
  .guide-card p {
    font-size: 10px;
  }
  .guide-card .eyebrow {
    font-size: 8px;
  }
  .guide-card > .icon {
    width: 14px;
    height: 14px;
  }
  .guide-icon {
    width: 33px;
    height: 33px;
  }
  .faq-section h2 {
    font-size: 24px;
  }
  .category-tabs button {
    font-size: 10px;
    padding: 8px 9px;
  }
  .article {
    padding: 24px 21px;
    border-radius: 12px;
  }
  .article h1 {
    font-size: 30px;
  }
  .article-lead {
    font-size: 15px !important;
  }
  .article p {
    font-size: 13px;
  }
  .article h2 {
    font-size: 21px;
  }
  .legal-article h1 {
    font-size: 31px;
  }
  footer {
    margin-left: 14px;
    margin-right: 14px;
    padding-top: 24px;
  }
  .footer-brand {
    font-size: 17px;
  }
  footer p {
    margin-left: auto;
  }
  footer nav {
    margin: 0;
    width: 100%;
    gap: 25px;
  }
  footer small {
    font-size: 8px;
    margin-top: 5px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .player-help {
    font-size: 11px;
    padding: 12px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .player-loading strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
  }
}

@media(max-width:480px){.primary-stage.playing{aspect-ratio:9/14}}
