/* home.css — the home page «Афиша» only (index.html), after styles.css. The board «Главная — русская афиша и
   «Ещё в Нидерландах»» (Г «Лента», 08.11.2026): one ground, big light day numerals as the page's grid, the sentence
   is the filter, «для кого» first, one feed by days where our own events come first and the rest stands under
   «Вокруг». Everything here is scoped to main.hm, so no other page changes. The site's own theme variables carry
   both themes: light is the board's 01-home-light, html.dark is the board itself. Phone first; the board's widths
   (REVIEW-AD-2): 380, 600, 760, 900, 1100, 1200. */
.hm {
  --hp: 20px;
  /* 18.11.2026 wave 2: the page's names now point at the site's one set of tokens (styles.css :root), so a line, a
     chip, an empty picture and «Местное» are the same colour here as on every other page, in both themes. */
  --hline: var(--line);
  --hpic: var(--pic);
  --hchip: var(--chip-line);
  --hnl: var(--lbl-nl);
  --hsheet: #FFFFFF;
  --hint-bg: #121211; --hint-fg: #F2F0EB;
  max-width: 1600px; margin: 0 auto; padding: 0 var(--hp) 76px;
  font-family: Geologica, system-ui, sans-serif; color: var(--txt);
}
:root.dark .hm {
  --hsheet: #1A1918;
  --hint-bg: #F2F0EB; --hint-fg: #121211;
}
@media (min-width: 601px) { .hm { --hp: 32px; padding-bottom: 0; } }
@media (min-width: 1101px) { .hm { --hp: 40px; } }
.hm img { display: block; }
.hm p, .hm h1, .hm h2, .hm h3 { margin: 0; }
.hm a:hover { color: inherit; }
.hm button { font: inherit; color: inherit; }

/* ===== hero: the sentence is the filter — three words, each a choice ===== */
.hm .hero { display: block; gap: 0; position: relative; padding: 24px 0 0; }
.hm .kick { font-size: 14px; color: var(--mut); letter-spacing: .01em; }
.hm .say { position: relative; max-width: 1180px; margin: 14px 0 0 -2px; font-size: 40px; font-weight: 300; line-height: 1.08; letter-spacing: -.045em; color: var(--mut); text-wrap: wrap; }
.hm .tok { color: var(--txt); white-space: nowrap; }
.hm .tok .gally-say-word { border: 0; line-height: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 2px; background-position: 0 92%; background-repeat: no-repeat; }
.hm .tok::after { content: ""; display: inline-block; width: .16em; height: .16em; margin: 0 .06em .2em .16em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: middle; opacity: .55; }
.hm .tok:hover .gally-say-word { border: 0; }
@media (max-width: 380px) { .hm .say { font-size: 36px; } }
@media (min-width: 601px) { .hm .hero { padding-top: 44px; } .hm .say { font-size: 44px; } }
@media (min-width: 761px) { .hm .say { font-size: 52px; line-height: 1.02; margin-left: -4px; } }
@media (min-width: 901px) { .hm .say { font-size: 60px; } }
@media (min-width: 1201px) { .hm .say { font-size: 66px; } }

/* «для кого»: one choice of four, buttons; «Детям» beside it, large */
.hm .who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.hm .aud-spot { display: block; width: 100%; }
.hm .audseg { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--hchip); border-radius: 999px; }
.hm .audseg button { flex: auto; height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border-radius: 999px; font-size: 14px; color: var(--mut); white-space: nowrap; transition: background .2s, color .2s; }
.hm .audseg button:hover { color: var(--txt); }
.hm .audseg small { font-size: max(11px, .8em); font-weight: 400; font-variant-numeric: tabular-nums; }
.hm .audseg small:empty { display: none; }
/* the buttons are the choice: the platform's word for a choice, if it draws one here, is not shown */
.hm .audseg > .gally-say-word { display: none; }
.hm .audseg [data-gally-none] { opacity: .45; }
.hm .audseg [aria-pressed="true"] { color: var(--txt); background: var(--hl); font-weight: 500; }
.hm .audseg [data-gally-value="Все свои"][aria-pressed="true"] { background: var(--acc); color: #FFFFFF; }
.hm .audseg [data-gally-value="International"][aria-pressed="true"] { background: var(--txt); color: var(--bg); }
.hm .audseg [data-gally-value="Местное"][aria-pressed="true"] { background: var(--hnl); color: #121211; }
.hm .audseg button:focus-visible, .hm .kids:focus-visible, .hm .chip:focus-visible, .hm .views button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.hm .kids { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border: 1px solid var(--hchip); border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hm .kids svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hm .kids:hover, .hm .chip:hover { border-color: var(--txt); }
.hm .kids[aria-pressed="true"] { background: var(--txt); color: var(--bg); border-color: var(--txt); }
/* docked: the whole «для кого», compact, at the bottom edge once its place went under the header */
.hm .audseg.docked { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 35; width: auto; background: var(--hsheet); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); animation: hm-dock .25s ease-out; }
:root.dark .hm .audseg.docked { box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.hm .audseg.docked button { height: 34px; font-size: 13px; padding: 0 6px; }
@keyframes hm-dock { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .hm .audseg.docked { animation: none; } }
@media (max-width: 380px) { .hm .audseg button { font-size: 13px; padding: 0 6px; } .hm .kids { padding: 0 13px; font-size: 14px; } }
@media (max-width: 340px) {
  .hm .audseg { overflow: hidden; }
  .hm .audseg button, .hm .audseg.docked button { font-size: 12px; padding: 0 3px; gap: 2px; }
  .hm .srch input::placeholder { font-size: 14px; }
}
@media (min-width: 761px) {
  .hm .who { gap: 14px; margin-top: 34px; }
  .hm .aud-spot { width: auto; }
  .hm .audseg button { flex: none; height: 40px; padding: 0 20px; font-size: 16px; }
  .hm .kids { height: 50px; padding: 0 22px; font-size: 16px; }
  .hm .audseg.docked { right: auto; left: max(24px, calc((100vw - 1600px) / 2 + var(--hp))); bottom: 24px; }
  .hm .audseg.docked button { height: 34px; padding: 0 14px; font-size: 14px; }
}

/* search, then the chips — all one height and shape */
.hm .tools { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 12px; }
.hm .srch { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--hchip); border-radius: 999px; color: var(--mut); transition: border-color .2s; }
.hm .srch:focus-within, .hm .srch:hover { border-color: var(--txt); }
.hm .srch svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hm .srch input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--txt); font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.hm .srch input::placeholder { color: var(--mut); }
.hm .chips { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--hp)); padding-right: var(--hp); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 40px), transparent); scroll-snap-type: x proximity; scroll-padding-left: 10px; }
.hm .chips > * { scroll-snap-align: start; }
.hm .chips::-webkit-scrollbar { display: none; }
.hm .chips > * { flex: none; }
.hm .chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--hchip); border-radius: 999px; font-size: 15px; font-weight: 400; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hm .chip[aria-pressed="true"] { background: var(--txt); color: var(--bg); border-color: var(--txt); font-weight: 400; }
.hm .gally-reset { height: 40px; padding: 0 6px; border: 0; font-size: 15px; color: var(--mut); text-decoration: underline; text-underline-offset: 4px; }
.hm .gally-reset:hover { color: var(--txt); }
@media (max-width: 380px) { .hm .chip { padding: 0 13px; font-size: 14px; } }
@media (min-width: 601px) { .hm .tools { flex-direction: row; flex-wrap: wrap; align-items: center; } .hm .srch { flex: 1 1 300px; height: 40px; } .hm .srch input { font-size: 15px; } }
@media (min-width: 761px) {
  .hm .tools { flex-wrap: nowrap; margin-top: 14px; }
  .hm .srch { flex: 0 1 340px; width: 340px; }
  .hm .chips { overflow: visible; margin-right: 0; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
}
/* up to 760 the hero is one grid: «для кого» across, search across, then «Детям» leading the chips' line */
@media (max-width: 760px) {
  .hm .hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; }
  .hm .hero > * { grid-column: 1 / -1; }
  .hm .hero .who, .hm .hero .tools { display: contents; }
  .hm .hero .aud-spot { grid-column: 1 / -1; margin-top: 22px; }
  .hm .hero .srch { grid-column: 1 / -1; order: 1; margin-top: 12px; }
  .hm .hero .kids { grid-column: 1; order: 2; margin-top: 10px; }
  .hm .hero .chips { grid-column: 2; order: 2; margin-top: 10px; min-width: 0; }
  .hm .hero .tally { order: 3; }
}

