/* «Тайный гость» — выбор хинкальной (starikhinkalych.ru/secretGuest/).
   Оформление — детали черновиков нового сайта (siteCopy/new и franchise-new): фон #F9F7F5, бордовый #941B1B,
   жёлтый #FFB300, Polyplast для текста, BrogStarhin для заголовков, белые карточки с мягкой тенью, кнопки-пилюли,
   иконки Lucide, главная кнопка жёлтая со стрелкой, плитки мессенджеров и галочка-карточка — из окна заявки франшизы,
   строки хинкальных — из окна «Хинкальные», рисовашки в пустых местах — как в меню /new/.
   Страница во всю ширину окна до 2048 px (как франшиза): слева выбор и правила, справа данные гостя; уже 1180 — одна колонка.
   Брейкпоинты 1180 / 860 / 640 / 380. */

@font-face{font-family:'Polyplast';src:url(fonts/PolyplastVF.woff2) format('woff2');font-weight:100 1000;font-style:normal;font-display:swap}
@font-face{font-family:'BrogStarhin';src:url(fonts/BrogStarhinVF.woff2) format('woff2');font-weight:100 1000;font-style:normal;font-display:swap}

:root{
  --bg:#F9F7F5;--bg-alt:#F1ECE5;--bg-hover:#F4F0EA;--card:#FFFFFF;
  --ink:#1A1A1A;--ink-2:#4A403B;--muted:#6F6862;--faint:#9A918A;--on-dark:#FFFFFF;
  --line:#E7E1D8;--line-2:#D6CEC3;--art:#E7E0D7;--art-w:2.5px;
  --brand:#941B1B;--brand-hover:#AD1F1F;--brand-press:#7A1616;--brand-soft:#F7EAE8;--brand-soft-2:#F0D9D6;
  --gold:#FFB300;--gold-hover:#FFC233;--gold-soft:#FFF3D1;--gold-ink:#5C3F00;
  --r-card:24px;--r-big:32px;--r-ctl:14px;--pill:999px;
  --sh-card:0 1px 2px rgba(60,40,30,.05),0 8px 26px rgba(94,78,70,.08);
  --sh-hover:0 2px 6px rgba(60,40,30,.06),0 18px 40px rgba(94,78,70,.14);
  --sh-pop:0 24px 70px rgba(30,20,15,.28);
  --font-head:'BrogStarhin','Polyplast',Georgia,serif;
  --font:'Polyplast',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --wrap:1984px;--gutter:32px;--head-h:88px;--side-w:clamp(420px,30vw,600px);
  --ease:cubic-bezier(.2,.8,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--head-h) + 16px)}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;overflow-x:clip;background:var(--bg);color:var(--ink);
  font:400 16px/1.45 var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}
img{display:block;max-width:100%}
/* Картинки мышь не ловят, как на /new/: иначе Яндекс Браузер ставит над ними свою панель; нажатие достаётся кнопке вокруг. */
img{pointer-events:none;-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none}
button,input{touch-action:manipulation;font:inherit;color:inherit;letter-spacing:inherit}
button{cursor:pointer;background:none;border:0;padding:0;-webkit-tap-highlight-color:transparent}
a{color:inherit}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wrap{width:100%;max-width:calc(var(--wrap) + var(--gutter) * 2);margin:0 auto;padding:0 var(--gutter)}
.sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-64px;z-index:100;padding:10px 16px;border-radius:var(--pill);
  background:var(--ink);color:var(--on-dark);text-decoration:none;transition:top .15s ease}
.skip:focus{top:12px}

