/* Yalc poker theme (Kenza's rebranding: felt, ivory, bordeaux, Copperplate + Geist).
   Loaded AFTER site.css on the pages that wear it (blog index, every article, resources hub),
   and switched on by <html class="poker">. It only restyles: no markup, meta or schema change.
   Source of the look: kenzaessakalli-code/yalc-rebranding site/blog.html, article.html, resources.html. */

html.poker {
  --felt: #0E0F0E; --paper: #F6F2EC; --paper-dim: rgba(246, 242, 236, .78); --mute: rgba(246, 242, 236, .52);
  --pline: rgba(246, 242, 236, .14); --pline-soft: rgba(246, 242, 236, .08);
  --glass: rgba(18, 17, 16, .42); --glass-line: rgba(246, 242, 236, .14); --ppanel: rgba(246, 242, 236, .035);
  --bordeaux: #711B24; --bordeaux-lit: #C4646F;
  --font-title: copperplate, "Marcellus SC", serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  /* v2 tokens remapped onto the felt, so every v2 component follows */
  --bg: #0E0F0E; --surface: rgba(246, 242, 236, .04); --panel: rgba(246, 242, 236, .06);
  --ink: #F6F2EC; --ink-2: rgba(246, 242, 236, .78); --ink-3: rgba(246, 242, 236, .52);
  --line: rgba(246, 242, 236, .08); --line-2: rgba(246, 242, 236, .14);
  --pink: #C4646F; --pink-deep: #D98A93; --pink-soft: rgba(113, 27, 36, .35);
  --text: #F6F2EC; --text-secondary: rgba(246, 242, 236, .78); --text-muted: rgba(246, 242, 236, .52); --bg-card: rgba(246, 242, 236, .04);
  --shadow-card: 0 0 0 1px rgba(246, 242, 236, .1); --shadow-lift: 0 0 0 1px rgba(246, 242, 236, .22), 0 30px 56px -24px rgba(0, 0, 0, .8);
  --shadow-cta: 0 40px 80px -40px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
html.poker, html.poker body {
  background: linear-gradient(rgba(14, 15, 14, .75), rgba(14, 15, 14, .75)), url("/assets/yalc-home/fond-section3.jpg") center / cover fixed, #0E0F0E !important;
  color: var(--paper);
}
html.poker ::selection { background: rgba(113, 27, 36, .6); color: var(--paper); }

/* ── titles in Copperplate, text in Geist ───────────── */
html.poker h1, html.poker h2,
html.poker .bi-feat-title, html.poker .bi-cell-title, html.poker .v2-row-title, html.poker .bi-latest-label,
html.poker .pg-card-title, html.poker .ar-title {
  font-family: var(--font-title) !important; font-weight: 500 !important; letter-spacing: .01em !important; color: var(--paper);
  text-wrap: balance;
}

/* ── nav: logo left, glass pill right (same as the homepage) ── */
html.poker .v2-nav { position: fixed; left: 0; right: 0; top: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.poker .v2-nav::after { display: none; }
html.poker .v2-nav-inner { max-width: none; padding: 20px clamp(16px, 3vw, 32px) 0; gap: 4px; }
html.poker .v2-logo { color: var(--paper); font-weight: 500; font-size: 22px; letter-spacing: -.02em; gap: 10px; width: auto; margin-right: auto; }
html.poker .v2-nav-links {
  gap: 2px; padding: 6px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 16px 0 0 16px; border-right: 0;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); height: 54px; box-sizing: border-box; padding-left: 12px;
}
html.poker .v2-nav-links a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--paper-dim); font-weight: 400; transition: color .2s ease, background-color .2s ease; }
html.poker .v2-nav-links a:hover { color: var(--paper); }
html.poker .v2-nav-links a.is-active { color: var(--paper); background: rgba(246, 242, 236, .08); }
html.poker .v2-nav-cta {
  width: auto; padding: 6px 6px 6px 2px; background: var(--glass); border: 1px solid var(--glass-line); border-left: 0; border-radius: 0 16px 16px 0;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); height: 54px; box-sizing: border-box; margin-left: -4px;
}
@media (max-width: 600px) {
  html.poker .v2-nav-cta { border-left: 1px solid var(--glass-line); border-radius: 16px; margin-left: 0; padding: 6px; }
}