/* the count and the views */
.hm .tally { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-bottom: 14px; }
.hm .tally .count { margin: 0; font: 500 15px Geologica, system-ui, sans-serif; letter-spacing: 0; color: var(--txt); white-space: nowrap; }
.hm .views { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--hchip); border-radius: 999px; }
.hm .views button { height: auto; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 400; color: var(--mut); transition: background .2s, color .2s; }
.hm .views button:hover { color: var(--txt); }
.hm .views button[aria-pressed="true"] { background: var(--txt); color: var(--bg); font-weight: 500; }
/* views in the board's order in the markup; «Список» opens a new visit (data-gally-default, the platform's) */
@media (min-width: 601px) { .hm .tally { margin-top: 22px; } .hm .views button { padding: 6px 14px; font-size: 14px; } }

/* «Сроки» and «Главное на неделе» keep their own look (styles.css); here only the page's air around them */
.hm .due { margin: 8px 0 24px; }
.hm .highlights { padding-top: 32px; }

/* ===== the strip of dates: two weeks in sight, the past to the left, sticks under the header ===== */
.hm .strip-wrap { position: sticky; top: var(--top-h); z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--hp)); padding: 0 var(--hp); background: var(--bg); border-top: 1.5px solid var(--txt); border-bottom: 1px solid var(--hline); }
.hm .strip-wrap:has(.strip[data-gally-stuck]) { box-shadow: 0 1px 0 var(--hline); }
.hm .strip-wrap .sx { display: none; align-items: center; justify-content: center; width: 36px; font-size: 24px; color: var(--mut); transition: color .2s; }
.hm .strip-wrap .sx:hover { color: var(--txt); }
.hm .strip { --dw: 52px; display: flex; overflow-x: auto; scrollbar-width: none; scroll-padding-left: var(--dw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--hp), #000 calc(100% - var(--hp)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--hp), #000 calc(100% - var(--hp)), transparent); }
.hm .strip::-webkit-scrollbar { display: none; }
.hm .strip .gally-week-month { display: flex; flex-direction: column; gap: 0; flex: 0 0 auto; }
.hm .strip .gally-week-month ~ .gally-week-month { margin-left: 0; padding-left: 0; border-left: 0; }
.hm .strip .gally-week-month-name { position: sticky; left: 0; align-self: flex-start; height: 18px; padding: 4px 0 0 calc(var(--dw) / 2 - 1.3em); font-size: 11px; font-weight: 400; line-height: 14px; letter-spacing: 0; text-transform: none; color: var(--mut); opacity: 1; white-space: nowrap; }
.hm .strip .gally-week-days { display: flex; gap: 0; }
.hm .strip a { position: relative; flex: 0 0 var(--dw); width: var(--dw); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 12px; color: var(--txt); }
.hm .strip a[href]:hover b { color: var(--acc); }
.hm .strip .wd { font-size: 12px; color: var(--mut); text-transform: capitalize; }
.hm .strip b { font-size: 26px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.hm .strip small { font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; min-height: 14px; }
.hm .strip [data-gally-state~="weekend"] .wd { color: var(--txt); }
.hm .strip [data-gally-state~="past"] b, .hm .strip [data-gally-state~="past"] small { color: var(--faint); }
.hm .strip [data-gally-state~="empty"] b { color: var(--faint); }
.hm .strip [data-gally-state~="empty"] small { font-size: 0; }
.hm .strip [data-gally-state~="empty"] small::after { content: "—"; font-size: 12px; }
.hm .strip [data-gally-state~="today"] .wd { color: var(--txt); font-weight: 600; }
.hm .strip [data-gally-state~="today"] b, .hm .strip a[aria-current] b { font-weight: 600; }
.hm .strip a[aria-current]::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; background: var(--txt); }
.hm .strip[data-gally-when="past"] [data-gally-state~="past"] b { color: var(--txt); }
.hm .strip[data-gally-when="past"] [data-gally-state~="past"] small { color: var(--mut); }
html:has(.hm .strip) { scroll-padding-top: calc(var(--top-h) + 96px); }
@media (min-width: 761px) {
  .hm .strip-wrap { grid-template-columns: 36px minmax(0, 1fr) 36px; margin: 0; padding: 0; }
  .hm .strip-wrap .sx { display: flex; }
  .hm .strip { --dw: calc((min(100vw, 1600px) - 2 * var(--hp) - 72px) / 14); scroll-padding-left: calc(2 * var(--dw)); -webkit-mask-image: none; mask-image: none; }
  .hm .strip a { padding: 4px 0 12px; }
}
/* the platform's own round arrows over the strip's ends: the board has its arrows beside the strip on a laptop and
   none on a phone, where a finger moves the strip */
.hm .strip .gally-week-arrow { display: none !important; }
/* the calendar is a view of its own: no strip and no «Показать ещё» over it */
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .hm .strip-wrap,
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .hm .gally-more { display: none; }

/* ===== days ===== */
.hm .day { display: block; gap: 0; padding: 26px 0 18px; border-top: 0; border-bottom: 1px solid var(--hline); }
.hm .day > .dh { font-size: 16px; font-weight: 400; line-height: 1.2; letter-spacing: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 12px; }
.hm .day > .dh b { font-size: 54px; font-weight: 200; line-height: .82; letter-spacing: -.05em; }
.hm .day > .dh > span { font-size: 16px; font-weight: 500; text-transform: lowercase; }
.hm .day > .dh small { flex-basis: 100%; font-size: 14px; color: var(--mut); }
.hm .days[data-gally-when="past"] .day > .dh b { color: var(--mut); }
@media (min-width: 761px) {
  .hm .day { padding: 32px 0 20px; }
  .hm .day > .dh { gap: 4px 14px; margin-bottom: 16px; }
  .hm .day > .dh b { font-size: 72px; margin: 0 2px 0 -3px; }
  .hm .day > .dh small { flex-basis: auto; }
}
@media (min-width: 1101px) {
  .hm .day { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 36px 0 24px; }
  .hm .day > .dh { display: block; margin: 0; }
  .hm .day > .dh b { display: block; font-size: 96px; margin-left: -4px; }
  .hm .day > .dh > span { display: block; margin-top: 14px; font-size: 18px; }
  .hm .day > .dh small { display: block; margin-top: 4px; }
}

/* a row: time · poster · words · price and «Билеты →» · ♥ (the board's phone row first) */
.hm .rows { min-width: 0; }
.hm .r { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 2px 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--hline); }
.hm .rows > .r:first-of-type, .hm .around + .r { border-top: 0; }
.hm .r > time { grid-column: 2 / 4; grid-row: 1; font-size: 14px; color: var(--mut); font-variant-numeric: tabular-nums; }
.hm .r > time:empty { display: none; }
.hm .r .pic { grid-column: 1; grid-row: 1 / 4; width: 104px; height: 130px; }
.hm .r .tx { grid-column: 2 / 4; grid-row: 2; min-width: 0; }
.hm .r .end { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 4px 18px; margin-top: 6px; white-space: nowrap; }
.hm .r .was { grid-column: 2; grid-row: 3; margin-top: 6px; font-size: 14px; color: var(--faint); }
.hm .r .hrt { grid-column: 3; grid-row: 3; align-self: center; width: 36px; height: 36px; margin-right: -8px; }
.hm .r:hover h3, .hm .r .tx:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hm .r .tx:focus-visible { outline: 0; }
.hm .r:has(:focus-visible) { outline: 2px solid var(--txt); outline-offset: 4px; border-radius: 4px; }

