/* Universal's page frame and browsing surfaces. */

:root {
  --r-md: 8px;
  --r-lg: 8px;
  --r-xl: 12px;
  --header-h: 4rem;
  --page: 76rem;
  --page-wide: 94rem;
  --muted: var(--n-600);
  --a-500: oklch(49% 0.14 185);
  --a-600: oklch(43% 0.13 185);
  --a-700: oklch(37% 0.11 185);
}

/* A recognizable Universal frame: quiet hardware-inspired chrome with a bright route marker. */
:root {
  --header: #10131b;
  --header-2: #171c27;
  --header-h: 4.125rem;
  --page: 78rem;
  --page-wide: 96rem;
  --a-400: oklch(76% 0.13 185);
  --a-500: oklch(63% 0.15 185);
  --a-600: oklch(53% 0.14 185);
  --p-500: oklch(63% 0.22 302);
}

[data-theme="dark"] {
  --header: #0b0e15;
  --header-2: #141a26;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --header: #0b0e15;
    --header-2: #141a26;
  }
}

.top {
  border-bottom: 1px solid oklch(100% 0 0 / 0.1);
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.08);
}

.top .inner {
  max-width: var(--page-wide);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.brand {
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 730;
  letter-spacing: -0.045em;
}

.brand svg {
  width: 2.125rem;
  height: 2.125rem;
  filter: drop-shadow(0 2px 8px oklch(55% 0.18 265 / 0.25));
}

.nav {
  align-self: stretch;
  align-items: stretch;
  gap: 0.3rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  padding-inline: clamp(0.65rem, 1vw, 1rem);
  color: oklch(78% 0.015 260);
  font-size: 0.9rem;
  font-weight: 570;
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.nav a.on {
  background: linear-gradient(180deg, transparent 65%, oklch(72% 0.13 185 / 0.12));
  box-shadow: inset 0 -2px #78d9ed;
  color: #fff;
}

.account {
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.account > a:not(.button) {
  color: oklch(84% 0.012 260);
  font-weight: 560;
}

.account > .button.small {
  min-height: 2.25rem;
  padding-inline: 0.9rem;
  border-radius: var(--r-sm);
}

.menu summary {
  border: 1px solid oklch(100% 0 0 / 0.1);
}

.menu-body {
  min-width: 14rem;
  padding: var(--s-2);
  border-radius: var(--r-lg);
}

.menu-body a,
.menu-body .linkish {
  padding: 0.65rem 0.8rem;
}

.site-alert {
  background: var(--surface);
  color: var(--text-2);
  border-bottom: var(--edge);
}

main {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.foot {
  background: color-mix(in oklch, var(--surface) 86%, var(--bg));
}

/* Keep labels and data tables in sentence case throughout the product. */
.eyebrow,
.side-group h3,
.exp-versions th,
.admin-group-name,
.slot .slot-kind,
.tile-state,
.tile-top,
.tile-idle b,
table th,
.table th,
label {
  text-transform: none;
  letter-spacing: normal;
}

:where(button, input, select, textarea, summary, a) {
  -webkit-tap-highlight-color: transparent;
}

:where(button, input, select, textarea):focus-visible,
:where(a, summary):focus-visible {
  outline: 2px solid color-mix(in oklch, var(--accent) 78%, white);
  outline-offset: 3px;
  box-shadow: var(--ring);
}

@media (max-width: 48rem) {
  .brand span,
  .menu summary span {
    display: none;
  }

  .top .inner {
    gap: 0.75rem;
  }

  .brand {
    gap: 0.4rem;
    font-size: 1rem;
  }

  .brand svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .nav {
    flex: 1;
    gap: 0;
  }

  .nav a {
    padding-inline: 0.55rem;
    font-size: 0.8rem;
  }

  .account {
    gap: 0.5rem;
  }
}

[data-theme="dark"] {
  --muted: var(--n-300);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --muted: var(--n-300);
  }
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
th {
  text-transform: none;
  letter-spacing: normal;
}
.eyebrow {
  text-transform: none;
  letter-spacing: normal;
}
.top {
  border-bottom: 1px solid oklch(100% 0 0 / 0.12);
}
.top .inner {
  max-width: var(--page-wide);
  gap: var(--s-6);
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand svg {
  width: 2rem;
  height: 2rem;
}
.brand,
.nav a,
.account > a,
.menu summary,
.button,
.sort-tabs a {
  text-decoration: none;
}
.nav {
  height: 100%;
  align-items: stretch;
  gap: var(--s-2);
}
.nav a {
  display: flex;
  align-items: center;
  border-radius: 0;
  padding: 0 var(--s-3);
  color: var(--n-300);
  font-size: var(--t-base);
}
.nav a.on {
  background: none;
  box-shadow: inset 0 -3px var(--a-300);
}
.nav a:hover {
  background: oklch(100% 0 0 / 0.05);
  text-decoration: none;
}
.menu-body a {
  text-decoration: none;
}
.site-alert {
  background: var(--surface);
  color: var(--text-2);
  border-bottom: var(--edge);
  font-weight: 500;
}
main {
  padding-top: var(--s-8);
}
h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}
.eyebrow,
.table thead th,
.side-group h3 {
  text-transform: none;
  letter-spacing: 0;
}
.table thead th {
  font-size: var(--t-sm);
  color: var(--text-2);
}

.table-wrap .table thead th {
  top: 0;
}
.button,
button {
  font-weight: 600;
  box-shadow: none;
}
.button:hover,
button:hover {
  text-decoration: none;
}
.card {
  box-shadow: none;
}
.sort-tabs {
  border-bottom: var(--edge);
  gap: var(--s-4);
  padding-bottom: var(--s-3);
}
.sort-tabs a {
  border-radius: 0;
  padding: var(--s-2) 0;
  background: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.sort-tabs a.on {
  background: none;
  color: var(--text);
  border-bottom-color: var(--accent);
}
.sort-tabs a:hover {
  background: none;
  color: var(--text);
  text-decoration: none;
}
.game-grid {
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}
.recommended-games {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: var(--edge);
}
.recommended-games > h2 {
  margin: 0 0 var(--s-4);
}
.recommended-games .game-card {
  margin-top: 0;
}
.game-card {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  gap: var(--s-2);
  box-shadow: none;
}
.game-card:hover {
  transform: none;
  box-shadow: none;
}
.game-icon {
  border: var(--edge);
  border-radius: var(--r-md);
}
.game-name {
  font-size: var(--t-base);
  font-weight: 650;
}
.game-meta,
.game-by {
  font-size: var(--t-sm);
}
.game-by {
  margin-top: -0.25rem;
}
.game-card:hover .game-icon {
  border-color: var(--line-strong);
}
.game-card:hover .game-icon img {
  transform: none;
}
.game-card .game-link:focus-visible {
  outline-offset: 4px;
  border-radius: var(--r-md);
}
.item:hover,
.lift:hover {
  transform: none;
  box-shadow: none;
}
.item {
  border-color: transparent;
}
.item:hover {
  border-color: var(--line-strong);
}
.vote-row {
  grid-template-columns: minmax(5.5rem, auto) minmax(3rem, 1fr) minmax(5.5rem, auto);
  gap: var(--s-2);
  padding: var(--s-2) 0;
}
.vote-row button {
  min-height: 2.5rem;
  padding-inline: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 600;
}
.vote-row button:disabled {
  opacity: 0.68;
}
.vote-bar {
  height: 0.625rem;
  background: var(--danger-soft);
}
.vote-bar span {
  border-radius: inherit;
  background: var(--good);
}
.vote-bar.empty {
  background: var(--surface-3);
}
.vote-bar.empty span {
  width: 0 !important;
}
.vote-hint {
  margin: 0;
}
.rating-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-1) var(--s-3);
  padding: 0 0 var(--s-2);
  font-size: var(--t-sm);
}
.fav {
  min-height: 2.5rem;
  align-self: flex-start;
  padding: 0 var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 600;
}
.fav.on {
  border-color: var(--a-500);
  background: var(--accent-soft);
  color: var(--accent);
}
.fav.bump {
  animation: none;
}
.rating-caption b,
.vote-row button,
.fav {
  font-variant-numeric: tabular-nums;
}
.description-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: var(--edge);
}
.description-heading .eyebrow {
  margin: 0 0 var(--s-1);
  font-size: var(--t-xs);
}
.description-heading h2 {
  margin: 0;
}
.game-description {
  max-width: 70ch;
  line-height: 1.75;
  color: var(--text-2, var(--text));
}
.game-description p {
  margin: var(--s-4) 0 0;
}
.game-stats dt {
  font-size: var(--t-xs);
  text-transform: none;
  letter-spacing: normal;
}
.game-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.game-stats > div {
  min-width: 0;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: color-mix(in oklch, var(--surface) 88%, var(--surface-3));
}
.game-stats dd {
  overflow-wrap: anywhere;
  font-size: var(--t-md);
}
.tab-body > .game-empty {
  min-height: 10rem;
  display: grid;
  place-items: center;
  padding: var(--s-6);
  text-align: center;
  line-height: 1.65;
}
.cat-side {
  border-radius: var(--r-md);
}
.cat-side .side-group h3 {
  text-transform: none;
  letter-spacing: normal;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  text-decoration: underline;
}

.universal-hero {
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.6fr);
  align-items: center;
  gap: var(--s-10);
  background: var(--header);
  padding: var(--s-10);
  border: 1px solid oklch(100% 0 0 / 0.13);
  border-radius: var(--r-lg);
}
.hero-copy {
  min-width: 0;
}
.universal-hero .hero-kicker {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--a-300);
  margin-bottom: var(--s-4);
}
.universal-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: var(--s-5);
}
.universal-hero p {
  max-width: 30rem;
  color: var(--n-300);
  line-height: 1.6;
}
.hero-actions {
  margin-top: var(--s-6);
}
.universal-hero .button {
  background: var(--a-300);
  color: var(--n-950);
}
.universal-hero .button:hover {
  background: var(--a-200);
}
.universal-hero .button.ghost {
  border: 1px solid var(--n-600);
  background: transparent;
  color: var(--n-50);
}
.universal-hero .button.ghost:hover {
  background: oklch(100% 0 0 / 0.06);
}
.hero-platforms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  padding: 0;
  margin-top: var(--s-6);
  font-size: var(--t-xs);
  color: var(--n-300);
}
.hero-platforms li + li::before {
  content: "·";
  margin-right: var(--s-4);
  color: var(--n-500);
}
.hero-feature {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  color: var(--n-50);
  background: var(--header-2);
  border: 1px solid var(--n-700);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero-feature:hover {
  color: var(--n-0);
  text-decoration: none;
  border-color: var(--a-300);
}
.hero-feature > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-feature > span {
  display: grid;
  gap: var(--s-1);
  padding: var(--s-4);
}
.hero-feature small {
  color: var(--n-300);
}
.hero-feature b {
  font-size: var(--t-lg);
}
.hero-feature > span > span {
  font-size: var(--t-sm);
  color: var(--a-300);
  margin-top: var(--s-2);
}

/* Sign in */
.account-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 27rem);
  align-items: stretch;
  max-width: 66rem;
  min-height: 29rem;
  margin: clamp(1.5rem, 7vh, 5rem) auto;
  border: var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.account-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--header);
  color: var(--n-50);
}
.account-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--s-8);
  border-radius: 0;
  object-fit: contain;
}
.account-intro .eyebrow {
  margin: 0 0 var(--s-2);
  color: var(--a-300);
  font-size: var(--t-sm);
  font-weight: 650;
}
.account-intro h1 {
  max-width: 12ch;
  margin: 0 0 var(--s-4);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.account-intro > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0;
  color: var(--n-300);
  line-height: 1.65;
}
.account-intro .account-platforms {
  margin: var(--s-6) 0 0;
  font-size: var(--t-xs);
}
.account-platforms span {
  margin-inline: var(--s-1);
  color: var(--a-300);
}
.account-form {
  align-self: center;
  width: 100%;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.account-form h2 {
  margin: 0 0 var(--s-6);
  font-size: var(--t-xl);
}
.account-form label {
  margin: 0 0 var(--s-2);
}
.account-form input {
  margin: 0 0 var(--s-4);
}
.account-form button[type="submit"] {
  width: 100%;
  min-height: 2.75rem;
  margin-top: var(--s-1);
}
.account-form .mt {
  margin-top: var(--s-5);
}
.account-form .muted + .muted {
  margin-top: var(--s-3);
}
.account-form .small {
  line-height: 1.55;
}

/* Keep content centered in roomy panels and maintain a steady text rhythm. */
.tab-body {
  padding: clamp(1.25rem, 3vw, 2rem);
}
.tab-body > .muted.m0 {
  min-height: 9rem;
  display: grid;
  place-items: center;
  padding: var(--s-6);
  margin: 0;
  text-align: center;
  line-height: 1.6;
}
.tab-body > .game-description {
  padding-top: var(--s-4);
}
.tab-body > .description-heading + .game-description {
  padding-top: var(--s-4);
}
.form:not(.account-form) {
  display: grid;
  gap: var(--s-2);
}
.form:not(.account-form) h1,
.form:not(.account-form) h2 {
  margin: 0 0 var(--s-4);
}
.form:not(.account-form) label {
  margin: var(--s-2) 0 0;
}
.form:not(.account-form) input,
.form:not(.account-form) select,
.form:not(.account-form) textarea {
  margin: 0;
}
.form:not(.account-form) button[type="submit"] {
  min-height: 2.75rem;
  margin-top: var(--s-3);
}
.form:not(.account-form) .error,
.form:not(.account-form) .ok {
  margin: var(--s-2) 0 0;
}
.form:not(.account-form) .muted {
  line-height: 1.6;
}

/* Lottery: clear round status and ticket choices, without decorative motion. */
.lottery-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: var(--edge);
  border-left: 3px solid var(--a-500);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
}
.lottery-hero::before,
.lottery-hero::after,
.lottery-hero > .coins {
  display: none;
  animation: none;
}
.lottery-hero .eyebrow {
  color: var(--muted);
}
.lottery-hero h1 {
  margin: 0;
  font-size: var(--t-2xl);
}
.lottery-hero .rbx {
  color: var(--text);
}
.lottery-hero .progress,
.lottery-hero progress {
  background: var(--surface-3);
}
.lottery-hero .progress::-webkit-progress-bar,
.lottery-hero progress::-webkit-progress-bar {
  background: var(--surface-3);
}
.lottery-hero .progress::-webkit-progress-value,
.lottery-hero .progress::-moz-progress-bar,
.lottery-hero progress::-webkit-progress-value,
.lottery-hero progress::-moz-progress-bar {
  background: var(--a-500);
}
.lottery-chips span {
  padding: var(--s-2) var(--s-3);
  border: var(--edge);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text-2, var(--text));
  backdrop-filter: none;
}
.lottery-progress .countdown {
  margin-top: var(--s-2);
  color: var(--muted);
  font-size: var(--t-sm);
  font-weight: 500;
}
.lottery-grid .card > h2 {
  margin-top: 0;
  font-size: var(--t-lg);
}
.lottery-board li.me {
  padding-inline: var(--s-2);
  border-left: 2px solid var(--a-500);
  border-radius: 0;
}
.lottery-board li:first-child .rank {
  color: var(--accent);
}
.lottery-picks button[aria-pressed="true"] {
  border-color: var(--a-500);
  background: var(--accent-soft);
  color: var(--accent);
}

