/* rev-20261013dcls */
#siteChromeStart { display: block; min-height: var(--header-h, 84px); }
:root {
  --bg: #F5F5F7;
  --text: #1A1D26;
  --accent: #064282;
  --cta: #064282;
  --accent-2: #167A45;
  --logo-gold: #D2A41E;
  --terracotta: #C4715A;
  --sand: #E8DCC8;
  --olive: #4F6236;
  --paper: #FFFDF9;
  --line: rgba(26, 29, 38, 0.1);
  --shadow: 0 14px 36px rgba(26, 29, 38, 0.08);
  --display: Georgia, 'Times New Roman', serif;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 113, 90, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(107, 127, 74, 0.1), transparent 50%),
    var(--bg);
  font-family: var(--ui);
  line-height: 1.62;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #043566; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 90;
}
.skip:focus {
  left: 12px;
  background: var(--paper);
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4f28;
  background: var(--sand);
  padding: 6px 16px;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  padding: 10px 16px;
  min-height: var(--header-h);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand,
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  box-shadow: none;
  border: 0;
  flex: 0 0 auto;
}
.brand img,
.footer-brand img {
  width: auto;
  height: clamp(52px, 8vw, 74px);
  max-width: min(14rem, 100%);
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
}
.brand-mark {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 22rem;
  margin: 0 4px 0 2px;
  font-weight: 800;
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--accent);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
@media (max-width: 980px) {
  .brand-mark { display: none; }
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-left: auto;
}
.site-nav a,
.nav-dropdown summary {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 999px;
}
.site-nav a.is-active,
.nav-dropdown summary.is-active {
  background: rgba(6, 66, 130, 0.1);
  color: var(--accent);
}
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}
.nav-dropdown[open] .nav-dropdown__panel { display: flex; }
.nav-dropdown__panel a { border-radius: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 0 rgba(4, 40, 78, 0.35);
}
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}
.header-cta { margin-left: 8px; }

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 72px;
  min-width: 0;
}
/* TOC SSR after hero inside #main — no empty rail (desktop CLS) */
.page:has(#main > #anchorNav) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
}
#main { order: 1; min-width: 0; }
@media (min-width: 981px) {
  #main > #anchorNav.page-toc--mobile {
    display: block;
    margin: 0 0 1.25rem;
    padding: 12px 14px;
    background: var(--paper);
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  #main > #anchorNav.page-toc--mobile .page-toc__links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  #main > #anchorNav.page-toc--mobile .page-toc__link {
    background: var(--bg);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
  }
  #main > #anchorNav.page-toc--mobile .page-toc__dot { display: none; }
}
.page-toc--rail-right,
.anchor-nav.page-toc--rail-right {
  order: 2;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--terracotta);
  background: linear-gradient(90deg, rgba(232, 220, 200, 0.35), transparent);
}
.page-toc__head {
  margin-bottom: 10px;
}
.page-toc__label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
}
.page-toc__hint {
  font-size: 0.78rem;
  color: #3d4454;
}
.page-toc__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  padding: 6px 0;
  opacity: 0.72;
}
.page-toc__link:hover,
.page-toc__link.is-active {
  opacity: 1;
  color: var(--accent);
  font-weight: 600;
}
.page-toc__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.hero-background {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  opacity: 0.92;
}
.hero-glass,
.hero > .kicker,
.hero > h1,
.hero > .lede {
  position: relative;
}
.hero-glass {
  padding: 20px 22px 24px;
  margin-top: -4px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.92), var(--paper));
  border-top: 3px solid var(--terracotta);
}
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d4f28;
  margin: 0 0 8px;
}
.hero h1,
.section h2 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 12px;
}
.lede { margin: 0; max-width: 62ch; }

.section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.section.prose p { margin: 0 0 1em; }

.ranking-block h2 {
  border-bottom: 2px solid var(--sand);
  padding-bottom: 10px;
}
.affiliate-note {
  font-size: 0.85rem;
  color: rgba(26, 29, 38, 0.65);
  margin: 0 0 12px;
}

