/* =========================================================================
   GameBoost — dark marketplace theme (ref: gameboost.com, symbiosis)
   ========================================================================= */

:root {
  /* gameboost.ing — dark marketplace theme (ref: gameboost.com, symbiosis) */
  --bg: #0E1015;
  --bg-2: #171A21;
  --bg-3: #20242D;
  --panel: #171A21;
  --panel-2: #20242D;
  --navy: #0B0D11;             /* deepest surface (kept name for component reuse) */
  --navy-2: #20242D;
  --border: #2A2F3A;
  --border-2: #333B49;
  --text: #FAFAFA;
  --heading: #FFFFFF;
  --muted: #A6ADBB;
  --faint: #7B828F;            /* dimmer than --muted: fine-print / meta labels on dark */
  --primary: #3563F0;          /* electric indigo-blue — solid buttons/accent */
  --primary-2: #5B84FF;        /* bright — links/text on dark (AA) */
  --primary-3: #4A74FF;        /* button hover */
  --primary-ghost: rgba(53, 99, 240, 0.14);
  --ember: #F04A1E;            /* Diablo-section warm accent */
  --ember-2: #FF6A3D;
  --gold: #F5B301;             /* ratings / #1 */
  --lime: #F5B301;             /* legacy highlighter -> gold */
  --success: #22C55E;
  --danger: #EF4444;
  --star: #F5B301;
  --star-empty: #3A4150;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --maxw: 1160px;
  --gap: 24px;
  --header-h: 64px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Red Hat Display", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { color: var(--primary-3); }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.15; margin: 0 0 .6em; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 28px 0; }
.eyebrow { color: var(--primary-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 10px; font-family: var(--font-head); }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.mark { background: var(--lime); color: var(--navy); padding: 0 .18em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; transition: .15s ease;
  text-align: center; line-height: 1;
}
.btn--primary { background: var(--primary-2); color: #fff; }
.btn--primary:hover { background: var(--primary-3); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: var(--panel); color: var(--heading); border-color: var(--border-2); }
.btn--ghost:hover { background: var(--bg-2); color: var(--heading); border-color: var(--primary); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 36px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }

/* ---- Announcement bar (rotating) ---- */
.announce { background: var(--primary-2); color: #fff; font-size: 14px; font-weight: 500; display: grid; }
.announce__item { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 9px 16px; opacity: 0; transition: opacity .5s ease; }
.announce__item.is-active { opacity: 1; }
.announce a { color: #fff; text-decoration: underline; font-weight: 700; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,17,.85); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft, var(--border));
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.site-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--heading); letter-spacing: -0.03em; }
.site-brand__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--primary-2); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.site-brand em { color: var(--primary-2); font-style: normal; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--heading); font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 40px; display: block; font-family: var(--font-head); }
.primary-nav a:hover { background: var(--bg-2); color: var(--primary); }
.primary-nav a.nav-feature { color: var(--primary-2); background: var(--primary-ghost); }
.primary-nav a.nav-feature::before { content: "⇄"; margin-right: 6px; font-weight: 800; }
.primary-nav a.nav-feature:hover { background: var(--primary-2); color: #fff; }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: var(--bg-2); border: 1px solid var(--border); color: var(--heading); width: 46px; height: 46px; border-radius: 12px; font-size: 20px; cursor: pointer; }

/* Language switcher */
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.lang-switch__item { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; line-height: 1; border: 1px solid transparent; filter: grayscale(.35); opacity: .75; transition: .15s; }
.lang-switch__item:hover { filter: none; opacity: 1; background: var(--bg-2); }
.lang-switch__item.is-active { filter: none; opacity: 1; border-color: var(--primary); }

/* ---- Hero (dark navy rounded card on light bg) ---- */
.hero { padding: 28px 0 20px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; background: var(--navy); border-radius: var(--radius-xl); padding: 56px; position: relative; }
.hero__grid h1, .hero__grid .eyebrow { color: #fff; position: relative; }
.hero__grid .eyebrow { color: var(--lime); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.75); max-width: 52ch; position: relative; }

/* Editor's top-pick card (replaces the empty hero placeholder) */
.top-pick { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.28); }
.top-pick__tag { display: inline-block; background: var(--lime); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 20px; margin-bottom: 16px; }
.top-pick__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.top-pick__logo { height: 40px; }
.top-pick__logo img { max-height: 40px; width: auto; }
.top-pick__logo .logo-fallback { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--heading); }
.top-pick__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--heading); }
.top-pick__points { list-style: none; margin: 0 0 18px; padding: 0; }
.top-pick__points li { position: relative; padding: 5px 0 5px 24px; color: var(--text); font-size: 14px; }
.top-pick__points li::before { content: "✓"; position: absolute; left: 0; top: 5px; color: var(--primary); font-weight: 800; }
.top-pick__review { display: block; text-align: center; margin-top: 12px; font-weight: 600; font-size: 14px; }

/* ---- Grids / cards ---- */
.grid { display: grid; gap: var(--gap); }
.grid--games { grid-template-columns: repeat(4, 1fr); }
.grid--standards { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.card--pad-lg { padding: 32px; }

/* Game tile */
.game-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/10; background: linear-gradient(160deg, var(--navy-2), var(--navy)); display: flex; align-items: flex-end; padding: 16px; transition: .15s; box-shadow: var(--shadow-sm); }
.game-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.game-tile.has-bg { background-size: cover; background-position: center; }
.game-tile span { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 18px; position: relative; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.game-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,20,.12), rgba(10,12,20,.72)); z-index: 1; }
.game-tile--soon { opacity: .6; pointer-events: none; }
.game-tile__badge { position: absolute; top: 10px; right: 10px; z-index: 3; font-size: 11px; background: var(--lime); border: 0; color: var(--navy); padding: 3px 9px; border-radius: 20px; font-weight: 700; }

/* Pillar card — numbered, editorial (no emoji) */
.pillar { text-align: left; position: relative; }
.pillar__num { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--primary-2); letter-spacing: -0.02em; margin-bottom: 12px; display: inline-flex; align-items: center; }
.pillar__num::after { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--border-2); margin-left: 12px; }

/* ---- Stars ---- */
.stars { --pct: 100%; display: inline-block; position: relative; font-size: 18px; line-height: 1; font-family: Arial, sans-serif; letter-spacing: 2px; }
.stars::before { content: "★★★★★"; color: var(--star-empty); }
.stars__fill { position: absolute; top: 0; left: 0; width: var(--pct); overflow: hidden; white-space: nowrap; }
.stars__fill::before { content: "★★★★★"; color: var(--star); }
.rating-score { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--heading); }
.rating-inline { display: inline-flex; align-items: center; gap: 8px; }

/* ---- Store card ---- */
.store-card { display: grid; grid-template-columns: 40px 120px 1fr auto; gap: 20px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 26px; transition: .15s; box-shadow: var(--shadow-sm); }
.store-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.store-card--featured { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-ghost), var(--shadow); position: relative; }
.store-card__rank { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--muted); text-align: center; }
.store-card--featured .store-card__rank { color: var(--primary-2); }
.store-card__logo { height: 46px; display: flex; align-items: center; }
.store-card__logo img { max-height: 46px; width: auto; }
.logo-chip { background: var(--navy); border-radius: 12px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; overflow: hidden; }
.logo-chip .logo-img { width: auto; height: auto; object-fit: contain; display: block; max-width: 100%; }
.store-card__logo { min-width: 0; overflow: hidden; }
.store-card__logo .logo-img { max-height: 24px; max-width: 92px; }
.top-pick__logo .logo-chip { padding: 7px 12px; border-radius: 10px; }
.top-pick__logo .logo-img { max-height: 26px; max-width: 116px; }
.review-head__logo { width: auto; }
.review-head__logo .logo-chip { padding: 12px 16px; border-radius: 16px; }
.review-head__logo .logo-img { max-height: 40px; max-width: 130px; }
.related-store__logo .logo-chip { padding: 8px 12px; }
.related-store__logo .logo-img { max-height: 24px; max-width: 88px; }
.logo-mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.top-pick__logo .logo-mono { width: 40px; height: 40px; border-radius: 10px; }
.review-head__logo .logo-mono { width: 72px; height: 72px; border-radius: 16px; font-size: 24px; }
.store-card__body { min-width: 0; }
.store-card__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin: 0 0 4px; }
.store-card__tag { color: var(--muted); font-size: 14px; margin: 0; }
.store-card__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 168px; }
.featured-badge { position: absolute; top: -11px; left: 26px; background: var(--lime); color: var(--navy); font-family: var(--font-head); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; }

