/* HeavyBet article styles. Wrap page copy in <article class="hb-article">. */
.hb-article {
  --hb-ink: #f7f7f7;
  --hb-copy: #cbd1d9;
  --hb-muted: #a5aebc;
  --hb-line: #3a414d;
  --hb-panel: #1a1e27;
  --hb-panel-alt: #222731;
  --hb-accent: #ff4141;
  box-sizing: border-box;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(22px, 3.5vw, 46px);
  color: var(--hb-copy);
  background: #141820;
  border: 1px solid #333a46;
  border-radius: 14px;
  font: 400 16px/1.72 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  overflow-wrap: break-word;
}
.hb-article *, .hb-article *::before, .hb-article *::after { box-sizing: border-box; }
.hb-article > :first-child { margin-top: 0; }
.hb-article > :last-child { margin-bottom: 0; }
.hb-article p { margin: 0 0 18px; }
.hb-article strong { color: var(--hb-ink); font-weight: 700; }
.hb-article a { color: #ff9292; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hb-article a:hover { color: #ffc3c3; }
.hb-article :is(h1, h2, h3) {
  color: var(--hb-ink);
  font-family: inherit;
  font-style: normal;
  text-transform: none;
  letter-spacing: -.025em;
}
.hb-article h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.14;
}
.hb-article h2 {
  position: relative;
  margin: 44px 0 18px;
  padding: 0 0 0 18px;
  border: 0;
  background: transparent;
  font-size: clamp(23px, 2.45vw, 30px);
  font-weight: 750;
  line-height: 1.25;
}
.hb-article h2::before {
  content: "";
  position: absolute;
  top: .16em;
  bottom: .16em;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--hb-accent);
}
.hb-article h3 {
  margin: 28px 0 11px;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 700;
  line-height: 1.35;
}
.hb-article :is(ul, ol) { margin: 0 0 22px; padding-left: 1.35em; }
.hb-article li { padding-left: .15em; margin: 0 0 9px; }
.hb-article li::marker { color: var(--hb-accent); }

/* Wrap each table in <div class="hb-table-wrap"> to enable mobile scrolling. */
.hb-article .hb-table-wrap {
  max-width: 100%;
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--hb-line);
  border-radius: 9px;
  scrollbar-color: #5b6470 transparent;
}
.hb-article .hb-table-wrap table {
  width: 100%;
  min-width: 540px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: var(--hb-panel);
  color: var(--hb-copy);
  table-layout: auto;
}
.hb-article .hb-table-wrap :is(th, td) {
  padding: 11px 15px;
  border: 0;
  border-bottom: 1px solid var(--hb-line);
  font-size: 14px;
  line-height: 1.48;
  text-align: left;
  vertical-align: top;
}
.hb-article .hb-table-wrap th { color: var(--hb-ink); font-weight: 700; }
.hb-article .hb-table-wrap thead th {
  background: #2a303b;
  color: #fff;
  white-space: normal;
}
.hb-article .hb-table-wrap tbody tr:nth-child(even) { background: var(--hb-panel-alt); }
.hb-article .hb-table-wrap tr:last-child > * { border-bottom: 0; }
.hb-article .hb-table-wrap :is(th, td):not(:last-child) { border-right: 1px solid #333a46; }
.hb-article .hb-table-wrap td[align="right"],
.hb-article .hb-table-wrap th[align="right"] { text-align: right; white-space: nowrap; }

/* FAQ uses native <details> and <summary>; no script required. */
.hb-article .hb-faq { display: grid; gap: 9px; margin: 21px 0 8px; }
.hb-article .hb-faq details {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 9px;
  background: var(--hb-panel);
}
.hb-article .hb-faq details[open] { border-color: #aa4b50; }
.hb-article .hb-faq summary {
  position: relative;
  display: block;
  padding: 16px 47px 16px 18px;
  cursor: pointer;
  list-style: none;
}
.hb-article .hb-faq summary::-webkit-details-marker { display: none; }
.hb-article .hb-faq summary::marker { content: ""; }
.hb-article .hb-faq summary:hover { background: #262d37; }
.hb-article .hb-faq summary::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 21px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--hb-accent);
  border-bottom: 2px solid var(--hb-accent);
  transform: rotate(45deg);
}
.hb-article .hb-faq details[open] summary::after { top: calc(50% - 1px); transform: rotate(225deg); }
.hb-article .hb-faq summary h3 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hb-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}
.hb-article .hb-faq-answer {
  padding: 0 18px 17px;
  color: var(--hb-copy);
  font-size: 15px;
  line-height: 1.62;
}
.hb-article .hb-faq-answer > :last-child { margin-bottom: 0; }
.hb-article :is(a, summary):focus-visible { outline: 3px solid #ff4141; outline-offset: 3px; }

@media (max-width: 640px) {
  .hb-article { padding: 23px 17px; border-radius: 9px; font-size: 15px; }
  .hb-article h1 { font-size: clamp(29px, 8vw, 35px); }
  .hb-article h2 { margin-top: 36px; padding-left: 14px; font-size: 23px; }
  .hb-article h3 { font-size: 18px; }
  .hb-article .hb-table-wrap { margin: 20px 0 25px; }
  .hb-article .hb-table-wrap :is(th, td) { padding: 9px 11px; font-size: 13px; }
  .hb-article .hb-faq summary { padding: 14px 42px 14px 14px; }
  .hb-article .hb-faq summary h3 { font-size: 15px; }
  .hb-article .hb-faq-answer { padding: 0 14px 15px; font-size: 14px; }
}

/* Match the darker official HeavyBet surfaces. */
.hb-article { --hb-panel:#191b20; --hb-panel-alt:#222429; --hb-line:#383a40; background:#121419; border-color:#33363c; }
.hb-article .hb-table-wrap thead th { background:#2b2d32; }
.hb-article .hb-faq summary:hover { background:#292b30; }
