:root {
  --bg: #0a0d0b;
  --panel: #111613;
  --panel-2: #161c18;
  --panel-3: #1b231d;
  --line: rgba(226, 239, 228, 0.11);
  --line-strong: rgba(226, 239, 228, 0.2);
  --text: #f4f7f3;
  --soft: #d4dbd5;
  --muted: #a3ada6;
  --green: #8ff24a;
  --green-2: #b9ff82;
  --coral: #ff7766;
  --cyan: #72d7f2;
  --amber: #f4c767;
  --violet: #a79cf7;
  --radius: 8px;
  --max: 1240px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "Courier New", monospace;
  --page-bg: #0a0d0b;
  --page-surface: #111613;
  --page-surface-2: #161c18;
  --page-line: rgba(226, 239, 228, 0.11);
  --page-line-strong: rgba(226, 239, 228, 0.2);
  --page-text: #f4f7f3;
  --page-soft: #d4dbd5;
  --page-muted: #a3ada6;
  --page-green: #8ff24a;
  --page-coral: #ff7766;
  --page-cyan: #72d7f2;
  --page-display: var(--display);
  --page-body: var(--body);
  --page-mono: var(--mono);
  --page-radius: 8px;
  --page-max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 96px;
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0;
}

body:not(.game-detail-page) {
  background: var(--bg);
}

button,
input,
select,
textarea {
  letter-spacing: 0;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.app-header {
  min-height: 80px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 11, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  min-width: 240px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(143, 242, 74, 0.32);
  border-radius: 8px;
  background: rgba(143, 242, 74, 0.1);
  color: var(--green-2);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 750;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 720;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
}

.main-nav {
  justify-content: center;
  gap: 4px;
}

.main-nav a,
.main-nav a.nav-operations {
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  border-radius: 7px;
  color: var(--muted) !important;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.nav-operations:hover,
.main-nav a.nav-operations:focus-visible {
  border: 0;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text) !important;
}

.language-switch {
  min-height: 44px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.language-option {
  min-width: 38px;
  min-height: 36px;
  padding: 7px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.language-option.is-active {
  border: 0;
  border-radius: 6px;
  background: rgba(143, 242, 74, 0.14);
  color: var(--green-2);
}

.wallet-button {
  min-height: 44px;
  padding: 9px 15px;
  border-color: var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.wallet-button:hover {
  border-color: rgba(143, 242, 74, 0.45);
  background: rgba(143, 242, 74, 0.08);
  color: var(--text);
}

.command-hero {
  min-height: 570px;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2)) 54px;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  opacity: 0.34;
  filter: saturate(0.76) contrast(1.08);
  object-position: center 44%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 13, 11, 0.98) 0%, rgba(10, 13, 11, 0.88) 46%, rgba(10, 13, 11, 0.54) 100%),
    linear-gradient(180deg, rgba(10, 13, 11, 0.18), rgba(10, 13, 11, 0.9) 96%);
}

.hero-main {
  align-self: center;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-2);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-title h2::before {
  content: none;
}

.hero-kicker::after {
  width: 28px;
  height: 2px;
  background: var(--coral);
  content: "";
}

