/* ============================================================
   cinema.css — the cinema program (/cinemas/) and its film panel.
   Values follow the "eventail.bg кино" design: desktop at 1440px, phone at
   390px (<= 720px here). Everything is scoped to .cin.
   ============================================================ */

.cin {
  --cin-ink: #1b1b24;
  --cin-ink-2: #3c3450;
  --cin-muted: #5b5070;
  --cin-soft: #6e6388;
  --cin-brand: #6b3bb5;
  --cin-focus: #8f4ad8;
  --cin-tint: #f4effb;
  --cin-tint-2: #ece3fa;
  --cin-line: #e3d9f2;
  --cin-line-2: #efeaf6;
  --cin-bg: #f6f5f9;
  --cin-num: "Space Grotesk", Montserrat, system-ui, sans-serif;
  background: var(--cin-bg);
  color: var(--cin-ink);
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* As low as a bare `a` selector, so every class below sets its own link colour. */
:where(.cin) a { color: inherit; text-decoration: none; }
.cin a:focus-visible,
.cin button:focus-visible,
.cin select:focus-visible { outline: 2px solid var(--cin-focus); outline-offset: 2px; }

.cin-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cin-ico { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cin-ico--b22 { stroke-width: 2.2; }
.cin-ico--b24 { stroke-width: 2.4; }
.cin-ico--b25 { stroke-width: 2.5; }

.cin-wrap { max-width: 1440px; margin: 0 auto; padding: 22px 56px 56px; box-sizing: border-box; }

/* ---- Heading ---- */

.cin-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  font-size: 13px; line-height: 16px; font-weight: 600; color: var(--cin-muted);
}
.cin-back:hover { color: var(--cin-brand); }

.cin-intro { max-width: 720px; margin-top: 8px; }
.cin-h1 { margin: 0; font-size: 34px; line-height: 40px; font-weight: 900; letter-spacing: -0.01em; color: var(--cin-ink); }
.cin-lead { margin: 6px 0 0; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--cin-muted); }

/* ---- Filters ---- */

.cin-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  margin-top: 20px; padding: 12px; border-radius: 20px; background: #ffffff;
  box-shadow: 0 18px 40px rgba(43, 31, 68, 0.08);
}

.cin-days { display: flex; gap: 6px; }