/* ---- Promo widget ---- */
.promo { display: inline-flex; align-items: stretch; border: 1px dashed var(--border-2); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.promo__label { padding: 9px 14px; font-weight: 700; letter-spacing: .03em; color: var(--heading); font-size: 14px; }
.promo__code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; color: var(--primary-2); padding: 9px 14px; display: flex; align-items: center; }
.promo__copy { border: 0; border-left: 1px dashed var(--border-2); background: var(--primary-ghost); color: var(--primary-2); padding: 0 16px; font-weight: 700; cursor: pointer; font-family: var(--font-head); }
.promo__copy:hover { background: var(--primary-2); color: #fff; }
.promo__copy.copied { background: var(--primary-2); color: #fff; }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow-sm); }
table.compare, table.promos { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td, table.promos th, table.promos td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.compare thead th, table.promos thead th { background: var(--bg-2); font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.compare tbody tr:last-child td, table.promos tbody tr:last-child td { border-bottom: 0; }
table.compare tr.is-featured td { background: var(--primary-ghost); }

/* ---- Head-to-head (versus) pages ---- */
.vs-hero { text-align: center; max-width: 780px; margin: 0 auto 8px; }
.vs-hero h1 { margin-bottom: 14px; }
.vs-hero .lead { color: var(--muted); }
.vs-h2 { margin: 40px 0 18px; }
.vs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.vs-card { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vs-card--pick { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-ghost); }
.vs-card__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 5px 14px; border-radius: 40px; white-space: nowrap; }
.vs-card__logo { height: 40px; display: flex; align-items: center; justify-content: center; }
.vs-card__logo .logo-img { max-height: 40px; max-width: 150px; }
.vs-card__name { margin: 0; }
.vs-card .btn--block { margin-top: 6px; }
.vs-card__review { font-weight: 600; color: var(--primary-2); text-decoration: none; font-size: 14px; }
.vs-table td, .vs-table th { text-align: center; }
.vs-table td.vs-metric { text-align: left; font-weight: 600; color: var(--heading); font-family: var(--font-head); }
.vs-table td.vs-win { background: var(--primary-ghost); font-weight: 700; color: var(--primary-2); }
.vs-tick { color: var(--primary); font-weight: 800; }
.vs-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.vs-pc { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.vs-pc h3 { margin: 0 0 12px; }
.vs-pros, .vs-cons { list-style: none; margin: 0 0 10px; padding: 0; }
.vs-pros li, .vs-cons li { position: relative; padding-left: 26px; margin-bottom: 8px; line-height: 1.45; }
.vs-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.vs-cons li::before { content: "✕"; position: absolute; left: 0; color: #c0392b; font-weight: 800; }
.vs-verdict { margin-top: 40px; background: var(--navy); color: #fff; border-radius: var(--radius-xl); padding: 34px; }
.vs-verdict h2 { color: #fff; margin-top: 0; }
.vs-verdict p { color: rgba(255,255,255,.85); }
.vs-verdict__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (max-width: 700px) {
  .vs-cards, .vs-proscons { grid-template-columns: 1fr; }
}
.code-cell { font-family: ui-monospace, Menlo, monospace; color: var(--primary-2); font-weight: 700; }

/* ---- Pros / Cons ---- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proscons__col { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.proscons__col h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.proscons ul { list-style: none; margin: 0; padding: 0; }
.proscons li { display: flex; gap: 10px; padding: 7px 0; align-items: flex-start; }
.proscons li::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 2px; }
.proscons__pros li::before { content: "✓"; background: var(--primary-ghost); color: var(--primary-2); }
.proscons__cons li::before { content: "✕"; background: rgba(240,97,109,.14); color: var(--danger); }

/* ---- Rating box ---- */
.rate-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.rate-box__head { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.rate-box__overall { text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 22px; }
.rate-box__overall .num { font-family: var(--font-head); font-size: 44px; font-weight: 800; line-height: 1; color: #fff; }
.rate-box__overall .den { color: rgba(255,255,255,.7); font-size: 14px; }
.rate-item { display: grid; grid-template-columns: 1fr auto 48px; gap: 14px; align-items: center; padding: 9px 0; }
.rate-item__title { color: var(--muted); }
.rate-item__num { font-family: var(--font-head); font-weight: 800; text-align: right; color: var(--heading); }

/* ---- Verdict box ---- */
.verdict { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.verdict h2, .verdict *, .verdict p { color: #fff; }
.verdict__score { text-align: center; }
.verdict__score .num { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--lime); }

/* ---- FAQ accordion ---- */
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--panel); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--heading); font-family: var(--font-head); font-weight: 700; font-size: 17px; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__q::after { content: "＋"; color: var(--primary); font-size: 20px; flex: none; }
.faq__item.open .faq__q::after { content: "－"; }
.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: .2s ease; color: var(--muted); }
.faq__item.open .faq__a { padding: 0 20px 18px; max-height: 500px; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { font-size: 14px; color: var(--muted); padding: 18px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span[aria-current] { color: var(--heading); font-weight: 600; }

/* ---- Disclosure ---- */
.disclosure { background: var(--panel); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: var(--muted); margin: 20px 0; box-shadow: var(--shadow-sm); }
.disclosure strong { color: var(--heading); }
.disclosure a { text-decoration: underline; }

/* ---- Review layout ---- */
.review-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin: 12px 0 28px; }
.review-head__logo { width: 130px; display: flex; align-items: center; }
.review-title { margin: 0 0 8px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pay-icons, .game-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-icons span, .game-icons a { font-size: 13px; background: var(--bg-2); border: 1px solid var(--border); padding: 6px 12px; border-radius: 8px; color: var(--muted); }
.prose h2 { margin-top: 40px; padding-top: 8px; }
.prose h3 { margin-top: 24px; }
.prose ul { padding-left: 20px; color: var(--text); }
.prose img { border-radius: var(--radius); border: 1px solid var(--border); margin: 16px 0; }
.section-cta { margin: 20px 0 8px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Author box */
.author-box { display: flex; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-top: 32px; box-shadow: var(--shadow-sm); }
.author-box__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-ghost); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--primary-2); flex: none; }
.author-box__img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.author-box__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--heading); }
.author-box__role { font-size: 13px; color: var(--primary-2); font-weight: 600; margin: 2px 0 6px; }
.author-box__bio { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.author-box__link { font-size: 13px; font-weight: 600; }

/* Date badge */
.date-badge { display: inline-block; font-size: 13px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border); padding: 5px 13px; border-radius: 20px; }

/* ---- Footer (navy) ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 52px 0 26px; margin-top: 64px; font-size: 14px; }
.site-footer .site-brand { color: #fff; }
.site-footer .text-muted { color: rgba(255,255,255,.62); } /* muted on navy footer */
.site-footer .site-brand em { color: var(--primary); } /* bright green reads fine on navy */
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: rgba(255,255,255,.8); font-weight: 700; }
.footer-social a:hover { color: #fff; background: var(--primary-2); border-color: var(--primary-2); }
.footer-col h4 { color: #fff; font-size: 15px; font-family: var(--font-head); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-bottom .copy { margin-top: 12px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.guide-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .15s; box-shadow: var(--shadow-sm); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card__thumb { aspect-ratio: 16/9; background: var(--bg-3) center/cover no-repeat; background-image: image-set(url('../img/guide-default.avif') type('image/avif'), url('../img/guide-default.webp') type('image/webp')); position: relative; }
.guide-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,44,.05), rgba(17,18,44,.35)); }
.guide-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.guide-card__body { padding: 16px 18px; }
.guide-card__date { font-size: 12px; color: var(--muted); }
.guide-card__title { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin: 6px 0 0; color: var(--heading); }

/* ---- Deal of the Month ---- */
.deal { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow); margin-top: 8px; }
.deal__badge { position: absolute; top: -13px; left: 26px; background: var(--lime); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 20px; }
.deal__logo .logo-chip { background: rgba(255,255,255,.10); }
.deal__name { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; }
.deal .rating-inline { margin-top: 6px; }
.deal .rating-score { color: #fff; }
.deal .trust-score { background: rgba(255,255,255,.14); }
.deal__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 220px; }
.deal__review { color: var(--lime); text-align: center; font-weight: 700; font-size: 14px; }
.deal__past { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.74); }
/* Deal card sits on navy: keep muted/badge text light enough for contrast. */
.deal .text-muted { color: rgba(255,255,255,.74); }
.deal .verified-badge { color: var(--primary); }
.deal__past strong { color: #fff; }
.deal__past a { color: var(--primary); } /* on navy — bright green passes */
@media (max-width: 760px) { .deal { grid-template-columns: 1fr; text-align: center; } .deal__actions { min-width: 0; } .deal .rating-inline { justify-content: center; } }

/* ---- Trust strip ---- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-sm); position: relative; }
.trust-strip__item { display: flex; align-items: center; gap: 12px; }
.trust-strip__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--primary-ghost); color: var(--primary-2); display: grid; place-items: center; }
.trust-strip__icon svg { width: 21px; height: 21px; }
.trust-strip__title { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--heading); line-height: 1.2; }
.trust-strip__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.trust-strip__updated { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--primary-2); display: flex; align-items: center; gap: 8px; }
.trust-strip__updated .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0,182,122,.5); animation: wb-pulse 2s infinite; }
@keyframes wb-pulse { 0% { box-shadow: 0 0 0 0 rgba(0,182,122,.5); } 70% { box-shadow: 0 0 0 8px rgba(0,182,122,0); } 100% { box-shadow: 0 0 0 0 rgba(0,182,122,0); } }
@media (max-width: 860px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---- Game layout: category sidebar + main ---- */
.game-layout { display: grid; grid-template-columns: 244px 1fr; gap: 32px; align-items: start; padding-top: 12px; }
.game-layout__main { min-width: 0; }
.game-sidebar { position: sticky; top: calc(var(--header-h) + 16px); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.game-sidebar__head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.game-sidebar__icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; flex: none; }
.game-sidebar__icon img { width: 26px; height: 26px; object-fit: contain; }
.game-sidebar__name { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--heading); line-height: 1.2; }
.game-sidebar__nav { display: flex; flex-direction: column; gap: 2px; }
.game-sidebar__link { padding: 10px 12px; border-radius: 10px; color: var(--heading); font-weight: 600; font-size: 15px; transition: .12s; }
.game-sidebar__link:hover { background: var(--bg-2); color: var(--primary-2); }
.game-sidebar__link.is-active { background: var(--primary-ghost); color: var(--primary-2); }
@media (max-width: 920px) {
  .game-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .game-sidebar { position: static; min-width: 0; }
  .game-sidebar__head { border-bottom: 0; margin-bottom: 4px; padding-bottom: 6px; }
  .game-sidebar__nav { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; min-width: 0; }
  .game-sidebar__nav::-webkit-scrollbar { display: none; }
  .game-sidebar__link { white-space: nowrap; }
}

/* ---- Category nav (service sub-pages) ---- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.cat-chip { display: inline-flex; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 40px; padding: 8px 16px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--heading); transition: .15s; }
.cat-chip:hover { border-color: var(--primary); color: var(--primary-2); background: var(--primary-ghost); }

/* ---- Quiz ---- */
.quiz { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-top: 16px; }
.quiz__step h3 { font-family: var(--font-head); }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.quiz__opt { background: var(--bg-2); border: 1px solid var(--border); border-radius: 40px; padding: 11px 20px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--heading); cursor: pointer; transition: .15s; }
.quiz__opt:hover { border-color: var(--primary); color: var(--primary-2); }
.quiz__opt.sel { background: var(--primary-2); color: #fff; border-color: var(--primary-2); }
.quiz__pick { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 26px; }
.quiz__pick-tag { display: inline-block; background: var(--lime); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.quiz__pick-name { font-family: var(--font-head); font-weight: 800; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.quiz__pick p { color: rgba(255,255,255,.8); }
.quiz__pick-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.quiz__nav { margin-top: 16px; }

/* ---- Compare tool ---- */
.compare-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.compare-pick__opt { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--border); border-radius: 40px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
.compare-pick__opt:has(input:checked) { border-color: var(--primary); background: var(--primary-ghost); color: var(--primary-2); }
.compare-pick__opt:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.compare-pick__opt:has(input:disabled) input { cursor: not-allowed; }
.compare-hint { color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 500; }
.compare-hint__count { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; padding: 3px 10px; border-radius: 40px; background: var(--bg-2); border: 1px solid var(--border); font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--muted); }
.compare-hint.is-max { color: var(--primary-2); font-weight: 600; }
.compare-hint.is-max .compare-hint__count { background: var(--primary-ghost); border-color: var(--primary); color: var(--primary-2); }

/* ---- Promo-codes hub page ---- */
.promo-hub__fresh { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--primary-2); background: var(--primary-ghost); border: 1px solid rgba(0,182,122,.25); padding: 6px 14px; border-radius: 40px; margin: 4px 0 16px; }
.promo-hub__fresh .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0,182,122,.5); animation: wb-pulse 2s infinite; }
.promo-hub__store { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); }
.promo-hub__store strong { display: block; font-family: var(--font-head); }
.promo-hub__logo { height: 34px; display: flex; align-items: center; }
.promo-hub__logo .logo-img { max-height: 34px; max-width: 120px; }
.promos tr.is-featured td { background: var(--primary-ghost); }
.promos td .promo { margin: 0; }

/* ---- Site-wide compare: card toggle + floating bar ---- */
.sc-compare { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; padding: 6px 4px; }
.sc-compare input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }
.sc-compare:has(input:checked) { color: var(--primary-2); }
.sc-compare:has(input:disabled) { opacity: .45; cursor: not-allowed; }

.wb-compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 200; display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 24px); background: var(--navy); color: #fff; border-radius: var(--radius-pill); padding: 12px 16px 12px 20px; box-shadow: 0 12px 40px rgba(17,18,44,.35); flex-wrap: wrap; }
.wb-compare-bar[hidden] { display: none; }
.wb-compare-bar__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-compare-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border-radius: 40px; padding: 5px 6px 5px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.wb-compare-chip button { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 13px; display: grid; place-items: center; }
.wb-compare-chip button:hover { background: var(--danger); }
.wb-compare-bar__actions { display: flex; gap: 8px; align-items: center; }
.wb-compare-bar__actions .btn--ghost { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.wb-compare-bar__actions .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.wb-compare-bar__max { flex-basis: 100%; font-size: 12px; color: var(--lime); font-weight: 600; }
@media (max-width: 560px) {
  .wb-compare-bar { left: 12px; right: 12px; transform: none; max-width: none; justify-content: space-between; padding: 12px 14px; }
}
#wb-compare-table th, #wb-compare-table td { text-align: center; }
#wb-compare-table tr th:first-child { color: var(--muted); font-weight: 600; }

/* ---- Social proof ---- */
.social-proof { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.social-proof::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0,182,122,.5); animation: wb-pulse 2s infinite; }

