/* Тема casino-lobby: лобби казино в стиле приложения. Цвета и скругления — только из переменных бренда (vars.css). */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(15px * var(--font-scale-factor, 1)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:root {
  --lb-line: color-mix(in srgb, var(--main-font-color) 12%, transparent);
  --lb-soft: color-mix(in srgb, var(--main-font-color) 6%, transparent);
  --lb-dim: color-mix(in srgb, var(--main-font-color) 62%, transparent);
  --lb-top-h: 56px;
  --lb-tab-h: 60px;
  --lb-max: 1360px;
  --lb-pad: 16px;
}
.ha-bi1 {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--main-background); color: var(--main-font-color);
  font: 1rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
.ha-bi1 a { color: var(--link-font-color); }
.ha-bi1 img { max-width: 100%; display: block; }
.ha-bi1 svg { width: 1em; height: 1em; flex: none; }
.ha-le { flex: 1; width: 100%; max-width: var(--lb-max); margin: 0 auto; padding: 14px var(--lb-pad) 32px; }
[hidden] { display: none !important; }

/* кнопки */
.ha-ne5 {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; height: 36px;
  border: 0; border-radius: var(--button-border-radius); background: var(--button-background); color: var(--button-text-color) !important;
  font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.ha-ne5:hover, .ha-ne5:focus-visible { background: var(--button-hover-background); color: var(--button-hover-color) !important; }
.ha-neci { height: 30px; padding: 0 12px; font-size: .82rem; }
.ha-pu { background: var(--alternative-highlighter); }
.ha-vite { background: transparent; box-shadow: inset 0 0 0 1.5px var(--lb-line); color: var(--main-font-color) !important; }
.ha-vite:hover, .ha-vite:focus-visible { background: var(--lb-soft); box-shadow: inset 0 0 0 1.5px var(--button-background); color: var(--main-font-color) !important; }
:focus-visible { outline: 2px solid var(--alternative-highlighter); outline-offset: 2px; }

/* шапка */
.ha-go {
  position: sticky; top: 0; z-index: 40; height: var(--lb-top-h);
  background: color-mix(in srgb, var(--secondary-background) 92%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lb-line);
}
.ha-xi8 { height: 100%; max-width: var(--lb-max); margin: 0 auto; padding: 0 var(--lb-pad); display: flex; align-items: center; gap: 14px; }
.ha-joba { display: flex; align-items: center; gap: 8px; flex: none; color: var(--main-font-color) !important; text-decoration: none; font-size: 1.1rem; }
.ha-joba img { height: 30px; width: auto; max-width: 140px; object-fit: contain; }
.ha-joba .ha-xo7 { width: 30px; border-radius: var(--main-border-radius); }
.ha-pozi { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ha-pozi::-webkit-scrollbar { display: none; }
.ha-pozi a {
  flex: none; padding: 6px 10px; border-radius: var(--main-border-radius); font-size: .88rem; font-weight: 600;
  color: var(--main-font-color) !important; text-decoration: none; opacity: .72;
}
.ha-pozi a:hover, .ha-pozi a.ha-gi4 { opacity: 1; background: var(--lb-soft); }
.ha-pozi a.ha-gi4 { box-shadow: inset 0 -2px 0 var(--button-background); }
.ha-ro0 {
  position: relative; flex: 1 1 200px; min-width: 0; max-width: 300px; margin-left: auto; display: flex; align-items: center;
}
.ha-ro0 svg { position: absolute; left: 11px; width: 16px; height: 16px; opacity: .55; pointer-events: none; }
.ha-ro0 input {
  width: 100%; height: 36px; padding: 0 12px 0 34px; border: 1px solid var(--lb-line); border-radius: var(--button-border-radius);
  background: var(--unactive-background); color: var(--main-font-color); font: inherit; font-size: .88rem; outline: none;
}
.ha-ro0 input::placeholder { color: var(--lb-dim); }
.ha-ro0 input:focus { border-color: var(--button-background); }
.ha-sizo2 { display: flex; gap: 8px; flex: none; }

/* полоса с бонусом */
.ha-me6 { background: linear-gradient(90deg, var(--gradient-first-color), var(--gradient-second-color)); color: var(--main-font-color); }   /* текст поверх тёмного градиента; цвет текста кнопки бывает тёмным (жёлтые кнопки) */
.ha-ne4 { max-width: var(--lb-max); margin: 0 auto; padding: 6px var(--lb-pad); display: flex; align-items: center; gap: 10px; min-height: 42px; }
.ha-me6 svg { width: 20px; height: 20px; }
.ha-me6 p { margin: 0; flex: 1; min-width: 0; font-size: .88rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-me6 p span { opacity: .85; }

/* чипсы */
.ha-fiju { border-bottom: 1px solid var(--lb-line); background: var(--main-background); }
.ha-coka, .ha-za5 {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ha-coka::-webkit-scrollbar, .ha-za5::-webkit-scrollbar { display: none; }
.ha-coka { max-width: var(--lb-max); margin: 0 auto; padding: 10px var(--lb-pad); }
.ha-fo5 {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px;
  border-radius: 999px; background: var(--lb-soft); border: 1px solid var(--lb-line);
  color: var(--main-font-color) !important; text-decoration: none; font-size: .84rem; font-weight: 600; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.ha-fo5 small { font-size: .72rem; opacity: .6; font-weight: 700; }
.ha-fo5:hover { border-color: var(--button-background); }
.ha-fo5.ha-gi4 { background: var(--button-background); border-color: var(--button-background); color: var(--button-text-color) !important; }

/* заголовки секций */
.ha-saze3 { margin-bottom: 22px; }
.ha-fo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ha-fo h2 { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.ha-fo h2 small { font-size: .78rem; font-weight: 600; color: var(--lb-dim); margin-left: 4px; }
.ha-duho { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.ha-zi0 { display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--lb-dim) !important; }
.ha-zi0:hover { color: var(--main-font-color) !important; }
.ha-zi0 svg { width: 16px; height: 16px; }

/* плотная сетка игр */
.ha-di5 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ha-doxa { position: relative; min-width: 0; }
.ha-kiwa {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--main-border-radius);
  background: var(--unactive-background); color: var(--main-font-color) !important; text-decoration: none;
}
.ha-kiwa img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ha-co8 {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 10px; text-align: center;
  font-weight: 800; font-size: .95rem; line-height: 1.2; color: var(--button-text-color);
  background: linear-gradient(145deg, var(--gradient-first-color), var(--gradient-second-color));
  overflow-wrap: anywhere;
}
.ha-da {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 22px 8px 7px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82)); color: #fff; line-height: 1.2;
}
.ha-da b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-da small { font-size: .68rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-li1 .ha-da { background: none; padding-top: 6px; }
.ha-li1 .ha-da b { display: none; }
.ha-beme7 {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.85); opacity: 0;
  display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 14px; border-radius: var(--button-border-radius);
  background: var(--button-background); color: var(--button-text-color) !important; font-size: .82rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4); transition: opacity .15s, transform .15s, background .15s; white-space: nowrap;
}
.ha-beme7:hover { background: var(--button-hover-background); color: var(--button-hover-color) !important; }
.ha-doxa:hover .ha-kiwa img, .ha-doxa:focus-within .ha-kiwa img { transform: scale(1.07); }
.ha-doxa:hover .ha-kiwa::after, .ha-doxa:focus-within .ha-kiwa::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35);
}
.ha-doxa:hover .ha-beme7, .ha-doxa:focus-within .ha-beme7 { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) {
  .ha-beme7 { opacity: 1; left: auto; right: 6px; top: 6px; transform: none; width: 30px; height: 30px; padding: 0; justify-content: center; border-radius: 50%; }
  .ha-beme7 span { display: none; }
  .ha-doxa:hover .ha-beme7, .ha-doxa:focus-within .ha-beme7 { transform: none; }
  .ha-doxa:hover .ha-kiwa::after { content: none; }
}
.ha-fugu1 { margin: 12px 0 0; padding: 18px; text-align: center; border: 1px dashed var(--lb-line); border-radius: var(--main-border-radius); color: var(--lb-dim); }

/* ряды по провайдерам */
.ha-puzi {
  display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto;
  padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.ha-puzi > * { scroll-snap-align: start; }

/* акции */
.ha-repa8 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.ha-ho {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; min-height: 130px;
  border-radius: var(--main-border-radius); background: var(--content-background); border: 1px solid var(--lb-line);
  border-left: 3px solid var(--alternative-highlighter);
}
.ha-bogi { font-size: .72rem; font-weight: 800; color: var(--alternative-highlighter); }
.ha-ho b { font-size: .98rem; line-height: 1.3; }
.ha-ho .ha-ne5 { margin-top: auto; }

/* блок «Подробнее» на главной */
.ha-page { margin: 8px 0 16px; border-radius: var(--main-border-radius); background: var(--content-background); border: 1px solid var(--lb-line); }
.ha-page > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; cursor: pointer;
  font-weight: 800; font-size: 1rem; list-style: none;
}
.ha-page > summary::-webkit-details-marker { display: none; }
.ha-page > summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--lb-dim); }
.ha-page[open] > summary::after { content: "−"; }
.ha-tu { padding: 0 18px 18px; border-top: 1px solid var(--lb-line); }
.ha-tu .ha-za5 { margin-top: 14px; }

