/* Kasiinoekspert v2 (light theme). Loaded only by the templates_v2 templates.
   Order: fonts -> tokens -> base -> shared components -> page sections -> breakpoints (1260 header, 1040 single column, 720 mobile).
   Breakpoint blocks sit at the end of the file; rule order matters at equal specificity, so add new rules to the matching section. */

/* ================= Fonts (self-hosted; no Google Fonts request) ================= */
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 600; font-display: swap; src: url(/public/assets/fonts/bai-jamjuree-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 600; font-display: swap; src: url(/public/assets/fonts/bai-jamjuree-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 700; font-display: swap; src: url(/public/assets/fonts/bai-jamjuree-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bai Jamjuree'; font-style: normal; font-weight: 700; font-display: swap; src: url(/public/assets/fonts/bai-jamjuree-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/public/assets/fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/public/assets/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/public/assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/public/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ================= Tokens ================= */
:root {
  /* Layer 1: primitives */
  --gray-50: #f7f8fa; --gray-100: #eef0f3; --gray-200: #e3e6ea; --gray-300: #cfd3d9; --gray-400: #a3a8b0;
  --gray-500: #7d828b; --gray-600: #5b6068; --gray-700: #3a3d43; --gray-800: #2a2c31; --gray-900: #141518;
  --green-50: #eafaea; --green-100: #d3f3d3; --green-400: #3dbd4a; --green-600: #0b8a0b; --green-700: #086b08;
  --pink-50: #ffe9f2; --pink-500: #ff2d86; --pink-600: #e6186e; --pink-800: #5c0a2e;
  --yellow-500: #ffc61a; --yellow-600: #ffad0d; --orange-50: #fff0e8; --orange-500: #f97435;
  --purple-50: #f1ecfd; --purple-500: #6f47d1; --cyan-50: #e6f7fe; --cyan-500: #2bbdf2; --red-50: #fdebec; --red-500: #e5202e;
  /* Layer 2: semantic */
  --bg-page: var(--gray-50); --bg-surface: #fff; --bg-subtle: var(--gray-100); --bg-inverse: var(--gray-900);
  --text: var(--gray-900); --text-2: var(--gray-600); --text-3: var(--gray-500); --line: var(--gray-200);
  --action: var(--green-600); --action-hover: var(--green-700); --brand: var(--pink-600);
  --r-card: 16px; --r-inner: 12px; --r-ctl: 6px;
  --shadow-1: 0 1px 2px rgba(20,21,24,.04), 0 4px 16px rgba(20,21,24,.05);
  --shadow-2: 0 2px 4px rgba(20,21,24,.06), 0 12px 32px rgba(20,21,24,.10);
  --wrap: 1200px;
  --font-head: "Bai Jamjuree", Inter, system-ui, sans-serif;
}

/* ================= Base ================= */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-page); color: var(--text); font: 400 16px/1.45 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 30px; line-height: 1.2; font-weight: 700; } h2 { font-size: 26px; line-height: 1.2; } h3 { font-size: 22px; line-height: 1.25; } h4 { font-size: 18px; line-height: 1.25; }
h1 span { color: var(--text-2); }
[id] { scroll-margin-top: 84px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--text-2); } .small { font-size: 14px; } .xs { font-size: 12px; line-height: 1.3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--text); border-radius: var(--r-ctl); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ================= Buttons ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 600 14px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn--primary { color: #fff; background: linear-gradient(90deg, var(--green-400) 0%, var(--green-600) 55%, var(--green-700) 100%); background-size: 160% 100%; background-position: 0 0; }
.btn--primary:hover { background-position: 100% 0; }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary { color: var(--text); background: #fff; border-color: var(--gray-300); }
.btn--secondary:hover { border-color: var(--gray-500); }
.btn--ghost-dark { color: #fff; background: transparent; border-color: rgba(255,255,255,.28); }
.btn--ghost-dark:hover { border-color: #fff; }
.btn--outline { height: 36px; background: transparent; border: 1.5px solid var(--action); color: var(--action); font-size: 13px; }
.btn--outline:hover { background: color-mix(in srgb, var(--action) 8%, transparent); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 18px; flex-direction: column; gap: 4px; }
.btn--lg small { font: 500 12px/1 Inter, sans-serif; opacity: .9; }
.btn--block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; text-decoration: none; }
.link-more:hover { color: var(--action); }
.link-more .ico { width: 16px; height: 16px; }
.cta-row { display: flex; justify-content: center; margin-top: 16px; }
.cta-row .btn { min-width: 260px; }

/* ================= Top announcement bar + header ================= */
.topbar { display: flex; align-items: center; justify-content: center; gap: 8px 20px; flex-wrap: wrap; min-height: 28px; padding: 6px 12px; background: var(--pink-600); color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: #fff; text-decoration: none; font-weight: 500; }
.topbar a .ico { width: 14px; height: 14px; } .topbar a b { font-weight: 700; }
.topbar a span { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.hdr { position: sticky; top: 0; z-index: 50; background: #000; color: #fff; border-bottom: 2px solid var(--pink-500); }
.hdr .wrap { position: relative; }
.hdr__in { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo__m { position: relative; display: inline-flex; }
.logo svg { width: 34px; height: 30px; }
.logo span { font-family: "Bai Jamjuree", Inter, sans-serif; font-weight: 700; }
.logo em { font-style: normal; color: var(--pink-500); }

/* Menu comes from the admin panel (item count varies): parent items are links too; submenus open on hover on desktop and on tap in the burger menu */
.nav { display: flex; gap: 0; margin-right: auto; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 4px; height: 64px; padding: 0 7px; color: #d9dce1; font-size: 14px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item.is-active > .nav__link { color: #fff; }
.nav__link .ico { width: 14px; height: 14px; opacity: .7; }
.nav__drop { position: absolute; top: 58px; left: 0; min-width: 240px; padding: 8px; background: #fff; color: var(--text); border-radius: var(--r-inner); box-shadow: var(--shadow-2); display: none; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { display: block; }
.nav__drop a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; text-decoration: none; }
.nav__drop a:hover { background: var(--gray-100); }
.nav__langs { display: none; }

.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-ctl); border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; }
.icon-btn:hover { border-color: rgba(255,255,255,.5); }
.burger { display: none; }
.gift { border-color: transparent; }
.gift .ico { width: 24px; height: 24px; color: var(--green-400); }
.gift__n { position: absolute; right: 2px; bottom: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--action); color: #fff; font: 700 10px/16px Inter, sans-serif; text-align: center; }
.giftpop { position: absolute; top: 60px; right: 24px; width: 380px; display: none; flex-direction: column; gap: 8px; }
.giftpop.is-open { display: flex; }
.giftpop__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: #fff; color: var(--text); border: 2px solid var(--action); border-radius: var(--r-inner); box-shadow: var(--shadow-2); }
.giftpop__item b { display: block; font-size: 14px; color: var(--action); line-height: 1.25; }
.giftpop .link-more { align-self: flex-end; padding: 8px 12px; background: #fff; border-radius: var(--r-ctl); box-shadow: var(--shadow-2); color: var(--text); }

.hsearch { position: relative; }
.hsearch__form { position: absolute; right: 0; top: 48px; z-index: 5; display: none; gap: 6px; width: 280px; padding: 8px; background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-2); }
.hsearch.is-open .hsearch__form { display: flex; }
.hsearch__form .btn { height: 36px; padding: 0 12px; } .hsearch__form .btn .ico { width: 16px; height: 16px; }
.search-input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--gray-300); border-radius: var(--r-ctl); font: 400 14px/1 Inter, sans-serif; color: var(--text); background: #fff; }
.search-input:focus { outline: 2px solid var(--action); outline-offset: 1px; }
/* Live search results (JS: [data-live-search]) */
.hsearch__form { flex-wrap: wrap; width: 340px; }
.live { flex: 0 0 100%; max-height: min(70vh, 460px); overflow: auto; margin-top: 2px; color: var(--text); }
.live[hidden] { display: none; }
.live__h { padding: 8px 6px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.live__i { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; text-decoration: none; }
.live__i:hover, .live__i:focus-visible { background: var(--gray-100); outline: 0; }
.live__i .tile { width: 44px; height: 32px; border-radius: 6px; }
.live__t { flex: 1; min-width: 0; display: grid; } .live__t b { font-size: 14px; font-weight: 600; line-height: 1.3; } .live__t small { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live__s { font-size: 13px; font-weight: 600; color: var(--yellow-600); }
.live__none { padding: 12px 6px; font-size: 14px; color: var(--text-2); }
.live__all { display: block; margin-top: 4px; padding: 10px 6px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--green-700); text-decoration: none; }
.live__all:hover { text-decoration: underline; }
.sform { position: relative; flex-wrap: wrap; } .sform .live { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; padding: 8px; background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-2); }

.flag { width: 20px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-ctl); color: #fff; font-size: 13px; font-weight: 600; }
.lang > button { height: 40px; padding: 0 10px; border-radius: var(--r-ctl); border: 1px solid rgba(255,255,255,.18); background: none; color: #fff; font: 600 13px/1 Inter, sans-serif; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.lang > button .ico { width: 14px; height: 14px; opacity: .7; }
.lang__drop { position: absolute; right: 0; top: 46px; min-width: 160px; padding: 6px; background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-2); display: none; z-index: 5; }
.lang.is-open .lang__drop { display: block; }
.lang__drop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; }
.lang__drop a:hover, .lang__drop a.is-on { background: var(--gray-100); } .lang__drop .flag { box-shadow: 0 0 0 1px var(--gray-300); }

/* ================= Shared components ================= */
/* Logo tile: image is absolutely positioned (percentage heights do not resolve inside the grid, so tall logos overflowed) */
.tile { position: relative; display: grid; place-items: center; background: var(--gray-900); border-radius: var(--r-inner); overflow: hidden; flex: none; }
.tile img { position: absolute; inset: 0; margin: auto; width: 78%; height: 62%; object-fit: contain; }
.tile span { color: #fff; font-weight: 700; font-size: 12px; text-align: center; padding: 4px; }
.tile--96 { width: 96px; height: 96px; } .tile--64 { width: 64px; height: 64px; border-radius: 10px; } .tile--52 { width: 52px; height: 52px; border-radius: 8px; }
.tile--160 { width: 176px; height: 176px; border-radius: 14px; }

.score { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; color: var(--yellow-600); }
.score svg { width: 14px; height: 14px; fill: var(--yellow-500); }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--green-50); color: var(--green-700); font: 600 11px/1 Inter, sans-serif; }
.badge--gray { background: var(--gray-100); color: var(--text-2); } .badge--pink { background: var(--pink-50); color: var(--pink-600); }
.badge--purple { background: var(--purple-50); color: var(--purple-500); } .badge--orange { background: var(--orange-50); color: var(--orange-500); } .badge--cyan { background: var(--cyan-50); color: #0c8fc0; }
.chip-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--green-50); color: var(--action); }
.chip-ico--purple { background: var(--purple-50); color: var(--purple-500); } .chip-ico--orange { background: var(--orange-50); color: var(--orange-500); }
.chip-ico--cyan { background: var(--cyan-50); color: var(--cyan-500); } .chip-ico--pink { background: var(--pink-50); color: var(--pink-600); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--gray-100); font-size: 12px; font-weight: 600; text-decoration: none; }
a.chip:hover { background: var(--green-50); color: var(--green-700); }
.chip--pay { height: 34px; gap: 8px; background: #fff; border: 1px solid var(--line); } .chip--pay img { height: 18px; width: auto; max-width: 44px; object-fit: contain; }
.chip--cas { height: 36px; gap: 8px; padding: 0 12px 0 4px; background: #fff; border: 1px solid var(--line); }
.chip--cas .tile { width: 40px; height: 28px; border-radius: 5px; }
.chip--link { border: 1px solid var(--line); background: #fff; }
.chip--cas:hover, .chip--link:hover, .rel-box .chip:hover { border-color: var(--green-400); color: var(--action); }
.checks { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: 14px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.code { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1.5px dashed var(--green-400); border-radius: var(--r-ctl); background: var(--green-50); color: var(--green-700); font: 700 13px/1 Inter, sans-serif; letter-spacing: .04em; cursor: pointer; }
.code .ico { width: 15px; height: 15px; }
.code--none { border-style: solid; border-color: var(--line); background: var(--gray-50); color: var(--text-2); font-weight: 600; letter-spacing: 0; cursor: default; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--gray-200); }
.thumb { border-radius: 8px; background: linear-gradient(135deg, var(--gray-800), var(--pink-800)); display: grid; place-items: center; color: #fff; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--56 { width: 56px; height: 44px; }
.eyebrow { font: 600 12px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--action); }
.alert { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-ctl); font-size: 14px; font-weight: 600; }
.alert--ok { background: var(--green-50); color: var(--green-700); } .alert--err { background: var(--red-50); color: var(--red-500); }

/* Forms (contact + ask the expert) */
.form { display: grid; gap: 12px; } .form.is-done > :not(.form__actions) { display: none; } .form.is-done .btn { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form__f input, .form__f textarea, .form__f select { width: 100%; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--r-ctl); background: #fff; color: var(--text); font: 400 14px/1.4 Inter, sans-serif; }
.form__f input:focus, .form__f textarea:focus, .form__f select:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: transparent; }
.form__check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); } .form__check input { margin-top: 2px; accent-color: var(--action); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ================= Page skeleton ================= */
.crumbs { padding: 16px 0 0; font-size: 13px; color: var(--text-2); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--action); } .crumbs span { margin: 0 6px; color: var(--gray-400); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 24px; padding: 20px 0 56px; align-items: start; }
.main > * + * { margin-top: 32px; }
.side { display: grid; gap: 16px; position: sticky; top: 80px; }
.card { background: var(--bg-surface); border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 24px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-lead { margin-top: 8px; color: var(--text-2); font-size: 14px; max-width: 70ch; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.meta b { color: var(--text); font-weight: 600; } .meta a { color: var(--text-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.affiliate-disclosure { text-align: center; color: var(--text-3); font-size: 12px; }
.card.notfound { margin: 40px auto 64px; max-width: 560px; text-align: center; display: grid; gap: 14px; justify-items: center; padding: 48px 24px; }
.notfound h1 { font-size: 64px; line-height: 1; } .notfound__t { font-size: 20px; font-weight: 600; }

/* ================= Sidebar ================= */
.w { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-1); padding: 18px; }
.w__t { font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }
.w-list { display: grid; gap: 8px; }
.w-cas { display: grid; grid-template-columns: 52px 1fr 28px; gap: 12px; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; }
.w-cas:hover { border-color: var(--green-400); }
.w-cas small { display: block; font-weight: 500; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: var(--action); }
.go .ico { width: 14px; height: 14px; }
.w-news { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.w-news:first-of-type { border-top: 0; padding-top: 0; }
.w-news b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.w-news:hover b { color: var(--action); }
.w-news small { font-size: 12px; color: var(--text-3); }
.w-codes a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.w-codes a:first-of-type { border-top: 0; }
.w-codes code { font: 700 12px/1 Inter, sans-serif; color: var(--green-700); background: var(--green-50); border: 1px dashed var(--green-400); border-radius: 4px; padding: 5px 8px; }
.w-author { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
a.w-author { text-decoration: none; }
.wlinks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; } .wlinks a { color: var(--green-700); font-weight: 600; text-decoration: none; } .wlinks a:hover { text-decoration: underline; }
.side-ad { display: block; } .side-ad img { display: block; width: 100%; height: auto; border-radius: var(--r-inner); }

/* ================= Home page ================= */
/* Hero: slide artwork blends into the black background with "screen"; --glow follows the slide theme */
.hero { position: relative; display: grid; margin-top: 20px; background: #000; color: #fff; border-radius: var(--r-card); overflow: hidden; }
.hero__slide { --glow: #f5b942; grid-area: 1 / 1; position: relative; isolation: isolate; display: grid; align-items: center; min-height: 420px; padding: 44px 48px 60px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.hero__slide--purple { --glow: #b07bff; } .hero__slide--red { --glow: #ff5a67; }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 78% at 76% 50%, color-mix(in srgb, var(--glow) 36%, transparent), transparent 72%), radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--pink-600) 22%, transparent), transparent 70%); }
.hero__img { position: absolute; z-index: -1; right: 1%; top: 50%; height: 116%; width: auto; max-width: none; transform: translateY(-50%); mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 64%, transparent 100%); mask-image: radial-gradient(closest-side, #000 64%, transparent 100%); scale: .92; transition: scale 1.4s cubic-bezier(.2,.7,.2,1); animation: heroFloat 7s ease-in-out infinite; }
.hero__slide.is-on .hero__img { scale: 1; }
@keyframes heroFloat { 50% { translate: 0 -14px; } }
.hero__txt { max-width: 600px; }
.hero__txt > * { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .5s ease; }
.hero__slide.is-on .hero__txt > * { opacity: 1; translate: 0 0; }
.hero__slide.is-on .hero__txt > :nth-child(2) { transition-delay: .06s; } .hero__slide.is-on .hero__txt > :nth-child(3) { transition-delay: .12s; }
.hero__slide.is-on .hero__txt > :nth-child(4) { transition-delay: .18s; } .hero__slide.is-on .hero__txt > :nth-child(5) { transition-delay: .24s; }
.hero__slide.is-on .hero__txt > :nth-child(6) { transition-delay: .3s; } .hero__slide.is-on .hero__txt > :nth-child(7) { transition-delay: .36s; }
.hero__badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 9px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--glow) 45%, transparent); background: color-mix(in srgb, var(--glow) 12%, transparent); font-size: 12px; font-weight: 600; color: #fff; }
.hero__badge .ico { width: 15px; height: 15px; color: var(--glow); }
.hero__name { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.hero__name .tile { border: 1px solid rgba(255,255,255,.14); }
.hero__name .score { font-size: 16px; }
.hero__slide .eyebrow { display: block; color: var(--glow); }
.hero__title { margin-top: 8px; font-family: var(--font-head); font-size: 52px; line-height: 1.06; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.hero__offer { margin: 10px 0 0; font-size: 19px; font-weight: 600; color: var(--glow); }
.hero__feats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 24px; padding: 0; list-style: none; font-size: 15px; color: #d5d8dd; }
.hero__feats li { display: flex; align-items: center; gap: 6px; }
.hero__feats .ico { width: 16px; height: 16px; color: var(--green-400); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__cta .btn { height: 48px; padding: 0 28px; font-size: 15px; }
.hero__dots { position: absolute; left: 48px; bottom: 24px; display: flex; gap: 6px; }
.hero__dots button { position: relative; width: 10px; height: 6px; border-radius: 3px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; overflow: hidden; transition: width .25s; }
.hero__dots button.is-on { width: 44px; }
.hero__dots button.is-on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: heroBar var(--hero-ms, 6s) linear both; }
@keyframes heroBar { from { transform: scaleX(0); } }

.h1-home { letter-spacing: -.02em; }
.h1-home span { color: inherit; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick a { display: grid; justify-items: center; gap: 10px; padding: 18px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); text-decoration: none; font-weight: 600; font-size: 14px; text-align: center; transition: border-color .15s, box-shadow .15s; }
.quick a:hover { border-color: var(--green-400); box-shadow: var(--shadow-1); }

/* Ranking card: brand name is the heading (anchor of the review link), the offer is the large line; top three get a ribbon and a notification badge */
.rank { display: grid; gap: 18px; }
.rc { position: relative; display: grid; grid-template-columns: 152px minmax(0, 1fr) 184px; gap: 4px 20px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); box-shadow: var(--shadow-1); }
.rc--top { border: 2px solid var(--green-400); padding: 13px; }
.rc--hidden { display: none; }
.rc__logo { position: relative; }
.rc__logo .tile { width: 152px; height: 124px; } .rc__logo .tile img { width: 84%; height: 72%; }
.rc__ribbon { position: absolute; left: -2px; top: -26px; z-index: 2; width: 46px; height: auto; filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); }
.rc__n { position: absolute; left: -6px; top: -6px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 3px; border-radius: 11px; background: var(--action); color: #fff; font: 600 11px/1 Inter, sans-serif; }
.rc__n i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: var(--action); font-style: normal; font-weight: 700; font-size: 10px; }
.rc__n--plain { background: var(--gray-900); padding: 0 3px; } .rc__n--plain i { color: var(--gray-900); }
.rc__score-m { display: none; }
.rc__head { display: flex; align-items: center; gap: 10px; }
.rc__brand { font: 600 14px/1.2 Inter, sans-serif; letter-spacing: 0; color: var(--text-2); }
.rc__brand a { text-decoration: none; } .rc__brand a:hover { color: var(--action); }
.rc__title { margin-top: 2px; font-family: var(--font-head); font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.rc__legal { margin: 10px 0 0; font-size: 10px; color: #000; }
.rc__act { display: grid; gap: 8px; align-content: center; }
.rc__cta { position: relative; display: grid; }
.rc__dot { position: absolute; top: -9px; right: -9px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 12px; background: #ff3b30; border: 2px solid #fff; color: #fff; font: 700 11px/16px Inter, sans-serif; font-style: normal; text-align: center; box-sizing: border-box; pointer-events: none; }
.rc__dot--empty { min-width: 8px; width: 8px; height: 8px; padding: 0; top: -5px; right: -5px; }
.rc__dot::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid #ff3b30; animation: dotPing 2.4s ease-out infinite; }
@keyframes dotPing { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.9); } }

/* Offer summary, payment and blog cards */
.oc { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); box-shadow: var(--shadow-1); }
.oc__h { display: flex; align-items: center; gap: 10px; }
.oc__h b { font-size: 14px; } .oc__h small { display: block; font-size: 12px; color: var(--text-3); }
.oc__t { font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--green-700); text-decoration: none; }
.oc__t:hover { text-decoration: underline; }
.oc__s { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oc__f { margin-top: auto; display: grid; gap: 8px; }
.pm { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); }
.pm__logo { display: grid; place-items: center; height: 64px; border-radius: 8px; background: var(--gray-50); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.pm p { font-size: 12px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pm .link-more { margin-top: auto; font-size: 12px; }
.bc { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-1); overflow: hidden; text-decoration: none; }
.bc .thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.bc .thumb .ico { width: 40px; height: 40px; opacity: .85; }
.bc__b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bc__t { font: 600 14px/1.35 Inter, sans-serif; letter-spacing: 0; margin: 0; } .bc:hover .bc__t { color: var(--action); }
.bc__x { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.bc__m { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3); }
.bgrid { gap: 14px; }

/* How we rate + why trust us */
.crit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.crit__i { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-inner); background: #fff; }
.crit__h { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.crit__h .badge { margin-left: auto; }
.crit__i p { margin-top: 10px; font-size: 13px; color: var(--text-2); }
.crit .chip-ico { width: 32px; height: 32px; border-radius: 8px; } .crit .chip-ico .ico { width: 18px; height: 18px; }
.trust { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--gray-800); color: #fff; border-radius: var(--r-card); overflow: hidden; }
.trust__a { padding: 28px; } .trust__a p { margin: 12px 0 20px; color: #c3c6cc; font-size: 14px; line-height: 1.6; }
.trust__b { padding: 28px; border-left: 1px solid rgba(255,255,255,.08); background: radial-gradient(120% 100% at 100% 0%, rgba(230,24,110,.28), transparent 60%); display: grid; gap: 14px; align-content: center; }
.trust__f { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-size: 14px; }
.trust__f span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); }

/* ================= Long-form text, FAQ, collapsible boxes ================= */
/* Paragraphs are justified; tables and paragraphs inside lists stay left-aligned */
.prose { font-size: 16px; line-height: 1.6; color: var(--gray-700); }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 24px; margin-top: 32px; color: var(--text); scroll-margin-top: 84px; } .prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 24px; color: var(--text); }
.prose a { color: var(--action); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; } .prose li + li { margin-top: 6px; }
.prose p, .prose li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose td, .prose th, .prose li p { text-align: left; }
.prose table { display: table; width: 100%; border-collapse: collapse; font-size: 14px; overflow-x: auto; }
.prose th { text-align: left; font-weight: 600; background: var(--gray-100); color: var(--text); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--r-inner); } .prose figure img { width: 100%; }
.prose figure { margin: 20px 0; } .prose figcaption { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.prose blockquote { margin: 16px 0; padding: 4px 16px; border-left: 3px solid var(--action); color: var(--text); }
.content-ad img { max-width: 100%; height: auto; } .content-ad__mobile { display: none; }
.clamp { position: relative; max-height: 420px; overflow: hidden; }
.clamp::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, #fff); }
.clamp.is-open { max-height: none; } .clamp.is-open::after { display: none; }

.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; margin: 4px 4px 0 0; border-right: 1.6px solid var(--gray-500); border-bottom: 1.6px solid var(--gray-500); transform: rotate(45deg); flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 8px; }
.faq .faq__a { padding: 0 16px 16px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.faq__a a { color: var(--green-700); } .faq__a ul, .faq__a ol { margin: 8px 0 0; padding-left: 20px; } .faq__a p + p { margin-top: 8px; }

.fold { background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-1); }
.fold summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.fold summary:has(.fold__meta)::after { margin-left: 12px; }
.fold[open] summary::after { transform: rotate(-135deg); }
.fold__meta { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--text-3); }
.fold__b { padding: 0 18px 16px; }
.fold__b > .link-more { margin-top: 10px; }
.fold--dark { background: var(--gray-800); color: #fff; }
.toc { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; font-size: 14px; }
.toc li { padding: 5px 0; break-inside: avoid; } .toc a { color: #d9dce1; text-decoration: none; } .toc a:hover { color: var(--green-400); }
.guides { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guides a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); text-decoration: none; font-size: 14px; font-weight: 600; }
.guides a:hover { border-color: var(--green-400); } .guides a span { flex: 1; } .guides .ico:last-child { width: 16px; height: 16px; color: var(--text-3); } .guides .ico:first-child { color: var(--action); }

/* ================= Review page ================= */
.rh-card { margin-top: 16px; }
.rh { display: grid; grid-template-columns: 176px minmax(0, 1fr) 340px; gap: 32px; }
.rh__logo { display: grid; gap: 10px; align-content: start; justify-items: center; }
.rh__upd { margin: 0; display: grid; gap: 2px; font-size: 12px; color: var(--text-3); text-align: center; } .rh__upd b { color: var(--text-2); font-weight: 600; }
.rh__legal { margin-top: 14px; } .rh__code { margin-bottom: 10px; max-width: 220px; }
.rh__bonus { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; padding: 12px 14px; border-radius: 8px; background: var(--green-50); color: var(--green-700); font-weight: 600; font-size: 15px; }
.rh__desc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--gray-700); }
.rh__score { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-inner); align-self: start; }
.rh__score-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.rh__score-h .score { font-size: 18px; } .rh__score-h .score svg { width: 18px; height: 18px; }
.byline { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; font-size: 13px; color: var(--text-2); }
.byline img { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.byline a { color: var(--text); font-weight: 600; }
.bar { height: 4px; border-radius: 2px; background: var(--gray-200); margin: 10px 0 14px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow-500), var(--yellow-600)); border-radius: 2px; }
.stars { display: flex; align-items: center; gap: 2px; margin: -4px 0 12px; }
.stars__s svg { display: block; width: 16px; height: 16px; fill: var(--gray-300); }
.stars__s.is-full svg { fill: var(--yellow-600); } .stars__s.is-half svg { fill: var(--yellow-600); clip-path: inset(0 50% 0 0); }
.stars__n { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.facts dt { color: var(--text-2); } .facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts--wide div { font-size: 14px; } .facts--wide div:first-child { border-top: 0; } .facts--wide dd a { color: var(--green-700); }
.note { display: flex; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--text-3); }
.note .ico { width: 14px; height: 14px; margin-top: 1px; }

