/* ============================================================
   BACCARAT BRO — shared design system (cloned from ~/Downloads/baczim)
   Fonts enqueued separately in inc/enqueue.php (no @import here).
   ============================================================ */

:root {
  /* ---- core palette ---- */
  --cream:        #F6F1E7;   /* warm page background */
  --cream-deep:   #EFE7D6;   /* slightly deeper panel */
  --paper:        #FCFAF4;   /* card surface */
  --ink:          #1E2620;   /* near-black green-charcoal text */
  --ink-soft:     #4A554D;   /* secondary text */
  --ink-faint:    #7C857E;   /* tertiary / captions */

  --felt:         #0F4F3C;   /* deep emerald — brand */
  --felt-deep:    #0A3A2B;   /* darker emerald for headers */
  --felt-bright:  #1A6B51;   /* hover / lighter emerald */
  --felt-tint:    #E2ECE5;   /* pale green tint surface */

  --gold:         #C79A4B;   /* warm gold accent */
  --gold-deep:    #9C7430;   /* gold for text on light */
  --gold-tint:    #F3E9D2;   /* pale gold surface */

  --player:       #B5403A;   /* muted brick red (Player) */
  --player-tint:  #F5E2DF;
  --banker:       var(--felt);
  --tie:          var(--gold-deep);

  --line:         #E4DBC8;   /* hairline on cream */
  --line-soft:    #ECE5D5;

  /* ---- type ---- */
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* ---- shape ---- */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15,40,30,.06), 0 2px 6px rgba(15,40,30,.05);
  --shadow:    0 4px 14px rgba(15,40,30,.08), 0 1px 3px rgba(15,40,30,.06);
  --shadow-lg: 0 18px 50px rgba(10,40,28,.16), 0 4px 14px rgba(10,40,28,.08);

  --maxw: 1200px;
  --nav-h: 74px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: #1b1407; }

/* ---- typography ---- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.06; margin: 0; letter-spacing: -.01em; color: var(--ink); }
.display { font-family: var(--display); }
.serif-i { font-family: var(--display); font-style: italic; font-weight: 500; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 0;
}
.eyebrow--light { color: var(--gold); }

.lede { font-size: 1.18rem; line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* ---- layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section-head p { margin: 10px 0 0; max-width: 52ch; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--felt); color: #fff; box-shadow: 0 6px 18px rgba(15,79,60,.28); }
.btn--primary:hover { background: var(--felt-bright); box-shadow: 0 10px 26px rgba(15,79,60,.34); }
.btn--gold { background: var(--gold); color: #211806; box-shadow: 0 6px 18px rgba(199,154,75,.32); }
.btn--gold:hover { background: #d4a857; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--felt); color: var(--felt); }
.btn--light { background: #fff; color: var(--felt-deep); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   BADGES / CHIPS / TAGS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--felt-tint); color: var(--felt-deep);
}
.badge--gold { background: var(--gold-tint); color: var(--gold-deep); }
.badge--player { background: var(--player-tint); color: var(--player); }
.badge--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
.badge--solid { background: var(--felt); color: #fff; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--banker { background: var(--felt); }
.dot--player { background: var(--player); }
.dot--tie { background: var(--gold); }

/* difficulty / risk meters */
.meter { display: inline-flex; gap: 4px; align-items: center; }
.meter i { width: 7px; height: 14px; border-radius: 2px; background: var(--line); display: block; }
.meter[data-level="1"] i:nth-child(-n+1),
.meter[data-level="2"] i:nth-child(-n+2),
.meter[data-level="3"] i:nth-child(-n+3),
.meter[data-level="4"] i:nth-child(-n+4),
.meter[data-level="5"] i:nth-child(-n+5) { background: var(--felt); }
.meter--risk[data-level="3"] i:nth-child(-n+3),
.meter--risk[data-level="4"] i:nth-child(-n+4),
.meter--risk[data-level="5"] i:nth-child(-n+5) { background: var(--player); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card h3 { font-size: 1.4rem; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--felt-tint); color: var(--felt); margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }

/* image placeholder */
.ph {
  position: relative; border-radius: var(--r); overflow: hidden;
  background-color: var(--cream-deep);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(15,79,60,.05) 11px, rgba(15,79,60,.05) 22px);
  border: 1px dashed var(--line);
  display: grid; place-items: center; color: var(--ink-faint);
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-align: center;
  min-height: 160px;
}
.ph span { background: rgba(252,250,244,.82); padding: 4px 10px; border-radius: 6px; }
.ph--green { background-color: var(--felt-deep); color: rgba(255,255,255,.55);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(255,255,255,.04) 11px, rgba(255,255,255,.04) 22px); border-color: rgba(255,255,255,.14); }
.ph--green span { background: rgba(10,58,43,.6); }