.cin-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 76px; height: 52px; padding: 0; box-sizing: border-box;
  border: 1px solid var(--cin-line); border-radius: 12px; background: #ffffff;
}
.cin-day:hover { border-color: #b99be8; }
.cin-day__top { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--cin-ink); }
.cin-day__sub { font-size: 12px; line-height: 15px; font-weight: 500; color: var(--cin-soft); }
.cin-day[aria-current] { background: var(--cin-brand); border-color: var(--cin-brand); }
.cin-day[aria-current]:hover { border-color: var(--cin-brand); }
.cin-day[aria-current] .cin-day__top { color: #ffffff; }
.cin-day[aria-current] .cin-day__sub { color: #e4d7ff; }

.cin-where { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cin-place { display: flex; align-items: center; gap: 8px; margin: 0; }

.cin-select {
  position: relative; display: flex; align-items: center; height: 44px; box-sizing: border-box;
  border: 1px solid var(--cin-line); border-radius: 12px; background: #ffffff; color: var(--cin-brand);
}
.cin-select:hover { border-color: #b99be8; }
.cin-select__pin { position: absolute; left: 12px; top: 13px; pointer-events: none; }
.cin-select__chev { position: absolute; right: 12px; top: 13px; stroke: #6e6388; pointer-events: none; }
.cin-select select {
  -webkit-appearance: none; appearance: none;
  height: 42px; margin: 0; padding: 0 36px; border: none; border-radius: 12px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--cin-ink); cursor: pointer; outline: none;
}
.cin-select select:focus-visible { outline: 2px solid var(--cin-focus); outline-offset: 2px; }
.cin-select select:disabled { cursor: progress; opacity: 0.7; }

/* The place menu (cinema.js): a button and a list in place of the select's face. */
.cin-select.is-menu select { display: none; }
.cin-select.is-open { border-color: var(--cin-brand); }
.cin-select.is-open .cin-select__chev { transform: rotate(180deg); }
.cin-select__button {
  display: block; height: 42px; margin: 0; padding: 0 36px; border: none; border-radius: 12px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 700; line-height: 42px; color: var(--cin-ink); text-align: left;
  white-space: nowrap; cursor: pointer; outline: none;
}
.cin-select__button:focus-visible { outline: 2px solid var(--cin-focus); outline-offset: 2px; }
.cin-menu {
  position: absolute; top: calc(100% + 6px); right: -1px; z-index: 30; box-sizing: border-box;
  min-width: calc(100% + 2px); max-height: min(380px, 60vh); overflow-y: auto; margin: 0; padding: 6px;
  list-style: none; background: #ffffff; border: 1px solid var(--cin-line); border-radius: 14px;
  box-shadow: 0 2px 6px rgba(43, 31, 68, 0.08), 0 18px 40px rgba(43, 31, 68, 0.16); outline: none;
}
.cin-menu[hidden] { display: none; }
.cin-menu__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 10px 9px 12px;
  border-radius: 9px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--cin-ink);
  white-space: nowrap; cursor: pointer;
}
.cin-menu__opt.is-active { background: var(--cin-tint); color: var(--cin-brand); }
.cin-menu__opt[aria-selected="true"] { font-weight: 800; color: var(--cin-brand); }
.cin-menu__check { flex: none; stroke: var(--cin-brand); visibility: hidden; }
.cin-menu__opt[aria-selected="true"] .cin-menu__check { visibility: visible; }
.cin-menu__rule { height: 1px; margin: 6px 6px; background: var(--cin-line); }

.cin-go {
  height: 44px; padding: 0 16px; border: none; border-radius: 12px; background: var(--cin-tint);
  color: var(--cin-brand); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}

.cin-hint { flex-basis: 100%; margin: 0; padding: 0 4px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cin-muted); }
.cin-hint[hidden] { display: none; }
.cin.is-opening,
.cin.is-opening a { cursor: progress; }
.cin-panel.is-busy .cin-drawer__body { opacity: 0.55; transition: opacity 0.15s ease; }

.cin-radius { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--cin-tint); }
.cin-radius__opt {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 14px; border-radius: 9px; box-sizing: border-box;
  font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--cin-muted);
}
.cin-radius__opt:not([aria-current]):hover { color: var(--cin-ink-2); }
.cin-radius__opt[aria-current] { background: #ffffff; color: var(--cin-brand); box-shadow: 0 1px 3px rgba(60, 30, 110, 0.16); }

/* ---- Sections ---- */

.cin-section { margin-top: 36px; scroll-margin-top: calc(var(--header-h, 72px) + 12px); }
.cin-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.cin-section__titles { min-width: 0; }
.cin-eyebrow {
  margin: 0; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cin-brand);
}
.cin-h2 { margin: 4px 0 0; font-size: 24px; line-height: 30px; font-weight: 800; color: var(--cin-ink); }
.cin-h2__count { font-weight: 600; color: var(--cin-soft); }
.cin-section__note {
  margin: 0; max-width: 640px; font-size: 13px; line-height: 18px; font-weight: 600;
  color: var(--cin-muted); text-align: right;
}

.cin-section--others { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e3dcee; }
.cin-h2--others { margin: 0; font-size: 20px; line-height: 26px; }

.cin-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; }
.cin-grid--others { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 16px; }

.cin-empty {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px; border-radius: 20px; background: #ffffff;
}
.cin-empty__title { margin: 0; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--cin-ink); }
.cin-empty__text { margin: 4px 0 0; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--cin-muted); }

