:root{
  --ink:#01010C; --ink-2:#07050F; --surface:#140D22; --surface-2:#1E1433;
  --line:rgba(237,241,251,.09);
  --cyan:#57F7AC; --cyan-2:#9CFFD1; --gold:#FF4FA0; --green:#35E8A0;
  --paper:#EDF1FB; --dim:#93A0C4; --btn-text:#00320E;
  --font-d:'Science Gothic',sans-serif; --font-b:'Montserrat',sans-serif; --font-m:'JetBrains Mono',monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
  background:var(--ink); color:var(--paper); font-family:var(--font-b);
  line-height:1.55; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:var(--font-d);font-weight:800;letter-spacing:-.01em;line-height:1.15}
h1{font-size:clamp(32px,5vw,52px)}
h2{font-size:clamp(24px,3.4vw,34px);margin-bottom:14px}
h3{font-size:19px;margin-bottom:8px}
p{color:var(--dim)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.eyebrow{
  display:inline-flex;align-items:center;gap:6px;
  border-radius:999px;border:1px solid rgba(87,247,172,.3);background:rgba(87,247,172,.06);
  font-family:var(--font-m);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--cyan);padding:6px 14px;
}
.badge18{
  display:inline-flex;align-items:center;
  border-radius:999px;border:1px solid rgba(255,79,160,.4);background:rgba(255,79,160,.06);
  font-family:var(--font-m);font-size:12px;font-weight:600;letter-spacing:.08em;
  color:var(--gold);padding:5px 11px;
}
.kicker{font-family:var(--font-m);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}

.btn-primary{
  display:inline-block;border-radius:12px;padding:16px 30px;
  font-family:var(--font-b);font-weight:800;font-size:16px;color:var(--btn-text);
  background:linear-gradient(90deg,var(--cyan),var(--cyan-2));
  box-shadow:0 0 0 1px rgba(87,247,172,.25),0 8px 24px -8px rgba(87,247,172,.45);
  transition:transform .18s ease, box-shadow .18s ease; border:none; cursor:pointer;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 0 0 1px rgba(87,247,172,.35),0 12px 32px -6px rgba(87,247,172,.6)}
.btn-ghost{
  display:inline-block;border-radius:12px;padding:15px 28px;font-weight:700;font-size:16px;
  border:1px solid var(--line);color:var(--paper);
}

.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px}

header{position:sticky;top:0;z-index:20;background:rgba(1,1,12,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header .row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:16px}
.logo{font-family:var(--font-d);font-weight:800;font-size:22px;color:var(--paper);text-decoration:none;display:inline-block}
nav{display:flex;gap:22px;font-size:14px;font-weight:600}
nav a{color:var(--dim)}
nav a:hover{color:var(--paper)}
.head-actions{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:600}
.lang-switch{display:flex;gap:6px;font-family:var(--font-m);font-size:12px}
.lang-switch a{padding:4px 8px;border-radius:6px;border:1px solid var(--line);color:var(--dim)}
.lang-switch a.active{color:var(--ink);background:var(--cyan);border-color:var(--cyan)}
.login-link{color:var(--paper)}
.btn-primary.small{padding:10px 20px;font-size:14px}
@media(max-width:860px){nav{display:none}}

section{padding:64px 0}
section.alt{background:var(--surface)}

.hero{padding-top:56px}
.hero-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;flex-wrap:wrap;gap:10px}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero h1{margin:16px 0 16px}
.hero p.lead{font-size:17px;max-width:46ch;margin-bottom:28px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:34px}
.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.stat-strip div{background:var(--surface);padding:16px 14px}
.stat-strip b{display:block;font-family:var(--font-d);font-size:22px;font-weight:800;color:var(--paper)}
.stat-strip span{font-size:12px;color:var(--dim)}
.hero-visual{background:var(--surface);border:1px solid var(--line);border-radius:20px;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;font-family:var(--font-m);color:var(--dim);font-size:13px;text-align:center;padding:20px}
@media(max-width:860px){.hero-grid{grid-template-columns:1fr}.hero-visual{aspect-ratio:16/9;order:-1}}

