/* =========================================================================
   Волейкон — стиль «Спортзал».
   Светлый фон, один акцент (оранжевый, как паркет и мяч), крупные фото пар.
   Скругления: контейнеры 18px, поля ввода 12px, все кнопки и чипы — пилюля.
   ========================================================================= */

@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/unbounded-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  src: url('../assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('../assets/fonts/onest-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F2F3F0;
  --bg-alt: #E8EBE6;
  --surface: #FBFBFA;
  --ink: #15181B;
  --ink-2: #434A50;
  --ink-3: #5F656B;
  --line: #D5D9D3;
  --accent: #C8481A;
  --accent-hover: #AE3D14;
  --accent-ink: #A83A12;
  --accent-soft: #F5E2D8;
  --photo: #101214;
  --ok: #2F6B4F;

  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 1px 2px rgb(21 24 27 / .05), 0 10px 30px rgb(21 24 27 / .07);
  --shadow-lg: 0 2px 6px rgb(21 24 27 / .06), 0 24px 60px rgb(21 24 27 / .14);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;

  --header-h: 64px;
  --wrap: 1240px;
  --gutter: 16px;

  /* слои */
  --z-header: 20;
  --z-sticky: 30;
  --z-drawer: 40;
  --z-toast: 50;

  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.12; }
