/* Rising Poker Stars — shared styles (editorial redesign, Oct 2026)
   Palette: navy ink, felt green, gold, cream. Type: Fraunces (display) + Inter (text).
   Source of truth: poker-site-build/site.css (copied by build.py). Motion: gentle hover only,
   removed entirely for reduced-motion users. Every image slot has a gradient fallback. */
:root {
  --ink: #0e1a2b;
  --ink-2: #172a42;
  --ink-3: #08111d;
  --felt: #0d4a36;
  --felt-2: #11634a;
  --felt-3: #08321f;
  --gold: #d4a63a;
  --gold-light: #e8c46a;
  --gold-deep: #8a6414;
  --cream: #faf6ec;
  --cream-2: #f2ecdd;
  --paper: #ffffff;
  --text: #17202c;
  --muted: #4a5565;
  --line: #e4dccb;
  --line-2: #d6ccb6;
  --red: #b3262e;
  --on-dark: #e8edf5;
  --on-dark-muted: #b4c0cf;
  --dark-line: rgba(255, 255, 255, .14);
  --focus: var(--felt);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1180px;
  --read: 720px;
  --shadow: 0 1px 2px rgba(14,26,43,.05), 0 10px 30px rgba(14,26,43,.08);
  --shadow-lg: 0 2px 4px rgba(14,26,43,.06), 0 18px 44px rgba(14,26,43,.16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--felt); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--felt-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site-header, .hero, .banner, .article-hero, .site-footer, .section--felt, .section--ink, .takeaways { --focus: var(--gold-light); }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--ink); letter-spacing: -.015em; font-weight: 600; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.4rem); margin: .15em 0 .45em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 2.4rem 0 .7rem; }
h3 { font-size: 1.2rem; margin: 1.4rem 0 .45rem; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: var(--read); }
.small { font-size: .9rem; }
.gold { color: var(--gold); font-style: italic; font-weight: 500; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* suits */
.suit, .brand-suit, .fsuit, .eyebrow-suit, .key-suit, .offer-suit, .pc-suit, .art-suit, .yt-icon, .yt-mini, .badge-icon, .meta-icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.12em; flex: none; }
.suit--heart, .suit--diamond { color: var(--red); }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: #fff; border-bottom: 1px solid var(--dark-line); position: relative; z-index: 10; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: .7; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 68px; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, var(--gold-deep)); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); flex: none; }
.brand-suit { font-size: 1.2rem; vertical-align: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-name span { color: var(--gold); }
.brand-tag { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: .3rem; }
.nav-toggle { display: none; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .2rem; }
.nav a { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .93rem; padding: .5rem .7rem; border-radius: 8px; transition: background-color .15s ease, color .15s ease; }
.nav a:hover { background: var(--ink-2); color: #fff; }
.nav a[aria-current="page"] { color: var(--gold-light); background: rgba(212,166,58,.1); }
.nav-yt a, .nav-ig a { border: 1px solid rgba(255,255,255,.28); margin-left: .3rem; }
.nav-yt a:hover, .nav-ig a:hover { border-color: var(--gold); }
.yt-mini, .ig-mini { color: var(--gold); }
.ig-mini { width: 1em; height: 1em; fill: currentColor; vertical-align: -.12em; flex: none; }

/* mobile menu (JS only; without JS the nav simply wraps below the brand) */
@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: .5rem .8rem; font: 600 .9rem var(--sans); cursor: pointer; }
  .js .nav-toggle:hover { border-color: var(--gold); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; padding: .25rem 0 .75rem; }
  .js .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav a { display: flex; padding: .8rem .25rem; border-radius: 0; border-bottom: 1px solid var(--dark-line); font-size: 1rem; }
  .js .nav a[aria-current="page"] { background: transparent; }
  .js .nav-yt a, .js .nav-ig a { margin: .6rem 0 0; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; justify-content: center; }
  .brand-tag { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; line-height: 1.2; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--felt); color: var(--felt); }
.btn--outline:hover { background: var(--felt); color: #fff; }

/* ---------- eyebrows ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--gold-deep); margin: 0 0 .5rem; }
.eyebrow-suit { color: var(--felt); font-size: .95rem; }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--light .eyebrow-suit { color: var(--gold); }

/* ---------- decorative fallback panels (used when an image file is absent) ---------- */
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(212,166,58,.22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(8,17,29,.55), transparent 60%),
    linear-gradient(135deg, var(--felt-2) 0%, var(--felt) 45%, var(--felt-3) 100%); }
