:root {
  --paper: #f6f3ec;
  --paper-strong: #fffdf8;
  --ink: #181713;
  --muted: #6f6a5e;
  --line: #d9d0c0;
  --teal: #008b83;
  --red: #a8323d;
  --gold: #c58a1f;
  --cyan: #127ac9;
  --black: #0f1112;
  --shadow: 0 18px 50px rgba(19, 17, 14, 0.14);
}

:root[data-theme="dark"] {
  --paper: #090b0f;
  --paper-strong: #11161d;
  --ink: #f5f1e8;
  --muted: #a9a49a;
  --line: #2a3038;
  --black: #f5f1e8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(246, 243, 236, 0.92);
  border-bottom: 1px solid rgba(24, 23, 19, 0.1);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .topbar {
  background: rgba(9, 11, 15, 0.9);
  border-bottom-color: rgba(245, 241, 232, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--black);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

:root[data-theme="dark"] .brand-mark {
  color: #090b0f;
}

.nav-tabs {
  justify-self: center;
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

:root[data-theme="dark"] .nav-tabs {
  background: rgba(17, 22, 29, 0.82);
}

.tab {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
}

.tab.is-active {
  color: var(--paper-strong);
  background: var(--black);
}

.user-chip {
  min-width: 132px;
  text-align: right;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.top-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--ink);
  background: var(--paper-strong);
  border-color: var(--line);
}

.theme-toggle span {
  display: block;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 680px);
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.86) 0%, rgba(10, 9, 8, 0.54) 38%, rgba(10, 9, 8, 0.1) 78%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.44) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(640px, calc(100% - 32px));
  min-height: clamp(420px, 70vh, 680px);
  margin-left: clamp(16px, 6vw, 72px);
  padding: 76px 0 96px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary,
.secondary,
.text-button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.primary {
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
}

.primary:hover,
.primary:focus-visible {
  background: #00766f;
}

.secondary {
  padding: 0 18px;
  color: var(--ink);
  background: var(--paper-strong);
  border-color: rgba(255, 255, 255, 0.6);
}

.secondary:hover,
.secondary:focus-visible {
  border-color: var(--gold);
}

.full {
  width: 100%;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 20px;
  width: min(1600px, calc(100% - 32px));
  margin: -56px auto 44px;
  position: relative;
  z-index: 3;
}

.workspace.is-auth-only {
  grid-template-columns: minmax(250px, 420px);
  justify-content: center;
}

.auth-panel,
.content-panel,
dialog {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(24, 23, 19, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .auth-panel,
:root[data-theme="dark"] .content-panel,
:root[data-theme="dark"] dialog {
  background: rgba(17, 22, 29, 0.96);
  border-color: rgba(245, 241, 232, 0.12);
}

.auth-panel {
  align-self: start;
  padding: 18px;
}

.panel-header,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.panel-header h2,
.section-head h2,
dialog h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.panel-header p,
.notice {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] select {
  color: var(--ink);
  background: #07090d;
  border-color: var(--line);
}

input:focus,
select:focus {
  outline: 3px solid rgba(0, 139, 131, 0.18);
  border-color: var(--teal);
}

.password-field {
  position: relative;
  display: block;
  min-width: 0;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.auth-switch {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.text-button {
  padding: 0;
  color: var(--cyan);
  background: transparent;
  border: 0;
}

.text-button.danger {
  color: var(--red);
}

.content-panel {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.stat {
  min-height: 82px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

:root[data-theme="dark"] .stat,
:root[data-theme="dark"] .game-card,
:root[data-theme="dark"] .admin-board {
  background: #11161d;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.game-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 330px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.game-art {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(135deg, var(--accent), #111);
}

.game-art.has-art {
  min-height: 150px;
  background: #050509;
}

.game-art-bg,
.game-art-logo,
.game-art-hero {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.game-art-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.game-art-logo {
  left: 14px;
  top: 14px;
  width: min(56%, 220px);
  max-height: 58px;
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65));
  z-index: 2;
}

.game-art-hero {
  right: -4px;
  bottom: -8px;
  width: min(48%, 180px);
  max-height: 148px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.68));
  z-index: 2;
}

.game-art.has-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 9, 0.28), transparent 54%);
  z-index: 1;
}

.game-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.badge,
.price {
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

:root[data-theme="dark"] .price,
:root[data-theme="dark"] .tag,
:root[data-theme="dark"] .role-pill,
:root[data-theme="dark"] .admin-chip {
  background: #090b0f;
}

.badge {
  color: var(--paper);
  background: var(--ink);
}

.price {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.game-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 8px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
}

.game-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 16px 16px;
}

.account-dashboard {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.account-card,
.launch-panel,
.launch-row,
.empty-library {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--paper-strong);
}

.account-card h3,
.launch-panel h3 {
  margin: 0;
  font-size: 1.45rem;
}

.account-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.account-logout {
  min-width: 150px;
}

.launch-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--paper-strong);
}