/* ── buttons: glass on the felt, never a white slab ─── */
html.poker .v2-btn--glass {
  color: var(--paper) !important; background-color: transparent;
  background-image: linear-gradient(180deg, rgba(246, 242, 236, .16), rgba(246, 242, 236, .06));
  border: 1px solid rgba(246, 242, 236, .24); border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 30px -12px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
html.poker .v2-btn--glass:hover { border-color: rgba(246, 242, 236, .38); }
html.poker .v2-btn--ghost { color: var(--paper) !important; background: transparent; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--pline); }
html.poker .v2-btn--ghost:hover { background: rgba(246, 242, 236, .06); box-shadow: inset 0 0 0 1px rgba(246, 242, 236, .28); }

/* ── cards and meta ─────────────────────────────────── */
html.poker .v2-card { background: var(--ppanel); box-shadow: 0 0 0 1px var(--pline); border-radius: 16px; }
html.poker a.v2-card:hover { box-shadow: 0 0 0 1px rgba(246, 242, 236, .26), 0 30px 56px -24px rgba(0, 0, 0, .8); }
html.poker .v2-cat { color: var(--paper-dim); font-size: 12px !important; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
html.poker .v2-meta { color: var(--mute); }
html.poker .v2-avatar { box-shadow: 0 0 0 1px var(--pline); }

/* ── closing card: "The next move is yours." in black glass ── */
html.poker .v2-cta { padding-top: 40px; }
html.poker .v2-cta-card {
  width: min(1184px, 100%); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 32px;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
html.poker .v2-cta-card h2 { font-size: clamp(34px, 4.6vw, 64px) !important; line-height: 1.02 !important; }
html.poker .v2-cta-card p { color: var(--paper-dim); }

/* ── footer ─────────────────────────────────────────── */
html.poker .v2-footer { max-width: 1184px; padding: 40px 0 56px; width: calc(100vw - 32px); }
html.poker .v2-footer .v2-logo { margin-right: 0; }
html.poker .v2-footer-by { color: var(--mute); }
html.poker .v2-footer-links a { color: var(--paper-dim); font-weight: 400; }
html.poker .v2-footer-links a:hover { color: var(--paper); }

/* ── page heads (resources hub) ─────────────────────── */
html.poker .pg-head, html.poker .v2-pagehead { padding-top: 168px !important; }
html.poker .pg-head h1, html.poker .v2-pagehead h1 { font-size: clamp(40px, 5.4vw, 72px) !important; line-height: 1.02 !important; }
html.poker .pg-head h1 .accent { color: var(--paper) !important; }
html.poker .pg-head p, html.poker .v2-pagehead p { color: var(--paper-dim) !important; }

/* resources cards: dark panels, ivory previews laid on the felt */
html.poker .pg-card { background: var(--ppanel) !important; box-shadow: none !important; border: 1px solid var(--pline); border-radius: 16px !important; overflow: hidden; }
html.poker .pg-card:hover { border-color: rgba(246, 242, 236, .24); }
html.poker .pg-card-vis { background: radial-gradient(ellipse 70% 80% at 50% 40%, rgba(246, 242, 236, .05), transparent 70%) !important; border-bottom: 1px solid var(--pline); }
html.poker .pg-card-title { font-size: 24px !important; line-height: 1.15 !important; color: var(--paper) !important; }
html.poker .pg-card-sub { color: var(--paper-dim) !important; }
html.poker .vis-article, html.poker .vis-list, html.poker .vis-video { background: #FCFAF5 !important; color: #141210 !important; border-radius: 12px !important; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 18px 36px -14px rgba(0, 0, 0, .7) !important; }
html.poker .vis-article *, html.poker .vis-list * { color: #141210; }
html.poker .vis-list-head span { color: var(--bordeaux) !important; }
html.poker .vis-approve { background: #141210 !important; color: #F6F2EC !important; }
html.poker .vis-list-row i { color: #8A8176 !important; }
html.poker .vis-article-by span { color: #8A8176 !important; }
html.poker .pg-card-vis [class*="vis-"] img { box-shadow: none; }

/* ── blog index (Paper "Blog", poker edition) ───────── */
html.poker .bi-latest { padding-top: 140px !important; }
html.poker .bi-grid { border: 0 !important; }
html.poker .bi-top { border-bottom: 0 !important; }
html.poker .bi-label { border-right: 1px solid var(--pline) !important; }
html.poker .bi-latest-label { font-size: clamp(40px, 5.4vw, 72px) !important; line-height: 1 !important; color: var(--paper) !important; }
html.poker .bi-label h1 { font-family: var(--font-sans, "Geist"), system-ui, sans-serif !important; color: var(--paper-dim) !important; font-size: 16px !important; letter-spacing: 0 !important; line-height: 1.55 !important; max-width: 28ch !important; }
html.poker .bi-num { font-family: var(--font-title) !important; font-weight: 500 !important; color: rgba(246, 242, 236, .18) !important; letter-spacing: .01em !important; display: inline-flex; align-items: baseline; gap: 8px; transition: color .3s ease; }
html.poker .bi-num i { font-style: normal; font-size: .66em; font-family: "Apple Symbols", "Segoe UI Symbol", serif; }
html.poker .bi-feat:hover .bi-num, html.poker .bi-cell:hover .bi-num { color: rgba(246, 242, 236, .32) !important; }
html.poker .bi-arrow { color: var(--mute) !important; }
html.poker .bi-cover { border-radius: 10px !important; box-shadow: 0 0 0 1px var(--pline) !important; background: #1a1918 !important; }
html.poker .bi-feat-title { font-size: clamp(30px, 3.2vw, 44px) !important; line-height: 1.1 !important; max-width: 18ch !important; }
html.poker .bi-feat-sub, html.poker .bi-cell-sub { color: var(--paper-dim) !important; }
html.poker .bi-feat:hover .bi-feat-title, html.poker .bi-cell:hover .bi-cell-title, html.poker .v2-row:hover .v2-row-title { color: var(--paper) !important; }
/* the three latest sit in a "community card area": one big rounded frame, one slot per card */
html.poker .bi-row3 {
  gap: 14px; margin-top: 40px; padding: 14px; border-radius: 28px; border: 1px solid rgba(246, 242, 236, .2);
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(113, 27, 36, .16), transparent 70%);
}
html.poker .bi-cell, html.poker .bi-cell:first-child, html.poker .bi-cell:last-child {
  padding: 24px !important; border: 1px solid rgba(246, 242, 236, .1) !important; border-radius: 18px; background: rgba(246, 242, 236, .02);
  transition: border-color .3s ease, background-color .3s ease;
}
html.poker .bi-cell:hover { border-color: rgba(246, 242, 236, .22) !important; background: rgba(246, 242, 236, .035); }
html.poker .bi-cell-title { font-size: 22px !important; line-height: 1.18 !important; }
html.poker .bi-side h2 { font-size: clamp(40px, 4.4vw, 56px) !important; line-height: 1.02 !important; }
html.poker .bi-filter { color: var(--mute) !important; }
html.poker .bi-filter:hover { color: var(--paper-dim) !important; }
html.poker .bi-filter.is-on { color: var(--paper) !important; }
html.poker .bi-filter span { color: var(--mute) !important; }
html.poker .v2-rows { border-top: 1px solid var(--pline); }
html.poker .v2-row { border-bottom: 1px solid var(--pline-soft); transition: background-color .25s ease; }
html.poker .v2-row:hover { background: rgba(246, 242, 236, .025); }
html.poker .v2-row-title { font-size: 19px !important; line-height: 1.25 !important; font-weight: 500 !important; }
html.poker .v2-row-sub { color: var(--paper-dim); }
html.poker .v2-thumb { border-radius: 8px; box-shadow: 0 0 0 1px var(--pline); background: #1a1918; }
@media (max-width: 1000px) {
  html.poker .bi-latest { padding-top: 110px !important; }
  html.poker .bi-label { border-right: 0 !important; border-bottom: 1px solid var(--pline) !important; }
  html.poker .bi-row3 { padding: 10px; gap: 10px; border-radius: 22px; }
  html.poker .bi-cell, html.poker .bi-cell:first-child { padding: 20px !important; }
}

/* ── article ────────────────────────────────────────── */
html.poker .ar-head { padding-top: 160px !important; }
html.poker .ar-back a { color: var(--mute) !important; }
html.poker .ar-back a:hover { color: var(--paper) !important; }
html.poker .ar-title { font-size: clamp(32px, 3.6vw, 48px) !important; line-height: 1.08 !important; }
html.poker .ar-sub { color: var(--paper-dim) !important; }
html.poker .ar-author { color: var(--paper) !important; }
html.poker .ar-sep { background: var(--pline) !important; }
html.poker .ar-cover img { border-radius: 12px !important; box-shadow: 0 0 0 1px var(--pline), 0 28px 56px -24px rgba(0, 0, 0, .8) !important; }
html.poker .ar-skill-text strong { color: var(--paper) !important; }
html.poker .ar-skill-text span, html.poker .ar-hl li { color: var(--paper-dim) !important; }
html.poker .ar-hl-title { color: var(--paper) !important; }
html.poker .ar-hl ul { border-top-color: var(--pline) !important; }
html.poker .ar-hl li { border-bottom-color: var(--pline-soft) !important; }
@media (max-width: 900px) { html.poker .ar-head { padding-top: 120px !important; } }

/* prose */
html.poker .v2-prose { color: var(--paper-dim); font-size: 18px; line-height: 1.68; }
html.poker .v2-prose > p:first-child, html.poker .v2-prose strong, html.poker .v2-prose h3, html.poker .v2-prose h4 { color: var(--paper); }
html.poker .v2-prose h2 { font-size: 28px !important; line-height: 1.15 !important; color: var(--paper) !important; }
html.poker .v2-prose a { color: var(--paper); text-decoration-color: var(--bordeaux-lit); }
html.poker .v2-prose a:hover { color: var(--paper); text-decoration-color: var(--paper); }
html.poker .v2-prose li::marker { color: var(--mute); }
html.poker .v2-prose blockquote { border-left-color: var(--bordeaux-lit); color: var(--paper); }
html.poker .v2-prose code { background: rgba(246, 242, 236, .08); color: var(--paper); }
html.poker .v2-prose pre { background: rgba(10, 10, 9, .6); box-shadow: 0 0 0 1px var(--pline); }
html.poker .v2-prose hr { background: var(--pline); }
html.poker .v2-prose img { box-shadow: 0 0 0 1px var(--pline); }
html.poker .v2-prose figcaption { color: var(--mute); }
html.poker .v2-prose th { color: var(--mute); border-color: var(--pline); }
html.poker .v2-prose td { color: var(--paper-dim); border-bottom-color: var(--pline-soft); }
html.poker .v2-prose td:first-child { color: var(--paper); font-weight: 500; }

/* FAQ */
html.poker .v2-faq { border-top-color: var(--pline); }
html.poker .v2-faq details { border-bottom-color: var(--pline-soft); }
html.poker .v2-faq summary { color: var(--paper); }
html.poker .v2-faq summary::after { color: var(--mute); }
html.poker .v2-faq .v2-faq-a { color: var(--paper-dim); }

/* newsletter popup: black glass instead of a white box */
html.poker .nl-popup { background: rgba(18, 17, 16, .92) !important; box-shadow: 0 0 0 1px var(--glass-line), 0 30px 56px -18px rgba(0, 0, 0, .7) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html.poker .nl-popup-title { color: var(--paper) !important; font-family: var(--font-title) !important; font-weight: 500 !important; letter-spacing: .01em !important; }
html.poker .nl-popup-sub, html.poker .nl-popup-msg { color: var(--paper-dim) !important; }
html.poker .nl-popup-eyebrow { color: var(--bordeaux-lit) !important; }
html.poker .nl-popup-input { background: rgba(246, 242, 236, .06) !important; color: var(--paper) !important; box-shadow: 0 0 0 1px rgba(246, 242, 236, .18) !important; }
html.poker .nl-popup-btn { background: linear-gradient(180deg, rgba(246, 242, 236, .16), rgba(246, 242, 236, .06)) !important; border-color: rgba(246, 242, 236, .24) !important; }
html.poker .nl-popup-close:hover { background: rgba(246, 242, 236, .08) !important; color: var(--paper) !important; }

@media (prefers-reduced-motion: reduce) { html.poker .bi-cell, html.poker .v2-row { transition: none; } }
html.poker h1 span:not(.word), html.poker h2 span:not(.word) { font-family: inherit !important; letter-spacing: inherit !important; }

/* ── interactive embeds (kit builder, calculators, capture boxes) on the felt ── */
html.poker .y-tile, html.poker .y-job, html.poker .y-chip, html.poker .y-stepper, html.poker .y-capture {
  background: rgba(246, 242, 236, .05) !important; box-shadow: inset 0 0 0 1px var(--pline) !important; color: var(--paper) !important;
}
html.poker .y-tile:hover, html.poker .y-job:hover, html.poker .y-chip:hover { background: rgba(246, 242, 236, .09) !important; }
html.poker .y-tile[aria-pressed="true"], html.poker .y-job[aria-pressed="true"] { background: rgba(113, 27, 36, .35) !important; box-shadow: inset 0 0 0 1.5px var(--paper) !important; }
html.poker .y-chip[aria-pressed="true"] { background: var(--paper) !important; color: #141210 !important; }
html.poker .y-tile-check { background-color: var(--paper) !important; filter: invert(1); }
html.poker .y-btn { background: linear-gradient(180deg, rgba(246, 242, 236, .16), rgba(246, 242, 236, .06)) !important; box-shadow: inset 0 0 0 1px rgba(246, 242, 236, .24), inset 0 1px 0 rgba(255, 255, 255, .16) !important; color: var(--paper) !important; }
html.poker .y-btn:hover { box-shadow: inset 0 0 0 1px rgba(246, 242, 236, .38), inset 0 1px 0 rgba(255, 255, 255, .2) !important; }
html.poker .y-btn:disabled, html.poker .y-btn[aria-disabled="true"] { opacity: .45; }
html.poker .y-capture input { color: var(--paper) !important; }
html.poker .y-capture input::placeholder { color: rgba(246, 242, 236, .42) !important; }
html.poker .y-kit, html.poker .y-offer { background: var(--ppanel) !important; box-shadow: 0 0 0 1px var(--pline) !important; }
html.poker .y-offer--tint, html.poker .y-hero-main { background: rgba(113, 27, 36, .28) !important; box-shadow: 0 0 0 1px rgba(196, 100, 111, .35) !important; }
html.poker .y-kit-foot { background: rgba(246, 242, 236, .03) !important; border-top-color: var(--pline) !important; }
html.poker .y-progress i.is-on { background: var(--paper) !important; }
html.poker .y-tile img, html.poker .y-row-name img { background: #fff; }
html.poker .y-hero-label, html.poker .y-hero-num, html.poker .y-eyebrow { color: #E8B4B8 !important; }
html.poker .y-msg.is-error { color: #E8B4B8 !important; }
html.poker .y-ui .y-ticks li::before { background-color: var(--bordeaux-lit) !important; }
html.poker .y-h, html.poker .y-step-q { font-family: var(--font-title) !important; font-weight: 500 !important; letter-spacing: .01em !important; }

/* ── mobile menu + Resources dropdown (assets/resources-nav.js) in black glass ── */
html.poker .mnav-burger { background: var(--glass) !important; box-shadow: inset 0 0 0 1px var(--glass-line) !important; border-radius: 10px !important; }
html.poker .mnav-burger span { background: var(--paper) !important; }
html.poker .mnav-sheet { background: rgba(18, 17, 16, .96) !important; box-shadow: 0 0 0 1px var(--glass-line), 0 30px 60px -20px rgba(0, 0, 0, .8) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html.poker .mnav-sheet a { color: var(--paper) !important; }
html.poker .mnav-sheet a.mnav-sub { color: var(--paper-dim) !important; }
html.poker .mnav-head { color: var(--bordeaux-lit) !important; }
html.poker .mnav-sheet a.mnav-cta { background: linear-gradient(180deg, rgba(246, 242, 236, .16), rgba(246, 242, 236, .06)) !important; border-color: rgba(246, 242, 236, .24) !important; }
html.poker .resources-panel { background: rgba(18, 17, 16, .94) !important; border-color: var(--glass-line) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html.poker .resources-panel a, html.poker .resources-panel a strong { color: var(--paper) !important; }
html.poker .resources-panel a span { color: var(--mute) !important; }
html.poker .resources-panel a:hover { background: rgba(246, 242, 236, .06) !important; }
