/* texasholdembot.com — operator-handbook overlay on NES.css */
:root {
  --felt: #1a3a2a;
  --felt-dark: #0f2418;
  --felt-light: #285a3e;
  --gold: #e6b94a;
  --red: #c0392b;
  --chalk: #f3ecd2;
  --mono: 'Courier New', Courier, monospace;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--felt-dark);
  color: var(--chalk);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.65;
}

/* keep NES.css headings + UI in Press Start 2P, body in mono */
h1, h2, h3, h4, .nes-btn, .nes-badge, .nes-text, .scorecard th, .menu a {
  font-family: 'Press Start 2P', cursive;
}
h1 { font-size: 22px; line-height: 1.4; color: var(--gold); }
h2 { font-size: 16px; line-height: 1.5; color: var(--gold); margin-top: 2.5rem; }
h3 { font-size: 13px; line-height: 1.5; color: var(--chalk); margin-top: 1.6rem; }

a { color: var(--gold); text-decoration: underline; }
a:hover { color: #fff; }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3rem;
}

/* header bar — game menu screen */
.topbar {
  background: var(--felt);
  border-bottom: 4px solid var(--gold);
  padding: 0.9rem 1rem;
}
.topbar-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand {
  font-family: 'Press Start 2P', cursive;
  color: var(--gold);
  font-size: 13px;
  text-decoration: none;
}
.brand:hover { color: #fff; }

.menu {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.menu a {
  color: var(--chalk);
  font-size: 9px;
  text-decoration: none;
}
.menu a:hover { color: var(--gold); }

.cta-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.nes-btn.is-warning {
  font-size: 10px;
}

/* hero/banner */
.hero {
  background: var(--felt);
  border: 4px solid var(--gold);
  padding: 1.6rem 1.4rem;
  margin: 1.4rem 0 1.8rem;
}
.hero p.lede {
  font-size: 16px;
  line-height: 1.7;
}

/* score-card table */
.scorecard {
  width: 100%;
  border-collapse: collapse;
  background: var(--felt);
  border: 4px solid var(--chalk);
  margin: 1.4rem 0;
  font-family: var(--mono);
  font-size: 14px;
}
.scorecard th, .scorecard td {
  border: 2px solid var(--felt-light);
  padding: 0.55rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.scorecard th {
  background: var(--felt-dark);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
}
.scorecard tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

.nes-container {
  background: var(--felt) !important;
  color: var(--chalk) !important;
}
.nes-container.is-dark {
  background: var(--felt-dark) !important;
}
.nes-container.with-title > .title {
  background: var(--felt-dark) !important;
  color: var(--gold) !important;
  font-size: 11px;
}

.nes-balloon {
  background: var(--felt) !important;
  color: var(--chalk) !important;
}

.callout {
  border-left: 6px solid var(--red);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1.2rem 0;
  color: var(--chalk);
  background: rgba(192,57,43,0.08);
}

ul, ol { padding-left: 1.4rem; }
li { margin: 0.35rem 0; }

footer.site-footer {
  border-top: 4px solid var(--gold);
  background: var(--felt);
  margin-top: 3rem;
  padding: 1.4rem 1rem;
  font-size: 12px;
  color: var(--chalk);
}
footer .wrap { padding: 0; }
footer a { color: var(--gold); }

.crumbs {
  font-size: 11px;
  color: #b8b08a;
  margin: 0.4rem 0 1rem;
  font-family: var(--mono);
}
.crumbs a { color: var(--gold); }

/* mobile */
@media (max-width: 620px) {
  body { font-size: 14px; }
  h1 { font-size: 17px; }
  h2 { font-size: 13px; }
  h3 { font-size: 11px; }
  .topbar-inner { flex-direction: column; align-items: stretch; }
  .brand { font-size: 11px; text-align: center; }
  .menu { justify-content: center; font-size: 8px; }
  .cta-row { width: 100%; }
  .cta-row .nes-btn { width: 100%; display: block; }
  .scorecard { font-size: 12px; }
  .scorecard th, .scorecard td { padding: 0.4rem 0.5rem; }
  .hero { padding: 1.1rem 0.9rem; }
}
