:root {
  color-scheme: light;
  --bg: #f4f5f8;
  --panel: #ffffff;
  --panel-soft: #f8f9fc;
  --panel-muted: #f2f4f7;
  --line: #e4e8ef;
  --line-strong: #d7dde7;
  --ink: #18223a;
  --muted: #7c869c;
  --brand: #d91f2f;
  --brand-dark: #b81624;
  --green: #0f9d47;
  --green-dark: #0a7a36;
  --red: #e24a43;
  --gold: #d0a64c;
  --shadow-lg: 0 28px 60px rgba(20, 28, 48, 0.08);
  --shadow-md: 0 16px 34px rgba(20, 28, 48, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(217, 31, 47, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 157, 71, 0.05), transparent 24%),
    linear-gradient(180deg, #f7f8fb 0%, #f0f2f7 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
}

html.player-booting.player-has-session #guestShell,
html.player-booting.player-has-session #memberShell {
  visibility: hidden;
}

button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.player-app {
  width: min(1500px, calc(100vw - 30px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.concept-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 4px 2px;
}

.concept-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.concept-copy,
.concept-status {
  font-size: 18px;
  color: var(--muted);
}

.concept-status {
  justify-self: end;
  color: #1378f3;
}

.surface-shell {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 231, 239, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.output-banner {
  position: sticky;
  top: 10px;
  z-index: 12;
  display: block;
  min-height: 18px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid transparent;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.output-banner:not(:empty) {
  opacity: 1;
  transform: translateY(0);
}

.output-banner.ok {
  color: var(--green-dark);
  border-color: rgba(15, 157, 71, 0.18);
}

.output-banner.error {
  color: #b42b24;
  border-color: rgba(226, 74, 67, 0.18);
}

.hidden { display: none !important; }

.guest-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(420px, 0.52fr);
  overflow: hidden;
}

.login-panel {
  padding: 34px 38px 28px;
  display: grid;
  gap: 24px;
}

.login-brand-mark {
  display: grid;
  gap: 2px;
  justify-items: center;
  align-content: start;
}

.login-brand-mark span,
.login-brand-mark small {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: #22345d;
}

.login-brand-mark strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(44px, 4vw, 62px);
  line-height: 0.94;
  color: var(--brand);
  letter-spacing: -0.05em;
}

.login-copy {
  display: grid;
  gap: 12px;
  text-align: center;
}

.login-copy h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(34px, 2.8vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.login-copy p {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  background: var(--panel-muted);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.tabs button,
.primary-btn,
.toolbar-btn,
.wallet-btn,
.filter-chip,
.ghost-btn,
.game-card,
.market-row button,
.nft-card button {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 800;
}

.tabs button {
  background: transparent;
  color: var(--muted);
}

.tabs button.active {
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 8px 20px rgba(19, 29, 53, 0.06);
}

.auth-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input::placeholder { color: #a2acbc; }

input:focus,
select:focus {
  outline: none;
  border-color: rgba(217, 31, 47, 0.35);
  box-shadow: 0 0 0 4px rgba(217, 31, 47, 0.1);
}

.helper-copy,
.hint,
.catalog-meta,
.account-wallet,
.game-card-meta,
.game-card-route,
.history-row small,
.market-row small,
.stake-row small,
.nft-card small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.primary-btn {
  background: var(--green);
  color: #fff;
}

.primary-btn:hover { background: var(--green-dark); }

.wallet-btn,
.toolbar-btn,
.ghost-btn,
.filter-chip,
.game-card {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.wallet-btn:hover,
.toolbar-btn:hover,
.ghost-btn:hover,
.filter-chip:hover,
.game-card:hover {
  border-color: #cfd6e2;
  box-shadow: var(--shadow-md);
}

.divider {
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--line);
}

.divider span {
  position: relative;
  padding: 0 12px;
  background: var(--panel);
}

.auth-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
}

.auth-footer article,
.slot-card,
.history-row,
.market-row,
.stake-row,
.nft-card,
.supplier-row span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.auth-footer article {
  padding: 14px 12px;
  text-align: center;
}

.auth-footer strong,
.slot-card strong {
  display: block;
  font-size: 13px;
}

.auth-footer span,
.slot-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.login-visual {
  min-height: 860px;
  background: #10141c;
}

.login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-shell {
  padding: 18px 18px 24px;
  display: grid;
  gap: 18px;
}

.member-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.member-logo {
  display: grid;
  gap: 0;
  line-height: 0.94;
}

.member-logo span,
.member-logo small {
  font-family: "Sora", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #22345d;
}

.member-logo strong {
  font-family: "Sora", sans-serif;
  font-size: 34px;
  line-height: 0.96;
  color: var(--brand);
  letter-spacing: -0.05em;
}

.member-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
  align-items: center;
}

.volatility-field {
  display: grid;
  gap: 4px;
  min-width: 190px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.volatility-field select {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

.balance-chip {
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f6f9f6 100%);
  border: 1px solid var(--line);
}

.balance-chip span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.balance-chip strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 21px;
}

.toolbar-btn {
  padding: 0 16px;
}

.toolbar-link {
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.toolbar-icon {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.catalog-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.catalog-pill.ok { color: var(--green-dark); }
.catalog-pill.warn { color: #a56c10; }

.member-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 0 4px 6px;
  border-bottom: 1px solid var(--line);
}

.member-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: #2c3855;
}

.member-nav a.active::after,
.member-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
}

.member-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.member-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hero-and-account {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 320px);
  gap: 18px;
  align-items: stretch;
}

.hero-card,
.account-card,
.info-card,
.catalog-section,
.nft-panel,
.supplier-discovery {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(240px, 0.44fr);
  gap: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(255, 221, 129, 0.12) 100%),
    radial-gradient(circle at right, rgba(255, 208, 96, 0.42), transparent 30%),
    #1a120e;
}

.hero-copy {
  padding: 26px 26px 24px;
  display: grid;
  align-content: center;
  gap: 12px;
  color: #fff;
}

.hero-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy strong {
  font-size: 15px;
  font-weight: 700;
}

.hero-copy p {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

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

.hero-actions .ghost-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
}

.hero-art {
  display: grid;
  place-items: center;
  padding: 16px;
}

.hero-art img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.42));
  transform: translateX(6px) scale(1.03);
}

