/* ==========================================================================
   Афиша Театра Наций — швейцарская модульная сетка.
   Светло-серое поле, белые модули, волосяные линейки, нулевые радиусы.
   Украшение здесь одно: типографика и выравнивание по модулю.
   ========================================================================== */

/* Open Sans: кириллица и латиница, woff2, локально */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/open-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/open-sans-400-latin.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: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/open-sans-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/open-sans-600-latin.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: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/open-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/open-sans-700-latin.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;
}

/* --- Основа ------------------------------------------------------------- */

:root {
  --ink: #111214;
  --field: #E6E7E9;
  --module: #FCFCFD;
  --accent: #2F49E0;
  --accent-soft: #E3E6FB;
  --muted: #5C6066;
  --rule: #C4C7CC;
  --rule-soft: #DBDDE1;

  --gut: clamp(16px, 4vw, 44px);
  --step: 8px;
  --frame: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scrollbar-color: var(--muted) var(--field);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--field); }
::-webkit-scrollbar-thumb { background: var(--muted); border: 3px solid var(--field); }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }
::-webkit-scrollbar-corner { background: var(--field); }

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 40;
}
.skip:focus { left: 0; }

.frame {
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* Мелкая надстрочная подпись — рабочая лошадка этой темы */
.micro, .kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker { color: var(--muted); }

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid var(--rule);
  background: var(--module);
  color: var(--ink);
}
.tag--soft { border-style: dashed; color: var(--muted); }

/* --- Кнопки и ссылки ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s linear, border-color .12s linear, color .12s linear;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }

.plain {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.plain:hover { color: var(--accent); border-color: var(--accent); }
.plain--arrow::after { content: ' →'; letter-spacing: 0; }

/* --- Колонтитул: меню строго в одну строку ------------------------------ */

