/* Главная: «Карточка — эталон» и все возможности живыми сценами (24.11.2026).
   Сцены собраны из разметки, без картинок. Анимации только transform и opacity,
   и идут, лишь пока блок на экране: класс .is-live ставит static/js/home_live.js.
   Без теней и сплошных обводок (правило дизайна). */

:root {
    --hl-ink: #0F172A;
    --hl-sub: #64748B;
    --hl-soft: #F1F5F9;
    --hl-tile: #F8FAFC;
    --hl-teal: #003231;
    --hl-accent: #4A90A4;
    --hl-yellow: #FFCD4D;
    --hl-green: #16A34A;
    --hl-red: #DC2626;
}

/* ── Карточка — эталон ─────────────────────────────────────────────── */
.hl-etalon-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hl-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hl-accent); }
.hl-title { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.03em; color: var(--hl-ink); }
.hl-lead { margin: 0; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: #475569; }
.hl-facts { list-style: none; margin: 28px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hl-facts li { background: var(--hl-tile); border-radius: 4px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.hl-facts b { font-size: 20px; color: var(--hl-ink); letter-spacing: -.02em; }
.hl-facts span { font-size: 13px; line-height: 1.35; color: var(--hl-sub); }
.hl-more { font-weight: 600; color: var(--hl-teal); text-decoration: none; }
.hl-more:hover { text-decoration: underline; }

.hl-board { position: relative; background: var(--hl-teal); border-radius: 12px; padding: clamp(22px, 2.6vw, 36px); color: #fff; display: grid; grid-template-columns: minmax(170px, .85fr) 28px minmax(0, 1.5fr); gap: 0 12px; align-items: center; overflow: hidden; }
.hl-master { background: #fff; color: var(--hl-ink); border-radius: 4px; padding: 18px; transition: background-color .3s ease; }
.hl-master.is-edit { background: #FFF7DB; }
.hl-cap { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hl-accent); margin-bottom: 8px; }
.hl-master-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.hl-master-sku { font-size: 12px; color: var(--hl-sub); margin: 2px 0 12px; }
.hl-master-vals { display: grid; gap: 8px; }
.hl-val { display: flex; justify-content: space-between; align-items: baseline; background: var(--hl-soft); border-radius: 5px; padding: 8px 10px; font-size: 13px; color: var(--hl-sub); transition: background-color .3s ease; }
.hl-val b { font-size: 15px; color: var(--hl-ink); font-feature-settings: 'tnum' 1; white-space: nowrap; }
.hl-val.is-hot { background: var(--hl-yellow); }
.hl-wires { display: grid; gap: 30px; align-self: stretch; align-content: center; }
.hl-wires i { position: relative; display: block; height: 2px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.hl-wires i::after { content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: var(--hl-yellow); transform: translateX(-120%); }
.hl-board.is-push .hl-wires i::after { animation: hlPulse .9s ease-out; }
.hl-wires i:nth-child(2)::after { animation-delay: .08s !important; }
.hl-wires i:nth-child(3)::after { animation-delay: .16s !important; }
.hl-wires i:nth-child(4)::after { animation-delay: .24s !important; }
@keyframes hlPulse { to { transform: translateX(260%); } }
.hl-shops { display: grid; gap: 10px; }
.hl-shop { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 4px; padding: 12px 14px; transition: background-color .35s ease; }
.hl-shop img { grid-row: span 2; width: 20px; height: 20px; border-radius: 5px; }
.hl-shop-name { font-size: 13px; font-weight: 600; line-height: 1.2; min-width: 0; }
.hl-shop-name small { display: inline; margin-left: 6px; font-weight: 500; font-size: 11px; color: rgba(255, 255, 255, .55); }
.hl-num { font-size: 14px; font-feature-settings: 'tnum' 1; text-align: right; transition: color .3s ease; }
.hl-num--stock { min-width: 26px; color: rgba(255, 255, 255, .8); }
.hl-state { grid-column: 2 / -1; font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .55); transition: color .3s ease; }
.hl-shop.is-flash { background: rgba(255, 205, 77, .22); }
.hl-shop.is-bad { background: rgba(220, 38, 38, .28); }
.hl-shop.is-bad .hl-state { color: #FECACA; }
.hl-shop.is-good { background: rgba(22, 163, 74, .28); }
.hl-shop.is-good .hl-state { color: #BBF7D0; }
.hl-log { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .8); min-height: 20px; }
.hl-log-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hl-yellow); flex: none; }
.hl-board.is-live .hl-log-dot { animation: hlBlink 1.4s ease-in-out infinite; }
@keyframes hlBlink { 50% { opacity: .25; } }

/* ── Все возможности ───────────────────────────────────────────────── */
.hf-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.hf-group { margin-top: clamp(44px, 5vw, 72px); }
.hf-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; }
.hf-group-title { margin: 0; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; color: var(--hl-ink); }
.hf-group-lead { margin: 0; font-size: 14px; color: var(--hl-sub); }
.hf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hf-tile { display: flex; flex-direction: column; gap: 8px; background: var(--hl-tile); border-radius: 5px; padding: 20px 22px 24px; text-decoration: none; color: inherit; transition: background-color .2s ease; }
.hf-tile:hover { background: #EEF4F7; }
.hf-scene { display: block; height: 126px; border-radius: 4px; background: #fff; overflow: hidden; margin-bottom: 12px; }
.hf-name { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 700; color: var(--hl-ink); letter-spacing: -.01em; }
.hf-text { font-size: 14px; line-height: 1.55; color: #475569; }
.hf-go { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; color: var(--hl-teal); }

/* Общая база сцен */
.sc { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; box-sizing: border-box; font-size: 12px; color: var(--hl-ink); }
.sc * { animation-play-state: paused !important; }
.is-live .sc * { animation-play-state: running !important; }
.sc-logo { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.sc-tick { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: bottom; font-weight: 700; font-feature-settings: 'tnum' 1; }
.sc-tick > span { display: flex; flex-direction: column; animation: scTick 6s steps(1, end) infinite; }
.sc-tick i { font-style: normal; height: 1.3em; }
@keyframes scTick { 0% { transform: translateY(0); } 33% { transform: translateY(-1.3em); } 66% { transform: translateY(-2.6em); } 100% { transform: translateY(0); } }
.sc-wbdisc .sc-tick > span, .sc-check .sc-tick > span, .sc-watch .sc-tick > span, .sc-formula .sc-tick > span, .sc-calc .sc-tick > span, .sc-wh .sc-tick > span, .sc-fromone .sc-tick > span { animation-name: scTick3; }
@keyframes scTick3 { 0% { transform: translateY(0); } 40% { transform: translateY(-1.3em); } 70% { transform: translateY(-2.6em); } 100% { transform: translateY(0); } }

/* master: карточка и лучи к площадкам */
.sc-master { gap: 18px; }
.sc-mcard { width: 70px; height: 84px; border-radius: 5px; background: var(--hl-soft); display: flex; flex-direction: column; gap: 6px; padding: 10px; box-sizing: border-box; }
.sc-mcard b { height: 26px; border-radius: 4px; background: #CFE3EA; }
.sc-mcard i { height: 5px; border-radius: 3px; background: #CBD5E1; }
.sc-rays { display: grid; gap: 8px; }
.sc-ray { position: relative; display: flex; align-items: center; padding-left: 46px; }
.sc-ray::before { content: ''; position: absolute; left: 0; width: 38px; height: 2px; background: var(--hl-soft); }
.sc-ray::after { content: ''; position: absolute; left: 0; width: 10px; height: 2px; background: var(--hl-accent); animation: scRay 2.4s ease-in-out infinite; }
.sc-ray:nth-child(2)::after { animation-delay: .2s; }
.sc-ray:nth-child(3)::after { animation-delay: .4s; }
@keyframes scRay { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateX(28px); opacity: 1; } 100% { transform: translateX(28px); opacity: 0; } }

/* move: карточка едет между площадками */
.sc-move { gap: 8px; }
.sc-pad { width: 38px; height: 38px; border-radius: 5px; background: var(--hl-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.sc-track { position: relative; flex: 1; max-width: 150px; height: 46px; }
.sc-card { position: absolute; left: 0; top: 4px; width: 34px; height: 38px; border-radius: 4px; background: #fff; display: flex; flex-direction: column; gap: 4px; padding: 6px; box-sizing: border-box; outline: 2px solid var(--hl-soft); animation: scMove 3.2s ease-in-out infinite; }
.sc-card b { height: 12px; border-radius: 3px; background: #CFE3EA; }
.sc-card i { height: 4px; border-radius: 2px; background: #CBD5E1; }
@keyframes scMove { 0%, 12% { transform: translateX(0); } 60%, 80% { transform: translateX(calc(150px - 34px)); } 100% { transform: translateX(calc(150px - 34px)); opacity: 0; } }

/* merge: три площадки сходятся в одну карточку */
.sc-merge { justify-content: flex-start; padding-left: 24px; }
.sc-m { position: absolute; left: 24px; width: 30px; height: 30px; border-radius: 4px; background: var(--hl-soft); display: flex; align-items: center; justify-content: center; animation: scMerge 3s ease-in-out infinite; }
.sc-m0 { top: 14px; } .sc-m1 { top: 44px; animation-delay: .15s; } .sc-m2 { top: 74px; animation-delay: .3s; }
@keyframes scMerge { 0%, 15% { transform: translate(0, 0); opacity: 1; } 65% { opacity: 1; } 80%, 100% { transform: translate(110px, var(--to, 0)); opacity: 0; } }
.sc-m0 { --to: 30px; } .sc-m2 { --to: -30px; }
.sc-merged { position: absolute; right: 26%; top: 34px; width: 44px; height: 50px; border-radius: 5px; background: var(--hl-yellow); display: flex; flex-direction: column; gap: 5px; padding: 8px; box-sizing: border-box; animation: scPop 3s ease-in-out infinite; }
.sc-merged b { height: 14px; border-radius: 4px; background: rgba(255, 255, 255, .7); }
.sc-merged i { height: 4px; border-radius: 2px; background: rgba(15, 23, 42, .25); }
@keyframes scPop { 0%, 70% { transform: scale(.85); } 82% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* rows: остаток уменьшается сразу во всех магазинах */
.sc-rows { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 18px; }
.sc-row { display: flex; align-items: center; gap: 10px; }
.sc-line { flex: 1; height: 6px; border-radius: 4px; background: var(--hl-soft); position: relative; overflow: hidden; }
.sc-line::after { content: ''; position: absolute; inset: 0; background: #CFE3EA; transform-origin: left; animation: scDrain 6s steps(1, end) infinite; }
@keyframes scDrain { 0% { transform: scaleX(1); } 33% { transform: scaleX(.94); } 66% { transform: scaleX(.88); } 100% { transform: scaleX(1); } }

/* fromone: кабинет Ozon раздаёт остаток остальным */
.sc-fromone { gap: 14px; }
.sc-src { display: flex; align-items: center; gap: 6px; background: var(--hl-yellow); border-radius: 5px; padding: 8px 10px; }
.sc-fan { display: grid; gap: 6px; }
.sc-dst { display: flex; align-items: center; gap: 6px; background: var(--hl-soft); border-radius: 4px; padding: 4px 8px; animation: scFlash 6s ease-in-out infinite; }
.sc-dst:nth-child(2) { animation-delay: .15s; } .sc-dst:nth-child(3) { animation-delay: .3s; }
@keyframes scFlash { 0%, 38% { background: var(--hl-soft); } 44% { background: #FFF1C2; } 55%, 100% { background: var(--hl-soft); } }

/* feed: файл поставщика обновляет остатки */
.sc-feed { gap: 10px; }
.sc-file { width: 40px; height: 50px; border-radius: 4px; background: var(--hl-soft); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; box-sizing: border-box; font-weight: 700; font-size: 10px; color: var(--hl-accent); animation: scBob 3s ease-in-out infinite; }
@keyframes scBob { 50% { transform: translateY(-4px); } }
.sc-arrow { width: 26px; height: 2px; background: var(--hl-accent); position: relative; }
.sc-arrow::after { content: ''; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left-color: var(--hl-accent); }
.sc-feedrows { display: grid; gap: 6px; }
.sc-feedrows > span { background: var(--hl-soft); border-radius: 4px; padding: 4px 8px; display: flex; gap: 8px; justify-content: space-between; }

/* stack: две карточки на одном остатке */
.sc-stack { gap: 10px; flex-wrap: wrap; align-content: center; }
.sc-st { display: flex; align-items: center; gap: 6px; background: var(--hl-soft); border-radius: 4px; padding: 6px 8px; }
.sc-st b { width: 22px; height: 16px; border-radius: 4px; background: #CFE3EA; }
.sc-st i { font-style: normal; font-weight: 700; color: var(--hl-accent); }
.sc-pool { flex-basis: 100%; height: 10px; border-radius: 4px; background: var(--hl-soft); overflow: hidden; }
.sc-poolfill { display: block; height: 100%; background: var(--hl-yellow); transform-origin: left; animation: scPool 5s ease-in-out infinite; }
@keyframes scPool { 0% { transform: scaleX(1); } 40% { transform: scaleX(.8); } 70% { transform: scaleX(.6); } 100% { transform: scaleX(1); } }

/* wh: склады */
.sc-wh { flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 20px; }
.sc-whc { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--hl-soft); border-radius: 4px; padding: 5px 10px; }
.sc-whc--mp { background: #EEF4F7; }

/* formula */
.sc-formula { flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 18px; }
.sc-f { display: flex; justify-content: space-between; color: var(--hl-sub); }
.sc-f b { color: var(--hl-ink); }
.sc-f--res { margin-top: 4px; padding-top: 6px; color: var(--hl-ink); font-weight: 600; background: linear-gradient(var(--hl-soft), var(--hl-soft)) top / 100% 1px no-repeat; }

/* price: минимальная цена держит */
.sc-price { gap: 12px; }
.sc-pv { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.sc-pv s { color: var(--hl-red); animation: scTry 3s ease-in-out infinite; }
.sc-pv b { font-size: 18px; }
@keyframes scTry { 0%, 20% { opacity: 0; transform: translateY(6px); } 35%, 60% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; } }
.sc-shield { width: 30px; height: 34px; background: var(--hl-green); clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); animation: scPulse 3s ease-in-out infinite; }
@keyframes scPulse { 0%, 55% { transform: scale(1); } 65% { transform: scale(1.12); } 80%, 100% { transform: scale(1); } }

/* promo: акции и выход */
.sc-promo { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 16px; }
.sc-pr { display: flex; align-items: center; gap: 8px; background: var(--hl-soft); border-radius: 4px; padding: 5px 8px; }
.sc-pr em { flex: 1; font-style: normal; }
.sc-sw, .sc-tgl, .sc-tg { position: relative; width: 28px; height: 16px; border-radius: 8px; background: var(--hl-green); flex: none; }
.sc-sw::after, .sc-knob { content: ''; position: absolute; top: 2px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.sc-pr:nth-child(1) .sc-sw { animation: scOffBg 4s steps(1, end) infinite; }
.sc-pr:nth-child(1) .sc-sw::after { animation: scOffKnob 4s ease-in-out infinite; }
@keyframes scOffBg { 0% { background: var(--hl-green); } 50% { background: #CBD5E1; } 100% { background: var(--hl-green); } }
@keyframes scOffKnob { 0%, 40% { transform: translateX(0); } 50%, 95% { transform: translateX(-12px); } 100% { transform: translateX(0); } }

/* noauto: запрет автоакций */
.sc-noauto { gap: 10px; flex-wrap: wrap; align-content: center; }
.sc-na { display: flex; align-items: center; gap: 8px; background: var(--hl-soft); border-radius: 4px; padding: 6px 10px; font-weight: 600; }
.sc-na .sc-tgl { animation: scOffBg 4s steps(1, end) infinite; }
.sc-na .sc-knob { animation: scOffKnob 4s ease-in-out infinite; }
.sc-na--off { color: var(--hl-green); animation: scFade 4s ease-in-out infinite; }
@keyframes scFade { 0%, 45% { opacity: .2; } 55%, 95% { opacity: 1; } 100% { opacity: .2; } }

/* check: сверка с эталоном */
.sc-check { flex-direction: column; gap: 6px; }
.sc-ck { display: flex; align-items: center; gap: 6px; background: var(--hl-soft); border-radius: 4px; padding: 5px 10px; }
.sc-ok { position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--hl-green); animation: scFade 6s ease-in-out infinite; }
.sc-ok::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* wbdisc / watch */
.sc-wbdisc, .sc-watch { flex-direction: column; gap: 6px; }
.sc-dl, .sc-wt, .sc-wst { background: var(--hl-soft); border-radius: 4px; padding: 5px 10px; display: flex; gap: 6px; }
.sc-dl--ok { background: #E8F5EC; }
.sc-wst { color: var(--hl-accent); }

/* bars: аналитика */
.sc-bars { align-items: flex-end; gap: 8px; padding: 16px 22px 14px; }
.sc-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 2px 2px; background: #CFE3EA; transform-origin: bottom; animation: scGrow 3.6s ease-in-out infinite; }
.sc-bars span:nth-child(2) { animation-delay: .1s; } .sc-bars span:nth-child(3) { animation-delay: .2s; } .sc-bars span:nth-child(4) { animation-delay: .3s; } .sc-bars span:nth-child(5) { animation-delay: .4s; } .sc-bars span:nth-child(6) { animation-delay: .5s; background: var(--hl-yellow); }
@keyframes scGrow { 0% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }

/* stars: отзыв и ответ */
.sc-stars { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 18px; }
.sc-st5 { color: var(--hl-yellow); font-size: 16px; letter-spacing: 2px; }
.sc-review { background: var(--hl-soft); border-radius: 6px 6px 6px 2px; padding: 5px 9px; }
.sc-reply { align-self: flex-end; background: #E8F5EC; border-radius: 6px 6px 2px 6px; padding: 5px 9px; white-space: nowrap; overflow: hidden; max-width: 0; animation: scType 4s steps(18, end) infinite; }
@keyframes scType { 0%, 25% { max-width: 0; } 70%, 95% { max-width: 160px; } 100% { max-width: 0; } }

/* list: заказы */
.sc-list { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 16px; }
.sc-li { display: flex; align-items: center; gap: 8px; background: var(--hl-soft); border-radius: 4px; padding: 5px 8px; opacity: 0; animation: scIn 4.5s ease-out infinite; }
.sc-li em { flex: 1; font-style: normal; }
.sc-li b { font-weight: 600; color: var(--hl-accent); }
.sc-li1 { animation-delay: .5s; } .sc-li2 { animation-delay: 1s; }
@keyframes scIn { 0% { opacity: 0; transform: translateY(8px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* truck: СДЭК */
.sc-truck { flex-direction: column; gap: 10px; }
.sc-road { position: relative; width: 70%; height: 4px; border-radius: 3px; background: var(--hl-soft); }
.sc-box { position: absolute; top: -8px; left: 0; width: 18px; height: 18px; border-radius: 4px; background: #00B33C; animation: scDrive 3.6s ease-in-out infinite; }
@keyframes scDrive { 0% { transform: translateX(0); } 80%, 100% { transform: translateX(calc(min(240px, 60vw) * .7 - 18px)); } }
.sc-steps { display: flex; gap: 8px; }
.sc-steps i { font-style: normal; background: var(--hl-soft); border-radius: 4px; padding: 3px 7px; animation: scLit 3.6s ease-in-out infinite; }
.sc-steps i:nth-child(2) { animation-delay: .9s; } .sc-steps i:nth-child(3) { animation-delay: 1.8s; }
@keyframes scLit { 0%, 10% { background: var(--hl-soft); } 20%, 60% { background: #DCFCE7; } 100% { background: var(--hl-soft); } }

/* table: Excel */
.sc-table { flex-direction: column; align-items: stretch; gap: 5px; padding: 14px 22px; }
.sc-tr { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 5px; }
.sc-tr i { height: 12px; border-radius: 3px; background: var(--hl-soft); }
.sc-tr i::after { content: ''; display: block; height: 100%; border-radius: 3px; background: #CFE3EA; transform: scaleX(0); transform-origin: left; animation: scFill 4s ease-in-out infinite; }
.sc-tr1 i::after { animation-delay: .3s; } .sc-tr2 i::after { animation-delay: .6s; } .sc-tr3 i::after { animation-delay: .9s; }
@keyframes scFill { 0%, 10% { transform: scaleX(0); } 35%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* thumbs: фото и видео */
.sc-thumbs { justify-content: flex-start; padding: 12px 0; }
.sc-strip { display: flex; gap: 8px; padding-left: 12px; animation: scSlide 8s linear infinite; }
.sc-th { width: 62px; height: 78px; border-radius: 5px; flex: none; background: linear-gradient(160deg, #CFE3EA, #EEF4F7); }
.sc-th1 { background: linear-gradient(160deg, #FFE7A3, #FFF6DA); } .sc-th3 { background: linear-gradient(160deg, #D9F2E3, #F0FAF4); } .sc-th4 { background: linear-gradient(160deg, #FFD9D9, #FFF1F1); }
.sc-th2 { position: relative; } .sc-th2::after { content: ''; position: absolute; left: 25px; top: 30px; border: 9px solid transparent; border-left: 14px solid #fff; }
@keyframes scSlide { to { transform: translateX(-140px); } }

/* chips: размеры */
.sc-chips { flex-wrap: wrap; align-content: center; gap: 8px; padding: 14px 24px; }
.sc-chip { min-width: 34px; text-align: center; background: var(--hl-soft); border-radius: 4px; padding: 6px 8px; font-weight: 600; animation: scChip 6s ease-in-out infinite; }
.sc-chip:nth-child(2) { animation-delay: 1s; } .sc-chip:nth-child(3) { animation-delay: 2s; } .sc-chip:nth-child(4) { animation-delay: 3s; } .sc-chip:nth-child(5) { animation-delay: 4s; } .sc-chip:nth-child(6) { animation-delay: 5s; }
@keyframes scChip { 0%, 12% { background: var(--hl-yellow); } 18%, 100% { background: var(--hl-soft); } }

/* type: ТН ВЭД и API */
.sc-type { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 18px; }
.sc-typed { display: inline-block; white-space: nowrap; overflow: hidden; max-width: 0; background: var(--hl-soft); border-radius: 4px; padding: 6px 10px; animation: scType2 5s steps(20, end) infinite; }
.sc-type--code .sc-typed { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; background: #0F172A; color: #A7F3D0; }
@keyframes scType2 { 0%, 8% { max-width: 0; } 50%, 92% { max-width: 260px; } 100% { max-width: 0; } }
.sc-sugg { background: #E8F5EC; border-radius: 4px; padding: 5px 10px; font-weight: 700; opacity: 0; animation: scSugg 5s ease-in-out infinite; }
@keyframes scSugg { 0%, 52% { opacity: 0; transform: translateY(4px); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* toggle: снятие с продажи */
.sc-toggle { gap: 14px; }
.sc-tg { display: flex; align-items: center; width: auto; height: auto; background: none; gap: 6px; }
.sc-tg .sc-knob { position: relative; top: 0; left: 0; display: block; width: 30px; height: 18px; border-radius: 9px; background: var(--hl-green); animation: scOffBg 4s steps(1, end) infinite; }
.sc-tg .sc-knob::after { content: ''; position: absolute; top: 3px; left: 15px; width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: scOffKnob 4s ease-in-out infinite; }

/* shops: несколько кабинетов */
.sc-shops { flex-direction: column; align-items: stretch; gap: 5px; padding: 10px 18px; }
.sc-sh { display: flex; align-items: center; gap: 8px; background: var(--hl-soft); border-radius: 4px; padding: 4px 8px; animation: scSel 6s ease-in-out infinite; }
.sc-sh:nth-child(2) { animation-delay: 1.5s; } .sc-sh:nth-child(3) { animation-delay: 3s; } .sc-sh:nth-child(4) { animation-delay: 4.5s; }
@keyframes scSel { 0%, 20% { background: #FFF1C2; } 25%, 100% { background: var(--hl-soft); } }

/* orbit: все площадки вокруг OneFill */
.sc-orbit { padding: 0; }
.sc-core { width: 62px; height: 62px; border-radius: 50%; background: var(--hl-teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; }
.sc-orb { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 4px; background: var(--hl-soft); display: flex; align-items: center; justify-content: center; animation: scOrbit 12s linear infinite; }
.sc-orb1 { animation-delay: -2.4s; } .sc-orb2 { animation-delay: -4.8s; } .sc-orb3 { animation-delay: -7.2s; } .sc-orb4 { animation-delay: -9.6s; }
@keyframes scOrbit { from { transform: rotate(0) translateX(48px) rotate(0); } to { transform: rotate(360deg) translateX(48px) rotate(-360deg); } }

/* phone: приложение */
.sc-ph { position: relative; width: 70px; height: 104px; border-radius: 14px; background: #0F172A; padding: 14px 6px; box-sizing: border-box; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.sc-nt { font-size: 8.5px; line-height: 1.2; background: #fff; color: var(--hl-ink); border-radius: 4px; padding: 4px; transform: translateY(-40px); opacity: 0; animation: scNote 4.4s ease-out infinite; }
.sc-nt1 { animation-delay: 1.1s; }
@keyframes scNote { 0% { transform: translateY(-40px); opacity: 0; } 15%, 80% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* thermo: Градус */
.sc-thermo { gap: 18px; align-items: flex-end; padding-bottom: 16px; }
.sc-tm { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sc-tmbar { width: 12px; height: 54px; border-radius: 4px; background: var(--hl-soft); position: relative; overflow: hidden; }
.sc-tmbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--t); background: linear-gradient(#F97316, #DC2626); transform-origin: bottom; animation: scGrow 4s ease-in-out infinite; }

/* calc */
.sc-calc { flex-direction: column; gap: 8px; }
.sc-cq { background: var(--hl-soft); border-radius: 4px; padding: 5px 10px; }
.sc-ca { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1024px) {
    .hl-etalon-grid { grid-template-columns: 1fr; }
    .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hl-board { grid-template-columns: 1fr; gap: 12px; }
    .hl-wires { display: none; }
    .hl-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .hl-facts li { padding: 10px; }
    .hl-facts b { font-size: 16px; }
    .hl-facts span { font-size: 11.5px; }
    .hf-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .sc *, .hl-board * { animation: none !important; }
}
