/* idem.uz — styles transcribed from the design canvas (design/*.dc.html). */
:root {
  --paper: #f4ede2;
  --card: #fbf7f0;
  --sand: #ede3d3;
  --line: #e6dccb;
  --line-2: #d4c7b3;
  --line-3: #cdbfa9;
  --ink: #241c18;
  --body: #4a3f38;
  --muted: #6b5f55;
  --night: #2a2024;
  --night-muted: #d9cfc2;
  --night-line: #5a4a48;
  --clay: #b5502c;
  --clay-dark: #9e4324;
  --rust: #8f3f22;
  --amber: #f2b35a;
  --amber-light: #ffd894;
  --shade: rgba(28, 20, 18, 0.94);
  --display: 'Unbounded', 'Golos Text', sans-serif;
  --text: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: 40px;
  --edge: max(var(--gutter), calc(50% - 600px));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); font-family: var(--text);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: var(--rust); }
a:hover { color: var(--clay); }
img { display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.reset { border: 0; padding: 0; margin: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--clay)); flex: 0 0 auto; }
.dot--lg { width: 14px; height: 14px; }
.dot--xl { width: 16px; height: 16px; }
.muted { color: var(--muted); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.header { background: var(--night); color: var(--paper); }
.header__bar { height: 72px; display: flex; align-items: center; gap: 10px; }
.logo { display: inline-flex; align-items: center; gap: 3px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; color: var(--paper); text-decoration: none; margin-right: 12px; }
.logo:hover { color: var(--paper); }
.logo__i { display: inline-block; color: var(--amber); transform: skewX(-14deg); }
.nav { display: flex; align-items: center; }
.nav a, .ghost { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 10px; border-radius: 10px; text-decoration: none; color: var(--paper); font-size: 14px; font-weight: 500; border: 0; background: transparent; cursor: pointer; }
.nav a:hover, .ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--paper); }
.nav a[aria-current='page'] { background: var(--paper); color: var(--ink); font-weight: 600; }
.ghost--icon { width: 40px; padding: 0; }
.header__spacer { flex: 1 1 auto; }
.btn-clay { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--clay); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; }
.btn-clay:hover { background: var(--clay-dark); color: #fff; }
.btn-clay--lg { height: 52px; padding: 0 22px; border-radius: 14px; font-size: 16px; }
.btn-clay--xl { height: 56px; padding: 0 24px; border-radius: 14px; font-size: 16px; gap: 10px; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 14px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-square { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
.btn-square--xl { width: 56px; height: 56px; }

/* «Идём» strip in the header */
.strip { padding: 2px 0 18px var(--edge); display: flex; align-items: center; gap: 20px; }
.strip__head { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.strip__label { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.strip__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 11px; letter-spacing: 0; }
.strip__sub, .strip__empty { font-size: 12px; color: var(--night-muted); }
.strip__list, .strip__empty { min-height: 60px; display: flex; align-items: center; }
.strip__empty { font-size: 14px; }
.strip__list { display: flex; gap: 10px; overflow-x: auto; flex: 1 1 auto; min-width: 0; padding: 2px 40px 2px 0; }
.strip__item { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; max-width: 340px; padding: 6px 8px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.strip__thumb { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; background: var(--c, var(--clay)); overflow: hidden; }
.strip__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.strip__title { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--paper); text-decoration: none; max-width: 220px; }
.strip__title:hover { color: var(--amber); }
.strip__when { font-size: 12px; color: var(--night-muted); }
.strip__remove { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--amber); cursor: pointer; }
.garland { display: block; width: 100%; height: 92px; }
.garland--short { height: 64px; }

/* Horizontal rows */
.row { display: flex; gap: 20px; overflow-x: auto; width: 100%; padding: 4px var(--gutter) 10px var(--edge); scroll-padding-left: var(--edge); scrollbar-width: none; scroll-snap-type: x proximity; }
.row::-webkit-scrollbar, .strip__list::-webkit-scrollbar, .nav::-webkit-scrollbar { display: none; }
.row > *, .strip__list > * { scroll-snap-align: start; }
.strip__list { scrollbar-width: none; }

/* ---------- «Идём» button ---------- */
.go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; border-radius: 999px; font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); height: 36px; padding: 0 14px; font-size: 12px; }
.go--dark { border-color: rgba(244, 237, 226, 0.9); color: var(--paper); height: 34px; padding: 0 13px; }
.go--sm { height: 32px; padding: 0 11px; font-size: 11px; }
.go--under { width: 56px; height: 28px; padding: 0; font-size: 10px; gap: 4px; }
.go--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.go--xl { height: 56px; padding: 0 28px; font-size: 16px; }
.go__check { display: none; }
.go[aria-pressed='true'] { border-color: var(--amber); background: var(--amber); color: var(--ink); }
.go[aria-pressed='true'] .go__check { display: block; }
.go:focus-visible, .btn-clay:focus-visible, .ghost:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ---------- Cards ---------- */
.hover-lift { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(74, 48, 30, 0.14); }
.initial { position: absolute; font-family: var(--display); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, 0.18); pointer-events: none; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--clay); color: var(--card); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge--time { background: rgba(28, 20, 18, 0.72); color: var(--paper); font-family: var(--display); font-size: 13px; letter-spacing: 0.01em; text-transform: none; height: 28px; padding: 0 10px; }
.badge--pick { top: 48px; height: 24px; font-size: 10px; letter-spacing: 0.08em; }