.art::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(232,196,106,.35); border-radius: 8px; }
.art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 14px 14px; }
.art-suit { position: relative; z-index: 1; width: 34%; height: auto; aspect-ratio: 1; max-width: 120px; color: rgba(255,255,255,.9); filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.art--heart .art-suit, .art--diamond .art-suit { color: #f2c2c4; }
.art--heart, .art--diamond { background:
    radial-gradient(120% 90% at 85% 0%, rgba(212,166,58,.22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(8,17,29,.6), transparent 60%),
    linear-gradient(135deg, #20395a 0%, var(--ink-2) 45%, var(--ink-3) 100%); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% 5%, rgba(17,99,74,.95), transparent 65%),
    radial-gradient(700px 500px at 0% 110%, rgba(212,166,58,.14), transparent 60%),
    linear-gradient(160deg, var(--felt) 0%, var(--felt-3) 55%, var(--ink-3) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 16px 16px; pointer-events: none; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--photo { background: var(--ink-3); }
.hero--photo::after { background: linear-gradient(180deg, rgba(8,17,29,.6) 0%, rgba(8,17,29,.82) 100%); background-size: auto; }
.hero-inner { display: grid; gap: 2rem; padding-top: 3.25rem; padding-bottom: 4.5rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 8vw, 4.1rem); line-height: 1.05; max-width: 14ch; }
.hero-lede { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: #dbe7e0; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 0; }
.hero-art { display: none; position: relative; height: 230px; max-width: 340px; width: 100%; margin: 0 auto; }
.pcard { position: absolute; width: 132px; height: 186px; border-radius: 14px; background: linear-gradient(180deg, #fff, #f6f1e4); color: var(--ink); box-shadow: 0 22px 44px rgba(0,0,0,.4), inset 0 0 0 1px rgba(14,26,43,.08); display: flex; flex-direction: column; padding: .55rem .7rem; }
.pcard::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(14,26,43,.1); border-radius: 9px; pointer-events: none; }
.pcard--red { color: var(--red); }
.pc-rank { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; line-height: 1; }
.pc-rank--btm { align-self: flex-end; transform: rotate(180deg); }
.pcard .pc-suit { font-size: 3.4rem; margin: auto; }
.pcard--a { left: 16%; top: 12px; transform: rotate(-9deg); }
.pcard--k { left: 44%; top: 26px; transform: rotate(8deg); }
.chip { position: absolute; width: 62px; height: 62px; border-radius: 50%; background: var(--gold); border: 7px dashed #fff8e2; box-shadow: 0 8px 16px rgba(0,0,0,.35), inset 0 0 0 6px rgba(0,0,0,.08); }
.chip--1 { left: 4%; bottom: 0; }
.chip--2 { right: 2%; bottom: 14px; background: var(--red); }

/* pillars strip overlapping the hero */
.pillars { position: relative; z-index: 2; margin-top: -2.5rem; }
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.offer-grid li { padding: 1.2rem 1.3rem; border-top: 1px solid var(--line); }
.offer-grid li:first-child { border-top: 0; }
.offer-grid h3 { margin: 0 0 .35rem; display: flex; gap: .55rem; align-items: center; font-size: 1.08rem; }
.offer-grid p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.offer-suit { color: var(--felt); }
.offer-grid li:nth-child(2) .offer-suit, .offer-grid li:nth-child(3) .offer-suit { color: var(--red); }

/* ---------- sections ---------- */
.section { padding: 3.25rem 0; }
.section--alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--felt { background: radial-gradient(700px 300px at 90% 0%, rgba(17,99,74,.9), transparent 70%), linear-gradient(160deg, var(--felt) 0%, var(--felt-3) 100%); color: var(--on-dark); }
.section--felt strong { color: var(--gold); }
.section--ink { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--on-dark); }
.section--ink .section-title { color: #fff; }
.section--ink .section-link { color: var(--gold-light); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.section-title { margin: 0; }
.section-intro { color: var(--muted); max-width: 40rem; margin: .6rem 0 0; }
.section-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.band p { margin: 0; max-width: 46rem; }

/* ---------- cards (image-led) ---------- */
.card-grid, .keys, .video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.card a:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); transform: translateY(-2px); color: var(--text); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--felt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .art-suit { width: 22%; }
.card-badge { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; background: rgba(8,17,29,.82); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.badge-icon { color: var(--gold); }
.card-body { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.card-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; color: var(--ink); line-height: 1.25; }
.card-desc { color: var(--muted); font-size: .97rem; line-height: 1.55; }
.card-more { margin-top: auto; padding-top: .5rem; color: var(--felt); font-weight: 600; font-size: .95rem; }
.card a:hover .card-more { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- six keys ---------- */
.section--keys { background: var(--paper); border-top: 1px solid var(--line); }
.key { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.key-num { flex: none; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--gold-deep); min-width: 2.3rem; padding-top: .2rem; }
.key h3 { margin: 0 0 .35rem; display: flex; gap: .5rem; align-items: center; }
.key-suit { color: var(--felt); }
.key p { margin: 0; color: var(--muted); }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1.1rem; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: .3rem; color: var(--gold-deep); }
.crumbs--light ol { color: var(--on-dark-muted); }
.crumbs--light a { color: var(--on-dark); }
.crumbs--light a:hover { color: #fff; }
.crumbs--light li + li::before { color: var(--gold); }
.crumbs--light li[aria-current] { color: var(--on-dark-muted); }

/* ---------- section banners ---------- */
.banner { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(17,99,74,.9), transparent 65%),
    radial-gradient(600px 380px at -10% 120%, rgba(212,166,58,.14), transparent 60%),
    linear-gradient(160deg, var(--felt) 0%, var(--felt-3) 55%, var(--ink-3) 100%); }
.banner--heart, .banner--diamond { background:
    radial-gradient(800px 420px at 90% -20%, rgba(32,57,90,.95), transparent 65%),
    radial-gradient(600px 380px at -10% 120%, rgba(212,166,58,.14), transparent 60%),
    linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 55%, var(--ink-3) 100%); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 16px 16px; pointer-events: none; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner--photo::after { background: linear-gradient(90deg, rgba(8,17,29,.88) 0%, rgba(8,17,29,.7) 55%, rgba(8,17,29,.45) 100%); background-size: auto; }
.banner-inner { padding-top: 2rem; padding-bottom: 2.6rem; }
.banner h1 { color: #fff; margin-top: 0; }
.banner .lede { color: #d5dfea; max-width: 40rem; margin: 0; }
.banner .lede a { color: var(--gold-light); }
.page-body { padding-top: 2rem; padding-bottom: 3rem; }

/* ---------- article ---------- */
.lede { font-size: clamp(1.08rem, 2.3vw, 1.22rem); color: var(--muted); line-height: 1.6; }
.article-hero { position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(800px 420px at 95% -20%, rgba(17,99,74,.75), transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%); }
.article-hero-inner { display: grid; gap: 1.75rem; padding-top: 1.75rem; padding-bottom: 2.25rem; align-items: center; }
.article-hero h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.1rem); margin-top: 0; }
.article-hero .lede { color: #d5dfea; margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.meta-icon { color: var(--gold); }
.article-figure { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); background: var(--felt); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.article-figure--art { display: none; }
.article-layout { display: grid; gap: 2rem; padding-top: 2.25rem; padding-bottom: 1rem; }
.article-body { min-width: 0; max-width: var(--read); }
.toc { display: none; }
.takeaways { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem 1.2rem; margin: 0 0 2rem; position: relative; overflow: hidden; }
.takeaways::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); }
.takeaways h2 { color: var(--gold-light); font-size: 1.15rem; margin: 0 0 .6rem; letter-spacing: 0; }
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.takeaways li { margin: .35rem 0; line-height: 1.55; }
.takeaways li::marker { color: var(--gold); }
.prose { font-size: 1.08rem; }
.prose > h2:first-child { margin-top: .5rem; }
.prose h2 { padding-top: .2rem; }
.prose p, .prose li { max-width: 68ch; }
.prose li { margin: .4rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li::marker { color: var(--gold-deep); }
.prose strong { color: var(--ink); }
.source-note { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.related { background: var(--cream-2); border-top: 1px solid var(--line); padding: 2.75rem 0 3.25rem; margin-top: 2.5rem; }
.related .section-title { margin-bottom: 1.25rem; font-size: clamp(1.35rem, 3vw, 1.7rem); }

.table-scroll { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: #fcfaf4; }
tbody th { color: var(--ink); }

/* ---------- video ---------- */
.video { margin: 0 0 2rem; }
.video h2 { margin: 0 0 .9rem; font-size: 1.35rem; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-3); box-shadow: var(--shadow); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-btn { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; }
.yt-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,17,29,.05), rgba(8,17,29,.35)); }
.yt-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; background: rgba(8,17,29,.82); color: var(--gold); box-shadow: 0 0 0 3px rgba(212,166,58,.85), 0 10px 30px rgba(0,0,0,.4); transition: background-color .15s ease; }
.yt-icon { width: 34px; height: 34px; margin-left: 4px; }
.yt-btn:hover .yt-play { background: var(--felt); }
.yt-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius-lg); }
.yt-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: .9rem; color: var(--muted); margin: .6rem 0 0; }
.yt-caption span { font-weight: 600; color: var(--text); }
.section--ink .yt-caption, .section--ink .yt-caption span { color: var(--on-dark); }
.section--ink .yt-caption a { color: var(--gold-light); }
.vcard-desc { margin: .5rem 0 .25rem; color: var(--muted); font-size: .97rem; }
.vcard-guide { margin: 0; font-size: .95rem; font-weight: 600; }

/* ---------- glossary ---------- */
.jump { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.75rem; }
.jump a { display: grid; place-items: center; min-width: 2.4rem; height: 2.4rem; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); transition: background-color .15s ease, border-color .15s ease; }
.jump a:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.glossary { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .25rem 1.3rem; box-shadow: var(--shadow); }
.term { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.term:last-child { border-bottom: 0; }
.term dt { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.term dd { margin: .25rem 0 0; color: var(--text); }
.term:target { background: #fff3d1; margin: 0 -1.3rem; padding-left: 1.3rem; padding-right: 1.3rem; }

/* ---------- headlines ---------- */
.headlines-page h2 { margin-top: 0; font-size: 1.4rem; }
.headlines { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .9rem; }
.headline { display: flex; flex-direction: column; gap: .3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.headline a { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.35; }
.headline-meta { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.headline-note { font-size: .97rem; color: var(--muted); }

/* ---------- about / responsible gaming ---------- */
.page-body .prose > h2:first-child { margin-top: 0; }
.help-box { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--felt); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; margin: 0 0 2rem; box-shadow: var(--shadow); }
.help-box h2 { margin-top: 0; font-size: 1.35rem; }
.help-box ul { padding-left: 1.2rem; margin: 0; }
.help-box li { margin: .6rem 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 4.5rem 16px; }
.nf-suits { font-size: 2.5rem; display: flex; gap: .6rem; justify-content: center; color: var(--ink); }
.notfound .btn { margin: .3rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-3); color: var(--on-dark-muted); padding: 2.75rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 1.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--dark-line); }
.footer-brand { font-family: var(--serif); font-weight: 600; color: #fff; font-size: 1.2rem; margin: 0 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.footer-suits { display: inline-flex; gap: .15rem; }
.fsuit { color: var(--gold); }
.footer-about p.small { max-width: 34rem; margin: 0; line-height: 1.6; }
.rg-line { background: var(--ink-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 1rem 1.15rem; margin: 0; line-height: 1.6; }
.rg-line strong { color: #fff; display: block; margin-bottom: .2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.25rem; }
.copyright { margin: 0; color: #8996a8; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid li { border-top: 0; border-left: 1px solid var(--line); }
  .offer-grid li:nth-child(odd) { border-left: 0; }
  .offer-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .keys { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; row-gap: 0; }
  .article-figure--art { display: block; }
  .hero-art { display: block; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; padding-top: 5rem; padding-bottom: 6.5rem; }
  .hero--photo .hero-inner { grid-template-columns: 1fr; padding-top: 6.5rem; padding-bottom: 8rem; }
  .hero--photo::after { background: linear-gradient(90deg, rgba(8,17,29,.9) 0%, rgba(8,17,29,.72) 45%, rgba(8,17,29,.15) 100%); }
  .hero-art { height: 290px; }
  .pcard { width: 160px; height: 226px; }
  .pillars { margin-top: -3.5rem; }
  .offer-grid { grid-template-columns: repeat(4, 1fr); }
  .offer-grid li, .offer-grid li:nth-child(n+3) { border-top: 0; border-left: 1px solid var(--line); }
  .offer-grid li:first-child { border-left: 0; }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid--3, .card-grid--related { grid-template-columns: repeat(3, 1fr); }
  .card-grid--related { grid-template-columns: repeat(auto-fill, minmax(280px, 340px)); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid--page { grid-template-columns: repeat(2, 1fr); }
  .banner-inner { padding-top: 2.6rem; padding-bottom: 3.6rem; }
  .banner--photo .banner-inner { padding-top: 4rem; padding-bottom: 5rem; }
  .article-hero-inner { grid-template-columns: 1.25fr 1fr; gap: 3rem; padding-top: 2.5rem; padding-bottom: 3rem; }
  .footer-top { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 3rem; }
}
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: 230px minmax(0, var(--read)); gap: 3.5rem; justify-content: center; }
  .toc { display: block; position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow-y: auto; font-size: .9rem; padding-top: .3rem; }
  .toc-title { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .7rem; }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .toc li { margin: 0; }
  .toc a { display: block; padding: .38rem 0 .38rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .15s ease, border-color .15s ease; }
  .toc a:hover { color: var(--ink); border-left-color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card a:hover { transform: none; }
}
