/* ============ ГЛАВНАЯ ============ */
/* Макет «Событие 2.0» (утверждён 2026-10-14), разметку рисуют js/home.js,
   home-hero.js, home-smart.js и store.js (сетка «Популярного»). Сверху
   вниз: баннер инфоповодов, полоса доверия, «Товар дня» и умный блок,
   шапка «Популярного», сетка, низ страницы (гайды, канал, вопросы).
   Баннер тёмный в обеих темах: это сцена с подсветкой, на белом она
   превращается в серую плашку. Остальное идёт от токенов темы.
   Телефон -- до 640px, как и на всём сайте. */

/* У блоков ниже свой display, а он сильнее атрибута hidden. Слайды
   баннера не трогаем: скрытый слайд держит место (ниже, .hh-slide). */
.home-top > [hidden],
.home-row > [hidden],
.ht-info[hidden],
.home-after [hidden] { display: none !important; }

.home-top { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.home-row { margin-top: 32px; }
.home-popular { margin-top: 32px; }

/* ── Заглушки, пока не пришёл каталог ─────────────────────────────────── */
.sk { position: relative; overflow: hidden; background: var(--color-surface-2); }
.sk::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%);
  transform: translateX(-100%); animation: hm-sheen 1.4s ease-in-out infinite;
}
html.light .sk::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); }
@keyframes hm-sheen { to { transform: translateX(100%); } }

.lot-skel { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); padding-bottom: 10px; }
.lot-skel .sk { display: block; border-radius: 4px; margin: 0 10px; }
.lot-skel .sk-img { aspect-ratio: 4 / 3; border-radius: 0; margin: 0 0 10px; }
.lot-skel .sk-l1 { height: 8px; width: 40%; }
.lot-skel .sk-l2 { height: 10px; width: 88%; margin-top: 8px; }
.lot-skel .sk-l3 { height: 14px; width: 50%; margin-top: 10px; }
.lot-skel .sk-btn { height: 30px; margin-top: 10px; border-radius: 8px; }

/* Высоты заглушек -- как у готовых блоков (замер 2026-10-15): разница
   сдвигала всё ниже, когда приходил каталог (CLS в статистике Cloudflare).
   На телефоне и в узком окне блоки стоят друг под другом, у каждого своя. */
.home-row.is-loading .sk-block { height: 307px; border-radius: 16px; }
.home-row.is-loading .home-deal,
.home-row.is-loading .home-smart { background: none; box-shadow: none; padding: 0; }
/* Полосу доверия и шапку «Популярного» home.js рисует сразу, но модули
   приходят позже первой отрисовки: пустым держим их место. */
.home-trust:empty { min-height: 72px; }
.home-popular:empty { min-height: 42px; }

