/* Экран меню АвтоFood — холст 1920×1080.
   Стиль: глубокий фиолетовый (как у АЗС ТЭС), фирменные красный и жёлтый из логотипа, салатовый — из интерьера.
   Анимации только transform/opacity — чтобы не тормозили на ТВ-приставках; наборы эффектов — в кабинете (fx-классы внизу файла). */
:root {
  --p950: #16052b;
  --p900: #1e0838;
  --p800: #2a0b4e;
  --p700: #3a1268;
  --p600: #4b1a85;
  --violet: #8a4dff;
  --yellow: #ffd100;
  --yellow2: #ffb400;
  --red: #e3262e;
  --lime: #9bd13a;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--p950); }
body { font-family: Manrope, system-ui, sans-serif; color: var(--white); -webkit-font-smoothing: antialiased; }

#stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 50% 50%; overflow: hidden; }

/* ---------- фон ---------- */
.bg { position: absolute; inset: 0;
  background: radial-gradient(1100px 700px at 12% -5%, var(--bgHi) 0%, rgba(0, 0, 0, 0) 65%),
              linear-gradient(160deg, var(--bg1) 0%, var(--bg2) 70%); }
/* темы фона (кабинет → Оформление): фиолетовая фирменная, ночная, красная, графит */
#stage { --bgHi: #5a22a0; --bg1: #320e5e; --bg2: #1e0838; --c1: #4d1c8a; --c2: #33105c; --glowA: rgba(170, 70, 255, .28); --glowB: rgba(255, 60, 140, .16); }
#stage[data-theme="night"] { --bgHi: #2b2f8f; --bg1: #141542; --bg2: #070818; --c1: #252a6e; --c2: #171a48; --glowA: rgba(80, 110, 255, .25); --glowB: rgba(120, 60, 255, .14); }
#stage[data-theme="red"] { --bgHi: #c4202a; --bg1: #8a0f17; --bg2: #3e0408; --c1: #a11820; --c2: #6e0b12; --glowA: rgba(255, 140, 60, .25); --glowB: rgba(255, 209, 0, .12); }
#stage[data-theme="graphite"] { --bgHi: #4a4552; --bg1: #2b2830; --bg2: #121014; --c1: #3a3641; --c2: #26232b; --glowA: rgba(255, 209, 0, .12); --glowB: rgba(227, 38, 46, .1); }
.bg i { position: absolute; display: block; }
.glow1 { width: 1100px; height: 1100px; right: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glowA), rgba(0, 0, 0, 0)); animation: drift 26s ease-in-out infinite alternate; }
.glow2 { width: 900px; height: 900px; left: 30%; bottom: -520px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glowB), rgba(0, 0, 0, 0)); animation: drift 32s ease-in-out infinite alternate-reverse; }
.lines { inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 2px, rgba(255, 255, 255, 0) 2px 54px); }
@keyframes drift { to { transform: translate(-160px, 90px); } }

