/* FxBonusHub shared components (zero-specificity via :where so page CSS always wins) */
:where(.rv-mono){display:flex;align-items:center;justify-content:center;width:108px;height:42px;border-radius:10px;font:800 .78rem var(--display);color:var(--gold);background:linear-gradient(135deg,#0e5c34,#062a1a);text-align:center;padding:4px;line-height:1.1}
:where(.rv-logo-img){max-width:160px;height:62px;object-fit:contain;background:#fff;border-radius:12px;padding:6px;border:1px solid var(--line)}
:where(.hero-search){display:flex;gap:8px;max-width:560px;margin-top:16px}
:where(.hero-search) input{flex:1;min-width:0;padding:12px 14px;border-radius:12px;border:1px solid var(--line);font:inherit;font-size:1rem}
:where(.hero-search) button{border:0;cursor:pointer;white-space:nowrap}
:where(.rv-final){text-align:center;margin:28px 0 6px}
:where(.prose,.guide,.rv-body) img{max-width:100%;height:auto;border-radius:12px}
:where(.prose,.guide,.rv-body) iframe{max-width:100%;border:0;border-radius:12px}
:where(.prose,.guide,.rv-body) :where(.video){position:relative;aspect-ratio:16/9;margin:18px 0}
:where(.prose,.guide,.rv-body) :where(.video) iframe{position:absolute;inset:0;width:100%;height:100%}
:where(.prose,.guide,.rv-body) figure{margin:20px 0}
:where(.prose,.guide,.rv-body) figcaption{font-size:.85rem;color:var(--muted);text-align:center;margin-top:6px}
:where(.prose,.guide,.rv-body) blockquote{margin:18px 0;padding:12px 18px;border-left:4px solid var(--accent);background:var(--chip);border-radius:0 12px 12px 0;font-style:italic}
:where(.prose,.guide,.rv-body) pre{background:#0d1f16;color:#e9f5ee;padding:14px;border-radius:12px;overflow:auto;font-size:.88rem}
:where(.prose,.guide,.rv-body) code{font-family:var(--mono);font-size:.9em}
:where(.prose,.guide,.rv-body) hr{border:0;border-top:1px solid var(--line);margin:26px 0}
:where(.prose,.guide,.rv-body) mark{background:#fff1b8;padding:0 3px;border-radius:3px}
:where(.prose,.guide,.rv-body) :where(.tbl){overflow-x:auto;margin:18px 0;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}
:where(.prose,.guide,.rv-body) table{width:100%;border-collapse:collapse;font-size:.94rem;min-width:520px}
:where(.prose,.guide,.rv-body) th,:where(.prose,.guide,.rv-body) td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
:where(.prose,.guide,.rv-body) thead th{background:var(--brand);color:var(--on-brand);font-family:var(--display);font-size:.82rem;letter-spacing:.02em}
:where(.prose,.guide,.rv-body) tbody tr:nth-child(even){background:#f8fbf9}
/* callouts */
:where(.callout){margin:18px 0;padding:14px 16px 14px 46px;border-radius:14px;position:relative;background:var(--chip);border:1px solid #cfe7d9}
:where(.callout)::before{content:"i";position:absolute;left:14px;top:14px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font:800 .8rem var(--display);color:#fff;background:var(--accent)}
:where(.callout.warn-box){background:var(--warn-bg);border-color:#f1dc9b;color:var(--warn-fg)}
:where(.callout.warn-box)::before{content:"!";background:#d99a00}
:where(.callout.tip){background:#eef6ff;border-color:#cfe0f6}
:where(.callout.tip)::before{content:"★";background:#2f6fd6}
:where(.callout) > :first-child{margin-top:0}:where(.callout) > :last-child{margin-bottom:0}
:where(.prose .warn,.guide .warn){padding:12px 14px;border-radius:12px;background:var(--warn-bg);color:var(--warn-fg);font-size:.9rem}
/* facts */
:where(.facts){margin:16px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
:where(.facts) > div{display:grid;grid-template-columns:minmax(120px,220px) minmax(0,1fr);gap:12px;padding:9px 14px;align-items:baseline}
:where(.facts) > div:nth-child(odd){background:var(--bg)}
:where(.facts) > div + div{border-top:1px solid var(--line)}
:where(.facts) dt{font-size:.9rem;color:var(--muted);font-weight:600}
:where(.facts) dd{margin:0;font-weight:600}
@media (max-width:600px){:where(.facts) > div{grid-template-columns:1fr;gap:2px}}
:where(.feats){list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:14px 0}
:where(.feats) li{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
:where(.yes){color:var(--accent-ink);font-weight:800}:where(.no){color:var(--bad);font-weight:800}
/* pros & cons */
:where(.pc){display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:18px 0}
:where(.pc) > div{border-radius:14px;padding:14px 16px;border:1px solid var(--line);background:var(--surface)}
:where(.pc .pros){border-top:4px solid var(--accent)}:where(.pc .cons){border-top:4px solid var(--bad)}
:where(.pc) h3,:where(.pc) h4{margin:0 0 8px;font-family:var(--display);font-size:1rem}
:where(.pc) ul{margin:0;padding-left:0;list-style:none}
:where(.pc) li{position:relative;padding-left:22px;margin:6px 0}
:where(.pc .pros) li::before{content:"✓";position:absolute;left:0;color:var(--accent-ink);font-weight:800}
:where(.pc .cons) li::before{content:"✕";position:absolute;left:0;color:var(--bad);font-weight:800}
/* steps */
:where(.prose,.guide) :where(ol.steps){counter-reset:st;list-style:none;padding:0;margin:16px 0}
:where(.prose,.guide) :where(ol.steps) > li{counter-increment:st;position:relative;padding:4px 0 12px 44px}
:where(.prose,.guide) :where(ol.steps) > li::before{content:counter(st);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font:800 .9rem var(--display)}
/* FAQ */
:where(.prose,.guide,.rv-body) details{border:1px solid var(--line);border-radius:12px;margin:10px 0;background:var(--surface);overflow:hidden}
:where(.prose,.guide,.rv-body) summary{cursor:pointer;padding:12px 16px;font-weight:700;list-style:none}
:where(.prose,.guide,.rv-body) summary::-webkit-details-marker{display:none}
:where(.prose,.guide,.rv-body) summary h3{display:inline;font-size:1rem;margin:0}
:where(.prose,.guide,.rv-body) details > :not(summary){padding:0 16px}
/* CTA box */
:where(.cta-box){display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:22px 0;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#0e5c34,#062a1a);color:var(--on-brand)}
:where(.cta-box) p{margin:0;color:var(--on-brand)}
:where(.cta-box) :where(.gold-btn,.btn-cta){display:inline-flex;align-items:center;gap:6px;padding:11px 18px;border-radius:12px;background:linear-gradient(135deg,#ffd257,#e8a91e);color:#062a1a!important;font:800 .95rem var(--display);text-decoration:none}
:where(a.btn-cta){display:inline-flex;align-items:center;gap:6px;padding:11px 18px;border-radius:12px;background:linear-gradient(135deg,#ffd257,#e8a91e);color:#062a1a!important;font:800 .95rem var(--display);text-decoration:none}
/* columns */
:where(.cols-2){display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
:where(.bk-posts) .mono{font-size:.9rem}
:where(.toc) ol{margin:6px 0 0;padding-left:20px}

/* ===== Images inside the design's own image slots ===== */
.news .thumb.has-img{overflow:hidden}
.news .thumb.has-img::before,.news .thumb.has-img::after{display:none}
.news .thumb.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
figure.hero > img{display:block;width:100%;height:100%;object-fit:cover}
/* content images: always fit the column, keep their own ratio, never stretched */
.prose img,.guide img,.rv-body img{max-width:100%!important;height:auto!important;display:block;margin-inline:auto}
.prose figure,.guide figure,.rv-body figure{margin:18px 0;max-width:100%}
