/* Selected TopSpins system: A1 hero + B6 information frame + C4 ranked rows.
   Dark is the default. Light/dark assets switch in CSS without path-dependent JS. */
:root {
  --bg:#101115; --surface:#181a20; --surface-2:#22252d;
  --paper:#101115; --paper-2:#181a20; --text:#f4f4f6; --muted:#abb0bc;
  --muted-dark:#abb0bc; --line:#343740; --accent:#ff5365; --action:#d91832;
  --tint:#35212a; --soft:#15171c; --muted-fill:#22252c; --inverse:#101115;
  --lime:var(--accent); --mint:var(--tint); --violet:var(--accent); --orange:var(--accent);
  --yellow:#e8c17c; --notice-bg:#30291e; --notice-fg:#e3cda3; --shadow:#00000045;
  --sans:"Segoe UI",Arial,ui-sans-serif,system-ui,sans-serif; color-scheme:dark;
}
:root[data-theme="light"] {
  --bg:#f4f4f2; --surface:#fff; --surface-2:#e7e8eb;
  --paper:#f4f4f2; --paper-2:#fff; --text:#191b21; --muted:#606673;
  --muted-dark:#606673; --line:#d4d7dc; --accent:#c71831; --action:#c91830;
  --tint:#fbe5e8; --soft:#ebecea; --muted-fill:#eeeef1; --inverse:#fff;
  --notice-bg:#fff6e6; --notice-fg:#715320; --shadow:#13151b14; color-scheme:light;
}
body { background:var(--paper); color:var(--text); font-family:var(--sans); }
h1,h2,h3 { letter-spacing:-.045em; line-height:1.08; }
h1 { font-weight:780; } h2,h3 { font-weight:700; }
p { line-height:1.7; }
::selection { background:var(--action); color:white; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
.container,.nav { width:min(calc(100% - 56px),1220px); }
.site-header { background:var(--paper); color:var(--text); border-bottom:1px solid var(--line); backdrop-filter:none; }
.nav { min-height:84px; gap:22px; }
.brand { gap:10px; font-size:21px; line-height:1; }
.brand-dot { color:var(--accent); }
.brand-image { display:inline-grid; width:44px; height:44px; flex-shrink:0; }
.brand-image img,.brand .brand-image img { grid-area:1/1; width:100%; height:100%; object-fit:contain; border-radius:0; box-shadow:none; }
.brand-image .logo-light { display:none; }
[data-theme="light"] .brand-image .logo-light { display:block; }
[data-theme="light"] .brand-image .logo-dark { display:none; }
.nav-links { gap:2px; }
.nav-links a { color:var(--muted); font-size:13px; padding:11px 10px; border-radius:5px; font-weight:600; }
.nav-links a:hover,.nav-links a[aria-current="page"] { color:var(--text); background:var(--surface-2); }
.nav-tools { display:flex; gap:15px; align-items:center; }
.theme-toggle { display:flex; align-items:center; gap:9px; min-height:43px; padding:9px 13px; border:1px solid var(--line); border-radius:24px; background:var(--surface); color:var(--text); cursor:pointer; font:600 12px var(--sans); }
.theme-toggle:hover { border-color:var(--accent); }
.theme-toggle [data-theme-symbol] { font-size:19px; line-height:1; }
.nav-age { color:var(--muted); font:12px var(--mono); }
.menu-toggle { color:var(--text); }
.preview-bar { background:var(--surface); color:var(--muted); border-bottom:1px solid var(--line); font:10px var(--mono); letter-spacing:.045em; }
.preview-bar .container { padding:9px 0; }
.eyebrow,.page-hero .eyebrow,.kicker,.section-dark .kicker { color:var(--accent); }
.eyebrow { font:600 11px var(--mono); letter-spacing:.08em; }
.eyebrow::before { background:var(--action); }
.kicker { font:600 11px var(--mono); }
.hero-a1 { background:var(--paper-2); color:var(--text); padding:62px 0 65px; border-bottom:1px solid var(--line); }
.hero-a1::before,.hero-a1::after { display:none; }
.hero-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(180px,.55fr); gap:45px; align-items:center; position:relative; z-index:1; }
.hero-copy { min-width:0; }
.hero h1 { font-size:clamp(40px,5.65vw,76px); line-height:1.015; margin-top:23px; letter-spacing:-.061em; }
.accent-text { color:var(--accent); }
.hero-lede { color:var(--muted); max-width:635px; font-size:17px; line-height:1.7; margin:25px 0 27px; }
.hero .micro { font:11px/1.6 var(--mono); max-width:640px; margin-top:20px; }
.hero-brand-art { position:relative; z-index:1; justify-self:center; }
.brand-image-full { width:245px; height:245px; }
.hero-geometry { position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.hero-geometry span { position:absolute; display:block; }
.hero-plane { width:33%; height:135%; background:var(--surface-2); top:-18%; right:-8%; transform:skewX(-17deg); opacity:.78; }
.hero-line-one,.hero-line-two { width:17px; height:450px; background:var(--action); right:3%; bottom:-140px; transform:rotate(21deg); }
.hero-line-two { width:2px; right:6%; }
.button { border-radius:5px; min-height:46px; padding:10px 18px; font-size:13px; font-weight:650; letter-spacing:0; transition:background .15s,border-color .15s; }
.button:hover { transform:none; box-shadow:none; }
.button-primary,.button-lime,.button-dark { background:var(--action); color:#fff; border-color:var(--action); }
.button-primary:hover,.button-lime:hover,.button-dark:hover { background:#b6152c; border-color:#b6152c; }
.button-secondary,.button-outline-dark,.button-outline-light { border-color:var(--line); color:var(--text); background:transparent; }
.button-secondary:hover,.button-outline-dark:hover { background:var(--muted-fill); }
.micro { color:var(--muted); font-size:11px; }
.section { padding:66px 0; }
.section-compact { padding:46px 0; }
.section-soft { background:var(--soft); }
.section-dark { background:var(--paper); color:var(--text); }
.section-heading { gap:35px; margin-bottom:30px; }
.section-heading h2 { font-size:clamp(28px,3.5vw,44px); }
.section-heading p,.section-dark .section-heading p { color:var(--muted); font-size:14px; }
.section-end { margin-top:26px; justify-content:space-between; }
.legal-teaser.info-b6 { margin:0 7px 7px 0; background:var(--paper-2); color:var(--text); border:1px solid var(--line); border-radius:7px; box-shadow:7px 7px 0 var(--action); padding:32px; grid-template-columns:.28fr 1fr; }
.info-b6 h2 { font-size:25px; max-width:800px; }
.info-b6 p { margin:15px 0 18px; font-size:14px; }
.info-b6 .label { line-height:1.5; font-size:10px; }
.text-link { font-size:13px; color:var(--text); font-weight:600; }
.text-link:hover { color:var(--accent); }
.casino-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.casino-card { display:grid; grid-template-columns:150px minmax(0,1fr) 175px; gap:26px; min-height:188px; padding:26px 30px 26px 79px; background:var(--paper-2); border:1px solid var(--line); border-radius:9px; position:relative; overflow:hidden; box-shadow:none; }
.casino-card:hover { border-color:var(--accent); transform:none; }
.rank-rail { position:absolute; left:0; top:0; bottom:0; width:43px; display:flex; align-items:center; justify-content:center; color:#fff; background:var(--action); font:600 15px var(--mono); }
.casino-logo-link { display:block; position:relative; z-index:2; align-self:center; }
.casino-logo { width:160px; height:90px; object-fit:contain; border-radius:6px; display:block; background:#16171d; }
.casino-info { min-width:0; }
.casino-rank { font:10px var(--mono); color:var(--muted); letter-spacing:.04em; }
.casino-name { margin-top:5px; font-size:27px; letter-spacing:-.04em; }
.casino-focus { font-size:14px; margin-top:9px; line-height:1.6; color:var(--muted); max-width:600px; }
.casino-badge { margin-top:10px; background:var(--tint); color:var(--accent); border-radius:4px; padding:4px 7px; font:10px/1.45 var(--mono); }
.card-link::after { border-radius:9px; }
.casino-card .card-actions { grid-column:auto; display:flex; flex-direction:column; align-items:stretch; gap:13px; border:0; margin:0; padding:0; z-index:2; position:relative; }
.card-actions .text-link { text-align:center; }
.card-actions .button { justify-content:center; min-height:44px; font-size:12px; padding:10px 13px; }
.page-chip { width:39px; height:39px; border-radius:5px; background:var(--paper-2); color:var(--muted); border-color:var(--line); }
.page-chip.current,.page-chip:hover { background:var(--text); color:var(--inverse); border-color:var(--text); }
.pagination-bottom { margin-top:25px; }
.catalog-toolbar p { font-size:12px; }
.card,.link-card,.step,.score-panel,.verdict-aside { background:var(--paper-2); border-color:var(--line); color:var(--text); box-shadow:none; }
.link-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.link-card { border-radius:6px; font-size:14px; padding:20px; }
.link-card span { font-size:12px; margin-top:8px; line-height:1.5; color:var(--muted); }
.section-dark .link-card { color:var(--text); }
.callout { background:var(--paper-2); color:var(--text); border:1px solid var(--line); border-radius:9px; }
.callout p { color:var(--muted); font-size:14px; }
.callout .button { flex-shrink:0; }
.callout h2 { font-size:30px; }
.notice,.verify { background:var(--notice-bg); color:var(--notice-fg); border-color:var(--line); }
.notice strong { color:inherit; }
.step h3 { font-size:20px; } .step p { font-size:14px; }
.page-hero { background:var(--paper-2); padding:48px 0; border-bottom:1px solid var(--line); }
.page-hero h1 { max-width:980px; font-size:clamp(34px,5vw,63px); margin-top:17px; }
.page-hero p { color:var(--muted); }
.page-lede { max-width:850px !important; font-size:17px; line-height:1.75; margin:20px 0 24px; }
.anchor-nav a { background:var(--paper); border-color:var(--line); color:var(--muted); border-radius:5px; font-size:12px; padding:9px 12px; }
.breadcrumbs { padding-top:22px; padding-bottom:22px; font-size:11px; background:var(--paper); }
.byline { color:var(--muted)!important; font:11px/1.7 var(--mono); margin-top:23px!important; }
.review-identity { display:flex; gap:30px; align-items:center; }
.review-identity>.casino-logo { width:180px; height:101px; flex-shrink:0; }
.review-identity h1 { font-size:clamp(31px,4vw,52px); }
.review-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:56px; padding-top:44px; padding-bottom:40px; align-items:start; }
.review-main { min-width:0; }
.review-section { padding:34px 0; border-bottom:1px solid var(--line); }
.review-section:first-child { padding-top:0; }
.review-section:last-child { border-bottom:0; }
.review-section h2 { font-size:clamp(24px,2.6vw,33px); margin:0 0 22px; line-height:1.2; }
.review-section p,.review-section li { color:var(--muted); font-size:16px; line-height:1.85; }
.review-section p+p { margin-top:18px; }
.review-section ul { padding-left:23px; margin:20px 0; }
.review-section li+li { margin-top:9px; }
.table-wrap { border-color:var(--line); border-radius:7px; }
.data-table { min-width:0; width:100%; background:var(--paper-2); }
.data-table th,.data-table td { border-color:var(--line); padding:16px 18px; white-space:normal; font-size:13px; line-height:1.6; }
.data-table thead th { background:var(--muted-fill); color:var(--muted); font:600 11px var(--mono); }
.data-table tbody th { background:var(--paper-2); color:var(--text); font:600 13px/1.6 var(--sans); letter-spacing:0; text-transform:none; width:33%; }
.data-table td { color:var(--muted); }
.review-aside { display:grid; gap:24px; position:sticky; top:115px; }
.aside-box { background:var(--paper-2); border:1px solid var(--line); border-radius:7px; padding:23px; }
.aside-box h2 { font-size:25px; margin:13px 0 19px; }
.aside-box p { color:var(--muted); font-size:13px; margin-bottom:16px; }
.aside-box>a:not(.button),.aside-box nav>a { display:block; margin:12px 0; color:var(--muted); font-size:13px; line-height:1.6; }
.aside-box a:hover { color:var(--accent); }
.aside-box .telegram-button { margin-top:16px; width:100%; font-size:12px; }
.bonus-panel { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:23px; align-items:start; background:var(--paper-2); border:1px solid var(--line); border-radius:8px; padding:22px; }
.bonus-image-link { display:block; position:relative; background:#171923; border-radius:6px; overflow:hidden; }
.bonus-image-link img { width:100%; height:auto; display:block; }
.image-cta-label { display:block; padding:11px 15px; background:var(--action); color:white; font:600 12px var(--sans); text-align:center; }
.bonus-panel h3 { font-size:20px; line-height:1.35; margin:13px 0; }
.bonus-panel p { font-size:13px; line-height:1.75; }
.bonus-panel .button { margin:17px 0 10px; font-size:12px; }
.bonus-panel .micro { font-size:11px; }
.screenshot-figure { margin:0; }
.screenshot-figure>a { display:block; }
.screenshot-figure img { width:100%; height:auto; border:1px solid var(--line); border-radius:8px; }
figcaption { margin-top:14px; color:var(--muted); font:12px/1.7 var(--sans); }
.faq { border-color:var(--line); }
details { border-color:var(--line); padding:20px 0; }
summary { font-size:16px; line-height:1.5; font-weight:650; }
details p { padding-right:0; }
.telegram-button { background:var(--surface-2); color:var(--text); border-color:var(--line); gap:11px; }
.telegram-button:hover { border-color:#1685b8; background:var(--muted-fill); }
.telegram-button img { width:23px; height:23px; flex-shrink:0; }
.footer-telegram { display:inline-flex; gap:9px; align-items:center; font-size:13px; margin-top:19px; }
.footer-telegram img { width:23px; height:23px; }
.channel-callout { border:1px solid var(--line); background:var(--paper-2); border-radius:9px; display:grid; grid-template-columns:75px minmax(0,1fr) auto; gap:25px; padding:35px; align-items:center; }
.channel-callout h2 { font-size:36px; }
.channel-callout p { max-width:620px; font-size:14px; color:var(--muted); margin:18px 0; }
.channel-callout .telegram-button { flex-shrink:0; }
.telegram-hero { position:relative; overflow:hidden; }
.telegram-hero .container { position:relative; z-index:1; }
.telegram-hero h1,.telegram-hero .page-lede { max-width:890px; }
.telegram-hero-mark { position:absolute; right:-40px; top:20px; opacity:.1; transform:rotate(-12deg); }
.telegram-hero-mark img { width:300px; height:300px; }
.channel-inline { margin:26px 0 0; padding:20px; border-left:3px solid #1685b8; background:var(--paper-2); }
.channel-sticky nav { display:grid; gap:2px; }
.channel-sticky nav>a { margin:4px 0; font-size:12px; }
.prose h2 { color:var(--text); font-size:29px; }
.prose code { background:var(--muted-fill); color:var(--text); overflow-wrap:anywhere; }
.prose .contents-list a { background:var(--paper-2); border-color:var(--line); color:var(--text); }
.prose a { color:inherit; }
.contents-list a[hidden] { display:none; }
.calculator { background:var(--paper-2); border-color:var(--line); }
input,select { background:var(--paper); border:1px solid var(--line); color:var(--text); min-height:46px; }
.calculator output { background:var(--tint); color:var(--text); }
.site-footer { background:var(--soft); color:var(--text); border-top:1px solid var(--line); }
.footer-grid { grid-template-columns:1.2fr .7fr .9fr; }
.footer-copy,.footer-links,.footer-bottom { color:var(--muted); font-size:13px; }
.footer-bottom { border-color:var(--line); font-size:11px; align-items:center; }
.age { border-color:var(--line); color:var(--text); }
.not-found .eyebrow { color:var(--accent); }
[id] { scroll-margin-top:110px; }
@media (max-width:1080px) {
  .nav { flex-wrap:wrap; justify-content:space-between; gap:12px; padding-top:13px; padding-bottom:13px; }
  .nav-links { order:3; flex:1 1 100%; justify-content:space-between; }
  .nav-tools { margin-left:auto; }
  .hero-layout { grid-template-columns:1.6fr .4fr; gap:20px; }
  .brand-image-full { width:180px; height:180px; }
  .hero h1 { font-size:60px; }
  .casino-card { grid-template-columns:135px minmax(0,1fr) 150px; gap:23px; padding-right:24px; padding-left:68px; }
  .casino-logo { width:135px; height:76px; }
  .review-layout { grid-template-columns:minmax(0,1fr) 240px; gap:30px; }
  .aside-box { padding:20px; }
  .review-aside { top:145px; }
  .bonus-panel { grid-template-columns:1fr; }
  .bonus-image-link { max-width:500px; }
  .link-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .channel-callout { grid-template-columns:60px minmax(0,1fr); }
  .channel-callout>.telegram-button { grid-column:2; justify-self:start; }
}
@media (max-width:760px) {
  .container,.nav { width:calc(100% - 32px); }
  .hero-a1 { padding:45px 0; }
  .hero-layout { grid-template-columns:1fr; }
  .hero h1 { font-size:clamp(40px,8vw,59px); max-width:680px; }
  .hero-brand-art { display:none; }
  .hero-plane { width:35%; opacity:.33; }
  .hero-line-one { width:7px; right:-2%; height:240px; opacity:.4; }
  .hero-line-two { display:none; }
  .hero-lede { font-size:16px; max-width:580px; }
  .section { padding:45px 0; }
  .section-compact { padding:30px 0; }
  .section-heading { display:block; }
  .section-heading p { margin-top:15px; }
  .section-heading h2 { font-size:34px; }
  .legal-teaser.info-b6 { grid-template-columns:1fr; gap:14px; padding:24px; box-shadow:5px 5px 0 var(--action); }
  .info-b6 h2 { font-size:23px; }
  .casino-card { grid-template-columns:110px minmax(0,1fr); padding:20px 20px 20px 58px; gap:16px; }
  .rank-rail { width:32px; font-size:12px; }
  .casino-logo { width:110px; height:62px; }
  .casino-name { font-size:24px; }
  .casino-focus { font-size:13px; }
  .casino-card .card-actions { grid-column:1/-1; flex-direction:row; align-items:center; justify-content:space-between; padding-top:16px; border-top:1px solid var(--line); }
  .casino-info { grid-column:2; }
  .catalog-toolbar { gap:18px; }
  .link-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .review-layout { display:block; padding-top:30px; }
  .review-aside { position:static; display:grid; grid-template-columns:1fr 1fr; margin-top:30px; }
  .review-identity { align-items:flex-start; gap:20px; }
  .review-identity>.casino-logo { width:120px; height:68px; }
  .review-identity h1 { font-size:32px; margin-top:10px; }
  .review-section h2 { font-size:28px; }
  .review-section p,.review-section li { font-size:15px; }
  .data-table { display:table; }
  .data-table th,.data-table td { padding:14px 12px; font-size:12px; }
  .channel-sticky { grid-column:1/-1; }
  .channel-callout { grid-template-columns:48px minmax(0,1fr); padding:24px; gap:20px; }
  .channel-callout h2 { font-size:30px; }
  .channel-symbol img { width:48px; height:48px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid>div:first-child { grid-column:1/-1; }
  .footer-bottom { display:block; }
  .callout { padding:24px; display:block; }
  .callout h2 { font-size:26px; }
  .callout .button { margin-top:20px; }
}
@media (max-width:680px) {
  .nav { min-height:75px; padding:12px 0; flex-wrap:wrap; }
  .brand { font-size:18px; gap:7px; }
  .brand-image { width:36px; height:36px; }
  .nav-tools { order:1; gap:10px; margin-left:auto; }
  .nav-age { display:none; }
  .theme-toggle { font-size:11px; padding:9px 10px; }
  .menu-toggle { order:2; display:block; padding:3px 0 3px 7px; }
  .nav-links { order:3; width:100%; }
  .nav-links.enhanced { top:75px; left:16px; right:16px; width:auto; border:1px solid var(--line); background:var(--surface); box-shadow:0 12px 24px var(--shadow); }
  .nav-links a { font-size:14px; }
  .preview-bar { font-size:9px; line-height:1.6; }
  .page-hero { padding:34px 0; }
  .page-hero h1 { font-size:36px; overflow-wrap:normal; }
  .review-identity { display:block; }
  .review-identity>.casino-logo { margin-bottom:22px; width:154px; height:87px; }
  .review-identity h1 { font-size:35px; }
  .page-lede { font-size:15px; }
  .review-aside { grid-template-columns:1fr; }
  .prose h2 { font-size:26px; }
  .review-section { padding:30px 0; }
  .review-section p { line-height:1.8; }
  .table-wrap { overflow:auto; }
  .data-table td,.data-table th { overflow-wrap:anywhere; }
  .section-end { gap:20px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom .age { display:inline-grid; }
}
@media (max-width:400px) {
  .container,.nav { width:calc(100% - 24px); }
  .brand { font-size:16px; }
  .brand-image { width:32px; height:32px; }
  .nav { gap:6px; }
  .theme-toggle [data-theme-label] { display:none; }
  .theme-toggle { width:38px; height:40px; justify-content:center; padding:0; }
  .hero h1 { font-size:39px; }
  .button { padding:10px 13px; font-size:12px; }
  .casino-card { grid-template-columns:90px minmax(0,1fr); padding:18px 13px 18px 44px; gap:12px; }
  .casino-logo { width:90px; height:51px; }
  .rank-rail { width:25px; }
  .casino-name { font-size:23px; }
  .casino-rank { font-size:8px; }
  .casino-focus { font-size:12px; }
  .card-actions .button { font-size:11px; padding:10px 11px; }
  .text-link { font-size:12px; }
  .link-grid { grid-template-columns:1fr; }
  .channel-callout { grid-template-columns:1fr; }
  .channel-callout>.telegram-button { grid-column:1; }
  .info-b6 h2 { font-size:21px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
