:root {
  --display: "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", Consolas, "Courier New", monospace;
  --body: "Segoe UI", Arial, sans-serif;
}

body {
  font-family: var(--body);
}

.brand-copy strong,
.hero-main h1,
.section-title h2,
.game-topline h3,
.profile-preview h3,
.dialog-body h3,
.drawer-summary-copy strong,
.integrity-card strong {
  font-family: var(--display);
  font-weight: 600;
}

.brand-copy small,
.main-nav a,
.language-option,
.wallet-button,
.hero-kicker,
.eyebrow,
.terminal-head strong,
.terminal-chain,
.integrity-card span,
.drawer-summary-action,
.field span,
.status-pill,
.tag,
.risk-pill,
.event-type,
.score-chip,
.button,
.segment,
.feed-tab,
.copy-chip,
.dialog-close {
  font-family: var(--mono);
}

.hero-main h1 {
  font-size: 64px;
  line-height: 0.92;
}

.section-title h2 {
  font-size: 40px;
  line-height: 0.96;
}

@media (max-width: 1040px) {
  .hero-main h1 {
    font-size: 56px;
  }
}

@media (max-width: 720px) {
  .hero-main h1 {
    font-size: 44px;
  }

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

/* Published game cards use first-party media and keep the key destinations visible. */
.discover-section .game-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}

.discover-section .game-card {
  align-content: start;
  background: rgba(15, 20, 17, 0.97);
}

.game-card .game-thumb,
.game-dialog .game-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-top: 0;
}

.game-card .game-thumb-image,
.game-dialog .game-thumb-image {
  display: block;
  background: #0b0f0c;
}

.game-card .game-thumb-image::before,
.game-dialog .game-thumb-image::before {
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(4, 7, 5, 0.82) 100%);
}

.game-card .game-thumb-image::after,
.game-dialog .game-thumb-image::after {
  display: none;
}

.game-thumb-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center);
  transition: transform 240ms ease;
}

.game-card:hover .game-thumb-image > img {
  transform: scale(1.025);
}

.game-thumb-overlay {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
}

.game-thumb-image .game-thumb-token {
  max-width: 66%;
  color: #f4fff2;
  font-size: 27px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
}