/* ---------- кнопки (как у черновиков) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:var(--pill);
  font-size:16px;font-weight:600;line-height:1.1;text-decoration:none;white-space:nowrap;
  transition:background-color .15s ease,color .15s ease,box-shadow .15s ease,transform .12s ease}
.btn:active{transform:scale(.97)}
/* Главная кнопка — жёлтая со стрелкой и мягким свечением, как «Подать заявку на франшизу». */
.btn--lead{gap:10px;background:var(--gold);color:var(--ink);font-weight:700;box-shadow:0 8px 22px rgba(230,150,0,.34)}
.btn--lead:hover{background:var(--gold-hover);box-shadow:0 12px 28px rgba(230,150,0,.42)}
.btn--lead:active{background:#F5AB00}
.btn--lead .ic{width:20px;height:20px;stroke-width:2.3;transition:transform .2s var(--ease)}
.btn--lead:hover .ic{transform:translateX(3px)}
.btn[disabled]{background:var(--bg-alt);color:var(--faint);cursor:not-allowed;transform:none;box-shadow:none}
.btn[disabled] .ic{transform:none}
.btn--big{min-height:62px;padding:0 30px 0 34px;font-size:18px}
.linkish{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:var(--brand);font-size:15px;font-weight:600;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.linkish:hover{color:var(--brand-hover)}
.linkish[disabled]{color:var(--faint);cursor:wait}

/* ---------- шапка: прилипает к верху, под ней стеклянная подложка ---------- */
.head-sentinel{height:1px;margin-bottom:-1px}
.head{position:sticky;top:0;z-index:30;transition:background-color .2s ease,box-shadow .2s ease}
.head.is-stuck{background:rgba(249,247,245,.92);-webkit-backdrop-filter:saturate(1.4) blur(16px);backdrop-filter:saturate(1.4) blur(16px);
  box-shadow:0 1px 0 var(--line),0 8px 24px rgba(94,78,70,.08)}
.head__in{display:flex;align-items:center;gap:20px;min-height:var(--head-h)}
.logo{display:block;flex:none;border-radius:12px}
.logo img{width:auto;height:64px}
.head__name{padding-left:20px;border-left:1px solid var(--line-2);font:500 24px/1.1 var(--font-head);color:var(--ink-2);white-space:nowrap}

/* ---------- раскладка: слева выбор и правила, справа что сделать и данные гостя ---------- */
.page{flex:1;padding-top:20px;padding-bottom:calc(72px + env(safe-area-inset-bottom))}
/* Колонки кончаются вровень: обе тянутся на высоту ряда, свободное место в карточках занимает рисунок (.art).
   Ширина правой колонки подобрана так, чтобы у городов с одной-двумя хинкальными (их большинство) колонки почти совпадали
   по высоте (Титов, 28.10.2026: «очень много пустого пространства»). С длинными условиями участия от 28.10 левая стала
   выше, поэтому правая уже (до 600): правила получают больше ширины, а сама правая — чуть выше. */
.layout{display:grid;grid-template-columns:minmax(0,1fr) var(--side-w);gap:32px 40px}
.kick{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand)}

/* выбор */
.choose{display:flex;flex-direction:column;min-width:0;container-type:inline-size;container-name:choose;outline:none}
.choose__top{padding-top:8px}
.choose h1{margin-top:12px;font:500 62px/1.02 var(--font-head);letter-spacing:-.005em;text-wrap:balance}
.city{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:32px}
.city__label{font-size:15px;font-weight:600;color:var(--ink-2)}
/* Поле города — пилюля, как поиск на /new/, с кружком-меткой, как у выбора хинкальной в шапке /new/. */
.city__btn{display:flex;align-items:center;gap:12px;width:min(100%,440px);min-height:60px;padding:8px 18px 8px 8px;border-radius:var(--pill);
  background:var(--card);box-shadow:inset 0 0 0 1px var(--line),var(--sh-card);text-align:left;
  transition:box-shadow .15s ease,background-color .15s ease}
.city__btn:hover{box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-card)}
.city__btn[aria-expanded="true"]{box-shadow:inset 0 0 0 1.5px var(--brand),var(--sh-card)}
.city__pin{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--brand-soft);color:var(--brand)}
.city__val{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:600}
.city__btn.is-empty .city__val{font-weight:400;color:var(--muted)}
.city__chev{color:var(--muted);transition:transform .2s var(--ease)}
.city__btn[aria-expanded="true"] .city__chev{transform:rotate(180deg)}
.city__count{font-size:14.5px;color:var(--muted)}