/* Downloads and answers */
.download-hero {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--s-8) var(--s-3) var(--s-3);
  text-align: left;
}
.download-hero h1 {
  margin-bottom: var(--s-2);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.download-hero p {
  max-width: 42rem;
  line-height: 1.6;
}
.platforms {
  gap: var(--s-3);
  align-items: start;
}
.platform {
  gap: var(--s-3);
  border-radius: var(--r-md);
  box-shadow: none;
}
.platform.main {
  border-color: var(--line-strong);
  box-shadow: inset 3px 0 var(--a-500);
}
.platforms .platform,
.dl-details dl {
  animation: none;
}
.platform .buy {
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.platform .buy:hover {
  filter: none;
  box-shadow: none;
}
.platform-icon,
.platform-icon.windows,
.platform-icon.xbox360,
.platform-icon.ps3 {
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text);
}
.platform .buy {
  min-height: 2.75rem;
}
.dl-updated {
  margin: calc(var(--s-2) * -1) 0 0;
  text-align: left;
}
.dl-details {
  padding-top: var(--s-2);
}
.dl-details dl {
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--s-2) var(--s-3);
}
.dl-verify > summary {
  color: var(--accent);
  cursor: pointer;
}
.dl-verify[open] .dl-hash {
  margin-top: var(--s-2);
}
.dl-verify .dl-hash code {
  font-size: 0.7rem;
}
.download-help {
  max-width: 46rem;
  margin-top: var(--s-8);
}
.download-help h2 {
  font-size: var(--t-xl);
}
.faq {
  gap: 0;
  border-top: var(--edge);
}
.faq details {
  padding-inline: var(--s-2);
  border: 0;
  border-bottom: var(--edge);
  border-radius: 0;
  background: transparent;
}
.faq summary {
  padding-block: var(--s-4);
}
.faq details p {
  max-width: 68ch;
  padding-right: var(--s-8);
  line-height: 1.65;
}
.test-builds {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: var(--edge);
}

