@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --bg: #09090b;
  --panel: #141418;
  --ink: #f6f0e4;
  --muted: #b8b0a2;
  --gold: #d4a017;
  --gold2: #f0c85a;
  --line: rgba(246,240,228,.12);
  --display: "Oswald", sans-serif;
  --body: "Source Sans 3", sans-serif;
  --wrap: min(1400px, calc(100% - 2.5rem));
  --prose: min(1280px, 100%);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(212,160,23,.08) 0 8px, transparent 8px),
    radial-gradient(1000px 500px at 90% -10%, rgba(212,160,23,.2), transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold2); }
a:hover { color: #fff; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--gold); color: #000; padding: .5rem 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,9,11,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand-logo { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem;
}
.brand-tag { font-size: .72rem; color: var(--muted); max-width: 28ch; }
.site-nav { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.site-nav a {
  color: var(--muted); text-decoration: none; text-transform: uppercase;
  letter-spacing: .08em; font-size: .75rem; font-weight: 700;
}
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--gold); }
.nav-toggle {
  display: none; background: transparent; color: var(--ink);
  border: 1px solid var(--line); padding: .45rem .8rem; font: inherit; cursor: pointer;
}

.hero, .page-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, #1b140c 0%, #0b0b0e 48%, #22180c 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner { padding: 5rem 0 3.8rem; }
.page-hero .hero-inner { padding: 3.2rem 0 2.4rem; }
.eyebrow {
  color: var(--gold); text-transform: uppercase; letter-spacing: .2em;
  font-size: .72rem; font-weight: 700; margin: 0 0 .85rem;
}
.hero h1, .page-hero h1 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: .95; margin: 0 0 1rem;
  max-width: 11ch;
}
.lede { color: var(--muted); font-size: 1.15rem; max-width: 40ch; margin: 0; }

.site-main { padding: 2.8rem 0 4.5rem; }
.cinema-frame {
  display: flex; justify-content: center;
}
.content-panel {
  width: var(--prose);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.prose { font-size: 1.06rem; color: #ebe3d6; }
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.15; margin: 2rem 0 .8rem;
}
.prose h1 { font-size: 2rem; color: #fff; }
.prose h2 { font-size: 1.45rem; color: var(--gold2); }
.prose h3 { font-size: 1.15rem; color: #fff; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose img { margin: 1.3rem 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.prose th { color: var(--gold2); }

.site-footer {
  background: #050506;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem;
  padding: 2.8rem 0 1.8rem;
}
.footer-brand { display: flex; gap: 1rem; }
.footer-brand strong {
  display: block; color: var(--gold); font-family: var(--display);
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem;
}
.footer-brand p, .footer-note p { margin: .4rem 0 0; }
.footer-label {
  margin: 0 0 .7rem; color: var(--gold2); text-transform: uppercase;
  letter-spacing: .14em; font-size: .68rem; font-weight: 700;
}
.footer-links nav { display: grid; gap: .4rem; }
.footer-links a { color: #e8e0d2; text-decoration: none; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 1rem 0 1.4rem; font-size: .85rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; }
  .site-nav.is-open { display: flex; }
  .brand-tag { display: none; }
}
@media (max-width: 560px) {
  :root { --wrap: min(1400px, calc(100% - 1.2rem)); }
  .hero-inner { padding: 3.2rem 0 2.5rem; }
}
/* === FIX: short brand + working footer === */

.site-footer {
  position: relative;
  z-index: 5;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2.2rem 0 1.4rem;
}
.footer-brand { display: flex; }
.footer-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.footer-home strong { font-size: 1.15rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  transition: background .15s ease, transform .15s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0 1.35rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.brand-tag { display: none !important; }
.footer-links a{border-color:rgba(212,160,23,.35);color:var(--gold2)!important;}
.footer-links a:hover{background:rgba(212,160,23,.18);}
.brand-name{font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;}
/* === POLISH V2 === */

/* polish v2 */
:root { --prose: min(1280px, 100%) !important; }
.site-main .wrap,
.literary,
.cinema-frame {
  display: flex !important;
  justify-content: center;
  width: var(--wrap);
  margin-inline: auto;
}
.shell {
  width: var(--wrap);
  margin-inline: auto;
}
.content-panel,
.prose.content-panel,
.care-card {
  width: min(960px, 100%) !important;
  max-width: 1280px !important;
  margin-inline: auto;
}
.prose { font-size: 1.1rem; }
.prose h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 1rem; line-height: 1.2; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2rem 0 .85rem; line-height: 1.25; }
.prose h3 { font-size: 1.22rem; margin: 1.5rem 0 .65rem; }
.prose p, .prose li { line-height: 1.75; }
.prose ul.story-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.prose ul.story-list li { margin: 0; border-bottom: 1px solid rgba(127,127,127,.22); }
.prose ul.story-list a {
  display: block; padding: 1rem .15rem; text-decoration: none; font-weight: 700;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .98rem;
  display: table;
}
.prose th, .prose td {
  border: 1px solid rgba(127,127,127,.28);
  padding: .75rem .9rem;
  text-align: left;
  vertical-align: top;
}
.prose th { font-weight: 700; }
.prose tr:nth-child(even) td { background: rgba(127,127,127,.07); }
.prose blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid currentColor;
}
.prose blockquote cite {
  display: block; margin-top: .55rem; font-style: normal; opacity: .75; font-size: .92rem;
}
.site-footer {
  position: relative !important;
  z-index: 30 !important;
  clear: both;
  margin-top: 2rem;
}
.footer-grid {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 2rem 0 1.25rem !important;
}
.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
}
.footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  padding: .65rem 1.05rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  color: #fff !important;
  background: rgba(255,255,255,.14) !important;
}
.footer-links a:hover { background: rgba(255,255,255,.24) !important; }
.footer-home {
  display: inline-flex !important;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}