.account-card {
  padding: 18px 18px 16px;
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
}

.account-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.account-card-head p,
.section-head p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-card-head h3,
.section-head h3,
.supplier-discovery h3,
.nft-actions-grid h3 {
  margin: 6px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 20px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.account-card-head span {
  font-size: 12px;
  color: var(--muted);
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.account-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-list span {
  font-size: 13px;
  color: var(--muted);
}

.account-list strong {
  font-size: 14px;
  font-weight: 800;
}

.account-wallet {
  white-space: pre-line;
  overflow-wrap: anywhere;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.account-progress {
  display: grid;
  gap: 8px;
}

.account-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.account-progress-top span,
.account-progress small {
  color: var(--muted);
  font-size: 12px;
}

.account-progress-top strong {
  font-size: 13px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #eef1f6;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a59 0%, #d0a64c 100%);
}

.catalog-section,
.nft-panel,
.supplier-discovery,
.info-card {
  padding: 18px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.search-field input {
  background: var(--panel-soft);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.filter-chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.catalog-meta {
  margin-top: 14px;
}

.provider-sections {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.provider-block {
  display: grid;
  gap: 14px;
  padding: 4px 0 0;
  min-width: 0;
}

.provider-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
}

.provider-head h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 20px;
}

.provider-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.provider-count {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.game-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(198px, 1fr));
  gap: 14px;
}

.game-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  text-align: left;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  min-width: 0;
}

.game-card:hover {
  transform: translateY(-2px);
}

.game-card.selected {
  border-color: rgba(15, 157, 71, 0.28);
  box-shadow: 0 18px 32px rgba(15, 157, 71, 0.08);
}

.game-card-cover {
  position: relative;
  min-height: 112px;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1a2440 0%, #d4423d 100%);
}

.game-card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 50%);
}

