/* Демо-сайт, версия 2: оформление по материалам клуба (логотип «Блэк Пул»,
   кирпичная стена с прожектором, красный и жёлтый из брендбука, фишки
   «Блэк Покер») и по выбранному ориентиру check-check-club.ru (чёрный фон,
   крупные сжатые заголовки капсом, белые кнопки-пилюли, фото-карточки).
   Шрифты свои (OFL): Oswald — заголовки, Inter — текст. AvantGarde из
   брендбука платный, поэтому здесь его нет. Без цветных полосок слева. */
@font-face { font-family: Oswald; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Oswald; font-weight: 200 700; font-display: swap; src: url(fonts/oswald-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #121110; --bg2: #1a1918; --card: #1d1c1b; --card2: #252321; --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.16);
  --ink: #f6f5f2; --soft: #a3a19c; --mute: #77756f;
  --red: #e31e24; --red-d: #8f1418; --yellow: #ed9529; --gray: #9d9d9c;
  --r: 22px; --r-ctl: 14px; --head: 72px;
  --display: Oswald, 'Arial Narrow', sans-serif;
  /* «Хром» — металлический перелив вместо чисто белого, как у заголовков на сайте Жанны Факиех. */
  --chrome: linear-gradient(100deg, #f6f6f4 0%, #a6a9ad 20%, #ffffff 40%, #8d9094 58%, #ececeb 76%, #b0b3b7 100%);
  /* Металл кнопок мягче, чем у букв: едва заметный перелив сверху вниз, без полос. */
  --chrome-soft: linear-gradient(180deg, #ffffff 0%, #eef0f2 18%, #c9ccd0 46%, #f4f5f6 62%, #d9dbde 82%, #b8bbc0 100%);
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 Inter, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
body.menu-lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--soft); }
.note { font-size: 13px; color: var(--mute); letter-spacing: .02em; }
[hidden] { display: none !important; }
section, [id] { scroll-margin-top: calc(var(--head) + 16px); }

h1, h2, .display { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-style: italic; letter-spacing: -.01em; line-height: .95; margin: 0 0 .45em; }
h1 { font-size: clamp(44px, 8vw, 116px); }
h2 { font-size: clamp(34px, 5.4vw, 76px); }
h3 { font-size: 21px; line-height: 1.25; margin: 0 0 .4em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.8vw, 23px); font-weight: 600; line-height: 1.4; max-width: 640px; }
.center { text-align: center; }
.y { color: var(--yellow); } .r { color: var(--red); }

/* Шапка */
/* Шапка поверх первого экрана: прозрачная, фон — только при прокрутке или открытом меню. */
#top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.top { background: transparent; border-bottom: 1px solid transparent; position: relative; z-index: 60; transition: background .25s, border-color .25s; }
.scrolled .top, .menu-lock .top { background: rgba(10,10,9,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.top .wrap { height: var(--head); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 40px; width: 53px; flex: none; }
.brand { gap: 10px; }
.brand span { font: italic 700 25px/1 var(--display); text-transform: uppercase; color: #fff; letter-spacing: -.01em; padding-right: .18em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: var(--r-ctl); white-space: nowrap; color: #e8e6e1; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.on { color: #fff; background: rgba(227,30,36,.22); }
.nav .who { background: #fff; color: #141312; font-weight: 700; margin-left: 8px; padding: 8px 18px; }
.nav .who:hover { background: var(--red); color: #fff; }
.nav-contacts { display: none; }
.burger { display: none; flex: none; width: 40px; height: 40px; position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
.hdr-call { display: none; flex: none; margin-left: auto; width: 40px; height: 40px; align-items: center; justify-content: center; color: #fff; }
.hdr-call svg { width: 28px; height: 28px; stroke-width: 1.75; }
.hdr-call:hover { color: var(--red); }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
/* Высота значков = высота заглавных букв названия (≈18 px): полоски от 11 до 29 px в кнопке 40 px. */
.burger i:nth-child(1) { top: 11px; } .burger i:nth-child(2) { top: 19px; } .burger i:nth-child(3) { top: 27px; }
/* Крестик той же высоты, что бургер (18 px): полоски длиннее, чтобы под 45° дать 18 px. */
.burger.open i { left: 8px; right: 8px; }
.burger.open i:nth-child(1) { top: 19px; transform: rotate(45deg); } .burger.open i:nth-child(2) { opacity: 0; } .burger.open i:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.shade { display: none; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); touch-action: none; }
.shade.on { display: block; }
@media (max-width: 1100px) {
  .burger { display: block; }
  .hdr-call { display: inline-flex; }
  .nav .who { order: -1; }
  .nav { display: none; position: fixed; top: var(--head); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0c0c0b; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; max-height: calc(100vh - var(--head)); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open { display: flex; }
  .nav a { border-radius: 0; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a.on { background: none; color: var(--red); }
  .nav .who { margin: 16px 0 0; text-align: center; border-radius: var(--r-ctl); border: 0; }
  .nav-contacts { display: block; padding-top: 18px; }
  .nav-contacts small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 14px; }
  .nav-contacts a { display: block; border: 0; padding: 4px 0; font-size: 16px; }
}

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 30px; border-radius: var(--r-ctl); border: 0; background: #fff; color: #141312;
  font: 700 17px/1.1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: transparent; }
.btn.red { background: var(--red); color: #fff; } .btn.red:hover { background: #ff3a40; }
.btn.small { min-height: 40px; padding: 6px 18px; font-size: 15px; }
.btn.big { min-height: 64px; padding: 14px 56px; font-size: 21px; }
.btn:disabled { opacity: .4; cursor: default; transform: none; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.between { justify-content: space-between; }

/* Секции и сетки */
section { padding: 84px 0; position: relative; }
section + section { border-top: 0; }
.alt { background: var(--bg2); }
.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } section { padding: 60px 0; } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.box.tint { background: linear-gradient(135deg, rgba(227,30,36,.2), rgba(143,20,24,.08)); border-color: rgba(227,30,36,.3); }
.empty { padding: 36px; text-align: center; color: var(--soft); border: 1px dashed var(--line2); border-radius: var(--r); }
.ph { position: relative; min-height: 200px; border-radius: var(--r); overflow: hidden; background: radial-gradient(circle at 50% 0, rgba(255,255,255,.12), transparent 60%), url(img/brick.jpg) center / cover; border: 1px solid var(--line); }
.ph span { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--soft); background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 6px; }
.photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #000; }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.sec-head a { color: var(--soft); text-decoration: none; font-weight: 600; } .sec-head a:hover { color: #fff; }

/* Герой главной: кирпичная стена с лампой (из материалов клуба) и стол с
   дилером в полумраке — img/hero.jpg, сгенерирован по стене клуба; стол — как у клуба
   (жёлто-синее сукно с логотипом), бабочка красная, на жилете значок клуба (13.10.2026). Текст
   наверху над тёмной частью стены, стол и дилер внизу справа. */
.hero { position: relative; padding: 0; min-height: 66.66vw; display: flex; align-items: flex-start; overflow: hidden;
  background: linear-gradient(180deg, rgba(10,9,8,.55) 0, transparent 160px), linear-gradient(90deg, rgba(10,9,8,.72) 0, rgba(10,9,8,.25) 45%, transparent 60%), linear-gradient(180deg, transparent 78%, var(--bg) 100%), url(img/hero.jpg?v=3) center top / 100% auto no-repeat, #0d0c0b; }
/* Текстовый блок целиком — по центру видимой части первого экрана (между шапкой и низом экрана). */
.hero .wrap { position: relative; z-index: 2; width: 100%; box-sizing: border-box; padding-top: var(--head); min-height: min(100vh, 66.66vw); display: flex; align-items: center; }
.hero .wrap > div { max-width: 920px; }
.hero h1 { filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.hero .lead { color: #efece6; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
/* «Займите свой игровой бокс» — под столом. */
/* Правый край — по краю контента остальных контейнеров (.wrap: 1240 px и поля 24 px). */
.hero-sub { position: absolute; z-index: 2; right: max(24px, calc((100% - 1240px) / 2 + 24px)); bottom: 3.5%; margin: 0; font: italic 700 clamp(20px, 2vw, 30px)/1 var(--display); text-transform: uppercase; color: var(--red); letter-spacing: .02em; text-shadow: 0 2px 16px rgba(0,0,0,.9); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 34px; font-weight: 600; color: rgba(239,236,230,.62); }
.facts span { display: inline-flex; align-items: center; }
/* Пара кнопок рядом — всегда одного размера. */
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pair .btn { min-width: 230px; min-height: 56px; padding: 10px 28px; font-size: 18px; }
.hero-pic { display: none; }
.sm { display: none; }
@media (max-width: 860px) {
  /* Телефон: картинка с самого верха (под прозрачной шапкой), заголовок прямо на
     ней слева от дилера, «Займите свой игровой бокс» под столом, ниже текст. */
  .hero { --pic: calc(var(--head) + min(88vw, 410px)); min-height: 0; padding: 0 0 34px; align-items: stretch; background: #0d0c0b; display: flex; flex-direction: column; align-items: stretch; }
  .hero-pic { display: block; order: -2; height: var(--pic);
    background: linear-gradient(180deg, rgba(10,9,8,.6) 0, transparent 26%), linear-gradient(90deg, rgba(10,9,8,.55) 0, transparent 52%), linear-gradient(180deg, transparent 70%, #0d0c0b 100%), url(img/hero-m.jpg?v=3) 74% 0 / auto 100% no-repeat, #0d0c0b; }
  .hero h1 { position: absolute; z-index: 3; left: 20px; top: calc(.67 * (var(--head) + min(88vw, 410px)) - 2.75em); width: auto; max-width: 58%; margin: 0; font-size: clamp(26px, 8.2vw, 42px); line-height: .98; }
  .hero-sub { position: static; order: -1; margin: -14px 24px 0; font-size: 22px; }
  .hero .wrap { position: static; margin-top: 14px; padding-top: 0; min-height: 0; display: block; }
  .hero .wrap > div { padding: 0; }
  .hero .lead { font-size: 16px; }
  .facts { margin: 12px 0 18px; gap: 6px 14px; font-size: 14px; }
  /* Две кнопки рядом — в одну линию, одинаковые. Длинная подпись на телефоне короче. */
  .btn-pair { flex-wrap: nowrap; gap: 10px; }
  .btn-pair .btn { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 10px 12px; font-size: 16px; white-space: nowrap; }
  .lg { display: none; } .sm { display: inline; }
}

.page-hero { padding: calc(var(--head) + 56px) 0 84px; background: radial-gradient(ellipse 900px 520px at 22% 0, rgba(255,240,215,.14), transparent 70%), linear-gradient(180deg, rgba(18,17,16,.3) 0, var(--bg) 560px), url(img/wall.jpg) center top / max(100%, 1536px) auto no-repeat, var(--bg); }
.page-hero h1 { font-size: clamp(42px, 7vw, 96px); margin-bottom: 14px; }

/* Турниры */
.t-card { display: flex; flex-direction: column; gap: 14px; background: var(--card); transition: transform .15s, border-color .15s; }
.t-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.t-card .when { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.t-card h3 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0; }
.t-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 15px; }
.t-card dt { color: var(--soft); } .t-card dd { margin: 0; font-weight: 700; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red-d), var(--red)); }
.t-card .foot { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.t-card.mine { border-color: rgba(227,30,36,.7); box-shadow: 0 0 0 1px rgba(227,30,36,.4); }
.roster { font-size: 14px; color: var(--soft); } .roster summary { cursor: pointer; color: #ddd; }

/* Таблицы */
.scroll { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.t th, .t td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 700; background: rgba(255,255,255,.02); }
.t td.n, .t th.n { text-align: right; font-variant-numeric: tabular-nums; }
.t a { text-decoration: none; font-weight: 600; } .t a:hover { color: var(--red); }
.t tr.me td { background: rgba(227,30,36,.12); }
.place { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; font-weight: 800; border-radius: 50%; }
.top3 .place { color: #fff; background: var(--red); }
.top3:first-child .place { background: var(--chrome); color: #141312; }
@media (max-width: 620px) { .hide-m { display: none; } .t th, .t td { padding: 10px; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button, select, input[type=text], input[type=tel] { font: 600 15px Inter, sans-serif; color: #fff; background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-ctl); padding: 10px 18px; min-height: 44px; }
input[type=text], input[type=tel] { border-radius: 16px; font-weight: 500; font-size: 17px; }
input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.tabs button { cursor: pointer; } .tabs button.on { background: #fff; color: #141312; border-color: #fff; }

details.res { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
details.res > summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 18px; }
details.res > summary::-webkit-details-marker { display: none; }
details.res > summary::after { content: "+"; margin-left: auto; font: 400 30px/0.8 Inter, sans-serif; color: var(--red); transition: transform .2s; }
details.res[open] > summary::after { transform: rotate(45deg); }
details.res .body { padding: 0 24px 20px; color: #d9d6d0; }
details.res .body table.t { border-radius: 14px; }
.podium { color: var(--soft); font-size: 15px; }

.stat { text-align: left; padding: 28px; }
.stat b { display: block; font-family: var(--display); font-style: italic; font-size: clamp(44px, 5vw, 68px); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--soft); font-weight: 600; }

.steps { counter-reset: s; }
.steps .box { position: relative; padding-top: 74px; }
.steps .box::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 24px; font: italic 700 46px/1 var(--display); color: var(--red); }

.flash { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 90; background: #fff; color: #141312; padding: 14px 22px; border-radius: var(--r-ctl); font-weight: 600; max-width: calc(100% - 40px); box-shadow: 0 10px 40px rgba(0,0,0,.5); }

/* Отсчёт, чемпионы, лента */
.countdown { background: linear-gradient(120deg, var(--red-d), #3b0d0f 60%, var(--card)); border: 0; padding: 30px; }
.countdown h2 { font-size: clamp(36px, 4vw, 56px); }
.countdown .clock { display: flex; gap: 10px; }
.countdown .clock span { min-width: 78px; text-align: center; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 10px 6px; }
.countdown .clock b { display: block; font: italic 700 44px/1 var(--display); }
.countdown .clock i { font-style: normal; font-size: 12px; color: #e3c6c6; text-transform: uppercase; letter-spacing: .08em; }
.champ { display: flex; gap: 16px; align-items: center; text-decoration: none; }
.champ:hover { border-color: var(--red); }
.champ .ph { width: 72px !important; min-height: 72px !important; border-radius: 50% !important; flex: none; background: url(img/face1.jpg) center / cover; border: 0; filter: grayscale(1); }
.champ:nth-child(2) .ph { background-image: url(img/face2.jpg); } .champ:nth-child(3) .ph { background-image: url(img/face3.jpg); } .champ:nth-child(4) .ph { background-image: url(img/face4.jpg); }
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(1); border: 1px solid var(--line2); }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--card); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.35) contrast(1.05); }
.champ .ph span { display: none; }
.champ h3 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 28px; }
.feed { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feed-row { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border-bottom: 0; }
.feed-row a { color: var(--red); text-decoration: none; font-weight: 600; }
@media (max-width: 620px) { .feed-row { grid-template-columns: 1fr; gap: 2px; } .countdown .clock span { min-width: 60px; } .countdown .clock b { font-size: 32px; } }

/* Карточки с фото */
.pcard { display: flex; flex-direction: column; gap: 14px; }
.pcard .photo { aspect-ratio: 1 / 1; }
.pcard h3 { font-size: 23px; margin: 6px 0 0; }
.pcard p { color: #cfccc6; margin: 0; }
.day { font: italic 700 64px/0.9 var(--display); color: var(--red); margin-bottom: 14px; }

/* Красная лента «присоединяйся» */
.join { background: linear-gradient(115deg, #7b1014, var(--red) 55%, #b5161b); text-align: center; overflow: hidden; }
.join::before, .join::after { content: ""; position: absolute; width: 110px; height: 160%; top: -30%; border-radius: 60px; background: rgba(0,0,0,.14); transform: rotate(35deg); left: 8%; }
.join::after { left: auto; right: 10%; transform: rotate(-35deg); }
.join .wrap { position: relative; z-index: 1; }
.join img { width: 120px; margin: 0 auto 18px; }
.join .btn:hover { background: #141312; color: #fff; }

/* Подвал */
footer.bottom { background: #0b0b0a; border-top: 1px solid var(--line); padding: 46px 0 56px; font-size: 15px; color: var(--soft); }
footer.bottom .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer.bottom b { color: #fff; font: italic 700 26px/1 var(--display); text-transform: uppercase; display: block; margin-bottom: 10px; }
footer.bottom a { display: block; text-decoration: none; padding: 3px 0; color: #ddd; } footer.bottom a:hover { color: var(--red); }
footer.bottom .note { margin-top: 10px; }
.theme-btn { display: none; }
@media (max-width: 700px) { footer.bottom .cols { grid-template-columns: 1fr; } }

/* Тест */
.quiz { max-width: 820px; margin: 0 auto; }
.quiz .progress { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.quiz .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red-d), var(--red)); transition: width .25s; }
.quiz .answers { display: grid; gap: 12px; margin-top: 22px; }
.quiz .answers button { text-align: left; font: 600 18px Inter, sans-serif; color: #fff; padding: 18px 22px; background: var(--card); border: 1px solid var(--line2); border-radius: 18px; cursor: pointer; transition: .15s; }
.quiz .answers button:hover { border-color: var(--red); background: var(--card2); }
.quiz .card-img { width: 100%; border-radius: var(--r); margin-top: 10px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Страница «Клуб» (настройки демо) */
.names { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.name-card, .logo-card { display: flex; flex-direction: column; gap: 10px; }
.name-card .logo { display: flex; gap: 8px; } .name-card .logo img { width: 60px; height: 60px; background: #fff; border-radius: 12px; padding: 4px; }
.name-card.cur, .logo-card.cur, .pal.cur { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.logos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.logo-card { text-align: center; } .logo-card .foot { margin-top: auto; }
.logo-card .pair { display: flex; gap: 8px; justify-content: center; } .logo-card .pair img { width: 70px; height: 70px; padding: 6px; border-radius: 12px; background: #fff; } .logo-card .pair img.dk { background: #000; }
.big-logo { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; } .big-logo img { width: 130px; height: 130px; border-radius: 16px; }
.big-logo .dkbg { background: #000; padding: 10px; border-radius: 16px; }
.palettes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pal { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.pal .sw { display: flex; height: 44px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; } .pal .sw i { flex: 1; }
.custom { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 18px; }
.custom label { display: flex; gap: 8px; align-items: center; }
.custom input[type=color] { width: 50px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: var(--card); padding: 2px; }
.seg { display: inline-flex; border-radius: var(--r-ctl); overflow: hidden; border: 1px solid var(--line2); }
.seg button { font: 600 15px Inter, sans-serif; padding: 10px 18px; background: var(--card); color: #fff; border: 0; cursor: pointer; } .seg button.on { background: #fff; color: #141312; }
.blocks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.blk { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 16px 18px; }
.blk.off { opacity: .5; }
.blk input { position: absolute; opacity: 0; pointer-events: none; }
.sw-ui { flex: none; width: 44px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.12); position: relative; margin-top: 2px; transition: .15s; }
.sw-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .15s; }
.blk input:checked + .sw-ui { background: var(--red); } .blk input:checked + .sw-ui::after { left: 21px; }
.jump a { text-decoration: none; }
footer.bottom .note { display: none; }

/* «Работает на PokerApp» в подвале */
footer.bottom .powered { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--mute); }
.pa-logo { display: inline-flex !important; align-items: center; padding: 0 !important; text-decoration: none; font: 900 20px/1 Inter, sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.pa-logo b { color: #fff; padding-right: .12em; font-weight: 900; }
.pa-logo i { font-style: normal; color: #000; background: #f59e0b; border-radius: .18em; padding: .05em .18em .08em; }
.pa-logo:hover i { background: #fbbf24; }
footer.bottom .pa-logo b { display: inline; margin: 0; font: 900 20px/1 Inter, sans-serif; font-style: normal; text-transform: none; letter-spacing: -.04em; color: #fff; }

/* Хром на всех белых элементах: крупные заголовки, название клуба, цифры — текстом
   (background-clip: text), белые кнопки и выделения — заливкой. text-shadow с прозрачным
   текстом лёг бы поверх перелива, поэтому тень — через filter. Поля справа и сверху —
   чтобы наклон и «Й» не выходили за фон и не обрезались. */
h1, h2, .display, .brand span, footer.bottom b, .stat b, .countdown .clock b, .t-card h3, .champ h3 {
  background-image: var(--chrome); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  padding: .08em .14em .18em 0; }
footer.bottom .pa-logo b { background: none; -webkit-text-fill-color: #fff; color: #fff; padding: 0 .12em 0 0; }
.btn, .nav .who, .tabs button.on, .seg button.on, .flash, .top3:first-child .place { background: var(--chrome-soft); }
.btn.ghost { background: transparent; } .btn.red { background: var(--red); }
.btn:hover, .nav .who:hover { background: var(--red); color: #fff; }
.btn.ghost:hover { background: transparent; }

/* Карточка игрока и «Итог вечера» для соцсетей */
.share-row { margin-top: 14px; }
.pcard-share { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; margin-bottom: 26px; }
.pcard-share img { width: 100%; height: auto; border-radius: 16px; }
@media (max-width: 620px) { .pcard-share { grid-template-columns: 1fr; } .pcard-share img { max-width: 300px; margin: 0 auto; } }

/* «Сейчас в клубе» */
.lv-head { display: flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--red); }
.lv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,30,36,.7); animation: lvPulse 1.6s infinite; }
@keyframes lvPulse { 70% { box-shadow: 0 0 0 12px rgba(227,30,36,0); } 100% { box-shadow: 0 0 0 0 rgba(227,30,36,0); } }
.lv-title { font-size: clamp(40px, 6vw, 80px); margin: 6px 0 22px; }
.lv-board { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.lv-main { background: linear-gradient(120deg, var(--red-d), #3b0d0f 60%, var(--card)); border: 0; }
.lv-clock { font: italic 700 clamp(64px, 9vw, 120px)/1 var(--display); background-image: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: .06em .14em .14em 0; font-variant-numeric: tabular-nums; }
.lv-blinds { font: italic 700 clamp(28px, 3vw, 42px)/1.1 var(--display); margin: 6px 0 8px; }
.lv-blinds .muted { font: 600 15px Inter, sans-serif; }
.lv-stats { grid-template-columns: 1fr 1fr !important; gap: 14px; }
.lv-stats .stat { padding: 20px; }
.lv-stats .stat b { font-size: clamp(30px, 3.4vw, 52px); }
.lv-sub { font: italic 700 28px/1 var(--display); text-transform: uppercase; margin: 36px 0 16px; }
.lv-table .lv-th { display: flex; justify-content: space-between; margin-bottom: 10px; }
.lv-table ol { margin: 0; padding-left: 22px; }
.lv-table li { padding: 4px 0; } .lv-table li a { text-decoration: none; font-weight: 600; }
.lv-table li.out a { color: var(--mute); text-decoration: line-through; } .lv-table li span { color: var(--mute); font-size: 13px; margin-left: 8px; }
@media (max-width: 860px) { .lv-board { grid-template-columns: 1fr; } }


/* Аватар игрока в шапке рядом с именем. */
.nav .who { display: inline-flex; align-items: center; gap: 8px; }
.nav .who .who-ava { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; margin: -4px 0 -4px -8px; }

/* Аватар в шапке на телефоне: между кнопкой звонка и бургером. */
.hdr-ava { display: none; flex: none; width: 32px; height: 32px; margin: 0 4px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.hdr-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1100px) { .top .wrap { gap: 10px; } .hdr-ava { display: inline-flex; margin: 0; } }
/* Узкие телефоны: логотип, звонок, аватар и бургер — в одну строку без вылезания. */
@media (max-width: 420px) { .top .wrap { gap: 6px; } .brand span { font-size: 22px; } .hdr-call { width: 34px; } .hdr-ava { width: 30px; height: 30px; } }

/* Скругления в духе Apple: вместо «таблеток» (999px) — прямоугольники со скруглением
   14px, а где браузер умеет (corner-shape) — плавные «суперэллипсы», как в iOS/macOS. */
@supports (corner-shape: squircle) {
  :root { --r-ctl: 22px; --r: 34px; }
  .btn, .nav a, .nav .who, .tabs button, select, input[type=text], input[type=tel], .flash, .seg, .box, .pcard, .res, .t-card { corner-shape: squircle; }
}

/* PokerApp в подвале — монохромно и размером с подпись рядом. */
footer.bottom .powered .pa-logo { font-size: 1em; color: var(--mute); }
footer.bottom .powered .pa-logo b { font-size: 1em; color: var(--mute); -webkit-text-fill-color: var(--mute); }
footer.bottom .powered .pa-logo i { color: #141312; background: var(--mute); }
footer.bottom .powered .pa-logo:hover b { color: #fff; -webkit-text-fill-color: #fff; } footer.bottom .powered .pa-logo:hover i { background: #fff; }

/* Залогиненный в шапке — как обычный пункт меню (с аватаром); выделен только в профиле. */
.nav .who.me { background: none; color: #e8e6e1; font-weight: 500; }
.nav .who.me:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav .who.me.on { background: var(--chrome-soft); color: #141312; font-weight: 700; }

/* Кнопки (и «Войти») — красные, при наведении светлые: инверсия прежних (14.10.2026). */
.btn, .nav .who:not(.me) { background: var(--red); color: #fff; }
.btn:hover, .nav .who:not(.me):hover { background: var(--chrome-soft); color: #141312; }
.btn.ghost, .btn.ghost:hover { background: transparent; color: #fff; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn:disabled, .btn[disabled] { background: rgba(227,30,36,.35); color: rgba(255,255,255,.7); cursor: default; transform: none; }