/* ── Баннер инфоповодов ───────────────────────────────────────────────── */
.home-hero {
  position: relative; overflow: hidden; border-radius: 18px;
  background: #0a0b12; color: #e9e9ed;
  box-shadow: 0 0 0 1px rgba(233, 233, 237, .08);
  --hh-glow: rgba(63, 192, 140, .3);
  --hh-tag-bg: rgba(63, 192, 140, .16); --hh-tag-fg: #6ad4aa;
}
html.light .home-hero { box-shadow: 0 0 0 1px rgba(23, 26, 34, .08), 0 14px 34px rgba(23, 26, 34, .14); }
.home-hero .sk { background: #161826; }

.hh-skel { min-height: 430px; padding: 50px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hh-skel .sk { display: block; border-radius: 8px; }
.hh-skel .sk-tag { width: 90px; height: 24px; border-radius: 6px; }
.hh-skel .sk-t1 { width: min(560px, 80%); height: 56px; }
.hh-skel .sk-t2 { width: min(380px, 60%); height: 18px; }
.hh-skel .sk-btn { width: 200px; height: 48px; border-radius: 10px; margin-top: 6px; }

/* Слайды лежат в одной клетке сетки, скрытые -- невидимы, но место
   держат: высота баннера равна самому высокому слайду и не прыгает. */
.hh-stage { display: grid; }
.hh-slide {
  grid-area: 1 / 1; position: relative; min-width: 0;
  display: flex; flex-wrap: wrap; gap: 24px; padding: 50px 50px 30px; min-height: 400px;
}
.hh-slide[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.hh-slide[hidden] * { animation-play-state: paused !important; }

.hh-t-promo { --hh-tag-bg: rgba(255, 122, 89, .16); --hh-tag-fg: #ff9a7f; --hh-glow: rgba(63, 192, 140, .3); }
.hh-t-new { --hh-tag-bg: rgba(63, 192, 140, .16); --hh-tag-fg: #6ad4aa; --hh-glow: rgba(217, 119, 87, .3); }
.hh-t-seller { --hh-tag-bg: rgba(110, 168, 255, .16); --hh-tag-fg: #9cc3ff; --hh-glow: rgba(110, 168, 255, .28); }
.hh-t-news { --hh-tag-bg: rgba(180, 155, 255, .16); --hh-tag-fg: #c9b8ff; --hh-glow: rgba(180, 155, 255, .26); }
.hh-t-top { --hh-tag-bg: rgba(255, 196, 84, .14); --hh-tag-fg: #ffc454; --hh-glow: rgba(255, 196, 84, .22); }

.hh-glow {
  position: absolute; right: -60px; top: -170px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, var(--hh-glow) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none; animation: hh-glow 10s ease-in-out infinite;
}
.hh-body { position: relative; flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.hh-noimg .hh-body { flex-basis: 100%; }
.hh-tag {
  align-self: flex-start; padding: 5px 10px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  background: var(--hh-tag-bg); color: var(--hh-tag-fg);
}
.hh-title {
  margin: 0; max-width: 640px; color: #e9e9ed;
  font-size: 64px; line-height: .98; font-weight: 700; letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.hh-title.is-long { font-size: 44px; line-height: 1.05; letter-spacing: -.03em; }
.hh-text { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.5; color: #b2b6ca; }

.hh-cd { display: flex; align-items: center; gap: 8px; }
.hh-cd-l { font-size: 12.5px; color: #75798c; margin-right: 4px; }
.hh-cd-box {
  min-width: 56px; padding: 8px 6px; border-radius: 10px; background: #161826;
  box-shadow: inset 0 0 0 1px rgba(233, 233, 237, .08);
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.hh-cd-box b { display: inline-block; font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hh-cd-box b.roll { animation: hh-roll .35s cubic-bezier(.2, .8, .2, 1) both; }
.hh-cd-box span { font-size: 10.5px; color: #75798c; }

.hh-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hh-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px;
  background: #3fc08c; color: #0d1c16; font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background-color .15s;
}
.hh-btn:hover { background: #6ad4aa; color: #0d1c16; }
.hh-btn2 {
  display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 10px;
  color: #e9e9ed; font-size: 14.5px; font-weight: 500; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(233, 233, 237, .16); transition: background-color .15s;
}
.hh-btn2:hover { background: rgba(233, 233, 237, .06); color: #e9e9ed; }
.hh-btn:focus-visible, .hh-btn2:focus-visible, .hh-tab:focus-visible { outline: 2px solid #6ad4aa; outline-offset: 2px; }
.hh-shine { position: relative; overflow: hidden; }
.hh-shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .18) 50%, transparent 60%);
  transform: translateX(-100%); animation: hh-shine 3.2s ease-in-out infinite;
}

/* Картинки справа: одна большая с ценником, коллаж из трёх или кабинет. */
.hh-media { position: relative; flex: 1 1 400px; min-width: 0; min-height: 340px; }
.hh-fly { position: absolute; }
.hh-float { animation: hh-float 6s ease-in-out infinite; }
.hh-media img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(233, 233, 237, .12), 0 24px 50px rgba(0, 0, 0, .6);
}
.hh-media-single .hh-fly { left: 6%; right: 2%; top: 4%; }
.hh-media-single img { border-radius: 16px; transform: rotate(-3deg); box-shadow: 0 0 0 1px rgba(233, 233, 237, .12), 0 30px 60px rgba(0, 0, 0, .6); }
.hh-c0 { width: 58%; left: 4%; top: 14%; z-index: 1; }
.hh-c1 { width: 54%; right: 0; top: 0; z-index: 2; }
.hh-c2 { width: 50%; left: 30%; bottom: 0; z-index: 3; }
.hh-c0 img { transform: rotate(-7deg); }
.hh-c1 img { transform: rotate(5deg); }
.hh-c2 img { transform: rotate(-2deg); }
.hh-c1 .hh-float { animation-delay: -2s; }
.hh-c2 .hh-float { animation-delay: -4s; }

.hh-sticker {
  position: absolute; left: 0; bottom: 6px; z-index: 2; padding: 14px 18px; border-radius: 14px;
  background: #161826; box-shadow: 0 0 0 1px rgba(233, 233, 237, .12), 0 18px 40px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; gap: 2px;
}
.hh-sticker s { font-size: 13px; color: #75798c; }
.hh-sticker > div { display: flex; align-items: center; gap: 10px; }
.hh-sticker b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hh-off {
  font-size: 12px; font-weight: 700; padding: 4px 7px; border-radius: 7px;
  background: rgba(255, 122, 89, .14); color: #ff9a7f; box-shadow: inset 0 0 0 1px rgba(255, 122, 89, .38);
}

.hh-shop {
  position: absolute; left: 8%; right: 4%; top: 6%; padding: 20px; border-radius: 18px;
  background: #161826; box-shadow: 0 0 0 1px rgba(110, 168, 255, .28), 0 30px 60px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; gap: 16px;
}
.hh-shop-top { display: flex; align-items: center; gap: 12px; }
.hh-shop-top > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hh-shop-top b { font-size: 16px; font-weight: 600; }
.hh-shop-top > span:last-child > span { font-size: 12px; color: #75798c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-shop-ava { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #2a8bd6; color: #fff; font-size: 17px; font-weight: 700; }
.hh-shop-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hh-shop-tabs span { padding: 5px 10px; border-radius: 999px; font-size: 12px; background: #0e0f19; color: #b2b6ca; }
.hh-shop-tabs span.on { background: #0f3a2b; color: #9ce4c7; }
.hh-shop-lots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hh-shop-lots > div { border-radius: 10px; overflow: hidden; background: #0e0f19; }
.hh-shop-lots img { border-radius: 0; box-shadow: none; }
.hh-shop-lots b { display: block; padding: 6px 8px; font-size: 13px; font-weight: 600; }

/* Вход слайда: тексты снизу по очереди, картинки влетают справа. Класс
   hh-in ставит home-hero.js при каждом показе слайда. */
.hh-in .hh-up { animation: hh-up .6s cubic-bezier(.2, .8, .2, 1) both; }
.hh-in .hh-fly { animation: hh-fly .8s cubic-bezier(.2, .8, .2, 1) both; }
.hh-in .hh-c0 { animation-delay: 120ms; }
.hh-in .hh-c1 { animation-delay: 220ms; }
.hh-in .hh-c2 { animation-delay: 320ms; }
.hh-in .hh-sticker { animation: hh-pop .55s cubic-bezier(.3, 1.5, .5, 1) 380ms both; }
.hh-in .hh-shop-lots > div { animation: hh-pop .55s cubic-bezier(.3, 1.5, .5, 1) both; }

/* Вкладки слайдов внизу с полосой времени. */
.hh-tabs {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid rgba(233, 233, 237, .08);
}
.hh-tab {
  position: relative; text-align: left; padding: 16px 24px 18px; border: 0; background: transparent;
  color: #9397ab; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
  transition: background-color .2s, color .15s;
}
.hh-tab:hover { background: rgba(233, 233, 237, .04); color: #e9e9ed; }
.hh-tab[aria-pressed="true"] { color: #e9e9ed; }
.hh-bar { position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: rgba(233, 233, 237, .06); overflow: hidden; }
.hh-bar i { display: block; height: 100%; background: #3fc08c; transform: scaleX(0); transform-origin: left center; }
.hh-tab[aria-pressed="true"] .hh-bar i { transform: scaleX(1); }
.hh-bar i.run { animation: hh-fill 7s linear forwards; }
.home-hero.is-paused .hh-bar i.run { animation-play-state: paused; }
.hh-tab-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #75798c; }
.hh-tab[aria-pressed="true"] .hh-tab-tag { color: var(--hh-tag-fg); }
.hh-tab-t { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@keyframes hh-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hh-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hh-fly { from { opacity: 0; transform: translate(90px, 30px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes hh-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hh-glow { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .6; } 50% { transform: translate(-50px, 30px) scale(1.15); opacity: .95; } }
@keyframes hh-roll { from { opacity: 0; transform: translateY(-55%); } to { opacity: 1; transform: none; } }
@keyframes hh-shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ── Полоса доверия ───────────────────────────────────────────────────── */
.home-trust { position: relative; z-index: 5; }
.ht-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-radius: 14px; background: var(--color-surface);
}
html.light .ht-strip { box-shadow: var(--shadow-sm); }
.ht-btn {
  width: 100%; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border: 0; border-radius: 14px;
  background: transparent; color: var(--color-text); font: inherit; text-align: left; cursor: pointer;
  transition: background-color .15s;
}
.ht-btn:hover, .ht-btn[aria-expanded="true"] { background: rgba(233, 233, 237, .03); }
html.light .ht-btn:hover, html.light .ht-btn[aria-expanded="true"] { background: rgba(23, 26, 34, .03); }
.ht-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.ht-btn:hover .ne, .ht-btn[aria-expanded="true"] .ne {
  transform: scale(1.06);
  box-shadow: inset 0 0 0 1px var(--h), 0 0 18px color-mix(in srgb, var(--h) 40%, transparent);
}
.ht-t { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ht-t b { font-size: 13.5px; font-weight: 600; }
.ht-t span { font-size: 12.5px; color: var(--color-neutral-500); }
/* Вариант B: вопрос покупателя цветом плашки над ответом, стрелка справа. */
.ht-btn { gap: 11px; padding: 14px 14px 14px 16px; }
.ht-btn .ne { --s: 40px; }
.ht-btn.ht-g { --h: #3fc08c; } .ht-btn.ht-y { --h: #ffc454; } .ht-btn.ht-v { --h: #b49bff; } .ht-btn.ht-b { --h: #6ec3ff; }
html.light .ht-btn.ht-g { --h: #1f8a5c; } html.light .ht-btn.ht-y { --h: #a86b00; } html.light .ht-btn.ht-v { --h: #7356d1; } html.light .ht-btn.ht-b { --h: #2878b8; }
.ht-t .ht-q { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--h); }
.ht-cv { flex: none; width: 14px; height: 14px; color: var(--color-neutral-600); transition: transform .2s ease, color .15s; }
.ht-cv path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ht-btn:hover .ht-cv { color: var(--color-neutral-400); }
.ht-btn[aria-expanded="true"] .ht-cv { color: var(--h); transform: rotate(180deg); }
.ht-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ht-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--color-text); background: var(--color-sunken); box-shadow: inset 0 0 0 1px var(--color-divider); }

/* Неоновые значки (вариант «Неон»): линия рисуется сама и стирается по
   кругу, у каждого значка со своим сдвигом. */
.ne {
  --s: 44px; --h: #3fc08c;
  position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: var(--s); height: var(--s); border-radius: calc(var(--s) * .28); background: #0a0b12;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--h) 38%, transparent), 0 0 calc(var(--s) * .3) color-mix(in srgb, var(--h) 16%, transparent);
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.3, 1.5, .5, 1);
}
.ne svg { width: 68%; height: 68%; overflow: visible; filter: drop-shadow(0 0 2px var(--h)) drop-shadow(0 0 7px color-mix(in srgb, var(--h) 55%, transparent)); }
.ne .ln { fill: none; stroke: var(--h); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: ne-draw 6s ease-in-out infinite; }
.ne .dt { fill: var(--h); }
.ne .nt { fill: var(--h); font-family: var(--font-body); letter-spacing: -.3px; animation: ne-fade 6s ease-in-out infinite; }
.ne-g { --h: #3fc08c; } .ne-y { --h: #ffc454; } .ne-v { --h: #b49bff; } .ne-b { --h: #6ec3ff; }
.ht-typ { transform-box: fill-box; transform-origin: center; animation: ht-typ 1.4s ease-in-out infinite; }
.ht-tw { transform-box: fill-box; transform-origin: center; animation: ht-tw 2.4s ease-in-out infinite; }
/* Светлая тема: светлая плитка, цвета темнее, свечение слабее -- неон
   на белом иначе расплывается. */
html.light .ne { background: #f3f5f8; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--h) 45%, transparent); }
html.light .ne svg { filter: drop-shadow(0 0 1.5px color-mix(in srgb, var(--h) 45%, transparent)); }
html.light .ne-g { --h: #1f9a6a; } html.light .ne-y { --h: #c98a00; } html.light .ne-v { --h: #7c5cd6; } html.light .ne-b { --h: #2a8bd6; }
@keyframes ne-draw { 0% { stroke-dashoffset: 100; } 28%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes ne-fade { 0%, 18% { opacity: 0; } 30%, 86% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ht-typ { 0%, 60%, 100% { opacity: .4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-14%); } }
@keyframes ht-tw { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }

/* Условия по нажатию: всплывают под своей плашкой (left -- home.js). */
.ht-info {
  position: absolute; left: var(--ht-left, 10px); top: calc(100% + 8px); width: 340px; max-width: calc(100% - 20px);
  padding: 16px 18px; border-radius: 14px; background: var(--color-surface-2);
  box-shadow: 0 0 0 1px var(--ht-ring, rgba(63, 192, 140, .35)), 0 20px 40px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; gap: 9px; animation: ht-pop .25s cubic-bezier(.2, .8, .2, 1) both;
}
html.light .ht-info { background: var(--color-surface); box-shadow: 0 0 0 1px var(--ht-ring), 0 18px 40px rgba(23, 26, 34, .16); }
.ht-g { --ht-ring: rgba(63, 192, 140, .35); } .ht-y { --ht-ring: rgba(255, 196, 84, .35); }
.ht-v { --ht-ring: rgba(180, 155, 255, .4); } .ht-b { --ht-ring: rgba(110, 195, 255, .35); }
.ht-info-top { display: flex; align-items: center; gap: 8px; }
.ht-info-top b { flex: 1; font-size: 14.5px; font-weight: 600; }
.ht-x { width: 28px; height: 28px; margin: -6px -8px -6px 0; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--color-neutral-600); cursor: pointer; }
.ht-x:hover { color: var(--color-text); background: rgba(127, 127, 127, .1); }
.ht-info > span { font-size: 13px; line-height: 1.5; color: var(--color-neutral-300); }
.ht-info > .ht-note { font-size: 12px; color: var(--color-neutral-500); }
.ht-info > a, .ht-link { align-self: flex-start; font-size: 13px; color: var(--color-accent-400); text-decoration: none; }
html.light .ht-info > a, html.light .ht-link { color: var(--color-accent); }
.ht-info > a:hover, .ht-link:hover { text-decoration: underline; }
.ht-link { border: 0; padding: 0; background: none; font: inherit; font-size: 13px; cursor: pointer; }
@keyframes ht-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── Товар дня + умный блок ───────────────────────────────────────────── */
.home-row { display: flex; flex-wrap: wrap; gap: 14px; }
.home-deal {
  flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column;
  border-radius: 16px; background: var(--color-surface); box-shadow: inset 0 0 0 1px rgba(255, 196, 84, .28);
}
html.light .home-deal { box-shadow: inset 0 0 0 1px rgba(201, 138, 0, .35); }
.home-row.is-single > * { flex-basis: 100%; }

.hd-card { flex: 1; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; }
.hd-flash { animation: hd-flip .7s cubic-bezier(.2, .8, .2, 1) both, hd-flash 1.6s ease-out both; transform-origin: center; }
.hd-main { display: flex; flex-wrap: wrap; flex: 1; }
.hd-img { flex: 1 1 260px; position: relative; display: block; min-height: 230px; background: var(--color-neutral-900); }
.hd-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-info { flex: 1 1 280px; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.hd-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hd-sp { flex: 1; }
.hd-label {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px;
  background: rgba(255, 196, 84, .14); color: #ffc454; font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
html.light .hd-label { background: rgba(201, 138, 0, .12); color: #a86400; }
.hd-left { font-size: 12px; color: var(--color-neutral-500); }
.hd-left b { font-weight: 600; color: var(--color-text); font-variant-numeric: tabular-nums; }
.hd-cat { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-500); }
.hd-title { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--color-text); text-decoration: none; }
.hd-title:hover { color: var(--color-accent-400); }
html.light .hd-title:hover { color: var(--color-accent); }
.hd-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.hd-price s { font-size: 14px; color: var(--color-neutral-600); }
.hd-price b { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.hd-price .lot-card-off { font-size: 12px; padding: 4px 7px; border-radius: 7px; align-self: center; }
.hd-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.hd-actions .btn { height: 42px; justify-content: center; font-size: 14px; }
.hd-actions .hd-buy { flex: 1; }
.hd-stock {
  padding: 12px 20px 14px; border-top: 1px dashed rgba(255, 196, 84, .25); background: rgba(255, 196, 84, .05);
  display: flex; flex-direction: column; gap: 8px;
}
.hd-stock-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.hd-stock-row b { font-weight: 600; color: #ffc454; }
html.light .hd-stock-row b { color: #a86400; }
.hd-muted { color: var(--color-neutral-500); }
.hd-bar { height: 6px; border-radius: 6px; background: var(--color-bg); overflow: hidden; }
.hd-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ffc454, #ff9a7f); }
@keyframes hd-flip { 0% { opacity: 0; transform: perspective(900px) rotateY(-70deg); } 60% { opacity: 1; } 100% { transform: perspective(900px) rotateY(0); } }
@keyframes hd-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 196, 84, .7); } 100% { box-shadow: 0 0 0 16px rgba(255, 196, 84, 0); } }

/* Значки на картинке лота: здесь и на карточках сетки (store.js). */
.lot-badges { position: absolute; left: 6px; top: 6px; z-index: 2; display: flex; gap: 4px; pointer-events: none; }
.lot-badge {
  display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 6px;
  border-radius: 6px; font-size: 10px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.lot-badge-auto { padding-left: 4px; background: rgba(10, 11, 18, .82); color: #c9b8ff; }
.lot-badge-new { background: #3fc08c; color: #0d1c16; font-weight: 700; }
.hd-img .lot-badge { position: absolute; left: 10px; top: 10px; height: 24px; padding: 0 8px 0 6px; font-size: 11.5px; gap: 4px; }

.home-smart {
  flex: 1 1 380px; min-width: 0; padding: 20px; border-radius: 16px; background: var(--color-surface);
  display: flex; flex-direction: column; gap: 12px;
}
html.light .home-smart { box-shadow: var(--shadow-sm); }
.hs-head { display: flex; align-items: baseline; gap: 8px; }
.hs-head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.hs-sp { flex: 1; }
.hs-hint { font-size: 12px; color: var(--color-neutral-600); }
.hs-clear { border: 0; padding: 0; background: transparent; color: var(--color-neutral-600); font: inherit; font-size: 12.5px; cursor: pointer; }
.hs-clear:hover { color: var(--color-text); }
.hs-muted { font-size: 11.5px; color: var(--color-neutral-500); }
.hs-list { display: flex; flex-direction: column; gap: 12px; }
.hs-row { display: flex; gap: 12px; align-items: center; color: var(--color-text); text-decoration: none; border-radius: 9px; }
.hs-row:hover .hs-row-t { color: var(--color-accent-400); }
html.light .hs-row:hover .hs-row-t { color: var(--color-accent); }
.hs-row img, .hs-noimg { flex: none; object-fit: cover; background: var(--color-neutral-900); }
.hs-row-lg img, .hs-row-lg .hs-noimg { width: 96px; height: 72px; border-radius: 9px; }
.hs-row-md img, .hs-row-md .hs-noimg { width: 76px; height: 57px; border-radius: 8px; }
.hs-row-sm img, .hs-row-sm .hs-noimg { width: 56px; height: 42px; border-radius: 7px; }
.hs-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hs-row-t { font-size: 13px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.hs-row-lg .hs-row-t { font-size: 13.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hs-row-p { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.hs-row-p b { font-size: 15px; font-weight: 500; }
.hs-row-lg .hs-row-p b { font-size: 16px; font-weight: 600; }
.hs-row-p s { font-size: 11.5px; color: var(--color-neutral-600); }
.hs-row-sm .hs-row-body { flex-direction: row; align-items: center; gap: 12px; }
.hs-row-sm .hs-row-t { flex: 1; font-size: 12.5px; }
.hs-row-sm .hs-row-p b { font-size: 13.5px; font-weight: 600; }
.hs-nudge { padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.hs-nudge-down { background: rgba(63, 192, 140, .14); color: #6ad4aa; }
.hs-nudge-cart { background: rgba(110, 168, 255, .14); color: #9cc3ff; }
.hs-nudge-last { background: rgba(255, 196, 84, .14); color: #ffc454; }
html.light .hs-nudge-down { color: #1f7455; }
html.light .hs-nudge-cart { color: #1f63b0; }
html.light .hs-nudge-last { color: #a86400; }
.hs-sep { display: flex; align-items: center; gap: 8px; }
.hs-sep span { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--color-neutral-600); }
.hs-sep i { flex: 1; height: 1px; background: var(--color-divider); }

.hs-starts { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hs-start {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 13px;
  border-radius: 12px; border: 0; background: var(--color-bg); color: var(--color-text);
  text-align: left; font: inherit; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.hs-start:hover { transform: translateY(-2px); background: var(--color-surface-2); box-shadow: inset 0 0 0 1px rgba(63, 192, 140, .45); }
.hs-start:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.hs-icons { display: flex; }
.hs-icons img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 2.5px var(--color-bg); }
.hs-icons img + img { margin-left: -8px; }
.hs-start-b { display: flex; flex-direction: column; gap: 2px; }
.hs-start-b b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.hs-start-b span { font-size: 11.5px; color: var(--color-neutral-500); }

.hs-renew {
  padding: 14px; border-radius: 12px; background: rgba(255, 196, 84, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 196, 84, .3); display: flex; flex-direction: column; gap: 10px;
}
.hs-renew-top { display: flex; align-items: center; gap: 8px; }
.hs-renew-top b { font-size: 14px; font-weight: 600; color: #ffc454; }
html.light .hs-renew-top b { color: #a86400; }
.hs-glint { width: 8px; height: 8px; border-radius: 50%; background: #ffc454; animation: hs-pulse 2s ease-in-out infinite; }
.hs-renew-lot { display: flex; gap: 12px; align-items: center; }
.hs-renew-lot img { flex: none; width: 76px; height: 57px; border-radius: 8px; object-fit: cover; }
.hs-renew-lot > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.3; }
.hs-renew-when { font-size: 12px; color: var(--color-neutral-300); }
.hs-renew-btn { height: 40px; justify-content: center; }
@keyframes hs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 84, .45); } 50% { box-shadow: 0 0 0 5px rgba(255, 196, 84, 0); } }

/* ── «Популярное»: шапка, вкладки, конец списка ───────────────────────── */
.home-popular { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.home-popular h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.hp-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--color-surface); flex-wrap: wrap; }
html.light .hp-tabs { box-shadow: var(--shadow-sm); }
.hp-tab {
  height: 34px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent;
  color: var(--color-neutral-500); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  white-space: nowrap; transition: background-color .15s, color .15s;
}
.hp-tab:hover { color: var(--color-text); }
.hp-tab[aria-selected="true"] { background: var(--color-bg); color: var(--color-text); }
.hp-tab span { opacity: .55; margin-left: 3px; font-variant-numeric: tabular-nums; }
.hp-tab-promo { color: #ff9a7f; }
html.light .hp-tab-promo { color: #c2410c; }
.hp-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.hp-sp { flex: 1; }
.hp-all, .ha-head a { font-size: 13px; color: var(--color-accent-400); text-decoration: none; }
html.light .hp-all, html.light .ha-head a { color: var(--color-accent); }
.hp-all:hover, .ha-head a:hover { text-decoration: underline; }

.home-grid-tail { display: flex; flex-direction: column; align-items: center; margin-top: 6px; }
.home-grid-tail:empty { display: none; }
.home-more { height: 42px; padding: 0 22px; border-radius: 10px; font-size: 14px; }
.home-end, .home-empty { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border-radius: 16px; }
.home-end { padding: 26px 20px; background: var(--color-surface); }
.home-empty { padding: 40px 20px; border: 1px dashed var(--color-divider); }
.home-end b, .home-empty b { font-size: 16px; font-weight: 600; }
.home-empty b { font-size: 17px; }
.home-end > span, .home-empty > span { font-size: 13px; color: var(--color-neutral-500); }
.home-end-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent-900); color: var(--color-accent-400); font-size: 22px; }
html.light .home-end-ic { background: #e3f5ec; color: #16523c; }
.home-empty-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.home-empty-actions .btn { height: 38px; }
.home-end-top { color: var(--color-neutral-500); }

/* ── Низ главной ──────────────────────────────────────────────────────── */
.home-after { display: none; }
#store-view.is-home .home-after { display: flex; flex-direction: column; gap: 44px; margin-top: 44px; }
.ha-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.ha-head h2, .ha-faq > h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

.ha-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.ha-guide {
  display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: var(--color-surface); color: var(--color-text); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
html.light .ha-guide { box-shadow: var(--shadow-sm); }
@media (hover: hover) { .ha-guide:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }
.ha-guide img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--color-neutral-900); }
.ha-guide-b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.ha-guide-tag { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #9ce4c7; padding: 3px 8px; border-radius: 5px; background: #0f3a2b; }
html.light .ha-guide-tag { color: #16523c; background: #e3f5ec; }
.ha-guide-b b { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.ha-guide-b span:last-child { font-size: 13px; line-height: 1.5; color: var(--color-neutral-500); }

.ha-channel {
  padding: 26px; border-radius: 16px; background: var(--color-surface);
  box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .25);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.ha-channel-ic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #2a8bd6; color: #fff; }
.ha-channel-b { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
.ha-channel-b b { font-size: 18px; font-weight: 600; }
.ha-channel-b span { font-size: 13.5px; line-height: 1.5; color: var(--color-neutral-400); }
.ha-channel-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 9px; background: #2a8bd6; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.ha-channel-btn:hover { background: #3a9be6; color: #fff; }

.ha-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 10px; align-items: start; }
.ha-q { border-radius: 12px; background: var(--color-surface); padding: 0 18px; }
html.light .ha-q { box-shadow: var(--shadow-sm); }
.ha-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: 14.5px; font-weight: 500; }
.ha-q summary::-webkit-details-marker { display: none; }
.ha-q summary span { flex: 1; }
.ha-q summary i { font-size: 16px; color: var(--color-neutral-500); transition: transform .2s ease; }
.ha-q[open] summary i { transform: rotate(45deg); }
.ha-q summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 6px; }
.ha-q p { margin: 0; padding: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--color-neutral-400); }

/* ── Планшет и узкое окно ─────────────────────────────────────────────── */
/* Между телефоном и широким экраном текст и картинки баннера остаются
   рядом: иначе картинки уходили под текст, и баннер вырастал вдвое. */
@media (min-width: 641px) and (max-width: 1060px) {
  .hh-slide { flex-wrap: nowrap; padding: 36px 32px 24px; min-height: 340px; }
  .hh-body { flex: 1 1 auto; }
  .hh-media { flex: 0 0 42%; min-height: 260px; }
  .hh-title { font-size: 46px; }
  .hh-title.is-long { font-size: 34px; }
  .hh-sticker { padding: 10px 14px; }
  .hh-sticker b { font-size: 24px; }
  .hh-tab { padding: 14px 18px 16px; }
  .hh-bar { left: 18px; right: 18px; }
  /* Четыре плашки -- два ряда по две, а не три и одна. */
  .ht-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-trust:empty { min-height: 144px; }
  .home-row.is-loading .home-smart .sk-block { height: 281px; }
}

/* ── Телефон ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .home-top { gap: 10px; }
  .home-row, .home-popular { margin-top: 24px; }

  .hh-skel { min-height: 470px; padding: 240px 18px 18px; justify-content: flex-start; }
  .hh-skel .sk-t1 { height: 72px; width: 90%; }
  .hh-skel .sk-btn { width: 100%; height: 50px; }
  .home-trust:empty { min-height: 54px; }
  .home-popular:empty { min-height: 70px; }
  .home-row.is-loading .home-deal .sk-block { height: 291px; }
  .home-row.is-loading .home-smart .sk-block { height: 234px; }

  /* Слайд: картинки сверху, текст под ними, одна кнопка во всю ширину;
     вкладки -- тонкие полосы над картинками. */
  .hh-slide { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 30px 0 0; min-height: 0; }
  .hh-glow { right: -130px; top: -150px; width: 440px; height: 440px; }
  .hh-media { order: -1; flex: none; height: 210px; min-height: 0; margin: 10px 14px 0; }
  .hh-body { flex: none; padding: 18px; gap: 12px; justify-content: flex-start; }
  .hh-noimg .hh-body { padding-top: 24px; }
  .hh-tag { font-size: 11px; padding: 4px 9px; }
  .hh-title { font-size: 36px; line-height: 1; }
  .hh-title.is-long { font-size: 26px; line-height: 1.1; }
  .hh-text { font-size: 14px; }
  .hh-cd { gap: 6px; }
  .hh-cd-l { display: none; }
  .hh-cd-box { flex: 1; min-width: 0; padding: 7px 4px; box-shadow: none; }
  .hh-cd-box b { font-size: 21px; }
  .hh-cd-box span { font-size: 10px; }
  .hh-actions { margin-top: 0; }
  .hh-btn { flex: 1; justify-content: center; height: 50px; border-radius: 11px; }
  .hh-btn2 { display: none; }
  .hh-media img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(233, 233, 237, .12), 0 16px 34px rgba(0, 0, 0, .6); }
  .hh-media-single .hh-fly { left: 12%; right: 0; top: 2px; }
  .hh-media-single img { max-height: 205px; border-radius: 14px; }
  .hh-sticker { bottom: 0; padding: 10px 13px; border-radius: 12px; }
  .hh-sticker s { font-size: 11.5px; }
  .hh-sticker > div { gap: 7px; }
  .hh-sticker b { font-size: 22px; }
  .hh-off { font-size: 10.5px; padding: 3px 6px; border-radius: 6px; }
  .hh-shop { inset: 4px 6px; padding: 14px; border-radius: 16px; gap: 12px; }
  .hh-shop-ava { width: 40px; height: 40px; font-size: 14px; }
  .hh-shop-top b { font-size: 14.5px; }
  .hh-shop-tabs { display: none; }
  .hh-shop-lots { gap: 6px; }
  .hh-shop-lots b { padding: 4px 6px; font-size: 12px; }

  .hh-tabs { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; gap: 5px; padding: 12px 14px 0; border-top: 0; }
  .hh-tab { flex: 1; height: 18px; padding: 0; display: flex; flex-direction: row; align-items: center; }
  .hh-tab:hover { background: transparent; }
  .hh-tab-tag, .hh-tab-t { display: none; }
  .hh-bar { position: static; flex: 1; height: 3px; border-radius: 3px; background: rgba(233, 233, 237, .16); }

  /* Полоса доверия -- лентой плашек, условия раскрываются под ней. */
  .ht-strip { display: flex; gap: 8px; overflow-x: auto; background: none; border-radius: 0; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  html.light .ht-strip { box-shadow: none; }
  .ht-strip::-webkit-scrollbar { display: none; }
  .ht-btn { flex: none; width: auto; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--color-surface); }
  html.light .ht-btn { box-shadow: var(--shadow-sm); }
  .ht-btn[aria-expanded="true"] { background: var(--color-surface-2); }
  .ne, .ht-btn .ne { --s: 38px; }
  .ht-t b { font-size: 12.5px; white-space: nowrap; }
  .ht-t span { font-size: 11px; white-space: nowrap; }
  .ht-t .ht-q { font-size: 10.5px; }
  .ht-cv { display: none; }
  .ht-info { position: static; width: auto; max-width: none; margin-top: 8px; padding: 14px 16px; gap: 7px; box-shadow: 0 0 0 1px var(--ht-ring); }

  /* Товар дня: сверху метка и таймер, ниже картинка и цена рядом. */
  .hd-main { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 12px; padding: 12px 14px; }
  .hd-info { display: contents; }
  .hd-top { grid-column: 1 / -1; grid-row: 1; margin-bottom: 10px; }
  .hd-label { font-size: 10.5px; }
  .hd-left { font-size: 11.5px; }
  .hd-img { grid-column: 1; grid-row: 2 / span 2; min-height: 0; height: 99px; border-radius: 10px; overflow: hidden; }
  .hd-img .lot-badge { left: 5px; top: 5px; height: 19px; font-size: 9.5px; padding: 0 6px 0 4px; }
  .hd-cat { display: none; }
  .hd-title { grid-column: 2; grid-row: 2; font-size: 13.5px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hd-price { grid-column: 2; grid-row: 3; align-self: end; gap: 7px; margin-top: 4px; flex-wrap: wrap; }
  .hd-price b { font-size: 22px; }
  .hd-price s { font-size: 12px; }
  .hd-actions { grid-column: 1 / -1; grid-row: 4; margin-top: 12px; padding-top: 0; }
  .hd-actions .btn { height: 44px; }
  .hd-stock { padding: 10px 14px 12px; gap: 6px; }
  .hd-stock-row { font-size: 11.5px; }
  .hd-bar { height: 5px; }

  .home-smart { padding: 0; background: none; gap: 12px; }
  html.light .home-smart { box-shadow: none; }
  .hs-head h2 { font-size: 19px; }
  .hs-start { background: var(--color-surface); padding: 12px; }
  html.light .hs-start { box-shadow: var(--shadow-sm); }
  .hs-icons img { width: 26px; height: 26px; box-shadow: 0 0 0 2.5px var(--color-surface); }
  .hs-renew-btn { height: 44px; }
  /* «Вы смотрели» -- лентой карточек. */
  .hs-list-cards { flex-direction: row; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .hs-list-cards::-webkit-scrollbar { display: none; }
  .hs-list-cards .hs-row { flex: none; width: 128px; flex-direction: column; align-items: stretch; gap: 6px; }
  .hs-list-cards .hs-row img, .hs-list-cards .hs-noimg { width: 128px; height: 96px; border-radius: 10px; }
  .hs-list-cards .hs-row-t { font-size: 12px; line-height: 1.25; height: 2.5em; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--color-neutral-300); }
  .hs-list-cards .hs-row-p { gap: 4px; }
  .hs-list-cards .hs-row-p b { font-size: 14px; }
  .hs-list-cards .hs-nudge { padding: 0; background: none; font-size: 10.5px; font-weight: 500; }

  .home-popular { gap: 12px; }
  .home-popular h2 { font-size: 19px; flex-basis: 100%; }
  .hp-tabs { order: 2; flex-basis: calc(100% + 32px); flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 0 -16px; padding: 0 16px; background: none; border-radius: 0; scrollbar-width: none; }
  html.light .hp-tabs { box-shadow: none; }
  .hp-tabs::-webkit-scrollbar { display: none; }
  .hp-tab { flex: none; height: 36px; border-radius: 999px; background: var(--color-surface); color: var(--color-neutral-400); }
  .hp-tab[aria-selected="true"] { background: var(--color-text); color: var(--color-bg); }
  .home-popular .hp-sp, .home-popular .hp-all { display: none; }
  .home-more { width: 100%; height: 44px; }
  .home-end { padding: 20px 16px; }
  .home-empty { padding: 28px 16px; }

  #store-view.is-home .home-after { gap: 26px; margin-top: 26px; }
  .ha-head { margin-bottom: 12px; }
  .ha-head h2, .ha-faq > h2 { font-size: 19px; }
  .ha-guide-grid { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .ha-guide-grid::-webkit-scrollbar { display: none; }
  .ha-guide { flex: none; width: 264px; }
  .ha-guide-b { padding: 12px 14px 14px; gap: 6px; }
  .ha-guide-b b { font-size: 15px; }
  .ha-guide-b span:last-child { display: none; }
  .ha-channel { padding: 16px; gap: 12px; flex-wrap: nowrap; }
  .ha-channel-ic { width: 44px; height: 44px; }
  .ha-channel-ic svg { width: 21px; height: 21px; }
  .ha-channel-b b { font-size: 15px; }
  .ha-channel-b span { font-size: 12px; }
  .ha-channel-more { display: none; }
  .ha-channel-btn { height: 38px; padding: 0 13px; font-size: 13px; }
  .ha-q { padding: 0 14px; }
  .ha-q summary { padding: 14px 0; font-size: 14px; }
}

/* ── Меньше движения ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hh-in .hh-up, .hh-in .hh-fly, .hh-in .hh-sticker, .hh-in .hh-shop-lots > div,
  .hh-float, .hh-glow, .hh-shine::after, .hh-cd-box b.roll, .hh-bar i.run,
  .ne .ln, .ne .nt, .ht-typ, .ht-tw, .ht-info, .hs-glint, .hd-flash, .sk::after { animation: none !important; }
  .ne .ln { stroke-dashoffset: 0; }
  .hs-start, .ha-guide { transition: none; }
  .hs-start:hover, .ha-guide:hover { transform: none; }
}