/* ---- Trust chip ---- */
.trust-chip { font-size: 12px; font-weight: 700; color: var(--primary-2); background: var(--primary-ghost); border-radius: 20px; padding: 3px 10px; white-space: nowrap; text-decoration: none; }
a.trust-chip:hover { background: rgba(0,182,122,.18); color: #00694a; }

/* ---- Trust Score + Verified badge ---- */
.trust-score { display: inline-flex; align-items: baseline; gap: 1px; background: var(--navy); color: #fff; border-radius: 8px; padding: 3px 9px; font-family: var(--font-head); font-weight: 800; line-height: 1; }
.trust-score__num { font-size: 14px; }
.trust-score__den { font-size: 10px; color: rgba(255,255,255,.6); font-weight: 600; }
a.trust-score { text-decoration: none; }
a.trust-score:hover { background: var(--navy-2); }
.verified-badge { display: inline-flex; align-items: center; gap: 3px; background: var(--primary-ghost); color: var(--primary-2); border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 800; margin-left: 6px; font-family: var(--font-head); }
.store-card__trust { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

/* ---- Related stores ---- */
.related-stores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 8px; }
.related-store { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px; box-shadow: var(--shadow-sm); transition: .15s; }
.related-store:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-2); }
.related-store__logo img { max-height: 34px; width: auto; }
.related-store__logo .logo-mono { width: 40px; height: 40px; border-radius: 10px; font-size: 15px; }
.related-store__name { font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 15px; }
.related-store__rating { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* ---- Cookie consent manager (CMP) ---- */
.cookie-cmp { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cookie-cmp[hidden] { display: none; }
.cookie-banner, .cookie-modal { pointer-events: auto; background: var(--navy); color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner .btn--ghost, .cookie-modal .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.cookie-banner .btn--ghost:hover, .cookie-modal .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.cookie-banner { position: fixed; left: 24px; bottom: 24px; max-width: 440px; width: calc(100% - 48px); border-radius: var(--radius-lg); padding: 22px 24px; }
.cookie-banner__text { font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.55; }
.cookie-banner__text strong { display: block; color: #fff; font-family: var(--font-head); font-size: 18px; margin-bottom: 8px; }
.cookie-banner__text a { color: var(--lime); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-banner__actions .btn { flex: 1; }
.cookie-link { display: inline-block; margin-top: 14px; background: none; border: 0; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; cursor: pointer; padding: 0; text-decoration: underline; }

.cookie-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: var(--radius-lg); padding: 26px; }
.cookie-modal h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.cookie-modal__intro { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.cookie-cat { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-cat__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; }
.cookie-cat__on { font-size: 12px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .04em; }
.cookie-cat__desc { font-size: 13px; color: rgba(255,255,255,.62); margin: 8px 0 0; line-height: 1.5; }
.cookie-modal__actions { display: flex; gap: 10px; margin-top: 22px; }
.cookie-modal__actions .btn { flex: 1; }

/* Toggle switch */
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle__track { position: absolute; inset: 0; background: rgba(255,255,255,.22); border-radius: 20px; transition: .18s; }
.cookie-toggle__track::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: .18s; }
.cookie-toggle input:checked + .cookie-toggle__track { background: var(--primary); }
.cookie-toggle input:checked + .cookie-toggle__track::before { transform: translateX(20px); }
.cookie-toggle input:focus-visible + .cookie-toggle__track { outline: 2px solid var(--lime); outline-offset: 2px; }

@media (max-width: 600px) { .cookie-banner { left: 16px; right: 16px; width: auto; } }

/* Small screens: keep the header (brand + language flags + menu) within the
   viewport so the page never scrolls sideways on iOS. */
@media (max-width: 560px) {
  .site-header__inner { gap: 8px; }
  .lang-switch { margin-left: auto; gap: 1px; }
  .lang-switch__item { width: 30px; height: 30px; font-size: 15px; }
}
@media (max-width: 380px) {
  .lang-switch__item { width: 27px; height: 27px; font-size: 14px; }
}

/* ---- Left game rail ---- */
.game-rail { position: fixed; left: 0; top: 0; bottom: 0; width: 76px; background: var(--panel); border-right: 1px solid var(--border); padding: calc(var(--header-h) + 22px) 0 24px; overflow-y: auto; z-index: 90; scrollbar-width: none; }
.game-rail::-webkit-scrollbar { display: none; }
.game-rail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.game-rail__item { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; transition: .15s; box-shadow: var(--shadow-sm); }
.game-rail__item img { width: 28px; height: 28px; object-fit: contain; }
a.game-rail__item:hover { transform: scale(1.08); border-color: var(--primary); }
.game-rail__item.is-active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ghost); }
.game-rail__item--soon { opacity: .45; filter: grayscale(.5); cursor: default; }
body.has-rail { padding-left: 76px; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .game-rail { display: none; }
  body.has-rail { padding-left: 0; }
  .grid--games { grid-template-columns: repeat(3,1fr); }
  .grid--standards { grid-template-columns: repeat(2,1fr); }
  .hero__grid { grid-template-columns: 1fr; padding: 40px; }
  .hero__art { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .primary-nav.open { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--panel); border-bottom: 1px solid var(--border); padding: 12px 20px; box-shadow: var(--shadow); }
  .primary-nav.open ul { flex-direction: column; }
  .hero__grid { padding: 32px 24px; }
  .grid--games { grid-template-columns: repeat(2,1fr); }
  .grid--standards, .grid--2 { grid-template-columns: 1fr; }
  .store-card { grid-template-columns: 34px 1fr; grid-template-areas: "rank logo" "body body" "actions actions"; row-gap: 14px; }
  .store-card__rank { grid-area: rank; }
  .store-card__logo { grid-area: logo; justify-content: flex-end; }
  .store-card__body { grid-area: body; }
  .store-card__actions { grid-area: actions; flex-direction: row; }
  .store-card__actions .btn { flex: 1; }
  .proscons, .info-cards, .review-head, .verdict { grid-template-columns: 1fr; }
  .related-stores { grid-template-columns: 1fr 1fr; }
  .review-head__logo { width: 100px; }
  .footer-top { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .verdict { text-align: center; }
  .rate-box__head { justify-content: center; text-align: center; }
}

/* ── Payout Radar — booster payout reliability ─────────────────────────────── */
:root {
  --pay-high: #007A4D;   /* reliable — green (AA) */
  --pay-mod:  #B26A00;   /* mixed — amber (AA)   */
  --pay-low:  #C62828;   /* high risk — red (AA) */
}
.payout-radar-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 800; letter-spacing: .02em;
  color: var(--primary-2); font-size: 14px; text-transform: uppercase;
}
.payout-radar-brand--lg { font-size: 16px; }

/* Meter */
.payout-meter { margin: 14px 0 0; }
.payout-meter__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.payout-meter__score { font-family: var(--font-head); font-weight: 800; color: var(--text); }
.payout-meter__num { font-size: 26px; }
.payout-meter__den { font-size: 14px; color: var(--muted); }
.payout-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff;
}
.payout-badge--high { background: var(--pay-high); }
.payout-badge--moderate { background: var(--pay-mod); }
.payout-badge--low { background: var(--pay-low); }
.payout-track {
  position: relative; height: 11px; border-radius: var(--radius-pill);
  background: var(--bg-3); overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(20,25,40,.08);
}
/* Tier band ticks at the 45 / 75 thresholds. */
.payout-track::before, .payout-track::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px; z-index: 2;
  background: rgba(255,255,255,.7); mix-blend-mode: overlay;
}
.payout-track::before { left: 45%; }
.payout-track::after  { left: 75%; }
.payout-track__fill {
  position: absolute; top: 0; bottom: 0; left: 0; border-radius: var(--radius-pill);
  z-index: 1; min-width: 8px;
  box-shadow: 0 1px 3px rgba(20,25,40,.18);
}
.payout-meter--high .payout-track__fill     { background: linear-gradient(90deg, #12C98A, #007A4D); }
.payout-meter--moderate .payout-track__fill { background: linear-gradient(90deg, #E7A70B, #B26A00); }
.payout-meter--low .payout-track__fill      { background: linear-gradient(90deg, #E4574C, #C62828); }
/* Zone legend under the track — maps the fill to named risk bands (45/30/25). */
.payout-scale { display: flex; margin-top: 7px; gap: 2px; }
.payout-scale__seg {
  position: relative; text-align: center; padding-top: 5px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
  border-top: 3px solid currentColor; opacity: .38; transition: opacity .2s;
}
.payout-scale__seg--low      { flex: 0 0 45%; color: var(--pay-low); }
.payout-scale__seg--moderate { flex: 0 0 30%; color: var(--pay-mod); }
.payout-scale__seg--high     { flex: 0 0 25%; color: var(--pay-high); }
.payout-scale__seg.is-active { opacity: 1; }

.payout-meter__meta { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.payout-meter__reports { font-weight: 600; }
/* Per-store report pill — flag an inaccurate score / store right of reply. */
.payout-flag {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px 3px 5px; border-radius: var(--radius-pill);
  color: var(--muted); background: var(--bg-2); border: 1px solid var(--border-2);
  font-size: 12px; font-weight: 700; text-decoration: none; transition: all .15s;
}
.payout-flag__i {
  width: 16px; height: 16px; border-radius: 50%; background: var(--muted); color: #fff;
  display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 11px; line-height: 1;
}
.payout-flag:hover { color: #fff; background: var(--pay-mod); border-color: var(--pay-mod); }
.payout-flag:hover .payout-flag__i { background: #fff; color: var(--pay-mod); }
.payout-meter__note { margin: 8px 0 0; font-size: 15px; color: var(--text); }

/* Review-page card */
.payout-card {
  margin: 32px 0; padding: 22px 24px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--border);
  border-left: 5px solid var(--primary-2);
}
.payout-card--head { margin-bottom: 6px; }
.payout-card__foot { margin: 14px 0 0; font-size: 14px; }
.payout-card__foot a { font-weight: 600; }

/* Hub — independence + ranking */
.payout-independence {
  margin: 20px 0; padding: 16px 20px; border-radius: var(--radius);
  background: var(--primary-ghost); border: 1px solid var(--border-2);
}
.payout-independence strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--primary-3); }
.payout-independence p { margin: 6px 0 0; color: var(--text); font-size: 15px; }

.payout-list { display: grid; gap: 16px; margin-top: 16px; }
.payout-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--panel, #fff); border: 1px solid var(--border);
}
.payout-row--low { border-color: rgba(198,40,40,.35); }
.payout-row__store { display: flex; align-items: center; gap: 12px; }
.payout-row__logo { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.payout-row__id strong { display: block; font-family: var(--font-head); font-size: 17px; }
.payout-row__review { font-size: 13px; font-weight: 600; }
.payout-row__ext { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Methodology steps */
.payout-method { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.payout-method__step { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); }
.payout-method__n {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-2); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
}
.payout-method__step strong { display: block; margin-bottom: 4px; }
.payout-method__step p { margin: 0; font-size: 14px; color: var(--muted); }
.payout-tiers-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Report channel */
.payout-report { margin: 36px 0 0; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--border-2); text-align: center; }
.payout-report p { max-width: 640px; margin: 0 auto 16px; }
.payout-report__fine { font-size: 13px; margin-top: 14px; }
.payout-reply { margin-top: 20px; font-size: 14px; }

@media (max-width: 640px) {
  .payout-row { grid-template-columns: 1fr; gap: 14px; }
  .payout-method { grid-template-columns: 1fr; }
}

/* ── Table of contents (guides) ─────────────────────────────────────────────── */
.toc { margin: 22px 0 28px; padding: 16px 20px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); }
.toc__title { margin: 0 0 10px; font-family: var(--font-head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--heading); }
.toc__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.toc__item { line-height: 1.35; }
.toc__item a { color: var(--primary-2); font-weight: 600; font-size: 15px; }
.toc__item a:hover { color: var(--primary-3); text-decoration: underline; }
.toc__item--h3 { padding-left: 16px; position: relative; }
.toc__item--h3::before { content: "–"; position: absolute; left: 4px; color: var(--muted); }
.toc__item--h3 a { font-weight: 500; font-size: 14px; color: var(--muted); }
.toc__item--h3 a:hover { color: var(--primary-2); }
/* Anchor targets clear the sticky header. */
.prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Guide layout: article + sticky ToC rail (right) on desktop. */
.guide-container { max-width: 1120px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 52px; align-items: start; }
.guide-layout--notoc { grid-template-columns: minmax(0, 1fr); max-width: 800px; margin: 0 auto; }
.guide-layout__main { min-width: 0; max-width: 820px; }
.guide-toc-rail { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.guide-toc-rail .toc { margin: 0; }
.guide-toc-inline { display: none; } /* mobile-only; the rail shows on desktop */

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 0; }
  .guide-layout__main { max-width: none; }
  .guide-toc-rail { display: none; }
  .guide-toc-inline { display: block; }
}

/* ── Related guides (internal linking) ──────────────────────────────────────── */
.related-guides { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--border); }
.related-guides__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 18px; }
.related-guide { display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: .15s ease; }
.related-guide:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.related-guide__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.related-guide__title { display: block; padding: 12px 15px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--heading); line-height: 1.3; }
.related-guide:hover .related-guide__title { color: var(--primary-2); }
@media (max-width: 560px) { .related-guides__grid { grid-template-columns: 1fr; } }