.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cat-card{background:linear-gradient(160deg,rgba(237,241,251,.068),rgba(237,241,251,.018)),var(--surface-2);border:1px solid rgba(237,241,251,.24);border-radius:14px;padding:20px;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;box-shadow:0 1px 0 rgba(255,255,255,.07) inset}
.cat-card:hover{transform:translateY(-3px);border-color:rgba(87,247,172,.5);box-shadow:0 8px 24px -10px rgba(87,247,172,.3)}
.cat-card:hover .ico img{filter:brightness(1.58) saturate(1.32) drop-shadow(0 0 8px rgba(255,255,255,.26))}
.ico{margin-bottom:10px}
.ico{width:clamp(56px,6vw,72px);height:clamp(56px,6vw,72px);display:flex;align-items:center;justify-content:center;border-radius:14px;background:radial-gradient(circle at 50% 45%,rgba(237,241,251,.085),rgba(237,241,251,.015) 70%);box-shadow:inset 0 0 0 1px rgba(237,241,251,.08)}
.ico img{width:100%;height:100%;object-fit:contain;display:block;border-radius:8px;filter:brightness(1.35) saturate(1.22) drop-shadow(0 0 5px rgba(255,255,255,.19));transition:filter .15s ease}
.chip-icon{width:20px;height:20px;object-fit:contain;border-radius:4px;flex-shrink:0}
.cat-card b{display:block;font-size:15px;margin-bottom:2px}
.cat-card span{font-size:12px;color:#A2ADCC}
@media(max-width:860px){.cat-grid{grid-template-columns:repeat(2,1fr)}}

.bonus-banner{
  border-radius:20px;border:1px solid var(--line);background:linear-gradient(135deg,var(--surface),var(--surface-2));
  padding:34px;display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:center;
}
.bonus-banner .figs{display:flex;gap:22px;flex-wrap:wrap}
.bonus-banner .figs div b{display:block;font-family:var(--font-d);font-size:26px;font-weight:800;color:var(--cyan)}
.bonus-banner .figs div span{font-size:12px;color:var(--dim)}
.placeholder{color:var(--gold);font-family:var(--font-m);font-size:.85em}
@media(max-width:860px){.bonus-banner{grid-template-columns:1fr}}

.pay-row{display:flex;gap:14px;flex-wrap:wrap}
.pay-chip{
  display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);
  border-radius:12px;padding:12px 18px;font-weight:700;font-size:14px;
}
.promo-scroll{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;margin:0 -24px;padding-left:24px;padding-right:24px}
.promo-scroll::-webkit-scrollbar{height:6px}
.promo-scroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
.promo-card{scroll-snap-align:start;flex:0 0 280px;background:linear-gradient(135deg,var(--surface),var(--surface-2));border:1px solid var(--line);border-radius:16px;padding:22px}
.promo-card .eyebrow{margin-bottom:12px}
.promo-card h3{margin-bottom:6px}
.promo-card p{font-size:13.5px;margin-bottom:12px}

.specs-table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.specs-table tr:not(:last-child) td{border-bottom:1px solid var(--line)}
.specs-table td{padding:14px 20px;font-size:14px}
.specs-table td:first-child{color:var(--dim);font-family:var(--font-m);font-size:12px;text-transform:uppercase;letter-spacing:.05em;width:38%}

.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{cursor:pointer;padding:18px 0;font-weight:700;font-size:15.5px;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-family:var(--font-d);font-size:20px;color:var(--cyan)}
.faq-item[open] summary::after{content:'–'}
.faq-item p{padding-bottom:18px;font-size:14.5px}

.seo-text{font-size:14.5px;color:var(--dim)}
.seo-text h3{color:var(--paper);margin-top:22px}
.seo-text p{margin-bottom:14px}

footer{background:var(--ink-2);border-top:1px solid var(--line);padding:48px 0 28px}
.foot-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:24px;margin-bottom:32px}
.foot-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:32px}
.foot-cols b{display:block;font-family:var(--font-m);font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--dim);margin-bottom:12px}
.foot-cols a{display:block;font-size:14px;color:var(--paper);opacity:.8;margin-bottom:9px}
.foot-cols a:hover{opacity:1}
.rg-block{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;font-size:13px;color:var(--dim);margin-bottom:24px}
.rg-block b{color:var(--paper)}
.breadcrumb{font-size:12px;color:var(--dim);margin-bottom:18px;font-family:var(--font-m)}
.foot-bottom{border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--dim);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
@media(max-width:860px){.foot-cols{grid-template-columns:repeat(2,1fr)}}


.dtable{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:14px;margin:14px 0}
.dtable th{background:var(--surface-2);font-family:var(--font-m);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--dim);text-align:left;padding:12px 16px;font-weight:600}
.dtable td{padding:12px 16px;border-top:1px solid var(--line);vertical-align:top}
.dtable td:first-child{color:var(--paper);font-weight:600}
.tscroll{overflow-x:auto;margin:0 -24px;padding:0 24px}
.proscons{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
.proscons ul{list-style:none;font-size:14px}
.proscons li{padding:9px 0 9px 26px;position:relative;border-bottom:1px solid var(--line);color:var(--dim)}
.proscons li:last-child{border-bottom:none}
.pros li::before{content:'+';position:absolute;left:0;color:var(--cyan);font-weight:800;font-family:var(--font-d)}
.cons li::before{content:'!';position:absolute;left:0;color:var(--gold);font-weight:800;font-family:var(--font-d)}
.proscons h3{font-size:15px;margin-bottom:6px}
@media(max-width:860px){.proscons{grid-template-columns:1fr}}
.steps{counter-reset:s;list-style:none;font-size:14.5px}
.steps li{counter-increment:s;position:relative;padding:10px 0 10px 40px;color:var(--dim)}
.steps li::before{content:counter(s);position:absolute;left:0;top:8px;width:26px;height:26px;border-radius:50%;background:rgba(87,247,172,.1);border:1px solid rgba(87,247,172,.3);color:var(--cyan);font-family:var(--font-m);font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center}
.blist{list-style:none;font-size:14.5px;color:var(--dim)}
.blist li{padding:7px 0 7px 20px;position:relative}
.blist li::before{content:'—';position:absolute;left:0;color:var(--green)}
.note{font-size:12.5px;color:var(--dim);font-style:italic;margin-top:8px}
.tier-tag{font-family:var(--font-m);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--green)}