/* «Как начать»: шаги-карточки с крупным номером, горизонтальная лента как у рядов игр */
.ha-baxu0 {
  list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.ha-deha {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px;
  border-radius: var(--main-border-radius); background: var(--content-background); border: 1px solid var(--lb-line); scroll-snap-align: start;
}
.ha-po3 {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 4px;
  background: linear-gradient(145deg, var(--gradient-first-color), var(--gradient-second-color)); color: var(--button-text-color);
  font-weight: 800; font-size: .95rem;
}
.ha-deha:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; right: -11px; width: 12px; height: 2px; background: var(--alternative-highlighter);
}
.ha-deha b { font-size: .98rem; line-height: 1.3; }
.ha-deha p { margin: 0; font-size: .86rem; color: var(--lb-dim); }

/* «Преимущества»: плитки с галочкой */
.ha-sa { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ha-fa {
  display: flex; gap: 12px; align-items: flex-start; min-width: 0; padding: 14px;
  border-radius: var(--main-border-radius); background: var(--lb-soft); border: 1px solid var(--lb-line);
}
.ha-bi1 .ha-fa svg {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: var(--button-text-color);
  background: var(--button-background);
}
.ha-fa div { min-width: 0; }
.ha-fa b { display: block; font-size: .95rem; line-height: 1.3; margin-bottom: 3px; }
.ha-fa p { margin: 0; font-size: .86rem; color: var(--lb-dim); }
.ha-copu5 { margin-top: 16px; }

/* текстовые страницы */
.ha-vuho { margin-bottom: 12px; }
.ha-lige8 { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ha-loge { flex: none; font-size: .84rem; color: var(--lb-dim); }
.ha-loge b { color: var(--main-font-color); }
.ha-po6 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; font-size: .8rem; color: var(--lb-dim); }
.ha-po6 a { color: inherit !important; text-decoration: none; }
.ha-po6 a:hover { color: var(--main-font-color) !important; }
.ha-po6 svg { width: 12px; height: 12px; }
.ha-za5 { align-items: center; margin-bottom: 12px; padding-bottom: 2px; }
.ha-pe { flex: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--lb-dim); margin-right: 4px; }
.ha-wu { background: var(--content-background); border: 1px solid var(--lb-line); border-radius: var(--main-border-radius); padding: 18px 20px; margin-bottom: 16px; }
.ha-fe5 { overflow-wrap: break-word; }
.ha-fe5:empty { display: none; }
.ha-fe5 > :first-child { margin-top: 0; }
.ha-fe5 > :last-child { margin-bottom: 0; }
.ha-fe5 h2 { font-size: 1.2rem; line-height: 1.3; margin: 1.4em 0 .5em; scroll-margin-top: calc(var(--lb-top-h) + 12px); }
.ha-fe5 h3 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.ha-fe5 img { border-radius: var(--main-border-radius); height: auto; }
.ha-fe5 table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: .9rem; }
.ha-fe5 th, .ha-fe5 td { padding: 7px 10px; border-bottom: 1px solid var(--lb-line); text-align: left; }
.ha-fe5 th { background: var(--lb-soft); }
.ha-fe5 ul, .ha-fe5 ol { padding-left: 1.3em; }