h3 { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.section--alt { background: var(--bg-alt); }
.section__head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 760px; }
.section__lead { color: var(--ink-2); font-size: 17px; max-width: 62ch; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
}

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), color .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: #FFF9F5; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ink { background: var(--ink); color: #F7F8F6; }
.btn--ink:hover { background: #2A2F34; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #FBFBFA; color: var(--ink); }
.btn--light:hover { background: #FFFFFF; }
.btn--outline-light { background: transparent; border-color: rgb(255 255 255 / .55); color: #FFF9F5; }
.btn--outline-light:hover { border-color: #FFF9F5; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--icon { width: 50px; padding: 0; }
.btn--icon.btn--sm { width: 42px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--accent-ink); text-decoration: none;
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link--button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 14px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.tag--stock { color: var(--ok); }
.tag--order { color: var(--accent-ink); }

/* ---------- Шапка ---------- */
/* sticky вешаем на обёртку #header: у .header внутри неё нет запаса хода */
#header { min-height: var(--header-h); position: sticky; top: 0; z-index: var(--z-header); }
.header {
  position: relative;
  background: rgb(242 243 240 / .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a, .nav button {
  padding: 8px 12px; border-radius: var(--pill); border: 0; background: none;
  font-weight: 500; font-size: 15px; color: var(--ink-2); text-decoration: none;
}
.nav a:hover, .nav button:hover { color: var(--ink); background: rgb(21 24 27 / .05); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__write { display: none; }
.menu-btn { display: inline-flex; }
/* полное меню в одну строку помещается от 1200px, уже — кнопка «Меню» */
.nav a, .nav button { white-space: nowrap; }
@media (min-width: 1024px) { .header__write { display: inline-flex; } }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-header);
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 12px var(--gutter) 20px;
  display: grid; gap: 4px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a, .mobile-menu button.mobile-menu__item {
  display: block; padding: 14px 4px; border: 0; background: none; text-align: left;
  font-size: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Первый экран ---------- */
.hero { padding-block: 24px 48px; }
@media (min-width: 1024px) { .hero { padding-block: 40px 72px; } }
.hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.22fr .78fr; gap: 56px; } }
.hero h1 { font-size: clamp(30px, 3.2vw, 46px); }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 479px) { .hero__ctas { width: 100%; } .hero__ctas .btn { flex: 1 1 100%; } }
.hero__media {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--photo);
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) { .hero__media { aspect-ratio: auto; height: min(640px, calc(100dvh - var(--header-h) - 120px)); min-height: 440px; } }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
@media (min-width: 900px) { .hero__media img { object-position: 50% 60%; } }

/* полоса доверия под первым экраном */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__list {
  list-style: none; margin: 0; padding: 18px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px;
}
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.trust__item .icon { color: var(--accent); width: 24px; height: 24px; }
.trust__item b { font-weight: 700; }

/* ---------- Три двери ---------- */
.doors { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .doors { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; min-height: 520px; }
  .door--quiz { grid-row: span 2; }
}
.door {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 24px; min-height: 220px; text-decoration: none; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.door:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.door h3 { font-size: clamp(20px, 2vw, 26px); }
.door p { max-width: 36ch; }
.door__go { margin-top: 6px; }
.door--quiz { background: var(--accent); color: #FFF9F5; min-height: 300px; padding: 28px; }
.door--quiz p { color: #FFF9F5; font-size: 17px; }
.door__go { align-self: flex-start; }
.door__preview { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: auto; max-width: 420px; }
.door__q { width: 100%; font-size: 14px; font-weight: 600; color: #FFF9F5; margin-bottom: 4px; }
.door__opt {
  padding: 10px 16px; border-radius: var(--pill); border: 1.5px solid rgb(255 255 255 / .35);
  font-size: 15px; font-weight: 550;
}
.door__opt.is-on { background: #FFF9F5; color: var(--accent-ink); border-color: #FFF9F5; }
.door--photo { color: #F7F8F6; background: var(--photo); }
.door--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.door--photo img { object-position: 50% 18%; }
.door--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(16 18 20 / 0) 8%, rgb(16 18 20 / .78) 48%, rgb(16 18 20 / .94) 100%);
}
.door--photo p { color: rgb(247 248 246 / .86); }
.door--light {
  background: #FFFFFF; border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) 40%; align-items: end; gap: 12px;
}
.door--light .door__text { display: grid; gap: 10px; justify-items: start; }
.door--light img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; align-self: center; }
.door--light p { color: var(--ink-2); }

/* ---------- Карточки товаров ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 3 / 4; background: var(--photo); overflow: hidden; }
.card__media--light { background: #FFFFFF; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__media--light img { object-fit: contain; padding: 8%; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.card__title { font-weight: 650; font-size: 16px; line-height: 1.3; text-wrap: balance; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { color: var(--ink-3); font-size: 14px; }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; width: 100%; }
.card__price { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.card__cta { position: relative; z-index: 2; margin-top: auto; }
.card__row { margin-bottom: 10px; }
.card__played {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok);
}

.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .grid .card__body { padding: 12px 12px 14px; }
  .grid .card__title { font-size: 15px; }
  .grid .card__price { font-size: 16px; }
  .grid .card__cta { display: none; }
}

/* горизонтальная лента карточек */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 280px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
}
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: none; gap: 8px; }
@media (min-width: 900px) { .rail__nav { display: flex; } }
.rail__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.rail__head .section__head { margin-bottom: 0; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; gap: 32px; }
@media (min-width: 960px) { .reviews { grid-template-columns: 340px 1fr; gap: 56px; align-items: start; } }
.rating { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 960px) { .rating { position: sticky; top: calc(var(--header-h) + 32px); } }
.rating__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 9vw, 112px); line-height: .9; letter-spacing: -0.04em; }
.rating__stars { display: flex; gap: 4px; color: var(--accent); }
.rating__stars .icon { width: 24px; height: 24px; }
.rating__note { color: var(--ink-2); max-width: 30ch; }
.quotes { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .quotes { columns: 2; } }
.quote {
  break-inside: avoid; margin: 0 0 16px; padding: 20px;
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  display: grid; gap: 14px;
}
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.quote figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--ink-3); }
.quote figcaption b { color: var(--ink); font-weight: 650; }

