* { box-sizing: border-box; }
body { margin: 0; background: #22252b; font: 16px/1.5 system-ui, sans-serif; }
button, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid #568bff; outline-offset: 3px; }
#preview { container-type: inline-size; }
#site {
  --bg: #100f15; --surface: #1b1924; --text: #fff8f1; --muted: #c4b9cd;
  --accent: #ffc278; --on-accent: #26170e; --line: #413748; --radius: 16px;
  background: var(--bg); color: var(--text); min-height: 100vh;
}
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 92px; padding-block: 8px; }
.brand { display: block; width: 208px; }
.brand img { width: 100%; height: auto; }
.header-phone { display: grid; gap: 4px; color: var(--accent); font-weight: 650; text-align: right; }
.header-phone a { text-decoration: none; }
.desktop-nav { display: flex; justify-content: space-between; gap: 5px clamp(8px, 1.4cqw, 22px); flex-wrap: wrap; }
.desktop-nav a, .menu a { padding: 12px 0; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; }
.desktop-nav a { font-size: clamp(16px, 1.5cqw, 18px); font-weight: 650; }
.desktop-nav a[aria-current], .menu a[aria-current] { color: var(--text); border-color: var(--accent); }
.menu { display: none; }
main { min-height: 58vh; padding-bottom: 40px; }
h1, h2, p { margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5.4cqw, 68px); line-height: .99; letter-spacing: -.055em; overflow-wrap: break-word; margin-block: 14px 26px; }
h2 { font-size: clamp(23px, 3.4cqw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.panel h2 { font-size: 24px; }
.kicker { font-size: 13px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; color: var(--accent); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border-radius: calc(var(--radius) / 2); font-weight: 700; text-decoration: none; }
.primary { background: var(--accent); color: var(--on-accent); }
.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.hero { display: grid; min-height: 410px; align-content: end; isolation: isolate; position: relative; overflow: hidden; border-radius: var(--radius); background: #211918; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #150e17 6%, #150e17f0 26%, #150e1760 54%, #150e1710 85%), var(--hero) center right / 81% auto no-repeat; }
.hero-copy { padding: 38px 38px 20px; }
.hero-copy h1 { font-size: clamp(36px, 5.8cqw, 76px); max-width: 13ch; margin-block: 0 12px; }
.hero-copy > p:not(.kicker) { color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 16px; }
.section-head :is(h1, h2) { margin: 0; }
.tabs, .times { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button, .times :is(button, span) { min-height: 44px; border: 1px solid var(--line); border-radius: calc(var(--radius) / 2); color: var(--text); background: var(--surface); padding: 8px 11px; font-size: 14px; }
.tabs button[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.times :is(button, span) { min-width: 61px; display: grid; text-align: center; padding: 4px 7px; }
.times small { display: block; font-size: 12px; color: var(--muted); }
.times .pushkin-badge {
  justify-self: center;
  margin: 3px 0 1px;
  padding: 2px 7px;
  border: 1px solid #38745a;
  border-radius: 8px;
  background: #173c2d;
  color: #baf1cf;
  font-weight: 650;
  line-height: 1.25;
}
.lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.film, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.film { overflow: hidden; }
.art, .text-button { padding: 0; border: 0; background: none; color: inherit; }
.art { display: block; width: 100%; }
.art img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.film-body { padding: 12px; }
.film-title { display: flex; align-items: start; justify-content: space-between; gap: 6px; min-height: 53px; margin-bottom: 7px; }
.text-button { text-align: left; font-weight: 740; line-height: 1.2; padding-block: 3px; }
.age { white-space: nowrap; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; font-size: 12px; color: var(--muted); }
.rows { grid-template-columns: 1fr; gap: 10px; }
.rows .film { display: grid; grid-template-columns: minmax(115px, 19%) minmax(0, 1fr); align-items: stretch; }
.rows .film-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .85fr); align-items: center; gap: 12px; padding: 12px 18px; }
.rows .film-title { justify-content: start; align-items: center; min-height: 0; margin: 0; }
.rows .text-button { font-size: 19px; }
.rows .art img { height: 100%; }
.panel { padding: clamp(16px, 3cqw, 30px); }
.more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-weight: 650; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.photo { display: block; border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; }
.photos img, .split > .photo:not(.map) img, .story img { aspect-ratio: 4 / 3; object-fit: cover; }
.hall-tabs { justify-content: center; }
.hall { max-width: 760px; margin: 14px auto 0; }
.hall .photo { max-width: 650px; margin-inline: auto; }
.hall figcaption { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.hall figcaption img { width: 24px; }
.story { padding: 0; overflow: hidden; }
.story img { aspect-ratio: 16 / 8; }
.story > div { padding: 16px; }
.narrow { max-width: 680px; }
.contact { display: grid; justify-items: start; gap: 7px; }
.contact h2, .contact p { margin-bottom: 3px; }
.contact .secondary { margin-top: 8px; }
.film-detail { width: 100%; border-radius: var(--radius); }
.film-detail + .panel h2 { margin-top: 10px; }
.film-detail + .panel .times { margin-top: 12px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 14px; }
.footer p { margin: 4px 0 0; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

@container (max-width: 1000px) {
  .lineup:not(.rows) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 761px) and (max-width: 900px) {
  .desktop-nav { width: calc(100% - 32px); column-gap: 6px; }
  .desktop-nav a { font-size: 15px; }
}
@container (max-width: 760px) {
  .desktop-nav, .header-phone, .header-location { display: none; }
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 72px; }
  .brand { width: 178px; }
  .menu { display: block; }
  .menu summary { padding: 9px 0 9px 9px; cursor: pointer; font-weight: 650; }
  .menu nav { position: absolute; z-index: 2; right: 18px; left: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
  .hero-copy { padding: 20px; }
  .hero-copy h1 { font-size: clamp(32px, 8cqw, 55px); }
  .section-head { align-items: flex-start; }
  .rows .film-body { grid-template-columns: 1fr; gap: 8px; }
  .rows .art img { height: auto; }
  .art .schedule-art img { aspect-ratio: 2 / 3; object-fit: contain; background: var(--bg); }
  .rows .art:has(.schedule-art) { position: relative; align-self: stretch; margin-top: 0; }
  .rows .schedule-art { display: block; aspect-ratio: 2 / 3; }
  .rows .art .schedule-art img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
}
@container (max-width: 480px) {
  .wrap { width: calc(100% - 28px); }
  .demo { font-size: 12px; }
  .brand { width: 132px; }
  h1 { margin-bottom: 16px; }
  .hero-copy { padding: 17px; }
  .hero-copy .kicker { font-size: 11px; }
  .lineup, .photos { gap: 8px; }
  .film-body { padding: 7px; }
  .film-title { min-height: 55px; }
  .text-button { font-size: 14px; }
  .times { gap: 4px; }
  .times :is(button, span) { min-width: 43px; padding-inline: 3px; }
  .rows .film { grid-template-columns: 92px minmax(0, 1fr); }
  .rows .film-body { padding: 8px; }
  .rows .text-button { font-size: 16px; }
  .rows .art { align-self: start; margin-top: 9px; }
  .split { grid-template-columns: 1fr; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { display: grid; }
}
.upcoming .film-title { min-height: 0; margin: 0; }
.header-location { color: var(--text); font-weight: 650; }
.header-location small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.actions button, .feature-review button { border: 0; }
.hero-link { color: #fff8f1; text-underline-offset: 4px; font-weight: 700; }
.features { display: flex; gap: 8px; padding: 0 38px 23px; }
.features button { width: min(94px, 24%); padding: 0; border: 2px solid #ffffff45; border-radius: 6px; overflow: hidden; background: #150e17; }
.features button[aria-pressed="true"] { border-color: var(--accent); }
.features img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.cinebar { display: block; color: var(--accent); font-size: 12px; }
.feature-review { background: linear-gradient(130deg, #2d2028, var(--surface)); }
.archived, .schedule-note, .film-info { margin-top: 18px; }
.booking-note { margin-block: 14px 10px; color: var(--muted); }
.times .selected-slot { border-color: var(--accent); }
#lightbox { color: #fff8f1; max-width: min(96vw, 1000px); max-height: 95vh; border: 1px solid #675970; border-radius: 12px; background: #1b1924; padding: 12px; }
#lightbox::backdrop { background: #09070bd9; }
#lightbox form { display: flex; justify-content: end; margin-bottom: 8px; }
#lightbox button { color: inherit; background: #34303e; border: 1px solid #675970; border-radius: 6px; min-height: 44px; padding-inline: 12px; }
#lightbox img { max-height: 76vh; object-fit: contain; }
@container (max-width: 760px) {
  .hero { min-height: 350px; }
  .hero::before { background: linear-gradient(0deg, #150e17 18%, #150e17ed 35%, #150e1730 76%), var(--hero) center top / 100% auto no-repeat; }
  .features { padding: 0 17px 15px; }
}
@container (max-width: 480px) {
  .hero { min-height: 320px; }
  .tabs { gap: 4px; }
  .tabs button { padding-inline: 9px; }
}
main { padding-top: 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-slide { position: relative; min-height: 335px; display: flex; align-items: end; isolation: isolate; }
.hero-slide > img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 81%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#150e17 10%,#150e17ed 30%,#150e1755 70%,#150e1711); }
.hero-title { font-size: clamp(36px, 5.8cqw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 800; overflow-wrap: anywhere; max-width: 13ch; }
.hero::before { display: none; }
.features { flex-wrap: wrap; }
.features button { min-height: 44px; }
.times .slot { min-height: 44px; min-width: 56px; display: grid; text-align: center; padding: 4px 7px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 14px; }
.times :is(.slot, button):hover { border-color: var(--accent); }
.text-button { text-decoration: none; }
.text-button:hover { text-decoration: underline; }
.rows .film-body:first-child { grid-column: 1 / -1; }
.ticket { border: 0; margin-top: 12px; }
.news-list { display: grid; gap: 12px; margin-top: 20px; }
.rich-content { overflow-wrap: anywhere; overflow-x: auto; }
.rich-content img { height: auto; }
.advert { margin-top: 20px; width: fit-content; }
.advert img { max-height: 300px; object-fit: contain; }
.film-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; }
.film-meta dt { color: var(--muted); }
.film-meta dd { margin: 0; }
.trailer { border: 0; display: block; width: min(100%, 760px); aspect-ratio: 16/9; }
@container (max-width: 760px) {
  .hero-slide { min-height: 250px; }
  .hero-slide > img { width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; }
  .hero-slide::after { background: linear-gradient(0deg, #150e17 12%, #150e17e6 32%, #150e1770 65%, #150e1722); }
  .hero-title { font-size: clamp(32px, 8cqw, 55px); }
  .features button { width: min(60px, 22%); }
}
@container (max-width: 480px) {
  .times .slot { min-width: 43px; padding-inline: 3px; }
  .tabs :is(.primary, .secondary) { font-size: 14px; padding-inline: 9px; }
}
.hero-empty { min-height: 160px; place-content: center; text-align: center; }

.feature-review { margin-top: 24px; }
.visit-section, .news-section { margin-top: clamp(26px, 5cqw, 52px); }
.visit-section .section-head, .news-section .section-head { margin-top: 0; }
.notice-grid, .news-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.visit-card, .news-card { padding: clamp(16px, 2cqw, 23px); overflow-wrap: anywhere; }
.visit-card { background: linear-gradient(155deg, #2a202a, var(--surface) 80%); }
.visit-card::before { content: ''; display: block; width: 27px; height: 3px; border-radius: 9px; background: var(--accent); margin-bottom: 14px; }
.visit-card h3, .news-card h3 { font-size: 18px; line-height: 1.25; margin: 0 0 8px; }
.visit-card p, .news-card p:last-child { color: var(--muted); margin-bottom: 0; }
.food-policy {
  margin-block-end: 12px;
  border-color: #805845;
  background: linear-gradient(145deg, #392721, #2b2026);
}
.food-policy h3 { color: var(--accent); }
.food-policy p { color: #eeddd7; }
.pushkin-policy {
  margin-block-end: 12px;
  border-color: #375647;
  background: linear-gradient(145deg, #20352c, var(--surface));
}
.pushkin-policy::before { background: #8dd7ab; }
.pushkin-policy h3 { color: #baf1cf; }
.news-card { border-left: 3px solid #9e82bb; background: linear-gradient(155deg, #251e31, var(--surface) 85%); }
.news-card h3 a { color: #f5dafa; text-decoration-color: #a68bbc; text-underline-offset: 4px; }
.news-card h3 a:hover { color: var(--accent); }
.session-info { margin-top: 20px; border: 1px solid #614738; border-radius: 12px; background: #241b22; overflow: hidden; }
.session-info summary { color: var(--accent); cursor: pointer; font-weight: 700; padding: 12px 14px; }
.session-info[open] summary { background: #32232a; border-bottom: 1px solid #614738; }
.session-info-content { padding: 12px 14px; color: var(--muted); }
.session-info-content ul { display: grid; gap: 8px; padding-inline-start: 20px; margin: 0; }
.session-info-content li::marker, .session-info-content strong { color: var(--accent); }
.session-organizer { margin: 12px 0 0; padding: 10px 12px; border-left: 2px solid #b497ca; border-radius: 0 7px 7px 0; background: #302538; }
.bottom-notice { position: fixed; z-index: 10; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(720px, calc(100vw - 24px)); max-height: min(50vh, 300px); overflow: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px 22px; border: 1px solid #725440; border-radius: var(--radius); padding: 16px 20px; background: #211925; box-shadow: 0 10px 36px #000a; }
.bottom-notice h2 { color: var(--accent); font-size: 19px; margin: 0 0 5px; }
.bottom-notice p { color: var(--muted); font-size: 14px; margin: 0; }
.bottom-notice a { color: var(--text); text-underline-offset: 3px; }
.bottom-notice .primary { border: 0; }
.has-cookie-notice .footer { padding-bottom: 170px; }
@container (max-width: 850px) {
  .notice-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 520px) {
  .notice-grid, .news-grid { grid-template-columns: 1fr; }
  .bottom-notice { align-items: stretch; flex-direction: column; padding: 14px; }
  .bottom-notice button { width: 100%; }
  .has-cookie-notice .footer { padding-bottom: 225px; }
}

.vacancies { max-width: 960px; }
.vacancy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vacancy-card { border-top: 2px solid var(--accent); background: linear-gradient(145deg, #2a202b, var(--surface) 75%); overflow-wrap: anywhere; }
.vacancy-card h3 { margin: 0 0 14px; font-size: clamp(20px, 2.4cqw, 26px); line-height: 1.25; }
.vacancy-card p { color: var(--muted); margin-bottom: 8px; }
.vacancy-phone { color: var(--accent); font-variant-numeric: tabular-nums; }
.vacancy-phone:hover { border-color: var(--accent); }
@container (max-width: 640px) {
  .vacancy-grid { grid-template-columns: 1fr; }
}

.install-notice { border-color: #80689a; }
.install-notice strong { color: var(--text); }
.install-actions { display: grid; flex-shrink: 0; gap: 8px; }
.has-install-notice .footer { padding-bottom: var(--install-notice-space, 200px); }
@container (max-width: 520px) {
  .install-actions { display: flex; gap: 8px; }
}

.times .slot-past, .times .slot-past:hover {
  border-color: var(--line);
  background: #221e29;
  color: var(--muted);
}
.times .slot-past strong { text-decoration: line-through; }
@container (max-width: 760px) {
  .home-page .slot-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.schedule-page .film { position: relative; }
.schedule-page .film-body { padding-inline-end: 54px; }
.schedule-page .film-title > div { min-width: 0; overflow-wrap: anywhere; }
.schedule-page .film-title .age {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  background: var(--surface);
}
.schedule-page .film-title .age-adult {
  border-color: #e56c77;
  background: #821f30;
  color: #fff5f6;
  font-weight: 700;
}

html.pwa-standalone, .pwa-standalone body {
  scrollbar-width: none;
  overscroll-behavior-y: none;
  touch-action: pan-x pan-y;
}
html.pwa-standalone::-webkit-scrollbar, .pwa-standalone body::-webkit-scrollbar {
  display: none;
}

.pwa-standalone .site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
}
.pwa-standalone #showtimes { scroll-margin-block-start: 160px; }
@container (max-width: 760px) {
  .pwa-standalone #showtimes { scroll-margin-block-start: 88px; }
}

.pwa-standalone .navigation-progress {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  height: 3px;
  z-index: 3;
  overflow: hidden;
  background: var(--line);
  pointer-events: none;
}
.pwa-standalone .navigation-progress::before {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: navigation-progress 1.15s ease-in-out infinite;
}
@keyframes navigation-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-standalone .navigation-progress::before { animation: none; width: 100%; }
}

.film-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 16px; }
.film-share { margin-inline-start: auto; min-width: 44px; padding: 0; color: var(--accent); }
.film-share:hover { border-color: var(--accent); }
.share-dialog {
  --surface: #221b2b;
  --text: #fff8f1;
  --muted: #c4b9cd;
  --line: #4d3d59;
  --accent: #ffc278;
  --on-accent: #26170e;
  --radius: 16px;
  width: min(440px, calc(100% - 28px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 54px #0009;
}
.share-dialog::backdrop { background: #09070bbd; }
.share-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.share-dialog-header h2 { font-size: clamp(22px, 5vw, 29px); margin: 0; }
.share-close { min-width: 44px; padding: 0; font-size: 24px; }
.share-film-name { color: var(--muted); margin: 8px 0 18px; overflow-wrap: anywhere; }
.share-targets { display: grid; gap: 8px; }
.share-messengers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  margin-block-end: 8px;
}
.share-messenger { display: grid; place-items: center; border-radius: 16px; }
.share-messenger img { width: 52px; height: 52px; object-fit: contain; }
.share-messenger:hover { outline: 2px solid #77638c; outline-offset: 4px; }
.share-messenger.share-max { background: #302345; border: 1px solid #6d4eb2; padding: 5px; border-radius: 22px; }
.share-messenger.share-max img { width: 80px; height: 80px; }
.share-targets .primary { border: 0; }
.share-targets [data-copy-share]:disabled {
  background: #345341;
  color: #dbf4e4;
  cursor: default;
}
.share-feedback { margin: 10px 0 0; color: var(--muted); }
.share-url { margin-top: 10px; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; color: var(--text); background: var(--surface); }
@media (max-width: 520px) {
  .share-dialog { margin: auto auto max(12px, env(safe-area-inset-bottom)); }
}
