@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0b0e1a; --bg-2: #0f1322; --panel: #131829; --panel-2: #181e33; --panel-3: #1e253d;
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12);
  --text: #eef1f8; --muted: #8d93ab; --dim: #5c627c;
  --accent: #34d399; --accent-2: #5ee0ad; --accent-ink: #052016; --accent-soft: rgba(52,211,153,.12);
  --link: #93a4ff; --link-2: #b3c0ff; --link-soft: rgba(147,164,255,.13); --link-line: rgba(147,164,255,.35);
  --amber: #f5b94a;
  --gold: #ffcc4d; --danger: #ff5d6c;
  --side-w: 264px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: var(--font); color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  background: radial-gradient(900px 500px at 90% -10%, rgba(120,140,255,.06), transparent 60%), var(--bg); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.15; }
h1, h2, .wordmark-text b, .score.big b { letter-spacing: -.025em; }
h1 { font-weight: 700; } h2 { font-weight: 650; }
code { font-family: var(--mono); font-weight: 600; letter-spacing: .02em; }
.muted { color: var(--dim); }

/* Buttons */
.primary, .ghost { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; border: 0; transition: .15s; }
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:hover { background: var(--accent-2); }
.ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.ghost:hover { background: rgba(255,255,255,.08); }
.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); }
.icon-btn svg { width: 20px; height: 20px; }
.more { color: var(--muted); font-weight: 600; font-size: 14px; }
.more:hover { color: var(--link-2); }

/* Brand */
.wordmark { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: var(--accent-ink); background: linear-gradient(145deg, #2ef0ad, #0fa877); }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 11px; color: var(--muted); }
.wordmark-text b { font-size: 16px; color: var(--text); font-weight: 700; letter-spacing: .02em; }

/* Sidebar */
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: var(--side-w); z-index: 40; display: flex; flex-direction: column;
  background: var(--bg-2); border-right: 1px solid var(--line); padding: 18px 14px; overflow-y: auto; }
.side-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 16px; border-bottom: 1px solid var(--line); }
.side-close { display: none; }
.side-nav { padding-top: 10px; flex: 1; }
.nav-group { padding: 6px 0; }
.nav-group.top { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.nav-group summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 8px 6px; cursor: pointer; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--line); }
.nav-group summary svg { order: 2; width: 16px; height: 16px; transition: transform .2s; }
.nav-group:not([open]) summary svg { transform: rotate(180deg); }
.nav-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 8px; color: #c9cee0; font-weight: 600; font-size: 15px; }
.nav-item svg { width: 21px; height: 21px; color: var(--muted); }
.nav-item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.nav-item.active { background: var(--link-soft); color: var(--link-2); box-shadow: inset 2px 0 0 var(--link); }
.nav-item.active svg { color: var(--link); }
.side-foot { padding: 14px 8px 2px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.scrim { position: fixed; inset: 0; z-index: 35; background: rgba(3,5,12,.6); }
.mobilebar { display: none; }

.shell { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; }
main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 28px 28px 56px; display: grid; gap: 32px; align-content: start; flex: 1; }