/* ---------- шапка ---------- */
.top { position: absolute; left: 0; right: 0; top: 0; height: 168px; padding: 0 56px; display: flex; align-items: center; gap: 40px; }
.logo { width: 290px; flex: none; animation: logoIn .9s cubic-bezier(.2, 1.4, .4, 1) both; }
.logo svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(10, 0, 30, .45)); }
.ttl { min-width: 0; padding-left: 40px; border-left: 3px solid rgba(255, 255, 255, .14); }
.ttl h1.long { font-size: 64px; }
.ttl h1 { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 84px; line-height: 1; letter-spacing: -1px; white-space: nowrap; }
.ttl .sub { margin-top: 10px; font-weight: 800; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.status { flex: none; margin-left: auto; display: flex; align-items: center; gap: 28px; }
/* активные правила (ночь, день чизбургера…) — по одной плашке, сменяются */
.badges { display: grid; justify-items: end; }
.badge { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px 12px 18px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .18); font-weight: 800; font-size: 26px;
  opacity: 0; transform: translateY(16px) scale(.92); transition: opacity .6s, transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.badge.on { opacity: 1; transform: none; }
.badge.off { opacity: 0; transform: translateY(-16px) scale(.92); }
.badge svg { width: 26px; height: 26px; color: var(--yellow); }
.badge.b-moon { background: rgba(138, 77, 255, .3); border-color: rgba(180, 140, 255, .5); }
.badge.b-moon svg { color: #d6c4ff; }
.badge.b-star { background: var(--red); border-color: var(--red); }
.badge.b-star svg { color: var(--yellow); }
.clock { text-align: right; }
.clock b { display: block; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 54px; line-height: 1; }
.clock small { font-weight: 700; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }

/* ---------- тело ---------- */
.body { position: absolute; left: 56px; right: 56px; top: 172px; bottom: 132px; }

/* ---------- карточка ---------- */
.card { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 16px 20px 18px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(165deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .16), 0 18px 40px rgba(8, 0, 24, .35);
  animation: rise .7s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--i) * 70ms + .15s); }
.ph { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ph img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; }
.ph .glow, .hero-sh { position: absolute; display: block; }
.ph .glow { left: 10%; right: 10%; top: 25%; bottom: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 209, 0, .3), rgba(255, 209, 0, 0)); }
.ph.nophoto::after { content: ''; width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .06)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='388 36 182 82'%3E%3Cpath fill='%23ffffff33' d='M395 96C395 84 402 78 414 76L436 73C446 52 462 42 486 42L500 42C522 42 536 54 546 72L552 74C560 76 563 82 563 92L563 98L395 98Z'/%3E%3C/svg%3E") center / 70% no-repeat; }
.tx { margin-top: 8px; }
.nm { font-weight: 800; font-size: calc(29px * var(--ts, 1)); line-height: 1.1; }
.ds { margin-top: 4px; font-weight: 600; font-size: calc(18px * var(--ts, 1)); line-height: 1.25; color: rgba(255, 255, 255, .68); }
.tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.tag { display: inline-block; padding: 6px 13px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.tag-hit { background: var(--red); color: #fff; }
.tag-new { background: var(--lime); color: #1b3300; }
.tag-spicy { background: #ff7a1a; color: #fff; }
.tag-veg { background: #2e9e4f; color: #fff; }
.tag-kids { background: #00b5e2; color: #fff; }

/* горизонтальная карточка: фото слева, справа название и под ним цена */
.card.wide { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 20px; padding: 12px 22px 14px 12px; }
.card.wide .ph { grid-row: 1 / 3; height: 100%; }
.card.wide .tx { align-self: end; margin: 0; }
.card.wide .ds { font-size: 17px; }
.card.wide .prs { align-self: start; margin-top: 10px; }

/* ---------- цены ---------- */
.prs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: nowrap; }
.pp { position: relative; overflow: hidden; display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 14px 7px; border-radius: 16px;
  background: var(--yellow); color: var(--p800); font-family: Unbounded, sans-serif; font-weight: 800; font-size: calc(36px * var(--ps, 1)); line-height: 1; white-space: nowrap; }
.pp .pl { font-family: Manrope, sans-serif; font-weight: 800; font-size: 16px; opacity: .7; margin-right: 2px; }
.pp .pw { display: inline-flex; align-items: baseline; gap: 4px; }
.pp .rub { font-style: normal; font-size: .58em; }
.pp .old { font-size: .5em; font-weight: 700; opacity: .7; margin-right: 4px; }
.pp.sale { background: var(--red); color: #fff; }
/* несколько цен в карточке: подпись (6 шт / станд.) над числом, чтобы две цены влезли в узкую карточку */
.card .prs.n2 .pp, .card .prs.n3 .pp { flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 12px 8px; font-size: calc(30px * var(--ps, 1)); }
.card .prs.n2 .pp .pl, .card .prs.n3 .pp .pl { font-size: 13px; margin: 0; letter-spacing: .02em; }
.grid .card .prs { gap: 8px; }
.pp::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  transform: translateX(-160%) skewX(-18deg); animation: shine 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .6s + 2s); }
.pp.bump { animation: bump .9s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes shine { 0%, 82% { transform: translateX(-160%) skewX(-18deg); } 92%, 100% { transform: translateX(380%) skewX(-18deg); } }
@keyframes bump { 0% { transform: scale(1); } 25% { transform: scale(1.32) rotate(-4deg); box-shadow: 0 0 0 10px rgba(255, 255, 255, .5); } 55% { transform: scale(.94); } 100% { transform: scale(1); } }

/* ---------- стоп-лист ---------- */
.so { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 3;
  background: rgba(22, 5, 43, .72); font-family: Unbounded, sans-serif; font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; }
.sold .so { display: flex; }
.sold img { filter: grayscale(1); opacity: .5; }
.sold .pp { background: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .6); }

/* ---------- раскладка «хит + сетка» ---------- */
.lay-hero { display: grid; grid-template-columns: 600px minmax(0, 1fr); gap: 30px; height: 100%; }
.right { display: flex; flex-direction: column; gap: 22px; min-height: 0; min-width: 0; }
.menu-pages { position: relative; flex: 1; width: 100%; height: 100%; min-height: 0; min-width: 0; }
.menu-page { position: absolute; inset: 0; }
.menu-page[hidden] { display: none; }
.right .menu-page { gap: 22px; }
.sec { display: flex; flex-direction: column; min-height: 0; }
.grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), minmax(0, 1fr)); gap: 22px; }
.sec-t { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; font-family: Unbounded, sans-serif; font-weight: 800; font-size: 28px;
  text-transform: uppercase; letter-spacing: .03em; color: var(--yellow); }
.sec-t::after { content: ''; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 209, 0, .5), rgba(255, 209, 0, 0)); }