.about-page {
  max-width: 60rem;
  margin: clamp(1rem, 5vh, 3rem) auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.about-page .eyebrow {
  margin: 0 0 var(--s-3);
  color: var(--accent);
  font-size: var(--t-sm);
  font-weight: 650;
}
.about-page h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.about-lead {
  max-width: 61ch;
  margin: var(--s-5) 0 0;
  color: var(--text-2, var(--text));
  font-size: var(--t-lg);
  line-height: 1.7;
}
.about-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
}
.about-platforms span {
  padding: var(--s-2) var(--s-3);
  border: var(--edge);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: var(--t-sm);
  font-weight: 600;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-7);
}
.about-note {
  margin: var(--s-8) 0 0;
  padding-top: var(--s-4);
  border-top: var(--edge);
  color: var(--muted);
  font-size: var(--t-sm);
}

.catalog-mobile-filters {
  display: none;
}
.cat-body > .catalog-desktop-filters {
  min-width: 0;
}

@media (max-width: 48rem) {
  .catalog-desktop-filters {
    display: none;
  }
  .catalog-mobile-filters {
    display: block;
    margin-bottom: var(--s-4);
    border-block: var(--edge);
  }
  .catalog-mobile-filters > summary {
    padding: var(--s-3) 0;
    cursor: pointer;
    font-size: var(--t-sm);
    font-weight: 600;
  }
  .cat-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }
  .cat-search input {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .cat-search select {
    width: 100%;
    min-width: 0;
  }
  .cat-results .results-head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s-3);
  }
  .cat-results .sort {
    width: 100%;
    justify-content: space-between;
  }
  .top .inner {
    flex-wrap: wrap;
    height: auto;
    gap: var(--s-3);
    padding-top: var(--s-3);
  }
  .brand span {
    display: inline;
  }
  .nav {
    order: 3;
    width: 100%;
    height: 2.75rem;
    gap: var(--s-3);
  }
  .nav a {
    padding: 0 var(--s-2);
    font-size: var(--t-sm);
  }
  .account {
    gap: var(--s-2);
  }
  .account .robux {
    display: none;
  }
  .universal-hero {
    grid-template-columns: 1fr;
    padding: var(--s-6);
    gap: var(--s-6);
  }
  .account-entry {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-block: var(--s-4);
  }
  .account-intro {
    padding: var(--s-6);
  }
  .account-mark {
    margin-bottom: var(--s-4);
  }
  .account-intro h1 {
    font-size: var(--t-2xl);
  }
  .account-form {
    padding: var(--s-8);
  }
  .lottery-hero .prize .item {
    width: 100%;
  }
  .about-page {
    padding: var(--s-6);
  }
  .hero-feature {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 7rem 1fr;
  }
  .hero-feature > img {
    aspect-ratio: 1;
    height: 100%;
  }
  .hero-feature b {
    font-size: var(--t-base);
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
  }
  .sort-tabs {
    gap: var(--s-3);
  }
  .sort-tabs a {
    font-size: var(--t-sm);
  }
}

@media (max-width: 44rem) {
  .game-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