/* Brand colors */
.c-violet { --c1: #a993ff; --c2: #6c4df5; --c-soft: rgba(140,110,255,.16); }
.c-blue   { --c1: #6fb1ff; --c2: #2a6fe8; --c-soft: rgba(80,150,255,.16); }
.c-teal   { --c1: #4fe0d0; --c2: #10a596; --c-soft: rgba(60,220,200,.15); }
.c-green  { --c1: #6ee98a; --c2: #20a847; --c-soft: rgba(90,230,130,.15); }
.c-orange { --c1: #ffad5c; --c2: #e8701c; --c-soft: rgba(255,160,80,.16); }
.c-red    { --c1: #ff7a85; --c2: #e0364a; --c-soft: rgba(255,100,115,.16); }
.c-pink   { --c1: #ff8fd0; --c2: #d6409a; --c-soft: rgba(255,130,200,.15); }
.c-gold   { --c1: #ffd666; --c2: #d6a419; --c-soft: rgba(255,210,90,.15); }

/* Logos */
.logo { width: 40px; height: 40px; padding: 0; border-radius: 11px; flex: none; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.logo.xl { width: 88px; height: 88px; border-radius: 22px; font-size: 38px; }
.logo.tile { width: 76px; height: 76px; border-radius: 20px; font-size: 30px; }
.logo.has-img { display: block; background: #0d1120; }
.logo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(147,164,255,.16); min-height: 280px; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center;
  background: radial-gradient(600px 300px at 0% 0%, rgba(52,211,153,.10), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(120,140,255,.12), transparent 60%), linear-gradient(120deg, #10201f, #111a2e 55%, #0f1428); }
.hero-copy { padding: 40px; position: relative; z-index: 1; }
.hero h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--link)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0 0 24px; color: #b5bbd0; max-width: 440px; font-size: 16px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tiles { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; justify-content: center; align-content: center; padding: 28px 28px 46px; }
.hero-tiles .logo { width: 72px; height: 72px; border-radius: 20px; border: 1px solid rgba(255,255,255,.06); }
.hero-tiles .logo:nth-child(3n+2) { transform: translateY(18px); }

/* Sections */
.page-head h1 { margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.03em; }
.page-head p { margin: 0; color: var(--muted); max-width: 640px; }
.page-head a, .note a, .prose a { color: var(--link); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-size: 21px; }
.empty { margin: 0; padding: 32px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 16px; }
.note { color: var(--muted); font-size: 14px; margin: 0; }
.crumbs { display: flex; gap: 8px; color: var(--dim); font-size: 13px; margin-bottom: -18px; }
.crumbs a:hover { color: var(--link-2); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.panel h2 { margin: 0 0 14px; font-size: 17px; }

/* Badges */
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); white-space: nowrap; }
.badge.type { color: #c9cee0; }
.badge.kyc-no { color: var(--accent); background: var(--accent-soft); border-color: rgba(34,227,160,.25); }
.badge.kyc-parcial { color: var(--amber); background: rgba(255,204,77,.1); border-color: rgba(255,204,77,.25); }
.badge.kyc-si { color: #ff9aa4; background: rgba(255,93,108,.08); border-color: rgba(255,93,108,.2); }
.age { display: inline-grid; place-items: center; padding: 0 6px; margin-right: 4px; border-radius: 6px; border: 1px solid var(--danger); color: var(--danger); font-weight: 800; font-size: 11px; }

/* Code box */
.code-box { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.18); background: rgba(34,227,160,.06); max-width: 100%; }
.code-box code { font-size: 15px; font-weight: 700; letter-spacing: .05em; color: #e9ecf6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy { border: 0; height: 30px; padding: 0 12px; border-radius: 7px; background: rgba(255,255,255,.09); color: #e9ecf6; font-weight: 700; font-size: 12px; flex: none; }
.copy:hover { background: var(--link); color: #0b0e1a; }
.copy.done { background: var(--accent); color: var(--accent-ink); }

/* Tables: flex rows with fixed-width cells so columns line up */
.table { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; container: tbl / inline-size; max-width: 100%; }
.t-head { border-radius: 17px 17px 0 0; }
.t-body > li:last-child { border-radius: 0 0 17px 17px; }
.t-body { list-style: none; margin: 0; padding: 0; }
.t-head, .t-body > li { display: flex; align-items: center; gap: 16px; padding: 0 18px; }
.t-head { height: 40px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.t-body > li { min-height: 68px; padding-top: 12px; padding-bottom: 12px; transition: background .15s; }
.t-body > li + li { border-top: 1px solid var(--line); }
.t-body > li:hover { background: rgba(255,255,255,.025); }
.t-n { width: 24px; flex: none; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; }
.t-casino, .casino-cell { flex: 1 1 0; min-width: 190px; }
.t-type { width: 170px; flex: none; }
.t-info { width: 200px; flex: none; }
.t-info b { display: block; font-size: 14px; }
.t-info small { color: var(--dim); font-size: 12px; }
.t-score { width: 104px; flex: none; display: grid; gap: 6px; }
.t-code { width: 196px; flex: none; }
.t-kyc { width: 120px; flex: none; }
.t-go { width: 56px; flex: none; display: flex; justify-content: flex-end; }
.t-head .t-go { visibility: hidden; }
.t-code .code-box { display: flex; width: 100%; }
.t-code .code-box code { flex: 1; }
.rank-table .t-body > li:nth-child(1) .t-n { color: var(--gold); }
.rank-table .t-body > li:nth-child(2) .t-n { color: #d6dbe8; }
.rank-table .t-body > li:nth-child(3) .t-n { color: #e3a670; }
.casino-cell { display: flex; align-items: center; gap: 14px; }
.casino-cell b { display: block; font-size: 15px; font-weight: 700; }
.casino-cell small, .casino-cell b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.casino-cell small { display: block; color: var(--dim); font-size: 12px; }
.casino-cell > span:last-child { min-width: 0; }
.casino-cell:hover b { color: var(--link-2); }
.bar { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0fa877, var(--accent)); }
.score { display: inline-flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.score b { font-size: 18px; font-weight: 800; }
.score small { color: var(--dim); font-size: 12px; }
.score.none { color: var(--dim); font-weight: 700; }
.score.hi b { color: var(--accent); }
.score.mid b { color: var(--gold); }
.score.lo b { color: #ff9a5c; }
.score.big b { font-size: 40px; line-height: 1; }

/* Toolbar */
.toolbar { display: flex; gap: 10px; margin-bottom: -18px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); }
.search:focus-within { border-color: var(--link-line); }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 100%; }
.search input::placeholder { color: var(--dim); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: -18px; }
.chip { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: 13px; }
.chip.active { background: var(--link-soft); color: var(--link-2); border-color: var(--link-line); }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: .15s; }
.guide-card:hover { border-color: var(--link-line); transform: translateY(-2px); }
.guide-card h3 { margin: 0; font-size: 17px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.guide-card .more { margin-top: 8px; color: var(--link); }
.prose { color: #c9cee0; }
.prose h2 { color: var(--text); font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.article { max-width: 720px; font-size: 16px; line-height: 1.7; }
.article h1 { color: var(--text); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 18px; letter-spacing: -.03em; }
.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.criterion { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.criterion h3 { margin: 0 0 6px; font-size: 17px; }
.criterion p { margin: 0; color: var(--muted); font-size: 14px; }

/* Casino page */
.casino-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 26px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(500px 260px at 0% 0%, var(--c-soft), transparent 70%), var(--panel); }
.ch-main { display: flex; gap: 20px; align-items: center; min-width: 0; }
.ch-main h1 { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; }
.ch-main p { margin: 0 0 10px; color: #b5bbd0; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.ch-side { display: grid; gap: 10px; justify-items: stretch; min-width: 240px; }
.ch-side .score { justify-self: start; }
.ch-code { display: grid; gap: 6px; }
.ch-code small { color: var(--dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ch-code .code-box code { font-size: 18px; flex: 1; }
.casino-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.casino-layout .col { display: grid; gap: 20px; min-width: 0; }
.casino-layout .col:empty { display: none; }
.casino-layout.single { grid-template-columns: 1fr; }
.bonus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bonus-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.bonus-list b { display: block; }
.bonus-list small { color: var(--dim); font-size: 12px; }
.bonus-list p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros-cons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.pros-cons li { position: relative; padding-left: 26px; color: #c9cee0; }
.pros-cons li::before { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.pros li::before { content: "+"; color: var(--accent); background: var(--accent-soft); }
.cons li::before { content: "–"; color: var(--danger); background: rgba(255,93,108,.12); }
.sb-row { display: grid; grid-template-columns: 80px 1fr 20px; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 10px; }
.sb-row > span:first-child { color: var(--muted); }
.sb-row b { text-align: right; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.video-thumb { aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; background: linear-gradient(160deg, #182037, #0f1322); font-weight: 600; }
.video-thumb .play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.video-grid iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }

/* Flags & country */
.t-geo { width: 132px; flex: none; }

/* Coins */
.coin { width: 18px; height: 18px; flex: none; display: block; border-radius: 50%; }
.coin-stack { display: inline-flex; align-items: center; gap: 3px; }
.coin-stack .coin { width: 20px; height: 20px; }
.coin-stack small { margin-left: 6px; color: var(--dim); font-size: 12px; font-weight: 700; }
.t-crypto { width: 110px; flex: none; }
.chips-label { align-self: center; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 2px; }
.coin-chip { display: inline-flex; align-items: center; gap: 6px; padding-left: 7px; }
.coin-chip .coin { width: 18px; height: 18px; }
.coin-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coin-list li { display: flex; align-items: center; gap: 10px; }
.coin-list .coin { width: 26px; height: 26px; }
.coin-list b { display: block; font-size: 13px; }
.coin-list span { color: var(--dim); font-size: 12px; line-height: 1.2; }

/* Freshness tags */
.fresh { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.fresh:empty { display: none; }
.casino-cell .fresh { margin-top: 3px; }
.ch-code .fresh { margin-top: 2px; }
.tag { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.tag-new { color: var(--gold); background: rgba(255,204,77,.12); }
.tag-ok { color: var(--accent); background: var(--accent-soft); }
.tag-ok::before { content: "✓"; margin-right: 4px; }
.tag-ok.old { color: var(--muted); background: rgba(255,255,255,.05); }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.switch b { color: var(--text); font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 34px; height: 20px; border-radius: 99px; background: rgba(255,255,255,.12); transition: background .15s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + .track { background: var(--link); }
.switch input:checked + .track::after { transform: translateX(14px); }
.switch input:focus-visible + .track { outline: 2px solid var(--link); outline-offset: 2px; }

/* Steps */
.steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(0,0,0,.2); border: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--link-soft); color: var(--link-2); font-weight: 800; font-size: 13px; }
.steps p { margin: 2px 0 0; color: #c9cee0; font-size: 14px; }
.steps code { color: #e9ecf6; font-weight: 700; }

/* Footer */
.site-footer { width: 100%; max-width: 1080px; margin: 0 auto; padding: 22px 28px 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.site-footer p { margin: 0 0 8px; max-width: 760px; }
.copy-line { margin-top: 14px !important; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 11px 16px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.bottom-nav { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .sidebar { border-right-color: var(--line-2); transform: translateX(-105%); transition: transform .25s ease; }
  .sidebar.open { transform: none; }
  .side-close { display: grid; }
  .shell { margin-left: 0; }
  .mobilebar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 30; padding: 12px 16px; background: rgba(11,14,26,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .casino-hero, .casino-layout { grid-template-columns: 1fr; }
  .ch-side { min-width: 0; }
}
@media (max-width: 640px) {
  main { padding: 18px 16px 100px; gap: 26px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 26px 22px; }
  .hero-tiles { display: none; }
  .t-head, .t-crypto { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .t-body > li { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .t-info { width: 100%; order: 5; }
  .t-geo { width: 100%; order: 6; }
  .t-geo:empty { display: none; }
  .toolbar { flex-wrap: wrap; }
  .switch { width: 100%; }
  .t-body > li .casino-cell .logo { width: 34px; height: 34px; border-radius: 9px; }
  .t-info:empty, .t-code:empty { display: none; }
  .t-score { width: auto; justify-items: end; }
  .t-score .bar { width: 64px; }
  .t-go { width: auto; }
  .rank-table .t-go { display: none; }
  .criteria, .pros-cons, .steps { grid-template-columns: 1fr; }
  .casino-hero { padding: 20px; }
  .ch-main { flex-direction: column; align-items: flex-start; gap: 14px; }
  .logo.xl { width: 68px; height: 68px; border-radius: 18px; font-size: 30px; }
  .bonus-list li { flex-direction: column; align-items: stretch; }
  .site-footer { padding: 20px 16px 96px; }
  .toast { bottom: 88px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11,14,26,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .bottom-nav a { display: grid; justify-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
  .bottom-nav a.active { color: var(--link-2); }
  .bottom-nav svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } html { scroll-behavior: auto; } }

.chips > * { flex: none; }

/* KYC explanation tooltip (hover / keyboard focus) */
.badge[data-tip] { position: relative; cursor: help; gap: 6px; }
.badge[data-tip] i { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-style: normal; font-size: 9px; font-weight: 800; background: rgba(255,255,255,.1); color: inherit; }
.badge[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 20; right: 0; bottom: calc(100% + 8px); width: 260px; padding: 10px 12px; border-radius: 10px;
  background: #1e253d; border: 1px solid var(--line-2); color: #d5d9e8; font-size: 12px; font-weight: 500; line-height: 1.45;
  white-space: normal; text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s; pointer-events: none; }
.badge[data-tip]:hover::after, .badge[data-tip]:focus-visible::after, .badge[data-tip]:focus::after { opacity: 1; visibility: visible; transform: none; }
.chips-row .badge[data-tip]::after { left: 0; right: auto; top: calc(100% + 8px); bottom: auto; }

/* ---------- flags (flag-icons) ---------- */
.flag { display: block; width: 20px; height: 15px; flex: none; border-radius: 3px; object-fit: cover; }
.flag-row { display: inline-flex; align-items: center; gap: 4px; position: relative; cursor: help; }
.flag-row small { margin-left: 3px; color: var(--dim); font-size: 12px; font-weight: 700; }
.flag-row .flag { opacity: .85; }
.flag-row .flag.me { opacity: 1; outline: 2px solid var(--accent); outline-offset: 1px; }
.t-geo { width: 160px; }
.geo-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 6px; border-radius: 99px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.geo-badge .flag { width: 18px; height: 13px; }
.geo-badge.geo-ok { color: var(--accent); background: var(--accent-soft); border-color: rgba(52,211,153,.25); }
.geo-badge.geo-no { color: #ff8c97; background: rgba(255,93,108,.08); border-color: rgba(255,93,108,.25); }
.country-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.country-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #c9cee0; padding: 4px 6px; border-radius: 6px; }
.country-list li.me { background: var(--accent-soft); color: var(--accent); font-weight: 700; grid-column: 1 / -1; }
.country-list.off li { color: var(--dim); }
.country-list.off .flag { opacity: .45; }
.sub-h { margin: 14px 0 8px; font-size: 12px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }

/* tooltips: any [data-tip] (KYC badges, flag rows) */
.flag-row[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 20; right: 0; bottom: calc(100% + 8px); width: 260px; padding: 10px 12px; border-radius: 10px;
  background: #1e253d; border: 1px solid var(--line-2); color: #d5d9e8; font-size: 12px; font-weight: 500; line-height: 1.45; white-space: normal;
  opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.flag-row[data-tip]:hover::after, .flag-row[data-tip]:focus::after { opacity: 1; visibility: visible; }

/* Columns drop by the table's own width (not the screen), least important first,
   so the page never scrolls sideways and the casino name + logo always fit. */
@container tbl (max-width: 1000px) { .t-crypto { display: none; } }
@container tbl (max-width: 900px)  { .t-kyc, .t-type { display: none; } }
@container tbl (max-width: 780px)  { .t-geo { display: none; } .t-info { width: 170px; } }
@container tbl (max-width: 620px) {
  .t-head { display: none; }
  .t-body > li { flex-wrap: wrap; gap: 10px 12px; }
  .t-info { width: 100%; order: 5; }
  .t-info:empty { display: none; }
  .casino-cell { flex: 1 1 0; min-width: 150px; }
  .t-code { order: 6; width: 100%; }
  .t-code .code-box { width: 100%; }
  .t-code .code-box code { max-width: none; }
  .t-geo { order: 7; width: 100%; }
}
main, .shell { min-width: 0; }
.chips, .toolbar { max-width: 100%; }

/* Hidden tooltips must not take part in layout (they used to widen the page on phones). */
.badge[data-tip]::after, .flag-row[data-tip]::after { display: none; max-width: min(260px, calc(100vw - 32px)); }
.badge[data-tip]:hover::after, .badge[data-tip]:focus::after, .badge[data-tip]:focus-visible::after,
.flag-row[data-tip]:hover::after, .flag-row[data-tip]:focus::after { display: block; }

/* generated */
.w-0{width:0%}
.w-1{width:1%}
.w-2{width:2%}
.w-3{width:3%}
.w-4{width:4%}
.w-5{width:5%}
.w-6{width:6%}
.w-7{width:7%}
.w-8{width:8%}
.w-9{width:9%}
.w-10{width:10%}
.w-11{width:11%}
.w-12{width:12%}
.w-13{width:13%}
.w-14{width:14%}
.w-15{width:15%}
.w-16{width:16%}
.w-17{width:17%}
.w-18{width:18%}
.w-19{width:19%}
.w-20{width:20%}
.w-21{width:21%}
.w-22{width:22%}
.w-23{width:23%}
.w-24{width:24%}
.w-25{width:25%}
.w-26{width:26%}
.w-27{width:27%}
.w-28{width:28%}
.w-29{width:29%}
.w-30{width:30%}
.w-31{width:31%}
.w-32{width:32%}
.w-33{width:33%}
.w-34{width:34%}
.w-35{width:35%}
.w-36{width:36%}
.w-37{width:37%}
.w-38{width:38%}
.w-39{width:39%}
.w-40{width:40%}
.w-41{width:41%}
.w-42{width:42%}
.w-43{width:43%}
.w-44{width:44%}
.w-45{width:45%}
.w-46{width:46%}
.w-47{width:47%}
.w-48{width:48%}
.w-49{width:49%}
.w-50{width:50%}
.w-51{width:51%}
.w-52{width:52%}
.w-53{width:53%}
.w-54{width:54%}
.w-55{width:55%}
.w-56{width:56%}
.w-57{width:57%}
.w-58{width:58%}
.w-59{width:59%}
.w-60{width:60%}
.w-61{width:61%}
.w-62{width:62%}
.w-63{width:63%}
.w-64{width:64%}
.w-65{width:65%}
.w-66{width:66%}
.w-67{width:67%}
.w-68{width:68%}
.w-69{width:69%}
.w-70{width:70%}
.w-71{width:71%}
.w-72{width:72%}
.w-73{width:73%}
.w-74{width:74%}
.w-75{width:75%}
.w-76{width:76%}
.w-77{width:77%}
.w-78{width:78%}
.w-79{width:79%}
.w-80{width:80%}
.w-81{width:81%}
.w-82{width:82%}
.w-83{width:83%}
.w-84{width:84%}
.w-85{width:85%}
.w-86{width:86%}
.w-87{width:87%}
.w-88{width:88%}
.w-89{width:89%}
.w-90{width:90%}
.w-91{width:91%}
.w-92{width:92%}
.w-93{width:93%}
.w-94{width:94%}
.w-95{width:95%}
.w-96{width:96%}
.w-97{width:97%}
.w-98{width:98%}
.w-99{width:99%}
.w-100{width:100%}
