/* Одна страница события на все типы (её макеты «Событие — один шаблон для всех типов», 17.11.2026).
   Семь зон в одном порядке: навигация → шапка → обложка + паспорт (Когда · Где · Сколько · одна кнопка) → «Коротко»
   (2–4 факта) → главный блок типа → рассказ → как сходить → ещё → «Сверено» и соседи по списку.
   Тип меняет только содержимое паспорта (когда / где / билет) и главный блок; зона без данных исчезает целиком.
   Крупное лёгкое — только числа; слово-состояние («Распродано», «Прошло») — строкой. Один знак «выбрано» — фиолетовая
   черта сверху. Цвета и отступы — сайта (styles.css: --txt, --mut, --s1…, .wrap, .ax). Префикс ue-. */
:root { --ue-rule: rgba(var(--ink), .1); --ue-red: #C8303F; }
:root.dark { --ue-red: #FF6B75; }

.ue { position: relative; padding-bottom: 8px; }
.ue-wash { position: absolute; left: 0; right: 0; top: 0; height: 560px; overflow: hidden; pointer-events: none; z-index: -1; }
.ue-wash img { width: 100%; height: 100%; object-fit: cover; filter: blur(90px) saturate(1.2); opacity: .14; transform: scale(1.2); }
.ue-wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, var(--bg)); }

/* ① откуда пришёл: назад — в тот же список, с его фильтрами; соседи по списку */
.ue-ctx { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; min-height: 34px; }
.ue-ret { display: inline-flex; align-items: center; gap: 10px; row-gap: 6px; flex-wrap: wrap; font-size: 15px; color: var(--txt); min-width: 0; }
.ue-ret i { font-style: normal; color: var(--mut); transition: transform .2s; }
.ue-ret:hover i { transform: translateX(-3px); color: var(--txt); }
.ue-ret b { font-weight: 500; }
.ue-ret span { font-size: 13px; padding: 4px 10px; border-radius: 13px; background: var(--s3); white-space: nowrap; }
.ue-step { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.ue-step a { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ue-rule); display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--txt); transition: box-shadow .2s, background .2s; }
.ue-step a:hover { background: var(--s3); }
.ue-step a[aria-disabled] { color: var(--faint); pointer-events: none; }
.ue-step em { font-style: normal; font-size: 14px; color: var(--mut); min-width: 52px; text-align: center; }

/* ② шапка */
.ue-kind { font-size: 15px; color: var(--mut); margin-top: 28px; }
.ue-kind span + span::before { content: " · "; }
.ue-head h1 { font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 8px 0 0; max-width: 1000px; text-wrap: balance; }
/* под названием — только первое предложение описания (places.js data-pl-first отделяет остальное в <small>) */
.ue-head .ue-lead[data-pl-first] + small { display: none; }
.ue-orig { font-size: 17px; color: var(--mut); margin-top: 8px; }
.ue-lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.38; color: var(--mut); margin-top: 14px; max-width: 780px; text-wrap: pretty; }

/* обложка и рассказ — слева, паспорт справа и едет с прокруткой; на планшете и телефоне паспорт встаёт сразу под обложку */
/* как в её любимой секции 7 («Событие по типам»): картинка — небольшая, в правой колонке над паспортом; слева сразу
   «Коротко», главный блок и рассказ — первый экран отвечает, а не показывает одну картинку (её слово 18.11) */