.rank-cards {
  --rank-ink: var(--accent);
  --rank-star: var(--logo-gold);
  --rank-chip: rgba(6, 66, 130, 0.1);
  --rank-chip-text: #043566;
  --rank-edge: var(--accent);
  --rank-plate: #0b2548;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-card,
.rank-card--row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(9.2rem, 1.05fr) minmax(7.5rem, 1fr) auto minmax(7.2rem, 0.85fr) auto;
  gap: 0.5rem 0.65rem;
  align-items: center;
  padding: 0.7rem 0.85rem 0.7rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--rank-edge);
  box-shadow: var(--shadow);
  min-width: 0;
}
.rank-card__badge {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--rank-ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.rank-card__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.rank-card__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.rank-card__logo,
.rank-card__brand img.rank-card__logo {
  width: 88px;
  height: 48px;
  max-width: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.rank-card__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}
.rank-card__name {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
}
.rank-card__stars {
  display: flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.rank-card__star { color: #d5d8de; font-size: 0.85rem; }
.rank-card__star.is-on { color: var(--rank-star); }
.rank-card__score { display: none; }
.rank-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.3rem;
  min-width: 0;
}
.rank-card__features li {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--rank-chip);
  color: var(--rank-chip-text);
}
.rank-card__pays {
  display: grid;
  grid-template-columns: repeat(2, 2.85rem);
  gap: 0.28rem;
  align-content: center;
  justify-content: center;
}
.rank-card__pays img {
  display: block;
  width: 2.85rem;
  height: 1.7rem;
  max-width: 2.85rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
}
.rank-card__bonus {
  margin: 0;
  min-width: 0;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.rank-card__bonus-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4454;
  margin-bottom: 0.12rem;
}
.rank-card__facts { display: none; }
.rank-card__cta {
  justify-self: end;
  align-self: center;
}
.rank-card__cta .btn-play {
  border-radius: 999px;
  white-space: nowrap;
  min-width: 5.5rem;
  padding: 0.65rem 1.15rem;
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 0 rgba(4, 40, 78, 0.35);
}
.btn-play {
  white-space: nowrap;
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 0 rgba(4, 40, 78, 0.35);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.pay-table th,
.pay-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.pay-table th {
  background: var(--sand);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pay-table tr.is-current {
  background: rgba(6, 66, 130, 0.06);
}
.pay-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.pay-method img {
  width: 72px;
  height: 48px;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}
.cell-good { color: var(--accent-2); font-weight: 700; }
.cell-good::before { content: "✓ "; }
.cell-bad { color: #9b1c1c; font-weight: 600; }
.cell-bad::before { content: "– "; }
.cell-mid { color: rgba(26, 29, 38, 0.65); }

.slots-lobby {
  background: #1a2438;
  color: #f5f5f7;
  border-radius: 16px;
  padding: 20px 16px;
}
.slots-lobby h2,
.slots-lobby .kicker,
.slots-lobby p { color: #f5f5f7; }
.slots-lobby__tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 12px 0 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.slots-lobby__tab {
  flex-shrink: 0;
  border: 2px solid var(--logo-gold);
  background: var(--logo-gold);
  color: #1a1d26;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.slots-lobby__tab:hover {
  filter: brightness(1.05);
}
.slots-lobby__tab.is-active {
  background: #fff;
  color: #1a1d26;
  border-color: var(--logo-gold);
  outline: 2px solid var(--logo-gold);
}
.slots-lobby__grid {
  display: grid;
  grid-template-columns: repeat(var(--slot-cols, 3), minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.slot-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.slot-tile__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #0f1524;
}
.slot-tile__name {
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--sand);
  color: #1a1d26;
}

.deposit-steps { margin: 16px 0 8px; max-width: 100%; }
.deposit-steps__rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 12px;
  position: relative;
}
.deposit-steps__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  position: relative;
}
.deposit-steps__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--logo-gold);
  color: #1a1d26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.deposit-steps__item:not(:last-child) .deposit-steps__num::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 50%;
  width: calc(100% + 14px);
  height: 3px;
  background: linear-gradient(90deg, var(--logo-gold), rgba(210, 164, 30, 0.25));
  transform: translateY(-50%);
  z-index: 0;
}
.deposit-steps__card {
  background: var(--paper);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  flex: 1;
}
@media (max-width: 980px) {
  .deposit-steps__rail {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .deposit-steps__item {
    min-width: 200px;
    flex: 0 0 200px;
  }
  .deposit-steps__item:not(:last-child) .deposit-steps__num::after { display: none; }
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  border-top: 3px solid var(--olive);
}
.author-card img {
  border-radius: 50%;
  border: 3px solid var(--sand);
}

.site-footer {
  background: #1A1D26;
  color: #e8eef8;
  padding: 32px 20px;
  margin-top: 24px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.site-footer a { color: #d6e6ff; }
.site-footer .legal {
  font-size: 0.95rem;
  opacity: 1;
  margin-top: 16px;
  color: #e8eef8;
}

.author-profile__head {
  padding: 24px 22px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.author-profile__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
}
.author-profile__photo img {
  border-radius: 14px;
  border: 3px solid var(--sand);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: var(--shadow);
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ranking-block [data-ranking] {
  min-height: 36rem;
}
@media (max-width: 980px) {
  .ranking-block [data-ranking] {
    min-height: 44rem;
  }
  .page {
    display: block;
    padding-bottom: 48px;
  }
  .page-toc--rail-right { display: none; }
  .page-toc--mobile {
    display: block;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--paper);
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .page-toc--mobile .page-toc__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-toc--mobile .page-toc__link {
    background: var(--bg);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    right: 16px;
    top: calc(var(--header-h) + 8px);
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 55;
  }
  .site-nav.is-open { display: flex; }
  .header-bar { position: relative; flex-wrap: wrap; }
  .rank-cards {
    max-width: 26rem;
    margin-inline: auto;
    gap: 10px;
  }
  .rank-card,
  .rank-card--row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem 0.65rem;
    padding: 0.85rem 0.8rem 0.9rem;
    text-align: center;
  }
  .rank-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 0.7rem;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    color: var(--accent);
    border-radius: 0;
    font-size: 1.05rem;
    z-index: 1;
  }
  .rank-card__badge::before { content: "#"; }
  .rank-card__brand {
    grid-column: 1 / -1;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding-top: 0.15rem;
  }
  .rank-card__logo-link {
    width: 100%;
    background: var(--rank-plate);
    border-color: transparent;
    border-radius: 8px;
    padding: 10px 12px;
  }
  .rank-card__logo,
  .rank-card__brand img.rank-card__logo {
    width: 148px;
    height: 52px;
    max-width: 70%;
    background: #fff;
    border-radius: 4px;
  }
  .rank-card__id { align-items: center; width: 100%; }
  .rank-card__name { width: 100%; text-align: center; }
  .rank-card__stars { justify-content: center; }
  .rank-card__score {
    display: inline;
    margin-left: 0.35rem;
    color: #6b5208;
    font-size: 0.95rem;
  }
  .rank-card__features { display: none; }
  .rank-card__facts {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .rank-card__facts[data-fact-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .rank-card__facts[data-fact-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-card__fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
  }
  .rank-card__fact-label {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(26, 29, 38, 0.72);
  }
  .rank-card__fact strong { font-size: 0.95rem; font-weight: 800; }
  .rank-card__bonus {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    font-size: 0.82rem;
  }
  .rank-card__pays {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
  .rank-card__cta {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: stretch;
    width: 100%;
  }
  .rank-card__cta .btn-play,
  .rank-card__cta .btn {
    width: 100%;
    border-radius: 8px;
  }
}

/* BEGIN author-page-layout */
body[data-page="autor"] .page,
body[data-page^="autor-"] .page {
  display: block;
  grid-template-columns: none;
  max-width: 760px;
  margin-inline: auto;
}
body[data-page="autor"] #anchorNav,
body[data-page^="autor-"] #anchorNav {
  display: none !important;
}
body[data-page="autor"] .author-profile__head h1,
body[data-page="autor"] .author-profile__name,
body[data-page^="autor-"] .author-profile__head h1,
body[data-page^="autor-"] .author-profile__name {
  font-family: var(--ui);
  font-weight: 700;
  color: var(--text);
}
body[data-page="autor"] .brand-mark,
body[data-page^="autor-"] .brand-mark {
  font-family: var(--ui);
}
.author-profile {
  display: grid;
  gap: 1.25rem;
}
.author-profile__head {
  padding: 1.5rem 1.35rem;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 0;
}
.author-profile__head .kicker {
  margin: 0 0 0.35rem;
  color: var(--terracotta);
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.author-profile__head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
}
.author-profile__head .lede {
  margin: 0;
  color: rgba(26, 29, 38, 0.72);
  font-family: var(--ui);
}
.author-profile__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.author-profile__photo {
  margin: 0;
}
.author-profile__photo img {
  display: block;
  border-radius: 14px;
  border: 3px solid var(--sand);
}
.author-profile__role {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 29, 38, 0.55);
  font-family: var(--ui);
}
.author-profile__name {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}
.author-profile__tagline {
  margin: 0 0 0.85rem;
  font-family: var(--ui);
  color: rgba(26, 29, 38, 0.78);
}
.author-profile__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-family: var(--ui);
  font-size: 0.95rem;
}
.author-profile__body {
  padding: 0.25rem 0 0;
}
@media (max-width: 640px) {
  .author-profile__card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .author-profile__facts { justify-items: center; }
}
/* END author-page-layout */

/* BEGIN content-table-ux */
.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-family: var(--ui);
  background: var(--paper);
}
.content-table thead th {
  background: var(--sand);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 2px solid rgba(26, 29, 38, 0.12);
}
.content-table tbody td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.content-table tbody tr:nth-child(even) {
  background: rgba(232, 220, 200, 0.28);
}
.content-table tbody tr:hover {
  background: rgba(6, 66, 130, 0.06);
}
.table-scroll {
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 720px) {
  .content-table.content-table--enhanced thead {
    display: none;
  }
  .content-table.content-table--enhanced tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.5rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
  }
  .content-table.content-table--enhanced tbody td {
    border: 0;
    padding: 0.15rem 0;
    font-size: 0.82rem;
  }
  .content-table.content-table--enhanced tbody td:first-child {
    grid-column: 1 / -1;
    font-weight: 700;
    margin-bottom: 0.15rem;
  }
}
/* END content-table-ux */

/* legal-footer-chrome + footer-all-devices */
.site-footer {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) max(4.5rem, env(safe-area-inset-bottom));
}
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  min-width: 0;
  align-items: start;
}
@media (min-width: 720px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(12rem, 1.35fr) repeat(3, minmax(9rem, 1fr));
  }
}
.site-footer .footer-brand {
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  padding: 0;
  line-height: 0;
}
.site-footer .footer-brand img {
  height: clamp(64px, 10vw, 96px) !important;
  width: auto !important;
  max-width: min(18rem, 100%) !important;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.site-footer .footer-col,
.site-footer .footer-nav,
.site-footer .footer-legal {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.2rem;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  min-width: 0;
  max-width: 100%;
}
.site-footer .footer-col > strong,
.site-footer .footer-nav > strong,
.site-footer .footer-legal > strong {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.site-footer .footer-note,
.site-footer .legal {
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  opacity: 1;
  color: #e8eef8;
}
.site-footer a {
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
  color: #d6e6ff;
}
.site-footer .footer-legal a,
.site-footer .footer-nav a {
  color: #d6e6ff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 719px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer .footer-col--brand {
    grid-column: 1 / -1;
  }
  .site-footer .footer-col--contact {
    grid-column: 1 / -1;
  }
  .site-footer .footer-nav,
  .site-footer .footer-legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 0.75rem;
    align-items: stretch;
  }
  .site-footer .footer-nav > strong,
  .site-footer .footer-legal > strong {
    grid-column: 1 / -1;
  }
  .site-footer a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .site-footer .footer-brand img {
    height: clamp(56px, 16vw, 84px) !important;
  }
}