/* ---------- Почему у нас ---------- */
.why { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.why__media { border-radius: var(--radius); overflow: hidden; background: var(--photo); aspect-ratio: 3 / 4; max-height: 640px; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.versus { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.versus li { display: grid; grid-template-columns: 32px 1fr; gap: 4px 14px; }
.versus .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.versus b { font-size: 18px; font-weight: 650; line-height: 1.3; }
.versus s { color: var(--ink-3); text-decoration-thickness: 1px; font-size: 15px; }
.why__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Как заказать ---------- */
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--surface); border-radius: var(--radius); }
.step .icon { width: 30px; height: 30px; color: var(--accent); }
.step p { color: var(--ink-2); font-size: 15px; }
.terms { display: grid; gap: 16px; }
@media (min-width: 768px) { .terms { grid-template-columns: 1fr 1fr; } }
.term { padding: 24px; border-radius: var(--radius); border: 1.5px solid var(--line); display: grid; gap: 12px; align-content: start; }
.term--accent { border-color: var(--accent); background: var(--accent-soft); }
.term h3 { display: flex; align-items: center; gap: 10px; }
.term dl { margin: 0; display: grid; gap: 10px; }
.term dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.term dt { color: var(--ink-3); font-size: 15px; }
.term dd { margin: 0; font-weight: 550; }
.methods { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.methods > span:first-child { color: var(--ink-3); margin-right: 4px; }

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 650; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--ink-3); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-2); max-width: 70ch; display: grid; gap: 10px; }

/* ---------- Финальный призыв ---------- */
.final {
  border-radius: calc(var(--radius) + 6px); background: var(--accent); color: #FFF9F5;
  padding: clamp(28px, 5vw, 64px); display: grid; gap: 24px; align-items: center;
}
@media (min-width: 960px) { .final { grid-template-columns: 1.2fr .8fr; } }
.final p { color: #FFF9F5; font-size: 18px; max-width: 46ch; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .final__ctas { justify-content: flex-end; } }
.promo-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 10px 16px; border-radius: var(--pill); background: rgb(255 255 255 / .14);
  font-weight: 550; font-size: 15px;
}
.promo-note b { letter-spacing: .04em; }

/* ---------- Подвал ---------- */
.footer { background: var(--bg-alt); padding-block: 48px 32px; margin-top: 64px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__about { color: var(--ink-2); max-width: 40ch; margin-top: 12px; }
.footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }

/* ---------- Нижняя плашка на телефоне ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: flex; gap: 8px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(251 251 250 / .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(0); transition: transform .3s var(--ease);
}
.sticky-bar .btn--primary { flex: 1 1 auto; min-width: 0; padding: 0 16px; }
.sticky-bar .btn--icon { flex: none; width: 48px; }
.sticky-bar.is-hidden { transform: translateY(110%); }
body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .sticky-bar { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

/* ---------- Окно квиза ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--bg); max-width: none; max-height: none; }
dialog::backdrop { background: rgb(16 18 20 / .5); }
body.is-locked { overflow: hidden; }

.modal {
  width: 100%; height: 100dvh; margin: 0;
}
@media (min-width: 640px) {
  .modal { width: min(600px, calc(100% - 48px)); height: auto; max-height: calc(100dvh - 48px); margin: auto; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
}
.modal__inner { display: flex; flex-direction: column; min-height: 100%; }
@media (min-width: 640px) { .modal__inner { min-height: 560px; } }
.modal__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 0 24px; }
.modal__step { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.modal__body { padding: 16px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.modal__body h2 { font-size: clamp(22px, 3vw, 28px); }
.modal__foot { display: flex; gap: 10px; padding: 16px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.modal__foot .btn { flex: 1; }
.modal__foot .btn--icon { flex: none; }
@media (min-width: 640px) { .modal__foot { border-radius: 0 0 calc(var(--radius) + 4px) calc(var(--radius) + 4px); } }

.close-btn {
  width: 44px; height: 44px; border-radius: var(--pill); border: 0; background: rgb(21 24 27 / .06);
  display: inline-grid; place-items: center;
}
.close-btn:hover { background: rgb(21 24 27 / .1); }

.options { display: grid; gap: 10px; }
@media (min-width: 480px) { .options--2 { grid-template-columns: 1fr 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 550; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.option label small { display: block; font-weight: 400; color: var(--ink-3); font-size: 14px; }
.option label:hover { border-color: var(--ink-3); }
.option input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__value {
  min-width: 150px; text-align: center; font-family: var(--font-display); font-weight: 600;
  font-size: 40px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stepper__value small { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.stepper .btn { width: 56px; min-height: 56px; padding: 0; font-size: 24px; }
.hint { color: var(--ink-3); font-size: 14px; }
.measure { background: var(--surface); border-radius: var(--radius-sm); padding: 4px 16px; }
.measure summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--accent-ink); }
.measure ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }

.summary { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; }
.summary div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 15px; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.promo-line {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 550; font-size: 15px;
}

.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #B9BFB7; background: #FFFFFF; font-size: 16px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(200 72 26 / .18); }
.field__help { font-size: 14px; color: var(--ink-3); }
.field__error { font-size: 14px; color: #A3261B; font-weight: 550; }
.field__error:empty { display: none; }
.field.has-error input { border-color: #A3261B; }
.done { display: grid; gap: 14px; justify-items: start; }
.done .icon { width: 48px; height: 48px; color: var(--ok); }
.done pre {
  width: 100%; white-space: pre-wrap; font: inherit; font-size: 14px; background: var(--surface);
  border-radius: var(--radius-sm); padding: 14px; margin: 0; color: var(--ink-2);
}

/* тост */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: var(--z-toast);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #F7F8F6; padding: 12px 18px; border-radius: var(--pill);
  font-weight: 550; font-size: 15px; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------- Каталог ---------- */