.ue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 384px; grid-template-areas: "main art" "main tk"; grid-template-rows: auto 1fr; column-gap: 56px; margin-top: 28px; align-items: start; }
/* фон-свечение макета секции 7 лежит под текстом (в макете он был вне main; здесь — внутри, поэтому ниже нуля) */
/* фон-свечение убрано (её слово 18.11: «заливка битая и явно сломанная») — страница на ровном фоне сайта */
.et > .et-wash, .ue > .ue-wash { display: none; }
/* картинка справа вровень с видом события: сетка начинается сразу под «← назад» (event.js переносит вид и название) */
.ue-grid.ue-top, .ue-sp-grid.ue-top { margin-top: 20px; }
.ue-top .ue-main > .ue-kind:first-child, .ue-top .et-main > .ue-kind:first-child { margin-top: 0; }
.et [data-off] { display: none !important; }
.et-acts { flex-wrap: wrap; row-gap: 8px; }
.et-acts button { white-space: nowrap; }
@media (max-width: 1100px) { .et-acts { gap: 16px; font-size: 14px; } }
/* ось месяца, когда ей тесно — строками, как в телефонном кадре макета секции 7 */
.et-axis.et-list { padding-top: 0; }
.et-axis.et-list .et-mon, .et-axis.et-list .et-ticks { display: none; }
.et-axis.et-list .et-mks { display: flex; flex-direction: column; }
.et-axis.et-list .et-mk { min-height: 0; display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--et-line); }
.et-axis.et-list .et-mk::before { content: attr(data-d); grid-row: 1 / 4; font: 200 40px/.9 var(--et-sans); letter-spacing: -.04em; }
.et-axis.et-list .et-mk.et-here { box-shadow: inset 0 2px 0 var(--acc); }
.et-axis.et-list .et-mk.et-here::before { color: var(--acc); }
.ue-lwhen { display: none; }
@media (min-width: 1101px) {
  .ue-split .ue-grid .ue-tk .ue-c1, .ue-split .ue-grid .ue-tk .ue-c2 { display: none; }
  .ue-split .ue-grid .ue-tk .ue-c3 > :first-child, .ue-split .ue-grid .ue-tk .ue-c3 > div > :first-child { margin-top: 0; }
  .ue-lwhen { display: block; margin-bottom: 28px; }
  .ue-lwhen .ue-when > b { font-size: 112px; line-height: .78; }
  .ue-lwhen .ue-when.stack > b { font-size: 96px; }
  .ue-lwhen .ue-when p span:first-child { font-size: 20px; }
  .ue-lwhen .ue-when p span + span { font-size: 17px; }
  .ue-lwhere { display: flex; gap: 10px; margin-top: 18px; font-size: 17px; color: var(--txt); }
  .ue-lwhere span { color: var(--mut); }
  .ue-lwhere b { font-weight: 500; }
  a.ue-lwhere:hover b { text-decoration: underline; text-underline-offset: 3px; }
  .ue-cover .ue-art { height: auto; aspect-ratio: 16 / 10; }
  .ue-grid .ue-tk { margin-top: 14px; }
  .ue-main > .ue-facts:first-child { margin-top: 0; }
}
.ue-cover { grid-area: art; min-width: 0; }
.ue-grid .ue-tk { grid-area: tk; align-self: start; }
.ue-main { grid-area: main; min-width: 0; }
/* Одно правило правой колонки на все события (её слово 18.11: «мы за консистентность»): картинка и паспорт — один
   блок, и он прилипает ПОД шапкой сайта, а не заезжает под неё. Русские (.et-ticket), спорт, развлечения,
   фестивали, «Чем заняться» (.ue-side) — одна высота отступа. На низком экране блок выше окна — тогда он
   просто едет со страницей, иначе кнопка «Купить» пряталась бы под нижним краем. */
:root { --ue-stick: calc(var(--top-h, 65px) + 20px); }
.ue-side { grid-area: art; min-width: 0; align-self: start; }
.ue-side .ue-tk { position: static; }
main.et .et-ticket, main .ue-sp-grid .et-ticket { position: static; top: auto; }
@media (min-width: 1101px) and (min-height: 760px) {
  .ue-grid > .ue-side, main.et .et-ticket, main .ue-sp-grid .et-ticket, main .x3-tk-out { position: sticky; top: var(--ue-stick); }
}
@media (max-width: 1100px) { .ue-side { display: contents; } }

/* обложка: одна рама 16:9 — фото на всю раму, афиша целиком на своём свечении */
/* первый экран (её слово 18.11 «огромная растянутая картинка и буквально всё»): обложка не выше ~45% экрана, чтобы под ней
   были видны «Коротко», а паспорт — рядом (компьютер) или сразу под названием (планшет, телефон) */
.ue-art { position: relative; width: 100%; aspect-ratio: auto; height: clamp(240px, 44vh, 440px); border-radius: 18px; overflow: hidden; background: var(--s2); }
.ue-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ue-art.poster .glow { position: absolute; inset: 0; filter: blur(48px) saturate(1.3); opacity: .7; transform: scale(1.3); }
.ue-art.poster .pst { position: relative; object-fit: contain; padding: 22px 0; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .4)); }
/* широкая картинка (фото, а не вертикальная афиша) — на всю раму, как в макете; event.js ставит .wide по её размерам */
.ue-art.wide .glow { display: none; }
.ue-art.wide .pst { object-fit: cover; padding: 0; filter: none; }