.brand-tag, .footer-note, .footer-label { display: none !important; }
@media (max-width: 700px) {
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
.footer-links a{color:#f0c85a!important;border-color:rgba(212,160,23,.5)!important;}
.prose th{color:var(--gold2);}


/* === premium tables v20260721e === */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6rem 0;
  border-radius: 14px;
  border: 1px solid rgba(127,127,127,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.04));
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.table-scroll table {
  margin: 0;
  min-width: 640px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  display: table;
  font-size: .95rem;
}
.prose .table-scroll table,
.prose table.premium,
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.prose th,
.prose td {
  border: none;
  border-bottom: 1px solid rgba(127,127,127,.18);
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: middle;
}
.prose thead th,
.prose tr:first-child th {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(127,127,127,.28);
  background: rgba(127,127,127,.1);
}
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:hover td { background: rgba(127,127,127,.08); }
.prose tr:nth-child(even) td { background: rgba(127,127,127,.04); }

/* Casino offers table */
.table-offers { min-width: 920px !important; }
.casino-cell {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 160px;
}
.casino-logo {
  /* superseded by lists + logo polish */
}
.casino-name { font-weight: 700; line-height: 1.2; }
.payout-pill {
  display: inline-block;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(127,127,127,.14);
  white-space: nowrap;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn-play:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-play:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.theme-hbff .prose thead th,
.theme-hbff .prose tr:first-child th { color: var(--gold2, #e6c36a); background: rgba(212,160,23,.12); }
.theme-hbff .payout-pill { color: #f3e2a8; background: rgba(212,160,23,.16); }
.theme-hbff .btn-play {
  color: #1a1206;
  background: linear-gradient(135deg, #f0d078, #d4a017);
  box-shadow: 0 6px 18px rgba(212,160,23,.28);
}
.theme-hbff .page-hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem) !important;
  line-height: 1.2 !important;
  max-width: none !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .theme-hbff .page-hero h1 {
    white-space: normal;
    font-size: clamp(1.55rem, 4.2vw, 2.1rem) !important;
  }
}
.theme-hbff .page-hero .hero-inner { padding: 2.2rem 0 1.6rem; }
.theme-hbff .table-scroll {
  border-color: rgba(212,160,23,.22);
  background: linear-gradient(180deg, rgba(212,160,23,.06), rgba(0,0,0,.18));
}
.theme-hbff .casino-logo { background: rgba(0,0,0,.35); border-color: rgba(212,160,23,.25); }

/* === wider containers v20260721f === */
:root {
  --wrap: min(1400px, calc(100% - 2.5rem)) !important;
  --prose: min(1280px, 100%) !important;
}
.content-panel,
.prose.content-panel,
.care-card {
  max-width: 1280px !important;
  width: min(1280px, 100%) !important;
}
.cinema-frame,
.site-main .wrap,
.shell.wrap {
  width: var(--wrap) !important;
  max-width: none;
}
.table-offers { min-width: 860px !important; }
@media (max-width: 560px) {
  :root { --wrap: min(1400px, calc(100% - 1.2rem)) !important; }
}


/* === lists + logo polish v20260721h === */
.casino-logo {
  width: 72px !important;
  height: 48px !important;
  object-fit: contain;
  flex: 0 0 auto;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.casino-cell { gap: .9rem; }
.casino-name { font-size: 1.02rem; }

.prose ul,
.prose ol {
  list-style: none;
  padding-left: 0;
  margin: 1.1rem 0 1.4rem;
}
.prose ul > li,
.prose ol > li {
  position: relative;
  margin: 0 0 .7rem;
  padding: .55rem .85rem .55rem 2.35rem;
  border-radius: 10px;
  line-height: 1.55;
  border: 1px solid rgba(127,127,127,.16);
  background: rgba(127,127,127,.05);
}
.prose ul > li::before,
.prose ol > li::before {
  position: absolute;
  left: .75rem;
  top: .72rem;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
}
.prose ul > li::before {
  content: "";
  background: currentColor;
  opacity: .85;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5.1z'/%3E%3C/svg%3E") center / 70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5.1z'/%3E%3C/svg%3E") center / 70% no-repeat;
  background: currentColor;
}
.prose ol { counter-reset: prose-ol; }
.prose ol > li { counter-increment: prose-ol; }
.prose ol > li::before {
  content: counter(prose-ol);
  color: #fff;
  background: currentColor;
  color: #111;
  font-size: .7rem;
}
.prose ul ul > li,
.prose ol ol > li,
.prose ul ol > li,
.prose ol ul > li {
  margin-top: .45rem;
  background: transparent;
  border-style: dashed;
}
.prose ul.story-list > li {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.prose ul.story-list > li::before { display: none; }

.theme-hbff .prose ul > li,
.theme-hbff .prose ol > li {
  border: none;
  background: transparent;
}
.theme-hbff .prose ul > li::before { color: #d4a017; background-color: #d4a017; }
.theme-hbff .prose ol > li::before {
  background: linear-gradient(135deg, #f0d078, #d4a017);
  color: #1a1206;
}

/* === list borderless v20260721j === */
.prose ul > li,
.prose ol > li {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 2.1rem !important;
  padding-top: .2rem !important;
  padding-bottom: .2rem !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}
.prose ul > li::before,
.prose ol > li::before {
  top: .35rem !important;
}

/* === play button no-link v20260721j === */
span.btn-play {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

/* === hbff article TOC v20260721o === */
.theme-hbff.layout-article-toc .shell.wrap {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  width: var(--wrap) !important;
  max-width: none;
}
.theme-hbff.layout-article-toc .side-rail {
  position: sticky;
  top: 1.25rem;
  align-self: start;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1rem .85rem;
  border-radius: 12px;
  background: rgba(212,160,23,.07);
  border: 1px solid rgba(212,160,23,.22);
}
.theme-hbff .rail-title {
  margin: 0 0 .75rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold2, #e6c36a);
}
.theme-hbff .rail-toc {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.theme-hbff .rail-toc a {
  display: block;
  padding: .38rem .5rem;
  border-radius: 8px;
  font-size: .86rem;
  line-height: 1.35;
  text-decoration: none;
  color: #ebe3d6;
  opacity: .88;
  border-left: 2px solid transparent;
}
.theme-hbff .rail-toc a:hover {
  opacity: 1;
  background: rgba(212,160,23,.12);
  border-left-color: var(--gold, #d4a017);
  color: #fff;
}
.theme-hbff .rail-toc a.toc-sub {
  padding-left: 1.05rem;
  font-size: .8rem;
  opacity: .72;
}
.theme-hbff.layout-article-toc .cinema-frame.article-col {
  width: 100%;
  justify-content: stretch;
}
.theme-hbff.layout-article-toc .content-panel {
  width: 100% !important;
  max-width: none !important;
}
.theme-hbff .prose h2[id],
.theme-hbff .prose h3[id] {
  scroll-margin-top: 1.25rem;
}
@media (max-width: 960px) {
  .theme-hbff.layout-article-toc .shell.wrap {
    grid-template-columns: 1fr;
  }
  .theme-hbff.layout-article-toc .side-rail {
    position: relative;
    top: 0;
    max-height: none;
  }
}

/* === themed TOC scroll v20260721p === */
.theme-hbff .side-rail {
  scrollbar-width: thin;
  scrollbar-color: rgba(212,160,23,.55) rgba(255,255,255,.04);
}
.theme-hbff .side-rail::-webkit-scrollbar {
  width: 6px;
}
.theme-hbff .side-rail::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  margin: 6px 0;
}
.theme-hbff .side-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f0d078, #d4a017);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.2);
}
.theme-hbff .side-rail::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe09a, #e0b020);
}