.page-head { padding-block: 32px 8px; display: grid; gap: 12px; }
.page-head p { color: var(--ink-2); max-width: 60ch; font-size: 17px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 16px var(--gutter); margin: 0 calc(var(--gutter) * -1) 8px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #F7F8F6; border-color: var(--ink); }
.catalog-count { color: var(--ink-3); font-size: 15px; margin-bottom: 16px; }
.order-note {
  margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 14px; align-items: center;
}
@media (min-width: 768px) { .order-note { grid-template-columns: 1fr auto; } }
.order-note p { color: var(--ink-2); }

/* ---------- Карточка товара ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 16px 8px; font-size: 14px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; gap: 28px; padding-bottom: 48px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery__main {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto;
  scroll-snap-type: x mandatory; border-radius: var(--radius); background: var(--photo);
  scrollbar-width: none; aspect-ratio: 3 / 4;
}
.gallery__main::-webkit-scrollbar { display: none; }
@media (max-width: 959px) { .gallery__main { aspect-ratio: 1 / 1; } .gallery__thumbs button { width: 56px; height: 56px; } }
.gallery__main--light { background: #FFFFFF; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery__main--light img { object-fit: contain; padding: 6%; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button {
  flex: none; width: 68px; height: 84px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 2px solid transparent; background: var(--photo); opacity: .7; transition: opacity .2s, border-color .2s;
}
.gallery__thumbs--light button { background: #FFFFFF; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }

.buy { display: grid; gap: 18px; align-content: start; }
@media (min-width: 960px) { .buy { position: sticky; top: calc(var(--header-h) + 20px); } }
.buy__tags { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.buy h1 { font-size: clamp(26px, 3.2vw, 38px); }
.buy__color { color: var(--ink-2); font-size: 17px; margin-top: -8px; }
.buy__price { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.buy__price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink-3); margin-left: 8px; letter-spacing: 0; }
.buy__status { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); font-size: 15px; }
.buy__status .icon { margin-top: 1px; color: var(--ok); }
.buy__status--order .icon { color: var(--accent); }
.sizes { display: grid; gap: 10px; }
.sizes__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sizes__head b { font-size: 15px; }
.sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 74px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); display: grid; gap: 0; justify-items: center; line-height: 1.25; cursor: pointer;
}
.size b { font-size: 16px; }
.size span { font-size: 12.5px; color: var(--ink-3); }
.size[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.size--fixed { cursor: default; border-color: var(--ink); }
.buy__ctas { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.assure .icon { color: var(--accent); margin-top: 1px; }
.played {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgb(47 107 79 / .1); color: #23533C; font-weight: 600; font-size: 15px;
}
.played .icon { width: 24px; height: 24px; }

.pdp-section { padding-block: 40px; border-top: 1px solid var(--line); }
.pdp-section > h2 { margin-bottom: 24px; font-size: clamp(22px, 2.6vw, 30px); }
.prose { display: grid; gap: 14px; max-width: 70ch; color: var(--ink-2); font-size: 17px; }
.verdict { font-size: clamp(18px, 2vw, 22px); font-weight: 600; max-width: 46ch; margin-bottom: 8px; }
.scores { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 24px; }
.score { padding: 18px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 6px; align-content: start; }
.score__num { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; }
.score__num small { font-family: var(--font-body); font-size: 14px; color: var(--ink-3); font-weight: 500; }
.score__label { font-weight: 650; }
.score p { color: var(--ink-2); font-size: 14.5px; }
.proscons { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons > div { padding: 20px; border-radius: var(--radius); background: var(--surface); }
.proscons h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.proscons ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.fitline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.source { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.specs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; }
.specs div { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); }
.specs dt { color: var(--ink-3); font-size: 14px; }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.box { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chart-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); }
.chart { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 420px; }
.chart th, .chart td { padding: 10px 14px; text-align: left; }
.chart thead th { color: var(--ink-3); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--line); }
.chart tbody tr:nth-child(even) { background: rgb(21 24 27 / .03); }
.chart tr.is-hit { background: var(--accent-soft) !important; font-weight: 650; }
.not-found { padding-block: 80px; display: grid; gap: 16px; justify-items: start; }

/* ---------- Появление при прокрутке ---------- */
/* прячем только когда JS точно работает (класс js ставится в <head>), иначе блоки видны сразу */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* согласие на обработку данных в форме заявки */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.vk-hint { font-size: 14px; color: var(--ink-2); }

/* ---------- Заглушка, когда у товара нет фото ---------- */
.card__noimg { width: 100%; height: 100%; display: grid; place-items: center; background: var(--bg-alt); color: var(--ink-3); }

/* ---------- Карточка товара: допы и ссылки под кнопкой ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.extras { display: grid; gap: 10px; }
.extras legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.extras__list { display: flex; flex-wrap: wrap; gap: 8px; }
.extras__opt { position: relative; cursor: pointer; }
.extras__opt input { position: absolute; opacity: 0; pointer-events: none; }
.extras__opt span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; line-height: 1.3;
  transition: border-color .15s, background-color .15s;
}
.extras__opt span::before {
  content: ""; width: 14px; height: 14px; margin-right: 8px; border-radius: 4px; border: 1.5px solid var(--ink-3); flex: none;
}
.extras__opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.extras__opt input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-soft); }
.extras__opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.buy__links { display: grid; gap: 10px; justify-items: start; }

/* ---------- Заявки: способ связи ---------- */
.channel legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.channel__list { display: flex; flex-wrap: wrap; gap: 8px; }
.channel__opt { position: relative; cursor: pointer; }
.channel__opt input { position: absolute; opacity: 0; pointer-events: none; }
.channel__opt span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: #FFFFFF; font-weight: 550; font-size: 15px;
}
.channel__opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.channel__opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
#quizLead { display: grid; gap: 16px; }