/* ④ «Месяц по-русски»: события месяца на одной оси, это событие отмечено (event.js собирает из списка) */
.ue-axis { display: grid; row-gap: 12px; }
.ue-axis .tk { font-size: 12px; color: var(--faint); padding: 6px 0 0 6px; border-left: 1px solid var(--ue-rule); height: 28px; grid-row: 1; }
.ue-axis .tk.has { color: var(--txt); font-weight: 500; border-left-color: var(--txt); }
.ue-axis .mk { grid-row: 2; padding: 4px 14px 6px 10px; border-left: 1px solid var(--txt); min-width: 0; color: var(--txt); }
.ue-axis .mk b { display: block; font-weight: 500; font-size: 16px; line-height: 1.25; }
.ue-axis .mk small { display: block; font-size: 13px; color: var(--mut); margin-top: 3px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ue-axis .mk.here { border-left: 2px solid var(--acc); }
.ue-axis .mk.here b { color: var(--acc); }
.ue-axis-src { display: none; }
.ue-rows a.here { box-shadow: inset 0 2px 0 var(--acc); }
.ue-rows a.here .d b, .ue-rows a.here .t b { color: var(--acc); }
@media (max-width: 640px) { .ue-axis { display: none; } .ue-axis-list { display: block; } }
@media (min-width: 641px) { .ue-axis-list { display: none; } }
.ue-cr { font-size: 12px; color: var(--faint); margin-top: 9px; }

/* ③ коротко: 2–4 ответа; один факт — не полоса */
.ue-facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 28px 0 0; border-top: 1px solid var(--ue-rule); border-bottom: 1px solid var(--ue-rule); }
.ue-facts:not(:has(> div:nth-child(2))) { display: none; }
.ue-facts > div { padding: 18px 22px 20px; min-width: 0; }
.ue-facts > div:first-child { padding-left: 0; }
.ue-facts > div + div { border-left: 1px solid var(--ue-rule); }
.ue-facts dt { font-size: 13px; color: var(--mut); }
.ue-facts dd { font-weight: 500; font-size: 17px; line-height: 1.3; margin: 6px 0 0; overflow-wrap: anywhere; }
.ue-facts dd small { display: block; font-weight: 400; font-size: 14px; color: var(--mut); margin-top: 4px; }
.ue-facts dd a { border-bottom: 1px solid var(--ue-rule); }

/* паспорт: Когда · Где · Сколько · кнопка */
.ue-tk { position: sticky; top: 88px; background: var(--s1); border-radius: 22px; padding: 26px 28px 22px; }
.ue-when { display: flex; align-items: flex-end; gap: 16px; }
.ue-when > b { font-weight: 200; font-size: 72px; line-height: .8; letter-spacing: -.05em; margin-left: -3px; white-space: nowrap; }
.ue-when > b small { font-size: 17px; letter-spacing: 0; font-weight: 400; margin-right: 6px; color: var(--mut); }
.ue-when.stack { flex-direction: column; align-items: flex-start; gap: 12px; }
.ue-when.stack > b { font-size: 64px; }
.ue-when p { display: flex; flex-direction: column; gap: 3px; padding-bottom: 3px; min-width: 0; margin: 0; }
.ue-when p span:first-child { font-weight: 500; font-size: 16px; line-height: 1.3; }
.ue-when p span + span { font-size: 15px; color: var(--mut); }
.ue-run { margin-top: 16px; }
.ue-run i { display: block; height: 3px; background: var(--s3); border-radius: 2px; overflow: hidden; }
.ue-run i em { display: block; height: 100%; background: var(--txt); }
.ue-run p { display: flex; justify-content: space-between; font-size: 13px; color: var(--mut); margin: 7px 0 0; }
.ue-where { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--ue-rule); border-bottom: 1px solid var(--ue-rule); color: var(--txt); }
.ue-where b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.ue-where em { display: block; font-style: normal; font-size: 14px; color: var(--mut); margin-top: 2px; }
.ue-where i { font-style: normal; color: var(--mut); }
a.ue-where:hover i { color: var(--txt); }
.ue-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ue-price b { font-weight: 300; font-size: 34px; line-height: 1.05; letter-spacing: -.03em; }
.ue-price span { font-size: 14px; color: var(--mut); }
.ue-word { font-weight: 500; font-size: 19px; line-height: 1.25; margin: 18px 0 0; }
.ue-word.red { color: var(--ue-red); }
.ue-word.mut { color: var(--mut); }
/* спорт на общем паспорте (sport/_entry.html, .ue-sp-grid): цвета клубов сверху, под ними — та же подложка паспорта,
   что у всех; на телефоне паспорт стоит сразу под цветами, а не только нижней полосой */