/* Reader rating (JS: #cr-vote) */
.cr-vote { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 12px; color: var(--text-2); }
.cr-vote__label { font-weight: 600; color: var(--text); }
.cr-vote__stars { display: flex; gap: 2px; }
.cr-vote__star { padding: 2px; border: 0; background: none; cursor: pointer; line-height: 0; }
.cr-vote__star svg { width: 22px; height: 22px; fill: var(--gray-300); transition: fill .12s, transform .12s; }
.cr-vote__star.is-on svg { fill: var(--yellow-600); } .cr-vote__star:hover svg { transform: scale(1.15); }
.cr-vote__stars:hover .cr-vote__star svg { fill: var(--yellow-600); } .cr-vote__stars .cr-vote__star:hover ~ .cr-vote__star svg { fill: var(--gray-300); }
.cr-vote.is-busy { opacity: .6; pointer-events: none; } .cr-vote.is-error .cr-vote__meta { color: var(--red-500); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.stat small { display: block; font-size: 12px; color: var(--text-2); } .stat b { display: block; margin-top: 2px; font-size: 15px; line-height: 1.25; }
.info { width: 100%; border-collapse: collapse; font-size: 14px; }
.info th { width: 38%; text-align: left; font-weight: 400; color: var(--text-2); font-size: 13px; }
.info th, .info td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.info td { font-weight: 600; } .info tr:last-child th, .info tr:last-child td { border-bottom: 0; }
.info td a { color: var(--green-700); }
.sub { margin: 22px 0 10px; font-size: 16px; }
.paystats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.paystats div { padding: 12px 14px; border-radius: var(--r-inner); background: var(--gray-50); }
.paystats b { display: block; font-size: 16px; } .paystats small { font-size: 12px; color: var(--text-2); }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc__col { padding: 16px; border: 1px solid var(--green-400); border-radius: var(--r-inner); }
.pc__col--con { border-color: #f3a7ad; }
.pc__col h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 10px; }
.pc__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--gray-700); }
.pc__col li { position: relative; padding-left: 16px; } .pc__col li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-400); }
.pc__col--con li::before { background: #f3a7ad; }
.sign { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--green-50); color: var(--action); font-weight: 700; font-size: 14px; line-height: 1; }
.sign--con { background: var(--red-50); color: var(--red-500); }
.verdict { padding: 20px 22px; border-left: 3px solid var(--action); border-radius: var(--r-inner); background: #fff; box-shadow: var(--shadow-1); }
.verdict__h { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 600; font-size: 18px; }
.verdict p { margin: 10px 0 16px; font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Ask the expert (JS: .cr-ask__form) */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
.ask__intro { display: flex; gap: 14px; } .ask__intro h2 { font-size: 22px; } .ask__intro p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.cr-ask__msg { margin: 0; font-size: 13px; } .cr-ask__msg.is-ok { color: var(--green-700); } .cr-ask__msg.is-err { color: var(--red-500); }

/* Comparison table, similar casinos, related posts */
.card.cmp { padding: 0; overflow-x: auto; margin-bottom: 12px; }
.cmp__t { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.cmp__t caption { caption-side: top; text-align: left; padding: 14px 18px 10px; font-weight: 600; font-size: 15px; }
.cmp__t th { text-align: left; padding: 10px 18px; background: var(--gray-50); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.cmp__t td { padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; } .cmp__t .num { text-align: right; white-space: nowrap; font-weight: 600; }
.cmp__t tr.is-current td { background: var(--green-50); } .cmp__t td a { color: var(--green-700); font-weight: 600; }
.simg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sim__c { display: grid; gap: 10px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); }
.sim__c .tile { width: 100%; height: 84px; } .sim__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sim__c .link-more { font-size: 13px; justify-content: center; }
a.sim__c { text-decoration: none; } a.sim__c:hover { border-color: var(--green-400); }
.rel__c { padding: 14px; background: #fff; border-radius: var(--r-inner); box-shadow: var(--shadow-1); }
.rel__c h3 { font: 600 14px/1.35 Inter, sans-serif; letter-spacing: 0; } .rel__c h3 a { text-decoration: none; } .rel__c h3 a:hover { color: var(--action); }
.rel__c p { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--text-2); }

/* Author card (page bottom) */
.author { display: grid; grid-template-columns: 88px 1fr; gap: 18px; }
.author img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; }
.author__h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; }
.author__h a { text-decoration: none; } .author__h a:hover { color: var(--action); }
.author p { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.author p a { color: var(--green-700); }

/* Bottom sticky CTA (review) and featured bar (blog + category): shown once JS adds .is-on */
.sticky-cta { position: fixed; left: 50%; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 14px; width: min(760px, calc(100% - 32px)); padding: 10px 12px; background: #000; color: #fff; border-radius: 14px; box-shadow: var(--shadow-2); transform: translate(-50%, 140%); transition: transform .25s ease; }
.sticky-cta.is-on { transform: translate(-50%, 0); }
.sticky-cta .tile { border: 1px solid rgba(255,255,255,.14); }
.sticky-cta .btn .ico { width: 16px; height: 16px; }
.sticky-cta__i { flex: 1; min-width: 0; display: grid; gap: 2px; } .sticky-cta__i b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sticky-cta__i > span { font-size: 13px; color: #c9ccd2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta--feat { display: block; padding: 0; } .sticky-cta__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; } .sticky-cta__item[hidden] { display: none; }
.sticky-cta__tag { padding: 2px 8px; border-radius: 10px; background: var(--yellow-500); color: #111; font: 700 10px/1.4 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }

/* ================= Offers ================= */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.tab { height: 36px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--gray-300); background: #fff; font: 600 13px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; text-decoration: none; }
a.tab:hover { border-color: var(--gray-500); }
.pstat { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.pstat li { padding: 6px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); } .pstat b { color: var(--text); } .pstat a { color: var(--green-700); font-weight: 600; }
.phead { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.offer { display: grid; grid-template-columns: 96px minmax(0, 1fr) 200px; gap: 20px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-inner); box-shadow: var(--shadow-1); }
.offer--nologo { grid-template-columns: minmax(0, 1fr) 220px; }
.offer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
/* Heading is h3 (18px) in the feed and h2 (20px) on brand pages */
.offer__t { font-size: 20px; line-height: 1.25; } .offer__t span { color: var(--text-2); font-weight: 600; }
h3.offer__t { font-size: 18px; } h3.offer__t span { font-weight: 500; }
.offer p { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.offer__links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; } .offer__links a { color: var(--green-700); font-weight: 600; }
.offer__act { display: grid; gap: 8px; align-content: start; }
.offer__codel { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.offer__src { font-size: 11px; color: var(--text-3); text-align: center; }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px; margin-top: 12px; }
.terms div { padding: 8px 10px; border-radius: 8px; background: var(--gray-50); }
.terms dt { font-size: 11px; color: var(--text-3); } .terms dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.plinks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plinks a { display: block; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; } .plinks a:hover { border-color: var(--green-400); color: var(--action); }
.pnote { font-size: 13px; line-height: 1.6; color: var(--text-2); } .pnote a { color: var(--green-700); font-weight: 600; }
.pended { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text-2); display: grid; gap: 6px; }

/* ================= Blog, search ================= */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--gray-300); background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.pager a:hover { border-color: var(--gray-500); } .pager .is-current { background: var(--gray-900); border-color: var(--gray-900); color: #fff; }
.sform { display: flex; gap: 8px; margin-top: 14px; max-width: 520px; } .sform .search-input { height: 44px; } .sform .btn .ico { width: 16px; height: 16px; }
.post .meta { margin-bottom: 18px; } .post .blog-toc { margin-bottom: 20px; display: block; } .post .blog-toc .fold { box-shadow: none; }
.rel-box { display: grid; gap: 22px; } .rel-box h3 { font-size: 17px; margin-bottom: 12px; }
.rel-box a.chip { height: 34px; border: 1px solid transparent; }

/* ================= Author profile ================= */
.ah { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; }
.ah__mail { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--green-700); text-decoration: none; } .ah__mail .ico { width: 16px; height: 16px; }
.ah__chips { margin: 12px 0 0; padding: 0; list-style: none; }
.ah__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.ah__stats div { padding: 12px 14px; border-left: 1px solid var(--line); } .ah__stats div:first-child { border-left: 0; }
.ah__stats small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ah__stats b { font-size: 14px; }
.ah__photo { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; background: var(--gray-200); }
.ah__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ================= Footer + mobile tab bar ================= */
.ftr { background: #000; color: #c3c6cc; font-size: 13px; border-top: 2px solid var(--pink-500); }
.ftr__top { background: #000; border-bottom: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.ftr__top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ftr__marks { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ftr__marks img { height: 30px; width: auto; max-width: 150px; object-fit: contain; display: block; opacity: .9; } .ftr__marks a:hover img { opacity: 1; }
.ftr__marks span { display: inline-flex; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; padding: 28px 0; }
.ftr__grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ftr__grid a { text-decoration: none; } .ftr__grid a:hover { color: var(--green-400); }
.ftr__h { color: #fff; font: 600 14px/1.25 "Bai Jamjuree", Inter, sans-serif; margin: 0 0 12px; }
.ftr__about { line-height: 1.6; } .ftr__about p + p { margin-top: 8px; } .ftr__about a { color: #fff; }
.ftr__rg { padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); line-height: 1.6; text-align: center; } .ftr__rg:last-child { padding-bottom: 24px; }
.ftr__rg a { color: #fff; }
.tabbar { display: none; }

/* ================= Christmas theme (body.xmas, toggled in the admin panel) ================= */
.xhat { display: block; }
.logo .xhat { position: absolute; left: 14px; top: -9px; width: 19px; height: auto; transform: rotate(14deg); }
/* Ornaments hanging from the top edge of the slider: kept on the right half, clear of the text; gentle sway */
.xorn { position: absolute; top: 0; right: 28px; z-index: 2; width: min(416px, 46%); height: auto; overflow: visible; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.xorn__o { transform-box: view-box; transform-origin: 50% 0; animation: xornSway 4.6s ease-in-out calc(var(--i) * -0.7s) infinite alternate; }
@keyframes xornSway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
/* Snow: JS creates a few flakes; only transform is animated (no layout/paint work) and clicks pass through */
.snow { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.snow i { position: absolute; top: -24px; left: var(--x); color: #a9c9ec; font: normal var(--s) / 1 Inter, sans-serif; opacity: var(--o); text-shadow: 0 0 4px rgba(255,255,255,.9); will-change: transform; animation: snowFall var(--d) linear var(--delay) infinite; }
@keyframes snowFall { to { transform: translate3d(var(--drift), 110vh, 0) rotate(240deg); } }

/* ================= Breakpoint: <=1260 - menu collapses to burger ================= */
@media (max-width: 1260px) {
  .nav { display: none; } .burger { display: inline-grid; } .hdr__in { justify-content: space-between; }
  .hdr.is-menu .nav { display: grid; position: absolute; top: 64px; left: 0; right: 0; background: #000; padding: 8px 16px 16px; max-height: calc(100vh - 64px); overflow: auto; }
  .hdr.is-menu .nav__link { height: 44px; width: 100%; justify-content: space-between; }
  .hdr.is-menu .nav__item.has-kids > .nav__link .ico { transition: transform .15s; }
  .hdr.is-menu .nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
  .hdr.is-menu .nav__drop { position: static; display: none; box-shadow: none; background: rgba(255,255,255,.06); color: #fff; }
  .hdr.is-menu .nav__item.is-open .nav__drop { display: block; }
  .hdr.is-menu .nav__drop a:hover { background: rgba(255,255,255,.08); }
  .hdr.is-menu .nav__langs { display: flex; gap: 8px; padding: 12px 0 4px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav__langs a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
  .nav__langs a.is-on { border-color: var(--pink-500); }
}

/* ================= Breakpoint: <=1040 - single column ================= */
@media (max-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsearch__form { position: fixed; left: 14px; right: 14px; top: auto; width: auto; margin-top: 8px; }
  /* Hero: dark gradient from the left so the artwork does not sit under the text */
  .hero__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.82) 38%, transparent 68%); }
  .hero__img { right: -14%; height: 100%; } .hero__title { font-size: 42px; } .hero__txt { max-width: 440px; }
  .rh { grid-template-columns: 140px minmax(0, 1fr); } .rh__score { grid-column: 1 / -1; } .tile--160 { width: 140px; height: 140px; }
  .rh__logo { justify-items: start; }
  .stats, .paystats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simg:not(.simg--6) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask { grid-template-columns: 1fr; }
}

/* ================= Breakpoint: <=720 - mobile ================= */
@media (max-width: 720px) {
  h1 { font-size: 26px; } h2 { font-size: 22px; } h3 { font-size: 18px; } h4 { font-size: 16px; }
  body { font-size: 14px; padding-bottom: 64px; }
  .wrap { padding: 0 14px; }
  .card { padding: 16px; } .main > * + * { margin-top: 24px; }
  .lang { display: none; }
  .giftpop { right: 14px; left: 14px; width: auto; }
  .cta-row .btn { width: 100%; min-width: 0; }
  .form__row { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .crit, .trust, .pc, .grid-3, .author, .ah { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel, .guides { grid-template-columns: 1fr; }
  /* Horizontally scrolling card row (offer cards) */
  .scroll-x { display: flex; overflow-x: auto; gap: 10px; margin: 0 -14px; padding: 0 14px 6px; scroll-snap-type: x mandatory; }
  .scroll-x > * { flex: 0 0 76%; scroll-snap-align: start; }

  .hero__slide { min-height: 0; padding: 20px 20px 48px; }
  .hero__slide::after { background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 46%, #000 70%); }
  .hero__img { right: -56px; top: -8px; height: 250px; transform: none; opacity: .75; } .hero__txt { max-width: none; }
  .hero__title { font-size: 32px; } .hero__offer { font-size: 16px; } .hero__name { margin: 56px 0 10px; font-size: 22px; }
  .hero__cta .btn { flex: 1; padding: 0 12px; } .hero__dots { left: 20px; bottom: 20px; }
  /* Keep the home page H1 on one line */
  .h1-home { font-size: clamp(16px, 5vw, 24px); white-space: nowrap; letter-spacing: -.03em; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .trust__b { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }

  .rc { grid-template-columns: 1fr; gap: 0; padding: 12px; }
  .rc__logo { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 8px; }
  .rc__logo .tile { grid-column: 1 / -1; width: 100%; height: 120px; }
  .rc__ribbon { left: 8px; top: -24px; } .rc__n { left: 6px; top: 6px; }
  .rc__body { margin-top: 10px; } .rc__head { justify-content: space-between; } .rc__score-d { display: inline-flex; }
  .rc__title { margin-top: 6px; } .rc__act { margin-top: 12px; } .rc__act .btn--outline { height: 40px; }

  .prose table { display: block; }
  .content-ad__desktop { display: none; } .content-ad__mobile { display: inline !important; }
  .toc { columns: 1; }
  .rh { grid-template-columns: 1fr; gap: 16px; } .tile--160 { width: 100%; height: 150px; }
  .rh__logo { justify-items: stretch; } .rh__upd { text-align: left; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .simg--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Sticky CTA sits above the tab bar, full width */
  .sticky-cta { left: 0; right: 0; bottom: 60px; z-index: 39; width: 100%; padding: 8px 14px; border-top: 1px solid var(--line); border-radius: 0; transform: translateY(320%); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .tile, .sticky-cta__i > span { display: none; }
  .sticky-cta__i b { flex: 1; min-width: 0; flex-wrap: wrap; gap: 2px 8px; overflow: hidden; font-size: 13px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .sticky-cta--feat { padding: 0; } .sticky-cta__item { padding: 8px 14px; }

  .offer { grid-template-columns: 1fr; gap: 12px; } .offer .tile { width: 100%; height: 110px; }
  .phead { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; } .phead .tile { width: 64px; height: 64px; }
  .plinks { grid-template-columns: 1fr 1fr; }
  .ah__photo { max-width: 240px; } .ah__stats { grid-template-columns: 1fr !important; }
  .ah__stats div { border-left: 0; border-top: 1px solid var(--line); } .ah__stats div:first-child { border-top: 0; }

  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__top .wrap { flex-direction: column; align-items: flex-start; } .ftr__marks { gap: 16px 20px; } .ftr__marks img { height: 24px; max-width: 120px; }
  .xorn { right: 10px; width: 44%; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); height: 60px; background: #fff; border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text-2); text-decoration: none; }
  .tabbar a.is-on, .tabbar a:hover { color: var(--action); }
}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero__img, .hero__dots button.is-on::after { animation: none; }
  .rc__dot::after { animation: none; opacity: 0; }
  .snow { display: none; }
  .xorn__o { animation: none; }
}