/* ── Styled tables inside guide/prose content (bare <table> auto-wrapped) ─────── */
.prose .table-wrap { margin: 22px 0; }
.prose table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; background: var(--panel); }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.prose thead th { background: var(--bg-2); font-family: var(--font-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; border-bottom: 2px solid var(--border-2); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: var(--bg); }
.prose tbody tr:hover td { background: var(--primary-ghost); }
.prose td a { font-weight: 600; }

/* Guides listing — per-game section headers. */
/* Guide game-filter pills */
.guide-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 32px; }
.guide-filter__pill {
  padding: 7px 16px; border: 1.5px solid var(--border-2); border-radius: 99px;
  background: var(--panel); color: var(--muted); font-size: .8125rem; font-weight: 600;
  cursor: pointer; line-height: 1; transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}
.guide-filter__pill:hover { border-color: var(--primary-2); color: var(--primary-2); }
.guide-filter__pill.is-active { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }

.guide-section__title { margin: 44px 0 6px; font-size: clamp(22px, 3vw, 30px); }
.game-section:first-of-type .guide-section__title { margin-top: 0; }

/* ── Glossary (filterable term list) ────────────────────────────────────────── */
.gloss-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 14px; }
.gloss-tab { padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-2); background: var(--panel); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--heading); cursor: pointer; transition: .15s; }
.gloss-tab:hover { border-color: var(--primary); }
.gloss-tab.is-active { background: var(--primary-2); color: #fff; border-color: var(--primary-2); }
.gloss-letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 26px; }
.gloss-letter { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--heading); cursor: pointer; transition: .12s; }
.gloss-letter:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-2); }
.gloss-letter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gloss-letter:disabled { opacity: .3; cursor: default; }
.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gloss-term { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--panel); }
.gloss-term[hidden] { display: none; }
.gloss-term__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.gloss-term__name { margin: 0; font-size: 17px; }
.gloss-term__tag { flex: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.gloss-term__def { font-size: 15px; color: var(--text); }
.gloss-term__def p { margin: 0; }
@media (max-width: 640px) { .gloss-grid { grid-template-columns: 1fr; } }

/* Glossary — clickable term cards + single term page */
a.gloss-term { display: block; color: inherit; transition: .15s ease; }
a.gloss-term:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
a.gloss-term:hover .gloss-term__name { color: var(--primary-2); }
.gloss-term__def { color: var(--muted); }
.gloss-single__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.gloss-single__title { margin: 0; }
.gloss-single__def { font-size: 17px; }
.gloss-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 30px 0; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--navy); }
.gloss-cta__title { display: block; font-family: var(--font-head); font-size: 19px; color: #fff; }
.gloss-cta__sub { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: 14px; }
.gloss-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gloss-related { display: flex; flex-wrap: wrap; gap: 10px; }
.gloss-related__item { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-2); background: var(--panel); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--heading); }
.gloss-related__item:hover { border-color: var(--primary); background: var(--primary-ghost); color: var(--primary-2); }
@media (max-width: 560px) { .gloss-cta { flex-direction: column; align-items: flex-start; } }

/* Footer registered address */
.footer-address { font-style: normal; font-size: 13px; line-height: 1.5; margin-top: 10px; color: var(--muted); }

/* Independent-verdict caution banner (anti-rating store reviews) */
.store-caution { margin: 18px 0 6px; padding: 16px 20px; border-radius: var(--radius); border-left: 5px solid; }
.store-caution__title { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 4px; }
.store-caution p { margin: 0; font-size: 14px; color: var(--text); }
.store-caution--caution { background: rgba(178,106,0,.08); border-color: var(--pay-mod); }
.store-caution--caution .store-caution__title { color: #8a5200; }
.store-caution--avoid { background: rgba(198,40,40,.08); border-color: var(--pay-low); }
.store-caution--avoid .store-caution__title { color: #b02020; }

/* Store-card caution badge (anti-rating stores in listings) */
.store-caution-badge { display: inline-block; margin: 6px 0 2px; padding: 3px 12px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.store-caution-badge--caution { background: rgba(178,106,0,.14); color: #8a5200; }
.store-caution-badge--avoid { background: rgba(198,40,40,.14); color: #b02020; }
.store-card--caution { border: 1px solid rgba(178,106,0,.3); }
.store-card--avoid { border: 1px solid rgba(198,40,40,.38); }

/* ── Compact hero + top-3 store mini-ranking (above-the-fold choice) ─────────── */
.hero--compact .hero__grid { padding: 38px 44px; gap: 40px; align-items: center; }
.hero--compact h1 { font-size: clamp(28px, 3.6vw, 44px); }
.hero--compact .lead { font-size: 16px; margin-bottom: 22px; }
.hero-picks { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.28); }
.hero-picks__head { font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 4px 8px 10px; }
.hero-pick { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; transition: .12s; }
.hero-pick:hover { background: var(--bg-2); }
.hero-pick--top { background: var(--primary-ghost); }
.hero-pick__rank { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--muted); width: 16px; text-align: center; flex: none; }
.hero-pick--top .hero-pick__rank { color: var(--primary-2); }
.hero-pick__logo { flex: none; }
.hero-pick__logo .logo-chip { width: 42px; height: 42px; }
.hero-pick__logo .logo-img { max-width: 34px; max-height: 34px; }
.hero-pick__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.hero-pick__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--heading); }
.hero-pick__arrow { color: var(--muted); flex: none; font-size: 18px; }
.hero-picks > .btn { margin-top: 10px; }
@media (max-width: 900px) { .hero--compact .hero__grid { padding: 26px 20px; gap: 22px; } }

/* ── Payout Radar — landing (/payout-radar/) ────────────────────────────────── */
.pr-hero { padding-top: 40px; padding-bottom: 32px;
  background:
    radial-gradient(1000px 340px at 50% -20%, var(--primary-ghost), transparent 60%),
    radial-gradient(700px 260px at 92% 0%, rgba(255,176,32,.08), transparent 60%); }
.pr-eyebrow-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 7px 15px;
  font-size: 13px; font-weight: 600; color: var(--muted); }
.pr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-ghost); }
.pr-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.pr-grid { display: grid; gap: 16px; }
.pr-grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.pr-grid--2 { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }
.pr-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.pr-card h3 { margin: 0 0 6px; font-size: 17px; }
.pr-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pr-card__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pr-card--green { border-color: var(--pay-high); }
.pr-card--amber { border-color: var(--pay-mod); }
.pr-card--red { border-color: var(--pay-low); }

.pr-req { display: flex; gap: 14px; align-items: flex-start; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.pr-req__ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: var(--bg-2); border: 1px solid var(--border); }
.pr-req h3 { margin: 5px 0 4px; font-size: 16px; }
.pr-req p { margin: 0; color: var(--muted); font-size: 14px; }
.pr-must { font-family: var(--font-head); font-weight: 800; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary-2); }

.pr-figure { margin: 22px 0 0; }
.pr-svgbox { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; overflow-x: auto; }
.pr-svgbox svg { display: block; width: 100%; height: auto; min-width: 520px; }
.pr-cap { color: var(--muted); font-size: 13px; margin-top: 10px; text-align: center; }

.pr-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pr-table th, .pr-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); }
.pr-table th { background: var(--bg-2); font-family: var(--font-head); font-size: 12px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); }
.pr-table tr:last-child td { border-bottom: 0; }

.pr-pill { display: inline-block; padding: 3px 11px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; font-family: var(--font-head); }
.pr-pill--yes { background: rgba(0,122,77,.12); color: var(--pay-high); }
.pr-pill--no { background: rgba(198,40,40,.12); color: var(--pay-low); }
.pr-pill--amber { background: rgba(178,106,0,.14); color: var(--pay-mod); }

.pr-callout { background: linear-gradient(180deg, var(--primary-ghost), transparent);
  border: 1px solid var(--primary); border-radius: var(--radius-lg); padding: 24px 26px; }
.pr-callout h2 { color: var(--primary-3); }
.pr-callout p { color: var(--text); }
.pr-callout strong { color: var(--primary-3); }

@media (max-width: 760px) {
  .pr-grid--3, .pr-grid--2 { grid-template-columns: 1fr; }
}

/* ── Payout Radar — public report form (rendered by gameboost_report_form) ────── */
.report-form-wrap { margin-top: 24px; }
.report-form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 28px; max-width: 720px; }
.report-form__h { margin: 0 0 6px; font-size: 22px; }
.report-form__intro { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.report-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.report-field > label { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--heading); }
.report-field input[type="text"], .report-field input[type="url"], .report-field input[type="number"],
.report-field input[type="date"], .report-field select, .report-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border-2); border-radius: 12px;
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; }
.report-field input:focus, .report-field select:focus, .report-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ghost); }
.report-field textarea { resize: vertical; min-height: 120px; }
.report-field--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.report-field--inline label { width: 100%; }
.report-field--inline input[type="number"] { flex: 1 1 160px; width: auto; }
.report-field--inline input[type="text"] { flex: 0 0 110px; width: auto; }
.report-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.report-field--check label { font-family: var(--font); font-weight: 400; font-size: 14px; color: var(--text);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; cursor: pointer; }
.report-field--check input { margin-top: 3px; flex: none; }
.report-req { color: var(--pay-low); font-weight: 800; }
.report-hint { font-size: 13px; color: var(--muted); }
.report-submit { display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: 14px 28px;
  border-radius: var(--radius-pill); border: 0; background: var(--primary-2); color: #fff; cursor: pointer;
  transition: .15s ease; }
.report-submit:hover { background: var(--primary-3); transform: translateY(-1px); }
.report-empty { color: var(--muted); }

.report-notice { border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.report-notice strong { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.report-notice p { margin: 0; font-size: 14.5px; }
.report-notice--ok { background: rgba(0,122,77,.08); border: 1px solid var(--pay-high); }
.report-notice--ok strong { color: var(--pay-high); }
.report-notice--err { background: rgba(198,40,40,.08); border: 1px solid var(--pay-low); }
.report-notice--err strong { color: var(--pay-low); }

/* ── Payout Radar — per-store page (/reports/<store>/) ──────────────────────── */
.report-store__stat { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 16px 0 8px; }
.report-store__count { display: inline-block; padding: 6px 16px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.report-store__count--flag { background: rgba(198,40,40,.12); color: var(--pay-low); }
.report-store__count--clean { background: rgba(0,122,77,.12); color: var(--pay-high); }
.report-store__review { font-weight: 600; font-size: 14px; }

.report-empty-box { margin: 22px 0; padding: 24px 26px; border-radius: var(--radius-lg);
  background: var(--bg-2); border: 1px solid var(--border); }

.report-list { display: grid; gap: 16px; margin: 24px 0; }
.report-item { background: var(--panel); border: 1px solid var(--border); border-left: 5px solid var(--border-2);
  border-radius: var(--radius); padding: 18px 20px; }
.report-item--verified { border-left-color: var(--pay-low); }
.report-item--disputed { border-left-color: var(--pay-mod); }
.report-item--resolved { border-left-color: var(--pay-high); }
.report-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.report-item__status { font-family: var(--font-head); font-weight: 800; font-size: 11px; text-transform: uppercase;
  letter-spacing: .04em; padding: 3px 10px; border-radius: var(--radius-pill); }
.report-item__status--verified { background: rgba(198,40,40,.14); color: var(--pay-low); }
.report-item__status--disputed { background: rgba(178,106,0,.14); color: var(--pay-mod); }
.report-item__status--resolved { background: rgba(0,122,77,.14); color: var(--pay-high); }
.report-item__type { font-weight: 700; font-size: 14px; color: var(--heading); }
.report-item__date { font-size: 13px; color: var(--muted); }
.report-item__summary { margin: 0; font-size: 15px; color: var(--text); }
.report-item__reply { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--border); }
.report-item__reply strong { display: block; font-family: var(--font-head); font-size: 13px; color: var(--heading);
  margin-bottom: 3px; }
.report-item__reply p { margin: 0; font-size: 14px; color: var(--text); }

/* Payout Radar badge on store cards */
.pr-badge { display: inline-block; margin: 6px 6px 2px 0; padding: 3px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .02em;
  background: rgba(198,40,40,.12); color: var(--pay-low); border: 1px solid rgba(198,40,40,.25); }
.pr-badge:hover { background: var(--pay-low); color: #fff; }

.is-hidden { display: none !important; }

/* ---- Promo banner (in-guide Onlyfarms ad) ---- */
.promo-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 34px 0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #4f46e5 0%, #6d28d9 46%, #2563eb 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.promo-banner:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(79, 70, 229, .34); }
.promo-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 86% 18%, rgba(255,255,255,.20), transparent 46%); pointer-events: none; }
.promo-banner > * { position: relative; z-index: 1; }

.promo-banner__ad { position: absolute; top: 10px; right: 12px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); background: rgba(255,255,255,.14); padding: 2px 8px; border-radius: 20px; }