.masthead {
  background: var(--module);
  border-bottom: 1px solid var(--ink);
}
.masthead__in {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand__grid {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.brand__grid i { display: block; background: var(--ink); }
.brand__grid i:nth-child(2) { background: var(--accent); }
.brand__words { min-width: 0; display: flex; flex-direction: column; }
.brand__name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__sub {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.burger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.burger__bars { position: relative; width: 15px; height: 9px; }
.burger__bars::before, .burger__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}
.burger__bars::before { top: 0; }
.burger__bars::after { bottom: 0; }

.nav { flex: 0 0 auto; min-width: 0; }
.nav__list { display: flex; flex-wrap: nowrap; gap: 22px; }
.nav__link {
  display: inline-block;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { border-bottom-color: var(--accent); color: var(--accent); }

.masthead.is-compact .masthead__in { flex-wrap: wrap; align-items: center; }
.masthead.is-compact .nav {
  flex: 1 1 100%;
  border-top: 1px solid var(--rule-soft);
  padding-top: 8px;
}
.masthead.is-compact .nav__list { flex-wrap: wrap; flex-direction: column; gap: 0; }
.masthead.is-compact .nav__item { border-bottom: 1px solid var(--rule-soft); }
.masthead.is-compact .nav__item:last-child { border-bottom: 0; }
.masthead.is-compact .nav__link { display: block; padding: 11px 0; border-bottom: 0; }

/* --- Хлебные крошки ---------------------------------------------------- */

.crumbs { background: var(--module); border-bottom: 1px solid var(--rule); }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 12px;
  color: var(--muted);
}
.crumbs__item + .crumbs__item::before { content: '/ '; color: var(--rule); }
.crumbs__item a { color: var(--muted); text-decoration: none; }
.crumbs__item a:hover { color: var(--accent); }
.crumbs__item [aria-current] { color: var(--ink); }

/* --- Открывающий модуль главной ---------------------------------------- */

.opening { background: var(--module); border-bottom: 1px solid var(--ink); }
.opening__in {
  display: grid;
  gap: 32px;
  padding-top: clamp(32px, 6vw, 68px);
  padding-bottom: clamp(32px, 6vw, 60px);
}
.opening__words { min-width: 0; }
.opening__h1 {
  margin-top: 14px;
  font-size: clamp(30px, 6.4vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
  max-width: 18ch;
}
.opening__lead {
  margin-top: 20px;
  max-width: 58ch;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.6;
  color: var(--ink);
}
.opening__acts {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.opening__side { min-width: 0; align-self: end; }

.figs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule-soft);
}
.figs__cell {
  min-width: 0;
  padding: 14px 14px 16px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.figs__cell b {
  display: block;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.figs__cell span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Шапка внутренних страниц ------------------------------------------ */

.head { background: var(--module); border-bottom: 1px solid var(--ink); }
.head__in {
  display: grid;
  gap: 18px;
  padding-top: clamp(26px, 4.5vw, 48px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.head__words { min-width: 0; }
.head__h1 {
  margin-top: 12px;
  font-size: clamp(26px, 4.8vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.022em;
  max-width: 24ch;
}
.head__h1--post { max-width: 30ch; }
.head__lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.head__count {
  align-self: end;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 8px;
}

/* --- Модуль-раздел: узкая колонка ярлыка, широкая колонка содержания ---- */

.mod { border-top: 1px solid var(--rule); }
.mod--first { border-top: 0; }
.mod--fill { background: var(--module); }
.mod__in {
  display: grid;
  gap: 18px;
  padding-top: clamp(30px, 4.6vw, 54px);
  padding-bottom: clamp(30px, 4.6vw, 54px);
}
.mod__label { min-width: 0; }
.mod__num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
}
.mod__h {
  margin-top: 8px;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.015em;
}
.mod__h--plain { font-size: 13px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.mod__body { min-width: 0; }
.mod__note {
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}
.mod__body > .mod__note:first-child { margin-bottom: 26px; }
.mod__body > .mod__note:not(:first-child) { margin-top: 22px; }
.mod__after { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mod__empty {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--rule);
  background: var(--module);
  font-size: 14.5px;
  color: var(--muted);
}

/* --- Единица афиши: строка-спецификация --------------------------------- */

.units { display: grid; }
.unit {
  display: grid;
  gap: 14px 22px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-soft);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'idx  plate'
    'main main'
    'data data';
  align-items: start;
}
.unit:first-child { border-top: 1px solid var(--ink); }
.unit__idx {
  grid-area: idx;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
}
.unit__plate {
  grid-area: plate;
  display: block;
  width: 96px;
  background: var(--module);
  border: 1px solid var(--rule-soft);
  justify-self: end;
}
.unit__plate img { display: block; width: 100%; height: auto; }
.unit__main { grid-area: main; min-width: 0; }
.unit__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.unit__title {
  margin-top: 10px;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.018em;
}
.unit__title a { text-decoration: none; }
.unit__title a:hover { color: var(--accent); }
.unit__cast {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.unit__cast li { min-width: 0; }
.unit__cast li + li::before { content: '· '; color: var(--rule); }
.unit__data { grid-area: data; min-width: 0; }
.unit__facts { display: grid; gap: 0; border-top: 1px solid var(--rule-soft); }
.unit__facts > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.unit__facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.unit__facts dd { min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.unit__price { white-space: nowrap; }
.unit__act {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

/* --- Компактная строка списка ------------------------------------------ */

.rows { display: grid; border-top: 1px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-areas:
    'idx title'
    '.   tag'
    '.   when';
  gap: 3px 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.row__idx {
  grid-area: idx;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.row__title { grid-area: title; min-width: 0; font-size: 16px; font-weight: 600; }
.row__title a { text-decoration: none; }
.row__title a:hover { color: var(--accent); }
.row__tag {
  grid-area: tag;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.row__when { grid-area: when; font-size: 13.5px; color: var(--muted); }
.row__price { grid-area: when; justify-self: end; font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* --- Полки разрезов ---------------------------------------------------- */

.racks {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.rack { min-width: 0; }
.rack__list { margin-top: 12px; display: grid; gap: 7px; }
.rack__list--wide { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.chip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  padding: 10px 13px;
  border: 1px solid var(--rule);
  background: var(--module);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.chip span { min-width: 0; }
.chip b { flex: 0 0 auto; font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip:hover b { color: var(--accent); }

/* --- Карточки «как читать афишу» --------------------------------------- */

.cards {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.cards__item { min-width: 0; padding: 18px 18px 20px; background: var(--module); }
.cards__num {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
}
.cards__t { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.24; }
.cards__x { margin-top: 9px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* --- Анонсы статей ----------------------------------------------------- */

.briefs { display: grid; border-top: 1px solid var(--ink); }
.briefs__item { border-bottom: 1px solid var(--rule-soft); }
.briefs__link {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 15px 0;
  text-decoration: none;
  color: inherit;
}
.briefs__n { grid-column: 1; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.briefs__t { grid-column: 2; font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.briefs__d { grid-column: 2; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.briefs__link:hover .briefs__t { color: var(--accent); }

/* --- Список статей на странице блога ----------------------------------- */

.sheets { display: grid; border-top: 1px solid var(--ink); }
.sheets__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.sheets__n {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
}
.sheets__body { min-width: 0; }
.sheets__t { font-size: clamp(18px, 2.4vw, 23px); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
.sheets__t a { text-decoration: none; }
.sheets__t a:hover { color: var(--accent); }
.sheets__d { margin-top: 8px; max-width: 64ch; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.sheets__date { margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }

/* --- Вопросы и ответы -------------------------------------------------- */

.asks { display: grid; border-top: 1px solid var(--ink); }
.asks__item { border-bottom: 1px solid var(--rule-soft); }
.asks__box { padding: 2px 0; }
.asks__q {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.asks__q::-webkit-details-marker { display: none; }
.asks__n { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.asks__qt { min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.asks__q::after {
  content: '+';
  justify-self: end;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.asks__box[open] .asks__q::after { content: '−'; }
.asks__a { padding: 0 0 16px 38px; }
.asks__a p { max-width: 68ch; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* --- Подбор ------------------------------------------------------------ */

.picker {
  border: 1px solid var(--ink);
  background: var(--field);
  padding: clamp(18px, 3vw, 28px);
}
.picker__off { font-size: 14.5px; color: var(--muted); }
.picker__step { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.picker__q {
  margin-top: 8px;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.018em;
}
.picker__answers {
  margin-top: 20px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.picker__a {
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--module);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.picker__a:hover { background: var(--ink); color: #fff; }
.picker__ruler { margin-top: 18px; height: 3px; background: var(--rule); }
.picker__fill { display: block; height: 100%; background: var(--accent); }
.picker__results { margin-top: 20px; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.found { min-width: 0; padding: 15px 16px; background: var(--module); display: grid; gap: 6px; }
.found__t { font-size: 17px; font-weight: 700; line-height: 1.2; }
.found__t a { text-decoration: none; }
.found__t a:hover { color: var(--accent); }
.found__p { font-size: 14px; font-weight: 700; }
.found__m { font-size: 12.5px; color: var(--muted); }
.found__go { margin-top: 4px; }
.picker__again { margin-top: 18px; }

/* --- Страница спектакля ------------------------------------------------ */

.play__top {
  display: grid;
  gap: 28px;
  padding-top: clamp(26px, 4.4vw, 50px);
  padding-bottom: clamp(26px, 4vw, 42px);
  background: var(--module);
}
.play { background: var(--field); }
.play__words { min-width: 0; }
.play__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.play__h1 {
  margin-top: 14px;
  font-size: clamp(27px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.026em;
  max-width: 22ch;
}
.play__lead { margin-top: 18px; max-width: 54ch; font-size: 15.5px; line-height: 1.6; }
.play__acts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.play__fine { margin-top: 14px; max-width: 54ch; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.play__side { min-width: 0; display: grid; gap: 18px; align-content: start; }
.play__plate { border: 1px solid var(--rule); background: var(--field); }
.play__plate img { display: block; width: 100%; height: auto; }
.play__plate figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.tix { border: 1px solid var(--ink); background: var(--field); padding: 16px; }
.tix__price {
  margin-top: 6px;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.tix__when { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.tix .btn { margin-top: 14px; }
.tix__note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--muted); }

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule-soft);
  background: var(--module);
}
.specs__cell {
  min-width: 0;
  padding: 12px 14px 14px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.specs__cell--wide { grid-column: span 2; }
.specs dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.specs dd { margin-top: 5px; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.specs dd a { color: var(--accent); }

/* --- Расписание -------------------------------------------------------- */

.sched { margin-bottom: 26px; }
.sched:last-of-type { margin-bottom: 0; }
.sched__month {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.sched__list { display: grid; }
.sched__row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-areas:
    'day mon  go'
    'day wd   time';
  gap: 2px 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.sched__day { grid-area: day; font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.sched__mon { grid-area: mon; font-size: 13.5px; font-weight: 600; }
.sched__wd { grid-area: wd; font-size: 12.5px; color: var(--muted); }
.sched__time { grid-area: time; font-size: 13.5px; font-weight: 700; justify-self: end; }
.sched__go {
  grid-area: go;
  justify-self: end;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}
.sched__go:hover { border-bottom-color: var(--accent); }

/* --- Состав ------------------------------------------------------------ */

.cast {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  border-top: 1px solid var(--ink);
}
.cast__row {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14.5px;
}
.cast__n { flex: 0 0 auto; width: 20px; font-size: 11.5px; font-weight: 700; color: var(--muted); line-height: 1.8; }
.cast__name { min-width: 0; }

/* --- Проза ------------------------------------------------------------- */

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 17px; }
.prose p { font-size: 16px; line-height: 1.68; }
.prose h2 {
  margin-top: 34px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.prose h3 { margin-top: 26px; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 0; }
.prose li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.6;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.prose ol { counter-reset: p; }
.prose ol li { counter-increment: p; padding-left: 26px; }
.prose ol li::before {
  content: counter(p);
  width: auto;
  height: auto;
  top: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.prose strong { font-weight: 700; }
.prose a { color: var(--accent); }
.prose--wide { max-width: 72ch; }

/* --- Фильтры списка ---------------------------------------------------- */

.sift {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--module);
}
.sift__group { display: grid; gap: 8px; min-width: 0; }
.sift__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.sift__btn {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.sift__btn:hover { border-color: var(--ink); color: var(--ink); }
.sift__btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --- Полка с кнопкой покупки ------------------------------------------ */

.shelf {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gut);
  background: var(--module);
  border-top: 1px solid var(--ink);
}
.shelf__price { flex: 0 0 auto; font-size: 15px; font-weight: 700; white-space: nowrap; }
.shelf__when {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shelf .btn { flex: 0 0 auto; }

/* --- Подвал ------------------------------------------------------------ */

.foot {
  margin-top: clamp(28px, 4vw, 52px);
  background: var(--ink);
  color: #E9EAEC;
}
.foot__in {
  display: grid;
  gap: 26px;
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.foot__cell { min-width: 0; }
.foot__name { font-size: 15.5px; font-weight: 700; }
.foot__text { margin-top: 10px; max-width: 52ch; font-size: 13.5px; line-height: 1.6; color: #A4A8AF; }
.foot__head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8E939B;
  padding-bottom: 8px;
  border-bottom: 1px solid #2E3136;
}
.foot__links { margin-top: 10px; display: grid; gap: 7px; }
.foot__links a { color: #E9EAEC; font-size: 13.5px; text-decoration: none; border-bottom: 1px solid transparent; }
.foot__links a:hover { border-bottom-color: #E9EAEC; }
.foot__facts { margin-top: 10px; display: grid; gap: 6px; }
.foot__facts > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; }
.foot__facts dt { font-size: 12.5px; color: #8E939B; }
.foot__facts dd { font-size: 13px; font-weight: 600; text-align: right; }

/* ==========================================================================
   Раскладка по ширинам. Модуль раскрывается постепенно: сначала строки
   афиши, потом колонка ярлыка, потом боковая колонка главной.
   ========================================================================== */

@media (min-width: 560px) {
  .unit {
    grid-template-columns: 26px 96px minmax(0, 1fr);
    grid-template-areas:
      'idx plate main'
      '.   .     data';
  }
  .unit__plate { width: 96px; justify-self: start; }

  .row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    grid-template-areas:
      'idx title when'
      '.   tag   price';
  }
  .row__price { grid-area: price; }
  .row__when { justify-self: end; }

  .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sched__row {
    grid-template-columns: 48px 108px minmax(0, 1fr) 68px auto;
    grid-template-areas: 'day mon wd time go';
    align-items: center;
  }
  .sift { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 26px; }
}

@media (min-width: 760px) {
  .unit {
    gap: 16px 26px;
    grid-template-columns: 26px 118px minmax(0, 1fr) minmax(190px, 210px);
    grid-template-areas: 'idx plate main data';
  }
  .unit__plate { width: 118px; }
  .unit__act { margin-top: 16px; }

  .head__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 40px; }
  .head--post .head__in { grid-template-columns: minmax(0, 1fr); }

  .foot__in { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; }
}

@media (min-width: 900px) {
  .mod__in {
    grid-template-columns: minmax(160px, 2.6fr) minmax(0, 9fr);
    gap: 26px 44px;
  }
  .mod__label { position: sticky; top: 22px; align-self: start; }

  .opening__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 44px; align-items: end; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .play__top { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 44px; align-items: start; }
}

@media (min-width: 1100px) {
  .unit { grid-template-columns: 34px 148px minmax(0, 1fr) minmax(200px, 230px); }
  .unit__plate { width: 148px; }
  .row { grid-template-columns: 34px minmax(0, 1fr) 190px 110px; grid-template-areas: 'idx title when price'; align-items: baseline; }
  .row__tag { display: none; }
  .row__title { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .masthead, .foot, .shelf, .sift, .picker { display: none; }
  body { background: #fff; }
}