/* the poster, whole on its own glow */
.hm .pic { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--hpic); }
.hm .pic .glow { position: absolute; inset: -14%; z-index: -1; width: 128%; height: 128%; max-width: none; object-fit: cover; filter: blur(18px) saturate(1.3); opacity: .75; }
/* a box of its own size, the picture contained in it: the server serves a picture at the width it is shown,
   and an image sized only by max-width is 0 wide when it is measured */
.hm .pic .art { width: 100%; height: 100%; object-fit: contain; padding: 6px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .3)); }
.hm .pic:has(.ini) { background: var(--hl); border: 1px solid var(--hline); }
.hm .pic .ini { padding: 0 8px; font-size: 13px; color: var(--mut); text-align: center; }
/* матч без своей картинки — два клуба в их цветах, как в списке «Спорт» (sport.css .sp-vs); светлый цвет клуба
   получает тёмные буквы (скрипт внизу index.html, то же правило, что sport.js) */
.hm .pic .hm-vs { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--bg); }
.hm .pic .hm-vs b { display: flex; align-items: center; justify-content: center; padding: 0 6px; font: 600 11px/1.05 Geologica, system-ui, sans-serif; color: #F2F0EB; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .pic .hm-vs b.sp-light { color: #121211; }
/* «Детям» on the picture's bottom corner. The «для кого» label is no longer drawn here: it is the site's one
   .aud-tag (styles.css), right after the title (18.11.2026 wave 2 deleted this page's own copies of it). */
.hm .kid { position: absolute; z-index: 2; left: 5px; font: 600 10px/1 Geologica, system-ui, sans-serif; letter-spacing: .01em; padding: 4px 6px; border-radius: 999px; white-space: nowrap; }
.hm .kid { bottom: 5px; background: rgba(15, 15, 16, .72); color: #FFFFFF; font-weight: 500; }

/* the words */
.hm .k { font-size: 13px; color: var(--mut); }
.hm .k .kt, .hm .k .kt + .kd::before { display: none; }
.hm .k .lg, .hm .k .pr { display: inline-block; margin-left: 6px; padding: 4px 8px; border: 1px solid var(--hchip); border-radius: 999px; font-size: 12px; line-height: 1; color: var(--txt); text-transform: lowercase; }
.hm .k .pr { border-color: var(--txt); }
.hm .r h3 { margin-top: 3px; font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: 0; hyphens: manual; }
.hm .pl { display: flex; flex-wrap: wrap; column-gap: .3em; min-width: 0; margin-top: 3px; font-size: 15px; color: var(--mut); }
.hm .pl .v { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm .pl .c { flex: none; }
.hm .crd { margin-top: 3px; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .r .price { font-size: 15px; font-weight: 400; color: var(--mut); }
.hm .buy { font-size: 15px; font-weight: 500; color: var(--txt); }
.hm .buy:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm .hrt { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--mut); transition: color .2s, background .2s; }
.hm .hrt:hover { color: var(--txt); background: var(--hl); }
.hm .hrt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; } /* the catalogue's heart (24-unit path), 18.11 */
.hm .hrt[aria-pressed="true"] { color: var(--fav-on); } /* 18.11.2026 (night rulings): a kept ♡ is violet everywhere */
.hm .hrt[aria-pressed="true"] svg { fill: currentColor; }
/* the past: no price, no tickets, the word «прошло» */
.hm .days[data-gally-when="past"] .r > time, .hm .days[data-gally-when="past"] .r h3 { color: var(--mut); }
.hm .days[data-gally-when="past"] .r .pic { opacity: .6; }

/* inside a day: ours first, then one thin rule after the word «Вокруг» */
.hm .around { display: flex; align-items: center; gap: 14px; padding: 20px 0 6px; font-size: 13px; color: var(--mut); }
.hm .around::after { content: ""; flex: 1; height: 1px; background: var(--hline); }
.hm .rows > .around:first-child { padding-top: 0; }

@media (max-width: 380px) {
  .hm .r { grid-template-columns: 88px minmax(0, 1fr) auto; column-gap: 12px; }
  .hm .r .pic { width: 88px; height: 112px; }
}
@media (min-width: 601px) {
  .hm .r { grid-template-columns: 120px minmax(0, 1fr) auto; gap: 2px 16px; padding: 16px 0; }
  .hm .r .pic { width: 120px; height: 140px; }
}
/* from 761: one line — time, poster, words, price over «Билеты →» (to 900), ♥ */
@media (min-width: 761px) {
  .hm .r { grid-template-columns: 48px 124px minmax(0, 1fr) auto 36px; gap: 16px; align-items: center; padding: 14px 0; }
  .hm .r > time { grid-column: 1; grid-row: 1; font-size: 17px; }
  .hm .r > time:empty { display: block; }
  .hm .r .pic { grid-column: 2; grid-row: 1; width: 124px; height: 104px; }
  .hm .r .tx { grid-column: 3; grid-row: 1; }
  .hm .r .end, .hm .r .was { grid-column: 4; grid-row: 1; margin: 0; }
  .hm .r .end { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: 2px; }
  .hm .r .hrt { grid-column: 5; grid-row: 1; margin: 0; }
  .hm .r h3 { font-size: 19px; }
  .hm .pl { flex-wrap: nowrap; white-space: nowrap; }
  .hm .k .lg, .hm .k .pr { margin-left: 10px; }
  .hm .r:hover { background: var(--hl); box-shadow: -16px 0 0 var(--hl), 16px 0 0 var(--hl); }
}
@media (min-width: 901px) {
  .hm .r { grid-template-columns: 56px 136px minmax(0, 1fr) auto 40px; gap: 20px; }
  .hm .r .pic { width: 136px; height: 112px; }
  .hm .r .end { flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 18px; }
  .hm .r .hrt { width: 40px; height: 40px; }
}
@media (min-width: 1201px) {
  .hm .r { grid-template-columns: 64px 152px minmax(0, 1fr) 200px 40px; gap: 24px; }
  .hm .r .pic { width: 152px; height: 124px; }
  /* 18.11.2026 wave 2: «от 39 евро · Билеты ↗ · Подробнее →» is wider than the 200px column, and a row that
     doesn't wrap spills to the left over the words (a city sat under the price). The price takes its own line. */
  .hm .r .end { flex-wrap: wrap; row-gap: 4px; }
  .hm .r .end .price { flex: 0 0 100%; text-align: right; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .end .price { flex: none; text-align: left; }
  .hm .days[data-gally-view="posters"] .r .end .price { flex: none; text-align: left; }
}
/* the place line: a long venue («Cpunt Theater, Raadhuisplein, Hoofddorp, …») wraps inside the words column
   with its city, two lines at most, instead of a clipped venue and a city left on its own */
@media (min-width: 761px) {
  .hm .r .pl { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; }
  .hm .r .pl .v, .hm .r .pl .c { display: inline; white-space: normal; overflow: visible; }
}

/* ===== «Разворот дня»: today's first own event leads, its poster whole on its glow ===== */
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) { grid-template-columns: max-content minmax(0, 1fr); grid-template-areas: "pic pic" "tx tx" "end hrt"; gap: 0 14px; align-items: center; padding: 0 0 28px; border-top: 0; border-bottom: 1px solid var(--hline); }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) + .r, .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) + .around { border-top: 0; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]):hover { background: none; box-shadow: none; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) > time { display: none; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pic { grid-area: pic; width: auto; height: 300px; margin: 0 calc(-1 * var(--hp)) 18px; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pic .art { padding: 22px; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .4)); }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .kid { left: var(--hp); font-size: 13px; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .kid { bottom: 12px; padding: 6px 10px; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .tx { grid-area: tx; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .k .kt { display: inline; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .k .kt + .kd::before { display: inline; content: " · "; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) h3 { margin-top: 12px; font-size: 28px; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pl { display: block; margin-top: 10px; font-size: 15px; white-space: normal; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pl .v { white-space: normal; overflow: visible; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .end, .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .was { grid-area: end; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .price { font-size: 17px; color: var(--txt); }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .buy { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 999px; background: var(--txt); color: var(--bg); font-size: 15px; transition: background .2s, color .2s; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .buy:hover { background: var(--acc); color: #FFFFFF; text-decoration: none; }
.hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .hrt { grid-area: hrt; justify-self: start; margin: 28px 0 0; }
@media (min-width: 601px) {
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pic { height: 340px; margin: 0 0 18px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .kid { left: 12px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) h3 { font-size: 32px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pl { font-size: 17px; }
}
@media (min-width: 761px) {
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: "pic . ." "pic tx tx" "pic end hrt" "pic . ."; column-gap: 32px; padding: 4px 0 28px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pic { height: 320px; margin: 0; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .end { margin-top: 28px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .hrt { margin: 28px 0 0 -12px; align-self: center; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) h3 { font-size: 38px; }
}
@media (min-width: 1101px) {
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) { grid-template-columns: 420px max-content minmax(0, 1fr); column-gap: 40px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .pic { height: 340px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) h3 { font-size: 44px; }
  .hm .days:not([data-gally-view="posters"]) .day[data-when="Сегодня"] .rows > .r:first-of-type:not([data-aud="International"]):not([data-aud="Местное"]) .hrt { margin-left: -20px; }
}

/* «Показать ещё» and the end */
/* 18.11.2026 (night rulings): «Показать ещё» is the one .gally-more of styles.css — this page no longer redraws it. */
.hm .days .empty { padding: 48px 0; font-size: 17px; color: var(--mut); }

/* ===== «Постеры»: the same cards, the day one band, four across ===== */
.hm .days[data-gally-view="posters"] .day { display: block; padding: 26px 0 20px; }
.hm .days[data-gally-view="posters"] .day > .dh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 20px; }
.hm .days[data-gally-view="posters"] .day > .dh b { display: inline; font-size: 44px; margin: 0; }
.hm .days[data-gally-view="posters"] .day > .dh > span, .hm .days[data-gally-view="posters"] .day > .dh small { display: inline; margin: 0; flex-basis: auto; }
.hm .days[data-gally-view="posters"] .day > .dh > span { font-size: 18px; }
.hm .days[data-gally-view="posters"] .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.hm .days[data-gally-view="posters"] .around { grid-column: 1 / -1; padding: 8px 0 0; }
.hm .days[data-gally-view="posters"] .r { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; }
.hm .days[data-gally-view="posters"] .r:hover { background: none; box-shadow: none; }
.hm .days[data-gally-view="posters"] .r > time { display: none; }
.hm .days[data-gally-view="posters"] .r .pic { width: auto; height: auto; aspect-ratio: 3 / 4; }
.hm .days[data-gally-view="posters"] .r .pic .glow { inset: -30%; width: 160%; height: 160%; filter: blur(28px) saturate(1.2); }
.hm .days[data-gally-view="posters"] .r .pic .art { padding: 16px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .4)); }
.hm .days[data-gally-view="posters"] .r .tx { margin-top: 14px; }
.hm .days[data-gally-view="posters"] .k .kt { display: inline; }
.hm .days[data-gally-view="posters"] .k .kt + .kd::before { display: inline; content: " · "; }
.hm .days[data-gally-view="posters"] .r h3 { margin-top: 4px; font-size: 15px; }
.hm .days[data-gally-view="posters"] .pl { font-size: 14px; flex-wrap: wrap; white-space: normal; }
.hm .days[data-gally-view="posters"] .r .end { order: 5; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 8px; margin-top: auto; padding-top: 10px; }
.hm .days[data-gally-view="posters"] .r .end .price { margin-right: auto; }
.hm .days[data-gally-view="posters"] .r .end .buy { display: none; }
.hm .days[data-gally-view="posters"] .r .was { order: 5; margin-top: auto; padding-top: 10px; }
.hm .days[data-gally-view="posters"] .r .hrt { position: absolute; right: -8px; bottom: -8px; width: 36px; height: 36px; margin: 0; }
@media (min-width: 761px) {
  .hm .days[data-gally-view="posters"] .day { padding: 36px 0 28px; }
  .hm .days[data-gally-view="posters"] .day > .dh b { font-size: 52px; }
  .hm .days[data-gally-view="posters"] .rows { gap: 24px 16px; }
  .hm .days[data-gally-view="posters"] .r h3 { font-size: 18px; }
  .hm .days[data-gally-view="posters"] .r .end { padding-right: 32px; gap: 14px; }
  .hm .days[data-gally-view="posters"] .r .end .buy { display: inline; }
}
@media (min-width: 901px) { .hm .days[data-gally-view="posters"] .rows { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1101px) {
  .hm .days[data-gally-view="posters"] .day > .dh b { font-size: 64px; }
  .hm .days[data-gally-view="posters"] .rows { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
}

/* ===== «Календарь»: the month across the page as a ruled grid, the picked day's programme under it ===== */
.hm .calendar-wrap { padding: 4px 0 64px; }
.hm .cal .gally-cal-head { align-items: center; gap: 16px; padding: 28px 0 12px; }
.hm .cal .gally-cal-month { font-size: 28px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.hm .cal .gally-cal-year { font: 300 28px/1 Geologica, system-ui, sans-serif; letter-spacing: -.03em; text-transform: none; color: var(--txt); padding: 0; }
.hm .cal .gally-cal-total { font: 400 15px Geologica, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--mut); }
.hm .cal .gally-cal-programme-words { font: 500 18px Geologica, system-ui, sans-serif; letter-spacing: 0; text-transform: lowercase; color: var(--txt); }
.hm .cal .gally-cal-programme-words > * + * { font-size: 14px; font-weight: 400; color: var(--mut); }
.hm .cal .gally-cal-programme-near { color: var(--mut); }
.hm .cal .promo { display: inline-block; padding: 4px 8px; border: 1px solid var(--txt); border-radius: 999px; background: none; font: 400 12px/1 Geologica, system-ui, sans-serif; text-transform: lowercase; letter-spacing: 0; color: var(--txt); }
.hm .cal-foot .price { font-weight: 400; color: var(--mut); }
.hm .cal-foot .go { font-size: 15px; }
.hm .cal .gally-cal-nav a, .hm .cal .gally-cal-nav .gally-cal-edge { border: 0; color: var(--mut); }
.hm .cal .gally-cal-nav a:hover { background: var(--hl); color: var(--txt); }
.hm .cal .gally-cal-grid { border-top: 1.5px solid var(--txt); border-bottom: 0; padding-top: 0; }
.hm .cal .gally-cal-wd { padding: 10px 0; color: var(--mut); text-transform: none; letter-spacing: 0; font: 400 13px Geologica, system-ui, sans-serif; }
.hm .cal .gally-cal-wd[data-gally-state~="weekend"] { color: var(--mut); }
.hm .cal .gally-cal-cell[aria-current] .gally-cal-num { background: var(--txt); color: var(--bg); }
.hm .cal-row { grid-template-columns: 88px minmax(0, 1fr); border-bottom: 1px solid var(--hline); }
.hm .cal-thumb { position: relative; height: 110px; aspect-ratio: auto; border-radius: 0; background: var(--hpic); }
.hm .cal-text .meta { font: 400 13px Geologica, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--mut); }
.hm .cal-text .title { font-size: 17px; font-weight: 500; }
.hm .cal-text .place { font-size: 15px; }
/* her 08.11 night: «было лучше» — the calendar keeps the site's own layout (styles.css: the month beside the day's
   programme); only the label and the type of the rows are this page's. */

/* ===== «Ещё в Нидерландах» — only while «Свои» is chosen: the rest of the country, after our own ===== */
.hm .ew { display: none; padding: 48px 0 36px; border-bottom: 1px solid var(--hline); }
.hm:has(.audseg [data-gally-value="Все свои"][aria-pressed="true"]) .ew { display: block; }
.hm .ew-h { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.hm .ew-h h2 { max-width: 640px; margin-top: 10px; font-size: 28px; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.hm .ew-l { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.hm .ew-l a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm .ew-l a + a { display: none; }
.hm .ecs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--hp)); padding-right: var(--hp); }
.hm .ecs::-webkit-scrollbar { display: none; }
.hm .ec { flex: none; width: 240px; min-width: 0; scroll-snap-align: start; color: var(--txt); }
.hm .ec .ph { position: relative; display: block; height: 180px; overflow: hidden; background: var(--hpic); }
.hm .ec .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hm .ec:hover .ph img { transform: scale(1.03); }
/* A card with no official poster (or only a Wikimedia photo): the afisha tile — surface, inset line, the short
   violet mark, the kind at the bottom-left — the same tile as the rows above (.pic:has(.ini)) and the tabs' .a2-tile. */
/* 18.11.2026 wave 2: it is the date tile of the afisha tabs (.a2-dtile) — the big light day, its month, what it is —
   so a card without a poster reads as designed, not as a picture that failed to load. */
.hm .ec .ph:has(.dt) { display: flex; padding: 16px 18px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hline); }
.hm .ec .dt { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; width: 100%; min-width: 0; }
.hm .ec .dt b { font: 200 56px/1 Geologica, system-ui, sans-serif; letter-spacing: -.03em; white-space: nowrap; color: var(--txt); }
.hm .ec .dt i { margin-top: 6px; font-size: 15px; font-style: normal; color: var(--txt); }
.hm .ec .dt i:empty { display: none; }
.hm .ec .dt small { margin-top: 2px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--mut); text-transform: lowercase; }
.hm .ec .h4 .aud-tag { vertical-align: 1px; }
.hm .ec .cr { display: block; min-height: 15px; margin-top: 6px; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .ec .w { display: block; margin-top: 6px; font-size: 13px; color: var(--mut); }
.hm .ec .w .meta-part:empty { display: none; }
.hm .ec .w .meta-part:not(:empty) ~ .meta-part:not(:empty)::before { content: " · "; font-weight: 400; color: var(--mut); }
.hm .ec .w b { font-weight: 600; color: var(--txt); }
.hm .ec .h4 { display: block; margin-top: 4px; font-size: 18px; font-weight: 500; line-height: 1.25; }
.hm .ec:hover .h4 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hm .ec .pl { display: block; margin-top: 3px; font-size: 14px; }
@media (min-width: 601px) {
  .hm .ew-l a + a { display: inline; }
  .hm .ecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; overflow: visible; margin: 0; padding: 0; }
  .hm .ec { width: auto; }
}
@media (min-width: 901px) {
  .hm .ew { padding: 72px 0 56px; }
  .hm .ew-h { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .hm .ew-h h2 { font-size: 40px; }
  .hm .ew-l { flex-wrap: nowrap; gap: 24px; }
  .hm .ecs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== catalogue teaser: the heading left, the twelve themes right ===== */
.hm .teaser { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 36px 0; border-top: 0; }
.hm .teaser .eyebrow { font: 400 14px Geologica, system-ui, sans-serif; letter-spacing: .01em; text-transform: none; color: var(--mut); }
.hm .teaser h2 { margin: 12px 0 0; font-size: 28px; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.hm .teaser h2 b { font-weight: 300; color: inherit; }
.hm .teaser .btn { display: inline-block; height: auto; margin-top: 12px; padding: 0 0 2px; border: 0; border-bottom: 1.5px solid var(--txt); border-radius: 0; font-size: 16px; font-weight: 500; }
.hm .teaser .btn:hover { border-color: var(--acc); color: var(--acc); }
.hm .teaser-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-content: start; border-top: 1.5px solid var(--txt); }
.hm .teaser-list a { align-items: baseline; gap: 6px; padding: 9px 0; border-bottom: 1px solid var(--hline); font-size: 13px; }
.hm .teaser-list small { font: 300 15px Geologica, system-ui, sans-serif; color: var(--mut); font-variant-numeric: tabular-nums; }
.hm .teaser-list li:nth-child(n+7) { display: none; }
@media (min-width: 601px) {
  .hm .teaser { padding: 40px 0; gap: 28px; }
  .hm .teaser-list { column-gap: 20px; }
  .hm .teaser-list a { padding: 13px 0; font-size: 16px; }
  .hm .teaser-list small { font-size: 22px; }
  .hm .teaser-list li:nth-child(n+7) { display: block; }
  .hm .teaser .btn { margin-top: 22px; }
}
@media (min-width: 761px) { .hm .teaser { padding: 56px 0; } .hm .teaser h2 { font-size: 40px; max-width: 620px; } }
@media (min-width: 1101px) {
  .hm .teaser { grid-template-columns: 420px minmax(0, 1fr); gap: 56px; padding: 72px 0 64px; }
  .hm .teaser-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
}

/* ===== checking pass (08.11 evening): what 36 checkers found on the preview ===== */
.hm .feed { display: block; }
/* what a screen reader says and the eye does not need: the label word before each card's line */
.hm .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* no stray « · » before the kind when there is no time */
.hm .k .kt:empty, .hm .k .kt:empty + .kd::before { display: none !important; }
/* a concert's state on its card, as /shows says it: «Распродано», «Перенесён», «Отменён», «Мало билетов» */
.hm .k .st { display: inline-block; margin-left: 6px; padding: 4px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; color: var(--txt); }
.hm .k .st:is([data-state="Распродано"], [data-state="Отменён"], [data-state="Лист ожидания"]) { color: var(--mut); }
@media (min-width: 761px) { .hm .k .st { margin-left: 10px; } }
/* Moved with no new date yet (data-moved is exactly «Перенесён»): the evening it was meant for stays in its day, its
   time struck through, in the feed, the calendar and the band alike. Moved to a known date: the old one is <s> in «было». */
.hm [data-moved="Перенесён"] time, .hm [data-moved="Перенесён"] .kt,
.hm .cal-row[data-moved="Перенесён"] .meta-part:first-of-type,
.hm .ec[data-moved="Перенесён"] .w .meta-part:first-child,
.hm .r[data-moved="Перенесён"] h3, .hm .cal-row[data-moved="Перенесён"] .title, .hm .ec[data-moved="Перенесён"] .h4 { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--mut); }
/* The whole name is struck only while there is no new date: a moved event on its new date is a real evening. */
.hm .k s { text-decoration-thickness: 1.5px; color: var(--mut); }
.hm .chip small { font-size: 13px; color: inherit; }
.hm .chip small[hidden] { display: none; }

/* the label as the board has it: 11 on a phone's thumbnail and on posters, 13 on a laptop's list thumbnail, 10 at ≤380 */
.hm .kid { left: 6px; font-size: 11px; padding: 4px 7px; }
.hm .kid { bottom: 6px; }
@media (max-width: 380px) {
  .hm .kid { left: 4px; font-size: 11px; padding: 3px 5px; }
  .hm .kid { bottom: 4px; }
}
@media (min-width: 901px) {
  .hm .days:not([data-gally-view="posters"]) .r .pic .kid { font-size: 13px; padding: 5px 9px; }
}
.hm .days[data-gally-view="posters"] .r .pic .kid { font-size: 11px; padding: 5px 8px; left: 8px; }
.hm .days[data-gally-view="posters"] .r .pic .kid { bottom: 8px; }

/* the site's up/down pill no longer hides while «для кого» is docked (17.11.2026): header.js lifts it above the
   docked row on a phone, and on a laptop the row stands at the left, out of its corner */

/* nothing found: no strip frame, no «0 событий», a real block with ways on (the board's 01-home-nothing) */
.hm .strip-wrap:has(> .strip[hidden]) { display: none; }
.hm:has(.nothing:not([hidden])) .tally .count { visibility: hidden; }
.hm .nothing { padding: 48px 0 40px; border-top: 1.5px solid var(--txt); text-align: left; opacity: 1; }
.hm .nothing h2 { font-size: 32px; font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.hm .nothing p { max-width: 640px; margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--mut); }
.hm .opts2 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hm .opts2 a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--hchip); border-radius: 999px; font-size: 15px; color: var(--txt); transition: border-color .2s; }
.hm .opts2 a:hover { border-color: var(--txt); }
@media (min-width: 761px) { .hm .nothing { padding: 64px 0 56px; } .hm .nothing h2 { font-size: 48px; } }

/* favourites: send the list on, and where it is kept — only while «♥ Избранное» is on */
.hm .favbar { display: none; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 4px 0 20px; font-size: 15px; }
.hm:has([data-gally-toggle="@favorites"][aria-pressed="true"]) .favbar { display: flex; }
.hm .favbar > a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--hchip); border-radius: 999px; }
.hm .favbar > a:hover { border-color: var(--txt); }
.hm .favbar span { font-size: 14px; color: var(--mut); }
.hm .favbar span a { color: var(--txt); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 761px) { .hm .favbar span { margin-left: auto; } }

/* calendar: the heart on every programme row; the picked day's number readable in the dark too */
.hm .cal-row { grid-template-columns: 88px minmax(0, 1fr) 36px; align-items: start; }
.hm .cal-row .hrt { width: 36px; height: 36px; margin-right: -8px; align-self: center; }
@media (min-width: 900px) { .hm .cal-row { grid-template-columns: 120px minmax(0, 1fr) 40px; } .hm .cal-row .hrt { width: 40px; height: 40px; margin: 0; } }
:root.dark .hm .cal .gally-cal-cell[aria-current] .gally-cal-num { color: var(--txt); }
@media (max-width: 899px) { :root.dark .hm .cal .gally-cal-cell[aria-current] .gally-cal-num { color: var(--bg); } }

/* a phone turned sideways (short screens): the strip scrolls away with the page, the docked row is slimmer,
   and the sentence's menus open as a sheet at the side instead of a box two rows high */
@media (max-height: 500px) and (orientation: landscape) {
  .hm .strip-wrap { position: static; }
  .hm .audseg.docked button { height: 30px; }
  .gally-menu { top: 8px !important; bottom: 8px; left: auto !important; right: 8px; width: min(420px, 60vw); max-width: none; max-height: none !important; }
  .gally-menu .gally-menu-rows { flex: 1; max-height: none !important; }
}
/* «Местное» inside its frame on every phone: the four words and their counts fit from 320 to 420 */
@media (max-width: 420px) { .hm .audseg button { font-size: 13px; padding: 0 4px; gap: 4px; } }
@media (max-width: 340px) { .hm .audseg button, .hm .audseg.docked button { font-size: 12px; padding: 0 3px; gap: 2px; } }

/* ===== «Афиша 2» (her mockups, built 15.11): the page's name and views, «Что · Где · Когда» as fields with the
   search in the same bar, «для кого» and the chips in one line, a quiet deadline line under the strip, each day's
   head in one line, rows with portrait posters and what the thing is in a line or two. Everything above stays as
   it was underneath; these rules come last and win. Phone first: 600, 760, 900, 1100, 1200 as above. ===== */
.hm { --hred: var(--red); --hfest: #EEEBFD; --hfest-s: #6857E8; --hcourse: #E0F0E9; --hcourse-s: #1D7A62; }
:root.dark .hm { --hfest: rgba(124, 108, 255, .18); --hfest-s: #8F82FF; --hcourse: rgba(46, 160, 128, .18); --hcourse-s: #4CC29E; }

/* the head: «Все события», how many, the three views */
.hm .hero { display: block; padding-top: 20px; }
.hm .a2h { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h v" "n v"; align-items: center; column-gap: 12px; }
.hm .a2h h1 { grid-area: h; margin: 0; font-size: clamp(22px, 6.4vw, 26px); font-weight: 400; line-height: 30px; letter-spacing: -.03em; color: var(--txt); }
.hm .a2h .count { grid-area: n; margin: 0; font: 400 14px/1.4 Geologica, system-ui, sans-serif; color: var(--mut); white-space: nowrap; }
.hm .a2h .views { grid-area: v; }
/* on a phone the three views are three marks (list, posters, a month), the words stay for a screen reader */
@media (max-width: 600px) {
  .hm .a2h .views button { position: relative; width: 44px; height: 36px; padding: 0; font-size: 0; }
  .hm .a2h .views button::before { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--vi) center / contain no-repeat; mask: var(--vi) center / contain no-repeat; }
  .hm .a2h .views [data-gally-view="list"] { --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h12M4 10h12M4 14h12'/%3E%3C/svg%3E"); }
  .hm .a2h .views [data-gally-view="posters"] { --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3.5' y='3.5' width='5.5' height='5.5' rx='1'/%3E%3Crect x='11' y='3.5' width='5.5' height='5.5' rx='1'/%3E%3Crect x='3.5' y='11' width='5.5' height='5.5' rx='1'/%3E%3Crect x='11' y='11' width='5.5' height='5.5' rx='1'/%3E%3C/svg%3E"); }
  .hm .a2h .views [data-gally-view="calendar"] { --vi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='4.5' width='13' height='12' rx='2'/%3E%3Cpath d='M3.5 8.5h13M7 3v3M13 3v3'/%3E%3C/svg%3E"); }
}
@media (min-width: 761px) {
  .hm .hero { padding-top: 32px; }
  .hm .a2h { display: flex; align-items: baseline; gap: 16px; }
  .hm .a2h h1 { font-size: 40px; line-height: 44px; }
  .hm .a2h .count { font-size: 15px; }
  .hm .a2h .views { margin-left: auto; align-self: center; }
}

/* «Что · Где · Когда»: on a phone each a field as wide as its words, the row moving sideways, the lens held at the
   right edge — pressed, the search opens over the row; on a laptop one white bar of four */
.hm .ask { position: relative; display: flex; gap: 6px; margin-top: 14px; padding-right: 54px; overflow-x: auto; scrollbar-width: none; }
.hm .ask::-webkit-scrollbar { display: none; }
.hm .af { flex: none; display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 7px 12px; border-radius: 12px; background: var(--s1); }
.hm .af small { font-size: 12px; line-height: 15px; color: var(--mut); }
.hm .af .tok { position: relative; font-size: 15px; font-weight: 500; line-height: 21px; color: var(--txt); }
.hm .af .tok .gally-say-word { background: none; }
.hm .af .tok::after { width: 6px; height: 6px; margin: 0 1px 3px 7px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hm .srch.af { position: absolute; top: 0; right: 0; bottom: 0; z-index: 2; width: 48px; height: auto; min-height: 0; flex-direction: row; align-items: center; justify-content: center; gap: 10px; padding: 0; border: 0; border-radius: 12px; background: var(--s1); color: var(--txt); box-shadow: -8px 0 0 var(--bg), -24px 0 14px -2px var(--bg); }
.hm .srch.af svg { width: 20px; height: 20px; }
.hm .srch.af input { width: 0; flex: 1 1 0; opacity: 0; font-size: 16px; }
.hm .srch.af:focus-within, .hm .srch.af:has(input:not(:placeholder-shown)) { left: 0; width: auto; justify-content: flex-start; padding: 0 14px; box-shadow: inset 0 0 0 1.5px var(--txt); }
.hm .srch.af:focus-within input, .hm .srch.af:has(input:not(:placeholder-shown)) input { width: auto; opacity: 1; }
@media (min-width: 761px) {
  .hm .ask { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.3fr; gap: 0; margin-top: 20px; padding: 0; overflow: visible; border-radius: 14px; background: var(--s1); }
  .hm .af { min-height: 60px; padding: 10px 20px; border-radius: 0; background: none; border-right: 1px solid var(--hline); }
  .hm .af small { font-size: 13px; line-height: 17px; }
  .hm .af .tok { font-size: 16px; line-height: 22px; }
  .hm .srch.af, .hm .srch.af:focus-within, .hm .srch.af:has(input:not(:placeholder-shown)) { position: static; width: auto; padding: 0 20px; border: 0; justify-content: flex-start; background: none; box-shadow: none; color: var(--mut); }
  .hm .srch.af svg { width: 18px; height: 18px; }
  .hm .srch.af input { width: auto; opacity: 1; font-size: 15px; }
}

/* «для кого» and the chips: one line, moving sideways on a phone; the old phone grid of the hero let go */
.hm .who { flex-wrap: nowrap; gap: 8px; margin: 12px calc(-1 * var(--hp)) 0 0; padding-right: var(--hp); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.hm .who::-webkit-scrollbar { display: none; }
/* a mask paints its descendants too: the docked «для кого» (position: fixed) would be cut by it — no fade then */
.hm .who:has(.audseg.docked) { -webkit-mask-image: none; mask-image: none; }
.hm .who > * { flex: none; }
.hm .aud-spot { width: auto; }
.hm .who .chips { gap: 8px; overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
.hm .kids { height: 40px; padding: 0 14px; font-size: 15px; }
@media (max-width: 760px) {
  .hm .hero { display: block; }
  .hm .hero .who { display: flex; }
  .hm .hero .aud-spot, .hm .hero .kids, .hm .hero .chips { margin-top: 0; order: 0; }
}
@media (min-width: 761px) {
  .hm .who { flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .hm .who .chips { gap: 10px; }
  .hm .audseg button { height: 36px; padding: 0 14px; font-size: 15px; }
  .hm .kids { height: 46px; padding: 0 18px; }
  .hm .who .chip { height: 46px; }
}

/* no fade on the pressed view: the platform presses «Список» as the page loads, and the fade made every visit
   begin with a grey button turning black */
.hm .views button { transition: color .2s; }
/* the hero ends with air before the strip's black rule: 16 on a phone, 24 on a laptop (it touched it) */
.hm .hero { padding-bottom: 16px; }
@media (min-width: 761px) { .hm .hero { padding-bottom: 24px; } }
/* the lens on a phone fills the bar's height, like the fields beside it (an old 12px top margin pushed it down) */
.hm .hero .srch.af { margin: 0; }
/* docked «для кого» on a laptop lines up with the page's own left edge, not 24px off it */
@media (min-width: 761px) { .hm .audseg.docked { left: max(var(--hp), calc((100vw - 1600px) / 2 + var(--hp))); } }
/* the shelf «Идёт не один день» sticks under the stuck strip, not under the header behind it */
@media (min-width: 1101px) { .hm .ll-shelf { top: calc(var(--top-h) + 108px); max-height: calc(100vh - var(--top-h) - 120px); padding-top: 24px; } }
/* «Новое» beside the title (mockup «Все события · Список»): in the last seven days on the site, violet, no frame */
.nw { margin-left: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--acc); white-space: nowrap; vertical-align: 1px; }
/* A big monitor (mockup «Первый экран · большой монитор»): the page grows to 1760px, the strip shows four weeks,
   the right column is 400px, posters five in a row */
@media (min-width: 1840px) {
  .hm { box-sizing: content-box; max-width: 1760px; }
  .hm .strip { --dw: calc((min(100vw - 2 * var(--hp), 1760px) - 72px) / 28); scroll-padding-left: calc(2 * var(--dw)); }
  .hm .audseg.docked { left: calc((100vw - 1760px) / 2); }
  .hm .ll-two { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .hm .days[data-gally-view="posters"] .rows { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* the strip: the day being read in the accent, as the mockups have it — a rounded block inset in its cell, never
   flush with the header above it or the rule below it */
/* stuck under the header, the strip lifts a little off the page — a soft shadow, as the header's own glass; the
   inline script beside the strip marks it (.is-stuck) */
.hm .strip-wrap { transition: box-shadow .25s ease; }
.hm .strip-wrap.is-stuck { box-shadow: 0 10px 18px -14px rgba(18, 18, 17, .35); }
:root.dark .hm .strip-wrap.is-stuck { box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .7); }
/* one accent for «the day you are on»: the strip and the calendar's picked day alike */
.hm .cal .gally-cal-cell[aria-current] .gally-cal-num { background: var(--acc); color: #FFFFFF; }
@media (min-width: 900px) {
  .hm .cal .gally-cal-cell[aria-current], .hm .cal .gally-cal-cell[aria-current]:hover { background: var(--acc); }
  .hm .cal .gally-cal-cell[aria-current] .gally-cal-num { background: none; color: #FFFFFF; }
  .hm .cal .gally-cal-cell[aria-current] .gally-cal-count, .hm .cal .gally-cal-cell[aria-current]::after { color: #FFFFFF; opacity: .8; }
  /* wave 2: the month grid's names and «ещё N» already say how many; the platform's mono «2 СОБЫТИЯ» showed on a
     few past days only and ran into the first name (the cell's aria-label keeps the count for screen readers) */
  .hm .cal .gally-cal-cell .gally-cal-count { display: none; }
}
.hm .strip a { isolation: isolate; }
.hm .strip a[aria-current] { color: #FFFFFF; }
.hm .strip a[aria-current]::before { content: ""; position: absolute; inset: 2px 3px 6px; z-index: -1; border-radius: 10px; background: var(--acc); }
.hm .strip a[aria-current] .wd, .hm .strip a[aria-current] small { color: rgba(255, 255, 255, .85); }
.hm .strip a[aria-current]::after { display: none; }

/* «Сроки»: one quiet line under the strip (deadlines.html holds them all) */
.hm .dln { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 0; border-bottom: 1px solid var(--hline); font-size: 14px; white-space: nowrap; }
.hm .dln-one { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--txt); }
/* 18.11.2026 (V1): only the dot is red — the day in ink 500, as the rest of the line */
.hm .dln-one b { flex: none; font-weight: 500; color: var(--txt); }
.hm .dln-one b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--hred); vertical-align: 1px; }
.hm .dln-one span { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.hm .dln-one:hover span { text-decoration: underline; text-underline-offset: 3px; }
/* how soon and how many after it, quiet beside the deadline (mockup «Все события · Список») */
.hm .dln-in { flex: none; font-size: 14px; color: var(--mut); }
.hm .dln-in span, .hm .dln-one:hover .dln-in span { min-width: 0; overflow: visible; font-weight: 400; text-decoration: none; }
@media (max-width: 760px) { .hm .dln-in { display: none; } }
.hm .day > .dh .dh-wd { color: var(--mut); }
.hm .dln-all { flex: none; margin-left: auto; font-weight: 500; color: var(--txt); }
.hm .dln-all:hover { color: var(--acc); }
@media (max-width: 600px) { .hm .dln-one b { font-size: 13px; } .hm .dln { gap: 10px; } .hm .dln-one { gap: 8px; } }

/* a day: its head in one line, a black rule above it; the lead card of «Разворот дня» is gone (data-wd) */
.hm .day, .hm .day:not(:first-child) { display: block; padding: 18px 0 10px; border-top: 1.5px solid var(--txt); border-bottom: 0; }
.hm .days > .day:first-of-type { border-top: 0; }
.hm .day > .dh, .hm .day > .dh b, .hm .day > .dh small { display: inline; margin: 0; }
.hm .day > .dh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 4px; }
.hm .day > .dh b { font-size: 21px; font-weight: 500; line-height: 28px; letter-spacing: -.02em; color: var(--txt); }
.hm .day > .dh .dh-w { text-transform: capitalize; }
.hm .day > .dh small { flex: none; font-size: 14px; color: var(--mut); }
.hm .around { padding: 16px 0 4px; font-size: 15px; font-weight: 600; color: var(--txt); }
@media (min-width: 761px) {
  .hm .day, .hm .day:not(:first-child) { padding: 24px 0 14px; }
  .hm .day > .dh { justify-content: flex-start; }
  .hm .day > .dh b { font-size: 26px; line-height: 32px; }
  .hm .day > .dh small { font-size: 15px; }
}
@media (min-width: 1101px) {
  .hm .day, .hm .day:not(:first-child) { display: block; }
  .hm .day > .dh { display: flex; }
  .hm .day > .dh b { display: inline; font-size: 26px; margin: 0; }
  .hm .day > .dh small { display: inline; margin: 0; }
}

/* «Постеры»: the same one-line day head as the list; a poster whole on its glow, what it is under its name */
.hm .days[data-gally-view="posters"] .day, .hm .days[data-gally-view="posters"] .day:not(:first-child) { padding: 18px 0 20px; }
.hm .days[data-gally-view="posters"] .day > .dh { margin: 0 0 16px; }
.hm .days[data-gally-view="posters"] .day > .dh b { font-size: 21px; line-height: 28px; }
.hm .days[data-gally-view="posters"] .r .ds { font-size: 13px; line-height: 1.35; color: var(--mut); }
.hm .days[data-gally-view="posters"] .r .pic .art { padding: 16px; }
@media (min-width: 761px) {
  .hm .days[data-gally-view="posters"] .day, .hm .days[data-gally-view="posters"] .day:not(:first-child) { padding: 24px 0 28px; }
  .hm .days[data-gally-view="posters"] .day > .dh b { font-size: 26px; line-height: 32px; }
}
@media (min-width: 1101px) { .hm .days[data-gally-view="posters"] .day > .dh b { font-size: 26px; } }

/* a row: the poster upright (most posters are), what it is in a line or two */
.hm .r .ds { margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--txt2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
/* the team writes descriptions in lines: a line break is the sentence's end, so it stays a break here —
   without it «…Синтерклааса» and «В этом году…» read as one glued sentence */
.hm .r .pic { border-radius: 10px; }
.hm .r .pic .art { padding: 0; filter: none; }
@media (min-width: 761px) {
  .hm .r { grid-template-columns: 48px 104px minmax(0, 1fr) auto 36px; }
  .hm .r .pic { width: 104px; height: 130px; }
}
@media (min-width: 901px) {
  .hm .r { grid-template-columns: 56px 112px minmax(0, 1fr) auto 40px; }
  .hm .r .pic { width: 112px; height: 140px; }
}
@media (min-width: 1201px) {
  .hm .r { grid-template-columns: 64px 128px minmax(0, 1fr) 200px 40px; }
  .hm .r .pic { width: 128px; height: 160px; }
}


/* the calendar: what runs for days in its kind's colour — a festival violet, a course green, a word beside it */
.hm .cal-run[data-list="festivals"] { background: var(--hfest); box-shadow: inset 3px 0 0 var(--hfest-s); border-radius: 4px 10px 10px 4px; }
.hm .cal-run[data-list="event"], .hm .cal-run[data-list="todo"] { background: var(--hcourse); box-shadow: inset 3px 0 0 var(--hcourse-s); border-radius: 4px 10px 10px 4px; }
.hm .cal-run[data-list="festivals"] .cal-run-until::before { content: "Фестиваль · "; color: var(--hfest-s); font-weight: 600; }
.hm .cal-run[data-list="event"] .cal-run-until::before, .hm .cal-run[data-list="todo"] .cal-run-until::before { content: "Курс · "; color: var(--hcourse-s); font-weight: 600; }

/* 18.11.2026 (night rulings, G7/EV-04): the «для кого» label of a row is the site's one label — a 12/500 pill right
   after the title, in its line, as on the afisha tabs; her colours of «вариант А» stay (violet / --hint-bg / orange).
   The poster and its glow are hers and untouched: the label only left the picture's corner. */
.hm .days .r h3 .aud-tag + .nw { margin-left: 8px; }
/* «Подробнее →» is the row's one CTA; a box office of its own is the quiet «Билеты ↗» beside it (a new tab). */
.hm .tix { font-size: 14px; font-weight: 400; color: var(--mut); white-space: nowrap; transition: color .2s; }
.hm .tix:hover { color: var(--txt); text-decoration: underline; text-underline-offset: 4px; }
.hm .days[data-gally-view="posters"] .r .end .tix { display: none; }
/* «Что · Где · Когда» as on the tabs: the field already reads as a choice, no chevron. */
.hm .tok::after, .hm .af .tok::after { content: none; }
/* The menus (index.html marks them): a value that leaves nothing, and the sheet's «вся страна» twin, are not offered. */
.gally-menu-row[data-hm-off] { display: none; }
/* The calendar's day list: the same label after the title, and «Подробнее →» beside a box office of its own. */
.hm .cal-foot .go + .go { margin-left: 16px; }
.hm .cal-foot .go[target="_blank"] { font-weight: 400; color: var(--mut); }
/* «Откуда данные» under the feed: the afisha tabs' block (.a2-b · 17/500 head, one line of sources, «Написать нам →»). */
.hm .hm-src { max-width: 680px; margin: 56px 0 0; padding-top: 20px; border-top: 1px solid var(--hline); }
.hm .hm-src h2 { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.hm .hm-src p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--txt2); }
.hm .hm-src p a { color: var(--acc); }
.hm .hm-src-go { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--txt); }
.hm .hm-src-go:hover { text-decoration: underline; text-underline-offset: 4px; }
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .hm .hm-src { margin-top: 32px; }

/* 18.11.2026 night, repair after the check. The calendar's day list: price, the quiet «Билеты ↗» (.tix, as in the
   feed rows) and «Подробнее →» each keep their words on one line; the line itself wraps when the column is narrow. */
.hm .cal-foot { flex-wrap: wrap; column-gap: 16px; row-gap: 4px; align-items: baseline; }
.hm .cal-foot > * { white-space: nowrap; }
.hm .cal-foot .grow { flex: 1 0 0; }
.hm .cal-foot .go + .go { margin-left: 0; }
/* ♡ in a row: the site's one size — a 20px icon in a 44×44 touch area, as on the afisha tabs. */
.hm .days:not([data-gally-view="posters"]) .r .hrt, .hm .cal-row .hrt { width: 44px; height: 44px; margin: -4px -12px -4px 0; }
@media (min-width: 761px) { .hm .days:not([data-gally-view="posters"]) .r .hrt, .hm .cal-row .hrt { margin: 0 -4px 0 0; } }
/* A row with no poster: the afisha tabs' tile (.a2-tile) — the surface, a short violet line, the kind at the bottom. */
.hm .pic:has(.ini) { justify-content: flex-start; align-items: flex-end; padding: 10px; border: 0; background: var(--s1); box-shadow: inset 0 0 0 1px var(--hline); }
.hm .pic:has(.ini)::before { content: ""; position: absolute; top: 10px; left: 10px; width: 18px; height: 2px; background: var(--acc); }
.hm .pic .ini { padding: 0; font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; color: var(--txt); text-align: left; overflow-wrap: anywhere; }
@media (min-width: 761px) { .hm .pic:has(.ini) { padding: 12px; } .hm .pic .ini { font-size: 14px; } }
/* wave 2: a poster-sized tile with a 14px word in its corner read as a picture that failed to load — in «Постеры»
   the kind is set large and light, the type of the date tiles («Ещё в Нидерландах», the tabs' .a2-dtile) */
.hm .days[data-gally-view="posters"] .pic:has(.ini) { padding: 16px 18px; }
.hm .days[data-gally-view="posters"] .pic .ini { font: 200 34px/1.05 Geologica, system-ui, sans-serif; letter-spacing: -.03em; overflow-wrap: normal; hyphens: auto; }
