/* Self-hosted fonts (Google Fonts woff2, variable): no third-party round trips from Tashkent. */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/golos-text-cyrillic-ext.52208e41e3.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/golos-text-cyrillic.024646dc00.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/golos-text-latin-ext.1cfacdd6d0.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/golos-text-latin.3ba0fde64b.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/unbounded-cyrillic-ext.20c0b652b7.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/unbounded-cyrillic.4cfb17abc7.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/unbounded-latin-ext.3859ae518d.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/unbounded-latin.edd24a2b43.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 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; }
/* The page background is the header and footer colour: iOS Safari tints its bars and the
   overscroll above the header and below the footer with the body's background. The paper is
   painted by <main>, full-bleed past its centred column. */
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--night); 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; }
main { flex: 1 0 auto; background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.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-outline[aria-busy] { opacity: 0.55; pointer-events: none; }
.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__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 var(--edge) 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); }
.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 ---------- */
/* iOS Safari lets composited children (the wide posters' blurred backdrop) escape an
   overflow + border-radius clip, squaring some corners; clip-path is a mask it always honours.
   Each radius repeats the card's border-radius. */
:is(.poster, .film, .tile, .mini, .strip__thumb, .event-hero__poster, .fav__img, .map) { isolation: isolate; }
.poster, .film, .tile { clip-path: inset(0 round 18px); }
.mini { clip-path: inset(0 round 14px); }
.strip__thumb { clip-path: inset(0 round 8px); }
.event-hero__poster { clip-path: inset(0 round 22px); }
.fav__img { clip-path: inset(0 round 12px); }
.map { clip-path: inset(0 round 20px); }
.row--2 { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: minmax(340px, calc((100% - 40px) / 3.2)); }
.row--2 .film { min-width: 0; }
.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%; }
/* Landscape/square image in a portrait frame (idem.js fitImage): whole image over a blurred copy. */
.has-wide::before { content: ''; position: absolute; inset: -24px; background: var(--img) center / cover no-repeat; filter: blur(22px) brightness(0.75); }
.has-wide .initial { display: none; }
.cover--wide { object-fit: contain; object-position: center 35%; }
.poster .cover--wide { object-position: center 25%; }
.badge { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--clay); color: var(--card); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); 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__times { font-size: 14px; font-weight: 600; line-height: 1.45; }
.tile__times span { color: var(--muted); font-weight: 500; }
.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: center; 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; padding-bottom: 24px; 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; }
.cal-menu { position: relative; display: inline-block; }
.cal-menu > summary { list-style: none; cursor: pointer; }
.cal-menu > summary::-webkit-details-marker { display: none; }
.cal-menu__list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: flex; flex-direction: column; min-width: 210px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(74, 48, 30, 0.16); }
.cal-menu--icon .cal-menu__list { left: auto; right: 0; }
.cal-menu__list a { padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.cal-menu__list a:hover { background: var(--card); }
.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: center; justify-content: center; padding: 24px; 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; clip-path: inset(0 round 26px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);  max-height: 80vh;}
/* Left column as tall as the card, filled with a dark blurred copy of the poster; the 3:4
   poster itself stays in view while a long schedule scrolls. */
.popup__media { position: relative; flex: 1 1 360px; max-width: 400px; display: flex; align-items: center; background: var(--c, var(--clay)); clip-path: inset(0); }
.popup__media::before { content: ''; position: absolute; inset: -40px; background: var(--img, none) center / cover no-repeat; filter: blur(30px) brightness(0.5); }
/* The card is at most 80% of the screen tall; the text column scrolls, the 3:4 poster sits in
   the middle of its column. */
.popup__poster { position: relative; z-index: 1; width: 100%; max-height: 80vh; aspect-ratio: 3 / 4; 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; max-height: 80vh; overflow-y: auto; 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; z-index: 5; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(250, 246, 240, 0.92); color: var(--ink); box-shadow: 0 2px 10px rgba(36, 28, 24, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
/* Focus moves to the button when the popup opens; the ring only for keyboard users. */
.popup__close:focus:not(:focus-visible), .popup__close.no-ring:focus { outline: none; }
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 { position: relative; margin-top: -1px; border-top: 56px solid var(--paper); 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__bottom a { color: inherit; text-underline-offset: 3px; }
.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; clip-path: inset(0 round 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; }
  .row--2 { grid-auto-columns: 320px; }
  .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; }
  /* nowrap: a wrapping column sizes its line to the content and the tabs widen the page. */
  .soon-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; padding: 0; }
  .tabs-row, .quicks { min-width: 0; 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; align-items: flex-start; }
  .popup__card { border-radius: 0; clip-path: none; min-height: 100%; max-height: none; }
  /* Full-screen popup scrolls: the close button stays in the corner, clear of the status bar. */
  .popup__close { position: fixed; top: calc(env(safe-area-inset-top) + 12px); right: 12px; }
  .popup__media { flex: 1 1 100%; max-width: none; }
  .popup__poster { aspect-ratio: auto; min-height: 280px; max-height: none; }
  .popup__poster--empty { min-height: 96px; }
  .popup__body { padding: 24px 16px; max-height: none; overflow: visible; }
  .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); }
