/* Меню, верхняя панель, баннеры главной; компьютерная раскладка (от 1024 px) */
:root { --side-w: 264px; }

/* ---------- Боковое меню: на телефоне выезжает слева ---------- */
.side { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: min(86vw, 340px); display: flex; flex-direction: column; gap: 10px; padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom)); overflow-y: auto; background: var(--s1); border-right: 1px solid var(--s2); transform: translateX(-102%); transition: transform .28s cubic-bezier(.22, .8, .3, 1); }
.side-open .side { transform: none; }
.side-shade { position: fixed; z-index: 55; inset: 0; background: rgb(0 0 0 / 58%); opacity: 0; pointer-events: none; transition: opacity .25s; }
.side-open .side-shade { opacity: 1; pointer-events: auto; }
.side-open body, body:has(.side-open) { overflow: hidden; }
.side button { color: var(--text); background: none; text-align: left; font: inherit; }
.side-head { display: flex; align-items: center; gap: 8px; }
.side-user { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; }
.side-avatar { flex: none; width: 48px; height: 48px; font-size: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); color: var(--text); font-weight: 700; text-decoration: none; }
.side-who { display: grid; min-width: 0; }
.side-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-collapse { display: none; position: fixed; z-index: 45; top: 166px; left: calc(var(--side-w) - 18px); width: 36px; height: 36px; border-radius: 50%; place-items: center; color: var(--text); background: var(--s2) !important; box-shadow: 0 0 0 4px var(--bg, #141415); transition: left .2s; }
.side-collapse:hover { filter: brightness(1.3); }
.side-mini .side-collapse { top: 57px; }
.side-collapse svg { width: 18px; height: 18px; }
.side-promo { position: relative; display: grid; gap: 4px; padding: 14px 84px 14px 14px; border-radius: 14px; background: linear-gradient(135deg, #14402a, #30d158) !important; overflow: hidden; }
.side-promo b { font-size: 17px; }
.side-promo span { font-size: 12px; opacity: .85; }
.side-promo i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(12deg); opacity: .9; }
.side-promo i svg { width: 56px; height: 56px; }
.side-nav { display: grid; gap: 2px; }
.side-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.side-item:hover, .side-kid:hover { background: var(--s2) !important; }
.side-item.on { background: var(--s2) !important; color: var(--green) !important; }
.side-ico { display: grid; place-items: center; width: 24px; flex: none; }
.side-ico svg { width: 22px; height: 22px; }
.side-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-caret { display: grid; color: var(--muted); transition: transform .2s; }
.side-item.open .side-caret { transform: rotate(180deg); }
.side-kids { display: grid; gap: 1px; padding: 2px 0 6px 46px; }
.side-kids[hidden] { display: none; }
.side-kid { padding: 9px 10px; border-radius: 10px; font-size: 14px; color: var(--muted) !important; }
.side-kid.on { color: var(--green) !important; background: var(--s2) !important; }
.side-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff6a3d; color: #fff; font-size: 12px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.side-badge[hidden] { display: none; }
.side-flex { flex: 1; }
.side-card { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--s2) !important; }
.side-social { display: flex; gap: 8px; }
.side-social a { width: 44px; height: 40px; border-radius: 12px; background: var(--s2); display: grid; place-items: center; color: var(--text); }
.side-support { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; font-weight: 600; }
.side-support:hover { background: var(--s2) !important; }
.side-pill { padding: 2px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }

/* на телефоне: логотип в шапке главной и казино, пять разделов в нижней панели */
.dtop { display: none; }
.crumbs-brand { align-items: center; }
.tabbar { grid-template-columns: repeat(4, 1fr); }
.tab-lens.none { opacity: 0; }

/* ---------- Баннеры главной ---------- */
.hero { display: grid; gap: 8px; margin-bottom: 18px; }
.hero-main { position: relative; height: 188px; border-radius: 16px; overflow: hidden; }
.hero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 18px 30px; color: #fff; }
.hero-text { display: grid; gap: 8px; max-width: 58%; justify-items: start; }
.hero-text b { font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.hero-text span { font-size: 13px; opacity: .85; }
.hero-btn { margin-top: 4px; padding: 9px 22px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; }
.hero-art { width: 40%; height: 100%; display: grid; place-items: center; }
.hero-art svg { width: 100%; height: 100%; max-height: 150px; filter: drop-shadow(0 8px 14px rgb(0 0 0 / 35%)); }
.hero-dots { position: absolute; left: 18px; bottom: 12px; display: flex; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgb(0 0 0 / 30%); }
.hero-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 40%); transition: width .2s, background .2s; }
.hero-dots i.on { width: 16px; border-radius: 3px; background: #fff; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-card { position: relative; display: grid; align-content: start; gap: 4px; min-height: 92px; padding: 14px 70px 14px 14px; border-radius: 14px; color: #fff; text-align: left; overflow: hidden; }
.hero-card b { font-size: 16px; }
.hero-card span { font-size: 11px; opacity: .85; }
.hero-card i { position: absolute; right: 8px; bottom: 6px; opacity: .85; transform: rotate(10deg); }
.hero-card i svg { width: 48px; height: 48px; }

/* ---------- Компьютер ---------- */
@media (min-width: 1024px) {
  html:not(.side-mini) { --side-w: 264px; }
  html.side-mini { --side-w: 64px; }
  .tabbar { display: none; }
  .crumbs-brand, .crumbs .balance { display: none; }
  .side { width: var(--side-w); transform: none; transition: width .2s; z-index: 40; padding-top: 14px; }
  .side-shade { display: none; }
  .side-collapse { display: grid; }
  .side-mini .side-collapse { transform: rotate(180deg); }
  .dtop { position: fixed; z-index: 35; top: 0; left: var(--side-w); right: 0; height: 64px; display: flex; align-items: center; gap: 22px; padding: 0 28px; background: var(--s1); border-bottom: 1px solid var(--s2); transition: left .2s; }
  .dtop-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--s2); }
  .dtop-tab { padding: 8px 18px; border-radius: 9px; color: var(--muted); font-weight: 600; text-decoration: none; }
  .dtop-tab:hover { color: var(--text); }
  .dtop-tab.on { background: var(--blue); color: #fff; }
  .dtop-tab { position: relative; }
  .dtop-badge { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff3b30; color: #fff; font-size: 11px; font-weight: 700; font-style: normal; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--s2); pointer-events: none; }
  .dtop-badge[hidden] { display: none; }
  .dtop-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
  .dtop-balance { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--bg); font-weight: 700; }
  .dtop-dep { height: 40px; padding: 0 20px; border-radius: 10px; background: var(--green); color: #04090d; font-weight: 700; }
  .dtop-dep:active { filter: brightness(.92); }
  .has-tabbar .view { margin: 0 0 0 var(--side-w); width: calc(100% - var(--side-w)); max-width: none; padding: 88px max(24px, calc((100% - 1120px) / 2)) 48px; transition: margin-left .2s, width .2s; }
  .has-tabbar .view.is-lobby { padding-left: max(24px, calc((100% - 1240px) / 2)); padding-right: max(24px, calc((100% - 1240px) / 2)); }

  .side-mini .side { padding-left: 10px; padding-right: 10px; }
  .side-mini :is(.side-label, .side-caret, .side-kids, .side-who, .side-promo, .side-card, .side-social, .side-pill, .side-badge) { display: none; }
  .side-mini .side-head { flex-direction: column; }
  .side-mini .side-item, .side-mini .side-support { justify-content: center; padding-left: 0; padding-right: 0; }
  .side-mini .side-user { justify-content: center; padding: 0; flex: none; }

  .hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; margin-bottom: 28px; }
  .hero-main { height: 300px; border-radius: 18px; }
  .hero-slide { padding: 34px 40px 44px; }
  .hero-text { max-width: 52%; gap: 12px; }
  .hero-text b { font-size: 40px; }
  .hero-text span { font-size: 15px; }
  .hero-btn { padding: 11px 30px; font-size: 15px; }
  .hero-art svg { max-height: 230px; }
  .hero-dots { left: 40px; bottom: 16px; }
  .hero-side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
  .hero-card { min-height: 0; padding: 20px 110px 20px 20px; border-radius: 18px; align-content: center; }
  .hero-card b { font-size: 19px; }
  .hero-card span { font-size: 13px; }
  .hero-card i svg { width: 84px; height: 84px; }

  /* ряды игр по восемь карточек, лобби и каталог — сеткой */
  :root { --card-gap: 8px; }
  .is-lobby .prov-row .prov-card, .is-lobby .prov-row .game-card, .prov-row .prov-card, .prov-row .game-card { flex: 0 0 calc((100% - var(--card-gap) * 7) / 8); }
  .is-lobby .lobby, .is-lobby .prov-grid, .lobby, .prov-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--card-gap); }
  .prov-card b, .game-card b { font-size: 12px; }
  .prov-row .game-card b, .lobby .game-card b { font-size: 11px; white-space: normal; text-align: center; line-height: 1.15; padding: 0 6px; letter-spacing: 0; }
  .toasts { top: 78px; }
}