/* хит слева */
.hero { position: relative; border-radius: 44px; overflow: hidden; color: var(--p800);
  background: radial-gradient(circle at 50% 40%, #ffe766 0%, var(--yellow) 45%, var(--yellow2) 100%);
  box-shadow: 0 24px 60px rgba(8, 0, 24, .45); animation: rise .8s cubic-bezier(.2, .9, .3, 1) both; }
.rays { position: absolute; left: 50%; top: 42%; width: 1700px; height: 1700px; margin: -850px 0 0 -850px;
  background: repeating-conic-gradient(rgba(255, 255, 255, .26) 0deg 6deg, rgba(255, 255, 255, 0) 6deg 18deg); animation: spin 120s linear infinite; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(255, 180, 0, 0) 30%, rgba(255, 170, 0, .75) 100%); pointer-events: none; }
.hero-in { position: absolute; inset: 0; z-index: 1; }
.hero-sl { position: absolute; inset: 0; padding: 34px 40px 40px; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(70px) scale(.97); transition: opacity .8s, transform .9s cubic-bezier(.2, .9, .3, 1); }
.hero-sl.on { opacity: 1; transform: none; }
.hero-sl.off { opacity: 0; transform: translateX(-70px) scale(.97); }
.hero-k { align-self: flex-start; padding: 10px 20px; border-radius: 999px; background: var(--red); color: #fff;
  font-family: Unbounded, sans-serif; font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .05em; }