/* Формат участия (09.11.2026): пилюля-переключатель над городом, выбранный — как сегменты «О себе». */
.fmt{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:32px}
.fmt+.city{margin-top:24px}
.fmt__label{font-size:15px;font-weight:600;color:var(--ink-2)}
.fmt__seg{display:flex;gap:4px;width:min(100%,560px);padding:5px;border-radius:var(--pill);
  background:var(--card);box-shadow:inset 0 0 0 1px var(--line),var(--sh-card)}
.fmt__seg button{flex:1 1 0;min-width:0;min-height:50px;padding:6px 12px;border-radius:var(--pill);
  font-size:16px;font-weight:600;line-height:1.2;color:var(--ink-2);text-align:center;text-wrap:balance;
  transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}
.fmt__seg button:hover{background:var(--bg-hover)}
.fmt__seg button[aria-checked="true"]{background:var(--brand-soft);color:var(--brand);box-shadow:inset 0 0 0 2px var(--brand)}
/* Узкая колонка (телефон): в строку три варианта не помещаются, «Тайная доставка» переносилась — столбиком. */
@container choose (max-width:439px){
  .fmt__seg{flex-direction:column;gap:2px;border-radius:24px}
  .fmt__seg button{flex:none;width:100%;min-height:46px;border-radius:19px}
}
/* «Что нужно сделать» для «и то, и другое» — два списка с подзаголовками. */
.tasks__sub{margin-top:20px}
.tasks+.tasks .tasks__sub{margin-top:28px}

/* хинкальные: карточки-переключатели, как строки окна «Хинкальные» на /new/. Не больше трёх в ряд: у большинства
   городов одна-две свободные, и с «Любой хинкальной» они как раз занимают один полный ряд. */
.pts{--cols:1;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:16px;margin-top:24px}
@container choose (min-width:460px){.pts{--cols:2}}
@container choose (min-width:860px){.pts{--cols:3}}
.pt{position:relative;display:flex;align-items:center;gap:14px;min-width:0;min-height:92px;padding:16px 18px 16px 14px;border-radius:22px;
  background:var(--card);box-shadow:var(--sh-card);cursor:pointer;
  transition:transform .2s var(--ease),box-shadow .2s ease,background-color .15s ease}
.pt input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
@media (hover:hover){.pt:hover{transform:translateY(-2px);box-shadow:var(--sh-hover)}}
.pt:active{transform:scale(.99)}
.pt:has(input:checked){background:var(--brand-soft);box-shadow:inset 0 0 0 2px var(--brand),var(--sh-card)}
.pt:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:3px}
.pt__mark{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--brand-soft);color:var(--brand);
  transition:background-color .15s ease,color .15s ease}
.pt__mark .ic{width:19px;height:19px}
.pt__mark .ic+.ic,.pt:has(input:checked) .pt__mark .ic:first-child{display:none}
.pt:has(input:checked) .pt__mark{background:var(--brand);color:#fff}
.pt:has(input:checked) .pt__mark .ic+.ic{display:block;stroke-width:2.6}
.pt__txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.pt__name{font-size:16.5px;font-weight:600;line-height:1.25;text-wrap:pretty}
.pt__addr{font-size:14px;line-height:1.35;color:var(--muted)}
/* Городской вариант — такая же ячейка в общем ряду, а не полоса во всю ширину (Титов, 28.10.2026: «можно же такое в одну
   строку делать?»); подпись переносится, соседи по ряду тянутся до его высоты. Значок города вместо булавки. */
.pt--any .pt__mark{background:var(--gold-soft);color:var(--gold-ink)}
.pt--any:has(input:checked) .pt__mark{background:var(--brand);color:var(--on-dark)}
/* Пока город не выбран, пояснение высотой с ряд карточек: выбор города не сдвигает правила под списком. */
.pts__empty{grid-column:1/-1;display:flex;align-items:center;min-height:92px;padding:20px 24px;border-radius:22px;background:var(--bg-alt);
  color:var(--ink-2);font-size:16px;line-height:1.45}
/* Занятая хинкальная: серая плашка без тени и отклика, после свободных; выбрать нельзя (Титов, 27.10.2026). */
.pt--off{background:var(--bg-alt);box-shadow:inset 0 0 0 1px var(--line);cursor:default}
@media (hover:hover){.pt--off:hover{transform:none;box-shadow:inset 0 0 0 1px var(--line)}}
.pt--off:active{transform:none}
.pt--off .pt__mark{background:var(--line);color:var(--muted)}
.pt--off .pt__name{color:var(--muted)}
.pt__off{margin-top:3px;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--ink-2)}
/* Свободный низ карточки, которую дотянули до низа соседней колонки, — чуть заметные рисовашки, как в меню /new/
   (Титов, 06.10.2026): от одного до трёх, крупные, раскладка случайная на заход; место меньше 240×180 — без рисунка.
   Ряды хинкальных низкие, поэтому пустые места в последнем ряду не заполняем: рисунки там вышли бы мелкими. */
