
:root {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --surface2: #e7efe7;
  --ink: #14332c;
  --muted: #52665e;
  --line: #c9d9cf;
  --accent: #206d56;
  --accent2: #b7e2d2;
  --button: #176149;
  --buttonink: #ffffff;
  --radius: 12px;
  --font-heading: Georgia,serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 75px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.skip-link { position: absolute; left: 12px; top: -120px; background: var(--surface); z-index: 100; padding: 12px; }
.skip-link:focus { top: 12px; }
.shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; }
.site-logo { display: inline-flex; align-items: center; width: min(310px, 65vw); }
.site-logo img { display: block; height: 49px; width: 100%; object-fit: contain; object-position: left center; }
.main-nav { display: flex; gap: 18px; font-size: .83rem; font-weight: 750; }
.main-nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { border-color: currentColor; }
.age-pill { white-space: nowrap; border: 1px solid var(--line); padding: 4px 8px; border-radius: 8px; font-size: .72rem; font-weight: 800; }
.hero { padding: 18px 0 8px; }
.kicker { color: var(--accent); font-size: .74rem; font-weight: 850; letter-spacing: .095em; text-transform: uppercase; margin: 0 0 4px; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.65rem, 3.4vw, 2.95rem); line-height: 1.16; max-width: 920px; margin: 4px 0 8px; letter-spacing: -.029em; }
.hero-lead { max-width: 960px; margin: 0 0 10px; font-size: clamp(.91rem, 1.4vw, 1.06rem); line-height: 1.47; color: var(--muted); }
.legal-note { background: var(--surface2); color: var(--ink); border-left: 4px solid var(--accent); padding: 8px 12px; margin: 0 0 10px; font-size: .79rem; line-height: 1.4; }
.legal-note strong { color: var(--accent); }
.listing { padding-bottom: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.section-head h2 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
.section-head span { color: var(--muted); font-size: .74rem; }
.casino-list { display: grid; gap: 10px; }
.casino {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(92px, 150px) minmax(0, 1fr) minmax(135px, 165px);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.casino:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.rank { display: grid; place-items: center; min-width: 29px; height: 29px; font-weight: 850; font-size: .75rem; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
.casino-logo { height: 58px; display: flex; align-items: center; justify-content: center; padding: 5px; border-radius: 10px; background: var(--surface2); }
.casino-logo img { width: auto; max-width: 100%; max-height: 49px; object-fit: contain; }
.offer { min-width: 0; }
.brand-name { margin: 0 0 3px; font-size: 1.02rem; line-height: 1.25; font-weight: 850; }
.offer-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .085em; font-weight: 900; color: var(--accent); }
.offer-value { margin: 1px 0 0; font-weight: 770; font-size: .94rem; line-height: 1.36; overflow-wrap: anywhere; color: var(--ink); }
.offer-min { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.casino-cta { display: grid; place-items: center; min-height: 48px; padding: 10px 12px; background: var(--button); color: var(--buttonink); border-radius: calc(var(--radius) / 2); text-decoration: none; font-size: .85rem; font-weight: 850; text-align: center; line-height: 1.25; transition: filter .15s ease, transform .15s ease; }
.casino-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.disclosure { color: var(--muted); font-size: .78rem; margin: 12px 0 0; }
.article-wrap { padding: 16px 0 44px; display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 27px; }
.article { min-width: 0; }
.article > h2 { padding-top: 16px; margin: 22px 0 12px; font-size: clamp(1.5rem, 2.2vw, 2.13rem); }
.article h3 { font-size: clamp(1.17rem,1.6vw,1.4rem); margin: 22px 0 9px; }
.article h4 { font-size: 1.08rem; margin: 15px 0 6px; }
.article p { margin: 0 0 14px; line-height: 1.78; }
.article .doc-item { position: relative; padding-left: 21px; }
.article .doc-item::before { content: '•'; position: absolute; left: 4px; color: var(--accent); font-weight: 900; }
.table-scroll { margin: 20px 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.table-scroll:focus-visible { outline: 3px solid var(--accent); }
table { border-collapse: collapse; width: 100%; min-width: 590px; font-size: .84rem; }
th,td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: var(--surface2); font-weight: 800; }
.article-nav { position: sticky; align-self: start; top: 16px; padding: 17px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.article-nav h2 { font-size: 1rem; margin: 0 0 10px; }
.article-nav a { display: block; padding: 6px 0; font-size: .81rem; color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-nav a:hover { color: var(--accent); }
.resource-strip { padding: 20px 0; border-top: 1px solid var(--line); }
.resource-strip h2 { font-size: 1rem; margin: 0 0 9px; }
.resource-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.resource-icons img { width: 78px; height: 38px; object-fit: contain; padding: 7px; background: #fff; border: 1px solid #d8dfdc; border-radius: 7px; }
.site-footer { margin-top: 20px; padding: 29px 0 35px; background: var(--surface2); border-top: 1px solid var(--line); font-size: .86rem; }
.site-footer p { margin: 0 0 9px; }
.site-footer a { color: var(--accent); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-small { font-size: .77rem; color: var(--muted); }
a:focus-visible,button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 850px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-nav { position: static; order: -1; }
  .article-nav .toc { columns: 2; }
  .main-nav { gap: 9px; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1160px); }
  .header-row { min-height: 55px; }
  .site-logo { width: 190px; }
  .site-logo img { height: 42px; }
  .main-nav { display: none; }
  .hero { padding: 10px 0 5px; }
  .hero-lead { font-size: .89rem; line-height: 1.39; }
  .legal-note { font-size: .72rem; padding: 6px 9px; }
  .section-head { margin: 0 0 6px; }
  .section-head h2 { font-size: 1.11rem; }
  .section-head span { display: none; }
  .casino { grid-template-columns: 30px 76px minmax(0,1fr); min-height: 105px; gap: 7px; padding: 10px; }
  .casino-logo { height: 55px; padding: 3px; }
  .casino-logo img { max-height: 50px; }
  .brand-name { font-size: .9rem; }
  .offer-label { font-size: .62rem; }
  .offer-value { font-size: .76rem; line-height: 1.25; }
  .offer-min { font-size: .65rem; }
  .rank { min-width: 25px; height: 25px; font-size: .67rem; }
  .casino-cta { grid-column: 2 / -1; min-height: 35px; padding: 7px 8px; font-size: .79rem; }
  .article-nav .toc { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .casino-cta { transition: none; }
}

/* Civic Ledger: organic editorial layout */
.hero { border-bottom: 1px solid var(--line); }
.casino { border-left: 5px solid var(--accent); }
.casino:nth-child(2n) { background: #fbfdf9; }
.article > h2 { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