.app-shot{display:block;margin:18px auto 0;max-width:420px;width:100%;height:auto;border-radius:16px}
.sport-hero{display:block;margin:18px auto 0;max-width:460px;width:100%;height:auto;border-radius:16px;border:1px solid var(--line)}
.bonus-hero{display:block;margin:18px 0 0;width:100%;height:auto;border-radius:18px;border:1px solid var(--line)}
.inline-shot{display:block;margin:16px 0 0;max-width:600px;width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}
.sport-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.sport-card{position:relative;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--surface);transition:transform .15s ease,border-color .15s ease}
.sport-card:hover{transform:translateY(-3px);border-color:rgba(87,247,172,.4)}
.sport-card img{width:100%;height:auto;display:block}
.sport-card b{display:block;padding:9px 12px;font-size:13px;font-weight:700}
@media(max-width:1000px){.sport-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.sport-grid{grid-template-columns:repeat(2,1fr)}}
.slot-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:16px 0}
.slot-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .15s ease,border-color .15s ease}
.slot-card:hover{transform:translateY(-3px);border-color:rgba(87,247,172,.35)}
.slot-card img{width:100%;height:auto;display:block}
.slot-card b{display:block;padding:10px 12px;font-size:12.5px;font-weight:600;line-height:1.3}
@media(max-width:1000px){.slot-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.slot-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== utilities — added with /app/ (2026-10). Use them when paying off Main's inline-style debt:
   H3 offsets -> .mt-28, <b> in lists -> .t-paper, wrapper widths -> .w-760/.w-900 ===== */
.mt-10{margin-top:10px}
.mt-20{margin-top:20px}
.mt-28{margin-top:28px}
.w-760>*{max-width:712px}
.w-900>*{max-width:852px}
.w-900>.tscroll{max-width:900px}
.w-760>.tscroll{max-width:760px}
/* 2026-10-09: .w-760/.w-900 limit the content width but keep the section on the common left edge of the 1160px grid
   (before, the whole .wrap was narrowed and centred, so the left edge jumped from section to section) */
.t-paper{color:var(--paper)}
.cta-inline{margin:22px 0 0}
.breadcrumb a{color:var(--dim)}
.hero-visual.flush{padding:0}
.hero-img{width:100%;height:100%;object-fit:cover;border-radius:20px}
.fig{margin:0}
.shot-cap{font-size:12.5px;color:var(--dim);margin-top:8px}
.dtable caption{caption-side:top;text-align:left;font-family:var(--font-m);font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--dim);padding:0 16px 8px}

/* ===== app page ===== */
.pc-title{font-family:var(--font-d);font-weight:800;font-size:17px;margin:0 0 10px}
.pros .pc-title{color:var(--cyan)}
.cons .pc-title{color:var(--gold)}
/* app page: QR download dialog (desktop only; opened by /assets/ultrapari.js) */
.qr-btn{display:inline-flex;align-items:center;gap:10px;background:transparent;cursor:pointer;font-family:var(--font-b)}
.qr-btn svg{width:18px;height:18px;fill:currentColor;flex-shrink:0}
.qr-btn.icon-only{padding:15px 17px}
.qr-btn.icon-only svg{width:22px;height:22px}
@media(max-width:860px){.qr-btn{display:none}}
.qr-dialog{margin:auto;inset:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--paper);padding:28px;max-width:340px;width:calc(100% - 48px);text-align:center}
.qr-dialog::backdrop{background:rgba(1,1,12,.72)}
.qr-box{background:#fff;border-radius:14px;padding:12px;width:220px;margin:0 auto 18px}
.qr-box svg{display:block;width:100%;height:auto}
.qr-title{font-family:var(--font-d);font-weight:800;font-size:20px;margin-bottom:8px;color:var(--paper)}
.qr-dialog p:not(.qr-title){color:var(--dim);font-size:14px;line-height:1.5;margin-bottom:20px}
.qr-dialog .btn-primary{width:100%;border:0;cursor:pointer}

/* ===== casino page (2026-10) — first page of the «game category» template =====
   .tabbar  — mobile section menu (matrix F24), on every page since 2026-10-09, shown only <=860px; put it right before <footer>;
              mark the current section with aria-current="page"
   .to-top  — back-to-top link (F37), target is <body id="top">
   section[id] scroll-margin — in-page anchors (FAQ in .tabbar, links to #license) are not hidden under the sticky header */
section[id]{scroll-margin-top:72px}
.tabbar{display:none}
@media(max-width:860px){
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(1,1,12,.92);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
  .tabbar a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 4px;border-radius:10px;font-size:12px;font-weight:700;line-height:1.2;text-align:center;color:var(--dim)}
  .tabbar a[aria-current="page"]{color:var(--cyan);background:rgba(87,247,172,.08)}
  .tabbar ~ footer{padding-bottom:96px}
}
.to-top{position:fixed;right:20px;bottom:20px;z-index:25;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface-2);border:1px solid var(--line);color:var(--paper);font-size:18px;font-weight:700}
@media(max-width:860px){.to-top{right:12px;bottom:80px}}

