:root {
  --orange: #f26522;
  --orange-2: #ff7a2e;
  --red: #e8322a;
  --yellow: #ffe400;
  --purple: #942bc9;
  --purple-d: #32004b;
  --ink: #14031f;
  --ink-2: #1e0830;
  --card: #26103a;
  --line: rgba(255,255,255,.12);
  --text: #fff;
  --muted: rgba(255,255,255,.72);
  --cyan: #2ee6d6;
  --r: 18px;
  --head: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ── кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 2px solid transparent; font: 800 17px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 20px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 0 -2px #8f1410, 0 10px 30px rgba(232,50,42,.45); }
.btn--yellow { background: var(--yellow); color: var(--purple-d); }
.btn--yellow:hover { box-shadow: 0 0 24px rgba(255,228,0,.55); }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--orange); }
.btn--dark { background: var(--purple-d); color: #fff; }
.btn--dark:hover { background: #4a0a6e; }
.btn--purple { background: var(--purple); color: #fff; width: 100%; }

/* ── шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(50,0,75,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 68px; }

.hdr__nav { display: flex; gap: 26px; margin-inline: auto; }
.hdr__nav a { font: 700 15px var(--head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; opacity: .85; }
.hdr__nav a:hover { opacity: 1; color: var(--yellow); }
.hdr__right { display: flex; align-items: center; gap: 16px; }
.hdr__phone { font: 800 19px var(--head); color: var(--yellow); text-decoration: none; }
.hdr__burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; flex-direction: column; justify-content: space-between; }
.hdr__burger span { height: 3px; background: #fff; border-radius: 2px; transition: .2s; }

/* ── hero */
.hero { position: relative; background: var(--orange); overflow: hidden; isolation: isolate; }
.hero__fx { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(255,228,0,.35), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(232,50,42,.6), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, var(--orange-2), var(--orange) 50%, #d9481a); }
.hero__fx::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: url(../img/brand/fire.webp) center bottom / cover; mix-blend-mode: soft-light; opacity: .5; mask: linear-gradient(transparent, #000); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; padding-block: 56px 0; }
.hero__text { padding-bottom: 56px; }
.chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 6px 6px 16px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 8px; font: 700 15px var(--head); text-transform: uppercase; letter-spacing: .03em; }
.chip b { background: var(--purple); color: var(--yellow); padding: 4px 8px; border-radius: 5px; font-size: 17px; }
.hero__title { margin: 0; font: italic 900 clamp(40px, 5.6vw, 76px)/.98 var(--head); color: var(--yellow); text-transform: none; letter-spacing: -.01em; text-shadow: 0 4px 0 rgba(120,20,0,.35); }
.hero__lead { max-width: 560px; margin: 22px 0 30px; font-size: 19px; color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__addr { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; text-decoration: none; }
.hero__addr svg { width: 28px; height: 28px; fill: var(--purple); background: var(--yellow); border-radius: 50%; padding: 4px; }
.hero__strip { background: var(--purple-d); border-top: 3px solid var(--yellow); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { padding: 14px 28px; font: italic 900 22px var(--head); text-transform: uppercase; white-space: nowrap; }
.marquee span::after { content: '✦'; margin-left: 56px; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── секции */
.sec { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.sec--dark { background: radial-gradient(80% 50% at 50% 0%, #3a0a5a 0%, transparent 70%), var(--ink); }
.sec--purple { background: var(--purple-d); }
.sec--orange { background: var(--orange); }
.sec--space { background: var(--ink-2); padding-bottom: 0; }
.kicker { margin: 0 0 10px; font: 800 15px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.kicker--dark { color: var(--purple-d); }
.h2 { margin: 0 0 18px; font: italic 900 clamp(36px, 5vw, 64px)/1 var(--head); }
.sec--orange .h2 { color: var(--yellow); text-shadow: 0 3px 0 rgba(120,20,0,.3); }
.sec__lead { max-width: 640px; margin: 0 0 36px; color: var(--muted); font-size: 18px; }

/* ── категории */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.cat { position: relative; min-height: 200px; padding: 22px; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; background: var(--card); display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .2s, transform .2s; isolation: isolate; }
.cat__bg { position: absolute; inset: 0; z-index: -2; background: center / cover; opacity: .5; transition: opacity .2s, transform .4s; }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgba(20,3,31,.95)); }
.cat:hover .cat__bg { transform: scale(1.05); opacity: .75; }
.cat[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 40px -8px var(--accent); }
.cat[aria-selected="true"] .cat__bg { opacity: .9; }
.cat__kicker { font: 800 13px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cat__title { font: italic 900 32px/1 var(--head); margin: 4px 0 6px; }
.cat__count { font-size: 14px; color: var(--muted); }
.cat-info { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 22px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.cat-info p { margin: 0; flex: 1 1 420px; color: var(--muted); }
.cat-info ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cat-info li { padding: 6px 12px; border-radius: 99px; background: var(--purple-d); font-size: 14px; font-weight: 600; }

/* ── плитки игр */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--card); text-align: left; isolation: isolate; animation: tileIn .45s both; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--l { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(20,3,31,.92)); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.tile__body { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.tile__tag { display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.45); font: 700 12px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.tile__title { display: block; font: italic 900 22px/1.05 var(--head); }
.tile--xl .tile__title { font-size: 40px; }
.tile--l .tile__title { font-size: 28px; }
.tile__play { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .2s; }
.tile__play::before { content: ''; border-left: 13px solid #fff; border-block: 8px solid transparent; margin-left: 3px; }
.tile:hover .tile__play { background: var(--red); }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px); } }

/* ── форматы */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.fmt { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--purple-d); border-radius: 22px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(80,0,40,.6); }
.fmt--hit { outline: 4px solid var(--yellow); }
.fmt__hit { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 8px; background: var(--yellow); font: 900 15px var(--head); text-transform: uppercase; }
.fmt__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.fmt__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.fmt h3 { margin: 0 0 8px; font: italic 900 30px/1 var(--head); }
.fmt p { margin: 0 0 12px; color: #4a2a5c; }
.fmt ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.fmt li { padding: 5px 10px; border-radius: 99px; background: #f3e9fa; font-size: 14px; font-weight: 600; }
.fmt .btn { margin-top: auto; align-self: flex-start; }

/* ── как проходит */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps__n { flex: none; width: 56px; font: italic 900 40px/1 var(--head); color: var(--orange); }
.steps h3 { margin: 0 0 4px; font: 800 22px var(--head); text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); }
.how__media { position: sticky; top: 96px; display: grid; gap: 14px; }
.video-card { position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.video-card img, .video-card iframe { width: 100%; height: 100%; object-fit: cover; border: 0; opacity: .8; }
.video-card iframe { opacity: 1; position: absolute; inset: 0; }
.video-card__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px rgba(232,50,42,.3); display: grid; place-items: center; transition: transform .2s; }
.video-card__play::before { content: ''; border-left: 26px solid #fff; border-block: 16px solid transparent; margin-left: 6px; }
.video-card:hover .video-card__play { transform: scale(1.08); }
.video-card__cap { position: absolute; left: 18px; bottom: 14px; font: 800 18px var(--head); text-transform: uppercase; }
.how__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.how__photos img { aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }

/* ── галерея */
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px max(16px, (100% - 1240px) / 2) 64px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.gallery figure { flex: none; width: min(420px, 78vw); margin: 0; scroll-snap-align: start; position: relative; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(20,3,31,.75); font: 700 14px var(--head); text-transform: uppercase; }

/* ── отзывы */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.rating { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; padding: 14px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.rating b { grid-row: span 2; font: italic 900 52px/1 var(--head); color: var(--yellow); }
.rating__stars { color: var(--yellow); letter-spacing: 2px; }
.rating span:last-child { font-size: 14px; color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 16px; }
.rv { break-inside: avoid; margin: 0 0 16px; padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rv p { margin: 0 0 12px; }
.rv p::before { content: '“'; display: block; font: 900 48px/.6 var(--head); color: var(--orange); margin-bottom: 8px; }
.rv footer { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ── доп */
.extras { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.extras li { display: grid; gap: 10px; padding: 20px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font: 800 17px/1.15 var(--head); text-transform: uppercase; }
.extras span { font-size: 30px; }

/* ── бронь */
.book__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.book__text p { font-size: 19px; max-width: 460px; }
.book__alt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 24px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(60,0,30,.7); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form input, .form select { height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: #fff; font: 500 16px var(--body); }
.form input:focus, .form select:focus { outline: none; border-color: var(--yellow); }
.form input[aria-invalid="true"] { border-color: var(--red); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__check { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.form__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--yellow); }
.form__note { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--yellow); }

/* ── контакты */
.contacts { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.contacts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 20px 0 24px; font-size: 18px; }
.contacts dt { color: var(--muted); font-size: 15px; padding-top: 3px; }
.contacts dd { margin: 0; font-weight: 600; }
.contacts dd a { color: var(--yellow); text-decoration: none; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.socials a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.map { min-height: 380px; border-radius: 22px; overflow: hidden; background: url(../img/photo/img_4196.webp) center / cover; position: relative; display: grid; place-items: center; }
.map::before { content: ''; position: absolute; inset: 0; background: rgba(20,3,31,.6); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { position: relative; padding: 14px 24px; border-radius: 12px; border: 2px solid #fff; background: transparent; font: 800 17px var(--head); text-transform: uppercase; }
.map__load:hover { background: #fff; color: var(--ink); }

/* ── подвал */
.ftr { padding: 32px 0 40px; border-top: 1px solid var(--line); background: var(--ink); color: var(--muted); font-size: 14px; }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.ftr p { margin: 0; flex: 1; }

/* ── модалка */
.modal { width: min(980px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--ink-2); color: #fff; overflow: auto; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.modal::backdrop { background: rgba(10,0,18,.8); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.modal__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); font-size: 28px; line-height: 1; }
.modal__media { position: relative; aspect-ratio: 16/9; background: #000; }
.modal__media video, .modal__media iframe, .modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.modal__body { padding: 22px 28px 28px; }
.modal__tag { margin: 0 0 4px; font: 800 14px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.modal h3 { margin: 0 0 12px; font: italic 900 40px/1 var(--head); }
.modal__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.modal__facts li { padding: 6px 12px; border-radius: 99px; background: var(--purple-d); font-size: 14px; font-weight: 600; }
.modal__body > p:not(.modal__tag) { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.modal__nav { display: flex; gap: 12px; align-items: center; }
.modal__nav .btn { flex: 1; }
.modal__arrow { width: 52px; height: 52px; flex: none; border-radius: 12px; border: 2px solid var(--line); background: transparent; font-size: 22px; }
.modal__arrow:hover { border-color: var(--yellow); color: var(--yellow); }

.mbar { display: none; }

/* ── адаптив */
@media (max-width: 1100px) {
  .hdr__nav { gap: 18px; }
  .hdr__phone { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .extras { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hdr__nav { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--purple-d); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s; }
  .hdr__nav.open { transform: none; }
  .hdr__nav a { padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .hdr__burger { display: flex; }
  .hdr__right .btn { display: none; }
  .hero__in { grid-template-columns: 1fr; padding-top: 32px; min-height: 0; }
        .formats, .how, .book__in, .contacts { grid-template-columns: 1fr; }
  .how__media { position: static; }
  /* категории — свайп */
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: none; width: 78%; min-height: 170px; scroll-snap-align: start; }
  .formats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 16px; }
  .fmt { flex: none; width: 84%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .hdr__in { height: 60px; }

  .hdr__nav { inset: 60px 0 auto; }
  html { scroll-padding-top: 68px; }
  .chip { font-size: 12px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .tile--xl { grid-row: span 2; }
  .tile--xl .tile__title { font-size: 30px; }
  .tile__title { font-size: 18px; }
  .tile__tag { font-size: 10px; }
  .tile__play { width: 34px; height: 34px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .modal { width: 100%; max-height: 100dvh; border-radius: 0; margin: 0; height: 100dvh; max-width: 100%; }
  .modal h3 { font-size: 32px; }
  .modal__body { padding: 18px 16px 24px; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(50,0,75,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; }
  .mbar__call { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--orange); text-decoration: none; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* обложки WARSTATION: play уже нарисован по центру картинки — накрываем своим */
.tile--ws { container-type: inline-size; }
.tile--ws .tile__play { top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); width: clamp(44px, 13cqw, 110px); height: auto; aspect-ratio: 1; background: var(--red); box-shadow: 0 0 0 6px rgba(232,50,42,.3); }
.tile--ws .tile__play::before { border-left-width: clamp(13px, 3.6cqw, 30px); border-block-width: clamp(8px, 2.2cqw, 18px); }
@media (max-width: 900px) { .hdr__right { margin-left: auto; } }

/* ═════════ ЛОГОТИП: неон включается, пульсирует, по нему бежит блик ═════════ */
.logo { display: inline-grid; justify-items: center; gap: 2px; text-decoration: none; }
.logo__mark { position: relative; display: block; height: 34px; aspect-ratio: 1109 / 375; }
.logo__mark img { width: 100%; height: 100%; animation: neonOn 1.6s steps(1, end) both, neonPulse 4s 1.6s ease-in-out infinite; }
/* блик, обрезанный по форме букв */
.logo__mark::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,228,0,.95) 47%, #fff 50%, rgba(46,230,214,.9) 53%, transparent 65%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: url(../img/brand/logo.png) center / contain no-repeat; mask: url(../img/brand/logo.png) center / contain no-repeat;
  animation: shine 5s 2s ease-in-out infinite; mix-blend-mode: screen; }
.logo__word { display: flex; font: 900 9.5px/1 var(--head); letter-spacing: .32em; margin-right: -.32em; color: var(--yellow); }
.logo__word i { font-style: normal; opacity: .15; animation: letterOn .25s steps(2) forwards; text-shadow: 0 0 6px rgba(255,228,0,.8); }
.logo__word i:nth-child(1) { animation-delay: 1.1s } .logo__word i:nth-child(2) { animation-delay: 1.18s }
.logo__word i:nth-child(3) { animation-delay: 1.26s } .logo__word i:nth-child(4) { animation-delay: 1.34s }
.logo__word i:nth-child(5) { animation-delay: 1.42s } .logo__word i:nth-child(6) { animation-delay: 1.5s }
.logo__word i:nth-child(7) { animation-delay: 1.58s } .logo__word i:nth-child(8) { animation-delay: 1.66s }
.logo__word i:nth-child(9) { animation-delay: 1.74s } .logo__word i:nth-child(10) { animation-delay: 1.82s }
.logo:hover .logo__mark img { animation: flicker .5s steps(1, end), neonPulse 4s .5s ease-in-out infinite; }
@keyframes neonOn {
  0%, 9%, 15%, 31%, 38% { opacity: .08; filter: none; }
  6%, 12%, 25%, 35%, 100% { opacity: 1; filter: drop-shadow(0 0 4px #b98cff) drop-shadow(0 0 12px #942bc9); }
}
@keyframes neonPulse {
  0%, 100% { filter: drop-shadow(0 0 3px #b98cff) drop-shadow(0 0 10px #942bc9); }
  50% { filter: drop-shadow(0 0 5px #8ff5ec) drop-shadow(0 0 18px #2ee6d6); }
}
@keyframes flicker { 0%, 40%, 70% { opacity: 1 } 20%, 55% { opacity: .2 } }
@keyframes shine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@keyframes letterOn { to { opacity: 1; } }
@media (max-width: 640px) { .logo__mark { height: 30px; } .logo__word { font-size: 8.5px; } }

/* ═════════ HERO WOW ═════════ */
/* искры */
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__in, .hero__strip { position: relative; z-index: 1; }

/* заголовок появляется по словам */
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.45em) skewX(-8deg); filter: blur(6px); animation: wordIn .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__title .w--glitch { position: relative; }
.hero__title .w--glitch::before, .hero__title .w--glitch::after { content: attr(data-t); position: absolute; inset: 0; pointer-events: none; }
.hero__title .w--glitch::before { color: var(--cyan); animation: glitchA 3.2s 2s infinite steps(1); clip-path: inset(0 0 60% 0); }
.hero__title .w--glitch::after { color: #ff2fb4; animation: glitchB 3.2s 2s infinite steps(1); clip-path: inset(55% 0 0 0); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes glitchA { 0%, 88%, 100% { transform: none; opacity: 0; } 90% { transform: translate(-4px, -2px); opacity: 1; } 93% { transform: translate(3px, 1px); opacity: 1; } 96% { transform: translate(-2px, 0); opacity: 1; } }
@keyframes glitchB { 0%, 88%, 100% { transform: none; opacity: 0; } 90% { transform: translate(4px, 2px); opacity: 1; } 93% { transform: translate(-3px, -1px); opacity: 1; } 96% { transform: translate(2px, 0); opacity: 1; } }
.hero__lead, .hero__cta, .hero__addr, .hero .chip { animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) both; }
.hero .chip { animation-delay: .1s; } .hero__lead { animation-delay: .9s; } .hero__cta { animation-delay: 1.05s; } .hero__addr { animation-delay: 1.2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }


@media (prefers-reduced-motion: reduce) {
  .hero__title .w { opacity: 1; transform: none; filter: none; }
  .logo__word i { opacity: 1; }
}

/* ═════════ 152-ФЗ: cookie, подвал, форма ═════════ */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__check a { color: var(--yellow); }
.form__note a { color: var(--yellow); }
a.video-card { display: block; color: #fff; }
.ftr__legal { flex: 1 1 420px; display: grid; gap: 4px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr__links a, .ftr__cookie { color: var(--muted); font-size: 13px; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ftr__links a:hover, .ftr__cookie:hover { color: var(--yellow); }
.cookie { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px)); padding: 18px 20px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: 14px; animation: fadeUp .4s both; }
.cookie p { margin: 0 0 14px; color: var(--muted); }
.cookie a { color: var(--yellow); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn--ghost { border-color: rgba(255,255,255,.4); }
@media (max-width: 640px) { .cookie { bottom: 84px; } }

/* документы */
.doc { padding-block: 48px 80px; }
.doc__in { width: min(860px, 100% - 32px); margin-inline: auto; }
.doc h1 { font: italic 900 clamp(34px, 5vw, 56px)/1.02 var(--head); color: var(--yellow); margin: 0 0 8px; }
.doc .doc__meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font: 800 24px/1.2 var(--head); text-transform: uppercase; margin: 36px 0 12px; color: #fff; }
.doc p, .doc li { color: rgba(255,255,255,.82); }
.doc a { color: var(--yellow); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--card); }
.doc__back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; }
.doc__back:hover { color: var(--yellow); }

/* ═════════ Две игровые зоны ═════════ */
.zones { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; margin-top: 8px; }
.zones__plan { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; border-radius: 24px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.zone { position: relative; display: grid; grid-template-rows: 1.6fr 1fr; gap: 10px; min-height: 300px; padding: 12px; border-radius: 18px; border: 2px solid var(--zc); box-shadow: 0 0 30px -10px var(--zc), inset 0 0 40px -20px var(--zc); }
.zone--a { --zc: var(--orange); }
.zone--b { --zc: var(--cyan); }
.zone__num { position: absolute; top: -14px; left: 16px; padding: 2px 10px; border-radius: 8px; background: var(--zc); color: var(--ink); font: italic 900 18px var(--head); }
.zone__arena, .zone__lounge { display: grid; align-content: center; justify-items: center; gap: 4px; border-radius: 12px; text-align: center; padding: 10px; }
.zone__arena { background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px), color-mix(in srgb, var(--zc) 18%, transparent); }
.zone__lounge { background: rgba(255,255,255,.07); border: 1px dashed color-mix(in srgb, var(--zc) 60%, transparent); }
.zone b { font: italic 900 22px var(--head); text-transform: uppercase; }
.zone span:not(.zone__num) { font-size: 13px; color: var(--muted); }
.zones__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.zones__list li { display: flex; gap: 16px; align-items: flex-start; }
.zones__list li > span { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 24px; }
.zones__list h3 { margin: 0 0 4px; font: 800 21px/1.15 var(--head); text-transform: uppercase; }
.zones__list p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr; } .zone { min-height: 220px; } }
@media (max-width: 640px) { .zones__plan { gap: 10px; padding: 10px; } .zone b { font-size: 17px; } .zone span:not(.zone__num) { font-size: 11px; } }

/* ═════════ Контрастная кнопка в hero ═════════ */
.btn--hero { position: relative; background: var(--purple-d); color: var(--yellow); border-color: var(--yellow);
  box-shadow: 0 6px 0 #14031f, 0 0 0 0 rgba(255,228,0,.7); animation: ctaPulse 2.4s 2s ease-out infinite; }
.btn--hero span { transition: transform .2s; }
.btn--hero:hover { background: var(--yellow); color: var(--purple-d); box-shadow: 0 6px 0 #14031f, 0 0 30px rgba(255,228,0,.7); }
.btn--hero:hover span { transform: translateX(4px); }
.btn--hero:active { transform: translateY(4px); box-shadow: 0 2px 0 #14031f; }
@keyframes ctaPulse { 0% { box-shadow: 0 6px 0 #14031f, 0 0 0 0 rgba(255,228,0,.7); } 70%, 100% { box-shadow: 0 6px 0 #14031f, 0 0 0 16px rgba(255,228,0,0); } }

/* ═════════ Описание категории: крупнее и контрастнее ═════════ */
.cat-info { position: relative; overflow: hidden; gap: 18px 32px; padding: 26px 30px; border-radius: 20px;
  border: 2px solid color-mix(in srgb, var(--accent, #fff) 55%, transparent);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent, #fff) 26%, transparent), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 0 40px -14px var(--accent, transparent), inset 0 0 0 1px rgba(255,255,255,.04); }
.cat-info::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.cat-info__text { flex: 1 1 440px; display: grid; gap: 6px; }
.cat-info__kicker { font: 800 14px var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cat-info p { margin: 0; color: #fff; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; font-weight: 500; flex: none; }
.cat-info ul { gap: 10px; }
.cat-info li { padding: 10px 16px; border-radius: 12px; font: 800 16px/1 var(--head); text-transform: uppercase; letter-spacing: .03em;
  background: color-mix(in srgb, var(--accent, #fff) 16%, var(--ink)); border: 1.5px solid color-mix(in srgb, var(--accent, #fff) 70%, transparent); color: #fff; }
.cat-info li::before { content: '✦'; margin-right: 8px; color: var(--accent); }
.cat-info--in { animation: infoIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes infoIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 640px) { .cat-info { padding: 20px 18px 20px 22px; } .cat-info li { font-size: 14px; padding: 8px 12px; } }

/* ═════════ HERO «E»: тёмный тоннель + стена игр + неоновый логотип ═════════ */
.hero--e { background: #0d0118; }
.hero--e .hero__tunnel { position: absolute; inset: 0; z-index: -4; background: url(../img/photo/img_4193.webp) 30% center / cover; opacity: .35; animation: tunnelZoom 20s ease-in-out infinite alternate; }
@keyframes tunnelZoom { to { transform: scale(1.15); } }
.hero--e::before { content: ''; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(45% 55% at 24% 42%, rgba(148,43,201,.45), transparent 70%),
              radial-gradient(60% 40% at 50% 112%, rgba(242,101,34,.55), transparent 70%),
              linear-gradient(90deg, rgba(13,1,24,.92) 0%, rgba(13,1,24,.7) 45%, rgba(13,1,24,.2) 100%); }
.hero--e .hero__sparks { z-index: -1; }
.hero__wall { position: absolute; top: -25%; right: -4%; width: 50%; height: 150%; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: rotate(-9deg);
  -webkit-mask: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 38%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 38%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-composite: intersect; }
.hero__col { display: flex; flex-direction: column; gap: 16px; animation: colUp 40s linear infinite; }
.hero__col:nth-child(2) { animation-direction: reverse; animation-duration: 46s; }
.hero__col:nth-child(3) { animation-duration: 36s; }
.hero__col img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 40px rgba(0,0,0,.6); filter: saturate(1.05) brightness(.88); }
@keyframes colUp { to { transform: translateY(-50%); } }

.hero--e .hero__in { display: block; padding-block: 64px 56px; min-height: min(780px, calc(100vh - 68px - 56px)); display: flex; align-items: center; }
.hero--e .hero__text { max-width: 720px; padding-bottom: 0; }
.hero__logo { position: relative; display: block; width: min(460px, 78vw); aspect-ratio: 1109 / 375; margin-bottom: 30px; }
.hero__logo img { width: 100%; height: 100%; animation: neonOn 1.8s .2s steps(1, end) both, neonBig 4s 2s ease-in-out infinite; }
.hero__logo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,228,0,.95) 47%, #fff 50%, rgba(46,230,214,.95) 53%, transparent 62%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: url(../img/brand/logo.png) center / contain no-repeat; mask: url(../img/brand/logo.png) center / contain no-repeat; mix-blend-mode: screen; animation: shine 4.5s 2.2s ease-in-out infinite; }
.hero__logo::before { content: ''; position: absolute; inset: -30% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(148,43,201,.55), transparent); filter: blur(10px); animation: glowPulse 4s 2s ease-in-out infinite; }
@keyframes neonBig { 0%, 100% { filter: drop-shadow(0 0 4px #c9a6ff) drop-shadow(0 0 18px #942bc9) drop-shadow(0 0 40px #942bc9); } 50% { filter: drop-shadow(0 0 5px #a8fff6) drop-shadow(0 0 22px #2ee6d6) drop-shadow(0 0 50px #2ee6d6); } }
@keyframes glowPulse { 50% { opacity: .5; transform: scale(1.08); } }
.hero__word { display: block; margin-top: 6px; font: 900 clamp(13px, 1.6vw, 19px)/1 var(--head); letter-spacing: .55em; margin-right: -.55em; color: var(--yellow); text-align: center; text-shadow: 0 0 10px rgba(255,228,0,.7); animation: fadeUp .8s 1.4s both; }

.hero--e .hero__title { font: 900 clamp(30px, 3.6vw, 50px)/1.05 var(--head); color: #fff; text-shadow: none; animation: fadeUp .8s 1.6s both; }
.hero--e .hero__title em { font-style: italic; color: var(--orange); }
.hero--e .hero__lead { color: rgba(255,255,255,.82); margin: 18px 0 28px; animation-delay: 1.75s; }
.hero--e .hero__cta { animation-delay: 1.9s; }
.hero--e .btn--hero { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 0 #8a2c06; animation: none; }
.hero--e .btn--hero:hover { background: var(--yellow); color: var(--purple-d); border-color: var(--yellow); box-shadow: 0 6px 0 #8a2c06, 0 0 30px rgba(255,228,0,.6); }
.hero--e .btn--ghost:hover { color: var(--purple-d); }

@media (max-width: 900px) {
  .hero__wall { top: auto; bottom: -35%; right: -25%; width: 130%; height: 75%; opacity: .45; }
  .hero--e::before { background: radial-gradient(60% 40% at 50% 18%, rgba(148,43,201,.5), transparent 70%), linear-gradient(180deg, rgba(13,1,24,.88) 55%, rgba(13,1,24,.45)); }
  .hero--e .hero__in { min-height: 0; padding-block: 40px 48px; text-align: center; justify-content: center; }
  .hero__logo { margin-inline: auto; }
  .hero--e .hero__cta { justify-content: center; }
  .hero--e .hero__lead { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .hero__col { animation: none; } }

/* ═════════ Форматы: 4 карточки ═════════ */
.formats--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.formats--4 .fmt h3 { font-size: 28px; }
.fmt__tag { display: block; margin-bottom: 4px; font: 800 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.fmt { scroll-margin-top: 90px; }
.fmt:target { outline: 4px solid var(--yellow); animation: fmtFlash 1.2s ease-out; }
@keyframes fmtFlash { 0% { box-shadow: 0 0 0 0 rgba(255,228,0,.9); } 100% { box-shadow: 0 0 0 24px rgba(255,228,0,0); } }
@media (max-width: 1100px) and (min-width: 901px) { .formats--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .formats--4 .fmt { width: 78%; } }

/* ═════════ Каталог: панели категорий ═════════ */
.cat-dots { display: none; }
.cpanel { display: none; }
.cpanel.is-active { display: block; }
.cpanel__head { display: none; }
.cpanel--in .cat-info { animation: infoIn .45s cubic-bezier(.2,.8,.2,1); }
.cpanel .cat-info { margin-bottom: 22px; }
.cpanel .cat-info { --accent: inherit; }

@media (max-width: 900px) {
  /* переключатель категорий: три кнопки, всегда видны, прилипают под шапкой */
  .cats { position: sticky; top: 60px; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; overflow: visible; margin: 0 -16px 10px; padding: 8px 16px; background: rgba(20,3,31,.92); backdrop-filter: blur(10px); scroll-snap-type: none; }
  .cat { width: auto; min-height: 0; padding: 10px 6px; border-radius: 12px; justify-content: center; text-align: center; border-width: 1.5px; }
  .cat .cat__bg, .cat .cat__kicker, .cat .cat__count { display: none; }
  .cat::after { display: none; }
  .cat .cat__title { margin: 0; font: italic 900 15px/1.05 var(--head); }
  .cat[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--ink)); }
  .cat-dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 12px; }
  .cat-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
  .cat-dots i.on { width: 26px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

  /* панели листаются вместе: обложка + описание + игры */
  .cat-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; margin-inline: -16px; scrollbar-width: none; align-items: flex-start; transition: height .35s ease; -webkit-overflow-scrolling: touch; }
  .cat-track::-webkit-scrollbar { display: none; }
  .cpanel, .cpanel.is-active { display: block; flex: 0 0 100%; padding: 0 16px; scroll-snap-align: start; scroll-snap-stop: always; }
  .cpanel__head { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 18px; margin-bottom: 12px; border-radius: 18px; overflow: hidden; isolation: isolate; border: 2px solid var(--accent); box-shadow: 0 0 30px -8px var(--accent); }
  .cpanel__head .cat__bg { position: absolute; inset: 0; z-index: -2; background: center / cover; opacity: .85; }
  .cpanel__head::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 10%, rgba(20,3,31,.95)); }
  .cpanel__head .cat__kicker { font: 800 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .cpanel__head .cat__title { font: italic 900 30px/1 var(--head); margin: 4px 0; }
  .cpanel__head .cat__count { font-size: 13px; color: var(--muted); }
  .cpanel .cat-info { margin-bottom: 14px; }
  .cpanel .cat-info__kicker { display: none; }
}
@media (min-width: 641px) and (max-width: 900px) { .cats { top: 68px; } }

/* ═════════ Для кого: компактные раскрывающиеся карточки ═════════ */
.sec__lead--dark { color: var(--purple-d); margin-bottom: 26px; }
.formats--4 { align-items: start; margin-top: 0; }
.formats--4 .fmt { cursor: pointer; transition: transform .25s, box-shadow .25s; }
.formats--4 .fmt:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -20px rgba(80,0,40,.75); }
.formats--4 .fmt__img { aspect-ratio: 16/10; transition: transform .6s; }
.formats--4 .fmt:hover .fmt__img { transform: scale(1.04); }
.formats--4 .fmt__body { padding: 16px 18px 18px; }
.formats--4 .fmt h3 { margin: 0 0 10px; }
.fmt__toggle { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--purple); font: 800 15px var(--head); text-transform: uppercase; letter-spacing: .04em; }
.fmt__toggle i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--purple-d); color: var(--yellow); font-style: normal; font-size: 18px; line-height: 1; transition: transform .3s, background .3s; }
.fmt.is-open .fmt__toggle i { transform: rotate(45deg); background: var(--orange); color: #fff; }
.fmt__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.fmt__more > div { overflow: hidden; }
.fmt__more p { margin: 14px 0 10px; }
.fmt__more .btn { margin-top: 4px; }
.fmt.is-open .fmt__more { grid-template-rows: 1fr; }
.fmt.is-open { outline: 3px solid var(--purple-d); }
.fmt--hit.is-open { outline-color: var(--yellow); }

@media (max-width: 900px) {
  .formats.formats--4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; margin-inline: 0; padding: 0; }
  .formats--4 .fmt { width: auto; border-radius: 16px; }
  .formats--4 .fmt.is-open { grid-column: 1 / -1; }
  .formats--4 .fmt__img { aspect-ratio: 4/3; }
  .formats--4 .fmt.is-open .fmt__img { aspect-ratio: 16/8; }
  .formats--4 .fmt__body { padding: 12px 12px 14px; }
  .formats--4 .fmt h3 { font-size: 21px; margin-bottom: 8px; }
  .fmt__tag { font-size: 10px; letter-spacing: .1em; }
  .fmt__toggle { font-size: 12px; gap: 6px; }
  .fmt__toggle i { width: 22px; height: 22px; font-size: 16px; }
  .fmt__hit { top: 8px; left: 8px; padding: 3px 8px; font-size: 12px; }
}

/* ═════════ Зоны: схема с объединением арен ═════════ */
.zones__side { display: grid; gap: 14px; }
.zones__plan { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 190px 110px; gap: 12px; padding: 16px; border-radius: 24px; background:
  linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 22px 22px, rgba(255,255,255,.03); border: 1px solid var(--line); overflow: hidden; }
.zp { position: relative; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 10px; border-radius: 16px; text-align: center; transition: opacity .6s, transform .7s cubic-bezier(.2,.8,.2,1), filter .6s; }
.zp b { font: italic 900 22px var(--head); text-transform: uppercase; }
.zp span { font-size: 13px; color: var(--muted); }
.zp em { position: absolute; top: 10px; left: 12px; padding: 1px 8px; border-radius: 6px; font: italic 900 15px var(--head); color: var(--ink); background: var(--zc); }
.zp--a { --zc: var(--orange); grid-column: 1; }
.zp--b { --zc: var(--cyan); grid-column: 2; }
.zp--arena { grid-row: 1; border: 2px solid var(--zc); box-shadow: 0 0 26px -8px var(--zc), inset 0 0 40px -20px var(--zc);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px), color-mix(in srgb, var(--zc) 16%, transparent); }
.zp--lounge { grid-row: 2; border: 1.5px dashed color-mix(in srgb, var(--zc) 70%, transparent); background: rgba(255,255,255,.05); }
.zp--lounge b { font-size: 18px; }
/* бегущий свет по арене */
.zp--arena::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%) 0 0 / 250% 100%; animation: shine 3.5s ease-in-out infinite; pointer-events: none; }
.zp--b::after { animation-delay: 1.2s; }
/* стена между аренами */
.zp--wall { grid-row: 1; grid-column: 1 / 3; justify-self: center; width: 4px; padding: 0; border-radius: 4px; background: linear-gradient(180deg, var(--orange), var(--yellow), var(--cyan)); box-shadow: 0 0 14px var(--yellow); z-index: 2; }
/* мега-арена */
.zp--mega { grid-row: 1; grid-column: 1 / 3; z-index: 3; opacity: 0; transform: scaleX(.4); border: 2px solid transparent; border-radius: 18px;
  background: linear-gradient(#1c0630, #1c0630) padding-box, linear-gradient(90deg, var(--orange), var(--yellow), var(--cyan), var(--orange)) border-box; background-size: 100% 100%, 300% 100%;
  box-shadow: 0 0 40px -6px rgba(255,228,0,.6); animation: megaBorder 3s linear infinite; }
.zp--mega b { font-size: 30px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes megaBorder { to { background-position: 0 0, 300% 0; } }
.zones__plan.is-merged .zp--arena { opacity: 0; filter: blur(6px); }
.zones__plan.is-merged .zp--arena.zp--a { transform: translateX(40%) scale(.9); }
.zones__plan.is-merged .zp--arena.zp--b { transform: translateX(-40%) scale(.9); }
.zones__plan.is-merged .zp--wall { opacity: 0; transform: scaleY(0); }
.zones__plan.is-merged .zp--mega { opacity: 1; transform: none; }
.zones__plan.is-merged .zp--lounge { filter: brightness(.8); }
/* переключатель */
.zones__merge { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 99px; border: 1.5px solid var(--line); background: rgba(255,255,255,.05); font: 800 15px var(--head); text-transform: uppercase; letter-spacing: .03em; }
.zones__merge i { position: relative; width: 46px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.15); transition: background .3s; }
.zones__merge i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s; }
.zones__merge[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); }
.zones__merge[aria-pressed="true"] i { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.zones__merge[aria-pressed="true"] i::after { transform: translateX(20px); }
@media (max-width: 640px) {
  .zones__plan { grid-template-rows: 150px 90px; gap: 8px; padding: 10px; }
  .zp b { font-size: 17px; } .zp span { font-size: 11px; }
  .zp--mega b { font-size: 22px; }
  .zones__merge { justify-self: stretch; justify-content: center; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .zp--arena::after, .zp--mega { animation: none; } }

/* ═════════ Карта: сразу, с меткой ═════════ */
.map { min-height: 420px; background: var(--card); }
.map::before { display: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pin { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 8px 12px; border-radius: 10px; background: var(--purple-d); color: #fff; font: 800 14px var(--head); text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 6px 20px rgba(0,0,0,.4); pointer-events: none; }
@media (max-width: 640px) { .map { min-height: 340px; } .map__pin { font-size: 12px; } }

/* ═════════ Появление при прокрутке ═════════ */
.rv-on { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms); }
.rv-on.rv-in { opacity: 1; transform: none; }
.sec .h2.rv-on { transform: translateY(28px) skewX(-6deg); }
.sec .h2.rv-in { transform: none; }
/* переливающаяся подчёркивающая линия под заголовками секций */
.sec .h2::after { content: ''; display: block; width: 72px; height: 5px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--cyan), var(--orange)); background-size: 300% 100%; animation: megaBorder 4s linear infinite; }
.sec--orange .h2::after { background: linear-gradient(90deg, var(--purple-d), var(--yellow), var(--purple), var(--purple-d)); background-size: 300% 100%; }
@media (prefers-reduced-motion: reduce) { .rv-on { opacity: 1; transform: none; transition: none; } .sec .h2::after { animation: none; } }
.formats--4 .fmt.rv-on { transition: opacity .7s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms), box-shadow .25s; }
.formats--4 .fmt.rv-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
@media (max-width: 900px) { .formats.formats--4 { grid-auto-flow: dense; } }

/* ═════════ Каталог: 7 категорий ═════════ */
.cats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cats .cat { min-height: 150px; padding: 18px; }
.cats .cat__title { font-size: 26px; }
@media (max-width: 1100px) and (min-width: 901px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .cats { display: flex; grid-template-columns: none; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .cats::-webkit-scrollbar { display: none; }
  .cats .cat { flex: none; min-height: 0; padding: 9px 14px; border-radius: 99px; scroll-snap-align: center; }
  .cats .cat__title { font-size: 14px; white-space: nowrap; }
}

/* ═════════ Конструктор праздника ═════════ */
.kons { background: radial-gradient(70% 50% at 80% 0%, rgba(255,47,180,.18), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(46,230,214,.12), transparent 70%), var(--ink); }
.kons__app { position: relative; padding: 22px; border-radius: 26px; background: rgba(255,255,255,.04); border: 2px solid transparent;
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(120deg, var(--orange), var(--yellow), var(--cyan), #ff2fb4, var(--orange)) border-box; background-size: 100% 100%, 300% 100%; animation: megaBorder 8s linear infinite;
  box-shadow: 0 30px 80px -30px rgba(148,43,201,.6); }
.kons__steps { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.kons__steps::-webkit-scrollbar { display: none; }
.kons__steps li { flex: 1 0 auto; }
.kons__steps button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: rgba(255,255,255,.04); font: 800 14px var(--head); text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.kons__steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 12px; color: #fff; }
.kons__steps button.done { color: #fff; }
.kons__steps button.done b { background: var(--cyan); color: var(--ink); }
.kons__steps button.on { color: var(--yellow); border-color: var(--yellow); background: rgba(255,228,0,.08); box-shadow: 0 0 18px -6px var(--yellow); }
.kons__steps button.on b { background: var(--yellow); color: var(--purple-d); }
.kons__steps button:disabled { opacity: .45; cursor: default; }
.kons__body { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.kons__panel--in { animation: infoIn .4s cubic-bezier(.2,.8,.2,1); }
.kons__q { margin: 0 0 6px; font: italic 900 32px/1.05 var(--head); }
.kons__hint { margin: 0 0 18px; color: var(--muted); }
.kons__label { margin: 18px 0 8px; font: 800 14px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kons__label b { color: var(--yellow); font-size: 18px; }
.kmode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kmode button, .kchips button { border: 1.5px solid var(--line); background: rgba(255,255,255,.04); border-radius: 14px; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.kmode button { display: grid; gap: 2px; padding: 14px 16px; }
.kmode b { font: italic 900 22px var(--head); }
.kmode small { color: var(--muted); }
.kmode button.on { border-color: var(--yellow); background: rgba(255,228,0,.08); box-shadow: 0 0 20px -8px var(--yellow); }
.kchips { display: flex; flex-wrap: wrap; gap: 8px; }
.kchips button { padding: 9px 14px; border-radius: 99px; font: 800 14px var(--head); text-transform: uppercase; }
.kchips button.on { background: var(--yellow); color: var(--purple-d); border-color: var(--yellow); }
.krange { width: 100%; accent-color: var(--yellow); height: 28px; }
.kons__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.kons__row label, .kform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.kons__row input, .kons__row select, .kform input { height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: #fff; font: 500 16px var(--body); }
.kopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.kopt { position: relative; display: grid; grid-template-rows: auto 1fr; padding: 0; border-radius: 16px; overflow: hidden; border: 2px solid var(--line); background: var(--card); text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.kopt:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.35); }
.kopt__img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.kopt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.kopt:hover .kopt__img img { transform: scale(1.06); }
.kopt__txt { display: grid; align-content: start; gap: 4px; padding: 12px 14px 14px; }
.kopt b { font: italic 900 20px/1.05 var(--head); }
.kopt small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.kopt em { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.08); font: 800 12px var(--head); font-style: normal; color: var(--cyan); }
.kopt__check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(20,3,31,.7); border: 2px solid rgba(255,255,255,.6); font-style: normal; font-weight: 900; color: #fff; transition: .2s; }
.kopt.on { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow), 0 0 30px -6px var(--yellow); }
.kopt.on .kopt__check { background: var(--yellow); border-color: var(--yellow); color: var(--purple-d); transform: scale(1.1); }
.kons__plan { position: sticky; top: 90px; padding: 18px; border-radius: 18px; background: rgba(20,3,31,.7); border: 1px solid var(--line); }
.kons__plan-h { margin: 0 0 12px; font: italic 900 22px var(--head); }
.kons__plan-h small { display: block; font: 500 13px var(--body); color: var(--muted); }
.ktl { list-style: none; margin: 0; padding: 0; position: relative; }
.ktl::before { content: ''; position: absolute; left: 52px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--orange), var(--yellow), var(--cyan)); opacity: .6; }
.ktl li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 7px 0; animation: infoIn .35s both; }
.ktl time { font: 800 15px var(--head); color: var(--yellow); text-align: right; }
.ktl li div { position: relative; }
.ktl li div::before { content: ''; position: absolute; left: -14px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid var(--yellow); }
.ktl b { display: block; font-weight: 700; font-size: 15px; }
.ktl small { color: var(--muted); font-size: 12.5px; }
.ktl__end b { color: var(--cyan); }
.kons__prep { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.kons__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.kons__nav .btn--hero { animation: none; background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 0 #8a2c06; }
.kons__nav .btn--hero:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.kons__mini { color: var(--muted); font-size: 14px; text-align: center; }
.kform { display: grid; gap: 12px; max-width: 520px; }
.kform .btn--hero { animation: none; background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 0 #8a2c06; justify-self: start; }
@media (max-width: 900px) {
  .kons__app { padding: 14px; border-radius: 20px; }
  .kons__body { grid-template-columns: 1fr; }
  .kons__plan { position: static; }
  .kons__steps span { display: none; }
  .kons__steps button.on span { display: inline; }
  .kons__steps li { flex: 0 0 auto; }
  .kons__q { font-size: 26px; }
  .kopts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kopt b { font-size: 16px; }
  .kopt small { font-size: 12px; }
  .kopt__txt { padding: 9px 10px 11px; }
  .kmode b { font-size: 18px; }
  .kons__nav { position: sticky; bottom: 72px; z-index: 5; margin: 18px -14px -14px; padding: 12px 14px; background: rgba(30,8,48,.96); border-radius: 0 0 20px 20px; }
  .kons__nav .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .kons__mini { font-size: 12px; }
}
@media (max-width: 330px) { .kopts { grid-template-columns: 1fr; } }
.tile--info .tile__play::before { content: '+'; border: 0; margin: 0; font: 900 24px/1 var(--head); color: #fff; }
.tile--info:hover .tile__play { background: var(--orange); }
.modal__media img { object-fit: cover; }
@media (max-width: 900px) { .kopt__img { aspect-ratio: 4/3; } .kopt small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

/* ═════════ Конструктор: редактируемый итог ═════════ */
.kons__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -14px 0 26px; color: var(--muted); font-size: 14px; }
.kons__contacts a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: #fff; }
.kons__contacts a:hover { border-color: var(--yellow); color: var(--yellow); }
.kquick { margin-top: 22px; padding: 0; border: 0; background: none; color: var(--yellow); font: 800 15px var(--head); text-transform: uppercase; letter-spacing: .03em; text-decoration: underline; text-underline-offset: 4px; }
.ksum { display: grid; gap: 2px; margin-bottom: 22px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.ksum__row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255,255,255,.03); }
.ksum__row:nth-child(odd) { background: rgba(255,255,255,.055); }
.ksum__k { font: 800 13px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ksum__v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.ksum__v select, .ksum__row--grid select, .ksum__row--grid input, .kadd input { height: 40px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: #fff; font: 500 15px var(--body); }
.ksum__v select { min-width: 220px; }
.ksum__row--grid { grid-template-columns: repeat(4, 1fr); }
.ksum__row--grid label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ksum__edit { justify-self: end; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: none; color: var(--yellow); font: 800 13px var(--head); text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.ksum__edit:hover { border-color: var(--yellow); }
.kchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--yellow) 14%, var(--ink)); border: 1.5px solid color-mix(in srgb, var(--yellow) 60%, transparent); font-weight: 600; font-size: 14px; animation: infoIn .3s both; }
.kchip button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 15px; line-height: 1; }
.kchip button:hover { background: var(--red); }
.kempty { color: var(--muted); font-size: 14px; font-style: italic; }
.kadd { display: inline-flex; gap: 6px; flex: 1 1 260px; }
.kadd input { flex: 1; min-width: 0; }
.kadd button { padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--cyan); background: none; color: var(--cyan); font: 800 13px var(--head); text-transform: uppercase; white-space: nowrap; }
.kadd button:hover { background: var(--cyan); color: var(--ink); }
.ktl__tbd b { color: var(--muted); font-style: italic; }
.ktoast { position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 12px; background: var(--yellow); color: var(--purple-d); font: 800 15px var(--head); text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; pointer-events: none; }
.ktoast.on { animation: toast 2.6s ease both; }
@keyframes toast { 10%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 10px); } }
.kform .kons__row { margin-top: 0; }
@media (max-width: 900px) {
  .ksum__row { grid-template-columns: 1fr auto; gap: 8px; }
  .ksum__k { grid-column: 1 / -1; }
  .ksum__v { grid-column: 1; }
  .ksum__row--grid { grid-template-columns: 1fr 1fr; }
  .ksum__v select { min-width: 0; width: 100%; }
  .kform .kons__row { grid-template-columns: 1fr; }
}
.kons__body > *, .ksum__row > *, .ksum__row--grid label { min-width: 0; }
.ksum__row--grid input, .ksum__row--grid select { width: 100%; }
.kform { min-width: 0; }
@media (max-width: 900px) { .kform .btn--hero { width: 100%; white-space: normal; text-align: center; line-height: 1.15; padding: 12px 16px; } }
@media (max-width: 900px) { .ksum__row > a.ksum__edit { grid-column: 1 / -1; justify-self: start; } .kadd { flex-basis: 100%; } }

/* ═════════ Конструктор v3: три пути и готовый набор ═════════ */
.kons__steps[hidden], .kons__plan[hidden] { display: none; }
.kons--noplan .kons__body { grid-template-columns: 1fr; }
.kpaths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.kpath { position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 20px; border-radius: 20px; border: 2px solid var(--line); background: rgba(255,255,255,.04); text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.kpath:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 0 0 30px -10px var(--yellow); }
.kpath span { font-size: 34px; line-height: 1; }
.kpath b { font: italic 900 26px/1.05 var(--head); }
.kpath small { color: var(--muted); font-size: 14px; }
.kpath em { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 8px; background: var(--yellow); color: var(--purple-d); font: 800 12px var(--head); font-style: normal; text-transform: uppercase; }
.kpath--hit { border-color: color-mix(in srgb, var(--yellow) 70%, transparent); background: linear-gradient(160deg, rgba(255,228,0,.12), rgba(255,255,255,.03)); }
.kpkg { margin-top: 22px; padding: 18px; border-radius: 20px; border: 2px solid var(--yellow); background: linear-gradient(160deg, rgba(255,228,0,.08), rgba(148,43,201,.12)); box-shadow: 0 0 40px -16px var(--yellow); animation: infoIn .4s both; }
.kpkg__tag { display: inline-block; padding: 3px 10px; border-radius: 8px; background: var(--yellow); color: var(--purple-d); font: 800 12px var(--head); text-transform: uppercase; }
.kpkg__head b { display: block; margin: 8px 0 2px; font: italic 900 30px/1.05 var(--head); }
.kpkg__head small { color: var(--muted); }
.kpkg__imgs { display: flex; gap: 8px; margin: 14px 0; }
.kpkg__imgs img { flex: 1; min-width: 0; height: 110px; object-fit: cover; border-radius: 12px; }
.kpkg__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.kpkg__list li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-weight: 600; }
.kpkg__list i { font-style: normal; font: 800 13px var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); padding-top: 2px; }
.kpkg__note { color: var(--cyan); }
.kpkg__note i { color: var(--cyan); }
.kpkg__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.kpkg__btns .btn--hero { animation: none; background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 0 #8a2c06; }
.kons__row--3 { grid-template-columns: 1.4fr 1fr .8fr; margin-bottom: 14px; }
.kons__row select { height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: #fff; font: 500 16px var(--body); }
@media (max-width: 900px) {
  .kpaths { grid-template-columns: 1fr; gap: 10px; }
  .kpath { grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 16px; }
  .kpath span { grid-row: span 2; font-size: 30px; }
  .kpath b { font-size: 21px; }
  .kpath em { top: 10px; right: 10px; font-size: 10px; }
  .kpkg__imgs img { height: 80px; }
  .kpkg__head b { font-size: 24px; }
  .kpkg__list li { grid-template-columns: 1fr; gap: 0; }
  .kpkg__btns .btn { flex: 1 1 100%; }
  .kons__row--3 { grid-template-columns: 1fr 1fr; }
  .kons__row--3 label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .kpath em { position: static; justify-self: start; grid-column: 2; margin-top: 4px; } }

/* ═════════ Конструктор v4 (ТЗ): блоки на одном экране ═════════ */
.kb-top { display: grid; grid-template-columns: 1.4fr 1fr .9fr 1fr .8fr; gap: 10px; }
.kb-top label { display: grid; gap: 5px; font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); min-width: 0; }
.kb-top select, .kb-top input { width: 100%; height: 46px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: #fff; font: 500 15px var(--body); }
.kb-num { display: grid; grid-template-columns: 38px 1fr 38px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.kb-num input { border: 0 !important; border-radius: 0 !important; text-align: center; -moz-appearance: textfield; }
.kb-num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.kb-num button { border: 0; background: rgba(255,255,255,.06); color: var(--yellow); font: 900 20px var(--head); }
.kb-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 6px; color: var(--muted); font-size: 14px; }
.kb-auto { padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--yellow); background: none; color: var(--yellow); font: 800 14px var(--head); text-transform: uppercase; }
.kb-auto:hover { background: var(--yellow); color: var(--purple-d); }
.kb-flow { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.kb-flow::before { content: ''; position: absolute; left: 60px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--orange), var(--yellow), var(--cyan), #ff2fb4); opacity: .55; }
.kb { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 6px 0; }
.kb-time { position: relative; padding-top: 16px; font: 800 15px var(--head); color: var(--yellow); text-align: right; }
.kb-time:not(:empty)::after { content: ''; position: absolute; right: -17px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid var(--yellow); }
.kb-card { min-width: 0; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.kb--open .kb-card { border-color: var(--yellow); box-shadow: 0 0 24px -10px var(--yellow); }
.kb--lounge .kb-card, .kb--congrats .kb-card { background: rgba(46,230,214,.06); border-style: dashed; border-color: rgba(46,230,214,.4); }
.kb--final .kb-card { border-color: rgba(255,47,180,.5); }
.kb-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kb-ico { font-size: 20px; }
.kb-head b { font: italic 900 21px/1.1 var(--head); }
.kb-head small { color: var(--muted); font-size: 13px; }
.kb-pick { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--yellow); background: var(--yellow); color: var(--purple-d); font: 800 14px var(--head); text-transform: uppercase; }
.kb-pick i { font-style: normal; }
.kb--open .kb-pick { background: none; color: var(--yellow); }
.kb-del { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: none; color: var(--muted); font-size: 18px; line-height: 1; }
.kb-del:hover { border-color: var(--red); color: #fff; background: var(--red); }
.kb-pick + .kb-del { margin-left: 0; }
.kb-head > .kb-del:only-of-type { margin-left: auto; }
.kb-note { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.kb-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.kb-main__cat { font: 800 12px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--cyan); }
.kb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kb-main .kb-chips { margin-top: 0; }
.kb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--yellow) 14%, var(--ink)); border: 1.5px solid color-mix(in srgb, var(--yellow) 60%, transparent); font-weight: 700; font-size: 14px; animation: infoIn .3s both; }
.kb-chip--fish { background: color-mix(in srgb, #ff2fb4 16%, var(--ink)); border-color: color-mix(in srgb, #ff2fb4 60%, transparent); }
.kb-i { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1.5px solid var(--cyan); background: none; color: var(--cyan); font: italic 900 13px/1 Georgia, serif; }
.kb-i:hover { background: var(--cyan); color: var(--ink); }
.kb-x { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 15px; line-height: 1; }
.kb-x:hover { background: var(--red); }
.kb-chips--fish { align-items: center; }
.kb-addfish { padding: 6px 12px; border-radius: 99px; border: 1.5px dashed #ff2fb4; background: none; color: #ff8fd6; font: 800 13px var(--head); text-transform: uppercase; }
.kb-addfish:hover { background: rgba(255,47,180,.15); }
.kb-picker, .kb-fish { margin-top: 12px; animation: infoIn .3s both; }
.kb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kb-list li { display: flex; align-items: center; gap: 8px; }
.kb-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid transparent; background: rgba(255,255,255,.05); color: #fff; text-align: left; font: 600 15px var(--body); }
.kb-row:hover { border-color: rgba(255,255,255,.25); }
.kb-row span { flex: 1; min-width: 0; }
.kb-row small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.kb-row.on { border-color: var(--yellow); background: rgba(255,228,0,.1); }
.kb-mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); font-style: normal; font-size: 13px; font-weight: 900; color: var(--purple-d); }
.kb-mark--sq { border-radius: 6px; }
.kb-row.on .kb-mark { background: var(--yellow); border-color: var(--yellow); }
.kb-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kb-cats > li { border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.kb-cats > li.open { border-color: rgba(255,228,0,.4); padding-bottom: 8px; }
.kb-cats > li > .kb-list { padding: 0 8px; }
.kb-cat { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; background: none; color: #fff; font: 800 16px var(--head); text-transform: uppercase; letter-spacing: .02em; text-align: left; }
.kb-cat span { flex: 1; }
.kb-cat small { padding: 1px 8px; border-radius: 99px; background: rgba(255,255,255,.1); font: 700 12px var(--body); color: var(--muted); }
.kb-cat i { font-style: normal; font-size: 20px; color: var(--yellow); width: 20px; text-align: center; }
.kb-fish { padding: 12px; border-radius: 14px; background: rgba(255,47,180,.08); border: 1.5px solid rgba(255,47,180,.45); }
.kb-fish__h { margin: 0 0 10px; font: 800 15px var(--head); text-transform: uppercase; color: #ff8fd6; }
.kb-fish__h small { font: 500 12px var(--body); text-transform: none; color: var(--muted); }
.kb-fish .kb-row.on { border-color: #ff2fb4; background: rgba(255,47,180,.12); }
.kb-fish .kb-row.on .kb-mark { background: #ff2fb4; border-color: #ff2fb4; color: #fff; }
.kb-done { margin-top: 10px; padding: 8px 16px; border-radius: 10px; border: 0; background: var(--cyan); color: var(--ink); font: 800 14px var(--head); text-transform: uppercase; }
.kb--add { padding: 4px 0; }
.kb-addblock { justify-self: start; padding: 12px 20px; border-radius: 14px; border: 2px dashed var(--yellow); background: rgba(255,228,0,.06); color: var(--yellow); font: 800 16px var(--head); text-transform: uppercase; }
.kb-addblock:hover { background: rgba(255,228,0,.14); }
.kb--end .kb-time { color: var(--cyan); }
.kb--end .kb-time::after { border-color: var(--cyan); }
.kb-endtxt { padding-top: 14px; font: 800 15px var(--head); text-transform: uppercase; color: var(--cyan); }
.kb-extras { margin-top: 24px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.kb-extras__h { margin: 0 0 10px; font: italic 900 20px var(--head); }
.kb-list--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kb-form { margin-top: 22px; max-width: 640px; }
/* окна */
.kdlg { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 24px; border: 0; border-radius: 22px; background: var(--ink-2); color: #fff; box-shadow: 0 40px 80px rgba(0,0,0,.6); overflow: auto; }
.kdlg::backdrop { background: rgba(10,0,18,.82); backdrop-filter: blur(4px); }
.kdlg[open] { animation: pop .25s; }
.kdlg h3 { margin: 0 0 16px; font: italic 900 28px var(--head); }
.kdlg__x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; line-height: 1; }
.kdlg__opts { display: grid; gap: 10px; }
.kdlg__opts button { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: rgba(255,255,255,.04); color: #fff; text-align: left; }
.kdlg__opts button:hover { border-color: var(--yellow); }
.kdlg__opts span { grid-row: span 2; font-size: 30px; }
.kdlg__opts b { font: italic 900 21px var(--head); }
.kdlg__opts small { color: var(--muted); }
.kpv { width: min(720px, calc(100% - 24px)); padding: 0; }
.kpv__media { position: relative; aspect-ratio: 16/9; background: #000; }
.kpv__media img, .kpv__media video, .kpv__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.kpv__media video, .kpv__media iframe { object-fit: contain; }
.kpv__body { padding: 18px 22px 22px; }
.kpv__cat { margin: 0 0 4px; font: 800 13px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.kpv h3 { margin: 0 0 6px; }
.kpv__min { display: inline-block; margin: 0 0 8px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.08); font: 800 12px var(--head); color: var(--cyan); }
.kpv__d { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.kpv__nav { display: flex; gap: 10px; align-items: center; }
.kpv__nav .btn { flex: 1; }
.kpv__nav .btn--hero { animation: none; background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 0 #8a2c06; }
.kpv__arrow { width: 50px; height: 50px; flex: none; border-radius: 12px; border: 2px solid var(--line); background: none; color: #fff; font-size: 22px; }
.kpv__arrow:hover { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 900px) {
  .kb-top { grid-template-columns: 1fr 1fr; }
  .kb-top label:first-child { grid-column: 1 / -1; }
  .kb-flow::before { left: 41px; }
  .kb { grid-template-columns: 38px 1fr; gap: 14px; }
  .kb-time { font-size: 13px; }
  .kb-time:not(:empty)::after { right: -10px; width: 8px; height: 8px; }
  .kb-card { padding: 10px 11px; }
  .kb-head b { font-size: 17px; }
  .kb-head small { display: none; }
  .kb-pick { padding: 7px 10px; font-size: 12px; }
  .kb-row { padding: 10px; font-size: 14px; }
  .kb-cat { font-size: 14px; padding: 11px 12px; }
  .kb-list--grid { grid-template-columns: 1fr; }
  .kdlg { padding: 18px; }
  .kpv { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .kpv__body { padding: 14px 16px 22px; }
}

/* каталог: все плитки одного размера */
.grid .tile--xl, .grid .tile--l { grid-column: span 1; grid-row: span 1; }
.grid .tile--xl .tile__title, .grid .tile--l .tile__title { font-size: 22px; }
@media (max-width: 640px) { .grid .tile--xl .tile__title, .grid .tile--l .tile__title { font-size: 18px; } }
.kb-chip, .kb-picker, .kb-fish { animation: none; }