.hero-ph { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 4px -20px; }
.hero-ph img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; animation: float 6s ease-in-out infinite; }
.hero-sh { left: 18%; right: 18%; bottom: 2%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 50, 0, .35), rgba(110, 50, 0, 0)); }
.hero-nm { font-family: Unbounded, sans-serif; font-weight: 900; font-size: calc(56px * var(--ts, 1)); line-height: 1.02; letter-spacing: -1px; }
.hero-ds { margin-top: 8px; font-weight: 700; font-size: 23px; line-height: 1.3; color: rgba(42, 11, 78, .75); }
.prs.big { margin-top: 18px; }
.prs.big .pp { font-size: calc(74px * var(--ps, 1)); padding: 12px 28px 14px; border-radius: 24px; background: var(--p800); color: var(--yellow); }
.prs.big.n2 .pp { font-size: calc(56px * var(--ps, 1)); }
.prs.big .pp.sale { background: var(--red); color: #fff; }
.hero-dots, .slide-dots { position: absolute; top: 40px; right: 40px; z-index: 2; display: flex; gap: 10px; }
.hero-dots i, .slide-dots i { display: block; width: 14px; height: 14px; border-radius: 50%; background: rgba(42, 11, 78, .25); transition: width .4s, background .4s; }
.hero-dots i.on, .slide-dots i.on { width: 40px; border-radius: 7px; background: var(--p800); }

/* добавки — строка «чипсов» */
.chips { flex: none; overflow: hidden; display: flex; align-items: center; gap: 8px; height: 96px; padding: 0 14px 0 26px; border-radius: 26px;
  background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .12); animation: rise .7s .7s both; }
.chips-t { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 22px; color: var(--yellow); text-transform: uppercase; margin-right: 6px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.chip .nm { font-size: calc(20px * var(--ts, 1)); white-space: nowrap; }
.chip-ph { width: 54px; height: 54px; object-fit: contain; margin: -6px -4px -6px -10px; }
.prs.mini { margin: 0; }
.prs.mini .pp { font-size: calc(22px * var(--ps, 1)); padding: 6px 12px; border-radius: 999px; }

/* ---------- раскладка «ряды» ---------- */
.lay-rows { display: flex; flex-direction: column; gap: 24px; height: 100%; }

/* ---------- раскладка «доска» (напитки) ---------- */
.lay-board { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; height: 100%; }
.bd { position: relative; display: flex; flex-direction: column; padding: 30px 38px 22px; border-radius: 40px; min-height: 0;
  background: linear-gradient(165deg, var(--c1) 0%, var(--c2) 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .16), 0 18px 40px rgba(8, 0, 24, .35);
  animation: rise .7s cubic-bezier(.2, .9, .3, 1) both; }
.bd + .bd { animation-delay: .15s; }
.bd-h { position: relative; height: 120px; flex: none; }
.bd-t { font-family: Unbounded, sans-serif; font-weight: 800; font-size: 46px; color: var(--yellow); max-width: 60%; line-height: 1.05; }
.bd-ph { position: absolute; right: -20px; top: -40px; height: 220px; display: flex; }
.bd-ph img { height: 220px; width: auto; margin-left: -40px; animation: float 7s ease-in-out infinite; }
.bd-ph img + img { animation-delay: -3s; }
.bd-list { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; min-height: 0; }
.bd-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 2px dashed rgba(255, 255, 255, .12); }
.bd-row:last-child { border-bottom: 0; }
.bd-nm { flex: 1; font-weight: 800; font-size: calc(29px * var(--ts, 1)); line-height: 1.15; }
.bd-nm small { font-weight: 600; font-size: 20px; color: rgba(255, 255, 255, .62); }
.bd-nm .tag { margin-left: 10px; vertical-align: 4px; }
.prs.row { margin: 0; gap: 8px; }
.prs.row .pp { font-size: calc(28px * var(--ps, 1)); padding: 5px 12px 6px; border-radius: 12px; }
.prs.row .pp .pl { font-size: 15px; }
.bd-row .so { font-size: 22px; border-radius: 12px; }

/* ---------- раскладка «десерты + акции» ---------- */
.lay-promo { display: grid; grid-template-columns: 760px 1fr; gap: 30px; height: 100%; }
.lay-promo .left { display: flex; flex-direction: column; min-height: 0; }
.lay-promo .left .sec { flex: 1 !important; }
.promo { position: relative; border-radius: 44px; overflow: hidden; box-shadow: 0 24px 60px rgba(8, 0, 24, .45); animation: rise .8s .2s both; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; padding: 60px 56px;
  opacity: 0; transform: translateX(80px); transition: opacity .8s, transform .9s cubic-bezier(.2, .9, .3, 1); }