.art{position:relative;flex:1 1 auto;min-width:0;min-height:0;color:var(--art);pointer-events:none}
.art svg{position:absolute;inset:0;width:100%;height:100%;stroke-width:var(--art-w)}

/* Правила под списком и карточка справа — белые, как у франшизы. Низ у них общий (Титов, 28.10.2026: «чтобы он
   обрывался там же, где заканчивается… левого блока»): правая карточка тянется на высоту ряда, правила — до низа
   своей колонки. Поэтому правая больше не прилипает к окну при прокрутке. */
.terms,.cond{display:flex;flex-direction:column;min-width:0;padding:32px;border-radius:var(--r-big);background:var(--card);box-shadow:var(--sh-card)}
.terms{flex:1 0 auto;margin-top:40px;container-type:inline-size;container-name:terms}
.cond{container-type:inline-size;container-name:cond}
.terms h2{margin-top:10px;font:500 40px/1.06 var(--font-head);text-wrap:balance}
.cond__title{font:500 32px/1.06 var(--font-head);text-wrap:balance}
.cond__lead{margin-top:14px;font-size:16px;line-height:1.5;color:var(--ink-2)}
.cond__sub{margin-top:24px;font-size:18px;font-weight:700;line-height:1.3}
.cond__list{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:16px}
.cond__list li{display:flex;align-items:flex-start;gap:14px}
.cond__ic{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:var(--brand-soft);color:var(--brand)}
.cond__ic .ic{width:22px;height:22px;stroke-width:1.7}
.cond__list p{padding-top:1px;font-size:15.5px;line-height:1.45;color:var(--ink-2)}
.cond__list b{display:block;margin-bottom:2px;font-size:17px;font-weight:700;color:var(--ink)}
.note{display:flex;align-items:flex-start;gap:10px;margin-top:24px;padding:12px 14px;border-radius:var(--r-ctl);background:var(--bg-alt);
  color:var(--ink-2);font-size:14.5px;line-height:1.4}
.note .ic{width:18px;height:18px;margin-top:1px;color:var(--muted)}
/* Правила API — обычный текст, без разметки из ответа; у правила с заголовком он жирной строкой над текстом, как в
   «Что нужно сделать» (условия участия от Титова, 28.10.2026). Номер — счётчик CSS в плашке, как значки «Что нужно сделать».
   В широкой карточке правила в две колонки: одной колонкой занята только левая половина карточки (Титов, 28.10.2026:
   «очень много пустого пространства»). Колонки газетные (сверху вниз, правило не рвётся): правила разной длины, и ряды
   сетки оставляли бы дыры под короткими. Поля повторяют поиск города и карточки согласия. */
.rules{display:grid;grid-template-columns:minmax(0,1fr);gap:20px 32px;margin-top:18px;counter-reset:rule;
  color:var(--ink-2);font-size:15.5px;line-height:1.45;overflow-wrap:anywhere}
.rules li{position:relative;min-height:44px;padding:11px 0 0 58px}
.rules__title{display:block;margin-bottom:4px;font-size:17px;font-weight:700;line-height:1.3;color:var(--ink);overflow-wrap:normal}
.rules li::before{counter-increment:rule;content:counter(rule);position:absolute;left:0;top:0;display:grid;place-items:center;width:44px;height:44px;
  border-radius:14px;background:var(--brand-soft);color:var(--brand);font-size:17px;font-weight:700;line-height:1}
