:root {
  --bg: #0c1210;
  --bg-2: #121a16;
  --panel: #16201b;
  --panel-2: #1c2a24;
  --line: #2a4036;
  --text: #e8f2e6;
  --muted: #9aafa2;
  --emerald: #3ddc97;
  --emerald-dim: #1e3a2f;
  --gold: #e4b15a;
  --dirt: #8d5a34;
  --danger: #e07a6a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(61, 220, 151, 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(228, 177, 90, 0.07), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--emerald); }
a:hover { color: #8ff0c4; }
.skip-link {
  position: absolute; left: -999px; top: 0;
}
.skip-link:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px; z-index: 9; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 18, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner, .wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); margin-right: auto;
}
.brand img { width: 42px; height: 42px; image-rendering: pixelated; animation: none; transform: none; }
.brand-name {
  font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.04em; line-height: 1.15;
}
.brand-name small { display: block; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.14em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.86rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 0.65rem 1rem; font-weight: 700;
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn-ext {
  background: #1fbf4a; color: #06210f;
  box-shadow: 0 0 0 1px #8dff9a inset;
}
.btn-ext:hover { background: #2fe05c; color: #06210f; }
.btn-gold { background: var(--gold); color: #1a1206; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.menu-btn { display: none; background: var(--panel); color: var(--text); border: 1px solid var(--line); }

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px;
  padding: 36px 0 10px; align-items: center;
}
.eyebrow { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0.2rem 0 0.6rem; }
h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 1.6rem 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 1.1rem 0 0.4rem; }
.lede { font-size: 1.12rem; color: #d5e6d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-shot {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--panel);
}
.hero-shot img { display: block; width: 100%; }
.pick-float { animation: floaty 4.5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0;
}
.spec {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.spec b { display: block; color: var(--emerald); font-family: var(--display); }
.spec span { color: var(--muted); font-size: 0.82rem; }
.specs { animation: pulsebar 5s ease-in-out infinite; }
@keyframes pulsebar { 50% { box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.15); } }

.prose p { margin: 0 0 0.9rem; }
.note, .source-box {
  background: var(--emerald-dim); border-left: 3px solid var(--emerald);
  padding: 12px 14px; border-radius: 0 12px 12px 0; margin: 14px 0;
}
.table-scroll { overflow-x: auto; margin: 12px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px; vertical-align: top; }
th { color: var(--gold); font-weight: 700; }
.tag { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.04em; }

.editorial-shot { margin: 16px 0 22px; }
.editorial-shot.tall { max-width: 280px; }
.editorial-shot img { border-radius: 14px; border: 1px solid var(--line); display: block; width: 100%; height: auto; }
.editorial-shot.tall img { height: 360px; object-fit: cover; object-position: center 12%; }
.editorial-shot figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }
.shot-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
  max-width: 640px;
}
.shot-row .editorial-shot,
.shot-row .editorial-shot.tall { max-width: none; margin: 0; }
.shot-row .editorial-shot.tall img { height: 320px; }
@media (max-width: 640px) {
  .shot-row .editorial-shot.tall img { height: 240px; }
}

.simple-toc-details { margin: 18px 0 8px; }
.simple-toc-details details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
}
.toc-summary { cursor: pointer; font-weight: 800; color: var(--gold); }
.simple-toc-details .toc-list { margin: 10px 0 4px; padding: 0; }
.simple-toc-details .toc-list li {
  display: flex; align-items: flex-start; gap: 0.55rem; list-style: none; margin: 0.25rem 0;
}
.simple-toc-details .toc-list li::before {
  content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: 0.55em;
  border-radius: 50%; position: static; background: var(--emerald);
}
.simple-toc-details .toc-list a { flex: 1 1 auto; min-width: 0; }
.simple-toc-details .toc-list ul { margin: 0; padding: 0; flex: 1 1 auto; }

.card-grid, .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card, .related-card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; text-decoration: none; color: var(--text);
}
.card:hover, .related-card:hover { border-color: var(--emerald); }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; }

.author-box {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px; margin: 28px 0;
}
.author-box img { width: 180px; height: auto; border-radius: 12px; }
.certs { display: flex; gap: 12px; flex-wrap: wrap; }
.certs img { width: 180px; height: auto; border-radius: 8px; }

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 48px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.site-footer a { display: block; margin: 4px 0; }
.risk { color: var(--danger); font-size: 0.88rem; }

.site-sidebar { display: none; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .25s ease; padding: 18px;
  overflow: auto; z-index: 60;
}
#sidebar-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
#sidebar-drawer.open { pointer-events: auto; }
#sidebar-drawer.open .drawer-backdrop { opacity: 1; pointer-events: auto; }
#sidebar-drawer.open .drawer-panel { transform: none; }
.casino-row { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 10px 0; }
.casino-row h3 { margin-top: 0; }

.m-row-actions { display: none; }

@media (max-width: 980px) {
  .hero, .author-box, .footer-grid, .card-grid, .related-grid, .specs { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 16px;
  }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-inner { flex-wrap: nowrap; align-items: center; gap: 8px; min-height: 0; height: 56px; padding: 0; }
  .brand { flex: 1 1 auto; min-width: 0; margin-right: 0; align-items: center; height: 56px; }
  .brand img { width: 32px; height: 32px; flex: 0 0 auto; }
  .brand-name { font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-right { display: none; }
  .m-row-actions {
    display: flex; align-items: center; align-self: center; gap: 8px;
    width: auto; margin: 0; padding: 0; flex: 0 0 auto; height: 56px;
  }
  .m-row-actions .btn, .m-row-actions .menu-btn { height: 36px; padding: 0 12px; align-self: center; }
}
@media (max-width: 640px) {
  .hero, .author-box, .footer-grid, .card-grid, .related-grid, .specs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pick-float, .specs { animation: none; }
  html { scroll-behavior: auto; }
}