/* ---------- Liquid Glass для новых панелей ---------- */
html[data-theme='glass'] :is(.side, .dtop) { background: rgb(14 16 26 / 74%); border-color: rgb(255 255 255 / 10%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
html[data-theme='glass'] .dtop-tabs { background: rgb(255 255 255 / 8%); }
html[data-theme='glass'] :is(.side-item.on, .side-kid.on, .side-item:hover, .side-card, .side-collapse, .side-social a) { background: rgb(255 255 255 / 9%) !important; }
html[data-theme='glass'] .hero-main, html[data-theme='glass'] .hero-card { box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 10px 26px rgb(0 0 0 / 30%); }
@media (prefers-reduced-motion: reduce) { .side, .side-shade, .view, .dtop { transition: none; } }

.crumbs-brand .brand { font-size: 22px; flex: 1; }

.brand { text-decoration: none; color: var(--text); }
.side-who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Шторки как в образце: светлые, снизу на телефоне и окном на компьютере (касса, профиль, уведомления) ---------- */
.cash { --l-bg: #fff; --l-in: #f1f2f4; --l-in2: #e6e8eb; --l-text: #111318; --l-muted: #6b7079; --l-line: #dcdfe3; --l-blue: #2f7cf6; --l-green: #00b552; }
.cash-wrap { position: fixed; z-index: 120; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgb(0 0 0 / 62%); animation: cash-fade .2s ease-out; }
.cash { width: 100%; max-width: 480px; max-height: 94vh; display: flex; flex-direction: column; gap: 14px; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: var(--l-bg); color: var(--l-text); animation: cash-up .28s cubic-bezier(.22, .8, .3, 1); overflow: hidden; }
.cash .muted { color: var(--l-muted); }
@keyframes cash-fade { from { opacity: 0; } }
@keyframes cash-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 720px) { .cash-wrap { align-items: center; } .cash { border-radius: 22px; padding-bottom: 20px; } }
.cash-head { display: flex; align-items: center; justify-content: space-between; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.cash-x { width: 36px; height: 36px; border-radius: 50%; background: none; color: var(--l-muted); font-size: 20px; }
.cash-body { display: grid; gap: 14px; overflow-y: auto; padding-bottom: 4px; }
.cash-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--l-in); }
.cash-seg button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 11px; background: none; color: var(--l-text); font-weight: 600; font-size: 15px; }
.cash-seg button.on { background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 12%); }
.cash-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.cash-field { display: grid; gap: 6px; font-size: 13px; color: var(--l-muted); }
.cash-pick { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 14px; background: var(--l-in); color: var(--l-text); }
.cash-select { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; color: var(--l-text); font: inherit; font-size: 16px; font-weight: 500; outline: none; }
.cash-input { height: 52px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--l-in); color: var(--l-text); font: inherit; font-weight: 600; user-select: text; -webkit-user-select: text; }
.cash-input:disabled { opacity: .6; }
.cash-min { text-align: center; color: var(--l-muted); font-size: 14px; }
.cash-addr { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: var(--l-in); }
.cash-qr { flex: none; width: 112px; height: 112px; border-radius: 10px; display: grid; place-items: center; background: repeating-conic-gradient(#d5d8dd 0 25%, #fff 0 50%) 0 0 / 14px 14px; color: #8a8f98; font-size: 40px; }
.cash-addr-text { display: grid; gap: 8px; min-width: 0; text-align: center; }
.cash-btn, .cash-submit, .cash-game { height: 46px; border-radius: 12px; font-weight: 600; }
.cash-btn { background: var(--l-blue); color: #fff; padding: 0 16px; }
.cash-submit { background: var(--l-green); color: #fff; font-size: 16px; }
.cash-btn:disabled, .cash-submit:disabled { opacity: .45; }
.cash-game { background: var(--l-in); color: var(--l-text); }
.cash-title { font-weight: 700; font-size: 18px; }
.cash-bonus { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: var(--l-in); }
.cash-bonus > div { display: grid; gap: 2px; }
.cash-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cash-method { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: var(--l-in); color: var(--l-text); text-align: left; }
.cash-method:disabled { opacity: .6; }
.cash-note { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #fff6dc; border: 1px solid #f2d27c; color: #8a5a00; font-size: 13px; }
.cash-note span { color: #6e5a2a; }
.cash-open { overflow: hidden; }
.toasts { z-index: 200; }
@media (prefers-reduced-motion: reduce) { .cash-wrap, .cash { animation: none; } }

/* ---------- Уведомления ---------- */
.bell { position: relative; flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #26282f; color: var(--text); }
.bell svg { width: 22px; height: 22px; }
.bell-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #ff5b2e; color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.bell-badge[hidden] { display: none; }
.note-panel { max-width: 460px; }
.note-list { display: grid; gap: 8px; overflow-y: auto; }
.note { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--l-in); color: var(--l-text); text-align: left; }
.note.new::after { content: ''; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: #ff5b2e; }
.note-pin { width: 100%; background: #e3f7ea; }
.note-go { margin-left: auto; font-style: normal; font-size: 22px; color: var(--l-muted); }
.note-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; font-size: 19px; }
.note-text { display: grid; gap: 2px; min-width: 0; padding-right: 14px; }
.note-text b { font-weight: 600; font-size: 15px; }
.note-empty { display: grid; justify-items: center; gap: 6px; padding: 36px 12px; text-align: center; color: var(--l-muted); }
.note-empty svg { width: 40px; height: 40px; }
.note-empty b { color: var(--l-text); }
.note-clear { height: 46px; border-radius: 12px; background: var(--l-in); color: var(--l-text); font-weight: 600; }

/* ---------- Профиль (шторка и страница) ---------- */
.pfh { display: grid; gap: 14px; }
.pfh-top { display: grid; justify-items: center; gap: 6px; padding: 4px 0 6px; }
.pfh-name { font-size: 26px; font-weight: 700; text-align: center; }
.pfh-id { display: flex; align-items: center; gap: 6px; background: none; color: inherit; font-size: 15px; }
.pfh-id svg { width: 18px; height: 18px; opacity: .7; }
.pfh-card { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--l-in, var(--s1)); }
.pfh-balance { font-size: 30px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.pfh-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pfh-dep, .pfh-out { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; font-size: 17px; font-weight: 600; }
.pfh-dep { background: #00b552; color: #fff; }
.pfh-dep span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #fff; color: #00b552; }
.pfh-dep svg { width: 14px; height: 14px; stroke-width: 3; }
.pfh-out { background: var(--l-in2, var(--s2)); color: inherit; }
.pfh-list { display: grid; border-radius: 18px; background: var(--l-in2, var(--s1)); overflow: hidden; }
.pf-row { display: flex; align-items: center; gap: 16px; padding: 0 0 0 18px; background: none; color: inherit; text-align: left; }
.pf-ico { position: relative; flex: none; display: grid; place-items: center; width: 26px; color: #4b505a; }
.pf-ico svg { width: 24px; height: 24px; }
.pf-dot { position: absolute; top: -3px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; }
.pf-text { flex: 1; min-width: 0; display: grid; gap: 2px; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--l-line, var(--s3)); }
.pf-row:last-child .pf-text { border-bottom: 0; }
.pf-text b { font-size: 17px; font-weight: 600; }
.pf-text .muted { font-size: 15px; }
.pfh-logout { height: 50px; border-radius: 14px; background: var(--l-in2, var(--s1)); color: #e5484d; font-weight: 600; font-size: 16px; }
.pfh-gap { display: none; }
.pf-sheet { max-width: 520px; background: #fff; }
/* профиль страницей (переход по ссылке) — тёмный, как остальные экраны */
.view .pfh { max-width: 560px; margin: 0 auto; }
.view .pf-ico { color: var(--muted); }

/* ---------- Акции ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .promo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .promo-grid { grid-template-columns: repeat(3, 1fr); } }
.promo-card { position: relative; display: grid; align-content: start; gap: 8px; min-height: 190px; padding: 18px 120px 18px 18px; border-radius: 18px; color: #fff; overflow: hidden; }
.promo-card b { font-size: 20px; font-weight: 700; line-height: 1.15; }
.promo-card p { margin: 0; font-size: 13px; opacity: .88; }
.promo-tag { justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / 28%); font-size: 11px; font-weight: 600; }
.promo-btn { justify-self: start; margin-top: 4px; padding: 9px 20px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; }
.promo-art { position: absolute; right: 12px; bottom: 10px; opacity: .85; transform: rotate(10deg); }
.promo-art svg { width: 84px; height: 84px; }

/* ---------- Шапка телефона как в образце: баланс с подписью валюты, зелёная «Пополнить», колокольчик ---------- */
.crumbs-brand { gap: 8px; }
.crumbs-brand .brand { flex: 1; font-size: 21px; }
.hb { display: grid; justify-items: end; gap: 0; padding: 0 2px; background: none; color: var(--text); line-height: 1.15; }
.hb-cur { display: flex; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.hb-cur i { display: grid; }
.hb-cur svg { width: 14px; height: 14px; }
.hb b { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.hb-dep { height: 40px; padding: 0 14px; border-radius: 10px; background: #00b552; color: #fff; font-size: 15px; font-weight: 600; }
.hb-dep:active { filter: brightness(.92); }
@media (max-width: 400px) { html:not(.is-guest) .crumbs-brand .brand { font-size: 0; gap: 0; } }

/* ---------- Меню: шеврон у профиля, метка New ---------- */
.side-chev { margin-left: auto; color: var(--muted); font-size: 24px; line-height: 1; }
.side-new { padding: 2px 8px; border-radius: 999px; background: #ff5b2e; color: #fff; font-size: 12px; font-weight: 700; font-style: normal; }
@media (min-width: 1024px) { .side-mini .side-new, .side-mini .side-chev { display: none; } }
.side-sep { height: 1px; margin: 4px 6px; background: rgb(255 255 255 / 10%); }

/* ---------- Вкладки лобби — сегмент с синей активной, как «Лобби / Live казино / Быстрые игры» в образце ---------- */
.is-lobby .lobby-tabs, .lobby-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #1f2128; max-width: 100%; }
.is-lobby .lobby-tab, .lobby-tab { flex: 0 0 auto; height: 38px; padding: 0 18px; border-radius: 999px !important; background: none; color: var(--text); font-weight: 600; font-size: 15px; box-shadow: none; }
.is-lobby .lobby-tab.on, .lobby-tab.on { background: #2f7cf6; color: #fff; box-shadow: none; }

/* ---------- Настройки «скоро» ---------- */
.set-row.soon { opacity: .75; }
.soon-pill { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--s3); color: var(--muted); font-size: 12px; font-weight: 600; }
.lobby-tabs[hidden] { display: none !important; }

/* ---------- Настройки аккаунта (account.js) ---------- */
.acc { display: grid; gap: 12px; }
.acc .box { display: grid; gap: 10px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-field { display: grid; gap: 5px; min-width: 0; }
.acc-field > span:first-child { font-size: 12px; color: var(--muted); font-weight: 600; }
.acc-field .input, .acc .input { height: 44px; font-weight: 600; user-select: text; -webkit-user-select: text; }
.acc-sub { font-weight: 700; font-size: 14px; }
.acc-sep { height: 1px; background: var(--s3); margin: 4px 0; }
.acc-line, .acc-dev { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc-line > div, .acc-dev > div { display: grid; gap: 2px; min-width: 0; }
.acc-dev { padding: 10px 0; border-bottom: 1px solid var(--s3); }
.acc-dev:last-of-type { border-bottom: 0; }
.acc-row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.acc-danger { color: #ff6b6b !important; }
.acc-qr { display: grid; place-items: center; min-height: 180px; padding: 10px; border-radius: 14px; background: #fff; }
.acc-qr svg { width: 200px; height: 200px; }
.acc-secret { padding: 10px; border-radius: 10px; background: var(--s2); color: var(--text); font-family: ui-monospace, Menlo, monospace; font-size: 15px; letter-spacing: .06em; user-select: all; }

/* ---------- Производительность ---------- */
/* Мерцание заглушек — прозрачностью отдельного слоя: её считает видеокарта, а не перерисовка каждой карточки на каждом кадре */
@keyframes cover-op { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.prov-pic, .sk-card .sk { animation: none !important; background: var(--s2) !important; }
.prov-pic::before { content: ''; position: absolute; inset: 0; background: rgb(255 255 255 / 12%); animation: cover-op 1.4s ease-in-out infinite; will-change: opacity; }
.prov-pic img { position: relative; z-index: 1; }
.prov-pic:has(img.ready)::before { display: none; }
.sk-card .sk { animation: cover-op 1.4s ease-in-out infinite !important; background: rgb(255 255 255 / 12%) !important; }
@media (prefers-reduced-motion: reduce) { .prov-pic::before, .sk-card .sk { animation: none !important; } }
/* ряды игр ниже экрана не рисуются, пока до них не долистали */
.prov-sec { content-visibility: auto; contain-intrinsic-size: auto 230px; }
/* закрытое меню на телефоне не держит слой с размытием */
@media (max-width: 1023px) {
  .side { visibility: hidden; transition: transform .28s cubic-bezier(.22, .8, .3, 1), visibility 0s .28s; }
  .side-open .side { visibility: visible; transition: transform .28s cubic-bezier(.22, .8, .3, 1), visibility 0s; }
}

/* ---------- Вход и регистрация для гостей (как в образце) ---------- */
.dtop-login, .hb-login { height: 40px; padding: 0 18px; border-radius: 10px; background: #2a2d36; color: #fff; font-weight: 600; font-size: 15px; }
.is-guest .hb-dep { padding: 0 14px; }
.auth-body { gap: 12px; }
.auth-field { position: relative; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border-radius: 14px; background: var(--l-in); color: var(--l-text); border: 1.5px solid transparent; }
.auth-field:focus-within { border-color: var(--l-blue); background: #fff; }
.auth-field[hidden] { display: none; }
.auth-ico { flex: none; display: grid; place-items: center; padding-right: 12px; border-right: 1px solid var(--l-line); color: #6b7079; }
.auth-ico svg { width: 22px; height: 22px; }
.auth-input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--l-text); font: inherit; font-size: 16px; outline: none; user-select: text; -webkit-user-select: text; }
.auth-input::placeholder { color: #8a8f98; }
.auth-eye { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: none; color: #8a8f98; }
.auth-currency { font-size: 16px; font-weight: 500; }
.auth-currency .auth-caret { margin-left: auto; display: grid; color: #6b7079; }
.auth-hint { font-size: 13px; color: var(--l-muted); margin-top: -4px; }
.auth-hint.center { text-align: center; margin-top: 0; }
.auth-link { justify-self: start; background: none; color: var(--l-blue); font-weight: 600; font-size: 15px; padding: 2px 0; }
.auth-link.right { justify-self: end; }
.auth-link[hidden] { display: none; }
.auth-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3a3f48; line-height: 1.35; }
.auth-agree b { color: var(--l-blue); font-weight: 600; }
.auth-terms-link { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--l-blue); text-decoration: underline; cursor: pointer; }
.auth-terms { max-height: 180px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: #f2f4f7; color: #3a3f48; font-size: 12px; line-height: 1.45; }
.auth-terms p { margin: 0 0 8px; }
.auth-agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--l-blue); }
.auth-go { display: grid; place-items: center; height: 52px; border-radius: 14px; background: var(--l-blue); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; }
.auth-go.green { background: #3fae5a; }
.auth-go.tg { background: #2aabee; }
.auth-go:disabled { opacity: .5; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--l-muted); font-size: 15px; margin-top: 4px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--l-line); }
.auth-social { display: flex; justify-content: center; gap: 8px; }
.auth-social[hidden] { display: none; }
.auth-soc { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--l-in); color: #111318; }
.auth-soc svg { width: 24px; height: 24px; }
.auth-tg-box { display: grid; gap: 10px; }
.auth-tg-box:empty { display: none; }
.auth-pin { text-align: center; font-size: 30px; font-weight: 700; letter-spacing: .2em; color: var(--l-text); }
.auth-switch { display: flex; justify-content: center; gap: 4px; color: #3a3f48; font-size: 15px; margin-top: 6px; }
.auth-switch.col { flex-direction: column; align-items: center; }
.auth-switch button { background: none; color: var(--l-blue); font-weight: 600; font-size: 15px; padding: 0; }

/* ================= Светлые шторки 1:1 с 1win: размеры и цвета сняты с образца ================= */
.cash { --l-text: #141415; --l-muted: #53575f; --l-cap: #6f7480; --l-in: #f0f2f5; --l-in2: #e7e9ed; --l-blue: #0075ff; --l-green: #3fae5a; --l-red: #d93600; --l-line: #dcdfe3;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; }
@media (max-width: 719px) { .cash { max-height: none; height: calc(100% - 24px - env(safe-area-inset-top)); border-radius: 24px 24px 0 0; padding: 0 0 env(safe-area-inset-bottom); } }
@media (min-width: 720px) { .cash { max-height: min(820px, 92vh); padding: 0; } }
.cash:not(.sh) { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.cash-head { font-size: 28px; font-weight: 700; line-height: 32px; letter-spacing: 0; color: var(--l-text); }
.cash-x, .sh-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: none; color: #53575f; font-size: 18px; padding: 0; }
.sh-x svg { width: 22px; height: 22px; }
.cash-seg button { height: 40px; font-size: 14px; font-weight: 600; }
.cash-pick, .cash-input { height: 44px; border-radius: 12px; font-size: 14px; }
.cash-select { font-size: 14px; }
.cash-btn, .cash-submit, .cash-game, .note-clear { height: 44px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.cash-title { font-size: 16px; font-weight: 600; }
.cash-min { font-size: 12px; }
.cash-note { font-size: 12px; border-radius: 12px; }

/* стопка экранов */
.sh { display: flex; flex-direction: column; gap: 0; }
.sh-head { padding: 16px 16px 12px; display: grid; gap: 16px; flex: none; }
.sh-bar { display: flex; align-items: center; justify-content: space-between; height: 24px; }
.sh-back { display: flex; align-items: center; gap: 4px; padding: 0; background: none; color: var(--l-blue); font-size: 14px; font-weight: 600; }
.sh-back svg { width: 20px; height: 20px; stroke-width: 2.5; }
.sh-title-row { display: flex; align-items: center; justify-content: space-between; min-height: 26px; }
.sh-title { font-size: 22px; font-weight: 600; line-height: 26px; color: var(--l-text); }
.sh-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
.sh-stack { display: grid; gap: 24px; }
.sh-stack:has(> .sh-p:first-child) { gap: 12px; }
.sh-sec { display: grid; gap: 12px; }
.sh-sec + .sh-sec:not(:has(.sh-cap)) { margin-top: -12px; }
.sh-cap { font-size: 14px; color: var(--l-cap); line-height: 20px; }
.sh-group { display: grid; border-radius: 16px; background: var(--l-in2); overflow: hidden; }
.sh-hint { font-size: 12px; line-height: 16px; color: var(--l-muted); margin-top: -4px; }
.sh-hint.err { color: var(--l-red); }
.sh-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; color: var(--l-text); text-align: left; }
.sh-row.tap { cursor: pointer; }
.sh-row.tap:active { background: rgb(0 0 0 / 4%); }
.sh-ico { position: relative; flex: none; display: grid; place-items: center; color: #53575f; }
.sh-ico svg { width: 24px; height: 24px; }
.sh-dot { position: absolute; top: -2px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; }
.sh-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sh-text b { font-size: 14px; font-weight: 600; line-height: 20px; }
.sh-text span { font-size: 12px; line-height: 16px; color: var(--l-muted); }
.sh-val { flex: none; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--l-muted); }
.sh-chev { flex: none; display: grid; color: #53575f; margin-right: -4px; }
.sh-chev svg { width: 20px; height: 20px; }
.sh-warn { flex: none; display: grid; color: #fff; background: var(--l-red); border-radius: 50%; width: 20px; height: 20px; place-items: center; }
.sh-warn svg { width: 16px; height: 16px; stroke-width: 2.5; }
.sh-check { display: grid; color: var(--l-blue); }
.sh-check svg { width: 22px; height: 22px; stroke-width: 2.5; }
.sh-end { flex: none; padding: 0; background: none; color: var(--l-red); font-size: 14px; font-weight: 600; }
.sh-ok { color: #3fae5a; font-size: 12px; font-weight: 600; }
.sh-p { font-size: 14px; line-height: 20px; color: var(--l-text); }
.sh-p.cap { color: var(--l-muted); margin-top: 4px; }
.sh-p.small { font-size: 12px; line-height: 16px; color: var(--l-muted); margin-top: -4px; }
.sh-field { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--l-in); border: 1px solid transparent; color: var(--l-text); }
.sh-field:focus-within { border-color: var(--l-blue); }
.sh-fico { flex: none; display: grid; place-items: center; padding-right: 12px; border-right: 1px solid #d4d7dd; color: #6f7480; }
.sh-fico svg { width: 20px; height: 20px; }
.sh-input, .sh-select { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--l-text); font: inherit; font-size: 14px; outline: none; user-select: text; -webkit-user-select: text; }
.sh-input::placeholder { color: #8a8f98; }
.sh-eye { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: none; color: #8a8f98; }
.sh-eye svg { width: 20px; height: 20px; }
.sh-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-btn { height: 44px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--l-in2); color: var(--l-text); }
.sh-btn.blue { background: var(--l-blue); color: #fff; }
.sh-btn.danger { background: #fde9e3; color: var(--l-red); }
.sh-btn.gray { background: var(--l-in2); }
.sh-btn.logout { background: #fde9e3; color: var(--l-red); margin-top: 0; }
.sh-btn:disabled { opacity: .45; }
.sh-rules { margin: -4px 0 0; padding-left: 22px; display: grid; gap: 4px; font-size: 12px; line-height: 16px; color: var(--l-muted); }
.sh-rules li.ok { color: #3fae5a; }
.sh-switch { position: relative; flex: none; width: 51px; height: 31px; }
.sh-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; z-index: 1; cursor: pointer; }
.sh-switch i { position: absolute; inset: 0; border-radius: 999px; background: #d4d7dd; transition: background .2s; }
.sh-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / 20%); transition: transform .2s; }
.sh-switch input:checked + i { background: #34c759; }
.sh-switch input:checked + i::after { transform: translateX(20px); }
.sh-range { width: 140px; accent-color: var(--l-blue); }
.sh-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--l-muted); }
.sh-agree[hidden] { display: none; }
.sh-qr { display: grid; place-items: center; min-height: 190px; padding: 8px; border-radius: 16px; background: var(--l-in); }
.sh-qr svg { width: 190px; height: 190px; }
.sh-secret { padding: 12px; border-radius: 12px; background: var(--l-in); color: var(--l-text); font-family: ui-monospace, Menlo, monospace; font-size: 14px; letter-spacing: .06em; }
.sh-loading { display: grid; gap: 12px; }
.sh-loading .sk { height: 52px; border-radius: 16px; background: var(--l-in2); animation: cover-op 1.4s ease-in-out infinite; }

/* профиль внутри шторки — размеры как у 1win */
.pf-sheet .pfh { gap: 20px; }
.pf-sheet .pfh-top { gap: 4px; padding: 8px 0 0; }
.pf-sheet .pfh-name { font-size: 20px; font-weight: 600; line-height: 24px; }
.pf-sheet .pfh-id { font-size: 12px; color: #9aa1b1; }
.pf-sheet .pfh-id svg { width: 16px; height: 16px; }
.pf-sheet .pfh-card { gap: 4px; padding: 16px; border-radius: 16px; background: #f2f3f4; }
.pf-sheet .pfh-card > .muted { font-size: 12px; color: var(--l-muted); }
.pf-sheet .pfh-balance { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.pf-sheet .pfh-dep, .pf-sheet .pfh-out { height: 36px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.pf-sheet .pfh-out { background: #e7e9ed; }
.pf-sheet .pfh-dep span { width: 18px; height: 18px; }
.pf-sheet .pfh-list { border-radius: 16px; background: #e7e9ed; }
.pf-sheet .pf-row { gap: 12px; padding-left: 16px; }
.pf-sheet .pf-text { padding: 12px 16px 12px 0; gap: 2px; border-bottom-color: #d8dbe0; }
.pf-sheet .pf-text b { font-size: 14px; font-weight: 600; line-height: 20px; }
.pf-sheet .pf-text .muted { font-size: 12px; line-height: 16px; color: var(--l-muted); }
.pf-sheet .pf-ico svg { width: 24px; height: 24px; }
.pf-sheet .pfh-logout { height: 44px; border-radius: 12px; background: #fde9e3; color: var(--l-red); font-size: 14px; font-weight: 600; }

/* вход и регистрация — те же размеры */
.auth-field { height: 44px; border-radius: 12px; border-width: 1px; }
.auth-input { font-size: 14px; }
.auth-ico svg { width: 20px; height: 20px; }
.auth-go { height: 44px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.auth-link, .auth-switch, .auth-switch button { font-size: 14px; }
.auth-hint, .auth-agree { font-size: 12px; }
.auth-soc { width: 44px; height: 44px; border-radius: 12px; }

/* ================= ПК: размеры как у 1win на 1440 px (меню 280, шапка 68, поля 48, карточки 130×177 с зазором 4) ================= */
.side-nav { grid-template-columns: minmax(0, 1fr); }
.side > *, .side-item, .side-user { min-width: 0; }
@media (min-width: 1024px) {
  html:not(.side-mini) { --side-w: 280px; }
  html.side-mini { --side-w: 64px; }
  :root { --card-gap: 4px; --card-r: 10px; }
  .side { padding: 16px 16px 16px; gap: 8px; }
  .side-item, .side-support { min-height: 40px; padding: 8px 10px; border-radius: 10px; gap: 10px; font-size: 14px; font-weight: 500; }
  .side-ico svg { width: 20px; height: 20px; }
  .side-kid { padding: 8px 10px; font-size: 14px; }
  .side-kids { padding-left: 40px; }
  .side-user { padding: 4px; gap: 10px; }
  .side-avatar { width: 48px; height: 48px; }
  .side-avatar svg { width: 24px; height: 24px; }
  .side-promo { padding: 12px 76px 12px 12px; border-radius: 12px; }
  .side-promo b { font-size: 14px; }
  .side-promo i svg { width: 44px; height: 44px; }
  .side-card { padding: 12px; border-radius: 12px; }
  .dtop { height: 68px; padding: 0 48px; gap: 24px; }
  .dtop-tabs { height: 44px; padding: 4px; gap: 0; border-radius: 14px; background: rgb(179 182 189 / 12%); }
  .dtop-tab { display: grid; place-items: center; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
  .dtop-tab.on { background: #0075ff; }
  .dtop-dep, .dtop-login { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
  .dtop-balance { height: 40px; font-size: 14px; }
  .bell { width: 40px; height: 40px; }
  .has-tabbar .view, .has-tabbar .view.is-lobby { padding: 92px max(48px, calc((100vw - var(--side-w) - 1344px) / 2)) 48px; }
  .hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; margin-bottom: 24px; }
  .hero-main { height: 272px; border-radius: 24px; }
  .hero-card { border-radius: 24px; }
  .hero-text b { font-size: 36px; }
  .prov-arrows button { width: 32px; height: 32px; border-radius: 8px; }
  .prov-sec-head b { font-size: 16px; }
  .lobby-tab { height: 36px; font-size: 14px; }
}
/* точки баннера не наезжают на кнопку «Играть» на телефоне */
@media (max-width: 1023px) { .hero-main { height: 200px; } .hero-slide { padding: 16px 16px 34px; } .hero-text { gap: 6px; } .hero-text b { font-size: 22px; } .hero-dots { left: 16px; bottom: 10px; } }

/* ================= Телефон 1:1 с 1win: шапка 60, «Пополнить» 32, баннер 165 со скруглением 20, карточки 96 ================= */
@media (max-width: 1023px) {
  .has-tabbar .crumbs.crumbs-brand { min-height: 44px; margin-bottom: 12px; gap: 12px; font-size: 16px; }
  .crumbs-brand .brand { font-size: 18px; gap: 8px; }
  .crumbs-brand .brand i { width: 28px; height: 28px; border-radius: 8px; font-size: 16px; }
  .hb { gap: 0; }
  .hb-cur { font-size: 12px; font-weight: 600; }
  .hb-cur svg { width: 12px; height: 12px; }
  .hb b { font-size: 14px; font-weight: 600; }
  .hb-dep, .hb-login { height: 32px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
  .head-bell, .crumbs-brand .bell { width: 32px; height: 32px; border-radius: 8px; margin-left: 0; }
  .crumbs-brand .bell svg { width: 18px; height: 18px; }
  .crumbs-brand .bell-badge { top: -5px; right: -5px; min-width: 16px; height: 16px; font-size: 10px; }

  .hero { gap: 8px; margin-bottom: 24px; }
  .hero-main { height: 165px; border-radius: 20px; }
  .hero-slide { padding: 20px 16px 30px 20px; }
  .hero-text { max-width: 60%; gap: 10px; }
  .hero-text b { font-size: 20px; line-height: 24px; font-weight: 600; }
  .hero-text span { display: none; }
  .hero-btn { padding: 0 18px; height: 32px; font-size: 14px; font-weight: 600; margin-top: 0; }
  .hero-art svg { max-height: 130px; }
  .hero-dots { left: 20px; bottom: 12px; gap: 4px; padding: 4px; border-radius: 8px; background: rgb(179 182 189 / 12%); }
  .hero-dots i, .hero-dots i.on { width: 5px; height: 5px; border-radius: 50%; }
  .hero-dots i { background: rgb(255 255 255 / 32%); }
  .hero-dots i.on { background: #f0f2f5; }
  .hero-side { grid-template-columns: minmax(0, 1fr) 98px; gap: 8px; }
  .hero-card { min-height: 96px; height: 96px; padding: 12px 80px 12px 12px; border-radius: 20px; }
  .hero-card b { font-size: 16px; font-weight: 600; }
  .hero-card span { font-size: 12px; line-height: 16px; }
  .hero-card i { right: 6px; bottom: 6px; }
  .hero-card i svg { width: 56px; height: 56px; }
  .hero-card.square { padding: 10px 6px; justify-items: center; align-content: start; text-align: center; }
  .hero-card.square b { font-size: 14px; }
  .hero-card.square i { left: 50%; right: auto; bottom: 8px; transform: translateX(-50%) rotate(-6deg); }
  .hero-card.square i svg { width: 46px; height: 46px; }

  /* казино: вкладки, баннер, поиск — с отступами 24 как у 1win */
  .is-lobby .lobby-tabs { margin-bottom: 24px; }
  .is-lobby .lobby-tab { height: 36px; padding: 0 16px; font-size: 14px; font-weight: 600; }
  .prov-bar .input, .prov-bar-btn { height: 44px; border-radius: 12px; font-size: 14px; }
  .prov-sec-head b { font-size: 16px; font-weight: 600; }
  .view .notice { margin-top: 16px; }
}
/* на компьютере квадратная карточка — тоже в стопке справа */
@media (min-width: 1024px) {
  .hero-card.square { align-content: center; }
}
/* «Лучшая игра недели» справа от баннера казино */
.hero-week { position: relative; display: grid; align-content: start; justify-items: center; gap: 4px; height: 100%; padding: 18px 16px 16px; border-radius: 24px; background: linear-gradient(170deg, #3d7bff, #1f3fb8); color: #fff; text-decoration: none; text-align: center; overflow: hidden; }
.hero-week b { font-size: 20px; font-weight: 600; }
.hero-week span { font-size: 13px; opacity: .85; }
.hero-week-art { width: 150px; height: 120px; }
.hero-week-art svg { width: 100%; height: 100%; }
.hero-week-btn { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 40px; border-radius: 12px; background: #fff; color: #141415; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; }
@media (max-width: 1023px) { .hero.casino .hero-side { display: none; } }
@media (min-width: 1024px) { .hero.casino .hero-side { grid-template-rows: 1fr; } }

/* ================= Бонусы как в 1win ================= */
.bn { display: grid; gap: 12px; }
.bn-loading { display: grid; gap: 12px; }
.bn-loading .sk { height: 220px; border-radius: 20px; }
.bn-h { margin: 4px 0 0; font-size: 20px; font-weight: 600; }
.bn-sub { margin-top: -6px; font-size: 14px; color: var(--muted); }
.bn-h3 { margin: 16px 0 0; font-size: 20px; font-weight: 600; }
.bn-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 8px; }
.bn-track::-webkit-scrollbar { display: none; }
.bn-welcome { flex: 0 0 216px; scroll-snap-align: start; display: grid; justify-items: center; align-content: end; gap: 8px; min-height: 242px; padding: 16px; border-radius: 20px; color: #fff; text-align: center; position: relative; overflow: hidden; }
.bn-welcome.used, .bn-welcome.missed, .bn-welcome.expired { opacity: .55; }
.bn-gift { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); opacity: .9; }
.bn-gift svg { width: 76px; height: 76px; stroke-width: 1.6; }
.bn-pct { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 600; margin-top: 92px; }
.bn-step { font-size: 12px; opacity: .8; }
.bn-info { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border-radius: 50%; background: none; color: #fff; opacity: .9; }
.bn-info svg { width: 20px; height: 20px; }
.bn-info.small svg { width: 16px; height: 16px; }
.bn-timer { display: flex; align-items: center; gap: 3px; min-height: 22px; }
.bn-timer b { min-width: 24px; padding: 3px 4px; border-radius: 6px; background: rgb(0 0 0 / 25%); font-size: 12px; font-weight: 600; text-align: center; }
.bn-timer i { font-style: normal; font-size: 12px; opacity: .8; }
.bn-get { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px; border-radius: 12px; background: #fff; color: #141415; font-size: 14px; font-weight: 600; }
.bn-get:disabled { opacity: .5; }
.bn-get.lock, .bn-get.done { background: rgb(255 255 255 / 22%); color: #fff; }
.bn-get.lock svg, .bn-get.done svg { width: 18px; height: 18px; }
.bn-avail { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #3f5276, #7085ad); color: #fff; }
.bn-avail b { font-size: 18px; font-weight: 600; }
.bn-avail p { margin: 0; font-size: 13px; line-height: 18px; opacity: .9; max-width: 80%; }
.bn-avail-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 4px; }
.bn-avail-row > div { display: grid; gap: 6px; }
.bn-avail .bn-get { width: 140px; flex: none; }
.bn-small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.bn-avail .bn-small { color: rgb(255 255 255 / 85%); }
.bn-current { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--s1); }
.bn-cur-head { display: flex; align-items: center; justify-content: space-between; }
.bn-cur-head b { font-size: 16px; font-weight: 600; }
.bn-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #0075ff; color: #fff; }
.bn-badge.wagering { background: #00b24b; }
.bn-cur-sum { display: grid; font-size: 24px; font-weight: 600; }
.bn-cur-sum span { font-size: 12px; font-weight: 400; color: var(--muted); }
.bn-bar { height: 8px; border-radius: 999px; background: rgb(179 182 189 / 16%); overflow: hidden; }
.bn-bar i { display: block; height: 100%; border-radius: inherit; background: #00b24b; }
.bn-cur-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.bn-current .bn-get { background: #00b24b; color: #fff; }
.bn-ghost { height: 40px; padding: 0 16px; border-radius: 12px; background: rgb(179 182 189 / 12%); color: var(--text); font-weight: 600; }
.bn-queue { margin-top: -4px; }
.bn-faq { display: grid; gap: 0; margin-top: 16px; }
.bn-faq h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.bn-faq-item { border-bottom: 1px solid rgb(255 255 255 / 8%); }
.bn-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 0; background: none; color: var(--text); font-size: 15px; font-weight: 600; text-align: left; }
.bn-faq-q i { display: grid; color: var(--muted); transition: transform .2s; }
.bn-faq-q.open i { transform: rotate(180deg); }
.bn-faq-a { padding: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 20px; }
.bn-faq-a p { margin: 0 0 6px; }
.bn-faq-a[hidden] { display: none; }
.bn-cap { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--l-text); }
.bn-cap-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #0075ff; color: #fff; }
.bn-cap-ico svg { width: 16px; height: 16px; stroke-width: 2.5; }
@media (min-width: 1024px) { .bn-track { margin: 8px 0 0; padding: 0; } .bn-welcome { flex-basis: 240px; } }
.cash-picked { color: #00b24b; font-weight: 600; font-size: 13px; }
.cash-bonus { align-items: center; }
.cash-bonus > div { flex: 1; min-width: 0; }
.cash-pick-btn { height: 36px; padding: 0 14px; border-radius: 10px; background: var(--l-blue); color: #fff; font-weight: 600; font-size: 14px; }
/* подробности бонуса: подписи обычным шрифтом, значения жирным — как в 1win */
.bn-sheet .sh-text b { font-weight: 400; color: #53575f; }
.bn-sheet .sh-val { color: #141415; font-weight: 600; }
.bn-sheet .sh-row { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }

/* ================= VIP-программа как в 1win ================= */
.vip { display: grid; gap: 12px; }
.vip-hero { position: relative; display: grid; gap: 4px; padding: 8px 0 4px; overflow: hidden; }
.vip-hero-cup { position: absolute; right: -20px; top: 0; color: #e0a83a; opacity: .9; }
.vip-hero-cup svg { width: 210px; height: 210px; stroke-width: 1; filter: drop-shadow(0 10px 30px rgb(224 168 58 / 35%)); }
.vip-hero h1 { position: relative; margin: 0 0 90px; font-size: 26px; line-height: 30px; font-weight: 600; }
.vip-hero h2 { position: relative; margin: 0; font-size: 28px; line-height: 32px; font-weight: 600; max-width: 60%; }
.vip-hero p { position: relative; margin: 0 0 12px; font-size: 15px; }
.vip-btn { position: relative; height: 44px; border-radius: 12px; background: #0075ff; color: #fff; font-size: 14px; font-weight: 600; }
.vip-h { margin: 20px 0 0; font-size: 20px; font-weight: 600; }
.vip-steps { display: grid; border-radius: 20px; background: linear-gradient(160deg, #2b3a58, #1d2433); overflow: hidden; }
.vip-step { display: flex; justify-content: space-between; gap: 12px; padding: 18px 16px; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.vip-step:last-child { border-bottom: 0; }
.vip-step > div { display: grid; gap: 6px; justify-items: start; }
.vip-step b { font-size: 17px; font-weight: 600; }
.vip-step p { margin: 0; font-size: 13px; color: rgb(240 242 245 / 75%); }
.vip-chip { padding: 3px 10px; border-radius: 8px; background: rgb(255 255 255 / 12%); font-size: 12px; font-weight: 600; }
.vip-step-ico { flex: none; color: rgb(255 255 255 / 80%); }
.vip-step-ico svg { width: 56px; height: 56px; stroke-width: 1.3; }
.vip-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.vip-track::-webkit-scrollbar { display: none; }
.vip-level { flex: 0 0 268px; scroll-snap-align: start; display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 20px; background: var(--s1); border: 1px solid rgb(255 255 255 / 6%); }
.vip-level.me { border-color: #0075ff; box-shadow: 0 0 0 1px #0075ff inset; }
.vip-level-head { display: flex; align-items: flex-start; justify-content: space-between; }
.vip-level-head b { font-size: 20px; font-weight: 600; }
.vip-cup svg { width: 44px; height: 44px; stroke-width: 1.5; }
.vip-cup.big svg { width: 40px; height: 40px; }
.vip-turn { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.vip-muted { font-size: 13px; color: var(--muted); }
.vip-muted.small { font-size: 12px; }
.vip-perks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vip-perks li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.vip-perks li.on { color: var(--text); }
.vip-perks li span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--muted); }
.vip-perks li span svg { width: 14px; height: 14px; }
.vip-perks li.on span { background: #00b24b; color: #fff; }
.vip-perks li.on span svg { width: 11px; height: 11px; stroke-width: 3; }
.vip-club { display: grid; justify-items: center; gap: 8px; padding: 24px 16px; border-radius: 20px; background: linear-gradient(170deg, #2c3a5a, #3e5480); text-align: center; margin-top: 8px; }
.vip-club-ico { color: #dfe6f5; }
.vip-club-ico svg { width: 80px; height: 80px; stroke-width: 1.2; }
.vip-club b { font-size: 22px; font-weight: 600; }
.vip-club p { margin: 0 0 8px; font-size: 14px; color: rgb(240 242 245 / 80%); }
.vip-club .vip-btn { padding: 0 28px; }
.vip-mine { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: var(--s1); }
.vip-mine-head { display: flex; align-items: center; gap: 12px; }
.vip-mine-head > div { display: grid; }
.vip-mine-head b { font-size: 20px; font-weight: 600; }
.vip-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.vip-reward { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: rgb(179 182 189 / 12%); }
.vip-reward b { font-size: 18px; font-weight: 600; }
.vip-claim { height: 36px; margin-top: 4px; border-radius: 10px; background: #00b24b; color: #fff; font-weight: 600; }
.vip-claim:disabled { opacity: .4; }
@media (min-width: 1024px) { .vip-hero h1 { margin-bottom: 40px; } .vip-hero-cup { right: 40px; } .vip-hero-cup svg { width: 260px; height: 260px; } .vip-hero .vip-btn { max-width: 320px; } .vip-steps { grid-template-columns: repeat(3, 1fr); } .vip-step { border-bottom: 0; border-right: 1px solid rgb(255 255 255 / 8%); } }
.ft-social { flex-wrap: wrap; } .ft-social a svg { width: 22px; height: 22px; }

/* ---------- Правила ---------- */
.rl { display: grid; gap: 24px; }
.rl-group { display: grid; gap: 8px; }
.rl-cap { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 18px; font-weight: 600; }
.rl-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #0075ff; color: #fff; }
.rl-ico svg { width: 16px; height: 16px; }
.rl-doc { border-radius: 14px; background: var(--s1); overflow: hidden; }
.rl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 14px 16px; background: none; color: var(--text); font-size: 15px; font-weight: 600; text-align: left; }
.rl-head i { display: grid; color: var(--muted); transition: transform .2s; }
.rl-head.open i { transform: rotate(180deg); }
.rl-body { padding: 0 16px 14px; color: var(--muted); font-size: 14px; line-height: 20px; }
.rl-body p { margin: 0 0 8px; }
.rl-body[hidden] { display: none; }
/* верх подвала: логотип, линия, кнопка «наверх» */
.ft-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ft-top .brand { font-size: 20px; }
.ft-line { flex: 1; height: 1px; background: rgb(255 255 255 / 10%); }
.ft-up { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(179 182 189 / 12%); color: var(--text); }
.ft-up:active { transform: scale(.95); }

/* ---------- Партнёрская программа ---------- */
.pt-hero { position: relative; display: grid; gap: 20px; padding: 24px 20px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, #1f6bff 0%, #1a3a8f 35%, #151b2e 75%); }
.pt-hero-text { display: grid; gap: 10px; justify-items: start; }
.pt-tag { padding: 4px 10px; border-radius: 8px; background: rgb(255 255 255 / 14%); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pt-hero h1 { margin: 0; font-size: 28px; line-height: 32px; font-weight: 600; }
.pt-hero p { margin: 0 0 6px; font-size: 15px; color: rgb(240 242 245 / 85%); max-width: 520px; }
.pt-hero .vip-btn { padding: 0 28px; }
.pt-hero-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pt-hero-nums div { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgb(0 0 0 / 22%); }
.pt-hero-nums b { font-size: 20px; font-weight: 600; }
.pt-hero-nums span { font-size: 12px; color: rgb(240 242 245 / 75%); }
.pt-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pt-tier { display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: var(--s1); }
.pt-tier b { font-size: 28px; font-weight: 600; color: #00b24b; }
.pt-tier span { font-size: 13px; color: var(--muted); }
.pt-note { margin-top: -4px; }
.pt-cab { display: grid; gap: 12px; }
.pt-top { display: grid; gap: 8px; }
.pt-card { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 20px; background: var(--s1); }
.pt-card > b { font-size: 16px; font-weight: 600; }
.pt-big { font-size: 26px !important; font-weight: 600 !important; }
.pt-bal { background: linear-gradient(160deg, #1a3a8f, #1d1e20 80%); }
.pt-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 6px 0 14px; border-radius: 12px; background: rgb(179 182 189 / 12%); font-size: 14px; }
.pt-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-copy button { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #0075ff; color: #fff; }
.pt-copy button svg { width: 18px; height: 18px; }
.pt-period { display: flex; gap: 6px; }
.pt-period button { height: 36px; padding: 0 14px; border-radius: 10px; background: rgb(179 182 189 / 12%); color: var(--muted); font-size: 14px; font-weight: 600; }
.pt-period button.on { background: #0075ff; color: #fff; }
.pt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pt-tile { display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: var(--s1); }
.pt-tile span { font-size: 13px; color: var(--muted); }
.pt-tile b { font-size: 18px; font-weight: 600; }
.pt-tile i { font-style: normal; font-size: 12px; color: var(--muted); }
.pt-chart { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding-top: 8px; }
.pt-chart i { flex: 1; min-width: 2px; border-radius: 3px 3px 0 0; background: #00b24b; }
.pt-chart i.neg { background: #ff5d26; }
.pt-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pt-table { display: grid; }
.pt-row { display: grid; grid-template-columns: 1.6fr 1fr .8fr 1fr; align-items: center; gap: 8px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / 6%); font-size: 13px; }
.pt-row:last-child { border-bottom: 0; }
.pt-row.head { min-height: 32px; color: var(--muted); font-size: 12px; }
.pt-row > :not(:first-child) { text-align: right; }
.pt-link { display: grid; justify-items: start; gap: 2px; background: none; color: var(--text); text-align: left; padding: 0; }
.pt-link b { font-size: 13px; font-weight: 600; }
.pt-link i { font-style: normal; font-size: 12px; color: #4d9bff; }
.pt-plus { color: #00b24b; }
.pt-add .input { flex: 1; min-width: 0; }
@media (min-width: 1024px) {
  .pt-hero { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 40px; }
  .pt-hero h1 { font-size: 40px; line-height: 44px; }
  .pt-hero-nums { grid-template-columns: 1fr; }
  .pt-tiers { grid-template-columns: repeat(4, 1fr); }
  .pt-top { grid-template-columns: repeat(3, 1fr); }
  .pt-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) { .pt-hero-nums b { font-size: 16px; } .pt-hero-nums div { padding: 10px; } }

/* ---------- Загрузки и анимации, как у 1win ---------- */
@keyframes sp-pulse { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@keyframes sp-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes sp-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes spin-btn { to { transform: rotate(360deg); } }
/* заставка до запуска приложения */
.splash { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--bg, #141415); } /* inset вместо height:100vh: в PWA на iPhone 100vh короче экрана, и нижняя панель заставки обрезалась */
/* шапка и нижняя панель заставки повторяют настоящие (отступ 10px + вырез, строка 44px; панель 4px + 52px + низ), иначе при замене заставки страница «прыгает» */
html:has(.splash) { background: var(--s1, #1d1e20); } /* PWA на iPhone: до запуска страница короче экрана — полоса под заставкой одного цвета с панелью */
.splash .sp-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: calc(54px + env(safe-area-inset-top)); padding: calc(10px + env(safe-area-inset-top)) 16px 0; }
.splash .sp-r { display: flex; align-items: center; gap: 8px; }
.splash .sp-r i, .splash .sp-side i, .splash .sp-tab i, .splash .sp-tab b { display: block; background: rgb(255 255 255 / 7%); animation: sp-pulse 1.4s ease-in-out infinite; }
.splash .sp-pill { width: 72px; height: 22px; border-radius: 8px; }
.splash .sp-btn { width: 100px; height: 32px; border-radius: 8px; }
.splash .sp-sq { width: 32px; height: 32px; border-radius: 8px; }
.splash .sp-mid { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sp-logo { font-size: 34px !important; gap: 12px !important; opacity: .5; animation: sp-pulse 1.4s ease-in-out infinite; }
.sp-logo i { width: 46px !important; height: 46px !important; border-radius: 12px !important; font-size: 28px !important; }
.splash .sp-tab { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: flex-start; height: calc(56px + max(6px, calc(env(safe-area-inset-bottom) - 12px))); padding: 4px 0 0; background: var(--s1, #1d1e20); }
.splash .sp-tab span { display: grid; justify-items: center; align-content: center; gap: 6px; height: 52px; }
.splash .sp-tab i { width: 24px; height: 24px; border-radius: 50%; }
.splash .sp-tab b { width: 48px; height: 10px; border-radius: 5px; }
.splash .sp-side { display: none; }
@media (min-width: 1024px) {
  .splash .sp-top { left: var(--side-w); height: 68px; padding: 0 24px; }
  .splash .sp-top .brand { visibility: hidden; }
  .splash .sp-tab { display: none; }
  .splash .sp-mid { left: var(--side-w); }
  .splash .sp-side { position: absolute; top: 0; bottom: 0; left: 0; width: var(--side-w); overflow: hidden; display: grid; align-content: start; gap: 14px; padding: 20px 16px; background: var(--s1, #1d1e20); }
  .side-mini .splash .sp-side { padding: 20px 10px; }
  .side-mini .splash .sp-side .sp-bar { height: 40px; border-radius: 12px; }
  .side-mini .splash .sp-side :is(.w60, .w70, .w50) { width: 100%; }
  .side-mini .splash .sp-side .sp-box { height: 40px; }
  .splash .sp-side .sp-bar { height: 20px; border-radius: 8px; }
  .splash .sp-side .sp-box { height: 72px; border-radius: 14px; }
  .splash .sp-side .w60 { width: 60%; } .splash .sp-side .w70 { width: 70%; } .splash .sp-side .w50 { width: 50%; }
}
/* экран загрузки игры провайдера */
.provider-stage { position: relative; flex: 1; display: flex; }
.game-load { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg, #141415); transition: opacity .3s; }
.game-load.done { opacity: 0; pointer-events: none; }
.game-load .sp-logo { opacity: .8; }
.game-load-bar { position: relative; width: 180px; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 10%); overflow: hidden; }
.game-load-bar i { position: absolute; inset: 0; width: 40%; border-radius: 2px; background: #0075ff; animation: sp-bar 1.1s ease-in-out infinite; }
/* кнопка в ожидании ответа: вместо текста — крутилка */
.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.is-busy > * { visibility: hidden; }
.is-busy::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 35%); border-top-color: #fff; animation: spin-btn .7s linear infinite; }
/* карточка игры при наведении на ПК: затемнение и кнопка «играть» */
@media (hover: hover) and (min-width: 1024px) {
  .prov-card, .game-card { transition: transform .2s ease, box-shadow .2s ease; }
  .prov-card:hover, .game-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgb(0 0 0 / 45%); }
  .prov-card::before, .game-card::before {
    content: ''; position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .2s ease;
    background: center / 48px 48px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%230075ff'/%3E%3Cpath d='M19 15.5v17l14-8.5z' fill='%23fff'/%3E%3C/svg%3E"), rgb(0 0 0 / 45%);
  }
  .prov-card:hover::before, .game-card:hover::before { opacity: 1; }
  .prov-card:hover .prov-pic img { transform: scale(1.06); }
  .prov-pic img { transition: opacity .25s ease-out, transform .35s ease; }
}
/* плавное появление блоков страницы снизу вверх, по очереди */
.page > section, .page > .pt-cab > section, .vip-track > .vip-level { animation: sp-in .4s cubic-bezier(.22, .8, .3, 1) both; }
.page > :nth-child(2) { animation-delay: .04s; } .page > :nth-child(3) { animation-delay: .08s; } .page > :nth-child(4) { animation-delay: .12s; } .page > :nth-child(5) { animation-delay: .16s; } .page > :nth-child(n+6) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .splash *, .sp-logo, .game-load-bar i, .page > section, .page > .pt-cab > section, .vip-track > .vip-level { animation: none !important; } }

/* ---------- Низ меню: приложение под систему и контакты, как у 1win ---------- */
.side-card.side-app { display: flex; align-items: center; gap: 12px; text-align: left; color: var(--text); }
.side-app-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #0b0c0e; color: #fff; }
.side-app-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.side-app-text b { font-size: 14px; font-weight: 600; }
.side-app-text .small { font-size: 12px; line-height: 16px; }
.side-app-go { display: grid; color: var(--muted); }
.side-app-go svg { width: 18px; height: 18px; }
.side-contacts { display: grid; gap: 8px; }
.side-social a, .side-more { flex: 1; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--text); background: var(--surf, var(--s2)); }
.side-social a svg, .side-more svg { width: 20px; height: 20px; }
.side-social a:hover, .side-more:hover { filter: brightness(1.25); }
/* окно «Соцсети»: белая карточка рядом с меню, список со значками — как у 1win */
.soc-pop { --l-bg: #fff; --l-in: #f1f2f4; --l-text: #111318; --l-line: #e4e6ea; position: fixed; z-index: 90; width: min(310px, calc(100vw - 24px)); max-height: min(420px, calc(100vh - 24px)); display: flex; flex-direction: column; padding: 14px 16px 6px; border-radius: 16px; background: var(--l-bg); color: var(--l-text); box-shadow: 0 18px 60px rgb(0 0 0 / 55%); animation: soc-in .16s ease-out; }
.soc-pop.tip::before { content: ''; position: absolute; left: -6px; bottom: 17px; width: 14px; height: 14px; background: var(--l-bg); border-radius: 3px; transform: rotate(45deg); }
.soc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font-size: 16px; }
.soc-x { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: none; color: var(--l-text); }
.soc-x:hover { background: var(--l-in); }
.soc-x svg { width: 16px; height: 16px; }
.soc-list { overflow-y: auto; margin: 0 -6px; padding: 0 6px 6px; }
.soc-row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--l-line); color: var(--l-text); text-decoration: none; }
.soc-row:last-child { border-bottom: 0; }
.soc-row:hover b { color: var(--l-blue, #2f7cf6); }
.soc-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--l-in); }
.soc-ico svg { width: 18px; height: 18px; }
.soc-row b { font-size: 13px; font-weight: 600; }
@media (max-width: 699px) { .soc-pop { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); animation: none; } }
@keyframes soc-in { from { opacity: 0; transform: translateY(8px); } }
/* свёрнутое меню: значок системы кружком и контакты квадратом 2×2, как у 1win */
@media (min-width: 1024px) {
  .side-mini .side-card.side-app { display: flex; justify-content: center; padding: 0; background: none !important; }
  .side-mini :is(.side-app-text, .side-app-go) { display: none; }
  .side-mini .side-contacts { display: grid; }
  .side-mini .side-contacts > .side-social:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 6px; border-radius: 12px; background: var(--surf, var(--s2)); }
  .side-mini .side-contacts > .side-social:first-child :is(a, .side-more) { height: 20px; background: none; }
  .side-mini .side-contacts > .side-social:first-child svg { width: 14px; height: 14px; }
  .side-mini .side-social-more { display: none; }
}

/* ---------- Подвал ПК: отдельная раскладка, как у 1win ---------- */
.ft-d { display: none; }
.ft-m { display: grid; gap: 14px; } /* у мобильного подвала свои отступы между блоками — иначе карточки слипаются */
@media (min-width: 1024px) {
  .ft-m { display: none; }
  .ft-d { display: grid; gap: 24px; }
  .ft { margin-top: 48px; gap: 24px; }
  .ftd-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; } /* 2 карточки (установка и поддержка) или 3 — делят ширину поровну */
  .ftd-card { display: grid; align-content: space-between; gap: 18px; padding: 16px; border-radius: 16px; background: var(--s1); }
  .ftd-card-top { display: flex; justify-content: space-between; gap: 12px; }
  .ftd-card-text { display: grid; gap: 8px; align-content: start; }
  .ftd-card-text b { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; line-height: 22px; }
  .ftd-card-text .muted { font-size: 13px; line-height: 18px; }
  .ftd-art { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(145deg, #4b79a8, #2b4f78); color: #fff; }
  .ftd-art svg { width: 26px; height: 26px; }
  .ftd-btn { height: 44px; border-radius: 10px; background: rgb(179 182 189 / 12%); color: var(--text); font-size: 15px; font-weight: 600; }
  .ftd-btn:hover { background: rgb(179 182 189 / 20%); }
  .ftd-cols { display: grid; grid-template-columns: auto auto 1fr; gap: 64px; align-items: start; }
  .ftd-col { display: grid; gap: 14px; justify-items: start; }
  .ftd-col > b { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
  .ftd-grid { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 48px; }
  .ftd-link { padding: 0; background: none; color: var(--muted); font-size: 15px; text-align: left; }
  .ftd-link:hover { color: var(--text); }
  .ftd-contacts { justify-self: end; width: min(100%, 440px); display: grid; border-radius: 16px; background: var(--s1); overflow: hidden; }
  .ftd-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; background: none; color: var(--text); text-align: left; border-bottom: 1px solid rgb(255 255 255 / 6%); }
  .ftd-contact:last-child { border-bottom: 0; }
  .ftd-contact > span { display: grid; gap: 6px; }
  .ftd-contact .muted { font-size: 13px; }
  .ftd-contact b { font-size: 15px; font-weight: 500; }
  .ftd-contact i { display: grid; color: var(--muted); }
  .ftd-contact:hover i { color: var(--text); }
  .ftd-sep { height: 1px; background: rgb(255 255 255 / 8%); }
  .ft-d .ft-social a { width: 44px; height: 44px; }
}

.side-avatar { overflow: hidden; }
.side-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Касса: выбор бонуса ---------- */
.cash-bonus-wrap { display: grid; gap: 8px; }
button.cash-bonus { width: 100%; text-align: left; color: var(--l-text); }
/* карточка с переключателем: нажатие на текст открывает список, переключатель снимает или ставит отметку */
.cash-bonus-head { gap: 0; padding: 0 16px 0 0; }
.cash-bonus-open { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; padding: 16px; text-align: left; color: var(--l-text); }
.cash-bonus-open > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cash-bonus-caret { display: grid; color: var(--l-muted); transition: transform .2s; }
.cash-bonus.open .cash-bonus-caret { transform: rotate(180deg); }
.cash-opts { display: grid; border-radius: 16px; background: var(--l-in); overflow: hidden; animation: cash-fade .15s ease-out; }
.cash-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px; background: none; color: var(--l-text); text-align: left; border-bottom: 1px solid var(--l-line); }
.cash-opt:last-child { border-bottom: 0; }
.cash-opt > span { display: grid; gap: 2px; }
.cash-opt b { font-size: 15px; font-weight: 600; }
.cash-opt .muted { font-size: 13px; color: var(--l-muted); }
.cash-opt:disabled { opacity: .45; }
.cash-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c3c7ce; }
.cash-opt.on .cash-radio { border: 6px solid var(--l-blue); }

/* ---------- Счета: баланс в шапке и меню выбора счёта ---------- */
.hb-cur.real { color: var(--muted); }
.dtop-hb { height: 40px; padding: 0 4px; border-radius: 0; background: none; box-shadow: none; }
.dtop-hb b { font-size: 18px; font-weight: 600; }
.acc-menu { position: fixed; z-index: 130; width: min(320px, calc(100vw - 16px)); display: grid; gap: 4px; padding: 8px; border-radius: 16px; background: var(--s1); box-shadow: 0 16px 40px rgb(0 0 0 / 45%); border: 1px solid rgb(255 255 255 / 6%); animation: cash-fade .15s ease-out; }
.acc-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 12px; background: none; color: var(--text); text-align: left; }
.acc-opt:hover { background: rgb(255 255 255 / 5%); }
.acc-opt.on { background: rgb(0 117 255 / 14%); box-shadow: inset 0 0 0 1px rgb(0 117 255 / 55%); }
.acc-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 700; }
.acc-ico.real { background: #26a17b; }
.acc-ico.demo { background: #5b6170; }
.acc-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.acc-txt b { font-size: 14px; font-weight: 600; }
.acc-txt span { font-size: 12px; color: var(--muted); }
.acc-sum { font-size: 14px; font-weight: 600; }
.acc-dep { height: 40px; margin-top: 4px; border-radius: 10px; background: #00b24b; color: #fff; font-weight: 600; }

/* ---------- Касса: USDT в сети TON ---------- */
.cash-ton { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--l-in); }
.cash-qr.ton { width: 132px; height: 132px; background: #fff; padding: 4px; }
.cash-qr.ton svg { width: 100%; height: 100%; display: block; }
.cash-ton-side { display: grid; gap: 8px; flex: 1; min-width: 0; }
a.cash-btn { display: grid; place-items: center; text-decoration: none; }
.cash-btn.ghost { background: var(--l-in2); color: var(--l-text); }
.cash-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--l-in); }
.cash-copy > div { display: grid; gap: 4px; min-width: 0; }
.cash-copy span { font-size: 12px; color: var(--l-muted); }
.cash-copy b { font-size: 14px; font-weight: 600; color: var(--l-text); overflow-wrap: anywhere; }
.cash-copy.must { box-shadow: inset 0 0 0 2px #f5a524; }
.cash-copy.must b { font-size: 20px; letter-spacing: .04em; }
.cash-copy-btn { flex: none; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--l-blue); color: #fff; font-size: 13px; font-weight: 600; }
.cash-warn { padding: 10px 12px; border-radius: 12px; background: #fff6e0; color: #7a5200; font-size: 13px; line-height: 18px; }
.cash-hist { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--l-in); color: var(--l-text); }
.cash-hist > b { font-size: 14px; }
.cash-hist-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--l-muted); }
.cash-hist-row .good { color: #13914a; }
.cash-hist-row .warn { color: #b26b00; }
.cash-hist-row .bad { color: #d93600; }
.cash-hist-st { display: inline-flex; align-items: center; gap: 8px; text-align: right; }
.cash-cancel { padding: 3px 9px; border-radius: 8px; background: rgba(217, 54, 0, .1); color: #d93600; font-size: 12px; font-weight: 600; }
.cash-cancel:disabled { opacity: .5; }
.cash-real { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 14px; background: var(--l-in); color: var(--l-text); }
.cash-real span { color: var(--l-muted); font-size: 13px; }
.cash-real b { font-size: 18px; }
.cash-amount { display: flex; gap: 8px; }
.cash-amount .cash-input { flex: 1; min-width: 0; }
.cash-max { flex: none; padding: 0 14px; border-radius: 14px; background: var(--l-in2); color: var(--l-text); font-weight: 600; }
.cash-net { font-size: 15px; color: var(--l-text); }
.cash-min.left { text-align: left; }
.cash-test { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #ffe7e3; color: #8a1d00; font-size: 13px; line-height: 18px; }
.cash-test b { font-size: 14px; letter-spacing: .04em; }

/* пополнение как в 1win: два выбора, строка минимума, карточка адреса */
.cash-picks { display: grid; gap: 10px; }
.cash-min b { color: var(--l-text); }
.cash-min.small { font-size: 12px; }
.cash-addr1w { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: var(--l-in); }
.cash-addr1w .cash-qr.ton { width: 116px; height: 116px; flex: none; border-radius: 10px; }
.cash-addr1w .cash-addr-text { flex: 1; gap: 10px; }
.cash-addr1w .cash-addr-text > b { font-size: 17px; color: var(--l-text); }
.cash-addr-val { font-size: 14px; line-height: 20px; color: var(--l-muted); overflow-wrap: anywhere; }
.cash-addr-val b { color: var(--l-text); font-weight: 600; }
.cash-addr1w .cash-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; }
.cash-wallet { font-size: 13px; color: var(--l-blue); text-decoration: none; font-weight: 600; }
@media (max-width: 420px) { .cash-addr1w { flex-direction: column; } .cash-addr1w .cash-addr-text { width: 100%; } }
.cash-min:not(.small) { font-size: 14px; line-height: 20px; }

/* свой выпадающий список валюты и сети, как в 1win */
.cash-dd { position: relative; }
.cash-dd-btn { width: 100%; text-align: left; cursor: pointer; }
.cash-dd-cur { flex: 1; font-size: 16px; font-weight: 500; }
.cash-dd-caret { display: grid; place-items: center; color: var(--l-muted); transition: transform .15s; }
.cash-dd.open .cash-dd-caret { transform: rotate(180deg); }
.cash-dd-pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); padding: 12px; border-radius: 16px; background: var(--l-card, #fff); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.cash-dd-search { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--l-in); color: var(--l-text); font: inherit; font-size: 15px; outline: none; margin-bottom: 6px; }
.cash-dd-list { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.cash-dd-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 6px; text-align: left; border-bottom: 1px solid var(--l-in); color: var(--l-text); }
.cash-dd-row:last-child { border-bottom: 0; }
.cash-dd-row .cash-dot { width: 30px; height: 30px; font-size: 14px; }
.cash-dd-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cash-dd-t b { font-size: 15px; font-weight: 500; }
.cash-dd-t span { font-size: 13px; color: var(--l-muted); }
.cash-dd-check { display: grid; place-items: center; }
.cash-picks .cash-pick .cash-dot { width: 24px; height: 24px; }

.cash-logo { width: 24px; height: 24px; flex: none; display: block; border-radius: 50%; overflow: hidden; }
.cash-dd-row .cash-logo { width: 32px; height: 32px; }

/* окно кассы компактнее, как в 1win: ~430 px, поля 22 px */
.cash:not(.sh) { max-width: 430px; padding-left: 22px; padding-right: 22px; }
.cash-head { padding-top: 2px; }

/* баннер-картинка: объекты справа. Картинка 2:1 всегда видна целиком по высоте и прижата вправо (слайд бывает от 1,8:1 до 3,5:1 — зависит от меню и окна),
   её левый край плавно уходит в тёмный фон слайда, а под текстом слева лежит затемнение */
.hero-slide.has-img, .hero-card.has-img { position: relative; overflow: hidden; background: linear-gradient(180deg, #011438, #010a22); }
.hero-slide.has-img::before, .hero-card.has-img::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; aspect-ratio: 2 / 1; background: var(--img) right center / auto 100% no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); pointer-events: none; }
.hero-slide.has-img::after, .hero-card.has-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(1 10 34 / 70%) 0%, rgb(1 10 34 / 45%) 30%, rgb(1 10 34 / 0%) 55%); }
.hero-slide.has-img .hero-text { position: relative; z-index: 1; max-width: 50%; text-shadow: 0 1px 10px rgb(0 20 60 / 45%); }

.hero-card.has-img { padding-right: 14px; }
.hero-card.has-img > b, .hero-card.has-img > span { position: relative; z-index: 1; text-shadow: 0 1px 8px rgb(0 20 60 / 50%); }
.hero-card.has-img > span { max-width: 62%; }
@media (max-width: 719px) {
  /* узкая карточка «Бонусы»: подпись сверху, подарок меньше и внизу, чтобы текст не лёг на бант */
  .hero-card.square.has-img::before { background-size: auto 66%; background-position: right bottom; }
  .hero-card.square.has-img::after { background: linear-gradient(180deg, rgb(1 10 34 / 55%) 0%, rgb(1 10 34 / 0%) 45%); }
}

/* переключатель языка в боковом меню (RU ⇄ EN) */
.side-lang { justify-self: start; min-width: 44px; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--surf, var(--s2)); color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.side-lang:hover { filter: brightness(1.15); }
.side-mini .side-lang { justify-self: center; min-width: 0; width: 100%; padding: 0; }