.ue-sp-grid { margin-top: 32px; }
.ue-sp-grid .et-tk { background: var(--s1); border-radius: 22px; padding: 22px 24px 20px; margin-top: 12px; }
@media (max-width: 1100px) { .ue-sp-grid .et-ticket .et-tk { display: block; } }
.ue-sp-grid .et-price:not(.ue-word) { font-size: 34px; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; margin-top: 18px; }
.ue-sp-grid .et-acts { display: flex; justify-content: space-between; flex-wrap: nowrap; gap: 8px; font-size: 14px; white-space: nowrap; }
/* нижняя полоса спорта — как у всех: только когда паспорт ушёл с экрана (event.js) */
.et-mbar.ue-wait { transition: transform .25s; }
.et-mbar.ue-wait:not(.on) { transform: translateY(110%); }
.et .et-ticket .et-price.ue-word, .et-sp .et-price.ue-word { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: 0; margin-top: 18px; }
.et-sp .et-price.ue-word.mut { color: var(--txt); }
/* слово вместо цены — с большой буквы, как «Распродано», «Событие прошло» («билеты у клуба» → «Билеты у клуба») */
.et-price.ue-word::first-letter { text-transform: uppercase; }
.ue-pl { list-style: none; padding: 0; margin: 10px 0 0; }
.ue-pl li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; border-top: 1px solid var(--ue-rule); }
.ue-pl li span { color: var(--mut); }
.ue-st { font-size: 14px; color: var(--mut); margin: 8px 0 0; line-height: 1.4; }
.ue-btn { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 26px; margin-top: 18px; background: var(--txt); color: var(--bg); font-weight: 500; font-size: 16px; white-space: nowrap; transition: opacity .2s; }
.ue-btn:hover { opacity: .88; }
.ue-btn.off { background: transparent; color: var(--mut); box-shadow: inset 0 0 0 1px var(--ue-rule); }
.ue-note { font-size: 14px; color: var(--mut); margin: 12px 0 0; line-height: 1.4; text-align: center; }
.ue-acts { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 14px; color: var(--mut); }
.ue-acts > * { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font: inherit; color: inherit; cursor: pointer; }
.ue-acts > *:hover { color: var(--txt); }
.ue-acts .x-fav { width: auto; height: auto; }

/* разделы — у всех один вид */
.ue-s { margin-top: 76px; }
.ue-s > h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 500; font-size: 25px; line-height: 1.15; letter-spacing: -.015em; padding-bottom: 15px; margin: 0 0 24px; border-bottom: 1px solid var(--ue-rule); }
.ue-s > h2 small { font-weight: 400; font-size: 15px; color: var(--mut); letter-spacing: 0; }
.ue-tx { font-size: 18px; line-height: 1.62; max-width: 690px; text-wrap: pretty; }
.ue-tx p { margin: 0; }
.ue-tx p + p { margin-top: 14px; }
.ue-src { font-size: 13px; color: var(--faint); margin-top: 14px; }

/* одна строка на все списки «ещё» */
.ue-rows a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 14px; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--ue-rule); color: var(--txt); }
.ue-rows a.pic { grid-template-columns: 76px 48px minmax(0, 1fr) auto 14px; }
.ue-rows .d b { display: block; font-weight: 300; font-size: 24px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.ue-rows .d small { display: block; font-size: 13px; color: var(--mut); margin-top: 3px; }
.ue-rows .im { width: 48px; height: 60px; border-radius: 6px; overflow: hidden; background: var(--s3); }
.ue-rows .im img { width: 100%; height: 100%; object-fit: cover; }
.ue-rows .t b { display: block; font-weight: 500; font-size: 17px; line-height: 1.3; }
.ue-rows .t small { display: block; font-size: 14px; color: var(--mut); margin-top: 3px; }
.ue-rows .x { font-size: 15px; color: var(--mut); text-align: right; white-space: nowrap; }
.ue-rows i { font-style: normal; color: var(--faint); transition: transform .2s; }
.ue-rows a:hover i { transform: translateX(3px); color: var(--txt); }
.ue-rows a:hover .t b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ue-all { display: inline-block; margin-top: 18px; font-size: 15px; border-bottom: 1px solid var(--ue-rule); padding-bottom: 2px; }

/* время по часам, три даты */
.ue-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.ue-plan li { padding: 16px 18px 0 0; border-top: 1px solid var(--ue-rule); }
.ue-plan li + li { padding-left: 18px; }
.ue-plan b { display: block; font-weight: 300; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.ue-plan span { display: block; font-size: 15px; color: var(--mut); margin-top: 8px; line-height: 1.4; }
.ue-plan li.main { border-top: 2px solid var(--txt); }
.ue-plan li.main span { color: var(--txt); }
.ue-plan li.past b, .ue-plan li.past span { color: var(--faint); }

/* перед походом, пары ключ-значение, адрес */
.ue-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 44px; }
.ue-tips b { display: block; font-weight: 500; font-size: 17px; line-height: 1.3; }
.ue-tips p { font-size: 15px; color: var(--mut); margin: 6px 0 0; line-height: 1.5; }
.ue-addr { font-weight: 500; font-size: 19px; line-height: 1.3; margin: 0; }
.ue-addr small { display: block; font-weight: 400; font-size: 15px; color: var(--mut); margin-top: 6px; }
.ue-kv { margin: 18px 0 0; }
.ue-kv div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-top: 1px solid var(--ue-rule); font-size: 16px; line-height: 1.45; }
.ue-kv dt { color: var(--mut); }
.ue-kv dd { margin: 0; }
/* строки «главное | подпись» (places.js делит их на <b> и <span>) — дорога, правила зала */
.ue-lines { list-style: none; padding: 0; margin: 16px 0 0; }
.ue-lines li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--ue-rule); font-size: 16px; line-height: 1.45; }
.ue-lines li b { font-weight: 500; }
.ue-lines li span { color: var(--mut); }
@media (max-width: 640px) { .ue-lines li { grid-template-columns: 1fr; gap: 2px; } }
.ue-link { display: inline-block; margin-top: 16px; font-size: 15px; border-bottom: 1px solid var(--ue-rule); padding-bottom: 2px; }

