:root {
  --bg: #0b1220;
  --surface: #121d2f;
  --surface2: #17253a;
  --line: #28344a;
  --ink: #f6f8fc;
  --muted: #acb8ca;
  --gold: #ffdc45;
  --orange: #ff9f26;
  --blue: #86abf0;
  --radius: 12px;
  --width: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button,input,a {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,a,summary {
  transition: background .18s,border-color .18s,color .18s,transform .18s;
}
a: focus-visible,button:focus-visible,summary:focus-visible {;
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
a: active,button:active {;
  transform: translateY(1px);
}
button: disabled {;
  cursor: default;
}
h1,h2,h3,p {
  margin: 0;
}
h1,h2,h3 {
  line-height: 1.2;
}
h1 {
  font-size: clamp(1.7rem,3vw,2.55rem);
  letter-spacing: -.025em;
}
h2 {
  font-size: 1.5rem;
  letter-spacing: -.02em;
}
h3 {
  font-size: 1.08rem;
}
p {
  color: var(--muted);
}
img,svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
.container {
  width: min(var(--width),calc(100% - 40px));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0c1423;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px #0003;
}
.top-row {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo img {
  width: 132px;
  height: auto;
}
.header-side {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-caption {
  font-size: .82rem;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-weight: 700;
  font-size: .9rem;
  background: var(--surface2);
  color: var(--ink);
  white-space: normal;
  text-align: center;
}
.btn:hover {
  background: #253752;
  border-color: #536b8e;
}
.btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c1609;
  box-shadow: 0 3px 0 #b98b1b;
}
.btn.primary:hover {
  background: #ffe777;
}
.btn:active {
  box-shadow: none;
}
.nav-bar {
  border-top: 1px solid #ffffff09;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 47px;
}
.nav a {
  padding: 12px 20px;
  color: #bec9d8;
  font-size: .9rem;
  font-weight: bold;
  position: relative;
}
.nav a:hover {
  color: var(--gold);
  background: #ffffff05;
}
.nav a[aria-current=page] {
  color: var(--gold);
}
.nav a[aria-current=page]:after {
  content: '';
  position: absolute;
  height: 3px;
  background: var(--gold);
  bottom: 0;
  left: 20px;
  right: 20px;
  border-radius: 3px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  background: var(--surface2);
}
main {
  padding-bottom: 24px;
}
section {
  padding: 32px 0;
  border-bottom: 1px solid #253148;
}
section: nth-of-type(even) {;
  background: #0e1727;
}
.hero {
  padding: 24px 0 28px;
}
.intro-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}
.intro-line p {
  max-width: 390px;
  font-size: .9rem;
}
.eyebrow {
  color: var(--gold);
  font-size: .76rem;
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,2.3fr) minmax(260px,1fr);
  gap: 16px;
  align-items: stretch;
}
.banner-slider {
  position: relative;
  border: 1px solid #3c354e;
  border-radius: var(--radius);
  overflow: hidden;
  background: #171125;
  align-self: start;
  box-shadow: 0 10px 25px #0003;
}
.banner-slide[hidden] {
  display: none;
}
.banner-slide img {
  width: 100%;
  aspect-ratio: 688/236;
  object-fit: contain;
}
.slider-controls {
  padding: 10px 14px;
  background: #101625;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.slider-caption {
  font-size: .85rem;
  font-weight: bold;
  color: var(--ink);
}
.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.slider-dot {
  border: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #667387;
  padding: 0;
  min-width: 9px;
}
.slider-dot[aria-pressed=true] {
  background: var(--gold);
  width: 25px;
  border-radius: 6px;
}
.slider-arrow {
  background: #1b2940;
  color: var(--ink);
  border: 1px solid #36455b;
  width: 30px;
  height: 28px;
  border-radius: 5px;
  font-size: 1.1rem;
  line-height: 1;
}
.slider-arrow:hover {
  background: #324763;
}
.hero-side {
  display: grid;
  gap: 12px;
  align-content: start;
}
.mini-promo {
  background: #161e33;
  border: 1px solid #39405b;
  border-radius: var(--radius);
  overflow: hidden;
}
.mini-promo img {
  width: 100%;
  aspect-ratio: 300/96;
  object-fit: contain;
}
.mini-promo .mini-footer {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: #d8e0f1;
}
.mini-footer a {
  color: var(--gold);
}
.mini-footer a:hover {
  text-decoration: underline;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.section-title:before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--gold);
  border-radius: 3px;
  flex: none;
}
.section-head p {
  font-size: .88rem;
  max-width: 440px;
}
.text-link {
  color: var(--gold);
  font-size: .86rem;
  font-weight: bold;
}
.text-link:hover {
  text-decoration: underline;
}
.channels {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.channel:hover {
  background: #1d2c42;
  border-color: #746342;
}
.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #ffdc4514;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: bold;
  flex: none;
}
.channel strong {
  display: block;
  font-size: .96rem;
}
.channel small {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2px;
}
.channel .arrow {
  margin-left: auto;
  color: var(--gold);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.game-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  min-width: 0;
}
.game-thumb {
  height: 156px;
  background: #182a44;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.game-thumb .chip {
  position: absolute;
  top: 12px;
  left: 12px;
}
.game-thumb.reflex {
  background: #1c2e45;
}
.game-thumb.memory {
  background: #302747;
}
.game-thumb.tic {
  background: #193630;
}
.chip {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #ffffff26;
  background: #0a1525bd;
  color: #dbe5f4;
  font-size: .69rem;
  font-weight: bold;
  letter-spacing: .035em;
}
.game-preview {
  width: 210px;
  height: 105px;
}
.game-body {
  padding: 18px;
}
.game-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.game-title span {
  color: var(--gold);
  font-size: .72rem;
}
.game-body p {
  font-size: .86rem;
  margin: 8px 0 16px;
  min-height: 42px;
}
.game-body .btn {
  width: 100%;
  padding: 8px 16px;
}
.player-layout {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) minmax(220px,1fr);
  gap: 20px;
}
.player {
  background: #0a1020;
  border: 1px solid #39485f;
  border-radius: var(--radius);
  overflow: hidden;
}
.game-tabs {
  display: flex;
  gap: 0;
  background: #172339;
  border-bottom: 1px solid #39485f;
}
.game-tab {
  flex: 1;
  padding: 13px 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: .87rem;
  font-weight: bold;
}
.game-tab[aria-selected=true] {
  color: var(--gold);
  border-color: var(--gold);
  background: #1d2c42;
}
.game-tab:hover {
  background: #22334b;
}
.game-panel {
  padding: 20px;
}
.game-panel[hidden] {
  display: none;
}
.game-status {
  font-size: .9rem;
  color: #dbe5f4;
  min-height: 29px;
  margin-bottom: 10px;
}
.playfield {
  min-height: 220px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b526e;
  background: #15243b;
  border-radius: 9px;
  color: var(--ink);
  padding: 20px;
}
.playfield strong {
  font-size: 1.6rem;
}
.playfield.waiting {
  background: #582d36;
  border-color: #935968;
}
.playfield.ready {
  background: #e1f058;
  color: #18260e;
  border-color: #f0ffa0;
}
.playfield.ready strong {
  font-size: 2rem;
}
.game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.game-controls small {
  font-size: .78rem;
  color: var(--muted);
}
.player-aside {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.player-aside h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.player-aside p {
  font-size: .9rem;
}
.rule-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.rule-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 11px;
  font-size: .85rem;
  color: var(--muted);
}
.rule-list li:last-child {
  border-bottom: 0;
}
.rule-list b {
  color: var(--gold);
  flex: none;
}
.memory-board {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 9px;
}
.memory-card {
  border: 1px solid #5e517f;
  background: #2d2546;
  border-radius: 7px;
  min-height: 67px;
  color: #e5dcff;
  font-size: 1.75rem;
}
.memory-card:hover {
  background: #483767;
}
.memory-card.matched {
  background: #485935;
  border-color: #799549;
  color: #e4ff96;
}
.tic-board {
  max-width: 270px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin: auto;
}
.tic-cell {
  aspect-ratio: 1;
  background: #18352f;
  border: 1px solid #3e6b5c;
  border-radius: 7px;
  color: #ffdc45;
  font-size: 2rem;
  font-weight: bold;
}
.tic-cell:hover {
  background: #295343;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat-item {
  padding: 21px 23px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-right: 1px solid var(--line);
}
.stat-item:last-child {
  border: 0;
}
.stat-item strong {
  color: var(--gold);
  font-size: 1.5rem;
  white-space: nowrap;
}
.stat-item h3 {
  font-size: .93rem;
}
.stat-item p {
  font-size: .8rem;
  margin-top: 4px;
}
.promo-feature {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(250px,1fr);
  border: 1px solid #3b3651;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  align-items: center;
}
.promo-feature img {
  width: 100%;
  aspect-ratio: 688/236;
  object-fit: contain;
}
.feature-body {
  padding: 26px;
}
.feature-body h3 {
  font-size: 1.4rem;
  margin: 9px 0;
}
.feature-body p {
  font-size: .9rem;
  margin-bottom: 16px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.promo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.promo-card .image-wrap {
  background: #18172f;
  display: flex;
  justify-content: center;
  padding: 18px;
}
.promo-card img {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 300/96;
  object-fit: contain;
}
.promo-content {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.promo-content h3 {
  margin-bottom: 7px;
}
.promo-content p {
  font-size: .87rem;
  margin-bottom: 15px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.info-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-card .label {
  font-size: .72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: bold;
}
.info-card h3 {
  margin: 10px 0;
}
.info-card p {
  font-size: .88rem;
}
.detail-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-row {
  display: grid;
  grid-template-columns: 45px 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.detail-row:last-child {
  border: 0;
}
.detail-row span {
  color: var(--gold);
  font-size: .8rem;
  font-weight: bold;
}
.detail-row p {
  font-size: .86rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.8fr;
  gap: 38px;
}
.faq-intro p {
  font-size: .9rem;
  margin-top: 13px;
  max-width: 290px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 9px;
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 15px 18px;
  font-size: .92rem;
  font-weight: bold;
}
.faq summary:after {
  content: '+';
  color: var(--gold);
}
.faq details[open] summary:after {
  content: '−';
}
.faq details p {
  padding: 0 18px 18px;
  font-size: .87rem;
}
.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: var(--surface);
  border: 1px solid #6e5931;
  padding: 25px;
  border-radius: var(--radius);
}
.closing p {
  font-size: .9rem;
  margin-top: 8px;
}
.site-footer {
  background: #080e19;
  border-top: 1px solid var(--line);
  padding: 30px 0 20px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 22px;
}
.footer-logo img {
  width: 106px;
}
.footer-copy {
  max-width: 430px;
  font-size: .84rem;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .83rem;
}
.footer-links a:hover {
  color: var(--gold);
}
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8f9db1;
  font-size: .75rem;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 17px;
}
.breadcrumbs a:hover {
  color: var(--gold);
}
.inner-hero {
  padding: 26px 0;
}
.inner-banner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 28px;
}
.inner-banner p {
  font-size: .94rem;
  margin-top: 12px;
  max-width: 450px;
}
.inner-banner img {
  border-radius: 10px;
  border: 1px solid #4a3c55;
  width: 100%;
}
.inner-banner .btn {
  margin-top: 18px;
}
.inner-game-art {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.inner-game-art svg {
  width: 30%;
  height: auto;
}
.campaign-note {
  color: var(--muted);
  font-size: .79rem;
  margin-top: 15px;
}
.dialog {
  padding: 0;
  border: 1px solid #5e4c31;
  border-radius: 13px;
  background: #121d2f;
  color: var(--ink);
  width: min(560px,calc(100% - 32px));
  max-height: 85vh;
  box-shadow: 0 20px 80px #000a;
}
.dialog::backdrop {
  background: #030711cc;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 1.25rem;
}
.dialog-close {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface2);
  width: 34px;
  height: 34px;
}
.dialog-body {
  padding: 22px;
}
.dialog-body p {
  font-size: .94rem;
  line-height: 1.7;
}
.dialog-body img {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 8px;
}
.dialog-body .btn {
  margin-top: 20px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 50;
  transform: translateY(-180%);
  background: var(--gold);
  color: #171205;
  padding: 10px 15px;
  border-radius: 6px;
}
.skip-link:focus {
  transform: none;
}
@media(max-width:1024px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero-layout {
    grid-template-columns: 2fr 1fr;
    gap: 12px;
  }
  .hero-side {
    gap: 10px;
  }
  .mini-footer {
    font-size: .72rem!important;
  }
  .hero-side .mini-footer span {
    display: none;
  }
  .feature-body {
    padding: 20px;
  }
  .player-layout {
    grid-template-columns: 1.5fr 1fr;
  }
  .game-thumb {
    height: 140px;
  }
  .game-body {
    padding: 15px;
  }
  .header-side {
    gap: 12px;
  }
  .stat-item {
    padding: 18px 16px;
    gap: 10px;
  }
  .promo-feature {
    grid-template-columns: 1.2fr 1fr;
  }
}
@media(max-width:768px) {
  html {
    scroll-padding-top: 80px;
  }
  .top-row {
    min-height: 72px;
  }
  .logo img {
    width: 115px;
  }
  .brand-caption {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .nav-bar {
    border-top: 0;
  }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 15px;
    border-radius: 6px;
  }
  .nav a[aria-current=page]:after {
    display: none;
  }
  .nav a[aria-current=page] {
    background: #ffdc450c;
  }
  .intro-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .intro-line p {
    max-width: 550px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-side {
    grid-template-columns: 1fr 1fr;
  }
  .hero-side .mini-footer span {
    display: block;
  }
  .game-grid {
    gap: 10px;
  }
  .game-thumb {
    height: 120px;
  }
  .game-preview {
    width: 170px;
  }
  .game-body p {
    font-size: .82rem;
  }
  .game-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .player-layout,.promo-feature,.inner-banner {
    grid-template-columns: 1fr;
  }
  .player-aside {
    padding: 18px;
  }
  .rule-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
  }
  .rule-list li {
    border: 0;
    padding: 5px 0;
    flex-direction: column;
    gap: 5px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .faq-intro p {
    max-width: 100%;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-copy {
    max-width: 100%;
    flex: 1;
  }
  .footer-links {
    width: 100%;
  }
  .info-grid {
    gap: 10px;
  }
  .info-card {
    padding: 17px;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head p {
    max-width: 300px;
  }
  .detail-row {
    grid-template-columns: 28px 1fr;
  }
  .detail-row p {
    grid-column: 2;
  }
  .inner-game-art {
    padding: 20px;
  }
  .stat-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .channel {
    padding: 12px 10px;
    gap: 9px;
  }
  .channel-icon {
    width: 34px;
    height: 34px;
  }
  .channel .arrow {
    display: none;
  }
  .channel small {
    font-size: .74rem;
  }
  .channel strong {
    font-size: .85rem;
  }
  .copyright {
    flex-direction: column;
    gap: 7px;
  }
}
@media(max-width:520px) {
  .container {
    width: calc(100% - 24px);
  }
  section {
    padding: 25px 0;
  }
  .top-row {
    gap: 12px;
  }
  .header-side {
    gap: 8px;
  }
  .header-side>.btn {
    padding: 8px 12px;
    font-size: .8rem;
  }
  .logo img {
    width: 100px;
  }
  .hero {
    padding-top: 18px;
  }
  .hero-side {
    gap: 9px;
  }
  .mini-promo .mini-footer {
    padding: 7px 9px;
    font-size: .7rem!important;
  }
  .mini-footer span {
    display: none!important;
  }
  .slider-caption {
    font-size: .77rem;
  }
  .slider-controls {
    padding: 8px 10px;
  }
  .slider-arrow {
    width: 27px;
  }
  .channels {
    grid-template-columns: 1fr;
  }
  .channel {
    padding: 12px 15px;
  }
  .channel .arrow {
    display: block;
  }
  .channel strong {
    font-size: .95rem;
  }
  .channel small {
    font-size: .8rem;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    display: grid;
    grid-template-columns: 110px 1fr;
  }
  .game-thumb {
    height: 100%;
    min-height: 150px;
  }
  .game-preview {
    width: 105px;
  }
  .game-thumb .chip {
    top: 8px;
    left: 8px;
    font-size: .6rem;
    padding: 2px 5px;
  }
  .game-title {
    flex-direction: row;
    align-items: center;
  }
  .game-title span {
    font-size: .65rem;
  }
  .game-body {
    padding: 14px;
  }
  .game-body p {
    min-height: 0;
    margin: 7px 0 11px;
  }
  .game-body .btn {
    padding: 7px 14px;
  }
  .section-head {
    gap: 10px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-size: 1.35rem;
  }
  .section-head p {
    max-width: 100%;
    font-size: .84rem;
  }
  .game-panel {
    padding: 15px;
  }
  .game-tab {
    font-size: .79rem;
    padding: 12px 6px;
  }
  .game-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .playfield {
    min-height: 210px;
  }
  .rule-list {
    grid-template-columns: 1fr;
  }
  .rule-list li {
    flex-direction: row;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }
  .stat-strip {
    grid-template-columns: 1fr;
  }
  .stat-item {
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .stat-item strong {
    width: 55px;
  }
  .promo-grid,.info-grid {
    grid-template-columns: 1fr;
  }
  .promo-card .image-wrap {
    padding: 14px;
  }
  .closing {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .footer-copy {
    flex-basis: 100%;
  }
  .feature-body {
    padding: 20px;
  }
  .memory-card {
    min-height: 58px;
  }
  .dialog-head {
    padding: 16px;
  }
  .dialog-body {
    padding: 18px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
  }
}

/* Shared accessibility and responsive refinements. */
[hidden] {
  display: none!important;
}
.hero-layout>*,.player-layout>*,.promo-feature>*,.inner-banner>*,.game-grid>*,.info-grid>* {
  min-width: 0;
}
p,h1,h2,h3,.btn {
  overflow-wrap: break-word;
}
button: disabled {;
  opacity: .65;
  cursor: default;
}
.memory-card.matched {
  opacity: 1;
}
button: disabled:hover {;
  transform: none;
}
input: focus-visible {;
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.nav a:focus-visible {
  border-radius: 6px;
}
.playfield,.memory-card,.tic-cell {
  touch-action: manipulation;
}
@media(max-width:520px) {
  .hero-side {
    grid-template-columns: 1fr;
  }
  .hero-side .mini-footer span {
    display: inline!important;
  }
  .game-tabs {
    min-width: 0;
  }
  .game-tab {
    overflow-wrap: anywhere;
  }
  .dialog {
    max-width: calc(100vw - 24px);
  }
  .nav a {
    min-height: 44px;
  }
}