.promo-banner__media { flex: 0 0 auto; width: 96px; height: 96px; display: grid; place-items: center; }
.promo-banner__media img { width: 96px; height: 96px; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.3)); }

.promo-banner__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.promo-banner__heading { font-family: var(--font-head); font-weight: 800; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.15; letter-spacing: -.01em; }
.promo-banner__text { font-size: 14px; color: rgba(255,255,255,.86); line-height: 1.4; }
.promo-banner__rating { margin-top: 2px; }
.promo-banner__rating .stars { --star: #FFD54A; --star-empty: rgba(255,255,255,.32); }

.promo-banner__aside { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.promo-banner__code { display: inline-flex; align-items: center; gap: 8px; justify-content: center; background: rgba(255,255,255,.14); border: 1px dashed rgba(255,255,255,.5); border-radius: 12px; padding: 8px 14px; }
.promo-banner__code-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.78); }
.promo-banner__code-val { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.promo-banner__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #4f46e5; font-family: var(--font-head); font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: var(--radius-pill); white-space: nowrap; }
.promo-banner:hover .promo-banner__cta { background: #F5F3FF; }
.promo-banner__arrow { transition: transform .15s ease; }
.promo-banner:hover .promo-banner__arrow { transform: translateX(3px); }

@media (max-width: 680px) {
  .promo-banner { flex-direction: column; text-align: center; align-items: center; padding: 22px 18px 20px; }
  .promo-banner__ad { top: 8px; right: 8px; }
  .promo-banner__body { align-items: center; }
  .promo-banner__rating { display: flex; justify-content: center; }
  .promo-banner__aside { width: 100%; flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* ============================================================
   gameboost.ing — homepage components (Ф0 concept)
   ============================================================ */
.hero--gb{position:relative;text-align:center;padding:70px 0 52px;overflow:hidden}
.hero--gb::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(60% 46% at 50% 0%, rgba(53,99,240,.20), transparent 60%),
            radial-gradient(40% 40% at 82% 12%, rgba(240,74,30,.10), transparent 60%)}
.hero--gb > .container{position:relative;z-index:1}
.gb-hero-note{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:600;color:var(--muted);
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-pill);padding:6px 14px;margin:0 0 20px}
.gb-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 8px var(--success)}
.gb-hero-h1{font-size:clamp(2.3rem,6vw,4rem);font-weight:900;line-height:1.05;margin:0}
.gb-accent{color:var(--primary-2)}
.gb-hero-lead{font-size:1.1rem;color:var(--muted);max-width:52ch;margin:18px auto 26px}
.gb-hero-search{max-width:600px;margin:0 auto;display:flex;align-items:center;gap:10px;background:var(--panel);
  border:1px solid var(--border);border-radius:14px;padding:12px 16px;color:var(--muted);
  transition:border-color .2s,box-shadow .2s}
.gb-hero-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-ghost)}
.gb-hero-search input{flex:1;border:0;background:transparent;color:var(--text);font:inherit;outline:none}
.gb-hero-search input::placeholder{color:var(--muted)}
.gb-toolrow{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}
.gb-ttile{display:flex;flex-direction:column;align-items:center;gap:8px;width:96px;padding:14px 8px;
  border-radius:var(--radius);background:var(--panel);border:1px solid var(--border);
  color:var(--muted);font-size:.74rem;font-weight:600;transition:border-color .2s,transform .12s,background .2s}