@container terms (min-width:760px){
  .rules{display:block;columns:2;column-gap:32px}
  .rules li{break-inside:avoid;margin-bottom:20px}
  .rules li:last-child{margin-bottom:0}
}
/* Справа «Что нужно сделать» над данными гостя; части разделены линией, как согласие ниже. */
.cond__form{margin-top:28px;padding-top:28px;border-top:1px solid var(--line)}
@container cond (min-width:700px){
  .cond__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px}
}
.profile__known{margin-top:14px;color:var(--ink-2);font-size:16px;line-height:1.45}
.profile__fields{display:flex;flex-direction:column;gap:18px;margin-top:16px}
.profile__fields:empty{display:none}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field__label{font-size:15px;font-weight:600;color:var(--ink-2)}
.field__input{width:100%;min-height:48px;padding:12px 16px;border:0;border-radius:var(--r-ctl);background:var(--bg);
  box-shadow:inset 0 0 0 1px var(--line);font-size:16px;line-height:1.4;appearance:none;
  transition:box-shadow .15s ease,background-color .15s ease}
.field__input:focus-visible{outline:2px solid var(--brand);outline-offset:2px;background:var(--card)}
.field__input[aria-invalid="true"]{box-shadow:inset 0 0 0 1.5px var(--brand)}
.field__error{font-size:13.5px;line-height:1.4;color:var(--brand)}
.segments{display:flex;flex-wrap:wrap;gap:6px}
.segments button{flex:1 0 auto;min-height:44px;padding:10px 9px;border-radius:var(--r-ctl);background:var(--bg);
  box-shadow:inset 0 0 0 1px var(--line);font-size:16px;font-weight:600;line-height:1.3;
  transition:box-shadow .15s ease,background-color .15s ease}