/* ===== site-wide layout fixes (2026-10-09) ===== */
/* hero: the title no longer becomes a 6–7 line wall in the two-column layout */
.hero h1{font-size:clamp(30px,3.4vw,44px)}
/* hero picture without a frame (App): transparent art sits on the page background */
.hero-visual.bare{background:none;border:0;padding:0;aspect-ratio:auto;border-radius:0}
.hero-visual.bare img{width:100%;height:auto}
/* on phones the hero picture goes under the text, so the title and the main button are on the first screen */
@media(max-width:860px){.hero .hero-visual{order:1}.hero-visual.bare{max-width:420px;margin:0 auto}}
/* sport cards on Main: label + value rows (the rules were lost when Main's CSS was extracted) */
.sport-card .sc-row{display:block;padding:0 12px 10px;font-size:12.5px;line-height:1.45;color:var(--dim)}
.sport-card .sc-row i{display:block;font-style:normal;font-family:var(--font-m);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--green);margin-bottom:2px}
/* header row had no side padding (header .row{padding:16px 0} beat .wrap's 0 24px), so the logo sat 24px left of the content
   and touched the screen edge on phones; now it shares the content's left edge */
header .row{padding:16px 24px}
/* phone header: everything fits, no horizontal scroll ("Вход" stays in the footer) */
@media(max-width:600px){
  .wrap{padding:0 16px}
  .tscroll{margin:0 -16px;padding:0 16px}
  .promo-scroll{margin:0 -16px;padding-left:16px;padding-right:16px}
  header .row{gap:8px;padding:12px 16px}
  header .logo{font-size:18px}
  header .badge18{font-size:10px;padding:3px 7px}
  .head-actions{gap:8px}
  .head-actions .login-link{display:none}
  .lang-switch{gap:4px}
  .lang-switch a{padding:3px 6px}
  .btn-primary.small{padding:8px 12px;font-size:13px;white-space:nowrap}
  .stat-strip b{font-size:19px}
}
@media(max-width:420px){
  header .logo{font-size:17px}
  .btn-primary.small{padding:8px 10px;font-size:12px}
}
@media(max-width:360px){
  .wrap{padding:0 12px}
  .tscroll{margin:0 -12px;padding:0 12px}
  .promo-scroll{margin:0 -12px;padding-left:12px;padding-right:12px}
  header .row{padding:12px 12px}
  header .logo{font-size:16px}
  header .row{gap:6px}
  .head-actions{gap:6px}
  .btn-primary.small{padding:7px 10px;font-size:12px}
  header .badge18{font-size:9px;padding:2px 5px}
  .lang-switch a{padding:2px 5px;font-size:11px}
}
@media(max-width:340px){header .logo{font-size:15px}header .row,.head-actions{gap:4px}.lang-switch{gap:2px}header .badge18{display:none}}
/* narrow phones: grid cards never push the page wider than the screen */
.cat-grid>*{min-width:0;overflow-wrap:break-word}
@media(max-width:380px){
  .cat-grid{gap:10px}
  .cat-card,.cat-grid .card{padding:14px}
  .cat-grid .card h3{font-size:16px}
}


/* ===== Casino: client article (2026-10-10) =====
   .slot-grid.four - a row of exactly 4 covers (the article shows 4 slots; the base grid has 5 columns) */
.slot-grid.four{grid-template-columns:repeat(4,1fr)}
@media(max-width:600px){.slot-grid.four{grid-template-columns:repeat(2,1fr)}}
/* .lead-long - the client's article intro (~330 characters) in the first screen: smaller type and the full column width,
   so the main button still fits on the first screen of a phone and a 1280x800 laptop */
.hero p.lead.lead-long{font-size:15.5px;line-height:1.55;max-width:none;margin-bottom:22px}
@media(max-width:600px){.hero p.lead.lead-long{font-size:15px;line-height:1.5}}
/* .figs.cols-2 - figures of the welcome-bonus card in a 2x2 grid (Casino, 2026-10-11) */
.bonus-banner .figs.cols-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}
/* .bonus-banner.offer - welcome-bonus card with its picture (Casino, 2026-10-12): text, 2x2 figures and buttons on the left,
   the gift-box picture on the right at full card height; on phones the picture goes on top (16:9) */