/* ============================================================
   BACCARAT BRO MASCOT + CALLOUT
   ============================================================ */
.bro-emblem { display: block; flex: none; }

.bro-callout {
  display: flex; gap: 0; align-items: stretch;
  margin: 34px 0;
}
.bro-callout__bro {
  flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 6px;
}
.bro-callout__bro .bro-emblem { width: 84px; height: 84px; filter: drop-shadow(0 6px 14px rgba(10,58,43,.22)); }
.bro-callout__bro .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 8px; font-weight: 700; text-align: center; line-height: 1.3;
}
.bro-callout__bubble {
  position: relative; flex: 1; background: var(--felt); color: #fff;
  border-radius: var(--r-lg); padding: 22px 26px; box-shadow: var(--shadow);
  margin-left: 18px;
}
.bro-callout__bubble::before {
  content: ""; position: absolute; left: -13px; top: 30px;
  border-width: 9px 14px 9px 0; border-style: solid;
  border-color: transparent var(--felt) transparent transparent;
}
.bro-callout__bubble .says {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 0 0 7px;
}
.bro-callout__bubble p { margin: 0; font-size: 1.06rem; line-height: 1.55; }
.bro-callout__bubble p + p { margin-top: .7rem; }
.bro-callout__bubble strong { color: var(--gold); font-weight: 700; }

/* light variant (gold bubble on cream) */
.bro-callout--gold .bro-callout__bubble { background: var(--gold-tint); color: var(--ink); border: 1px solid #e8d9b4; box-shadow: var(--shadow-sm); }
.bro-callout--gold .bro-callout__bubble::before { border-color: transparent var(--gold-tint) transparent transparent; }
.bro-callout--gold .bro-callout__bubble .says { color: var(--gold-deep); }
.bro-callout--gold .bro-callout__bubble strong { color: var(--gold-deep); }

/* ============================================================
   HEADER / NAV (injected by site.js)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,241,231,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: var(--maxw); margin: 0 auto; height: var(--nav-h); padding: 0 24px;
  display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand .bro-emblem { width: 42px; height: 42px; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; }
.brand__name b { color: var(--felt); }
.brand__name span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav__links a {
  font-weight: 600; font-size: .97rem; padding: 9px 14px; border-radius: 999px; color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--felt); background: var(--felt-tint); }
.nav__links a.active { color: var(--felt); background: var(--felt-tint); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* region selector */
.region { position: relative; }
.region__btn {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.region__btn .flag { font-size: 1.1rem; line-height: 1; }
.region__btn .chev { width: 14px; height: 14px; color: var(--ink-faint); transition: transform .2s; }
.region.open .region__btn .chev { transform: rotate(180deg); }
.region__menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; min-width: 184px; display: none;
}
.region.open .region__menu { display: block; }
.region__menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; text-align: left;
  padding: 9px 11px; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--ink);
}
.region__menu button:hover { background: var(--felt-tint); }
.region__menu button .flag { font-size: 1.15rem; }
.region__menu button.sel { color: var(--felt); }
.region__menu button.sel::after { content: "✓"; margin-left: auto; color: var(--gold-deep); }

.nav__burger { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; color: var(--ink); }
.nav__burger:hover { background: var(--felt-tint); }
.nav__burger svg { width: 26px; height: 26px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(15,40,30,.4); backdrop-filter: blur(2px); animation: fade .2s ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 340px);
  background: var(--cream); box-shadow: var(--shadow-lg); padding: 22px; overflow-y: auto;
  animation: slideIn .26s cubic-bezier(.2,.7,.3,1); display: flex; flex-direction: column;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__close { background: #fff; border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; padding: 0; flex: none; display: grid; place-items: center; color: var(--ink); }
.drawer__links { display: flex; flex-direction: column; gap: 2px; }
.drawer__links a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; padding: 13px 6px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__links a.active { color: var(--felt); }
.drawer__links a .num { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); font-weight: 700; }
.drawer__region { margin-top: auto; padding-top: 22px; }
.drawer__region .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.drawer__region .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__region button { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px; font-weight: 600; font-size: .9rem; }
.drawer__region button.sel { border-color: var(--felt); background: var(--felt-tint); color: var(--felt); }

@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }

/* ============================================================
   MOBILE BOTTOM TAB BAR (injected)
   ============================================================ */