/* полоса-призыв */
.ha-ri0 {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px;
  border-radius: var(--main-border-radius); background: linear-gradient(90deg, var(--gradient-first-color), var(--gradient-second-color)); color: var(--button-text-color);
}
.ha-ri0 small { display: block; font-size: .75rem; opacity: .85; }
.ha-ri0 b { font-size: 1.15rem; line-height: 1.25; }

/* FAQ */
.ha-gu2 h2 { margin: 18px 0 8px; font-size: 1.15rem; }
.ha-wu > .ha-gu2 h2 { margin-top: 0; }
.ha-ji { border-bottom: 1px solid var(--lb-line); }
.ha-ji:last-child { border-bottom: 0; }
.ha-ji summary { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; cursor: pointer; font-weight: 700; list-style: none; }
.ha-ji summary::-webkit-details-marker { display: none; }
.ha-ji summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: 7px 4px 0 0; border-right: 2px solid var(--lb-dim); border-bottom: 2px solid var(--lb-dim);
  transform: rotate(45deg); transition: transform .15s;
}
.ha-ji[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.ha-ga { padding: 0 0 12px; color: color-mix(in srgb, var(--main-font-color) 85%, transparent); }
.ha-ga > :first-child { margin-top: 0; }
.ha-ga > :last-child { margin-bottom: 0; }

/* купоны бонусов */
.ha-givo1 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 18px; }
.ha-he2 {
  --lb-notch: 11px;
  position: relative; display: flex; min-height: 120px; color: var(--main-font-color);
  background: var(--content-background);
  -webkit-mask: radial-gradient(circle var(--lb-notch) at 0 50%, transparent 98%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle var(--lb-notch) at 100% 50%, transparent 98%, #000 100%) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--lb-notch) at 0 50%, transparent 98%, #000 100%) left / 51% 100% no-repeat,
                radial-gradient(circle var(--lb-notch) at 100% 50%, transparent 98%, #000 100%) right / 51% 100% no-repeat;
  border-radius: var(--main-border-radius);
}
.ha-he2::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 2px dashed color-mix(in srgb, var(--button-background) 70%, transparent); border-radius: var(--main-border-radius);
}
.ha-pugu { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 14px 16px 24px; }
.ha-pugu small { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--alternative-highlighter); }
.ha-pugu b { font-size: 1.12rem; line-height: 1.25; overflow-wrap: anywhere; }
.ha-pugu span { font-size: .82rem; color: var(--lb-dim); }
.ha-jaje {
  flex: none; display: flex; align-items: center; justify-content: center; padding: 14px 22px 14px 16px;
  border-left: 2px dashed var(--lb-line); background: var(--lb-soft);
}
.ha-wu6 { grid-column: 1 / -1; background: linear-gradient(110deg, var(--gradient-first-color), var(--gradient-second-color)); color: var(--button-text-color); }
.ha-wu6::before { border-color: color-mix(in srgb, var(--button-text-color) 45%, transparent); }
.ha-wu6 .ha-pugu b { font-size: 1.7rem; }
.ha-wu6 .ha-pugu small { color: inherit; opacity: .85; }
.ha-wu6 .ha-pugu span { color: inherit; opacity: .8; }
.ha-wu6 .ha-jaje { border-left-color: color-mix(in srgb, var(--button-text-color) 40%, transparent); background: rgba(0, 0, 0, .12); }