.segments button:hover{background:var(--bg-hover);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.segments button[aria-checked="true"]{background:var(--brand-soft);color:var(--brand);box-shadow:inset 0 0 0 2px var(--brand)}
.agree__policy{display:inline-flex;align-items:center;min-height:44px;align-self:flex-start;color:var(--muted);font-size:13.5px;line-height:1.45;text-underline-offset:3px}
.agree__policy:hover{color:var(--brand)}
.agree{display:flex;flex-direction:column;gap:10px;margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.agree .btn{width:100%}
/* Согласие — галочка-карточка, как ответы в окне заявки франшизы. */
.opt{position:relative;display:flex;align-items:center;gap:14px;min-height:60px;padding:14px 18px;border-radius:18px;background:var(--card);
  box-shadow:inset 0 0 0 1.5px var(--line);font-size:16px;line-height:1.35;cursor:pointer;
  transition:box-shadow .15s ease,background-color .15s ease,transform .12s ease}
.opt input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.opt:hover{box-shadow:inset 0 0 0 1.5px var(--line-2);background:var(--bg-hover)}
.opt:active{transform:scale(.99)}
.opt:has(input:checked){box-shadow:inset 0 0 0 2px var(--brand);background:var(--brand-soft)}
.opt:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
.opt__box{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;box-shadow:inset 0 0 0 2px var(--line-2);color:#fff;
  transition:background-color .15s ease,box-shadow .15s ease}
.opt__box .ic{width:16px;height:16px;stroke-width:3;opacity:0;transition:opacity .12s ease}
.opt:has(input:checked) .opt__box{background:var(--brand);box-shadow:none}
.opt:has(input:checked) .opt__box .ic{opacity:1}
.err{padding:12px 16px;border-radius:14px;background:var(--brand-soft);color:var(--brand);font-weight:600;line-height:1.4}
.hints{display:flex;flex-direction:column;gap:4px;font-size:13.5px;line-height:1.45;color:var(--muted)}
/* На компьютере правая карточка плотнее: «Что нужно сделать» в две колонки, имя и возраст в строку, две галочки рядом.
   Стоит после стилей формы, иначе они перебивают. Если левая колонка всё же длиннее (большой город), свободное место —
   под «Что нужно сделать», там и рисунок, а данные гостя с кнопкой остаются вместе внизу. */
@media (min-width:1181px){
  .cond__tasks{display:flex;flex-direction:column;flex:1 0 auto}
  @container cond (min-width:460px){
    .profile__fields{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:18px 16px}
    .profile__fields>.field:nth-child(3){grid-column:1/-1}
  }
  @container cond (min-width:520px){
    .agree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
    .agree>:not(.opt){grid-column:1/-1}
    .agree__policy{justify-self:start}
  }
  @container cond (min-width:600px){
    .cond__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
  }
}

/* ---------- после выбора: переход в бот (как «Спасибо» и выбор мессенджера в заявке франшизы) ---------- */
.handoff{display:flex;flex-direction:column;align-items:center;max-width:760px;margin:12px auto 0;padding:44px 40px 36px;border-radius:var(--r-big);
  background:var(--card);box-shadow:var(--sh-card);text-align:center;outline:none}
.handoff .err{margin-top:16px}
.done__ok{display:grid;place-items:center;width:84px;height:84px;margin-bottom:20px;border-radius:50%;background:var(--brand-soft);color:var(--brand);
  animation:ok-in .5s var(--ease)}
.done__ok .ic{width:40px;height:40px;stroke-width:2.4}
@keyframes ok-in{from{transform:scale(.6);opacity:0}}
.handoff h1{font:500 40px/1.1 var(--font-head);text-wrap:balance}
.place{display:flex;align-items:center;gap:14px;width:min(100%,560px);margin-top:22px;padding:16px 20px 16px 16px;border-radius:22px;
  background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);text-align:left}
.place__mark{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--brand);color:#fff}
.place__txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.place b{font-size:18px;font-weight:700;line-height:1.25}
.place span span,.place__txt>span{font-size:15px;color:var(--muted)}
.done__txt{max-width:34em;margin-top:20px;font-size:17px;line-height:1.5;color:var(--ink-2)}
.countdown{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.msgr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,560px);margin-top:26px}
.msgr__i{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:156px;
  padding:24px 16px 20px;border-radius:22px;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink);
  font-size:18px;font-weight:700;line-height:1.2;text-decoration:none;transition:box-shadow .15s ease,background-color .15s ease,transform .12s ease}
.msgr__i img{width:64px;height:64px}
a.msgr__i:hover{box-shadow:inset 0 0 0 2px var(--brand);background:var(--brand-soft)}
a.msgr__i:active{transform:scale(.98)}
.msgr__i.is-off{background:var(--bg);color:var(--faint);cursor:default}
.msgr__i.is-off img{filter:grayscale(1);opacity:.4}
.msgr__n{display:inline-flex;align-items:center;gap:8px}
.msgr__soon{padding:3px 9px;border-radius:var(--pill);background:var(--bg-alt);color:var(--muted);font-size:12.5px;font-weight:700}
.msgr__go{position:absolute;top:16px;right:16px;width:18px;height:18px;color:var(--faint);transition:color .15s ease}
a.msgr__i:hover .msgr__go{color:var(--brand)}
.msgr__none{grid-column:1/-1}
.handoff .linkish{margin-top:18px}

/* ---------- список городов: окошко у поля, вынесено в body ---------- */
.dd{position:fixed;z-index:100;display:flex;flex-direction:column;padding:10px;border-radius:20px;background:var(--card);box-shadow:var(--sh-pop);
  animation:dd-in .18s var(--ease)}
@keyframes dd-in{from{opacity:0;transform:translateY(-6px)}}
.dd.is-up{animation-name:dd-up}
@keyframes dd-up{from{opacity:0;transform:translateY(6px)}}
.dd__find{position:relative;display:flex;align-items:center;flex:none}
.dd__find>.ic{position:absolute;left:16px;color:var(--muted);pointer-events:none}
.dd__find input{width:100%;height:48px;padding:0 44px 0 46px;border:0;border-radius:var(--pill);background:var(--bg);
  box-shadow:inset 0 0 0 1px var(--line);font-size:16px;outline:none;-webkit-appearance:none;appearance:none;transition:box-shadow .15s ease,background-color .15s ease}