.game-thumb-image .game-thumb-genre {
  padding: 5px 7px;
  border: 1px solid rgba(244, 255, 242, 0.25);
  border-radius: 4px;
  background: rgba(4, 7, 5, 0.68);
  color: rgba(244, 255, 242, 0.86);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.game-card .game-thumb-fallback,
.game-dialog .game-thumb-fallback {
  min-height: 150px;
  padding: 16px;
}

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

.discover-section .game-topline h3 {
  font-size: 22px;
  line-height: 1.15;
}

.game-body > p {
  min-height: 4.6em;
  font-size: 15px;
  line-height: 1.55;
}

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

.game-quick-link {
  display: inline-flex;
  min-width: 0;
  min-height: 40px;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 231, 214, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-quick-link > span {
  display: inline-grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 4px;
  background: rgba(212, 231, 214, 0.09);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
}

.game-quick-link:hover,
.game-quick-link:focus-visible {
  border-color: rgba(124, 255, 107, 0.48);
  color: var(--green-2);
}

.game-quick-link-play {
  border-color: rgba(0, 200, 5, 0.55);
  background: var(--green);
  color: #061006;
}

.game-quick-link-play > span {
  background: rgba(6, 16, 6, 0.14);
  color: #061006;
}

.game-quick-link-play:hover,
.game-quick-link-play:focus-visible {
  border-color: var(--green-2);
  background: var(--green-2);
  color: #061006;
}

.game-dialog .game-thumb-dialog {
  width: auto;
  margin: -20px -20px 18px;
  aspect-ratio: 16 / 7;
}

.game-dialog .game-quick-links {
  margin: 14px 0;
}

@media (max-width: 560px) {
  .game-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-body > p {
    min-height: 0;
  }

  .game-dialog .game-thumb-dialog {
    aspect-ratio: 4 / 3;
  }
}

/* Discovery actions stay compact until someone chooses to track a lead. */
.watchlist-bar {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--green);
  background: var(--panel);
}

.watchlist-bar[hidden] {
  display: none;
}

.watchlist-bar > div:first-child {
  display: grid;
  gap: 3px;
}

.watchlist-bar strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.watchlist-bar small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.watchlist-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.watchlist-alerts {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.watchlist-alerts-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.watchlist-alerts-head small {
  color: inherit;
  font: inherit;
}

.watch-alert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.watch-alert,
.watchlist-empty {
  margin: 0;
  padding: 9px 10px;
  border-left: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.watch-alert strong {
  display: block;
  color: var(--text);
  font-size: 12px;
}

.watch-alert p,
.watchlist-empty {
  color: var(--muted);
  font-size: 12px;
}

.watch-alert p {
  margin: 3px 0 0;
}

.watch-alert-high {
  border-color: var(--coral);
}

.watch-alert-watch {
  border-color: var(--amber);
}

.watch-alert-info {
  border-color: var(--cyan);
}

.watchlist-item {
  display: flex;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: #0c110d;
}

.watchlist-open,
.watchlist-remove,
.watch-game {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.watchlist-open {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 32px;
  max-width: 210px;
  padding: 6px 8px;
  text-decoration: none;
}

.watchlist-open span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watchlist-open b {
  color: var(--green-2);
}

.watchlist-remove {
  display: grid;
  place-items: center;
  width: 30px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
}

.watchlist-remove:hover,
.watchlist-open:hover {
  color: var(--green-2);
}

.card-brief {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-left: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.card-brief-playable,
.lead-brief-playable {
  border-color: var(--green);
}

.card-brief-hype,
.lead-brief-hype {
  border-color: var(--cyan);
}

.card-brief-risk,
.lead-brief-risk {
  border-color: var(--coral);
}

.card-brief span,
.card-brief strong {
  font-size: 11px;
}

.card-brief span {
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
}

.card-brief strong {
  color: var(--soft);
  font-weight: 600;
}

.game-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.open-game,
.watch-game {
  min-height: 40px;
  border: 1px solid var(--line-strong);
}

.open-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.watch-game {
  min-width: 102px;
  padding: 8px 10px;
}

.watch-game:hover,
.watch-game.is-tracking {
  border-color: var(--green);
  color: var(--green-2);
}

.watch-game.is-tracking {
  background: rgba(157, 245, 66, 0.1);
}

.lead-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.lead-brief-copy {
  display: grid;
  gap: 10px;
}

.lead-brief-copy > div {
  display: grid;
  gap: 3px;
}

.lead-brief-copy > div > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.lead-brief-copy > div > strong {
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.lead-brief-actions {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px;
}

.lead-brief-actions .button {
  min-height: 40px;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .watchlist-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .watchlist-items {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .lead-brief,
  .lead-brief-actions {
    grid-template-columns: 1fr;
  }

  .lead-brief-actions .button,
  .lead-brief-actions .watch-game {
    width: 100%;
  }

  .watchlist-open {
    max-width: 180px;
  }
}

.wallet-button.is-connected {
  border-color: var(--green);
  color: var(--green-2);
}

.wallet-button.is-wrong-network {
  border-color: var(--coral);
  color: var(--coral);
}

.wallet-button.has-wallet-issue {
  border-color: var(--amber);
  color: var(--amber);
}

.wallet-button.is-wrong-network .wallet-dot {
  background: var(--coral);
  box-shadow: none;
}

.wallet-button.has-wallet-issue .wallet-dot {
  background: var(--amber);
  box-shadow: none;
}

/* Softer visual rhythm for discovery-first scanning. */
:root {
  --radius: 8px;
  --bg: #090c0a;
  --panel: #101512;
  --panel-2: #151b17;
  --panel-3: #1a211c;
  --line: rgba(212, 231, 214, 0.1);
  --line-strong: rgba(212, 231, 214, 0.18);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

body {
  background: var(--bg);
}

.app-header {
  min-height: 70px;
  border-bottom: 1px solid rgba(212, 231, 214, 0.1);
  background: rgba(9, 12, 10, 0.88);
}

.brand-mark,
.language-switch,
.wallet-button,
.button,
.segment,
.feed-tab,
.copy-chip,
.dialog-close,
.open-game,
.watch-game {
  border-radius: 8px;
}

.brand-mark {
  border-color: rgba(0, 200, 5, 0.3);
  background: rgba(0, 200, 5, 0.12);
  color: var(--green-2);
}

.main-nav {
  gap: 4px;
}

.main-nav a {
  border-radius: 6px;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.command-hero {
  min-height: 510px;
  padding-top: 78px;
  padding-bottom: 50px;
}

.hero-art {
  opacity: 0.26;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 12, 10, 0.96) 0%, rgba(9, 12, 10, 0.82) 48%, rgba(9, 12, 10, 0.58) 100%),
    linear-gradient(180deg, rgba(9, 12, 10, 0.12), rgba(9, 12, 10, 0.9) 94%);
}

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

.hero-main p {
  max-width: 560px;
  color: rgba(242, 247, 239, 0.78);
  font-size: 16px;
}

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

.button {
  min-height: 42px;
  padding: 9px 14px;
}

.button.primary {
  box-shadow: 0 8px 22px rgba(0, 200, 5, 0.18);
}

.button.secondary {
  border-color: rgba(212, 231, 214, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.hero-terminal {
  min-height: 0;
  padding: 16px;
  border-color: rgba(212, 231, 214, 0.14);
  background: rgba(13, 18, 15, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.terminal-head {
  padding-bottom: 12px;
}

.terminal-grid {
  gap: 8px;
  margin: 14px 0;
}

.terminal-grid article,
.network-tile {
  min-height: 86px;
  padding: 12px;
  border-color: rgba(212, 231, 214, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.terminal-grid strong {
  font-size: 29px;
}

.terminal-chain {
  padding: 11px;
  border: 1px solid rgba(212, 231, 214, 0.11);
  border-radius: 8px;
}

.hero-ticker {
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-ticker span {
  border-color: rgba(212, 231, 214, 0.1);
  border-radius: 999px;
  background: rgba(9, 12, 10, 0.5);
}

.integrity-strip {
  gap: 8px;
  margin-top: -22px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.integrity-card {
  min-height: 100px;
  border: 1px solid rgba(212, 231, 214, 0.1);
  border-radius: 8px;
  background: rgba(16, 21, 18, 0.96);
}

.integrity-card strong {
  font-size: 18px;
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-title {
  gap: 20px;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 36px;
  line-height: 1;
}

.section-title p {
  color: rgba(202, 209, 199, 0.72);
}

.tool-row,
.signal-toolbar,
.review-toolbar,
.collector-strip {
  border-color: rgba(212, 231, 214, 0.1);
  border-radius: 8px;
  background: rgba(16, 21, 18, 0.72);
}

.field input,
.field select,
.field textarea {
  border-color: rgba(212, 231, 214, 0.13);
  border-radius: 8px;
  background: rgba(7, 10, 8, 0.6);
}

.segment,
.feed-tab {
  min-height: 38px;
  border-color: transparent;
  border-radius: 999px;
  background: transparent;
}

.segment.is-active,
.feed-tab.is-active {
  border-color: transparent;
  background: rgba(0, 200, 5, 0.14);
  color: var(--green-2);
}

.game-grid {
  gap: 16px;
  margin-top: 18px;
}

.game-card {
  min-height: 0;
  border-color: rgba(212, 231, 214, 0.1);
  border-radius: 8px;
  background: rgba(16, 21, 18, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.game-card:hover {
  border-color: rgba(0, 200, 5, 0.36);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.game-thumb {
  min-height: 84px;
  border-bottom: 0;
  border-top: 3px solid var(--accent, var(--green));
  background: #171e19;
}

.game-body {
  gap: 11px;
  padding: 16px;
}

.status-pill,
.tag,
.risk-pill,
.event-type,
.score-chip,
.source-row a,
.source-row span,
.proof-source {
  border-radius: 999px;
}

.status-pill,
.tag,
.risk-pill,
.event-type {
  border-color: rgba(212, 231, 214, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.card-brief,
.lead-brief,
.watchlist-bar,
.watchlist-item,
.watch-alert,
.watchlist-empty {
  border: 1px solid rgba(212, 231, 214, 0.1);
  border-left-width: 1px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.card-brief-playable,
.lead-brief-playable {
  border-color: rgba(0, 200, 5, 0.34);
}

.card-brief-hype,
.lead-brief-hype {
  border-color: rgba(75, 215, 255, 0.34);
}

.card-brief-risk,
.lead-brief-risk,
.watch-alert-high {
  border-color: rgba(255, 109, 90, 0.46);
}

.watchlist-remove {
  border-left-color: rgba(212, 231, 214, 0.1);
}

.watch-game,
.open-game {
  border-color: rgba(212, 231, 214, 0.13);
  background: rgba(255, 255, 255, 0.025);
}

.advanced-drawer {
  border-color: rgba(212, 231, 214, 0.1);
  border-radius: 8px;
  background: rgba(16, 21, 18, 0.66);
}

.advanced-drawer summary {
  min-height: 76px;
  padding: 16px 18px;
}

.table-wrap,
.profile-shell,
.game-dialog {
  border-color: rgba(212, 231, 214, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

@media (max-width: 1040px) {
  .hero-main h1 {
    font-size: 52px;
  }
}

@media (max-width: 720px) {
  .app-header {
    min-height: 64px;
  }

  .command-hero {
    padding-top: 58px;
    padding-bottom: 38px;
  }

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

  .integrity-strip {
    gap: 6px;
    margin-top: -12px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-title h2 {
    font-size: 32px;
  }
}

/* Product detail layer: compact, source-backed visual signals. */
.section-title .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title .eyebrow::after {
  width: 24px;
  height: 1px;
  background: rgba(124, 255, 107, 0.72);
  content: "";
}

.hero-terminal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-terminal::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 31px,
      rgba(212, 231, 214, 0.026) 32px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 31px,
      rgba(212, 231, 214, 0.022) 32px
    );
  content: "";
  pointer-events: none;
}

.terminal-head strong {
  letter-spacing: 0.04em;
}

.terminal-grid article {
  position: relative;
  overflow: hidden;
}

.terminal-grid article::after {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 18px;
  height: 2px;
  background: rgba(124, 255, 107, 0.46);
  content: "";
}

.game-card {
  overflow: hidden;
}

.game-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  padding: 14px 16px;
  background: #151c17;
}

.game-thumb::before {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 8px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 44%);
  content: "";
  pointer-events: none;
}

.game-thumb::after {
  position: absolute;
  right: 16px;
  bottom: 11px;
  left: 16px;
  height: 1px;
  background: rgba(212, 231, 214, 0.14);
  content: "";
}

.game-thumb-token,
.game-thumb-genre {
  position: relative;
  z-index: 1;
}

.game-thumb-token {
  max-width: 70%;
  overflow: hidden;
  color: var(--accent, var(--green-2));
  font-family: var(--display);
  font-size: 31px;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-thumb-genre {
  max-width: 42%;
  overflow: hidden;
  color: rgba(212, 231, 214, 0.6);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.score-line {
  align-items: center;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid rgba(212, 231, 214, 0.09);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
}

.score-line strong {
  color: var(--green-2);
  font-size: 28px;
}

.signal-readout {
  display: grid;
  gap: 8px;
  padding: 10px 11px 11px;
  border: 1px solid rgba(212, 231, 214, 0.09);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.12);
}

.signal-readout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(212, 231, 214, 0.53);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-row {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  color: rgba(212, 231, 214, 0.68);
  font-family: var(--mono);
  font-size: 10px;
}

.signal-row b {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.signal-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(212, 231, 214, 0.1);
}

.signal-track i {
  display: block;
  width: var(--signal);
  height: 100%;
  border-radius: inherit;
  background: var(--green-2);
}

.signal-row-hype .signal-track i {
  background: var(--cyan);
}

.signal-row-onchain .signal-track i {
  background: var(--amber);
}

@media (max-width: 720px) {
  .game-thumb-token {
    font-size: 27px;
  }
}

/* Readability pass: raise operational text without changing the information density. */
body {
  font-size: 16px;
  line-height: 1.5;
}

.main-nav a,
.language-option,
.wallet-button,
.button,
.segment,
.feed-tab {
  font-size: 13px;
}

.hero-kicker,
.eyebrow,
.terminal-head strong,
.terminal-chain,
.integrity-card span,
.field span,
.drawer-summary-action {
  font-size: 11px;
}

.hero-ticker span {
  font-size: 12px;
}

.terminal-grid article > span,
.integrity-card p,
.section-title p,
.drawer-summary-copy small {
  font-size: 14px;
  line-height: 1.5;
}

.game-topline h3 {
  font-size: 20px;
}

.card-meta,
.source-count {
  font-size: 13px;
}

.game-body p {
  font-size: 15px;
  line-height: 1.55;
}

.status-pill,
.tag,
.risk-pill,
.event-type {
  min-height: 28px;
  font-size: 12px;
}

.score-chip {
  min-height: 27px;
  font-size: 11px;
}

.mini-metrics span {
  min-height: 62px;
  font-size: 12px;
}

.mini-metrics b {
  font-size: 16px;
}

.score-line > span {
  font-size: 13px;
}

.card-brief span {
  font-size: 11px;
}

.card-brief strong {
  font-size: 13px;
  line-height: 1.35;
}

.watchlist-bar small,
.watchlist-alerts-head,
.watchlist-open,
.watch-game {
  font-size: 12px;
}

.signal-readout-head {
  font-size: 10px;
}

.signal-row,
.signal-row b {
  font-size: 11px;
}

.field input,
.field select,
.field textarea {
  font-size: 14px;
}

@media (max-width: 720px) {
  .main-nav a,
  .language-option,
  .wallet-button,
  .button,
  .segment,
  .feed-tab {
    font-size: 12px;
  }

  .section-title p,
  .integrity-card p,
  .terminal-grid article > span {
    font-size: 13px;
  }
}

.moderator-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid rgba(212, 231, 214, 0.1);
}

.moderator-access > div:first-child {
  display: grid;
  gap: 4px;
}

.moderator-access strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.moderator-access p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.moderator-access-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.moderator-access-actions .button {
  white-space: nowrap;
}

.moderator-access-actions .button.is-active {
  border-color: rgba(124, 255, 107, 0.46);
  color: var(--green-2);
}

.moderator-access-actions .form-status {
  max-width: 260px;
  color: var(--amber);
  font-size: 12px;
  text-align: right;
}

@media (max-width: 720px) {
  .moderator-access {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .moderator-access-actions {
    justify-items: stretch;
  }

  .moderator-access-actions .button,
  .moderator-access-actions .form-status {
    width: 100%;
    max-width: none;
    text-align: left;
  }
}

.review-card-states,
.review-detail-states {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.review-card-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.review-card-identity code {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
}

.contract-role {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border: 1px solid rgba(212, 231, 214, 0.16);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.contract-role.is-primary {
  border-color: rgba(124, 255, 107, 0.44);
  color: var(--green-2);
}

.contract-role.is-duplicate {
  border-color: rgba(255, 109, 90, 0.48);
  color: var(--coral);
}

.review-card.is-likely-duplicate {
  border-color: rgba(255, 109, 90, 0.24);
}

.editorial-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(212, 231, 214, 0.17);
  border-radius: 999px;
  color: rgba(212, 231, 214, 0.74);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.editorial-source-pending,
.editorial-duplicate {
  border-color: rgba(240, 184, 74, 0.44);
  color: var(--amber);
}

.editorial-rejected {
  border-color: rgba(255, 109, 90, 0.5);
  color: var(--coral);
}

.editorial-analyzed {
  border-color: rgba(75, 215, 255, 0.48);
  color: var(--cyan);
}

.editorial-playable,
.editorial-verified {
  border-color: rgba(124, 255, 107, 0.46);
  color: var(--green-2);
}

.editorial-control {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(170px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(212, 231, 214, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.12);
}

.editorial-control > div {
  display: grid;
  gap: 2px;
}

.editorial-control > div > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.editorial-control > div > strong {
  color: var(--text);
  font-size: 14px;
}

.editorial-control select,
.editorial-control button {
  min-height: 38px;
  border: 1px solid rgba(212, 231, 214, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

.editorial-control select {
  min-width: 0;
  padding: 0 10px;
  color-scheme: dark;
}

.editorial-control select option {
  background: #121813;
  color: #f2f7ef;
}

.editorial-control select option:checked {
  background: #3e7c25;
  color: #ffffff;
}

.editorial-control button {
  padding: 0 12px;
  cursor: pointer;
}

.editorial-control button:hover {
  border-color: var(--green);
  color: var(--green-2);
}

.review-curation-note,
.review-note-field {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(212, 231, 214, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.review-curation-note > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.review-curation-note span,
.review-note-field > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.review-curation-note small {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
}

.review-curation-note p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

.review-note-field textarea {
  width: 100%;
  min-height: 84px;
  padding: 10px;
  border: 1px solid rgba(212, 231, 214, 0.16);
  border-radius: 6px;
  resize: vertical;
  background: #121813;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.review-note-field textarea:focus {
  outline: none;
  border-color: rgba(124, 255, 107, 0.7);
}

.review-access-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(240, 184, 74, 0.28);
  border-radius: 6px;
  background: rgba(240, 184, 74, 0.06);
}

.review-access-callout p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.review-access-callout button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(240, 184, 74, 0.48);
  border-radius: 6px;
  background: transparent;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.review-access-callout button:hover {
  border-color: var(--green);
  color: var(--green-2);
}

.review-duplicate-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(212, 231, 214, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.review-duplicate-callout.is-primary {
  border-color: rgba(124, 255, 107, 0.34);
  background: rgba(0, 200, 5, 0.05);
}

.review-duplicate-callout.is-duplicate {
  border-color: rgba(255, 109, 90, 0.42);
  background: rgba(255, 109, 90, 0.05);
}

.review-duplicate-callout > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.review-duplicate-callout span,
.review-duplicate-callout small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.review-duplicate-callout strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.review-duplicate-callout button {
  min-height: 35px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 109, 90, 0.52);
  border-radius: 6px;
  background: transparent;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.review-duplicate-callout button:hover:not(:disabled) {
  border-color: var(--text);
}

.review-publication {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(212, 231, 214, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.review-publication.is-ready {
  border-color: rgba(124, 255, 107, 0.42);
  background: rgba(0, 200, 5, 0.06);
}

.review-publication.is-live {
  border-color: rgba(75, 215, 255, 0.38);
  background: rgba(75, 215, 255, 0.05);
}

.review-publication > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.review-publication span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.review-publication strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.review-publication.is-ready strong {
  color: var(--green-2);
}

.review-publication.is-live strong {
  color: var(--cyan);
}

.review-publication button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(124, 255, 107, 0.48);
  border-radius: 6px;
  background: transparent;
  color: var(--green-2);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.review-publication.is-live button {
  border-color: rgba(255, 109, 90, 0.48);
  color: var(--coral);
}

.review-publication button:hover:not(:disabled) {
  border-color: var(--text);
}

.editorial-control select:disabled,
.editorial-control button:disabled,
.review-actions button:disabled,
.review-note-field textarea:disabled,
.review-publication button:disabled,
.review-duplicate-callout button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@media (max-width: 720px) {
  .review-card-states,
  .review-detail-states {
    justify-content: flex-start;
  }

  .editorial-control {
    grid-template-columns: 1fr;
  }
}

/* Public cards prioritize live market context; deeper scoring stays in the analysis view. */
.game-market {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(212, 231, 214, 0.12);
  border-radius: 7px;
  background: rgba(3, 7, 4, 0.34);
}

.game-market-head {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.game-market-head > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.game-market-head > span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 200, 5, 0.12);
  content: "";
}

.game-market-head small {
  overflow: hidden;
  color: rgba(212, 231, 214, 0.48);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(212, 231, 214, 0.09);
  border-radius: 5px;
  background: rgba(212, 231, 214, 0.09);
}

.game-market-grid article {
  display: grid;
  min-width: 0;
  min-height: 68px;
  gap: 4px;
  align-content: center;
  padding: 9px;
  background: #0f1511;
}

.game-market-grid article > span {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-market-grid strong {
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-change {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.market-change.is-positive {
  color: var(--green-2);
}

.market-change.is-negative {
  color: var(--coral);
}

.card-confidence {
  display: flex;
  min-height: 38px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.card-confidence > span:first-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.card-confidence > span:first-child strong {
  margin-left: 4px;
  color: var(--green-2);
  font-family: var(--display);
  font-size: 22px;
}

.game-dialog .game-market {
  margin: 16px 0;
}

.game-dialog .game-market-grid strong {
  font-size: 17px;
}

@media (max-width: 760px) {
  .game-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-market-grid article {
    min-height: 64px;
  }
}

@media (max-width: 420px) {
  .game-market-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-market-grid strong {
    font-size: 14px;
  }
}

.market-history {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(212, 231, 214, 0.12);
  border-radius: 7px;
  background: rgba(8, 13, 9, 0.72);
}

.market-history-head {
  display: flex;
  min-width: 0;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.market-history-head > div {
  display: grid;
  gap: 4px;
}

.market-history-head h4 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

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

.history-sample-count {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid rgba(212, 231, 214, 0.13);
  border-radius: 5px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
}

.history-metrics {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 390px);
  padding: 4px;
  border: 1px solid rgba(212, 231, 214, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}

.history-metric {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}

.history-metric:hover,
.history-metric:focus-visible {
  color: var(--text);
}

.history-metric.is-active {
  border-color: rgba(124, 255, 107, 0.28);
  background: rgba(0, 200, 5, 0.11);
  color: var(--green-2);
}

.market-chart-shell {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(212, 231, 214, 0.08);
  border-radius: 6px;
  background: #0d120f;
}

.market-chart-shell canvas {
  display: block;
  max-width: 100%;
}

.market-chart-message {
  position: absolute;
  right: 16px;
  bottom: 12px;
  left: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.market-history-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.market-history-range strong {
  margin-left: 4px;
  color: var(--text);
  font-size: 12px;
}

@media (max-width: 560px) {
  .market-history {
    padding: 11px;
  }

  .market-history-head {
    flex-direction: column;
  }

  .history-metrics {
    width: 100%;
  }

  .history-metric {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