/* страница слота: экран запуска */
.ha-bi2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; margin: 8px 0 16px; }
.ha-zudi {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--main-border-radius);
  background: var(--unactive-background); margin-bottom: 12px; isolation: isolate;
}
.ha-nozu { position: absolute; inset: -20px; width: calc(100% + 40px) !important; max-width: none !important; height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.45); z-index: -1; }
.ha-ti5 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 72%; width: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--main-border-radius); opacity: .55; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.ha-ruzo7 { position: absolute; inset: 0; font-size: 1.8rem; opacity: .9; }
.ha-ke { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; padding: 12px; }
.ha-ke small { font-size: .78rem; opacity: .85; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.ha-tema {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px 0 22px; border-radius: 999px;
  background: var(--button-background); color: var(--button-text-color) !important; font-size: 1.05rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--button-background) 30%, transparent), 0 10px 30px rgba(0, 0, 0, .45);
  transition: background .15s, transform .15s;
}
.ha-tema:hover { background: var(--button-hover-background); color: var(--button-hover-color) !important; transform: scale(1.04); }
.ha-tema svg { width: 22px; height: 22px; }
.ha-duma { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ha-duma .ha-duho { flex: 1 1 100%; }
.ha-duma dl { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; flex: 1; }
.ha-duma dl div { min-width: 0; }
.ha-duma dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lb-dim); }
.ha-duma dd { margin: 0; font-weight: 700; }
.ha-ki1 { background: var(--content-background); border: 1px solid var(--lb-line); border-radius: var(--main-border-radius); padding: 14px; }
.ha-ki1 h2 { margin: 0 0 10px; font-size: 1rem; }
.ha-guwu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