/* Cards without a poster are painted in the category colour: the badge goes dark to stay visible. */
.poster:not(:has(img)) .badge:not(.badge--time), .tile__img:not(:has(img)) .badge, .film__poster:not(:has(img)) .badge { background: rgba(28, 20, 18, 0.72); color: var(--paper); box-shadow: none; }
/* Focus returned from the popup by script: no ring for mouse users. */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
.day-later { position: relative; }
.day-later > summary { list-style: none; }
.day-later > summary::-webkit-details-marker { display: none; }
.day-tab--later .day-tab__top { align-items: center; }
.day-tab--later svg { transition: transform 0.15s; }
.day-later[open] .day-tab--later { border-color: var(--ink); }
.day-later[open] .day-tab--later svg { transform: rotate(180deg); }
.day-later__menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 260px; max-height: 60vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(36, 28, 24, 0.18); }
.day-later__menu a { grid-column: 1 / -1; display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.day-later__menu a.is-date { grid-column: auto; font-weight: 500; font-size: 14px; }
.day-later__menu a:hover { background: var(--sand); color: var(--ink); }
@media (max-width: 860px) { .day-later { position: static; } .day-later__menu { left: 16px; right: 16px; min-width: 0; } .soon-head { position: relative; } }
.lang-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 6px; background: var(--sand); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; vertical-align: middle; }
/* Film showtimes: day chips, then cinemas with time buttons. */
.showtimes { display: flex; flex-direction: column; gap: 14px; }
.showtimes__days { display: flex; flex-wrap: wrap; gap: 6px; }
.showtimes__day { display: flex; flex-direction: column; gap: 10px; }
.showtimes__cinema { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.showtimes__name { font-weight: 600; color: var(--ink); text-decoration: none; }
.showtimes__name:hover { color: var(--clay); }
.showtimes__times { display: flex; flex-wrap: wrap; gap: 6px; }
.showtimes__time { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
a.showtimes__time:hover { border-color: var(--clay); color: var(--clay); }
.showtimes__time .lang-tag { margin-left: 2px; }
/* Whole cards are clickable: the title link stretches over the card; buttons sit above it. */
.film, .tile, .mini { position: relative; }
.film__title::after, .tile__title a::after, .mini__title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.go, .film__poster, .tile__img, .mini__date { position: relative; z-index: 2; }
.poster .go { z-index: 2; }
[data-card] { cursor: pointer; }
/* Popup opened instantly from the card while the details load. */
.popup--loading .popup__body > :not(.popup__title):not(.cat-line):not(.popup__skeleton) { display: none; }
.popup__skeleton { display: flex; flex-direction: column; gap: 10px; }
.popup__skeleton span { display: block; height: 14px; border-radius: 7px; background: var(--line); animation: pulse 1.2s ease-in-out infinite; }
.popup__skeleton span:nth-child(2) { width: 70%; }
.popup__skeleton span:nth-child(3) { width: 45%; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .popup__skeleton span { animation: none; } }

/* Sign-in through @idemuzbot and the signed-in user's menu. */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; }
.user-menu__avatar { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; overflow: hidden; background: var(--amber); color: var(--night); font-family: var(--display); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18); }
.user-menu__avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-menu[open] .user-menu__avatar { box-shadow: 0 0 0 2px var(--amber); }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu .cal-menu__list { left: auto; right: 0; }
.user-menu__list button { padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
.user-menu__list button:hover { background: var(--card); }
.login { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(28, 20, 18, 0.66); }
.login__card { position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px 28px; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.login__title { margin: 0; padding-right: 48px; font-family: var(--display); font-size: 24px; line-height: 1.15; }
.login__text { margin: 0; color: var(--body); }
.login__go { align-self: flex-start; }
.login__status { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--muted); }
.login .popup__close { position: absolute; top: 14px; right: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field__input { height: 46px; padding: 0 14px; border: 1.5px solid var(--line-3); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; }
.field__input:focus { outline: none; border-color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--clay); }
.bot-aside { flex: 0 0 360px; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 20px; background: var(--night); color: var(--paper); }
.bot-aside__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.bot-aside__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.bot-aside__copy { margin: 0; font-size: 14px; color: var(--night-muted); }
.bot-aside__list { display: flex; flex-direction: column; gap: 8px; }
.remind-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: var(--paper); font: inherit; text-align: left; cursor: pointer; }
.remind-row[aria-pressed="true"] { border-color: rgba(242, 179, 90, 0.5); background: rgba(242, 179, 90, 0.1); }
.remind-row__box { flex: 0 0 22px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.35); color: transparent; }
.remind-row[aria-pressed="true"] .remind-row__box { background: var(--amber); border-color: var(--amber); color: var(--night); }
.remind-row__box svg { width: 12px; height: 12px; }
.remind-row__text { display: flex; flex-direction: column; gap: 1px; }
.remind-row__label { font-size: 14px; font-weight: 600; }
.remind-row__sub { font-size: 12px; color: var(--night-muted); }
.bot-aside__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 12px; background: var(--amber); color: var(--night); font-weight: 600; text-decoration: none; }
.bot-aside__btn:hover { background: #ffd894; color: var(--night); }
@media (max-width: 860px) { .bot-aside { flex: 1 1 auto; align-self: stretch; } }
.buy-menu { position: relative; display: inline-flex; }
.buy-menu > summary { list-style: none; }
.buy-menu > summary::-webkit-details-marker { display: none; }
/* The menu opens upwards: the chevron points up, and down while it is open. */
.buy-menu > summary svg { transform: rotate(180deg); }
.buy-menu[open] > summary svg { transform: none; }
.buy-menu__list { min-width: 280px; z-index: 40; }
.buy-menu__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.buy-menu__name { font-weight: 600; }
.buy-menu__price { color: var(--muted); font-size: 13px; white-space: nowrap; }
/* The sellers menu opens upwards (in the popup the button sits near the card's clipped edge). */
.buy-menu .buy-menu__list { top: auto; bottom: calc(100% + 6px); }
/* In the row of «Идём» / «Купить билет»: takes the rest of the line, wraps under them when narrow;
   a compact field with a caption under it. */
.share-line { position: relative; display: flex; flex-direction: column; gap: 4px; flex: 1 1 240px; min-width: 0; max-width: 420px; }
.share-line__field { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 7px 12px; border: 1px solid var(--line-3); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.share-line__field:hover { border-color: var(--ink); }
.share-line__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.share-line__phrase { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.share-line__url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.share-line__field svg { flex: 0 0 auto; color: var(--muted); }
.share-line__note { position: absolute; right: 0; bottom: calc(100% + 6px); padding: 3px 9px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; }
/* Showtimes day switch: chips shimmer as placeholders, then the sessions fade in. */
.showtimes__day.is-loading .showtimes__time, .showtimes__day.is-loading .showtimes__name { color: transparent; border-color: transparent; background: var(--line); animation: pulse 0.9s ease-in-out infinite; }
.showtimes__day.is-loading .showtimes__name { display: block; width: min(220px, 60%); border-radius: 6px; }
.showtimes__day.is-loading .lang-tag { visibility: hidden; }
.showtimes__day.is-shown { animation: st-in 0.25s ease; }
@keyframes st-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .showtimes__day.is-loading .showtimes__time, .showtimes__day.is-loading .showtimes__name { animation: none; } .showtimes__day.is-shown { animation: none; } }
/* Showtimes: the cinema's lowest price of the day on the right of its name. */
.showtimes__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.showtimes__price { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
/* Films: the long schedule scrolls under the «Идём / Купить / share» row. */
.actions--sticky { position: sticky; bottom: 0; z-index: 2; margin: 0 -40px 0 -36px; padding: 14px 40px 14px 36px; background: var(--paper); box-shadow: 0 -10px 20px -14px rgba(36, 28, 24, 0.35); }
@media (max-width: 860px) { .actions--sticky { margin: 0 -16px; padding: 12px 16px; } }
/* The sticky row sits on the very bottom edge: the column drops its bottom padding, the footer keeps it. */
.popup__body:has(.actions--sticky) { padding-bottom: 0; }
.popup__body:has(.actions--sticky) .popup__foot { padding-bottom: 28px; }
@media (max-width: 860px) { .popup__body:has(.actions--sticky) .popup__foot { padding-bottom: 24px; } }
.cover--fade { opacity: 0; transition: opacity 0.25s ease; }
.cover--fade.is-loaded { opacity: 1; }
.showtimes__times { position: relative; }
.st-menu { position: absolute; z-index: 30; min-width: 220px; }
.st-menu button { padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.st-menu button:hover { background: var(--card); }
.showtimes__time.is-picked { border-color: var(--amber); background: var(--amber); color: var(--night); }
.showtimes__hint { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(242, 179, 90, 0.18); font-size: 14px; font-weight: 600; }
/* The event page column: the actions row ends where the facts grid does. */
.event-hero__main .actions { max-width: 680px; }
.film-shows { display: flex; flex-direction: row; gap: 14px; align-items: flex-start; }
.film-shows__poster { flex: 0 0 72px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: var(--line); }
.film-shows__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-shows__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

/* Venue page: curated facts (src/venue-info.json). */
.venue-info { display: grid; gap: 20px 28px; margin: 18px 0 30px; max-width: 1080px; }
.venue-info--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.venue-photo { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.venue-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--line); display: block; }
.venue-photo figcaption { font-size: 12px; color: var(--muted); }
.venue-photo figcaption a { color: inherit; }
.venue-info__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.venue-size { font-family: var(--display); font-size: 18px; font-weight: 600; }
.venue-formats { display: flex; flex-wrap: wrap; gap: 6px; }
.venue-formats span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.venue-desc { font-size: 16px; line-height: 1.55; max-width: 64ch; }
.venue-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 20px; margin: 0; }
.venue-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.venue-facts dd { margin: 3px 0 0; font-size: 15px; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.venue-facts a { color: inherit; }
.venue-halls summary { cursor: pointer; font-weight: 600; }
.venue-halls ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-width: 520px; }
.venue-halls li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
@media (max-width: 760px) { .venue-info--photo { grid-template-columns: 1fr; } }

/* IMDb rating (src/lib/imdb.js): IMDb's yellow, on posters and next to the category. */
.imdb-badge { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: #f5c518; color: #000; font-size: 12px; font-weight: 800; letter-spacing: 0.01em; }
.cat-line .imdb-link { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; background: #f5c518; color: #000; font-size: 12px; font-weight: 800; letter-spacing: 0.01em; text-transform: none; }

/* Footer: links to the period pages people search for. */
.footer__popular { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 28px; font-size: 14px; color: var(--night-muted); }
.footer__popular span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__popular a { color: var(--night-muted); text-decoration: none; }
.footer__popular a:hover { color: var(--paper); }

/* «Идём с друзьями»: the inviter's note on /i/<code>/. */
.invite { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--clay); flex-wrap: wrap; }
.invite__face { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--clay); color: var(--card); font-family: var(--display); font-size: 22px; font-weight: 700; }
.invite__face img { width: 100%; height: 100%; object-fit: cover; }
.invite__text { display: flex; flex-direction: column; gap: 3px; flex: 1 1 220px; min-width: 0; }
.invite__text strong { font-size: 18px; font-weight: 600; }
.invite__text span { font-size: 14px; color: var(--muted); }
.invite__text .invite__status { color: var(--ink); font-weight: 600; }
.invite__join { flex: none; }
.imdb-badge--top { top: 12px; right: 12px; bottom: auto; left: auto; height: 28px; font-size: 13px; }

/* Film trailer: a button on the poster; the YouTube player opens over the page on a click. */
.trailer-btn { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px; background: rgba(28, 20, 18, 0.78); color: var(--paper); font-size: 14px; font-weight: 700; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.trailer-btn:hover { background: var(--clay); color: var(--card); }
.trailer-box { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(12, 8, 7, 0.88); }
.trailer-box__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: calc(100vh - 96px); border-radius: 14px; overflow: hidden; background: #000; }
.trailer-box__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-box .popup__close { position: fixed; top: 16px; right: 16px; }

/* Privacy policy and the account links in settings. */
.legal { max-width: 760px; padding-top: 44px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.legal h1 { font-family: var(--display); font-size: 32px; line-height: 1.2; }
.legal h2 { font-size: 20px; margin-top: 18px; }
.legal p { font-size: 16px; line-height: 1.6; }
.login__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.login__links a { color: var(--muted); }
.link-danger { border: 0; background: none; padding: 0; color: var(--rust); font: inherit; cursor: pointer; text-align: right; }
.login__note { font-size: 12px; color: var(--muted); }
.login__note a { color: inherit; }
/* In the popup the trailer button sits under the poster, on the blurred backdrop. */
.popup__media { flex-direction: column; justify-content: center; }
.popup__media .trailer-btn { position: relative; left: auto; bottom: auto; z-index: 1; flex: none; margin: 14px 0; }