/* «Сверено», соседи по списку */
.ue-checked { font-size: 13px; color: var(--faint); margin-top: 64px; }
.ue-checked:empty { display: none; }
/* история проверок и источники — на каждой странице (её правило 17.11) */
.ue-src-box { margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--ue-rule); }
.ue-src-box .ue-checked { margin: 0 0 6px; }
.ue-src-box a { color: var(--mut); border-bottom: 1px solid var(--ue-rule); }
.ue-quote { margin: 10px 0 0; padding-left: 14px; border-left: 2px solid var(--ue-rule); font-size: 13px; color: var(--mut); font-style: italic; max-width: 690px; }
.ue-nb { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.ue-nb[hidden] { display: none; }
.ue-nbc { background: var(--s1); border-radius: 18px; padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--txt); transition: background .2s; }
.ue-nbc:hover { background: var(--s2); }
.ue-nbc.r { text-align: right; align-items: flex-end; }
.ue-nbc small { font-size: 13px; color: var(--mut); }
.ue-nbc b { font-weight: 500; font-size: 18px; line-height: 1.3; }
.ue-nbc span { font-size: 14px; color: var(--mut); }

/* нижняя полоса телефона — только когда паспорт ушёл с экрана */
.ue-bar { display: none; }

/* планшет: одна колонка, паспорт полосой под обложкой */
@media (max-width: 1100px) {
  .ue-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tk" "art" "main"; column-gap: 0; }
  .ue-grid .ue-tk { margin: 0 0 20px; }
  .ue-tk { position: static; margin-top: 20px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; column-gap: 28px; align-items: start; padding: 24px 26px; }
  .ue-tk .ue-where { margin-top: 0; border: 0; padding: 0; }
  .ue-tk .ue-price, .ue-tk .ue-word { margin-top: 0; }
  .ue-tk .ue-btn { margin-top: 14px; }
  .ue-tk .ue-acts { grid-column: 1 / -1; justify-content: flex-start; gap: 28px; padding-top: 14px; margin-top: 18px; border-top: 1px solid var(--ue-rule); }
  .ue-when > b, .ue-when.stack > b { font-size: 60px; }
  .ue-tips { gap: 22px 28px; }
}
/* телефон */
@media (max-width: 640px) {
  .ue-ctx { margin-top: 14px; align-items: flex-start; }
  .ue-ret { font-size: 14px; gap: 8px; }
  .ue-ret span { font-size: 12px; padding: 3px 8px; }
  .ue-step a { width: 30px; height: 30px; }
  .ue-step em { display: none; }
  .ue-kind { font-size: 14px; margin-top: 22px; }
  .ue-head h1 { letter-spacing: -.03em; }
  .ue-grid { margin-top: 22px; }
  .ue-art { height: 220px; border-radius: 14px; margin: 0; }
  .ue-tk { display: block; padding: 20px 20px 18px; border-radius: 18px; }
  .ue-tk .ue-where { margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--ue-rule); border-bottom: 1px solid var(--ue-rule); }
  .ue-tk .ue-price, .ue-tk .ue-word { margin-top: 16px; }
  .ue-tk .ue-acts { justify-content: space-between; gap: 0; border-top: 0; padding-top: 0; margin-top: 14px; }
  .ue-when > b, .ue-when.stack > b { font-size: 56px; }
  .ue-facts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; border-bottom: 0; }
  .ue-facts > div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--ue-rule); }
  .ue-facts > div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--ue-rule); }
  .ue-facts > div:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .ue-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ue-facts dd { font-size: 16px; }
  .ue-s { margin-top: 52px; }
  .ue-s > h2 { font-size: 21px; margin-bottom: 18px; }
  .ue-s > h2 small { display: none; }
  .ue-tx { font-size: 17px; }
  .ue-rows a, .ue-rows a.pic { grid-template-columns: 62px minmax(0, 1fr) 12px; gap: 12px; }
  .ue-rows .im, .ue-rows .x { display: none; }
  .ue-rows .d b { font-size: 21px; }
  .ue-plan { grid-template-columns: 1fr; }
  .ue-plan li, .ue-plan li + li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; }
  .ue-plan b { font-size: 24px; }
  .ue-plan span { margin-top: 0; }
  .ue-tips { grid-template-columns: 1fr; gap: 18px; }
  .ue-kv div { grid-template-columns: 110px minmax(0, 1fr); font-size: 15px; }
  .ue-checked { margin-top: 52px; }
  .ue-nb { grid-template-columns: 1fr; gap: 10px; }
  .ue-nbc.r { text-align: left; align-items: flex-start; }
  .ue-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--ue-rule); transform: translateY(110%); transition: transform .25s; }
  .ue-bar.on { transform: none; }
  .ue-bar > span { display: flex; flex-direction: column; min-width: 0; }
  .ue-bar small { font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ue-bar b { font-weight: 500; font-size: 19px; line-height: 1.2; }
  .ue-bar .ue-btn { margin: 0; height: 46px; padding: 0 22px; font-size: 15px; flex: none; }
}