.bonus-banner .figs.cols-2 b{white-space:nowrap}
.bonus-banner.offer{grid-template-columns:1.45fr 1fr;gap:0;padding:0;overflow:hidden;align-items:stretch}
.bonus-banner.offer .bb-text{padding:30px 32px}
.bonus-banner.offer .figs.cols-2{margin:18px 0 6px}
.bonus-banner.offer .bb-pic{display:block;width:100%;height:100%;object-fit:cover;object-position:62% 50%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%)}
@media(max-width:860px){
  .bonus-banner.offer{grid-template-columns:1fr}
  .bonus-banner.offer .bb-pic{order:-1;height:auto;aspect-ratio:16/9;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 30%);mask-image:linear-gradient(0deg,transparent 0,#000 30%)}
  .bonus-banner.offer .bb-text{padding:4px 22px 24px}
  .bonus-banner .figs.cols-2 b{font-size:22px}
}
@media(max-width:600px){.bonus-banner.offer .bb-text{padding:2px 20px 22px}.bonus-banner .figs.cols-2{gap:16px 16px}}
@media(max-width:360px){.bonus-banner .figs.cols-2 b{font-size:19px}}
/* .cat-card.pic - category card with a picture on top and the label below (Casino, 2026-10-12; images: designer package
   _src/casino/category-cards, variant B). Pictures are 1200x462 with the subject on the right, so the crop keeps the right side. */
.cat-card.pic{padding:0;overflow:hidden;display:flex;flex-direction:column}
.cat-card.pic img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:80% 50%;border-bottom:1px solid rgba(237,241,251,.14);transition:transform .25s ease}
.cat-card.pic:hover img{transform:scale(1.035)}
.cat-card.pic b{position:relative;margin:13px 14px 3px}
.cat-card.pic b::before{content:"";position:absolute;left:-14px;top:-14px;width:48px;height:2px;background:var(--cyan)}
.cat-grid .cat-card.pic:nth-child(3n+2) b::before{background:var(--gold)}
.cat-card.pic span{display:block;margin:0 14px 14px}
/* 861–1060 px (2026-10-12): the full desktop header (logo + menu + language, «Вход», «Регистрация») is wider than the row,
   so every page scrolled sideways. Here the menu keeps the same 4 items as the phone tab bar (Слоты is inside «Казино»).
   2026-10-14 (customer): «Live Casino» removed from the header menu, so only the 3rd item (Слоты) is hidden here.
   2026-10-16 (v53, customer): «Главная» / «Bosh sahifa» is the 1st item, so Слоты is the 4th.
   2026-10-17 (v60, customer): «Слоты» removed from the header menu (row and burger; it stays in the footer), nothing is hidden here any more. */
@media(min-width:861px) and (max-width:1060px){
  header nav{gap:16px}
}
/* .cat-card.pic.wide - featured category card over two columns: «Казино» and «Спорт» above the 12 casino categories
   on Main and App (2026-10-12), so the grid is 2 + 4 + 4 + 4 with no half-empty row */
.cat-grid .cat-card.pic.wide{grid-column:span 2}
.cat-card.pic.wide img{aspect-ratio:32/9}
@media(max-width:860px){.cat-card.pic.wide img{aspect-ratio:21/9}}

/* ===== bet page (2026-10-12) =====
   .promo-card.pic - promo card with a 16:9 picture on top (or an .img-ph placeholder until the picture arrives),
   then the promo name and a small button; cards stay in .promo-scroll like the text cards on Main. */
.promo-card.pic{padding:0;overflow:hidden;display:flex;flex-direction:column}
.promo-card.pic img,.promo-card.pic .img-ph{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:0;border-radius:0;border-bottom:1px solid var(--line)}
.promo-card.pic .img-ph{display:flex}
.promo-card.pic b{display:block;margin:14px 16px 12px;font-family:var(--font-d);font-weight:800;font-size:16px;line-height:1.25;color:var(--paper)}
.promo-card.pic .btn-ghost{margin:auto 16px 16px;align-self:flex-start}
/* .img-ph - visible placeholder for a picture that is ordered but not received yet: shows the file name (mono, dim);
   replace with <img> when the file is in /images/. Not for publication. */
.img-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:var(--surface-2);border:1px dashed var(--line);border-radius:14px;color:var(--dim);font-family:var(--font-m);font-size:12px;text-align:center;padding:12px;word-break:break-all}
/* 2026-10-12: promo carousels (Main, Casino, Bet). scroll-padding = the carousel's own side padding, otherwise scroll-snap
   pulls the first card 24 px (16/12 on phones) left of the common left edge of the page. Inside .w-900 (Casino, Bet) the
   scroll area is 48 px wider than the column, like .tscroll there. Adds a property .promo-scroll did not have; overrides nothing. */
.promo-scroll{scroll-padding-left:24px}
.w-900>.promo-scroll{max-width:900px}
@media(max-width:600px){.promo-scroll{scroll-padding-left:16px}}
@media(max-width:360px){.promo-scroll{scroll-padding-left:12px}}
/* .promo-card.pic .pc-body (Main, 2026-10-12): the Main promo card content (eyebrow, h3, p, button) under the picture,
   with the card's own padding; the button stays at the bottom so the cards in a row line up. */