/* ---------- Не только волейбол ---------- */
.sports { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sports { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sports { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sport {
  display: grid; gap: 6px; align-content: start; justify-items: start; text-align: left;
  padding: 18px; min-height: 132px; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sport:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.sport:active { transform: scale(.98); }
.sport .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 6px; }
.sport b { font-size: 16px; font-weight: 650; line-height: 1.25; }
.sport span { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.sport:first-child { background: var(--accent-soft); border-color: transparent; }

.china {
  margin-top: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--bg-alt);
  display: grid; gap: 18px; align-items: center;
}
@media (min-width: 960px) { .china { grid-template-columns: 1fr 1fr; gap: 40px; } }
.china h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 8px; }
.china p { color: var(--ink-2); max-width: 56ch; }
.china__form { display: grid; gap: 10px; }
@media (min-width: 560px) { .china__form { grid-template-columns: 1fr auto; } }
.china__form input {
  min-height: 50px; padding: 12px 16px; border-radius: var(--pill); border: 1.5px solid #B9BFB7; background: #FFFFFF; font-size: 16px; min-width: 0;
}
.china__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(200 72 26 / .18); }
.china__form .field__error { grid-column: 1 / -1; }

/* ---------- Опт ---------- */
.wholesale { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .wholesale { grid-template-columns: 1fr 1fr; gap: 56px; } }
.wholesale__points { margin: 4px 0 20px; }
.wholesale__points li { font-size: 16px; color: var(--ink); }
.wholesale__card { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); }
#wholesaleForm { display: grid; gap: 16px; }