.theme-heist .game-card-cover { background: linear-gradient(135deg, #6d151f 0%, #e45b30 100%); }
.theme-forge .game-card-cover { background: linear-gradient(135deg, #915513 0%, #f0ae3f 100%); }
.theme-vault .game-card-cover { background: linear-gradient(135deg, #4d2f0d 0%, #d0a64c 100%); }
.theme-poker .game-card-cover { background: linear-gradient(135deg, #3b214f 0%, #d84b73 100%); }
.theme-relay .game-card-cover { background: linear-gradient(135deg, #173850 0%, #289bd5 100%); }
.theme-drift .game-card-cover { background: linear-gradient(135deg, #1d1f53 0%, #5674ff 100%); }
.theme-bloom .game-card-cover { background: linear-gradient(135deg, #14542f 0%, #5dd07f 100%); }
.theme-ways .game-card-cover { background: linear-gradient(135deg, #1f3557 0%, #528dff 100%); }
.theme-megaways .game-card-cover { background: linear-gradient(135deg, #5f2f5d 0%, #ffa535 100%); }
.theme-keno .game-card-cover { background: linear-gradient(135deg, #133d6d 0%, #24c9d8 100%); }
.theme-video-poker .game-card-cover { background: linear-gradient(135deg, #3d275c 0%, #b875ff 100%); }
.theme-baccarat .game-card-cover { background: linear-gradient(135deg, #0f4c41 0%, #2fbca1 100%); }
.theme-blackjack .game-card-cover { background: linear-gradient(135deg, #172024 0%, #3ca565 100%); }

.game-card-badge,
.game-card-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 800;
}

.game-card-tag { justify-self: start; }

.game-card-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.game-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.game-card-route {
  font-size: 11px;
  font-family: "Consolas", monospace;
  overflow-wrap: anywhere;
}

.game-card-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-dark);
}

.supplier-discovery h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.supplier-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.supplier-row span {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #2d374d;
}

.wallet-tools {
  display: grid;
  gap: 8px;
}

.lobby-bottom,
.market-and-stake,
.nft-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.section-head.compact { margin-bottom: 12px; }

.history-preview-list,
.history-list,
.market-list,
.stake-list,
.nft-grid {
  display: grid;
  gap: 10px;
}

.history-preview-list { margin-bottom: 12px; }

.history-row,
.market-row,
.stake-row {
  padding: 12px 14px;
}

.history-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 4px 12px;
}

.history-row strong {
  color: var(--green-dark);
}

.history-row small {
  grid-column: 2;
}

.market-row,
.stake-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 12px;
  align-items: center;
}

.stake-row { grid-template-columns: minmax(0, 1fr) auto; }

.market-row strong,
.stake-row span {
  display: block;
  font-size: 14px;
}

.nft-panel {
  display: grid;
  gap: 16px;
}

.nft-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.slot-card {
  padding: 16px 18px;
}

.nft-block {
  display: grid;
  gap: 10px;
}

.nft-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.nft-card {
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: space-between;
}

.nft-card h4 {
  margin: 6px 0 0;
  font-size: 16px;
}

.nft-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.nft-card.selected {
  border-color: rgba(15, 157, 71, 0.3);
}

.nft-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nft-actions button:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.empty-line {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  background: var(--panel-soft);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
.game-card:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(217, 31, 47, 0.38);
  outline-offset: 2px;
}

@media (max-width: 1320px) {
  .hero-and-account,
  .lobby-bottom {
    grid-template-columns: 1fr;
  }

  .supplier-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .guest-shell,
  .member-layout,
  .nft-actions-grid,
  .market-and-stake {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 520px;
  }

  .hero-and-account {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .player-app {
    width: min(100vw - 18px, 1500px);
    padding: 14px 0 30px;
  }

  .concept-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .concept-status {
    justify-self: start;
  }

  .login-panel,
  .member-shell,
  .catalog-section,
  .nft-panel,
  .supplier-discovery,
  .info-card {
    padding: 16px;
  }

  .member-header {
    flex-direction: column;
    align-items: start;
  }

  .member-toolbar {
    justify-content: start;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar,
  .auth-footer,
  .nft-overview {
    grid-template-columns: 1fr;
  }

  .supplier-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .login-copy h1 {
    font-size: 30px;
  }

  .member-nav {
    gap: 12px;
  }

  .game-row,
  .nft-grid,
  .supplier-row,
  .market-row,
  .stake-row,
  .history-row,
  .nft-actions {
    grid-template-columns: 1fr;
  }

  .history-row small {
    grid-column: 1;
  }
}