/* 404 */
.ha-buli0 { text-align: center; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ha-buli0 strong { font-size: 5rem; line-height: 1; color: var(--alternative-highlighter); }

/* подвал */
.ha-ti { background: var(--secondary-background); border-top: 1px solid var(--lb-line); font-size: .86rem; }
.ha-va8 { max-width: var(--lb-max); margin: 0 auto; padding: 22px var(--lb-pad) 8px; display: flex; flex-wrap: wrap; gap: 20px 24px; }
.ha-jobi { flex: 1 1 220px; min-width: 0; }
.ha-vupo { flex: 2.2 1 360px; min-width: 0; }
.ha-waxe0 { flex: 1 1 100%; min-width: 0; }
.ha-waxe0 b { display: block; margin-bottom: 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lb-dim); }
.ha-waxe0 p { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ha-waxe0 a { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--lb-line); color: var(--main-font-color) !important; text-decoration: none; font-size: .8rem; }
.ha-waxe0 a:hover { border-color: var(--button-background); }
.ha-jobi img { height: 28px; width: auto; }
.ha-jobi p { margin: 8px 0 0; color: var(--lb-dim); }
.ha-me { display: flex; align-items: center; gap: 8px; }
.ha-me span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--alternative-highlighter); color: var(--main-font-color); font-weight: 800; font-size: .7rem; }
.ha-vupo { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 18px; align-content: start; }
.ha-vupo a { padding: 4px 0; color: var(--lb-dim) !important; text-decoration: none; }
.ha-vupo a:hover { color: var(--main-font-color) !important; }
.ha-tiva6 { max-width: var(--lb-max); margin: 0 auto; padding: 10px var(--lb-pad) 18px; font-size: .76rem; color: var(--lb-dim); }

/* нижняя таб-панель (телефон и планшет) */
.ha-bunu { display: none; }
.ha-li8 { display: flex; }