.cin-btn-soft {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; height: 44px; padding: 0 18px; border: none; border-radius: 12px; box-sizing: border-box;
  background: var(--cin-tint); color: var(--cin-brand);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cin-btn-soft:hover { background: var(--cin-tint-2); }

.cin-btn-text {
  height: 36px; padding: 0 10px; border: none; border-radius: 8px; background: transparent;
  color: var(--cin-brand); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.cin-btn-text:hover { background: var(--cin-tint-2); }

/* ---- Posters: the image over a typographic tile ---- */

.cin-post {
  position: relative; aspect-ratio: 2 / 3; box-sizing: border-box; padding: 14px 14px 16px;
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 1px 2px rgba(43, 31, 68, 0.06), 0 12px 28px rgba(43, 31, 68, 0.1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.cin-post::after {
  content: ""; position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px;
  border: 1px solid currentColor; border-radius: 8px; opacity: 0.2; pointer-events: none;
}
.cin-post.has-img::after { display: none; }
.cin-post__img {
  position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%;
  object-fit: cover; background: transparent;
}
.cin-post__tag {
  position: relative; font-size: 10.5px; line-height: 14px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.85;
}
.cin-post__title {
  position: relative; font-weight: 900; text-transform: uppercase; line-height: 1.02;
  letter-spacing: -0.01em; overflow-wrap: break-word;
}
.cin-post__ini { display: none; }
.cin-fs-xl { font-size: 26px; }
.cin-fs-l { font-size: 22px; }
.cin-fs-m { font-size: 19px; }
.cin-fs-s { font-size: 15px; }

.cin-post--small { padding: 10px 10px 12px; border-radius: 12px; }
.cin-post--small .cin-post__tag { font-size: 9px; line-height: 12px; }
.cin-post--small .cin-fs-xl { font-size: 20px; }
.cin-post--small .cin-fs-l { font-size: 16.5px; }
.cin-post--small .cin-fs-m { font-size: 14.5px; }
.cin-post--small .cin-fs-s { font-size: 12.5px; }

.cin-tone-horror { background: #241a33; color: #f3ecff; }
.cin-tone-thrill { background: #17222d; color: #e6f0f7; }
.cin-tone-action { background: #c8463b; color: #ffffff; }
.cin-tone-anim { background: #ffcf5c; color: #2a1d0a; }
.cin-tone-comedy { background: #ff9f43; color: #2a1505; }
.cin-tone-romance { background: #f4b6c8; color: #4a1530; }
.cin-tone-drama { background: #2e5e8c; color: #ffffff; }
.cin-tone-doc { background: #2f7d5b; color: #ffffff; }
.cin-tone-other { background: #8f4ad8; color: #ffffff; }

/* ---- Film tiles ---- */

.cin-film,
.cin-other { position: relative; display: flex; flex-direction: column; min-width: 0; }
.cin-film:hover .cin-post,
.cin-other:hover .cin-post {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(43, 31, 68, 0.08), 0 22px 40px rgba(43, 31, 68, 0.18);
}
.cin-film:hover .cin-film__link,
.cin-other:hover .cin-film__link { color: var(--cin-brand); }

/* A long title shrinks to fit the tile on one line (down to a floor; past it, it
   wraps), so titles of a row stay level without leaving gaps. --cin-len is the
   title's length in characters, and a capital is about 0.75em wide in this font;
   cinema.js then corrects that estimate from the title's measured width.
   --cin-title-min is the floor, read by cinema.js too. */
.cin-film { container-type: inline-size; }
.cin-film__title {
  --cin-title-min: 12px;
  margin: 12px 0 0; font-size: clamp(var(--cin-title-min), calc(100cqi / (var(--cin-len, 20) * 0.75)), 15px); line-height: 1.33;
  font-weight: 800; color: var(--cin-ink);
}
.cin-film__probe { position: absolute; width: max-content; visibility: hidden; white-space: nowrap; pointer-events: none; }
.cin-film__link {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cin-film__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.cin .cin-film__link:focus-visible { outline: none; }
.cin-film:has(.cin-film__link:focus-visible),
.cin-other:has(.cin-film__link:focus-visible) { outline: 3px solid var(--cin-focus); outline-offset: 4px; border-radius: 16px; }

.cin-film__genres {
  margin: 3px 0 0; font-size: 12.5px; line-height: 17px; font-weight: 500; color: var(--cin-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cin-film__where {
  margin: 8px 0 0; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--cin-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.cin-trow { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 10px; }
.cin-trow .cin-chip { flex: 1 1 0; min-width: 0; padding: 0 4px; }
/* Tiles of a grid row are equally tall; pushing the showtimes to the bottom lines
   them up across the row while a one-line title keeps its genres right under it. */
.cin-film__foot { margin-top: auto; padding-top: 10px; }
.cin-film__foot .cin-trow { margin-top: 0; }

.cin-chip {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 36px; min-width: 58px; padding: 0 10px; box-sizing: border-box;
  border: 1px solid #d9ccf0; border-radius: 10px; background: #ffffff; color: #4b2a8a;
  font-family: var(--cin-num); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cin a.cin-chip:hover { background: var(--cin-brand); border-color: var(--cin-brand); color: #ffffff; }
.cin-chip.is-past { border-color: transparent; background: #efecf4; color: #8a829e; text-decoration: line-through; }
.cin-chip__tag {
  font-family: Montserrat, system-ui, sans-serif; font-size: 10px; line-height: 12px; font-weight: 700;
  letter-spacing: 0.02em; opacity: 0.75; text-decoration: none;
}

.cin-more {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  flex: none; height: 36px; padding: 0 8px; box-sizing: border-box;
  border: 1px dashed #c9b7ea; border-radius: 10px; background: transparent;
  color: var(--cin-brand); font-size: 13px; font-weight: 700;
}
.cin-more:hover { background: var(--cin-tint); }
.cin-more__narrow,
.cin-more--phone { display: none; }

/* ---- Small tiles (other towns) ---- */

.cin-other__title { margin: 10px 0 0; font-size: 13px; line-height: 17px; font-weight: 800; color: var(--cin-ink); }
.cin-other__body { min-width: 0; }
.cin-other__nearest { margin: 3px 0 0; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--cin-muted); }
.cin-other__towns { margin: 1px 0 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--cin-soft); }
.cin-other__chev { display: none; }

/* ---- Loading ---- */

@keyframes cin-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.cin-skeleton { display: none; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; margin-top: 40px; }
.cin.is-locating .cin-skeleton,
.cin.is-loading .cin-skeleton { display: grid; }
.cin.is-locating [data-cin-region="results"],
.cin.is-loading [data-cin-region="results"] { display: none; }
.cin-sk-tile { display: flex; flex-direction: column; gap: 10px; }
.cin-sk { background: #ebe6f3; animation: cin-pulse 1.4s ease-in-out infinite; }
.cin-sk--poster { aspect-ratio: 2 / 3; border-radius: 14px; }
.cin-sk--line { height: 14px; width: 80%; border-radius: 6px; }
.cin-sk--chips { height: 36px; width: 70%; border-radius: 10px; }
.cin-sk-tile:nth-child(2) .cin-sk { animation-delay: 100ms; }
.cin-sk-tile:nth-child(3) .cin-sk { animation-delay: 200ms; }
.cin-sk-tile:nth-child(4) .cin-sk { animation-delay: 300ms; }
.cin-sk-tile:nth-child(5) .cin-sk { animation-delay: 400ms; }
.cin-sk-tile:nth-child(6) .cin-sk { animation-delay: 500ms; }

.cin-failed {
  margin: 40px 0 0; padding: 24px; border-radius: 16px; background: #ffffff;
  font-size: 15px; line-height: 22px; font-weight: 600; color: var(--cin-ink);
}

/* ---- Film panel: a drawer over the program ---- */

html:has(.cin-panel) { overflow: hidden; scrollbar-gutter: stable; }

.cin-scrim {
  position: fixed; inset: 0; z-index: 200; display: block;
  background: rgba(27, 20, 42, 0.42); cursor: pointer;
}
.cin-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 600px; max-width: 100%; display: flex; flex-direction: column;
  background: #ffffff; box-shadow: -24px 0 60px rgba(27, 18, 48, 0.22);
}
@keyframes cin-slidein { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cin-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes cin-sheetin { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.cin-panel.is-entering .cin-drawer { animation: cin-slidein 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.cin-panel.is-entering .cin-scrim { animation: cin-fadein 0.2s ease both; }

.cin-drawer__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px 12px 32px; border-bottom: 1px solid var(--cin-line-2);
}
.cin-drawer__label {
  margin: 0; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cin-soft);
}
.cin-drawer__x,
.cin-drawer__back {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 12px;
  background: transparent; color: var(--cin-ink-2);
}
.cin-drawer__x:hover,
.cin-drawer__back:hover { background: var(--cin-tint); }
.cin-drawer__back { display: none; }
.cin-drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px 40px; }

.cin-pf { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 22px; align-items: start; }
.cin-pf > .cin-post { grid-row: 1 / span 2; }
.cin-pf__info,
.cin-pf__about { grid-column: 2; min-width: 0; }

.cin-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cin-pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--cin-tint); color: var(--cin-brand); font-size: 12px; line-height: 14px; font-weight: 700;
}
.cin-pf__title {
  margin: 10px 0 0; font-size: 26px; line-height: 31px; font-weight: 900; letter-spacing: -0.01em;
  color: var(--cin-ink); overflow-wrap: break-word;
}
.cin-pf__title:focus { outline: none; }
.cin-pf__meta { margin: 6px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cin-ink-2); }
.cin-pf__stats { margin: 6px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--cin-muted); }
.cin-pf__meta + .cin-pf__stats { margin-top: 2px; }
.cin-pf__desc { margin: 12px 0 0; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--cin-ink-2); }
.cin-pf__more { margin-top: 12px; }
.cin-pf__details { margin: 0; }
.cin-pf__details div + div { margin-top: 8px; }
.cin-pf__details dt { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--cin-soft); }
.cin-pf__details dd { margin: 1px 0 0; font-size: 13.5px; line-height: 19px; font-weight: 500; color: var(--cin-ink-2); }
.cin-pf__trailer {
  display: inline-flex; align-items: center; min-height: 36px; margin-top: 6px;
  font-size: 13px; font-weight: 700; color: var(--cin-brand);
}
.cin-pf__trailer:hover { text-decoration: underline; }
.cin-pf__fold { margin: 4px 0 0 -10px; }
.cin:not(.cin-js) .cin-pf__fold { display: none; }
.cin-js .cin-pf__about.is-foldable:not(.is-open) .cin-pf__desc {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.cin-js .cin-pf__about.is-foldable:not(.is-open) .cin-pf__more { display: none; }

.cin-pdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 26px; }
.cin-day--count { width: auto; height: 62px; padding: 0 2px; min-width: 0; }
.cin-day--count .cin-day__top { line-height: 16px; }
.cin-day--count .cin-day__sub { font-size: 11.5px; line-height: 14px; }
.cin-day__count { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--cin-soft); white-space: nowrap; }
.cin-day--count.has-near .cin-day__count { color: var(--cin-brand); }
.cin-day--count[aria-current] .cin-day__count { color: #e4d7ff; }

.cin-h3 { margin: 0; font-size: 17px; line-height: 22px; font-weight: 800; color: var(--cin-ink); }

.cin-pnear { margin-top: 26px; }
.cin-pnear__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cin-pnear__scope { margin: 0; font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--cin-muted); text-align: right; }

.cin-crows { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding: 6px; border-radius: 18px; background: var(--cin-tint); }
.cin-crow { padding: 14px 14px 16px; border-radius: 14px; background: #ffffff; }
.cin-crow__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cin-crow__name { margin: 0; font-size: 15px; line-height: 20px; font-weight: 800; color: var(--cin-ink); }
.cin-crow__where { margin: 0; flex: none; font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--cin-muted); }
.cin-crow__prov { margin: 10px 0 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--cin-soft); }

.cin-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.cin-pempty { margin-top: 12px; padding: 18px 18px 18px 20px; border-radius: 18px; background: var(--cin-tint); }
.cin-pempty__text { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--cin-ink); }
.cin-pempty__go { margin-top: 10px; height: 40px; padding: 0 14px; border-radius: 10px; background: #ffffff; font-size: 13px; }
.cin-pempty__go:hover { background: var(--cin-tint-2); }

.cin-ptowns { margin-top: 28px; }
.cin-towns { margin-top: 8px; border-top: 1px solid var(--cin-line-2); }
.cin-town { border-bottom: 1px solid var(--cin-line-2); }
.cin-town__h { margin: 0; font: inherit; }
.cin-town__btn {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px; box-sizing: border-box;
  border: none; background: transparent; font: inherit; text-align: left; cursor: pointer; color: inherit;
}
.cin-town__btn:hover { background: #faf8fd; }
.cin-town__text { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.cin-town__name { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--cin-ink); }
.cin-town__meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--cin-muted); }
.cin-town__sep { display: none; }
.cin-town__count { width: 118px; text-align: right; color: var(--cin-brand); }
.cin-town__chev { color: var(--cin-soft); transition: transform 0.2s ease; }
.cin-town.is-open .cin-town__chev { transform: rotate(180deg); }
.cin-town__body { display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 18px; }
.cin-js .cin-town:not(.is-open) .cin-town__body { display: none; }
.cin:not(.cin-js) .cin-town__chev { display: none; }
.cin-town__cname { margin: 0; font-size: 13.5px; line-height: 18px; font-weight: 700; color: var(--cin-ink-2); }
.cin-town__cinema .cin-chips { margin-top: 8px; }

.cin-perror {
  margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: #fdeeee;
  font-size: 14px; line-height: 20px; font-weight: 700; color: #8a1f1f;
}
.cin-pnone { margin: 20px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cin-muted); }
.cin-pfoot { margin: 28px 0 0; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--cin-soft); }

/* ---- In between ---- */

@media (max-width: 1280px) {
  .cin-wrap { padding: 22px 40px 56px; }
  .cin-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cin-grid--others { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cin-skeleton { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cin-sk-tile:nth-child(n + 6) { display: none; }
}

@media (max-width: 1100px) {
  .cin-wrap { padding: 22px 32px 48px; }
  .cin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cin-grid--others { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cin-skeleton { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cin-sk-tile:nth-child(n + 5) { display: none; }
}

@media (max-width: 900px) {
  .cin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cin-grid--others { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cin-skeleton { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cin-sk-tile:nth-child(n + 4) { display: none; }
  .cin-section__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cin-section__note { text-align: left; }
}

/* ---- Phone ---- */

@media (max-width: 720px) {
  .cin-wrap { padding: 12px 20px 32px; }
  .cin-back { min-height: 44px; }
  .cin-intro { margin-top: 0; }
  .cin-h1 { font-size: 28px; line-height: 34px; }
  .cin-lead { margin-top: 4px; font-size: 13px; line-height: 19px; }

  .cin-filters { display: block; margin-top: 16px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .cin-days,
  .cin-pdays {
    display: flex; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cin-days::-webkit-scrollbar,
  .cin-pdays::-webkit-scrollbar { display: none; }
  .cin-day { flex: none; width: 64px; }
  .cin-day--count { width: 72px; padding: 0 2px; }
  .cin-where { flex-direction: column; align-items: stretch; gap: 8px; margin: 10px 0 0; }
  .cin-place { width: 100%; }
  .cin-select { flex: 1; height: 48px; }
  .cin-select__pin { left: 14px; top: 14px; width: 18px; height: 18px; }
  .cin-select__chev { right: 14px; top: 14px; width: 18px; height: 18px; }
  .cin-select select { width: 100%; height: 46px; padding: 0 40px 0 42px; font-size: 15px; }
  .cin-select__button { width: 100%; height: 46px; padding: 0 40px 0 42px; font-size: 15px; line-height: 46px; }
  .cin-menu { left: -1px; }
  .cin-radius { background: #ebe3f7; }
  .cin-radius__opt { flex: 1; min-width: 0; height: 40px; padding: 0 4px; }
  .cin-radius__opt:not([aria-current]) { color: #4e4462; }

  .cin-section { margin-top: 28px; }
  .cin-section__head { display: block; margin-bottom: 16px; }
  .cin-eyebrow { font-size: 11.5px; line-height: 15px; }
  .cin-h2 { font-size: 21px; line-height: 27px; }
  .cin-section__note { margin-top: 4px; font-size: 12.5px; line-height: 17px; text-align: left; }

  .cin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .cin-skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 28px; }
  .cin-sk-tile { gap: 8px; }
  .cin-sk-tile:nth-child(n + 5) { display: none; }
  .cin-sk--poster { border-radius: 12px; }
  .cin-sk--chips { height: 44px; width: 90%; border-radius: 12px; }

  .cin-post { padding: 10px 10px 12px; border-radius: 12px; box-shadow: 0 1px 2px rgba(43, 31, 68, 0.06), 0 10px 24px rgba(43, 31, 68, 0.1); transition: none; }
  .cin-post::after { left: 6px; top: 6px; right: 6px; bottom: 6px; border-radius: 7px; }
  .cin-post__tag { font-size: 9px; line-height: 12px; }
  .cin-fs-xl { font-size: 21px; }
  .cin-fs-l { font-size: 17px; }
  .cin-fs-m { font-size: 15px; }
  .cin-fs-s { font-size: 12.5px; }
  .cin-film:hover .cin-post,
  .cin-other:hover .cin-post { transform: none; box-shadow: 0 1px 2px rgba(43, 31, 68, 0.06), 0 10px 24px rgba(43, 31, 68, 0.1); }
  .cin-film:has(.cin-film__link:active) .cin-post { transform: scale(0.97); transition: transform 0.12s ease; }
  .cin-film__link::after { border-radius: 12px; }
  .cin-film:has(.cin-film__link:focus-visible) { border-radius: 14px; }

  .cin-film__title { --cin-title-min: 11.5px; margin-top: 10px; font-size: clamp(var(--cin-title-min), calc(100cqi / (var(--cin-len, 20) * 0.75)), 14px); }
  .cin-film__genres { margin-top: 2px; font-size: 12px; line-height: 16px; }
  .cin-trow { margin-top: 8px; }
  .cin-film__foot { padding-top: 8px; }
  .cin-trow .cin-chip:nth-child(3) { display: none; }
  .cin-chip { height: 44px; min-width: 64px; border-radius: 12px; font-size: 15px; transition: none; }
  .cin a.cin-chip:hover { background: #ffffff; border-color: #d9ccf0; color: #4b2a8a; }
  .cin a.cin-chip:active { background: var(--cin-brand); border-color: var(--cin-brand); color: #ffffff; }
  .cin-more { height: 44px; min-width: 44px; padding: 0 10px; border-radius: 12px; }
  .cin-more__wide { display: none; }
  .cin-more__narrow { display: inline; }
  .cin-more--phone { display: inline-flex; }
  .cin-film__where { margin-top: 6px; }

  .cin-empty { display: block; margin-top: 14px; padding: 18px; border-radius: 16px; }
  .cin-empty__title { font-size: 15px; line-height: 21px; }
  .cin-empty__widen { width: 100%; margin-top: 12px; }

  .cin-section--others { margin-top: 36px; padding-top: 24px; }
  .cin-h2--others { font-size: 18px; line-height: 24px; }
  .cin-grid--others { display: flex; flex-direction: column; gap: 0; margin-top: 10px; }
  .cin-other {
    flex-direction: row; align-items: center; gap: 12px; padding: 8px 6px;
    border-bottom: 1px solid #ebe5f4;
  }
  .cin-other:has(.cin-film__link:active) { background: var(--cin-tint); }
  .cin-other .cin-post {
    flex: none; width: 44px; height: 66px; aspect-ratio: auto; padding: 0; display: grid; place-items: center;
    border-radius: 8px; box-shadow: none;
  }
  .cin-other .cin-post::after,
  .cin-other .cin-post__tag,
  .cin-other .cin-post__title { display: none; }
  .cin-other .cin-post__ini { display: block; font-size: 20px; line-height: 1; font-weight: 900; }
  .cin-other__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
  .cin-other__title { margin: 0; font-size: 14px; line-height: 18px; }
  .cin-other__nearest,
  .cin-other__towns { margin: 0; }
  .cin-other__chev { display: block; stroke: #8a7ca2; }
  .cin-other .cin-film__link::after { border-radius: 0; }
  .cin-other:has(.cin-film__link:focus-visible) { border-radius: 8px; }

  .cin-failed { margin-top: 28px; padding: 20px; }
  .cin-hint { margin-top: 8px; padding: 0; }

  /* The panel becomes a full-screen sheet. */
  .cin-scrim { display: none; }
  .cin-drawer { left: 0; width: auto; box-shadow: none; }
  .cin-panel.is-entering .cin-drawer { animation: cin-sheetin 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .cin-drawer__bar { justify-content: flex-start; gap: 4px; padding: 8px 12px 8px 6px; }
  .cin-drawer__back { display: grid; }
  .cin-drawer__x { display: none; }
  .cin-drawer__label { flex: 1; min-width: 0; }
  .cin-drawer__body { padding: 18px 20px 32px; }

  .cin-pf { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; }
  .cin-pf > .cin-post { grid-row: auto; padding: 8px 8px 9px; border-radius: 10px; }
  .cin-pf > .cin-post .cin-post__tag { font-size: 7.5px; line-height: 10px; }
  .cin-pf > .cin-post .cin-post__title { font-size: 11.5px; }
  .cin-pf__about { grid-column: 1 / -1; }
  .cin-pills { gap: 5px; }
  .cin-pill { height: 22px; padding: 0 8px; font-size: 11.5px; }
  .cin-pf__title { margin-top: 8px; font-size: 21px; line-height: 25px; }
  .cin-pf__meta,
  .cin-pf__stats { margin-top: 5px; font-size: 12.5px; line-height: 17px; }
  .cin-pf__desc { margin-top: 14px; }
  .cin-pf__fold { height: 44px; margin-top: 2px; }

  .cin-pdays { margin-top: 16px; }

  .cin-pnear { margin-top: 22px; }
  .cin-pnear__head { display: block; }
  .cin-pnear__scope { margin-top: 2px; font-size: 12.5px; line-height: 17px; text-align: left; }
  .cin-crows { margin: 12px -8px 0; }
  .cin-crow { padding: 14px 12px; }
  .cin-crow__head { display: block; }
  .cin-crow__where { margin-top: 1px; }

  .cin-pempty { padding: 16px; border-radius: 16px; }
  .cin-pempty__go { width: 100%; height: 44px; border-radius: 12px; font-size: 13.5px; }

  .cin-ptowns { margin-top: 26px; }
  .cin-towns { margin-top: 6px; }
  .cin-town__btn { gap: 10px; min-height: 56px; padding: 6px 4px; }
  .cin-town__btn:hover { background: transparent; }
  .cin-town__btn:active { background: var(--cin-tint); }
  .cin-town__text { flex-direction: column; align-items: stretch; gap: 1px; }
  .cin-town__meta { display: block; }
  .cin-town__sep { display: inline; }
  .cin-town__count { width: auto; text-align: left; }
  .cin-town__body { padding: 2px 4px 18px; }

  .cin-pnone { margin-top: 18px; }
  .cin-pfoot { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .cin-post,
  .cin-chip,
  .cin-town__chev { transition: none; }
  .cin-film:hover .cin-post,
  .cin-other:hover .cin-post { transform: none; }
  .cin-film:has(.cin-film__link:active) .cin-post { transform: none; }
  .cin-panel.is-entering .cin-drawer,
  .cin-panel.is-entering .cin-scrim,
  .cin-sk { animation: none; }
}