.slide.on { opacity: 1; transform: none; }
.slide.off { opacity: 0; transform: translateX(-80px); }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg::before { content: ''; position: absolute; left: 70%; top: 50%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px;
  background: repeating-conic-gradient(rgba(255, 255, 255, .16) 0deg 6deg, rgba(255, 255, 255, 0) 6deg 18deg); animation: spin 140s linear infinite; }
.tone-red .slide-bg { background: radial-gradient(circle at 70% 50%, #ff5a46 0%, #d4141c 60%, #a50c14 100%); color: #fff; }
.tone-yellow .slide-bg { background: radial-gradient(circle at 70% 50%, #ffe766 0%, var(--yellow) 50%, var(--yellow2) 100%); }
.tone-lime .slide-bg { background: radial-gradient(circle at 70% 50%, #d4ff70 0%, #9bd13a 55%, #6aa31c 100%); }
.tone-night .slide-bg { background: radial-gradient(circle at 70% 40%, #5a3bd0 0%, #2a1478 55%, #12073a 100%); }
.tone-night .slide-bg::before { background: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 60% 70%, #fff, transparent),
  radial-gradient(3px 3px at 35% 80%, #fff, transparent), radial-gradient(2px 2px at 80% 20%, #fff, transparent), radial-gradient(2px 2px at 45% 15%, #fff, transparent); animation: none; }
.slide-tx { position: relative; z-index: 1; }
.slide-k { font-weight: 800; font-size: 28px; letter-spacing: .12em; text-transform: uppercase; }
.slide-t { margin-top: 14px; font-family: Unbounded, sans-serif; font-weight: 900; font-size: 76px; line-height: 1; letter-spacing: -1.5px; }
.tone-red .slide-tx, .tone-night .slide-tx { color: #fff; }
.tone-yellow .slide-tx { color: var(--p800); }
.tone-lime .slide-tx { color: #183300; }
.prs.sl-pr { margin-top: 30px; flex-wrap: wrap; }
.prs.sl-pr .pp { font-size: calc(70px * var(--ps, 1)); padding: 12px 26px 14px; border-radius: 24px; background: var(--p800); color: var(--yellow); }
.prs.sl-pr.n2 .pp { font-size: calc(54px * var(--ps, 1)); }
.prs.sl-pr .pp.sale, .tone-yellow .prs.sl-pr .pp.sale { background: var(--red); color: #fff; }
.tone-night .prs.sl-pr .pp { background: var(--yellow); color: var(--p800); }
.prs.sl-pr .old { display: inline; }
.slide-ph { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; }
.slide-ph img { max-width: 100%; max-height: 100%; object-fit: contain; animation: float 6s ease-in-out infinite; }
.slide-tx { z-index: 2; }
.slide-ph.combo img { max-width: 62%; }
.slide-ph.combo img + img { margin-left: -16%; margin-top: 30%; animation-delay: -2.5s; }
.slide-dots i { background: rgba(255, 255, 255, .4); }
.slide-dots i.on { background: #fff; }

/* ---------- низ: бегущая строка и дорога ---------- */
.foot { position: absolute; left: 0; right: 0; bottom: 0; height: 116px; }
.ticker { position: absolute; left: 0; right: 0; top: 0; height: 60px; overflow: hidden; display: flex; align-items: center;
  background: var(--yellow); color: var(--p800); }
.tk-track { display: flex; align-items: center; white-space: nowrap; animation: marquee var(--tick, 48s) linear infinite; }
.tk-track span { padding: 0 30px; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.tk-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); flex: none; }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; overflow: hidden; background: linear-gradient(#211037, #140626); }
.dash { position: absolute; left: 0; top: 50%; width: calc(100% + 140px); height: 6px; margin-top: -3px; display: block;
  background: repeating-linear-gradient(90deg, rgba(255, 209, 0, .85) 0 70px, rgba(255, 209, 0, 0) 70px 140px); animation: road 1.4s linear infinite; }
.car { position: absolute; left: -200px; bottom: 6px; width: 120px; animation: drive var(--car, 26s) linear infinite; animation-delay: 3s; }
.car svg { display: block; width: 100%; height: auto; }
.wind { position: absolute; right: 100%; top: 40%; width: 90px; height: 4px; display: block; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7)); box-shadow: 20px 14px 0 -1px rgba(255, 255, 255, .35); }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes road { to { transform: translateX(-140px); } }
@keyframes drive { 0% { transform: translateX(0); } 38% { transform: translateX(2340px); } 100% { transform: translateX(2340px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes logoIn { from { opacity: 0; transform: translateY(-30px) rotate(-6deg); } to { opacity: 1; transform: none; } }

/* ---------- своя метка, снег ---------- */
.tag-own { background: var(--yellow); color: var(--p800); }
.snow { position: absolute; left: 0; right: 0; top: -1080px; height: 2160px; display: block; pointer-events: none;
  background-image: radial-gradient(3px 3px at 20px 30px, #fff, transparent), radial-gradient(2px 2px at 140px 90px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(4px 4px at 260px 160px, #fff, transparent), radial-gradient(2px 2px at 330px 40px, rgba(255, 255, 255, .7), transparent);
  background-size: 360px 220px; animation: snow 30s linear infinite; opacity: .55; }
.snow.s2 { background-size: 520px 300px; animation-duration: 46s; opacity: .35; }
@keyframes snow { to { transform: translateY(1080px); } }

/* ---------- эффекты из кабинета: html получает классы fx-<эффект>-<значение> ---------- */
.fx-glow-static .glow1, .fx-glow-static .glow2 { animation: none; }
.fx-glow-off .glow1, .fx-glow-off .glow2 { display: none; }
.fx-lines-off .lines { display: none; }
.fx-shadows-off .card, .fx-shadows-off .hero, .fx-shadows-off .promo, .fx-shadows-off .bd { box-shadow: none; }
.fx-shadows-off .logo svg { filter: none; }
.fx-rays-static .rays, .fx-rays-static .slide-bg::before { animation: none; }
.fx-rays-off .rays, .fx-rays-off .slide-bg::before { display: none; }
.fx-float-off .hero-ph img, .fx-float-off .slide-ph img, .fx-float-off .bd-ph img { animation: none; }
.fx-heroAnim-fade .hero-sl, .fx-heroAnim-fade .slide { transform: none !important; }
.fx-heroAnim-off .hero-sl, .fx-heroAnim-off .slide { transform: none !important; transition: none; }
.fx-cardsAnim-fade .card, .fx-cardsAnim-fade .bd, .fx-cardsAnim-fade .chips { animation-name: fadeIn; }
.fx-cardsAnim-off .card, .fx-cardsAnim-off .bd, .fx-cardsAnim-off .chips, .fx-cardsAnim-off .hero, .fx-cardsAnim-off .promo { animation: none; }
.fx-priceShine-off .pp::after { display: none; }
.fx-bump-off .pp.bump { animation: none; }
.fx-logoIn-off .logo { animation: none; }
.fx-road-static .dash { animation: none; }
.fx-road-off .dash { display: none; }
.fx-car-off .car { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- что показывать (кабинет → Оформление → Шапка и низ) ---------- */
.hide-title .ttl h1 { display: none; }
.hide-sub .ttl .sub { display: none; }
.hide-clock .clock b { display: none; }
.hide-hours .clock small { display: none; }
.hide-badges .badges { display: none; }
.hide-ticker .ticker { display: none; }
.hide-road .road { display: none; }
.showcase-paused #stage *, .showcase-paused #stage *::before, .showcase-paused #stage *::after { animation-play-state: paused !important; }