.hero-main h1 {
  max-width: 720px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-main p {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.65;
}

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

.button,
.segment,
.feed-tab,
.copy-chip,
.dialog-close,
.open-game,
.watch-game {
  border-radius: 7px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 720;
  text-transform: none;
}

.button {
  min-height: 48px;
  padding: 11px 17px;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #0a1408;
  box-shadow: 0 10px 26px rgba(143, 242, 74, 0.16);
}

.button.primary:hover {
  background: var(--green-2);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hero-terminal {
  align-self: center;
  width: 100%;
  max-width: 470px;
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(15, 20, 17, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.terminal-head {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-head strong {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 750;
}

.terminal-grid {
  gap: 0;
  margin: 0;
}

.terminal-grid article {
  min-height: 102px;
  padding: 18px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.terminal-grid article:nth-child(2n) {
  border-right: 0;
}

.terminal-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.terminal-grid article > span {
  color: var(--muted);
  font-size: 14px;
}

.terminal-grid strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 720;
}

.terminal-chain {
  gap: 10px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
}

.terminal-chain .copy-chip {
  min-width: 0;
  min-height: 40px;
  overflow: hidden;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ticker {
  display: none;
}

.integrity-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  gap: 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.integrity-card {
  min-height: 132px;
  padding: 28px 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.integrity-card:last-child {
  border-right: 0;
}

.integrity-card span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.integrity-card strong {
  margin-top: 7px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
}

.integrity-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  padding-top: 76px;
  padding-bottom: 76px;
}

.discover-section {
  padding-top: 82px;
}

.section-title,
.section-title.compact {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-title .eyebrow {
  font-size: 12px;
}

.section-title .eyebrow::after {
  width: 30px;
  opacity: 0.58;
}

.section-title h2 {
  max-width: 760px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-title p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.tool-row,
.signal-toolbar,
.review-toolbar {
  gap: 16px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.tool-row {
  grid-template-columns: minmax(260px, 1fr) auto minmax(170px, 0.34fr) minmax(190px, 0.38fr);
}

.field {
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 680;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 11px 13px;
  border-color: var(--line-strong);
  border-radius: 8px;
  background: #0d120f;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #727d75;
}

.segmented,
.feed-tabs {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.segment,
.feed-tab {
  min-height: 40px;
  padding: 8px 11px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}

.segment.is-active,
.feed-tab.is-active {
  border: 0;
  background: rgba(143, 242, 74, 0.14);
  color: var(--green-2);
}

.discover-section .game-grid,
.game-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 24px;
  margin-top: 26px;
}

.discover-section .game-card,
.game-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 242, 74, 0.36);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.game-card .game-thumb,
.game-dialog .game-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.game-thumb-image > img {
  filter: saturate(0.9) contrast(1.03);
}

.game-thumb-overlay {
  right: 20px;
  bottom: 18px;
  left: 20px;
}

.game-thumb-image .game-thumb-token {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 740;
}

.game-thumb-image .game-thumb-genre {
  padding: 6px 9px;
  border-radius: 6px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 650;
}

.discover-section .game-body,
.game-body {
  gap: 16px;
  padding: 22px;
}

.discover-section .game-topline h3,
.game-topline h3 {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 720;
  line-height: 1.2;
}

.discover-section .game-card .card-meta {
  display: none;
}

.game-body > p {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.status-pill,
.tag,
.risk-pill,
.event-type,
.score-chip {
  min-height: 30px;
  padding: 5px 9px;
  border-color: var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.game-quick-links {
  gap: 8px;
}

.game-quick-link {
  min-height: 44px;
  padding: 9px;
  border-color: var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.game-quick-link-play {
  border-color: rgba(143, 242, 74, 0.34);
  background: rgba(143, 242, 74, 0.1);
}

.game-market {
  gap: 12px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.game-market-head {
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.game-market-head small {
  color: #78827b;
  font-size: 11px;
}

.game-market-grid {
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.game-market-grid article {
  min-height: 78px;
  padding: 10px 13px;
  border-right: 1px solid var(--line);
  background: transparent;
}

.game-market-grid article:last-child {
  border-right: 0;
}

.game-market-grid article > span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 650;
  text-transform: none;
}

.game-market-grid strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.market-change,
.card-confidence > span:first-child {
  font-family: var(--body);
  font-size: 12px;
}

.card-confidence > span:first-child strong {
  font-family: var(--display);
  font-size: 24px;
}

.game-card-actions {
  gap: 8px;
}

.open-game,
.watch-game {
  min-height: 44px;
  font-size: 13px;
}

.table-wrap,
.profile-shell,
.player-proof-layout,
.hunt-inbox-shell,
.spotlight-board,
.bid-card,
.review-panel,
.review-detail-panel,
.tracker-console,
.collector-strip,
.monitor-card,
.proof-review-card {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: none;
}

.table-wrap {
  overflow: auto;
}

th {
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

td {
  color: var(--soft);
  font-size: 15px;
}

.feed-item {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.feed-item:last-child {
  border-bottom: 0;
}

.feed-item strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}

.feed-item p,
.review-card p,
.monitor-card p,
.proof-review-card p,
.watchlist-item p,
.profile-shell p,
.hunt-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.advanced-drawer {
  width: min(var(--max), calc(100% - 48px));
  margin: 22px auto 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.advanced-drawer[open] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.012);
}

.advanced-drawer summary {
  min-height: 96px;
  padding: 20px 4px;
  border-radius: 0;
}

.drawer-summary-copy {
  gap: 5px;
}

.drawer-summary-copy strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.drawer-summary-copy small {
  color: var(--muted);
  font-size: 15px;
}

.drawer-summary-action {
  color: var(--green-2);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 720;
  text-transform: none;
}

.advanced-drawer .section {
  width: 100%;
  padding-top: 58px;
  padding-bottom: 58px;
}

.moderator-access {
  width: 100%;
  padding: 24px 4px;
  border-bottom-color: var(--line);
}

.moderator-access strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.moderator-access p {
  color: var(--muted);
  font-size: 15px;
}

.tracker-metrics article,
.review-kpis article,
.monitor-kpis article,
.proof-review-kpis article,
.score-grid article,
.player-proof-metrics article {
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.tracker-metrics span,
.review-kpis span,
.monitor-kpis span,
.proof-review-kpis span,
.score-grid span,
.player-proof-metrics span,
.panel-head span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.tracker-metrics strong,
.review-kpis strong,
.monitor-kpis strong,
.proof-review-kpis strong,
.score-grid strong,
.player-proof-metrics strong {
  font-family: var(--display);
  font-size: 29px;
  font-weight: 720;
}

.review-card,
.signal-card,
.scout-card,
.hunt-card,
.watchlist-item {
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
  box-shadow: none;
}

.review-card h3,
.signal-card h3,
.scout-card h3,
.hunt-card h3,
.profile-shell h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.app-footer {
  min-height: 84px;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  border-top-color: var(--line);
  color: var(--muted);
  font-family: var(--body);
  font-size: 14px;
}

.game-dialog {
  border-color: var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

/* Dedicated game page */
.game-detail-page {
  background: var(--page-bg);
  color: var(--page-text);
  font-family: var(--page-body);
  font-size: 17px;
  line-height: 1.62;
}

.game-site-header {
  min-height: 80px;
  padding: 14px max(24px, calc((100vw - var(--page-max)) / 2));
  gap: 28px;
  border-bottom-color: var(--page-line);
  background: rgba(10, 13, 11, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.game-brand {
  gap: 12px;
}

.game-brand-mark {
  width: 44px;
  height: 44px;
  border-color: rgba(143, 242, 74, 0.32);
  border-radius: 8px;
  background: rgba(143, 242, 74, 0.1);
  font-family: var(--page-display);
  font-size: 16px;
}

.game-brand strong {
  font-family: var(--page-display);
  font-size: 19px;
  font-weight: 720;
}

.game-brand small {
  color: var(--page-muted);
  font-family: var(--page-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
}

.game-page-nav {
  gap: 4px;
}

.game-page-nav a,
.game-language button {
  min-height: 42px;
  border-radius: 7px;
  color: var(--page-muted);
  font-family: var(--page-body);
  font-size: 14px;
  font-weight: 680;
  text-transform: none;
}

.game-page-nav a {
  padding: 10px 13px;
}

.game-page-nav a:hover,
.game-language button:hover,
.game-language button.is-active {
  background: rgba(255, 255, 255, 0.055);
  color: var(--page-text);
}

.game-language {
  min-height: 44px;
  padding: 3px;
  border-color: var(--page-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.game-language button {
  min-width: 38px;
  min-height: 36px;
  padding: 7px;
}

.game-language button.is-active {
  background: rgba(143, 242, 74, 0.14);
  color: var(--page-green);
}

.game-profile-hero {
  min-height: 580px;
  background: #0b100c;
}

.game-profile-hero-image {
  filter: saturate(0.9) contrast(1.04);
}

.game-profile-hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 8, 0.96) 0%, rgba(7, 11, 8, 0.7) 48%, rgba(7, 11, 8, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 11, 8, 0.08), rgba(7, 11, 8, 0.86) 98%);
}

.game-profile-hero-content {
  width: min(var(--page-max), calc(100% - 48px));
  padding-top: 110px;
  padding-bottom: 42px;
}

.game-profile-kicker {
  gap: 8px;
}

.game-profile-kicker > span {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 9, 0.58);
  color: var(--page-soft);
  font-family: var(--page-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.game-profile-hero h1 {
  max-width: 860px;
  margin-top: 18px;
  font-family: var(--page-display);
  font-size: 68px;
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: 0;
}

.game-profile-tagline {
  max-width: 680px;
  margin-top: 20px;
  color: var(--page-soft);
  font-size: 19px;
  line-height: 1.6;
}

.game-profile-actions {
  gap: 10px;
  margin-top: 28px;
}

.game-page-button {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 7px;
  background: rgba(8, 12, 9, 0.58);
  color: var(--page-text);
  font-family: var(--page-body);
  font-size: 14px;
  font-weight: 720;
}

.game-page-button.is-primary {
  background: var(--page-green);
  color: #0a1408;
}

.game-hero-snapshot {
  max-width: 780px;
  margin-top: 30px;
  border-top-color: rgba(226, 239, 228, 0.2);
  border-bottom-color: rgba(226, 239, 228, 0.2);
}

.game-hero-snapshot > span {
  min-height: 78px;
  padding: 15px 14px;
  border-right-color: rgba(226, 239, 228, 0.16);
}

.game-hero-snapshot small,
.game-facts span,
.game-detail-market-stats span,
.game-market-source,
.game-contract-row span {
  color: var(--page-muted);
  font-family: var(--page-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.game-hero-snapshot strong {
  overflow: visible;
  font-family: var(--page-display);
  font-size: 18px;
  font-weight: 720;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.game-hero-snapshot > span:nth-child(2) strong {
  font-size: 16px;
  white-space: nowrap;
}

.game-section-nav {
  min-height: 58px;
  padding: 0 max(24px, calc((100vw - var(--page-max)) / 2));
  border-bottom-color: var(--page-line);
  background: rgba(10, 13, 11, 0.96);
}

.game-section-nav a {
  min-height: 58px;
  padding: 18px 14px;
  color: var(--page-muted);
  font-family: var(--page-body);
  font-size: 13px;
  font-weight: 680;
  text-transform: none;
}

.game-page-band {
  padding: 78px 0;
  background: var(--page-bg);
}

.game-page-band:nth-of-type(odd) {
  background: #0d110e;
}

.game-page-inner {
  width: min(var(--page-max), calc(100% - 48px));
}

.game-overview-layout {
  gap: 56px;
}

.game-section-heading > span,
.game-band-title > div > span,
.game-history-copy > span {
  color: var(--page-green);
  font-family: var(--page-body);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.game-section-heading h2,
.game-band-title h2 {
  margin-top: 8px;
  font-family: var(--page-display);
  font-size: 42px;
  font-weight: 730;
  line-height: 1.12;
  letter-spacing: 0;
}

.game-section-heading > p,
.game-band-title > p,
.game-history-copy > p {
  color: var(--page-muted);
  font-size: 17px;
  line-height: 1.68;
}

.game-facts {
  gap: 0;
  padding: 0 0 0 32px;
  border: 0;
  border-left: 1px solid var(--page-line);
  border-radius: 0;
  background: transparent;
}

.game-facts > div {
  min-height: 62px;
  padding: 12px 0;
  border-bottom: 1px solid var(--page-line);
}

.game-facts strong {
  font-family: var(--page-display);
  font-size: 19px;
  font-weight: 700;
}

.game-feature-grid {
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
}

.game-feature {
  min-height: 190px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--page-line);
  border-radius: 0;
  background: transparent;
}

.game-feature:last-child {
  border-right: 0;
}

.game-feature h3,
.game-history-copy h3,
.game-community-panel h3 {
  font-family: var(--page-display);
  font-size: 24px;
  font-weight: 720;
  line-height: 1.25;
}

.game-feature p,
.game-evidence-item p,
.game-community-list article p,
.game-empty-copy {
  color: var(--page-muted);
  font-size: 15px;
  line-height: 1.62;
}

.game-market-band {
  background: #0f1511 !important;
}

.game-band-title {
  gap: 42px;
}

.game-detail-market-stats {
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
}

.game-detail-market-stats article {
  min-height: 112px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--page-line);
  border-radius: 0;
  background: transparent;
}

.game-detail-market-stats article:last-child {
  border-right: 0;
}

.game-detail-market-stats strong {
  font-family: var(--page-display);
  font-size: 30px;
  font-weight: 730;
}

.game-history-layout {
  gap: 36px;
  margin-top: 40px;
}

.game-chart-controls {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--page-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.game-chart-controls button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  font-family: var(--page-body);
  font-size: 13px;
  font-weight: 680;
  text-transform: none;
}

.game-chart-canvas-shell,
.game-community-panel,
.game-contract-row {
  border-color: var(--page-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.game-gallery-grid {
  gap: 14px;
  margin-top: 32px;
}

.game-gallery-item {
  border-color: var(--page-line);
  border-radius: 8px;
}

.game-evidence-list {
  border-top: 1px solid var(--page-line);
}

.game-evidence-item {
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid var(--page-line);
  border-radius: 0;
  background: transparent !important;
}

.game-community-panel {
  padding: 24px;
}

.game-source-grid {
  gap: 12px;
  margin-top: 30px;
}

.game-source-link {
  min-height: 94px;
  padding: 18px;
  border-color: var(--page-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.game-source-link strong {
  font-family: var(--page-display);
  font-size: 19px;
  font-weight: 700;
}

.game-source-link:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 242, 74, 0.36);
  background: rgba(143, 242, 74, 0.055);
}

.game-contract-row {
  margin-top: 22px;
  padding: 18px;
}

.game-contract-row code {
  font-size: 13px;
}

.game-page-footer {
  min-height: 96px;
  padding: 24px max(24px, calc((100vw - var(--page-max)) / 2));
  border-top-color: var(--page-line);
  color: var(--page-muted);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .app-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
  }

  .command-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    padding-top: 72px;
  }

  .hero-main h1 {
    font-size: 56px;
  }

  .hero-terminal {
    max-width: none;
  }

  .tool-row,
  .section-title,
  .section-title.compact {
    grid-template-columns: 1fr;
  }

  .game-overview-layout,
  .game-history-layout,
  .game-trust-layout {
    grid-template-columns: 1fr;
  }

  .game-facts {
    padding: 24px 0 0;
    border-top: 1px solid var(--page-line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body,
  .game-detail-page {
    font-size: 16px;
  }

  .app-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    display: none;
  }

  .wallet-button {
    min-height: 40px;
    max-width: 150px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .language-switch {
    min-height: 40px;
  }

  .language-option {
    min-width: 34px;
    min-height: 32px;
    font-size: 12px;
  }

  .main-nav {
    margin: 0 -16px -10px;
    padding: 6px 16px 10px;
  }

  .main-nav a,
  .main-nav a.nav-operations {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .command-hero {
    gap: 30px;
    padding: 56px 18px 38px;
  }

  .hero-main h1 {
    max-width: 620px;
    font-size: 44px;
    line-height: 1.06;
  }

  .hero-main p {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-terminal {
    display: none;
  }

  .integrity-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }

  .integrity-card {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integrity-card:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 36px);
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .discover-section {
    padding-top: 62px;
  }

  .section-title,
  .section-title.compact {
    gap: 14px;
    margin-bottom: 22px;
  }

  .section-title h2 {
    font-size: 34px;
    line-height: 1.16;
  }

  .section-title p {
    font-size: 15px;
  }

  .tool-row,
  .signal-toolbar,
  .review-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .segmented,
  .feed-tabs {
    flex-wrap: wrap;
  }

  .segment,
  .feed-tab {
    flex: 1 1 auto;
  }

  .discover-section .game-grid,
  .game-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .discover-section .game-body,
  .game-body {
    gap: 13px;
    padding: 18px;
  }

  .discover-section .game-topline h3,
  .game-topline h3 {
    font-size: 25px;
  }

  .game-body > p {
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  .game-card .tag-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .game-card .tag-row::-webkit-scrollbar {
    display: none;
  }

  .game-card .tag {
    flex: 0 0 auto;
  }

  .game-market-head {
    align-items: center;
    flex-direction: row;
  }

  .game-market-head small {
    max-width: 52%;
  }

  .game-quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tool-row .segmented {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tool-row .segmented::-webkit-scrollbar {
    display: none;
  }

  .tool-row .segment {
    flex: 0 0 auto;
  }

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

  .game-market-grid article:nth-child(2) {
    border-right: 0;
  }

  .game-market-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .advanced-drawer {
    width: calc(100% - 36px);
  }

  .advanced-drawer summary {
    align-items: flex-start;
    min-height: 88px;
    padding: 18px 0;
  }

  .drawer-summary-copy small {
    font-size: 14px;
  }

  .moderator-access {
    grid-template-columns: 1fr;
  }

  .app-footer {
    padding: 24px 18px;
    font-size: 13px;
  }

  .game-site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 70px;
    padding: 10px 16px;
  }

  .game-brand-mark {
    width: 40px;
    height: 40px;
  }

  .game-brand strong {
    font-size: 17px;
  }

  .game-brand small,
  .game-page-nav {
    display: none;
  }

  .game-profile-hero {
    min-height: 540px;
  }

  .game-profile-hero-content {
    width: calc(100% - 36px);
    padding-top: 82px;
    padding-bottom: 32px;
  }

  .game-profile-hero h1 {
    font-size: 48px;
    line-height: 1.05;
  }

  .game-profile-tagline {
    font-size: 17px;
  }

  .game-profile-actions {
    align-items: stretch;
  }

  .game-page-button {
    flex: 1 1 180px;
    justify-content: center;
  }

  .game-hero-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-hero-snapshot > span:nth-child(2) {
    border-right: 0;
  }

  .game-hero-snapshot > span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(226, 239, 228, 0.16);
  }

  .game-section-nav {
    justify-content: flex-start;
    padding: 0 16px;
  }

  .game-section-nav a {
    flex: 0 0 auto;
  }

  .game-page-band {
    padding: 58px 0;
  }

  .game-page-inner {
    width: calc(100% - 36px);
  }

  .game-section-heading h2,
  .game-band-title h2 {
    font-size: 34px;
  }

  .game-band-title {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-feature-grid,
  .game-detail-market-stats {
    grid-template-columns: 1fr;
  }

  .game-feature,
  .game-detail-market-stats article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--page-line);
  }

  .game-feature:last-child,
  .game-detail-market-stats article:last-child {
    border-bottom: 0;
  }

  .game-detail-market-stats strong {
    font-size: 27px;
  }

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

  .game-contract-row {
    align-items: stretch;
    flex-direction: column;
  }

  .game-contract-row code {
    overflow-wrap: anywhere;
  }

  .game-page-footer {
    padding: 24px 18px;
  }
}

@media (max-width: 460px) {
  .app-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .language-switch {
    display: none;
  }

  .wallet-button {
    max-width: 132px;
  }

  .hero-main h1 {
    font-size: 40px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    justify-content: center;
    width: 100%;
  }

  .terminal-chain {
    align-items: stretch;
    flex-direction: column;
  }

  .game-profile-hero h1 {
    font-size: 42px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .game-card,
  .game-source-link,
  .game-thumb-image > img {
    transition: none;
  }
}