@media (max-width: 1240px) {
  .ha-di5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .ha-pozi { display: none; }
  .ha-ro0 { max-width: none; }
  .ha-bi1 { padding-bottom: calc(var(--lb-tab-h) + env(safe-area-inset-bottom, 0px)); }
  .ha-bunu {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: calc(var(--lb-tab-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--secondary-background); border-top: 1px solid var(--lb-line);
    /* без backdrop-filter/transform: иначе fixed-шторка меню позиционируется от панели, а не от экрана */
  }
  .ha-li8, .ha-jetu > summary {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--lb-tab-h);
    color: var(--lb-dim) !important; text-decoration: none; font-size: .7rem; font-weight: 600; cursor: pointer; list-style: none;
    -webkit-tap-highlight-color: transparent;
  }
  .ha-li8 svg, .ha-jetu > summary svg { width: 22px; height: 22px; }
  .ha-jetu { display: block; }
  .ha-jetu > summary::-webkit-details-marker { display: none; }
  .ha-go0 .ha-vino2, .ha-juho .ha-nu, .ha-kopo5 .ha-nu, .ha-bo2 .ha-geju, .ha-jetu[open] > summary {
    color: var(--button-background) !important;
  }
  .ha-jetu[open] > summary::before {
    content: ""; position: fixed; left: 0; right: 0; top: 0; bottom: calc(var(--lb-tab-h) + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, .55); z-index: 1; cursor: default;
  }
  .ha-ze {
    position: fixed; left: 0; right: 0; bottom: calc(var(--lb-tab-h) + env(safe-area-inset-bottom, 0px)); z-index: 2;
    max-height: 70vh; overflow-y: auto; padding: 14px var(--lb-pad) 16px;
    background: var(--secondary-background); border-top: 1px solid var(--lb-line);
    border-radius: calc(var(--main-border-radius) * 2 + 6px) calc(var(--main-border-radius) * 2 + 6px) 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
  }
  .ha-xoko { display: block; margin-bottom: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lb-dim); }
  .ha-la { display: flex; flex-direction: column; }
  .ha-la a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 4px;
    border-bottom: 1px solid var(--lb-line); color: var(--main-font-color) !important; text-decoration: none; font-weight: 600;
  }
  .ha-la a.ha-gi4 { color: var(--button-background) !important; }
  .ha-la svg { opacity: .5; }
  .ha-take { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .ha-di5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ha-bi2 { grid-template-columns: 1fr; }
  .ha-guwu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ha-va8 { gap: 16px; }
  .ha-vupo { flex-basis: 100%; }
}