.dd__find input::placeholder{color:var(--muted);opacity:1}
.dd__find input:focus{background:var(--card);box-shadow:inset 0 0 0 1.5px var(--brand),0 0 0 4px var(--brand-soft)}
.dd__find input::-webkit-search-cancel-button{display:none}
.dd__x{position:absolute;right:2px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--muted)}
.dd__x:hover{background:var(--bg-hover);color:var(--ink)}
.dd__list{flex:1;min-height:0;margin-top:6px;padding:2px;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}
.dd__list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;border-radius:12px;
  text-align:left;font-size:16px;line-height:1.25;transition:background-color .12s ease,color .12s ease}
.dd__list button:hover,.dd__list button:focus-visible{background:var(--bg-hover);outline:none}
.dd__list button[aria-selected="true"]{background:var(--brand-soft);color:var(--brand);font-weight:600}
.dd__n{flex:none;min-width:28px;padding:1px 8px;border-radius:var(--pill);background:var(--bg-alt);color:var(--muted);
  font-size:13px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}
.dd__list button[aria-selected="true"] .dd__n{background:#fff;color:var(--brand)}
.dd__none{padding:14px 12px;color:var(--muted)}

/* ---------- ноутбук и планшет: выбор и правила, затем что сделать и данные гостя ---------- */
@media (max-width:1180px){
  :root{--gutter:24px}
  .layout{grid-template-columns:minmax(0,1fr);gap:48px}
  .choose h1{font-size:54px}
  .art{display:none}
  .cond{padding:36px}
  .cond__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
  .cond__form .agree{margin-top:0;padding-top:0;border-top:0;padding-left:32px;border-left:1px solid var(--line)}
}
@media (max-width:860px){
  :root{--gutter:20px}
  .head{position:static}
  .head.is-stuck{background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html{scroll-padding-top:16px}
  .cond{padding:30px 28px}
  .cond__form{display:block}
  .cond__form .agree{margin-top:24px;padding-top:24px;border-top:1px solid var(--line);padding-left:0;border-left:0}
}

/* ---------- телефон ---------- */
@media (max-width:640px){
  :root{--gutter:16px;--head-h:72px}
  .head__in{gap:14px}
  .logo img{height:48px}
  .head__name{padding-left:14px;font-size:19px}
  .page{padding-top:8px;padding-bottom:calc(48px + env(safe-area-inset-bottom))}
  .layout{gap:32px}
  .choose h1{margin-top:10px;font-size:40px}
  .city{margin-top:24px}
  .fmt{margin-top:24px}
  .fmt+.city{margin-top:20px}
  .fmt__seg{width:100%}
  .city__btn{width:100%;min-height:58px}
  .pts{gap:12px;margin-top:18px}
  .pt{min-height:80px;padding:14px 16px 14px 12px;border-radius:20px}
  .terms,.cond{padding:26px 20px 22px;border-radius:28px}
  .terms h2{font-size:34px}
  .cond__title{font-size:28px}
  .cond__list{grid-template-columns:minmax(0,1fr);gap:18px}
  .agree .btn{width:100%}
  .btn--big{min-height:58px;font-size:17px}
  .handoff{margin-top:4px;padding:32px 20px 24px;border-radius:28px}
  .done__ok{width:72px;height:72px;margin-bottom:16px}
  .done__ok .ic{width:34px;height:34px}
  .handoff h1{font-size:32px}
  .done__txt{font-size:16px}
  .msgr{gap:10px}
  .msgr__i{min-height:132px;padding:20px 10px 16px;font-size:16px}
  .msgr__i img{width:56px;height:56px}
}
@media (max-width:380px){
  .head__name{font-size:17px}
  .choose h1{font-size:34px}
  .terms h2{font-size:30px}
  .handoff h1{font-size:28px}
  .msgr{grid-template-columns:minmax(0,1fr)}
  .msgr__i{min-height:0;flex-direction:row;justify-content:flex-start;padding:14px 16px}
  .msgr__i img{width:44px;height:44px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