.launch-panel-head,
.launch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.launch-game {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.launch-game strong,
.launch-game small {
  overflow-wrap: anywhere;
}

.launch-game strong {
  font-size: 1rem;
}

.launch-game small,
.empty-library span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.launch-row,
.empty-library {
  padding: 12px;
  background: var(--paper);
}

.launch-action {
  min-width: 126px;
}

.empty-library {
  display: grid;
  gap: 8px;
}

.empty-library .primary {
  width: fit-content;
}

.games-grid.is-admin {
  display: block;
}

.content-panel:has(.games-grid.is-admin) {
  padding-inline: clamp(12px, 2vw, 22px);
}

.admin-board {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

:root[data-theme="dark"] .admin-board {
  background: var(--paper-strong);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}

:root[data-theme="dark"] .admin-toolbar,
:root[data-theme="dark"] .admin-row-head {
  background: #0c1118;
}

.admin-toolbar h3 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-help {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.admin-table {
  overflow-x: auto;
}

.admin-create {
  display: grid;
  grid-template-columns: repeat(6, minmax(118px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px 18px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.admin-create input,
.admin-create select {
  min-height: 38px;
}

.admin-create-submit {
  min-height: 38px;
  padding: 0 14px;
}

.admin-game-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.admin-game-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-game-row div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-game-row strong,
.admin-game-row span {
  overflow-wrap: anywhere;
}

.admin-game-row strong {
  font-size: 0.9rem;
}

.admin-game-row div span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-platforms {
  display: grid;
  gap: 8px;
  padding: 14px 18px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.admin-platform-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  align-items: center;
}

.admin-platform-row strong {
  font-size: 0.84rem;
}

.admin-platform-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-platform-row span {
  min-height: 26px;
  padding: 4px 8px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) 108px 96px minmax(460px, 2.2fr) minmax(188px, 0.9fr);
  gap: 14px;
  align-items: start;
  min-width: 1180px;
  padding: 16px 18px;
  border-top: 1px solid rgba(217, 208, 192, 0.72);
}

.admin-row:first-child {
  border-top: 0;
}

.admin-row-head {
  min-height: 42px;
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--muted);
  background: #f6f3ec;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-account {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-account strong,
.admin-account span,
.admin-account small,
.admin-account code {
  overflow-wrap: anywhere;
}

.admin-account strong {
  font-size: 0.98rem;
}

.admin-account span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-account small,
.admin-muted {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-ledger {
  color: var(--teal) !important;
}

.admin-account code {
  width: fit-content;
  max-width: 100%;
  padding: 3px 6px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
}

.status-pill,
.role-pill,
.admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.is-active {
  color: #fff;
  background: var(--teal);
}

.status-pill.is-pending {
  color: #2d2413;
  background: #f3d594;
}

.status-pill.is-disabled {
  color: #fff;
  background: var(--red);
}

.role-pill {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.role-pill.is-admin {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-chip {
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
}

.admin-action {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-action.primary,
.admin-action.secondary {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.admin-action.danger {
  color: var(--red);
  border-color: rgba(168, 50, 61, 0.34);
}

.admin-acl-cell {
  display: grid;
  gap: 10px;
}

.acl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 8px;
}

.acl-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: center;
  min-height: 68px;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.acl-cell input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--teal);
}

.acl-cell span,
.acl-cell small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.acl-cell span {
  font-size: 0.78rem;
  font-weight: 900;
}

.acl-cell small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.acl-cell.is-admin {
  opacity: 0.86;
}

.admin-empty {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 28px 18px;
}

.admin-empty strong {
  font-size: 1rem;
}

.admin-empty span {
  color: var(--muted);
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

dialog {
  width: min(460px, calc(100% - 32px));
  padding: 22px;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(10, 9, 8, 0.44);
  backdrop-filter: blur(4px);
}

dialog p {
  color: var(--muted);
  line-height: 1.5;
}

menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
    min-height: 0;
    padding: 10px 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    max-width: calc(100% - 58px);
  }

  .top-actions {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    justify-self: auto;
  }

  .nav-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    overflow: hidden;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-chip {
    min-width: 0;
    max-width: 118px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    background: var(--paper-strong);
    border-color: var(--line);
  }

  .workspace {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 28px));
    margin-top: -34px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-inline: 12px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .top-actions {
    top: 12px;
    right: 12px;
    gap: 0;
  }

  .user-chip {
    display: none;
  }

  .nav-tabs {
    gap: 3px;
    padding: 3px;
  }

  .tab {
    min-height: 32px;
    padding: 0 5px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: min(430px, calc(100% - 44px));
    min-height: 430px;
    margin-inline: auto;
    margin-left: auto;
    padding-top: 68px;
  }

  .workspace {
    width: min(430px, calc(100% - 28px));
  }

  .auth-panel,
  .content-panel {
    width: 100%;
  }

  .hero-actions,
  .panel-header,
  .section-head,
  menu {
    flex-direction: column;
    align-items: stretch;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .admin-toolbar {
    flex-direction: column;
  }

  .account-card,
  .launch-panel-head,
  .launch-row {
    grid-template-columns: 1fr;
  }

  .account-logout,
  .launch-action,
  .empty-library .primary {
    width: 100%;
  }

  .admin-help {
    max-width: none;
    text-align: left;
  }

  .admin-table {
    overflow-x: visible;
  }

  .admin-row,
  .admin-row-head {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .admin-game-strip {
    grid-template-columns: 1fr;
  }

  .admin-create,
  .admin-platform-row {
    grid-template-columns: 1fr;
  }

  .admin-game-row {
    grid-template-columns: 1fr;
  }

  .acl-grid {
    grid-template-columns: 1fr;
  }

  .admin-row-head {
    display: none;
  }

  .admin-action {
    width: 100%;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}