@media (max-width: 640px) {
  :root { --lb-top-h: 54px; --lb-pad: 12px; }
  .ha-xi8 { gap: 10px; }
  .ha-joba img { max-width: 92px; height: 26px; }
  .ha-joba b { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ha-ku8 { display: none; }
  .ha-sizo2 .ha-ne5 { height: 34px; padding: 0 12px; font-size: .82rem; }
  .ha-ro0 input { height: 34px; }
  .ha-me6 p span { display: none; }
  .ha-di5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ha-puzi { grid-auto-columns: 118px; gap: 8px; }
  .ha-repa8 { grid-auto-columns: 78%; }
  .ha-guwu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ha-da b { font-size: .74rem; }
  .ha-da small { display: none; }
  .ha-co8 { font-size: .78rem; padding: 6px; }
  .ha-duho { font-size: 1.2rem; }
  .ha-wu { padding: 14px; }
  .ha-givo1 { grid-template-columns: 1fr; }
  .ha-he2 { flex-direction: column; }
  .ha-pugu { padding: 18px 22px 10px; }
  .ha-jaje, .ha-wu6 .ha-jaje { border-left: 0; background: none; padding: 4px 22px 20px; justify-content: flex-start; }
  .ha-wu6 .ha-pugu b { font-size: 1.35rem; }
  .ha-tema { height: 46px; padding: 0 20px 0 16px; font-size: .95rem; }
  .ha-ruzo7 { font-size: 1.3rem; }
  .ha-lige8 { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ha-baxu0 { grid-auto-columns: 78%; }
  .ha-sa { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .ha-sizo2 .ha-ne5 { padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ha-bi1 * { transition: none !important; }
}

/* витрина одностраничника: баннер бонуса, провайдеры, приложение, зеркало, статья */
.ha-do {
  margin-bottom: 18px; padding: 28px 24px; border-radius: var(--main-border-radius);
  background: linear-gradient(120deg, var(--gradient-first-color), var(--gradient-second-color)); color: var(--button-text-color);
}
.ha-mome { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 640px; }
.ha-do small { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.ha-no0 { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.05; }
.ha-do p { margin: 0 0 6px; opacity: .9; }
.ha-vani { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ha-vani li {
  display: flex; flex-direction: column; min-width: 120px; padding: 10px 14px; border-radius: var(--main-border-radius);
  background: var(--secondary-background); border: 1px solid var(--lb-line);
}
.ha-vani small { opacity: .7; font-size: .75rem; }
.ha-so4 {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px;
  border-radius: var(--main-border-radius); background: var(--secondary-background); border: 1px solid var(--lb-line);
}
.ha-so4 b { font-size: 1.1rem; }
.ha-so4 p { margin: 4px 0 0; opacity: .8; }
.ha-hi { display: flex; gap: 8px; }
.ha-cu6 { margin: 4px 0 22px; text-align: center; }
.ha-cu6 a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--lb-line);
  background: var(--secondary-background); color: var(--main-font-color); font-weight: 600; text-decoration: none;
}
.ha-wese1 { margin: 8px 0 20px; padding: 20px; border-radius: var(--main-border-radius); background: var(--content-background); }
.ha-wese1 .ha-duho { margin: 0 0 14px; }

/* баннер шапки (site.look): картинка справа, текст бонуса HTML-ом слева — как у сильных конкурентов */
.ha-du { position: relative; overflow: hidden; height: clamp(240px, 29vw, 400px); display: flex; align-items: center; background: var(--main-background); }
/* «split»: картинка 16:9 во всю высоту справа без обрезки, стык слева закрыт градиентом */
.ha-su { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; }
.ha-du::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--main-background) 0%, var(--main-background) 34%, color-mix(in srgb, var(--main-background) 60%, transparent) 46%, transparent 62%); }
.ha-du .ha-mome { position: relative; z-index: 2; color: var(--main-font-color); }
.ha-du .ha-no0 { text-shadow: 0 4px 24px rgba(0, 0, 0, .45); }
@media (max-width: 720px) {
  .ha-bi1 .ha-du { height: auto; aspect-ratio: auto; flex-direction: column; align-items: stretch; padding: 0; }
  .ha-bi1 .ha-du .ha-su { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .ha-du::before { content: none; }
  .ha-du .ha-mome { padding: 16px 18px 20px; max-width: none; }
}

/* варианты вёрстки по сиду сайта (theme.json → variants) */
@media (max-width: 720px) {
  .ha-muho5.ha-bi1 .ha-du, .ha-puba8.ha-bi1 .ha-du { text-align: left; }
  .ha-puba8.ha-bi1 .ha-du .ha-mome { align-items: flex-start; }
}
.ha-veve7.ha-bi1 .ha-kiwa { aspect-ratio: 3 / 4; }
.ha-le8.ha-bi1 .ha-kiwa { aspect-ratio: 4 / 3; }
.ha-le8.ha-bi1 .ha-puzi { grid-auto-columns: 200px; }
.ha-ke6.ha-bi1 .ha-fo h2 { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--secondary-background); border: 1px solid var(--lb-line); font-size: 1rem; }
.ha-mefa.ha-bi1 .ha-fo h2 { padding-left: 10px; border-left: 4px solid var(--button-background); }
.ha-xogi3.ha-bi1 .ha-fo h2 { text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.ha-vomo7.ha-bi1 { font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif; }
.ha-xe.ha-bi1 { font-family: Verdana, Geneva, "DejaVu Sans", sans-serif; font-size: .95rem; }
.ha-covo.ha-bi1 { font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif; }

/* превью игр внизу баннера шапки (как полоса у сети C, но без выдуманных выигрышей): обложка, название, провайдер */
.ha-do { position: relative; }
.ha-no {
  position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr);
  gap: 8px; margin: 0; padding: 8px; list-style: none; overflow-x: auto; scrollbar-width: none;
  border-radius: calc(var(--main-border-radius) + 6px); background: color-mix(in srgb, var(--secondary-background) 82%, transparent);
  backdrop-filter: blur(6px); border: 1px solid var(--lb-line);
}
.ha-no::-webkit-scrollbar { display: none; }
.ha-no li { color: var(--main-font-color); display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px; border-radius: var(--main-border-radius); background: var(--lb-soft); }
.ha-no img { width: 48px; height: 48px; flex: none; object-fit: cover; border-radius: var(--main-border-radius); }
.ha-no span { display: flex; flex-direction: column; min-width: 0; }
.ha-no b { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-no small { font-size: .72rem; color: var(--lb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .ha-bi1 .ha-du:has(.ha-no) { height: auto; aspect-ratio: auto; padding: 0; }
  .ha-no { position: static; margin: 0 12px 14px; grid-auto-columns: 170px; }
}

/* варианты шапки и высота с полосой превью — только на широких экранах (на телефоне картинка над текстом) */
@media (min-width: 721px) {
  .ha-muho5.ha-bi1 .ha-du::before { background: linear-gradient(0deg, var(--main-background) 0%, color-mix(in srgb, var(--main-background) 55%, transparent) 45%, transparent 75%); }
  .ha-muho5.ha-bi1 .ha-du { align-items: flex-end; height: auto; aspect-ratio: 3 / 1; }
  .ha-muho5.ha-bi1 .ha-su, .ha-puba8.ha-bi1 .ha-su { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
  .ha-puba8.ha-bi1 .ha-du { height: auto; aspect-ratio: 3 / 1; }
  .ha-puba8.ha-bi1 .ha-du { justify-content: center; text-align: center; }
  .ha-puba8.ha-bi1 .ha-du::before { background: color-mix(in srgb, var(--main-background) 58%, transparent); }
  .ha-puba8.ha-bi1 .ha-du .ha-mome { align-items: center; }
  .ha-du:has(.ha-no) { height: clamp(300px, 34vw, 470px); align-items: flex-start; padding-top: clamp(24px, 4vw, 56px); }
  .ha-do:not(.ha-du):has(.ha-no) { padding-bottom: 96px; }
  .ha-muho5.ha-bi1 .ha-du:has(.ha-no), .ha-puba8.ha-bi1 .ha-du:has(.ha-no) { height: auto; aspect-ratio: 16 / 6.5; align-items: center; padding-bottom: 96px; }
  .ha-muho5.ha-bi1 .ha-du:has(.ha-no) { align-items: flex-end; }
}

/* шапка как у сильных конкурентов: логотип, «Бонусы», разделы страницы, поиск, вход значком, регистрация */
.ha-nuja1 { flex: none; gap: 6px; }
.ha-nuja1 svg { width: 16px; height: 16px; }
.ha-ku8 svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .ha-ku8 span { display: none; } .ha-ku8 { padding: 0 10px; } }
@media (max-width: 720px) { .ha-nuja1 { display: none; } }
/* подвал: приложения, разделы, способы оплаты, 18+ */
.ha-do0 { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.ha-je4 { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: var(--main-border-radius); border: 1px solid var(--lb-line); background: var(--main-background); color: var(--main-font-color) !important; text-decoration: none; }
.ha-je4 svg { width: 22px; height: 22px; }
.ha-je4 span { display: flex; flex-direction: column; line-height: 1.15; }
.ha-je4 small { font-size: .68rem; color: var(--lb-dim); }
.ha-bo { flex: 1 1 100%; }
.ha-bo b { display: block; margin-bottom: 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lb-dim); }
.ha-bo ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ha-bo li { padding: 5px 12px; border-radius: var(--main-border-radius); border: 1px solid var(--lb-line); background: var(--lb-soft); font-weight: 700; font-size: .8rem; }
.ha-pilo { max-width: var(--lb-max); margin: 0 auto; padding: 10px var(--lb-pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--lb-line); }
.ha-pilo .ha-tiva6 { margin: 0; padding: 0; }
.ha-to { display: flex; gap: 6px; margin: 0; }
.ha-ki6 { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--lb-line); font-size: .74rem; font-weight: 700; color: var(--lb-dim); }
.ha-ti > .ha-me { max-width: var(--lb-max); margin: 0 auto; padding: 0 var(--lb-pad) 16px; font-size: .78rem; color: var(--lb-dim); }