/* ---------- Команда и игры ---------- */
/* цвета лиг как в плане недели: 2 лига — жёлтый, Любительская — зелёный, БМВЛ — розовый */
.lgc--2 { --lg-c: #D9A20B; }
.lgc--amateur { --lg-c: #2F8F5B; }
.lgc--bmvl { --lg-c: #C93A6B; }
.lg {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--pill);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  background: var(--bg-alt); color: var(--ink-2);
}
.lg--2 { background: #FBE7A1; color: #5E4500; }
.lg--amateur { background: #D3EEDD; color: #1D5537; }
.lg--bmvl { background: #F9D6E2; color: #861C42; }

.team-hero { display: grid; gap: 24px; padding-block: 24px 16px; align-items: center; }
@media (min-width: 900px) { .team-hero { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-block: 40px 24px; } }
.team-hero__copy { display: grid; gap: 16px; justify-items: start; }
.team-hero__copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; max-width: 54ch; }
.team-hero__media { border-radius: var(--radius); overflow: hidden; background: var(--photo); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .team-hero__media { aspect-ratio: 4 / 5; max-height: 560px; } }
.team-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.season { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 8px; }
.season[hidden] { display: none; }
.season div { display: grid; }
.season b { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.season span { margin-top: 6px; color: var(--ink-3); font-size: 14px; }

.games-block { margin-top: 40px; }
.games-block > h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 16px; }
.leagues { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.league {
  display: grid; gap: 8px; align-content: start; justify-items: start; padding: 18px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--lg-c, var(--line));
}
.league__name { font-family: var(--font-body); font-size: 16px; font-weight: 650; }
.league__place { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.league__place small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.league__record { color: var(--ink-2); font-size: 14.5px; }

.filters[hidden] { display: none; }
#leagueFilters { margin-top: 24px; margin-bottom: -16px; }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lg-c, var(--ink-3)); }
.filters button[aria-pressed="true"] .chip__dot { box-shadow: 0 0 0 2px #F7F8F6; }

.games-month { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 10px; }
.games-month:first-child { margin-top: 0; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.game {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  border-left: 5px solid var(--lg-c, var(--line));
}
@media (min-width: 768px) { .game { grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: 20px 24px; } }
.game__date { display: grid; align-content: start; justify-items: start; line-height: 1; }
.game__date b { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .game__date b { font-size: 42px; } }
.game__date span { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.game__main { display: grid; gap: 8px; min-width: 0; justify-items: start; }
.game__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.game__top .lg { white-space: normal; line-height: 1.25; padding-block: 4px; }
.game__own-time { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.game__time { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.game__matches { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.game__match { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.game__teams { font-size: 18px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.game__teams .us { font-weight: 750; }
.game__teams .tbd { color: var(--ink-3); }
.game__score { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; margin-inline: 2px; }
.game__dash { color: var(--ink-3); }
.game__where { display: flex; gap: 6px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.game__where .icon { margin-top: 3px; color: var(--ink-3); }
.res { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--pill); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.res--win { background: rgb(47 107 79 / .12); color: #23533C; }
.res--loss { background: rgb(21 24 27 / .06); color: var(--ink-3); }
.res--wait { background: var(--accent-soft); color: var(--accent-ink); }
.games-empty { padding: 20px; border-radius: var(--radius); border: 1.5px dashed var(--line); color: var(--ink-2); }

/* анонс ближайшей игры на главной, в блоке «Почему у нас» */
#nextGame[hidden] { display: none; }
.next-game {
  margin-top: 28px; display: grid; gap: 6px; justify-items: start; padding: 18px 20px; text-decoration: none;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  border-left: 5px solid var(--lg-c, var(--accent));
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.next-game:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.next-game__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.next-game__when { font-weight: 700; }
.next-game__teams { font-size: 18px; font-weight: 650; line-height: 1.35; }
.next-game__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink-2); font-size: 14.5px; }
.next-game__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; color: var(--accent-ink); }
.trust__link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.trust__link:hover { text-decoration-color: var(--accent); }