.gb-ttile:hover{border-color:var(--primary);transform:translateY(-2px);background:var(--panel-2);color:var(--text)}
.gb-ttile__ic{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;
  background:linear-gradient(160deg,#1e2a4d,#131722);border:1px solid #2b3550;color:var(--primary-2)}
.gb-ttile__ic svg{width:20px;height:20px}

.gb-sec-head{text-align:center;max-width:60ch;margin:0 auto 30px}
.gb-sec-head h2{font-size:clamp(1.6rem,3.4vw,2.2rem);font-weight:900;margin:6px 0 0}
.gb-sec-head p.text-muted{margin:10px 0 0}

.gb-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gb-feat{position:relative;background:linear-gradient(180deg,var(--panel),var(--bg));border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:26px;overflow:hidden;transition:border-color .2s,transform .14s}
.gb-feat:hover{border-color:#2b3550;transform:translateY(-3px)}
.gb-feat__glow{position:absolute;top:-40px;right:-30px;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(53,99,240,.33),transparent 70%)}
.gb-feat__ic{position:relative;width:54px;height:54px;border-radius:15px;display:grid;place-items:center;margin-bottom:16px;
  background:linear-gradient(160deg,#3b82f6,#1d4ed8);color:#fff;
  box-shadow:0 12px 26px -10px rgba(53,99,240,.7),inset 0 1px 0 rgba(255,255,255,.35)}
.gb-feat__ic svg{width:26px;height:26px}
.gb-feat h3{font-size:1.14rem;font-weight:800;margin:0}
.gb-feat p{margin:8px 0 0;font-size:.92rem}

@media (max-width:880px){.gb-features{grid-template-columns:1fr}}

/* ---- brand mark + header CTA + footer (own look, anti-footprint) ---- */
.gb-mark{width:34px;height:34px;display:block;flex:none}
.site-brand{gap:10px}
.gb-head-cta{margin-left:6px}
@media (max-width:640px){.gb-head-cta{display:none}}

.gb-foot{background:var(--bg-2);border-top:1px solid var(--border);margin-top:40px;padding:48px 0 40px}
.gb-foot__top{display:grid;grid-template-columns:1.3fr 2fr;gap:40px}
.gb-foot__logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.gb-foot .gb-mark--foot{width:30px;height:30px}
.gb-wm{font-family:var(--font-head);font-weight:900;font-size:1.14rem;letter-spacing:-.02em;color:var(--heading)}
.gb-wm em{font-style:normal;color:var(--primary-2)}
.gb-foot__blurb{color:var(--muted);font-size:.9rem;max-width:34ch;margin:14px 0 12px}
.gb-foot__addr{font-style:normal;color:var(--muted);font-size:.84rem;line-height:1.7}
.gb-foot__nav{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.gb-foot__col h4{font-family:var(--font-head);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--faint,#6B7280);margin:0 0 14px}
.gb-foot__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.gb-foot__col a{color:var(--muted);font-size:.9rem;text-decoration:none;transition:color .15s}
.gb-foot__col a:hover{color:var(--primary-2)}
.gb-foot__bottom{margin-top:36px;padding-top:22px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
.gb-foot__disc{color:var(--faint,#6B7280);font-size:.76rem;line-height:1.6;max-width:80ch;margin:0}
.gb-foot__company{color:var(--faint,#6B7280);font-size:.76rem;margin:0}
.gb-foot__copy{color:var(--muted);font-size:.8rem;margin:0}
@media (max-width:760px){.gb-foot__top{grid-template-columns:1fr;gap:28px}.gb-foot__nav{grid-template-columns:1fr 1fr}}

/* generated guide-card placeholder */
.guide-card__thumb{aspect-ratio:16/9;overflow:hidden;background:var(--bg-3)}
.guide-card__thumb img,.guide-card__thumb .gb-guide-ph{width:100%;height:100%;object-fit:cover;display:block}

/* ---- Diablo 4: Meta Builds listing ---- */
.d4-ico{width:100%;height:100%;display:block}
.d4-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 28px}
.d4-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 9px;border-radius:var(--radius-pill);
  border:1px solid var(--border);background:var(--panel);color:var(--muted);font-size:.86rem;font-weight:600;
  transition:border-color .15s,color .15s,background .15s}
.d4-chip:hover{border-color:var(--cls,var(--primary));color:var(--text)}
.d4-chip.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.d4-chip__ic{width:20px;height:20px;color:var(--cls,currentColor)}
.d4-chip.is-active .d4-chip__ic{color:#fff}
.d4-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.d4-card{position:relative;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--panel),var(--bg-2));
  border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:border-color .15s,transform .12s}
.d4-card:hover{border-color:#2b3550;transform:translateY(-2px)}
/* Whole card is a link to the build (stretched over head/skills); the Details
   button + detail panel sit above it so they stay independently clickable. */
.d4-card__link{color:var(--heading);text-decoration:none}
.d4-card__link::after{content:"";position:absolute;inset:0;z-index:0}
.d4-card:hover .d4-card__link{color:var(--primary-2)}
.d4-card__head{display:flex;align-items:center;gap:13px;padding:16px}
.d4-card__cls{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:11px;
  background:linear-gradient(160deg,var(--bg-3),var(--bg));border:1px solid var(--border)}
.d4-card__cls .d4-ico{width:26px;height:26px}
.d4-card__meta{flex:1;min-width:0}
.d4-card__name{font-family:var(--font-head);font-size:1.04rem;font-weight:800;margin:0;line-height:1.15}
.d4-card__sub{font-size:.78rem;color:var(--faint,#6B7280)}
.d4-card__tower{text-align:right;flex:none}
.d4-card__tower b{font-family:var(--font-head);font-weight:900;font-size:1.3rem;color:var(--ember);display:block;line-height:1}
.d4-card__tower span{font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--faint,#6B7280)}
.d4-card__foot{display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid var(--border);background:rgba(0,0,0,.18)}
.d4-tier{font-family:var(--font-head);font-weight:800;font-size:.66rem;letter-spacing:.04em;text-transform:uppercase;padding:4px 9px;border-radius:5px;color:#0b0d11}
.d4-tier--S{background:linear-gradient(160deg,#ff6a3d,#f04a1e);color:#fff}
.d4-tier--A{background:linear-gradient(160deg,#fbbf24,#f5b301);color:#1a1204}
.d4-tier--B{background:var(--primary);color:#fff}
.d4-tier--C,.d4-tier--D{background:var(--surface-3,#272C36);color:var(--muted)}
.d4-tag{font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--primary-2);
  background:var(--primary-ghost);border:1px solid rgba(53,99,240,.3);padding:3px 8px;border-radius:5px}
.d4-card__open{position:relative;z-index:1;margin-left:auto;font-size:.78rem;font-weight:700;color:var(--muted);text-decoration:none}
.d4-card:hover .d4-card__open{color:var(--primary-2)}
/* Details toggle button (above the stretched card link) */
.d4-card__x{position:relative;z-index:1;margin-left:auto;display:inline-flex;align-items:center;gap:5px;
  font-family:var(--font-head);font-size:.72rem;font-weight:700;letter-spacing:.02em;color:var(--muted);
  background:var(--bg-3);border:1px solid var(--border);border-radius:var(--radius-pill);padding:5px 11px;cursor:pointer;transition:.15s}
.d4-card__x:hover{color:var(--heading);border-color:var(--primary-2)}
.d4-card__x svg{transition:transform .18s}
.d4-card__x[aria-expanded="true"] svg{transform:rotate(180deg)}
.d4-card__x[aria-expanded="true"]{color:var(--heading);border-color:var(--primary-2)}
/* Expandable detail panel */
.d4-card__details{position:relative;z-index:1;padding:12px 16px 14px;border-top:1px solid var(--border);background:rgba(0,0,0,.12);
  display:flex;flex-direction:column;gap:8px;font-size:.8rem}
.d4-card__details[hidden]{display:none}
.d4-card__drow{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:baseline}
.d4-card__dk{font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.d4-card__dv{color:var(--text);line-height:1.45}
.d4-card__cta{align-self:flex-start;margin-top:2px;font-size:.76rem;font-weight:700;color:var(--primary-2);text-decoration:none}
.d4-card__cta:hover{text-decoration:underline}
.d4-pagination{display:flex;gap:8px;justify-content:center;margin-top:26px}
.d4-pagination a,.d4-pagination .current{padding:8px 13px;border-radius:8px;border:1px solid var(--border);color:var(--muted);font-weight:600;font-size:.85rem}
.d4-pagination .current{background:var(--primary);border-color:var(--primary);color:#fff}

/* ---- Diablo 4: breadcrumbs + single build ---- */
.gb-crumbs{border-bottom:1px solid var(--border);background:var(--bg-2)}
.gb-crumbs .container{padding-top:12px;padding-bottom:12px;font-size:.8rem;color:var(--faint,#6B7280)}
.gb-crumbs a{color:var(--muted)}.gb-crumbs a:hover{color:var(--primary-2)}
.gb-crumbs span{color:var(--text)}
.d4-single__hero{background:radial-gradient(90% 90% at 100% 0%,rgba(240,74,30,.10),transparent 55%),linear-gradient(180deg,var(--bg-2),var(--bg));border-bottom:1px solid var(--border);padding:34px 0}
.d4-single__head{display:flex;align-items:center;gap:18px}
.d4-single__cls{width:60px;height:60px;flex:none;display:grid;place-items:center;border-radius:15px;background:linear-gradient(160deg,var(--bg-3),var(--bg));border:1px solid var(--border)}
.d4-single__cls .d4-ico{width:34px;height:34px}
.d4-single__title{flex:1;min-width:0}
.d4-single__title h1{font-family:var(--font-head);font-size:clamp(1.6rem,4vw,2.4rem);font-weight:900;margin:8px 0 4px}
.d4-single__sub{color:var(--muted);font-size:.92rem;margin:0}
.d4-single__tower{text-align:center;flex:none}
.d4-single__tower b{font-family:var(--font-head);font-weight:900;font-size:2.2rem;color:var(--ember);display:block;line-height:1}
.d4-single__tower span{font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--faint,#6B7280)}
.d4-single__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.d4-single__body{padding:34px 0;max-width:820px}
@media (max-width:640px){.d4-single__head{flex-wrap:wrap}.d4-single__tower{order:3}}

/* ---- Diablo 4: tier list ---- */
.d4-tabs{display:flex;gap:8px;justify-content:center;margin:0 0 26px;flex-wrap:wrap}
.d4-tab{padding:9px 18px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--panel);color:var(--muted);font-weight:700;font-size:.88rem}
.d4-tab:hover{border-color:var(--primary);color:var(--text)}
.d4-tab.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.d4-tier-row{display:flex;border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-bottom:12px;background:var(--panel)}
/* Class/search filters (tier-list, meta-builds listing, database uniques) toggle
   the [hidden] attribute on entries, cards and empty rows/grids. Their display
   rules (flex/grid) would otherwise override the UA [hidden]{display:none}, so
   restore it explicitly for every filterable element. */
.d4-tier-row[hidden],.d4-tent[hidden],.d4-ent[hidden],.d4-tower-row[hidden],
.d4-card[hidden],.d4-grid[hidden],.d4-uitem[hidden]{display:none}
.d4-tier-row__badge{width:64px;flex:none;display:grid;place-items:center;font-family:var(--font-head);font-weight:900;font-size:1.7rem;color:#0b0d11}
.d4-tier-row--S .d4-tier-row__badge{background:linear-gradient(160deg,#ff6a3d,#f04a1e);color:#fff}
.d4-tier-row--A .d4-tier-row__badge{background:linear-gradient(160deg,#fbbf24,#f5b301);color:#1a1204}
.d4-tier-row--B .d4-tier-row__badge{background:var(--primary);color:#fff}
.d4-tier-row--C .d4-tier-row__badge,.d4-tier-row--D .d4-tier-row__badge{background:var(--bg-3);color:var(--muted)}
.d4-tier-row__list{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:12px 15px}
.d4-ent{display:inline-flex;align-items:center;gap:8px;padding:6px 13px 6px 7px;border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--bg-2);font-size:.85rem;font-weight:600;color:var(--text)}
.d4-ent:hover{border-color:#2b3550}
.d4-ent__ic{width:24px;height:24px;flex:none;display:grid;place-items:center}
.d4-ent__ic .d4-ico{width:20px;height:20px}
.d4-tower-table{display:flex;flex-direction:column;gap:8px;max-width:720px;margin:0 auto}
.d4-tower-row{display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text)}
.d4-tower-row:hover{border-color:#2b3550}
.d4-tower-row__rank{font-family:var(--font-head);font-weight:900;font-size:1.2rem;color:var(--faint,#6B7280);width:26px;text-align:center;flex:none}
.d4-tower-row__cls{width:30px;height:30px;flex:none;display:grid;place-items:center}
.d4-tower-row__cls .d4-ico{width:24px;height:24px}
.d4-tower-row__name{flex:1;font-weight:700}
.d4-tower-row__pit b{font-family:var(--font-head);font-weight:900;color:var(--ember)}

/* ---- Diablo 4: leveling guide ---- */
.d4-lvl-h{font-family:var(--font-head);font-size:1.2rem;text-align:center;margin:0 0 16px}
.d4-lvl-classes{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:34px}
.d4-lvl-class{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 12px;border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--panel);text-align:center;transition:border-color .15s,transform .12s}
.d4-lvl-class:hover{border-color:var(--cls,var(--primary));transform:translateY(-2px)}
.d4-lvl-class__ic{width:38px;height:38px;display:grid;place-items:center}
.d4-lvl-class__ic .d4-ico{width:32px;height:32px}
.d4-lvl-class__name{font-family:var(--font-head);font-weight:800;font-size:.98rem}
.d4-lvl-class__build{font-size:.74rem;color:var(--faint,#6B7280)}
.d4-lvl-progress{max-width:760px;margin:0 auto 22px}
.d4-lvl-progress__bar{height:8px;border-radius:99px;background:var(--bg-3);overflow:hidden}
.d4-lvl-progress__bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--primary),var(--ember));transition:width .25s}
.d4-lvl-progress__label{margin-top:8px;font-size:.82rem;color:var(--muted);text-align:center}
.d4-lvl-progress__label b{color:var(--text)}
.d4-lvl-reset{background:none;border:0;color:var(--primary-2);font:inherit;font-weight:700;cursor:pointer;padding:0}
.d4-lvl-steps{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:960px;margin:0 auto}
.d4-lvl-phase{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:22px}
.d4-lvl-phase h3{font-family:var(--font-head);font-size:1.1rem;margin:0 0 14px}
.d4-lvl-phase ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.d4-lvl-step{display:flex;gap:11px;align-items:flex-start;padding:9px;border-radius:10px;cursor:pointer;transition:background .12s}
.d4-lvl-step:hover{background:var(--bg-2)}
.d4-lvl-step input{position:absolute;opacity:0;width:0;height:0}
.d4-lvl-step__box{width:20px;height:20px;flex:none;margin-top:1px;border:2px solid var(--border-2);border-radius:6px;position:relative;transition:.15s}
.d4-lvl-step__box::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:transform .12s}
.d4-lvl-step.is-done .d4-lvl-step__box{background:var(--primary);border-color:var(--primary)}
.d4-lvl-step.is-done .d4-lvl-step__box::after{transform:rotate(45deg) scale(1)}
.d4-lvl-step__text{font-size:.9rem;line-height:1.5;color:var(--muted)}
.d4-lvl-step.is-done .d4-lvl-step__text{color:var(--faint,#6B7280);text-decoration:line-through}
@media (max-width:760px){.d4-lvl-steps{grid-template-columns:1fr}}

/* ---- Diablo 4: unique loot tables ---- */
.d4-boss-ribbon{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 18px}
.d4-boss{padding:8px 14px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--panel);color:var(--muted);font-weight:600;font-size:.82rem;cursor:pointer;transition:.15s}
.d4-boss:hover{border-color:var(--ember);color:var(--text)}
.d4-boss.is-active{background:var(--ember);border-color:var(--ember);color:#fff}
.d4-uniq-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin:0 0 22px}
.d4-uniq-search{display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:9px 13px;color:var(--faint,#6B7280);min-width:240px;flex:1}
.d4-uniq-search input{border:0;background:transparent;color:var(--text);font:inherit;outline:none;width:100%}
.d4-uniq-classes{display:flex;flex-wrap:wrap;gap:6px}
.d4-cchip{padding:6px 11px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--panel);color:var(--muted);font-size:.78rem;font-weight:600;cursor:pointer;transition:.15s}
.d4-cchip:hover{border-color:var(--cls,var(--primary));color:var(--text)}
.d4-cchip.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.d4-uniq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.d4-uitem{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #4a3410;border-radius:12px;
  background:linear-gradient(180deg,#1a1206,#0d0a07);cursor:pointer;text-align:left;transition:.15s}
.d4-uitem:hover{border-color:var(--gold);transform:translateY(-1px)}
.d4-uitem--mythic{border-color:#5a3a8a;background:linear-gradient(180deg,#1a1030,#0c0713)}
.d4-uitem__ic{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:9px;background:radial-gradient(circle at 40% 30%,#3a2408,#120a03);border:1px solid var(--gold);color:#e6c079}
.d4-uitem--mythic .d4-uitem__ic{background:radial-gradient(circle at 40% 30%,#2a1745,#120818);border-color:#a878ff;color:#c9a6ff}
.d4-uitem__ic svg{width:22px;height:22px}
.d4-uitem__name{display:block;font-family:var(--font-head);font-weight:800;font-size:.92rem;color:#e6c079}
.d4-uitem--mythic .d4-uitem__name{color:#c9a6ff}
.d4-uitem__slot{font-size:.72rem;color:var(--faint,#6B7280)}
.d4-uniq-empty{text-align:center;color:var(--muted);margin-top:20px}
.d4-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:20px}
.d4-modal[hidden]{display:none}
.d4-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(3px)}
.d4-modal__card{position:relative;max-width:440px;width:100%;background:linear-gradient(180deg,#1a1206,#0d0a07);border:1px solid var(--gold);border-radius:16px;padding:24px;box-shadow:0 30px 70px -20px rgba(0,0,0,.8)}
.d4-modal__x{position:absolute;top:12px;right:14px;background:none;border:0;color:var(--muted);font-size:22px;cursor:pointer;line-height:1}
.d4-modal__head{display:flex;gap:13px;align-items:center;margin-bottom:14px}
.d4-modal__ic{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:11px;background:radial-gradient(circle at 40% 30%,#3a2408,#120a03);border:1px solid var(--gold);color:#e6c079}
.d4-modal__head h3{font-family:var(--font-head);color:#e6c079;font-size:1.16rem;margin:0}
.d4-modal__slot{font-size:.76rem;color:var(--faint,#6B7280);text-transform:uppercase;letter-spacing:.05em;margin:2px 0 0}
.d4-modal__effect{color:var(--muted);font-size:.92rem;line-height:1.55;margin:0}
.d4-modal__src{margin-top:14px;padding-top:12px;border-top:1px solid #35240d;font-size:.82rem;color:var(--muted)}
.d4-modal__src .k{color:var(--ember);font-weight:700}

/* ---- Diablo 4: hub ---- */
.d4-hub-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.d4-hub-tool{display:flex;flex-direction:column;gap:6px;padding:22px;border:1px solid var(--border);border-radius:var(--radius-lg);
  background:linear-gradient(180deg,var(--panel),var(--bg-2));transition:border-color .15s,transform .12s}
.d4-hub-tool:hover{border-color:#2b3550;transform:translateY(-3px)}
.d4-hub-tool__ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;margin-bottom:8px;
  background:linear-gradient(160deg,#3b82f6,#1d4ed8);color:#fff;box-shadow:0 10px 22px -10px rgba(53,99,240,.6),inset 0 1px 0 rgba(255,255,255,.3)}
.d4-hub-tool__ic svg{width:24px;height:24px}
.d4-hub-tool__name{font-family:var(--font-head);font-weight:800;font-size:1.06rem}
.d4-hub-tool__desc{font-size:.86rem;color:var(--muted)}
@media (max-width:820px){.d4-hub-tools{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.d4-hub-tools{grid-template-columns:1fr}}

/* ---- FAQ accordion ---- */
.gb-faq{display:flex;flex-direction:column;gap:10px}
.gb-faq__item{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:2px 18px}
.gb-faq__item summary{cursor:pointer;font-family:var(--font-head);font-weight:700;font-size:1rem;padding:16px 0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.gb-faq__item summary::-webkit-details-marker{display:none}
.gb-faq__item summary::after{content:"+";color:var(--primary-2);font-size:1.3rem;font-weight:400;flex:none}
.gb-faq__item[open] summary::after{content:"–"}
.gb-faq__item p{margin:0 0 16px;color:var(--muted);font-size:.92rem;line-height:1.6}

/* ---- Diablo 4: Build Planner ---- */
.gb-planner{padding:24px 0 40px}
.gb-planner__bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.gb-planner__class{display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:6px 10px}
.gb-planner__class-ic{width:26px;height:26px;display:grid;place-items:center}
.gb-planner__class select{background:transparent;border:0;color:var(--text);font:inherit;font-family:var(--font-head);font-weight:700;outline:none;cursor:pointer}
/* Build name — presented as an editable title (d4builds-style), pencil reveals
   the affordance. The input stays directly editable; the pencil focuses+selects. */
.gb-planner__namewrap{flex:1;min-width:180px;display:flex;align-items:center;gap:4px;
  border-bottom:2px solid transparent;border-radius:2px;transition:border-color .15s}
.gb-planner__namewrap:hover{border-bottom-color:var(--border-2)}
.gb-planner__namewrap:focus-within{border-bottom-color:var(--primary)}
.gb-planner__name{flex:1;min-width:0;background:transparent;border:0;padding:8px 4px;color:var(--heading);
  font:inherit;font-family:var(--font-head);font-weight:800;font-size:1.12rem;outline:none;text-overflow:ellipsis}
.gb-planner__name::placeholder{color:var(--faint)}
.gb-planner__nameedit{flex:none;display:grid;place-items:center;width:30px;height:30px;border:0;background:transparent;
  color:var(--muted);cursor:pointer;border-radius:8px;transition:.15s;opacity:.6}
.gb-planner__namewrap:hover .gb-planner__nameedit,.gb-planner__nameedit:focus-visible{opacity:1}
.gb-planner__nameedit:hover{color:var(--primary-2);background:var(--panel)}
.gb-planner__actions{display:flex;gap:8px;margin-left:auto}
.gb-planner__tabs{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:22px;flex-wrap:wrap}
.gb-ptab{background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);font:inherit;font-family:var(--font-head);font-weight:700;padding:10px 14px;cursor:pointer;margin-bottom:-1px}
.gb-ptab.is-active{color:var(--text);border-bottom-color:var(--primary)}
.gb-ptab:disabled{opacity:.4;cursor:not-allowed}
.gb-planner__h{font-family:var(--font-head);font-size:1.05rem;margin:0 0 12px}
.gb-skillbar{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:28px}
.gb-skillslot{aspect-ratio:1;border:1px dashed var(--border-2);border-radius:12px;background:var(--panel);color:var(--faint,#6B7280);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px;transition:.15s;text-align:center}
.gb-skillslot:hover{border-color:var(--primary);color:var(--text)}
.gb-skillslot.is-filled{border-style:solid;border-color:var(--ember-deep,#B4310F);background:linear-gradient(180deg,var(--panel),var(--bg-2))}
.gb-skillslot__empty{font-size:1.6rem;font-weight:300}
.gb-skillslot__name{font-family:var(--font-head);font-weight:800;font-size:.8rem;color:var(--text);line-height:1.1}
.gb-skillslot__type{font-size:.6rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ember)}
.gb-gear{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.gb-gearslot{border:1px solid var(--border);border-radius:12px;background:var(--panel);padding:12px;min-height:64px;display:flex;flex-direction:column;gap:4px}
.gb-gearslot__name{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--faint,#6B7280);font-weight:700}
.gb-gearslot__empty{color:var(--muted);font-size:.86rem}
.gb-picker{position:fixed;inset:0;z-index:320;display:grid;place-items:center;padding:20px}
.gb-picker[hidden]{display:none}
.gb-picker__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(3px)}
.gb-picker__card{position:relative;width:100%;max-width:520px;max-height:80vh;overflow:auto;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:20px}
.gb-picker__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.gb-picker__head h3{font-family:var(--font-head);margin:0}
.gb-picker__x{background:none;border:0;color:var(--muted);font-size:22px;cursor:pointer}
.gb-picker__search{width:100%;background:var(--bg-2);border:1px solid var(--border);border-radius:10px;padding:9px 12px;color:var(--text);font:inherit;outline:none;margin-bottom:14px}
.gb-picker__group h4{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--ember);margin:14px 0 8px}
.gb-picker__opts{display:flex;flex-wrap:wrap;gap:6px}
.gb-picker__opt{background:var(--bg-2);border:1px solid var(--border);border-radius:20px;padding:6px 12px;color:var(--text);font:inherit;font-size:.84rem;cursor:pointer}
.gb-picker__opt:hover{border-color:var(--primary);background:var(--primary-ghost)}
.gb-picker__empty{color:var(--muted)}
@media (max-width:640px){.gb-skillbar{grid-template-columns:repeat(3,1fr)}.gb-gear{grid-template-columns:repeat(2,1fr)}}

/* ---- build single: read-only active skills ---- */
.d4-single__skills{padding-top:26px}
.d4-single__skills-h{font-family:var(--font-head);font-size:1.15rem;margin:0 0 14px}
.d4-skillrow{display:flex;flex-wrap:wrap;gap:9px}
.d4-skillchip{display:inline-flex;flex-direction:column;padding:8px 14px;border:1px solid var(--ember-deep,#B4310F);border-radius:12px;background:linear-gradient(180deg,var(--panel),var(--bg-2))}
.d4-skillchip b{font-family:var(--font-head);font-size:.9rem}
.d4-skillchip span{font-size:.62rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ember)}
/* Read-only skill-tree chips (single build page): category-tinted, point count */
.d4-single__block-sub{font-family:var(--font),sans-serif;font-size:.82rem;font-weight:600;color:var(--faint);margin-left:8px}
.d4-treechip{flex-direction:row;align-items:center;gap:8px;border-color:var(--border-2)}
.d4-treechip b{font-size:.85rem;color:var(--text)}
.d4-treechip span{color:var(--faint);font-variant-numeric:tabular-nums}
.d4-treechip.is-basic{border-color:rgba(91,132,255,.5)}
.d4-treechip.is-core{border-color:rgba(240,74,30,.5)}
.d4-treechip.is-defensive{border-color:rgba(34,197,94,.5)}
.d4-treechip.is-ultimate{border-color:rgba(245,179,1,.55)}

/* ---- planner: gear slot states + item picker ---- */
.gb-gearslot{cursor:pointer;text-align:left;transition:.15s}
.gb-gearslot:hover{border-color:var(--gold)}
.gb-gearslot.is-filled{border-color:var(--gold);background:linear-gradient(180deg,#1a1206,#0d0a07)}
.gb-gearslot.is-filled .gb-gearslot__val{color:#e6c079;font-family:var(--font-head);font-weight:800;font-size:.82rem}
.gb-gearslot__val{color:var(--muted);font-size:.86rem}
.gb-picker__opt--item{border-color:#4a3410;color:#e6c079}
.gb-picker__opt--clear{border-color:var(--border);color:var(--muted)}

/* ---- original infernal atmosphere (own art — no game assets) ---- */
.hero--gb{position:relative;isolation:isolate}
.hero--gb::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.9;
  /* static ember specks + faint hell-crack glow, hand-tuned radial gradients */
  background-image:
    radial-gradient(2px 2px at 12% 78%, rgba(255,106,61,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 24% 64%, rgba(240,74,30,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 72%, rgba(255,140,80,.40), transparent 60%),
    radial-gradient(2px 2px at 84% 60%, rgba(240,74,30,.40), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 84%, rgba(255,120,70,.40), transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 90%, rgba(240,74,30,.35), transparent 60%),
    radial-gradient(120% 80% at 50% 120%, rgba(120,20,8,.30), transparent 60%);
  background-repeat:no-repeat;
  mask-image:linear-gradient(to bottom, transparent, #000 40%);
}
/* faint gothic-arch vignette framing the hero */
.hero--gb > .container{position:relative;z-index:1}

/* D4 section pages get a subtle infernal top wash */
.page-template-page-diablo-4 .hero--gb,
.single-d4_build .d4-single__hero{position:relative}
.d4-single__hero{isolation:isolate}
.d4-single__hero::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(80% 120% at 100% -10%, rgba(240,74,30,.14), transparent 55%);
}
.d4-single__hero > .container{position:relative;z-index:1}

/* ---- planner: skill tree ---- */
.gb-tree__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.gb-tree__count{font-family:var(--font-head);font-weight:700}
.gb-tree__count b{color:var(--ember)}
.gb-tree{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:start}
.gb-cluster{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:14px}
.gb-cluster__h{font-family:var(--font-head);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ember);margin:0 0 12px}
.gb-cluster__nodes{display:flex;flex-direction:column;gap:8px}
.gb-node{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg-2);color:var(--text);font:inherit;cursor:pointer;text-align:left;transition:.12s}
.gb-node:hover{border-color:var(--ember-deep,#B4310F)}
.gb-node.is-on{border-color:var(--ember);background:linear-gradient(180deg,rgba(240,74,30,.14),var(--bg-2))}
.gb-node__name{font-family:var(--font-head);font-weight:700;font-size:.86rem}
.gb-node__pts{font-variant-numeric:tabular-nums;font-size:.76rem;color:var(--faint,#6B7280);flex:none}
.gb-node.is-on .gb-node__pts{color:var(--ember)}

/* ---- build card skill icons + hover tooltip ---- */
.d4-card__skills{display:flex;gap:6px;padding:0 16px 12px}
.d4-sk{width:34px;height:34px;border-radius:8px;background:var(--surface-2,#20242D);border:1px solid var(--border);
  display:grid;place-items:center;color:var(--primary-2);position:relative;flex:none;cursor:help}
.d4-sk img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.d4-sk svg{width:20px;height:20px}
.d4-sk::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%) translateY(4px);
  background:#0b0d11;border:1px solid var(--border-2,#333B49);color:var(--text);font-size:.74rem;font-weight:600;white-space:nowrap;
  padding:6px 10px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .12s,transform .12s;z-index:30;box-shadow:0 8px 24px -8px rgba(0,0,0,.7)}
.d4-sk::before{content:"";position:absolute;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);border:5px solid transparent;
  border-top-color:var(--border-2,#333B49);opacity:0;transition:opacity .12s;z-index:30}
.d4-sk:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}
.d4-sk:hover::before{opacity:1}

/* ---- planner: real skill-tree graph (overrides cluster .gb-tree) ---- */
.gb-tree{display:block;position:relative;height:min(70vh,620px);border:1px solid var(--border);border-radius:var(--radius-lg);
  background:radial-gradient(120% 120% at 50% 30%,rgba(240,74,30,.05),transparent 60%),var(--bg-2);overflow:hidden;touch-action:none}
.gb-tsvg{width:100%;height:100%;display:block;cursor:grab}
.gb-tsvg:active{cursor:grabbing}
.gb-tedge{stroke:var(--border-2,#333B49);stroke-width:2.5;stroke-linecap:round}
.gb-tedge.is-on{stroke:var(--ember);stroke-width:3.5}
.gb-tnode{outline:none}
.gb-tnode.is-alloc{cursor:pointer}
.gb-tnode circle{transition:filter .1s}
.gb-tnode.is-alloc:hover circle,.gb-tnode:focus circle{filter:brightness(1.4) drop-shadow(0 0 6px rgba(240,74,30,.5))}
.gb-tnode__b{fill:#0b0d11;font-size:12px;font-weight:800;font-family:var(--font-head)}
.gb-tnode.is-on .gb-tnode__b{fill:#0b0d11}

/* ---- skill tree toolbar: search + fullscreen + node search states ---- */
.gb-tree__search{display:flex;align-items:center;gap:7px;background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:7px 11px;color:var(--faint,#6B7280);flex:1;max-width:320px}
.gb-tree__search input{border:0;background:transparent;color:var(--text);font:inherit;outline:none;width:100%}
.gb-tnode.is-dim,.gb-node.is-dim{opacity:.22}
.gb-tnode.is-hit circle{filter:brightness(1.5) drop-shadow(0 0 7px rgba(245,179,1,.7))}
.gb-node.is-hit{border-color:var(--gold)}
.gb-panel.is-full{position:fixed;inset:0;z-index:200;background:var(--bg);padding:16px;overflow:auto}
.gb-panel.is-full .gb-tree{height:calc(100vh - 120px)}
body.gb-noscroll{overflow:hidden}

/* ---- Meta / Off-Meta group headers ---- */
.d4-group-h{font-family:var(--font-head);font-weight:800;font-size:1.1rem;margin:26px 0 14px;padding-left:12px;
  border-left:3px solid var(--ember)}
.d4-group-h--off{border-left-color:var(--faint,#6B7280);color:var(--muted);margin-top:34px}
.d4-group-h:first-child{margin-top:0}

/* ---- planner: mercenaries ---- */
.gb-mercs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.gb-merc{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;transition:border-color .15s}
.gb-merc.is-primary{border-color:var(--ember)}
.gb-merc.is-reinf{border-color:var(--primary)}
.gb-merc__info{display:flex;flex-direction:column;margin-bottom:12px}
.gb-merc__info b{font-family:var(--font-head);font-size:1.05rem}
.gb-merc__info span{font-size:.8rem;color:var(--faint,#6B7280)}
.gb-merc__pick{display:flex;gap:8px}
.gb-merc__b{flex:1;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--bg-2);color:var(--muted);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;transition:.12s}
.gb-merc__b:hover{border-color:var(--primary);color:var(--text)}
.gb-merc__b.is-on{background:var(--primary);border-color:var(--primary);color:#fff}
.gb-merc .gb-merc__b[data-role="p"].is-on{background:var(--ember);border-color:var(--ember)}

/* ---- interactive map ---- */
.gb-maplayout{display:grid;grid-template-columns:260px 1fr;gap:16px;align-items:start}
.gb-mapside{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;position:sticky;top:80px}
.gb-mapside__head{display:flex;align-items:center;margin-bottom:12px;font-family:var(--font-head)}
.gb-mapcat{display:flex;align-items:center;gap:9px;padding:8px 6px;border-radius:8px;cursor:pointer;font-size:.88rem}
.gb-mapcat:hover{background:var(--bg-2)}
.gb-mapcat__dot{width:11px;height:11px;border-radius:50%;flex:none}
.gb-mapcat__label{flex:1}
.gb-mapcat__n{font-variant-numeric:tabular-nums;font-size:.78rem;color:var(--faint,#6B7280)}
.gb-map{height:min(72vh,680px);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:#0e1015}
.gb-map.leaflet-container{background:#0e1015;font-family:inherit}
.gb-map .leaflet-tooltip{background:#0b0d11;border:1px solid var(--border-2,#333B49);color:var(--text);font-weight:600}
.gb-map .leaflet-tooltip-top::before{border-top-color:var(--border-2,#333B49)}
@media (max-width:760px){.gb-maplayout{grid-template-columns:1fr}.gb-mapside{position:static}}

/* ---- Diablo 4 section sub-nav ---- */
.d4-subnav{background:var(--bg-2);border-bottom:1px solid var(--border);position:sticky;top:64px;z-index:40}
.d4-subnav__inner{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.d4-subnav__inner::-webkit-scrollbar{display:none}
.d4-subnav__tab{white-space:nowrap;padding:12px 15px;font-family:var(--font-head);font-weight:700;font-size:.86rem;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.d4-subnav__tab:hover{color:var(--text)}
.d4-subnav__tab.is-active{color:var(--text);border-bottom-color:var(--ember)}

/* ---- skill icons: colour by category (like d4builds card icons) ---- */
.d4-sk--basic{border-color:#4a515e;color:#9aa4b2}
.d4-sk--core{border-color:var(--ember);color:var(--ember)}
.d4-sk--defensive{border-color:var(--primary);color:var(--primary-2)}
.d4-sk--active{border-color:#5B84FF;color:#5B84FF}
.d4-sk--ultimate{border-color:var(--gold);color:var(--gold)}

/* ---- planner: build notes ---- */
.gb-notes{width:100%;min-height:110px;background:var(--panel);border:1px solid var(--border);border-radius:12px;
  padding:12px 14px;color:var(--text);font:inherit;font-size:.92rem;line-height:1.5;outline:none;resize:vertical}
.gb-notes:focus{border-color:var(--primary)}

/* ---- class filter chip build count ---- */
.d4-chip__n{margin-left:6px;font-size:.7rem;font-weight:700;color:var(--faint,#6B7280);background:var(--bg-2);border-radius:20px;padding:1px 7px;font-variant-numeric:tabular-nums}
.d4-chip.is-active .d4-chip__n{background:rgba(255,255,255,.2);color:#fff}

/* ---- class hub intro ---- */
.d4-class-intro{max-width:70ch;margin:0 auto 26px;color:var(--muted);font-size:.95rem;line-height:1.6;text-align:center}
.d4-class-intro a{color:var(--primary-2)}

/* ---- skill tree node hover tooltip ---- */
.gb-ttip{position:absolute;z-index:25;pointer-events:none;background:#0b0d11;border:1px solid var(--border-2,#333B49);
  border-radius:9px;padding:8px 11px;max-width:180px;box-shadow:0 10px 26px -8px rgba(0,0,0,.75)}
.gb-ttip b{display:block;font-family:var(--font-head);font-size:.86rem;color:var(--text);line-height:1.2}
.gb-ttip span{font-size:.64rem;text-transform:uppercase;letter-spacing:.07em;color:var(--ember)}
.gb-ttip em{display:block;font-style:normal;font-size:.68rem;color:var(--faint,#6B7280);margin-top:3px}

/* Single build — read-only loadout blocks (gear / paragon / mercs) */
.d4-single__block { margin-top: 30px; }
.d4-single__block-h { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--heading); margin: 0 0 14px; letter-spacing: -0.01em; }
.d4-gearlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.d4-gearitem { display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; transition: .15s; position: relative; }
.d4-gearitem:hover { border-color: var(--primary-2); transform: translateY(-1px); }
.d4-gearitem.is-mythic { border-color: #C8963E; background: linear-gradient(180deg, rgba(200,150,62,.10), var(--bg-2)); }
.d4-gearitem__slot { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.d4-gearitem__name { font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 15px; line-height: 1.2; }
.d4-gearitem__tag { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 800; color: #E7B44D; text-transform: uppercase; letter-spacing: .05em; }
.d4-pararow { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.d4-pararow__lbl { min-width: 72px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.d4-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d4-tag { display: inline-block; background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--text); }
.d4-tag--glyph { border-color: var(--primary-ghost); color: var(--primary-2); }
.d4-mercrow { display: flex; gap: 12px; flex-wrap: wrap; }
.d4-merc { display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 18px; }
.d4-merc__role { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.d4-merc b { font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 16px; }

/* Datamined-but-unreleased classes — "Coming soon" treatment */
.d4-soon { display: inline-block; vertical-align: middle; font-family: var(--font-head); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #0b0d11; background: linear-gradient(180deg, #F5C451, #E0A02C); border-radius: 6px; padding: 2px 6px; line-height: 1.2; }
.d4-soon--lg { font-size: 12px; padding: 4px 10px; border-radius: 8px; margin-right: 8px; }
.d4-lvl-class.is-upcoming, .d4-chip.is-upcoming, .d4-cchip.is-upcoming { opacity: .72; }
.d4-lvl-class.is-upcoming:hover, .d4-chip.is-upcoming:hover, .d4-cchip.is-upcoming:hover { opacity: 1; }
.d4-cchip .d4-chip__soon { margin-left: 5px; }
.d4-lvl-class.is-upcoming .d4-lvl-class__build { color: #E0A02C; font-weight: 700; }
.d4-chip__soon { margin-left: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #E0A02C; }
.d4-class-intro--soon { background: linear-gradient(180deg, rgba(224,160,44,.10), var(--bg-2)); border: 1px solid rgba(224,160,44,.30); border-radius: var(--radius); padding: 16px 18px; }

/* Planner item picker — class/rarity tags */
.gb-picker__opt--item { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gb-picker__opt.is-mythic { border-color: rgba(200,150,62,.5); }
.gb-picker__tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; flex: none; }
.gb-picker__tag--myth { color: #0b0d11; background: linear-gradient(180deg, #F5C451, #E0A02C); border-color: transparent; }

/* Build Planner — variant switcher */
.gb-variants { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
.gb-var { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-pill, 20px); padding: 6px 14px; font-family: var(--font-head); font-weight: 700; font-size: 13px; cursor: pointer; transition: .15s; }
.gb-var:hover { border-color: var(--primary-2); color: var(--heading); }
.gb-var.is-active { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }
.gb-var__x { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 12px; line-height: 1; }
.gb-var:not(.is-active) .gb-var__x { background: var(--border-2, rgba(255,255,255,.12)); color: var(--text-muted); }
.gb-var__x:hover { background: #d33; color: #fff; }
.gb-var__add { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); border: 1px dashed var(--border-2, var(--border)); color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; transition: .15s; }
.gb-var__add:hover { border-color: var(--primary-2); color: var(--primary-2); }

/* Single build — variant note */
.d4-single__vnote { margin: 18px auto 0; color: var(--text-muted); font-size: 14px; }
.d4-single__vnote strong { color: var(--primary-2); }

/* Single build — planner notes (mini-markdown) */
.d4-single__notes { max-width: 760px; color: var(--text); line-height: 1.6; }
.d4-single__notes p { margin: 0 0 12px; }
.d4-single__notes strong { color: var(--heading); font-weight: 800; }
.d4-single__notes a { color: var(--primary-2); text-decoration: underline; }

/* Build Planner — notes hint + live preview */
.gb-notes-hint { margin: 6px 0 0; font-size: 12px; color: var(--text-muted); }
.gb-notes-hint code { background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: 11px; }
.gb-notes-preview { margin-top: 12px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); line-height: 1.6; }
.gb-notes-preview p { margin: 0 0 10px; } .gb-notes-preview p:last-child { margin-bottom: 0; }
.gb-notes-preview strong { color: var(--heading); font-weight: 800; }
.gb-notes-preview a { color: var(--primary-2); text-decoration: underline; }

/* Meta Builds listing — search + content toggle */
.d4-listctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.d4-listctl .d4-uniq-search { flex: 1; min-width: 200px; max-width: 420px; }
.d4-listctl__toggle { display: inline-flex; gap: 4px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-pill, 20px); padding: 4px; }
.d4-ctog { border: 0; background: transparent; color: var(--text-muted); font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 6px 16px; border-radius: var(--radius-pill, 20px); cursor: pointer; transition: .15s; }
.d4-ctog:hover { color: var(--heading); }
.d4-ctog.is-active { background: var(--primary-2); color: #fff; }

/* Single build — updated date */
.d4-single__updated { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.d4-single__updated time { color: var(--text); }

/* Single build — variant tabs (?var=N deep-link) */
.d4-single__variants { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.d4-single__variants-lbl { font-size: 13px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.d4-vtab { display: inline-block; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-pill, 20px); padding: 6px 15px; font-family: var(--font-head); font-weight: 700; font-size: 13px; text-decoration: none; transition: .15s; }
.d4-vtab:hover { border-color: var(--primary-2); color: var(--heading); }
.d4-vtab.is-active { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }
.d4-vtab--planner { border-style: dashed; color: var(--primary-2); }

/* Database modal — class restriction line */
.d4-modal__cls { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--primary-2); }

/* Database modal — used-in-builds cross-links */
.d4-modal__usedin { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.d4-modal__usedin .k { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; margin-bottom: 4px; }
.d4-modal__usedin .v a { color: var(--primary-2); text-decoration: underline; }

/* Interactive map — total progress */
.gb-maptotal { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; }
.gb-maptotal__bar { flex: 1; height: 6px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.gb-maptotal__bar span { display: block; height: 100%; width: 0; background: var(--primary-2); transition: width .2s; }
.gb-maptotal__lbl { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.gb-maptotal__lbl b { color: var(--heading); }

/* Author archive page */
.author-archive__heading { margin-top: 28px; }