/* ── 18.11 ночью: одна страница записи на все виды (решения судьи: H1, H2, правая колонка, плитка вместо фото) ── */
/* H1 записи — шкала по длине (канон a2-entries §3, решение судьи «ЗАМЕНЯЕТ 44–72»): обычное 40–96, короткое 52–112,
   длинное 34–64, вес 500 у всех; data-len ставит event.js по числу знаков (≤12 — s, ≥34 — l) */
main .ue-head h1, main .ue-sp-grid .et-main h1, .spe .ue-head h1 { font-weight: 500; font-size: clamp(40px, 6.2vw, 96px); line-height: .95; letter-spacing: -.035em; overflow-wrap: normal; text-wrap: balance; hyphens: manual; }
/* нет официальной афиши (или в слоте было фото артиста с Wikimedia) — типографская плитка, как у выставок */
.ue-art.ue-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; background: rgba(var(--accr), .14); color: var(--txt); }
.ue-tile small { font-size: 14px; color: var(--mut); }
.ue-tile b { font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.025em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
@media (min-width: 1101px) { .ue-cover .ue-art.ue-tile { aspect-ratio: 16 / 10; height: auto; } }
/* «Жизнь праздника по датам» (places.css рисует её для тёмной полосы музея): на светлой странице события подписи
   были белыми на светлом — почти невидимы. Здесь та же ось, но чернилами сайта (обе темы) */
main.ue .pl-years { list-style: none; padding-left: 0; }
main.ue .pl-years::before { background: var(--ue-rule); }
main.ue .pl-years li::before { background: var(--txt); box-shadow: 0 0 0 5px rgba(var(--ink), .08); }
main.ue .pl-years span { color: var(--txt2); }
/* крупная дата под названием не прилипает к нему (у матча нет строки-подводки между ними) */
@media (min-width: 1101px) { .ue-head + .ue-lwhen { margin-top: 36px; } }
/* срок: в паспорте вместо места — «Кого касается», подписью над ответом */
.ue-where .ue-wl { display: block; font-size: 13px; color: var(--mut); margin-bottom: 3px; }
/* часы фестиваля уже стоят в «Коротко» («Когда») — под крупной датой слева их не повторяем */
.ue-lwhen .ue-hours { display: none; }
/* на планшете и телефоне плитка стояла бы прямо под таким же названием — там её нет */
@media (max-width: 1100px) { .ue-cover:has(> .ue-tile) { display: none; } }
/* на компьютере тоже (решение судьи 18.11): сиреневая плитка повторяла название и вид, а крупная дата уже стоит слева
   под названием — блок без картинки не показываем, справа остаётся одна карточка паспорта, вровень с кикером */
.ue-cover:has(> .ue-tile) { display: none; }
@media (min-width: 1101px) { .ue-side:has(> .ue-cover > .ue-tile) .ue-tk { margin-top: 0; } }
/* сноска внутри зачёркнутой прежней даты не зачёркивается */
.ue-st s .gally-ref { display: inline-block; text-decoration: none; }
/* сердце записи — общая .fav-pill в строке «назад» (styles.css); старое .x-fav в ряду действий убрано (волна 2) */
/* спорт: крупная дата и «Где» под названием, как у всех видов (event.js переносит копию паспорта) */
@media (min-width: 1101px) {
  .ue-split .ue-sp-grid .et-tk .ue-c1, .ue-split .ue-sp-grid .et-tk .ue-c2 { display: none; }
  .ue-split .ue-sp-grid .et-tk > .ue-c2 + * { margin-top: 0; }
}
/* выставка: «В календарь · Отправить» — тем же рядом, что у всех событий */
.x3-tk .ue-acts { margin-top: 14px; justify-content: space-between; gap: 8px; white-space: nowrap; }
/* H2 разделов — один вид на всех видах записи: заголовок с линией под ним (как «Кто это», «Что сделать»);
   мелкие серые подписи (.et-l) русских событий и спорта становятся тем же заголовком */
main .et-s > .et-l, main .et-s > [data-gally-item] > .et-l { display: block; font: 500 25px/1.15 var(--et-sans, Geologica, system-ui, sans-serif); letter-spacing: -.015em; color: var(--txt); padding-bottom: 15px; margin: 0 0 24px; border-bottom: 1px solid var(--ue-rule); }
main .et-s > .et-l + .et-rows { border-top: 0; }
@media (max-width: 640px) { main .et-s > .et-l, main .et-s > [data-gally-item] > .et-l { font-size: 21px; margin-bottom: 18px; } }
/* правая колонка — одна карточка на все виды: белая подложка, цена, кнопка, ряд действий (как .ue-tk) */
main.et .et-ticket .et-tk { background: var(--s1); border-radius: 22px; padding: 22px 24px 20px; margin-top: 14px; }
main.et .et-ticket .et-price:not(.ue-word) { font-size: 34px; font-weight: 300; line-height: 1.05; margin-top: 0; }
main.et .et-ticket .et-tk > div > :first-child { margin-top: 0; }
main .et-btn { font-size: 16px; font-weight: 500; }
main.et .et-facts dt::after { content: none; }
main.et .et-main h1 { font-weight: 500; font-size: clamp(40px, 6.2vw, 96px); line-height: .95; letter-spacing: -.035em; margin-top: 8px; max-width: 1000px; overflow-wrap: normal; text-wrap: balance; hyphens: manual; }
main.et .et-main h1 + .et-when { margin-top: 28px; }
main.et .et-ticket .et-acts { justify-content: space-between; flex-wrap: nowrap; gap: 8px; font-size: 14px; white-space: nowrap; }

/* ── 18.11 ночью, вторая рука (проверка): что первая правка не довела ── */
/* название по длине: короткое крупнее, длинное мельче (data-len — event.js) */
main .ue-head h1[data-len="s"], main .ue-sp-grid .et-main h1[data-len="s"], .spe .ue-head h1[data-len="s"], main.et .et-main h1[data-len="s"] { font-size: clamp(52px, 7.8vw, 112px); }
main .ue-head h1[data-len="l"], main .ue-sp-grid .et-main h1[data-len="l"], .spe .ue-head h1[data-len="l"], main.et .et-main h1[data-len="l"] { font-size: clamp(34px, 4.4vw, 64px); }
/* выставка — та же шкала (exhibition.css держал 72/44 без учёта длины) */
main .x3-head h1 { font-size: clamp(40px, 6.2vw, 96px); line-height: .95; overflow-wrap: normal; hyphens: manual; }
main .x3-head h1[data-len="s"] { font-size: clamp(52px, 7.8vw, 112px); }
main .x3-head h1[data-len="l"] { font-size: clamp(34px, 4.4vw, 64px); }
/* кикер записи — моно 12px капсом (канон .e-kick), на всех видах */
main .ue-kind, main .et-kind { font: 500 12px/1.5 var(--mono, "JetBrains Mono", ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
main .ue-kind span + span::before { content: "·"; margin: 0 .6em; }
/* H2 внутри записи таблицы (зал, стадион, «С детьми»): после сервера обёртка — div[data-gally-entry] */
main .et-s > [data-gally-entry] > .et-l, main .ue-s > [data-gally-entry] > h2 { display: block; font: 500 25px/1.15 var(--et-sans, Geologica, system-ui, sans-serif); letter-spacing: -.015em; color: var(--txt); padding-bottom: 15px; margin: 0 0 24px; border-bottom: 1px solid var(--ue-rule); }
@media (max-width: 640px) { main .et-s > [data-gally-entry] > .et-l, main .ue-s > [data-gally-entry] > h2 { font-size: 21px; margin-bottom: 18px; } }
/* одно сердце: один размер и зона касания на всех видах (таблетка «В избранное» — у владельца styles.css) */
main .ue-acts > button, main .et-acts > button, main .et-acts > a { min-height: 40px; display: inline-flex; align-items: center; }
main .et-acts { align-items: center; }
/* телефон: ряд действий не вылезает за карточку */
@media (max-width: 640px) {
  main.et .et-ticket .et-acts, main.et .et-main > .et-tk .et-acts, .ue-sp-grid .et-acts { font-size: 14px; gap: 4px; }
  .ue-sp-grid .et-acts button, .ue-sp-grid .et-acts a { font-size: 14px; }
}
@media (max-width: 640px) { .ue-sp-grid .et-tk { padding: 20px 20px 16px; } }
@media (max-width: 379px) { .ue-sp-grid .et-acts, main.et .et-main > .et-tk .et-acts { flex-wrap: wrap; justify-content: flex-start; align-items: center; column-gap: 20px; row-gap: 0; } }
/* событие по-русски на телефоне: карточка билета (♡, календарь, отправить) — в потоке после «Где» (event.js) */
main.et .et-main > .et-tk { display: block; background: var(--s1); border-radius: 22px; padding: 20px 20px 16px; margin-top: 22px; }
main.et .et-main > .et-tk .et-price:not(.ue-word) { font-size: 30px; font-weight: 300; line-height: 1.05; margin-top: 0; }
main.et .et-main > .et-tk > div > :first-child { margin-top: 0; }
main.et .et-main > .et-tk .et-acts { display: flex; justify-content: space-between; flex-wrap: nowrap; gap: 8px; font-size: 14px; white-space: nowrap; }
@media (max-width: 379px) { main.et .et-main > .et-tk .et-acts { flex-wrap: wrap; justify-content: flex-start; column-gap: 20px; row-gap: 0; } }
/* крупные числа — только лёгкий Geologica (зал: год, вместимость; фестиваль: год, номер, ось «Жизнь праздника») */
main .ue-s .pl-nums b, main.ue .pl-years b { font: 200 40px/1 var(--et-sans, Geologica, system-ui, sans-serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
main.ue .pl-years b { font-size: 34px; }
@media (max-width: 640px) { main .ue-s .pl-nums b { font-size: 28px; } }
/* строка без картинки — плитка-дата (число дня лёгким Geologica на мягком фиолетовом, как плитка афиши) */
.ue-rows .im.ue-im-d { display: flex; align-items: center; justify-content: center; background: rgba(var(--accr), .14); color: var(--txt); font: 200 24px/1 var(--et-sans, Geologica, system-ui, sans-serif); letter-spacing: -.03em; }
/* на телефоне в строке нет колонки картинки — плитка-дата прячется вместе с фото (иначе строка ломается) */
@media (max-width: 640px) { .ue-rows .im.ue-im-d { display: none; } }
/* подпись фото фестиваля: что на фото — строкой, автор — строкой ниже */
.fp-then .ue-cr > b { display: block; }
.fp-then .ue-cr > span { display: block; margin-top: 2px; }
/* источник факта под карточкой — читается целиком, а не «pr…» */
main.ue .pl-share { flex-wrap: wrap; }
main.ue .pl-share span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; flex: 1 1 140px; }

/* Волна 2 (18.11). Назад — общий .crumb («← Все …» 14/500 var(--txt2), styles.css); ♡ — общая таблетка .fav-pill
   «В избранное» справа вверху записи, на всех видах одна; соседи по списку («‹ 3 из 12 ›») — между ними. */
.ue-ctx { justify-content: flex-start; flex-wrap: wrap; row-gap: 8px; column-gap: 16px; min-height: 44px; }
.ue-ctx > .ue-ret { margin-right: auto; }
.ue-ctx > .ue-step { order: 1; }
.ue-ctx > .fav-pill { order: 2; }
.ue-ctx .ue-ret.crumb { font: 500 14px/1.3 Geologica, system-ui, sans-serif; color: var(--txt2); gap: .3em; row-gap: 6px; min-height: 44px; }
.ue-ctx .ue-ret.crumb:hover { color: var(--acc); }
.ue-ctx .ue-ret.crumb i, .ue-ctx .ue-ret.crumb:hover i { color: inherit; transform: none; }
.ue-ctx .ue-ret.crumb b { font-weight: inherit; }
@media (max-width: 640px) { .ue-ctx { column-gap: 10px; } .ue-ctx > .fav-pill { padding: 0 14px 0 12px; font-size: 14px; } }
/* ряд действий без сердца: «＋ В календарь · ↗ Отправить» — слева, с воздухом, а не по краям карточки */
main .ue-acts, main .ue-tk .ue-acts, main .x3-tk .ue-acts, main.et .et-ticket .et-acts, main.et .et-main > .et-tk .et-acts, main .ue-sp-grid .et-acts { justify-content: flex-start; column-gap: 24px; }
/* «Распродано» зачёркивает цену, а не вечер (её правило): дата распроданного / «лист ожидания» вечера — обычным цветом, без черты
   (серая читалась как прошедшая); серым — только слово состояния; черта — только у перенесённого */
.sh-nights li[data-state="sold"] b { text-decoration: none; color: inherit; }
/* прошедший вечер shows.js прячет атрибутом hidden — карточка .sh-nights li (display:flex) его перебивала и печатала сырую строку */
.sh-nights li[hidden] { display: none; }
/* «Дальше в афише» фестиваля — цепочка: видно первое непустое звено; пустых звеньев не видно никогда */
[data-ue-chain] > .fp-cards:not(:has(.pl-card)) { display: none; }
[data-ue-chain] > .fp-cards:has(.pl-card) ~ .fp-cards { display: none; }
[data-ue-chain]:not(:has(.pl-card)) { display: none; }