/* BEGIN legal-page-layout */
body[data-legal-page="true"] .page {
  display: block;
  grid-template-columns: none;
  width: 100%;
  max-width: min(1240px, 100%);
  margin-inline: auto;
  box-sizing: border-box;
  min-width: 0;
}
body[data-legal-page="true"] .page > main,
body[data-legal-page="true"] .page > #main {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
}
body[data-legal-page="true"] .content-layout--legal {
  display: block;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  box-sizing: border-box;
  padding: 2.5rem var(--edge, clamp(1.25rem, 4vw, 3rem)) 4rem;
}
/* TOC-shell sites: `.page` already has ~24px side pad — keep a modest extra
   so hero/prose match commercial `.hero { padding: 48px }` rhythm. */
body[data-legal-page="true"] .page .content-layout--legal {
  padding-left: var(--legal-edge, 1.5rem);
  padding-right: var(--legal-edge, 1.5rem);
}
body[data-legal-page="true"] .hero {
  padding: clamp(3.5rem, 8vw, 7rem) var(--edge, clamp(1.25rem, 4vw, 3rem)) clamp(2.4rem, 5vw, 4rem);
  box-sizing: border-box;
}
body[data-legal-page="true"] .page > main > .hero,
body[data-legal-page="true"] .page > #main > .hero {
  padding-left: var(--legal-edge, 1.5rem);
  padding-right: var(--legal-edge, 1.5rem);
}
body[data-legal-page="true"] .hero h1 {
  max-width: min(22ch, 100%);
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}
body[data-legal-page="true"] .hero .eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green, #0d7c3a);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body[data-legal-page="true"] .hero > p {
  max-width: 48rem;
  color: var(--muted, #5d6f63);
}
body[data-legal-page="true"] .article > .section.prose,
body[data-legal-page="true"] main > .section.prose {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
  max-width: 48rem;
}
body[data-legal-page="true"] .section.prose h2 {
  margin: 0 0 1rem;
  color: var(--ink, #173523);
}
body[data-legal-page="true"] .section.prose h3 {
  margin: 1.6rem 0 0.75rem;
}
body[data-legal-page="true"] .section.prose p,
body[data-legal-page="true"] .section.prose li {
  overflow-wrap: break-word;
  color: var(--ink, #173523);
}
body[data-legal-page="true"] .section.prose a {
  color: var(--green-deep, #07572a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
body[data-legal-page="true"] .legal-back {
  margin-top: 1.5rem;
}
/* END legal-page-layout */