.poster { position: relative; flex: 0 0 calc((100% - 40px) / 4.5); min-width: 240px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--c, var(--clay)); color: var(--paper); }
.poster .initial { right: -8px; bottom: 40px; font-size: 200px; }
.poster__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(28, 20, 18, 0.94) 0%, rgba(28, 20, 18, 0.78) 40%, rgba(28, 20, 18, 0) 100%); pointer-events: none; }
.poster__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 5px; padding: 40px 14px 14px; }
.poster__link { display: flex; flex-direction: column; gap: 5px; color: var(--paper); text-decoration: none; }
.poster__link::after { content: ''; position: absolute; inset: 0; }
.poster__link:hover { color: var(--paper); }
.poster__top { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }
.poster__top--cat { color: rgba(244, 237, 226, 0.8); }
.poster__title { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.poster__venue { font-size: 13px; color: rgba(244, 237, 226, 0.85); }
.poster__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; position: relative; }
.poster__price { font-size: 14px; font-weight: 600; line-height: 1.25; }

.film { flex: 0 0 calc((100% - 40px) / 3.2); min-width: 340px; display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.film__poster { position: relative; flex: 0 0 44%; aspect-ratio: 2 / 3; background: var(--c, #5f6e78); overflow: hidden; }
.film__poster .initial { right: -8px; bottom: -20px; font-size: 150px; }
.film__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; }
.film__times { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.film__title { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.film__venue { font-size: 13px; font-weight: 600; }
.film__date { font-size: 12px; color: var(--muted); }
.film__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 8px; font-size: 13px; font-weight: 600; }

.mini { flex: 0 0 calc((100% - 40px) / 4.5); min-width: 260px; display: flex; align-items: stretch; gap: 12px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.mini__side { display: flex; flex-direction: column; gap: 6px; flex: 0 0 56px; }
.mini__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 10px; background: var(--sand); color: var(--ink); text-decoration: none; }
.mini__d { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1; }
.mini__wd { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.mini__body { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; justify-content: center; }
.mini__title { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; }
.mini__meta { font-size: 12px; color: var(--muted); }
.mini__price { font-size: 13px; font-weight: 600; }

.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tile__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--c, var(--clay)); overflow: hidden; }
.tile__img .initial { right: -6px; bottom: -40px; font-size: 170px; color: rgba(255, 255, 255, 0.2); }
.tile__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1 1 auto; }
.tile__when { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rust); }
.tile__title { font-size: 18px; font-weight: 600; line-height: 1.3; text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.tile__title a { color: var(--ink); text-decoration: none; }
.tile__title a:hover { color: var(--clay); }
.tile__venue { font-size: 14px; color: var(--muted); }
.tile__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Home ---------- */
.band { display: flex; flex-direction: column; gap: 20px; padding: 44px 0 40px; background: var(--band, var(--paper)); }
.band--soon { gap: 22px; padding: 40px 0 36px; background: #f8f2ea; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.more-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-weight: 600; text-decoration: none; }
.soon-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tabs-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.day-tab { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; height: 76px; padding: 0 24px; border-radius: 18px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; cursor: pointer; border: 1.5px solid var(--line-3); background: transparent; color: var(--ink); }
.day-tab__top { display: flex; align-items: baseline; gap: 8px; }
.day-tab__count, .day-tab__sub { font-family: var(--text); color: var(--muted); letter-spacing: 0; }
.day-tab__count { font-weight: 600; font-size: 16px; }
.day-tab__sub { font-weight: 500; font-size: 14px; }
.day-tab[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.day-tab[aria-pressed='true'] .day-tab__count, .day-tab[aria-pressed='true'] .day-tab__sub { color: rgba(244, 237, 226, 0.7); }
.quicks { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--ink); text-decoration: none; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip--lg { height: 44px; padding: 0 18px; font-size: 15px; border-color: var(--line-3); }
.chip[aria-pressed='true'], .chip[aria-current='true'] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.empty-note { margin: 0; padding: 24px 0; font-size: 15px; color: var(--muted); }

/* Telegram section */
.tg { padding: 80px var(--gutter) 0; max-width: var(--wrap); margin: 0 auto; width: 100%; }
.tg__box { display: flex; flex-wrap: wrap; gap: 40px; padding: 44px 48px; border-radius: 24px; background: var(--night); color: var(--paper); }
.tg__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.tg__title { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.tg__copy { max-width: 520px; color: var(--night-muted); }

/* ---------- Page heads ---------- */
.page { padding-top: 44px; display: flex; flex-direction: column; gap: 24px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }
.page-title { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters__group { display: flex; gap: 6px; flex-wrap: wrap; }
.empty-box { padding: 48px; border-radius: 18px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.center { display: flex; justify-content: center; padding-top: 8px; }

/* ---------- Event ---------- */
.event-hero { display: flex; gap: 48px; align-items: flex-start; }
.event-hero__poster { flex: 0 0 420px; position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--c, var(--clay)); box-shadow: 0 24px 48px rgba(74, 48, 30, 0.18); }
.event-hero__poster .initial { right: -10px; bottom: -60px; font-size: 300px; color: rgba(255, 255, 255, 0.2); }
.event-hero__poster .badge { left: 16px; top: 16px; height: 28px; padding: 0 10px; font-size: 12px; }
.event-hero__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cat-line { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cat-line a { color: inherit; text-decoration: none; }
.event-title { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.5; color: var(--body); max-width: 640px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 680px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.fact__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fact__value { font-size: 18px; font-weight: 600; line-height: 1.3; }
.fact__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.small-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--rust); text-decoration: none; white-space: nowrap; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.hint { font-size: 14px; color: var(--muted); max-width: 640px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }
.event-about { display: flex; gap: 48px; align-items: flex-start; }
.event-about__text { flex: 1 1 auto; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose { font-size: 17px; line-height: 1.6; white-space: pre-line; }
.note-box { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 16px; background: #e8dcca; }
.sessions { list-style: none; margin: 0; padding: 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.sessions li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); }
.sessions li:first-child { border-top: 0; }
.sessions__when { font-weight: 600; }
.sessions__right { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.aside-dark { flex: 0 0 360px; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 20px; background: var(--night); color: var(--paper); position: sticky; top: 24px; }
.aside-dark__title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.aside-dark__copy { font-size: 14px; color: var(--night-muted); }
.map { position: relative; height: 260px; border-radius: 20px; overflow: hidden; background: #e2d5c1; border: 1px solid var(--line-2); }
.map__streets { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.map__label { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; white-space: nowrap; }
.map__links { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.map__links a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--card); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--line); }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 64px 24px 40px; overflow-y: auto; background: rgba(28, 20, 18, 0.66); }
.popup__backdrop { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: default; }
.popup__card { position: relative; width: 100%; max-width: 1040px; display: flex; flex-wrap: wrap; background: var(--paper); color: var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.popup__poster { position: relative; flex: 1 1 360px; max-width: 400px; min-height: 520px; background: var(--c, var(--clay)); overflow: hidden; }
.popup__poster .initial { right: -10px; bottom: -60px; font-size: 260px; color: rgba(255, 255, 255, 0.2); }
.popup__body { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 32px 40px 28px 36px; }
.popup__title { padding-right: 40px; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.popup__desc { font-size: 16px; line-height: 1.55; color: var(--body); }
.popup__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.popup__facts .fact { padding: 14px 16px; border-radius: 14px; gap: 3px; }
.popup__facts .fact__label { font-size: 11px; }
.popup__facts .fact__value { font-size: 15px; }
.popup__facts .fact__sub { font-size: 12px; }
.popup__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.popup__close { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(36, 28, 24, 0.08); color: var(--ink); cursor: pointer; }
body.has-popup { overflow: hidden; }

/* ---------- Favorites ---------- */
.fav-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 44px; }
.fav-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.fav-group { display: flex; flex-direction: column; gap: 12px; }
.fav-group__title { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fav { display: flex; gap: 18px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.fav__img { position: relative; display: block; flex: 0 0 150px; height: 112px; border-radius: 12px; background: var(--c, var(--clay)); overflow: hidden; }
.fav__img .initial { right: -4px; bottom: -26px; font-size: 100px; color: rgba(255, 255, 255, 0.2); }
.fav__body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.fav__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.fav__title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.fav__title a { color: var(--ink); text-decoration: none; }
.fav__remove { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--clay); color: #fff; cursor: pointer; }
.fav-aside { flex: 1 1 320px; max-width: 380px; }

/* ---------- About ---------- */
.about { display: flex; flex-direction: column; gap: 72px; padding-top: 56px; }
.about-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.about-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-hero h1 { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.about-hero__lead { font-size: 19px; line-height: 1.5; max-width: 640px; }
.about-hero__note { font-size: 16px; color: var(--muted); max-width: 640px; }
.about-hero__side { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--night); color: var(--paper); }
.about-section { display: flex; flex-direction: column; gap: 24px; }
.about-section h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.info-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.info-card h3 { font-size: 18px; font-weight: 600; }
.info-card p { font-size: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step__num { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--clay); }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 80px; background: var(--night); color: var(--paper); }
.footer__top { padding-top: 44px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer__about { display: flex; flex-direction: column; gap: 10px; flex: 1 1 280px; }
.footer__about p { max-width: 360px; color: var(--night-muted); font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; align-items: center; max-width: 640px; }
.footer__nav a { color: var(--paper); text-decoration: none; }
.footer__nav a:hover { color: var(--amber); }
.footer__sources { padding-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.footer__sources-list { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 36px; }
.footer__sources-list a { display: inline-flex; align-items: center; height: 40px; color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.footer__sources-list a.more { font-family: var(--text); font-weight: 400; font-size: 14px; color: var(--night-muted); }
.footer__bottom { padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--night-muted); }
.footer__compact { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--night-muted); }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input { flex: 1 1 280px; height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--card); font: inherit; font-size: 16px; color: var(--ink); }
.search-form input:focus { outline: 2px solid var(--amber); border-color: var(--ink); }

/* ---------- Phone (design: Mobile.dc.html, 390 px) ---------- */
@media (max-width: 1100px) {
  .nav { overflow-x: auto; scrollbar-width: none; }
  .event-about { flex-direction: column; }
  .aside-dark { position: static; flex: 1 1 auto; width: 100%; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; --edge: 16px; }
  .header__bar { height: auto; min-height: 56px; padding-top: 12px; padding-bottom: 6px; flex-wrap: wrap; gap: 4px; }
  .logo { font-size: 20px; }
  .nav { order: 10; width: calc(100% + 32px); margin: 4px -16px 0; padding: 0 16px 4px; gap: 6px; }
  .nav a { flex: 0 0 auto; height: 38px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.22); }
  .btn-clay--hdr span { display: none; }
  .btn-clay--hdr { width: 40px; padding: 0; background: transparent; }
  .strip { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 6px; }
  .strip__list { margin: 0 -16px; padding: 0 16px 4px; }
  .garland { height: 56px; }
  .row { gap: 10px; padding: 2px 16px 6px; scroll-padding-left: 16px; }
  .poster { flex: 0 0 220px; min-width: 0; border-radius: 16px; }
  .poster .initial { font-size: 150px; bottom: 36px; }
  .poster__title { font-size: 14px; }
  .poster__venue { font-size: 12px; }
  .film { flex: 0 0 320px; min-width: 0; }
  .film__poster { flex-basis: 40%; }
  .mini { flex: 0 0 260px; min-width: 0; }
  .band { padding: 28px 0 26px; gap: 14px; }
  .section-title { font-size: 22px; gap: 10px; }
  .soon-head { flex-direction: column; align-items: stretch; gap: 12px; padding: 0; }
  .tabs-row, .quicks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 16px; margin: 0; }
  .tabs-row::-webkit-scrollbar, .quicks::-webkit-scrollbar { display: none; }
  .day-tab { flex: 0 0 auto; height: 60px; padding: 0 16px; font-size: 15px; border-radius: 14px; }
  .quicks { margin-left: 0; gap: 6px; }
  .quicks .chip { flex: 0 0 auto; }
  .tg { padding-top: 48px; }
  .tg__box { padding: 28px 20px; gap: 24px; }
  .tg__title { font-size: 22px; }
  .page-title { font-size: 28px; }
  .event-hero { flex-direction: column; gap: 24px; }
  .event-hero__poster { flex: 0 0 auto; width: 100%; max-width: 420px; }
  .event-title { font-size: 28px; }
  .lead { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .popup { padding: 0; }
  .popup__card { border-radius: 0; min-height: 100%; }
  .popup__poster { min-height: 280px; max-width: none; }
  .popup__poster--empty { min-height: 96px; }
  .popup__body { padding: 24px 16px; }
  .popup__title { font-size: 24px; }
  .fav { position: relative; padding-right: 64px; }
  .fav__remove { position: absolute; top: 10px; right: 10px; }
  .fav__img { flex: 0 0 96px; height: 96px; }
  .about-hero h1 { font-size: 30px; }
  .about { gap: 48px; padding-top: 32px; }
  .about-section h2 { font-size: 24px; }
  .empty-box { padding: 28px 20px; }
}
.row-more { flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.row-more:hover { background: var(--ink); color: var(--paper); }
.sessions-more summary { cursor: pointer; font-weight: 600; color: var(--rust); padding: 10px 0; }
.sessions-more[open] summary { margin-bottom: 8px; }
.sort-toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.sort-toggle:hover { color: var(--ink); border-color: var(--ink); }