.tabbar { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__felt {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(199,154,75,.16), transparent 55%),
    radial-gradient(90% 80% at 10% 110%, rgba(26,107,81,.16), transparent 60%);
  pointer-events: none;
}

/* ============================================================
   FOOTER (injected)
   ============================================================ */
.foot { background: var(--felt-deep); color: rgba(255,255,255,.78); margin-top: 40px; }
.foot a { color: rgba(255,255,255,.78); }
.foot a:hover { color: var(--gold); }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.foot__brand .brand__name { color: #fff; }
.foot__brand .brand__name b { color: var(--gold); }
.foot__brand p { color: rgba(255,255,255,.6); margin: 16px 0 0; font-size: .95rem; max-width: 34ch; }
.foot__col h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 16px; }
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.foot__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }
.foot__bottom .gamble { display: inline-flex; align-items: center; gap: 9px; }
.age-pill { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-size: .8rem; font-family: var(--mono); flex: none; }

/* responsible gaming strip */
.rg-strip { background: var(--gold-tint); border-top: 1px solid #e8d9b4; border-bottom: 1px solid #e8d9b4; }
.rg-strip__inner { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: .9rem; color: var(--gold-deep); }
.rg-strip__inner .age-pill { width: 30px; height: 30px; border-color: var(--gold-deep); color: var(--gold-deep); font-size: .72rem; }

/* ============================================================
   MISC content bits
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--felt); }
.breadcrumb .sep { opacity: .5; }

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }

.stat { }
.stat b { font-family: var(--display); font-weight: 800; font-size: 2.4rem; display: block; line-height: 1; color: var(--felt); }
.stat span { font-size: .9rem; color: var(--ink-soft); }

/* prose for articles */
.prose { font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.4rem; margin-top: 2rem; }
.prose p { margin: 0; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li + li { margin-top: .5rem; }
.prose blockquote { margin: 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--gold); font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--felt-deep); }
.prose a.link { color: var(--felt); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 600; }

/* table */
.tbl { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.tbl th { background: var(--felt-tint); font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--felt-deep); font-weight: 700; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--cream); }
.tbl .num { font-family: var(--mono); }

/* pros/cons */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc__box { border-radius: var(--r-lg); padding: 22px 24px; border: 1px solid var(--line); }
.pc__box h4 { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pc__box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: .98rem; }
.pc__box li { display: flex; gap: 10px; align-items: flex-start; }
.pc__box li .ic { flex: none; margin-top: 2px; }
.pc--pro { background: var(--felt-tint); border-color: #cfe0d6; }
.pc--pro h4 { color: var(--felt-deep); }
.pc--con { background: var(--player-tint); border-color: #ecccc8; }
.pc--con h4 { color: var(--player); }

/* step sequence (used on strategy detail + how-to-play) */
.seq { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; }
.seq__step { flex: 1; min-width: 120px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-align: center; }
.seq__step--win { border-color: var(--gold); background: var(--gold-tint); }
.seq__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--felt); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.seq__step b { display: block; font-family: var(--display); font-size: 1.5rem; }
.seq__step .win { display: block; color: var(--felt); font-weight: 700; font-size: .85rem; margin-top: 4px; }
.seq__step small { display: block; color: var(--ink-faint); font-family: var(--mono); font-size: 10.5px; margin-top: 6px; }
.seq__arrow { display: flex; align-items: center; color: var(--ink-faint); font-size: 1.3rem; }

/* casino card */
.casino { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.casino__logo { width: 96px; height: 96px; border-radius: 18px; flex: none; }
.rating { display: inline-flex; align-items: baseline; gap: 6px; }
.rating b { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: var(--felt); line-height: 1; }
.rating span { font-size: .82rem; color: var(--ink-faint); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }

.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .94rem; }
.feature-list li { display: flex; gap: 9px; align-items: center; }

/* article card */
.art-card { overflow: hidden; padding: 0; }
.art-card .ph { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); min-height: 190px; }
.art-card__body { padding: 22px 24px 26px; }
.art-card__meta { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-top: 14px; }

/* tool card */
.tool-card { display: flex; flex-direction: column; }
.tool-card .badge { align-self: flex-start; }