.promo-card.pic .pc-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:16px 20px 20px}
.promo-card.pic .pc-body .btn-ghost{margin:auto 0 0}
/* .foot-tg (footer, all pages, 2026-10-13): link to the official Telegram channel next to the 18+ badge; the icon is a simple
   paper plane drawn in the site's mint colour (not the Telegram logo). margin-left:auto puts the link and the badge on the right. */
.foot-top .foot-tg{margin-left:auto}
.foot-tg{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--paper)}
.foot-tg:hover{border-color:var(--cyan);color:var(--cyan)}
.foot-tg svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:var(--cyan);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
/* ===== bet page, factor matrix build (2026-10-13) =====
   .tg-float - floating round link to the official Telegram channel (matrix F13), above .to-top on the right; same paper-plane
   icon as .foot-tg. On phones it sits above .to-top, which itself sits above the .tabbar. */
.tg-float{position:fixed;right:20px;bottom:76px;z-index:25;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface-2);border:1px solid var(--line)}
.tg-float:hover{border-color:var(--cyan)}
.tg-float svg{width:20px;height:20px;fill:none;stroke:var(--cyan);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
@media(max-width:860px){.tg-float{right:12px;bottom:136px}}
/* h3[id] - in-page links to a subsection (Bet: sport cards -> H3 of the sport) are not hidden under the sticky header,
   like section[id]. Adds a property h3 did not have; overrides nothing. */
h3[id]{scroll-margin-top:72px}
/* .sport-card .img-ph - placeholder of an ordered sport picture inside a sport card: card frame 16:10 like the real pictures,
   no own radius/side borders (the card clips them). Not for publication. */
.sport-card .img-ph{aspect-ratio:16/10;border:0;border-bottom:1px dashed var(--line);border-radius:0}
/* ===== bet page, client article (2026-10-14) =====
   h4 - fourth-level heading inside a subsection (Bet: «Банковские карты Uzcard и Humo», «Click и Payme» under the payment
   methods). There was no h4 rule; display font like h1-h3, smaller than h3 (19px). Overrides nothing.
   h2[id] - in-page links to a client's H2 with an id (#bonusy, #popolnenie…) are not hidden under the sticky header,
   like section[id] / h3[id]. */
h4{font-family:var(--font-d);font-weight:800;font-size:16px;line-height:1.25;letter-spacing:-.01em;color:var(--paper);margin:20px 0 6px}
h2[id]{scroll-margin-top:72px}
/* 404 page (2026-10-14): .e404 - the only section of pages/404-*.html, fills the screen so the footer does not jump up;
   on phones (<=600px) its buttons stack full width. .e404-code - the big «404» above H1 (decorative, aria-hidden):
   mint outline in the display font, so it does not outshine the mint «home» button */
.e404{min-height:calc(100vh - 160px);display:flex;align-items:center;padding:56px 0 72px}
.e404 .wrap{width:100%}
.e404 h1{margin:10px 0 14px}
.e404-code{font-family:var(--font-d);font-weight:800;font-size:clamp(88px,18vw,168px);line-height:.9;letter-spacing:-.02em;margin:0;color:transparent;-webkit-text-stroke:2px var(--cyan)}
@media(max-width:600px){.e404 .hero-cta{flex-direction:column;gap:10px}.e404 .hero-cta a{text-align:center}}
/* .prov-grid (2026-10-14, Casino «Провайдеры»): the casino lobby providers (customer's list) as tiles like the advantage cards:
   <ul class="prov-grid"><li><span class="ico"><img src="/images/prov-xx.svg" …></span>Name</li>…</ul> — vector monogram
   icon in the site's neon style (not the providers' logos) above the name; 6 columns, 3 on <=860px */
.prov-grid{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0 0}
.prov-grid li{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 8px 14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line);font-family:var(--font-b);font-weight:700;font-size:14px;line-height:1.25;color:var(--paper);overflow-wrap:break-word}
@media(max-width:860px){.prov-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:400px){.prov-grid li{font-size:11.5px;padding:12px 4px 10px}}
/* .bonus-banner.offer picture (2026-10-14, Bet final block): the card picture may come with a separate desktop crop -
   <picture><source media="(min-width: 861px)" srcset="…-desktop.webp"><img class="bb-pic" …></picture>; the wrapper takes the
   picture's place in the grid (stretched to the card height on desktop, above the text on <=860px) */
.bonus-banner.offer picture{display:block;min-width:0}
@media(max-width:860px){.bonus-banner.offer picture{order:-1}}
/* .ev-team (2026-10-14, Bet «События»): a picture before a team or tournament name in the tables — <span class="ev-team"><img
   src="/images/flag-xx.svg" width="160" height="120">First</span> rest of the name; flag 20x15 with a hairline outline,
   .ev-team.sport — sport icon 20x20 (ev-*.svg); the picture and the first word never split across lines */