/* newsletter */
.news { background: var(--felt); color: #fff; border-radius: var(--r-xl); padding: 48px 52px; position: relative; overflow: hidden; }
.news__felt { position: absolute; inset: 0; background: radial-gradient(80% 120% at 90% 10%, rgba(199,154,75,.22), transparent 60%); }
.news form { display: flex; gap: 10px; max-width: 440px; }
.news input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 0; font-family: var(--sans); font-size: 1rem; }
.news input:focus { outline: 3px solid var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; } /* room for tab bar */
  .wrap { padding: 0 18px; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pc { grid-template-columns: 1fr; }
  .casino { grid-template-columns: auto 1fr; }
  .casino__cta { grid-column: 1 / -1; }
  .news { padding: 32px 24px; }
  .news form { flex-direction: column; }
  .news input { width: 100%; }
  .region { display: none; } /* in drawer on mobile */
  .nav__right .btn { display: none; }

  /* mobile bottom tab bar */
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: rgba(252,250,244,.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 4px);
    justify-content: space-around;
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 6px 2px; color: var(--ink-faint); font-size: 10px; font-weight: 600; letter-spacing: .02em; }
  .tabbar a svg { width: 23px; height: 23px; }
  .tabbar a.active { color: var(--felt); }

  .bro-callout { flex-direction: column; }
  .bro-callout__bro { width: 100%; flex-direction: row; gap: 12px; justify-content: flex-start; padding: 0 0 4px; }
  .bro-callout__bro .bro-emblem { width: 58px; height: 58px; }
  .bro-callout__bro .tag { margin-top: 0; text-align: left; }
  .bro-callout__bubble { margin-left: 0; }
  .bro-callout__bubble::before { left: 26px; top: -13px; border-width: 0 9px 14px 9px; border-color: transparent transparent var(--felt) transparent; }
  .bro-callout--gold .bro-callout__bubble::before { border-color: transparent transparent var(--gold-tint) transparent; }

  .section-head h2 { font-size: 1.7rem; }
}

/* ============================================================
   TWEAKS PANEL (vanilla, injected by site.js)
   ============================================================ */
body.bb-no-bro .bro-callout { display: none !important; }

.tweaks { position: fixed; z-index: 200; right: 20px; bottom: 20px; width: 312px; max-width: calc(100vw - 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); font-family: var(--sans); display: none; overflow: hidden; }
.tweaks.open { display: block; animation: tweakIn .22s cubic-bezier(.2,.7,.3,1); }
@keyframes tweakIn { from { opacity: 0; transform: translateY(10px); } }
.tweaks__head { display: flex; align-items: center; gap: 10px; padding: 15px 16px; border-bottom: 1px solid var(--line); cursor: grab; background: var(--felt-deep); color:#fff; }
.tweaks__head:active { cursor: grabbing; }
.tweaks__head .bro-emblem { width: 28px; height: 28px; }
.tweaks__title { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.tweaks__title span { display:block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight:700; margin-top:1px; }
.tweaks__close { margin-left: auto; background: rgba(255,255,255,.12); border: 0; color:#fff; width: 28px; height: 28px; border-radius: 8px; display:grid; place-items:center; }
.tweaks__close:hover { background: rgba(255,255,255,.22); }
.tweaks__body { padding: 14px 16px 18px; max-height: min(66vh, 540px); overflow-y: auto; }
.tweaks__sec { margin-top: 16px; }
.tweaks__sec:first-child { margin-top: 4px; }
.tweaks__lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: 9px; }
.tw-seg { display: flex; gap: 5px; background: var(--cream-deep); padding: 4px; border-radius: 999px; }
.tw-seg button { flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 999px; font-weight: 700; font-size: .8rem; color: var(--ink-soft); transition: all .15s; }
.tw-seg button.sel { background: #fff; color: var(--felt); box-shadow: var(--shadow-sm); }
.tw-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tw-swatch { border: 2px solid var(--line); background: var(--paper); border-radius: 12px; padding: 8px 4px 7px; cursor: pointer; transition: border-color .15s, transform .12s; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tw-swatch:hover { transform: translateY(-2px); }
.tw-swatch.sel { border-color: var(--ink); }
.tw-swatch .sw-dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.5); }
.tw-swatch .sw-name { font-size: 10px; font-weight: 700; color: var(--ink-soft); }
.tw-swatch.sel .sw-name { color: var(--ink); }
.tw-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tw-toggle span { font-weight: 600; font-size: .92rem; }
.tw-switch { width: 46px; height: 27px; border-radius: 999px; background: var(--line); border: 0; position: relative; transition: background .18s; flex: none; }
.tw-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s; }
.tw-switch.on { background: var(--felt); }
.tw-switch.on::after { transform: translateX(19px); }
.tweaks__note { font-size: 11px; color: var(--ink-faint); margin-top: 16px; line-height: 1.4; }
@media (max-width: 640px){ .tweaks { right: 10px; left: 10px; bottom: 78px; width: auto; } }