.ev-team{white-space:nowrap}
.ev-team img{display:inline-block;width:20px;height:15px;margin-right:7px;vertical-align:-2px;border-radius:3px;box-shadow:0 0 0 1px rgba(237,241,251,.2)}
.ev-team.sport img{height:20px;vertical-align:-5px;border-radius:0;box-shadow:none}

/* Text links in content sections (2026-10-16, v49, customer «поправь»): `a{color:inherit;text-decoration:none}` made links inside
   paragraphs, list items and table cells look like plain text (Telegram on Bonus, links to /bonus/ on Casino, #bonusy on Bet).
   Only links without a class: buttons, cards, .bonus-rules and other classed links keep their own look. Header and footer are not sections */
section p a:not([class]),section li a:not([class]),section td a:not([class]){color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
section p a:not([class]):hover,section li a:not([class]):hover,section td a:not([class]):hover{color:var(--cyan-2)}

/* 2026-10-16 (v53, customer): the header and footer logo is «ULTRAPARI» in capitals; in the header the flag of Uzbekistan (.logo-flag,
   images/flag-uz.svg, 4:3) stands right after the wordmark, inside the same link to the home page. Menu links never wrap. */
header .logo{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.logo-flag{display:block;flex:none;width:24px;height:18px;border-radius:3px;box-shadow:0 0 0 1px rgba(237,241,251,.2)}
header nav a{white-space:nowrap}
@media(max-width:600px){header .logo{gap:6px}.logo-flag{width:20px;height:15px;border-radius:2px}}
@media(max-width:360px){header .logo{gap:5px}.logo-flag{width:18px;height:13.5px}}

/* .burger (v53, customer «да» 2026-10-16) — the header menu button and its drop-down panel: <details class="burger"> + <summary>, the last item
   of .head-actions; works without JS, keyboard and screen readers get the open / closed state natively. The panel repeats the menu
   (.burger-nav), the language switch, «Вход» and 18+ (.burger-foot). v60: «Слоты» is no longer in the header menu.
   ≥1061 px: no burger, everything is in the row.
   861–1060 px: the top menu stays visible (Главная · Казино · Спорт · Бонусы · Приложение); UZ/RU and «Вход» are in the panel.
   ≤860 px (the bottom tab bar is on): the row has the logo with the flag, «Регистрация» and ☰; the full menu, UZ/RU, «Вход», 18+ are in the panel. */
.burger{flex:none}
.burger>summary{list-style:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;color:var(--paper);cursor:pointer}
.burger>summary::-webkit-details-marker{display:none}
.burger>summary:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.burger-icon,.burger-icon::before,.burger-icon::after{display:block;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,background-color .18s ease}
.burger-icon{position:relative}
.burger-icon::before,.burger-icon::after{content:"";position:absolute;left:0}
.burger-icon::before{top:-6px}
.burger-icon::after{top:6px}
.burger[open]>summary{border-color:var(--cyan);color:var(--cyan)}
header:has(.burger[open]){z-index:40}   /* the open panel covers the bottom tab bar (30), the bonus sticky bar (29) and «наверх» (25) */
.burger[open] .burger-icon{background:transparent}
.burger[open] .burger-icon::before{background:var(--cyan);transform:translateY(6px) rotate(45deg)}
.burger[open] .burger-icon::after{background:var(--cyan);transform:translateY(-6px) rotate(-45deg)}
.burger-panel{position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto;padding:4px 24px 18px;background:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 24px 40px -16px rgba(0,0,0,.7)}
.burger-nav{display:flex;flex-direction:column;gap:0;font-size:16px}
.burger-nav a{display:block;padding:14px 2px;border-bottom:1px solid var(--line);color:var(--paper)}
.burger-nav a:hover{color:var(--cyan)}
.burger-foot{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding-top:16px;font-size:15px;font-weight:600}
.burger-foot .lang-switch{gap:6px}
.burger-foot .lang-switch a{padding:8px 14px;font-size:13px}
.burger-foot .login-link{display:inline-block;padding:8px 2px}
header .burger-foot .badge18{display:inline-block;margin-left:auto}
@media(min-width:1061px){.burger{display:none}}
@media(min-width:1061px) and (max-width:1180px){header .logo{font-size:20px}header .row>nav{gap:16px}}
@media(min-width:861px) and (max-width:1060px){
  header .row{gap:12px}
  header .logo{font-size:19px}
  header .row>nav{gap:12px;font-size:13px}
  .head-actions{gap:10px}
  .head-actions>.lang-switch,.head-actions>.login-link{display:none}
  header .btn-primary.small{padding:10px 16px}
  .burger-panel{left:auto;right:24px;width:300px;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px}
  .burger-nav{display:none}
  header .burger-foot .badge18{display:none}
}
@media(max-width:860px){
  header .row>div:first-child>.badge18{display:none}
  .head-actions>.lang-switch,.head-actions>.login-link{display:none}
}
@media(max-width:600px){.burger>summary{width:38px;height:38px}.burger-panel{padding:4px 16px 16px}}
@media(max-width:360px){header .logo{font-size:15px}.burger>summary{width:36px;height:36px}.burger-panel{padding:4px 12px 14px}}
@media(max-width:340px){header .logo{font-size:14px}.logo-flag{width:16px;height:12px}header .btn-primary.small{padding:7px 8px}.burger>summary{width:34px;height:34px}}
@media(min-width:361px) and (max-width:420px){header .logo{font-size:clamp(15px,4.4vw,17px)}}

/* 2026-10-21 (v63): text pages - Условия использования, Условия бонусов, Политика конфиденциальности, Ответственная игра
   (pages/{terms-and-conditions,bonus-terms-and-conditions,privacy-policy,responsible-gambling}-*.html, _src/tools/build_legal.py).
   .doc-meta - the client's line «Обновлено … Оператор … Лицензия» under H1 in the first screen: mono, small, dim */
.doc-meta{font-family:var(--font-m);font-size:12.5px;line-height:1.5;color:var(--dim);margin:0 0 16px}
/* 2026-10-21 (v63, customer: «в футере выдели малиновым страницы, которые без текста и отдают 404»): footer links to pages that
   are not built yet - raspberry, the site accent --gold (#FF4FA0). Temporary marker: when a page is built, drop class="no-page"
   from its footer link in pages/main-* and pages/app-* and rebuild Casino, Bet, Bonus, 404 and the text pages */
.foot-cols a.no-page{color:var(--gold);opacity:1}
/* main.doc - text pages: long words in headings («конфиденциальности», «несовершеннолетних») are wider than a phone column at
   320-414 px and scrolled the page sideways; they are hyphenated where the browser knows the language, otherwise broken */
main.doc h1,main.doc h2,main.doc h3{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}

/* 2026-10-22 (v71, customer: «в футере как-то пусто… лого невзрачное, плюс вроде как флаг должен быть»): footer brand block —
   the logo as in the header (ULTRAPARI + flag of Uzbekistan), larger than in the header, and under it a short description of
   the brand (.foot-about, as competitors do: logo + text at the top of the footer). Telegram and 18+ stay on the right. */
.foot-brand{flex:1 1 420px;max-width:600px}
.foot-logo{display:inline-flex;align-items:center;gap:10px;font-size:30px;line-height:1;white-space:nowrap}
.foot-logo .logo-flag{width:32px;height:24px;border-radius:4px}
.foot-about{margin:16px 0 0;font-size:14px;line-height:1.65;color:var(--dim)}
@media(max-width:600px){.foot-logo{font-size:26px;gap:8px}.foot-logo .logo-flag{width:28px;height:21px;border-radius:3px}.foot-about{font-size:13.5px}
  .foot-top{gap:16px 12px}.foot-top .foot-tg{margin-left:0}}   /* phone: Telegram and 18+ under the text, on the left edge */

/* 2026-10-22 (v73) Affiliate pictures (brief _src/affiliate/images_brief.md).
   .aff-fig - 16:9 picture at the end of a section, full column width, no caption.
   .aff-cards - items of the client's list as cards with a 3D icon (WebP with alpha, no filters, unlike .ico):
   .c4 - «Модели оплаты», 2x2, icon 96px left of the text; .c3 - «Преимущества», 3 columns, icon 112px on top.
   <=760px: both lists one column, icon 96px left of the text; <=600px: icon 72px. */
.aff-fig{margin:18px 0 0}
.aff-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}
.aff-cards{display:grid;gap:14px;margin-top:16px}
.aff-cards.c4{grid-template-columns:repeat(2,1fr)}
.aff-cards.c3{grid-template-columns:repeat(3,1fr)}
.aff-card{display:flex;flex-direction:column;gap:12px;font-size:14.5px;line-height:1.55;color:var(--dim);min-width:0}
.aff-cards.c4 .aff-card{flex-direction:row;align-items:center;gap:16px}
.aff-card p{margin:0}
.aff-ico{display:block;width:96px;height:96px;flex:0 0 auto}
.aff-cards.c3 .aff-ico{width:112px;height:112px}
@media(max-width:760px){.aff-cards.c4,.aff-cards.c3{grid-template-columns:1fr;gap:10px}
  .aff-cards.c3 .aff-card{flex-direction:row;align-items:center;gap:16px}.aff-cards.c3 .aff-ico{width:96px;height:96px}}
@media(max-width:600px){.aff-cards.c4 .aff-card,.aff-cards.c3 .aff-card{gap:14px}
  .aff-ico,.aff-cards.c3 .aff-ico{width:72px;height:72px}}

/* 2026-10-23 (v74) Registration: pictures of the customer's article in a text page (build_legal.py, figure in the article).
   .doc-fig - full column width (the pictures carry text, so they are not reduced to .inline-shot 600px), no caption. */
.doc-fig{margin:18px 0 0}
.doc-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}

/* v109 (2026-10-28): a picture that is a partner link (Main «Виртуальный спорт», Bet «Live-ставки»): a.pic-link href="#" with
   data-partner around img.inline-shot; block, as wide as the picture (not the whole column), so only the picture is clickable. */
.pic-link{display:block;max-width:600px}
