/* catalog.css — the two catalogues of «Места»: every museum (culture.html) and every festival (festivals.html).
   One set of parts for both, as the entry pages share places.css: a dark first screen (the gallery wall, the
   night poster), a search, and the register — filters on the left, cards on the right, one sheet on a phone.
   The filtering itself is the platform's (/_gally/lists.js: honest counts, the choice in the address, the
   next page); catalog.js only gives it this face. Colours come from styles.css, so the dark theme follows. */

.ct { --wall: #2B2F33; --wall-txt: #F2F0EB; --wall-mut: rgba(242, 240, 235, .66); --mat: #F7F5F0; --night: #121211;
  --night-line: rgba(242, 240, 235, .13); --line: rgba(var(--ink), .1); }
:where(.ct) :is(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.ct) :is(ul, ol) { list-style: none; }
.ct a:hover { color: inherit; }
.ct [hidden] { display: none !important; }
.ct-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.ct-h2 { margin-top: 12px; font-size: 48px; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.ct-sec { padding-top: 96px; }
.ct-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; }
.ct-link-all { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--acc); white-space: nowrap; }
.ct-link-all:hover { color: var(--acc) !important; text-decoration: underline; text-underline-offset: 4px; }
.ct-link-all .ct-ic { width: 18px; height: 18px; }
/* A facet is a real checkbox under its words: the platform counts it, keeps it in the address, and a
   keyboard reaches it; the words are what shows. */
.ct-side label, .ct-quick label { position: relative; cursor: pointer; }
.ct-side label > input, .ct-quick label > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-side label:has(> input:focus-visible), .ct-quick label:has(> input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.ct small { font: 500 12px var(--mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
/* A choice that would leave nothing is faint, and can still be chosen. */
.ct label[data-gally-none] { opacity: .38; }

/* ════════════════ The first screen ════════════════ */
.ct-hall { color: var(--wall-txt); }
.mu-hall { background: linear-gradient(180deg, #30353A 0%, var(--wall) 46%, #272A2E 100%); }
.fx-hall { background: var(--night); }
.ct-hall-in { padding-top: 52px; padding-bottom: 60px; }
.ct-head { display: grid; grid-template-columns: 7fr 5fr; column-gap: 48px; align-items: end; }
.ct-hall .ct-kick { color: var(--wall-mut); }
.ct-hall .ct-kick i { width: 7px; height: 7px; border-radius: 50%; background: #9C90F5; }
.fx-hall .ct-kick i { background: var(--lime); }
.ct-hall h1 { margin-top: 22px; font-size: 96px; font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.ct-lead { max-width: 600px; margin-top: 28px; font-size: 19px; line-height: 1.5; color: rgba(242, 240, 235, .8); }
.ct-lead b { font-weight: 500; color: var(--wall-txt); }
.fx-hall .ct-lead { margin-top: 0; }
.ct-search { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 22px 0 24px; border-radius: 32px; background: #FFF; color: #121211; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .8); cursor: text; }
.fx-hall .ct-search { margin-top: 28px; }
.ct-search .ct-ic { width: 22px; height: 22px; color: #6B6862; }
.ct-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font: 400 18px Geologica, system-ui, sans-serif; color: #121211; -webkit-appearance: none; appearance: none; }
.ct-search input::placeholder { color: #6B6862; }
.ct-search input::-webkit-search-decoration { -webkit-appearance: none; }
.ct-search:focus-within { box-shadow: 0 0 0 3px rgba(156, 144, 245, .55), 0 24px 48px -28px rgba(0, 0, 0, .8); }
.ct-often { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.ct-often span { margin-right: 6px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--wall-mut); }
.ct-often a { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 17px; border: 1px solid rgba(242, 240, 235, .24); font-size: 15px; color: var(--wall-txt); transition: background .2s, border-color .2s; }
.ct-often a:hover { color: var(--wall-txt) !important; background: rgba(242, 240, 235, .1); border-color: rgba(242, 240, 235, .5); }

/* The wall: the museums Expato walked hall by hall, lit frames on one centre line, their labels on one rail. */
.mu-wall { margin-top: 52px; }
.mu-hang { display: flex; justify-content: space-between; gap: 32px; margin-top: 26px; isolation: isolate; }
.mu-art { position: relative; flex: none; display: flex; flex-direction: column; width: calc(var(--fw) + 20px); }
.mu-art::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -120px; width: calc(var(--fw) * 2 + 120px); height: 460px; transform: translateX(-50%); background: radial-gradient(46% 44% at 50% 36%, rgba(255, 236, 204, .2), rgba(255, 236, 204, 0)); pointer-events: none; }
.mu-slot { height: 256px; display: flex; align-items: center; }
.mu-frame { display: block; padding: 10px; background: var(--mat); box-shadow: 0 2px 5px rgba(0, 0, 0, .35), 0 26px 40px -22px rgba(0, 0, 0, .85); transition: transform .3s ease, box-shadow .3s ease; }
.mu-frame img { display: block; width: var(--fw); height: var(--fh); object-fit: cover; object-position: var(--fp, 50% 50%); outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.mu-art:hover .mu-frame { transform: translateY(-4px); box-shadow: 0 2px 5px rgba(0, 0, 0, .35), 0 34px 48px -22px rgba(0, 0, 0, .9); }
.mu-label { display: block; margin-top: 26px; padding-left: 2px; }
.mu-label b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.mu-label b::after { content: " →"; font-weight: 400; color: #B3A9FF; }
.mu-label span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: rgba(242, 240, 235, .78); }
.mu-label i { display: block; margin-top: 8px; font: 500 12px var(--mono); font-style: normal; letter-spacing: .04em; color: var(--wall-mut); }
.mu-art:hover .mu-label b { color: #FFF; }

/* The poster: the year ahead, a month to a line, the big names big. */
.fx-poster { margin-top: 64px; }
.fx-poster-t { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--night-line); font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wall-mut); }
.fx-months { display: flex; flex-direction: column; }
.fx-month { display: grid; grid-template-columns: 196px minmax(0, 1fr) 64px; align-items: center; column-gap: 20px; height: 60px; border-bottom: 1px solid var(--night-line); color: var(--wall-txt); transition: background .2s; }
.fx-month:hover { color: var(--wall-txt) !important; background: rgba(242, 240, 235, .05); }
.fx-m { display: flex; align-items: baseline; gap: 10px; padding-left: 2px; }
.fx-m b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.fx-m small { color: var(--wall-mut); }
.fx-m em { display: none; align-self: center; height: 22px; align-items: center; padding: 0 9px; border-radius: 11px; background: var(--lime); color: #121211; font: 500 11px var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.fx-month.is-now .fx-m b { color: var(--lime); }
.fx-month.is-now .fx-m em { display: inline-flex; }
.fx-names { display: flex; align-items: baseline; min-width: 0; overflow: hidden; white-space: nowrap; text-transform: uppercase;
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
/* The dot goes with the name before it, so a wrapped line never starts with one. */
.fx-n:not(:last-child)::after { content: "·"; display: inline-block; padding: 0 .55em; font-size: 16px; font-weight: 400; color: rgba(242, 240, 235, .28); }
.fx-n b { font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -.015em; }
.fx-n em { font-style: normal; font-size: 16px; font-weight: 500; letter-spacing: .01em; color: rgba(242, 240, 235, .64); }
.fx-month:hover .fx-n em { color: rgba(242, 240, 235, .86); }
.fx-plus { justify-self: end; font: 500 13px var(--mono); color: var(--wall-mut); }
/* A month with nothing yet: the poster says so quietly and leads nowhere. */
.fx-month:not(:has(.fx-n)) { pointer-events: none; }
.fx-month:not(:has(.fx-n)) .fx-names::before { content: "Пока ничего"; font-size: 15px; text-transform: none; color: rgba(242, 240, 235, .38); }

/* ════════════════ The register ════════════════ */
.ct-reg { padding-top: 88px; scroll-margin-top: calc(var(--top-h, 65px) + 8px); }
.ct-reg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.ct-reg-head h2 { min-width: 0; font-size: 48px; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.ct-reg-head h2 .ct-said { color: var(--mut); }
.ct-tools { display: flex; flex: none; align-items: center; gap: 10px; }
.ct-filt { height: 44px; display: none; align-items: center; gap: 9px; padding: 0 16px 0 14px; border-radius: 22px; background: var(--txt); color: var(--bg); font-size: 15px; font-weight: 500; }
.ct-filt .ct-ic { width: 19px; height: 19px; }
.ct-filt b { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; border-radius: 11px; background: var(--bg); color: var(--txt); font: 500 12px var(--mono); }
.ct-sort { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--mut); }
.ct-sort select { height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--s1); color: var(--txt); font: 500 15px Geologica, system-ui, sans-serif; }
.ct-sort .gally-menu-button { height: 40px; gap: 8px; padding: 0 14px 0 16px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--txt); transition: border-color .2s; }
.ct-sort .gally-menu-button:hover { background: var(--s1); border-color: rgba(var(--ink), .3); }
.ct-sort .gally-menu-button svg { width: 12px; height: 12px; opacity: .7; }
/* What is chosen, each one off by a tap. */
.ct-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 20px; }
.ct-tag { height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 15px; border-radius: 19px; background: rgba(var(--accr), .12); color: var(--txt); font-size: 15px; font-weight: 500; transition: background .2s; }
.ct-tag:hover { background: rgba(var(--accr), .2); }
.ct-tag .ct-ic { width: 16px; height: 16px; color: var(--acc); stroke-width: 2.2; }
.ct-clear { height: 38px; margin-left: 4px; padding: 0 6px; font-size: 15px; font-weight: 500; color: var(--acc); }
.ct-clear:hover { text-decoration: underline; text-underline-offset: 4px; }
.ct-quick { display: none; }

.ct-body { display: grid; grid-template-columns: 344px minmax(0, 1fr); column-gap: 48px; align-items: start; padding-top: 36px; }

/* ── Filters ── */
.ct-side { display: grid; gap: 36px; }
.ct-side-top, .ct-bar, .ct-veil { display: none; }
.ct-group > .ct-kick { margin-bottom: 14px; }
.ct-every { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--txt); text-align: left; transition: border-color .2s; }
.ct-every:hover { border-color: rgba(var(--ink), .3); }
.ct-every small { color: var(--mut); }
.ct-every.is-on { background: var(--txt); border-color: var(--txt); color: var(--bg); }
.ct-every.is-on small { color: rgba(242, 240, 235, .7); }
:root.dark .ct-every.is-on small { color: rgba(15, 15, 16, .6); }
.ct-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(5, 64px); gap: 6px; margin-top: 8px;
  grid-template-areas: "nh fr fr gr" "nh fl ov dr" "zh ut ge ge" "ze nb nb li" "all all all li"; }
.ct-tile { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 9px 9px 9px 10px; border-radius: 10px; background: rgba(var(--accr), var(--a, .1)); color: var(--txt); transition: box-shadow .2s, background .2s; }
.ct-tile:hover { box-shadow: inset 0 0 0 1.5px var(--txt); }
.ct-tile small { font-size: 13px; }
.ct-tile span { font-size: 11.5px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.ct-tile:has(> input:checked) { background: var(--txt); color: var(--bg); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.ct-tile.is-all { flex-direction: row; align-items: center; gap: 10px; justify-content: flex-start; }
.ct-sub { margin: 18px 0 10px; font-size: 13px; color: var(--mut); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-chip { height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 17px; background: var(--s1); border: 1px solid var(--line); font-size: 14px; color: var(--txt); white-space: nowrap; transition: border-color .2s; }
.ct-chip:hover { border-color: rgba(var(--ink), .35); }
.ct-chip small { color: var(--mut); }
.ct-chip:has(> input:checked), .ct-chip.is-on { background: var(--txt); border-color: var(--txt); color: var(--bg); }
.ct-chip:has(> input:checked) small, .ct-chip.is-on small { color: rgba(242, 240, 235, .7); }
:root.dark .ct-chip:has(> input:checked) small, :root.dark .ct-chip.is-on small { color: rgba(15, 15, 16, .6); }
.ct-rows { display: grid; }
.ct-row { min-height: 38px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; column-gap: 10px; padding: 0 2px; font-size: 15px; line-height: 1.25; color: var(--txt2); text-align: left; }
.ct-row::before { content: ""; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgba(var(--ink), .3); transition: border-color .15s; }
.ct-row:hover { color: var(--txt); }
.ct-row:hover::before { border-color: var(--txt); }
.ct-row small { color: var(--mut); }
.ct-row:has(> input:checked), .ct-row.is-on { color: var(--txt); font-weight: 500; }
.ct-row:has(> input:checked)::before, .ct-row.is-on::before { border: 5px solid var(--txt); }
/* A kind's own kinds (music's genres) open under it once it is chosen. */
.ct-subrows { display: none; flex-wrap: wrap; gap: 6px; padding: 4px 0 12px 34px; }
.ct-row:has(> input:checked) + .ct-subrows { display: flex; }
.ct-subrows .ct-chip { height: 32px; font-size: 13.5px; }
.ct-sw { width: 100%; min-height: 48px; display: grid; grid-template-columns: 1fr auto 44px; align-items: center; column-gap: 14px; font-size: 15px; color: var(--txt); text-align: left; }
.ct-sw + .ct-sw { border-top: 1px solid var(--line); }
.ct-sw small { color: var(--mut); }
.ct-sw b { position: relative; width: 44px; height: 26px; border-radius: 13px; background: rgba(var(--ink), .16); transition: background .2s; }
.ct-sw b::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.ct-sw:has(> input:checked) b, .ct-sw.is-on b { background: var(--txt); }
.ct-sw:has(> input:checked) b::after, .ct-sw.is-on b::after { transform: translateX(18px); }
:root.dark .ct-sw:has(> input:checked) b::after, :root.dark .ct-sw.is-on b::after { background: var(--bg); }
.ct-sw:hover b { background: rgba(var(--ink), .26); }
.ct-sw:has(> input:checked):hover b, .ct-sw.is-on:hover b { background: var(--txt); }
.ct-past { width: 100%; height: 44px; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 0 16px; border-radius: 12px; border: 1px dashed rgba(var(--ink), .24); font-size: 15px; color: var(--txt2); transition: border-color .2s, color .2s; }
.ct-past:hover { border-color: var(--txt); color: var(--txt) !important; }
.ct-past small { color: var(--mut); }
/* Months as a calendar: the year starts where we are; «сейчас» marks this month. */
.fx-cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.fx-mon { position: relative; height: 58px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 8px 9px 8px 10px; border-radius: 10px; background: rgba(var(--accr), var(--a, .1)); color: var(--txt); transition: box-shadow .2s; }
.fx-mon:hover { box-shadow: inset 0 0 0 1.5px var(--txt); }
.fx-mon span { font-size: 13px; font-weight: 500; }
.fx-mon small { font-size: 13px; }
.fx-mon.is-now { box-shadow: inset 0 0 0 1.5px var(--txt); }
.fx-mon.is-now::after { content: "сейчас"; position: absolute; right: 7px; bottom: 8px; font: 500 9.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.fx-mon:has(> input:checked) { background: var(--txt); color: var(--bg); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.fx-mon.is-wide { grid-column: 1 / -1; height: 44px; flex-direction: row; align-items: center; justify-content: space-between; }
.fx-cal-y { grid-column: 1 / -1; margin: 6px 0 -2px; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--mut); }

/* ── Results ── */
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 44px; }
.ct-card { position: relative; min-width: 0; }
.ct-card > a { display: block; }
.ct-pic { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--s2); }
.ct-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 50%); transition: transform .5s ease; }
.ct-card > a:hover .ct-pic img { transform: scale(1.03); }
.ct-badge { position: absolute; top: 14px; left: 14px; height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 14px; background: var(--acc); color: #FFF; font-size: 13px; font-weight: 500; }
.ct-date { position: absolute; top: 14px; left: 14px; height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 15px; background: #FFF; color: #121211; font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.ct-date.is-month { background: rgba(255, 255, 255, .88); color: #3A3936; }
.ct-date.is-now { background: var(--lime); color: #121211; }
.ct-txt { display: block; }
.ct-meta { display: block; margin-top: 16px; font: 500 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.ct-card h3 { margin-top: 8px; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; transition: color .2s; }
.ct-card > a:hover h3 { color: var(--acc); }
.ct-card p { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 15px; line-height: 1.45; color: var(--txt2); }
.ct-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--txt2); }
.ct-facts:empty { display: none; }
.ct-facts > span { display: inline-flex; align-items: center; gap: 6px; }
.ct-facts .is-yes::before { content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ct-facts .is-no { color: var(--mut); }
.ct-facts .is-guide { display: none; color: var(--acc); font-weight: 500; }
/* The heart: the platform's own button, drawn here. The platform still writes its ♡ inside: in a row that glyph takes
   no room, where a grid gave it a row of its own and pushed the drawn heart up. */
.ct-fav { position: absolute; z-index: 1; top: 12px; right: 12px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #121211; font-size: 0; line-height: 0; transition: transform .2s, background .2s; }
.ct-fav::before { content: ""; flex: none; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ct-fav:hover { transform: scale(1.06); background: #FFF; }
.ct-fav[aria-pressed="true"] { color: var(--acc); }
.ct-fav[aria-pressed="true"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }

/* The card of the card: Museumkaart among the museums, after the sixth; while a visitor narrows the list it steps
   aside. Festivals keep «без билета» the same way. */
.ct-grid > [data-gally-entry]:nth-child(n+7 of [data-gally-entry]) { order: 2; }
.ct-grid > .ct-feature:not(.fx-nt) { order: 1; }
.ct-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 318px; column-gap: 48px; align-items: center; padding: 48px 52px 52px; border-radius: 28px; background: var(--acc); color: #FFF; }
.ct:has(.ct-side input:checked) .ct-feature, .ct:has(.ct-search input:not(:placeholder-shown)) .ct-feature { display: none; }
.ct-feature .ct-kick { color: rgba(255, 255, 255, .72); }
.ct-feature h3 { margin-top: 14px; font-size: 36px; font-weight: 500; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.ct-feature-lead { max-width: 520px; margin-top: 16px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.ct-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .24); }
.ct-notes b { display: block; font-size: 15px; font-weight: 600; }
.ct-notes span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.ct-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ct-btn { height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 26px; font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s; }
.ct-btn .ct-ic { width: 17px; height: 17px; }
.ct-btn-white { background: #FFF; color: var(--acc); }
.ct-btn-white:hover { color: var(--acc) !important; background: #F1EFFF; }
.ct-btn-line { border: 1.5px solid rgba(255, 255, 255, .6); color: #FFF; }
.ct-btn-line:hover { color: #FFF !important; background: rgba(255, 255, 255, .1); border-color: #FFF; }
/* A till receipt: what four museums cost without the card. */
.ct-receipt { position: relative; padding: 26px 26px 34px; background: #FFF; color: #121211; font: 500 13px var(--mono); box-shadow: 0 30px 50px -30px rgba(20, 10, 80, .7); transform: rotate(1.2deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x; }
.ct-receipt-t { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed rgba(0, 0, 0, .3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6B6862; }
.ct-receipt ul { padding: 8px 0 10px; }
.ct-receipt li, .ct-receipt-sum { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.ct-receipt li span:first-child { font-family: Geologica, system-ui, sans-serif; font-size: 15px; font-weight: 400; }
.ct-receipt-sum { border-top: 1px dashed rgba(0, 0, 0, .3); padding-top: 14px; font-size: 14px; }
.ct-receipt-sum + .ct-receipt-sum { border-top: 0; padding-top: 4px; }
.ct-receipt-card { color: #6857E8; }
.ct-receipt-save { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(104, 87, 232, .1); font-family: Geologica, system-ui, sans-serif; font-size: 14px; line-height: 1.4; color: #121211; }
.ct-receipt-save b { font: 500 14px var(--mono); color: #6857E8; }
/* A ticket stub for the free ones: the next few, by date. */
.fx-ticket { position: relative; padding: 22px 24px 30px; background: #FFF; color: #121211; box-shadow: 0 30px 50px -30px rgba(20, 10, 80, .7); transform: rotate(-1deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x; }
.fx-ticket-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(0, 0, 0, .3); font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6B6862; }
.fx-ticket-t b { font-size: 22px; font-weight: 500; letter-spacing: 0; color: #6857E8; }
.ct-feature.fx-nt { grid-template-columns: minmax(0, 1fr) 432px; }
.fx-ticket li a { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 6px 0; color: #121211; }
.fx-ticket li:first-child a { padding-top: 12px; }
.fx-ticket li a:hover span { color: #6857E8; }
.fx-ticket li i { min-width: 64px; font: 500 12px var(--mono); font-style: normal; white-space: nowrap; color: #6857E8; }
.fx-ticket li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 15px/1.3 Geologica, system-ui, sans-serif; transition: color .2s; }
.fx-ticket li small { font: 400 13px Geologica, system-ui, sans-serif; color: #6B6862; text-align: right; }

/* A festival list by month: the month is a rule across the grid. */
.fx-when { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-bottom: -20px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--txt); }
.fx-when::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fx-when small { color: var(--mut); }
.fx-group { display: contents; }
.fx-fold { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: -12px; font-size: 16px; font-weight: 500; color: var(--acc); }
.fx-fold:hover { text-decoration: underline; text-underline-offset: 4px; }
.fx-fold .ct-ic { width: 18px; height: 18px; }
.ct-folded { display: none !important; }

/* «Show more», how many are showing, and nothing found — never a dead end. */
.ct-results .gally-more { display: inline-flex; align-items: center; height: 52px; margin: 56px 24px 0 0; padding: 0 26px; border-radius: 26px; border: 1.5px solid var(--txt); background: none; font-size: 16px; font-weight: 500; color: var(--txt); cursor: pointer; transition: background .2s; }
.ct-results .gally-more:hover { background: rgba(var(--ink), .05); }
.ct-count { display: inline-block; margin-top: 56px; font-size: 15px; color: var(--mut); vertical-align: middle; }
.gally-more + .ct-count { margin-top: 0; }
.gally-more[hidden] + .ct-count { margin-top: 56px; }
.ct-results .gally-none { padding: 8px 0 0; text-align: left; opacity: 1; font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--txt); }
.ct-few { margin-top: 36px; padding: 28px 28px 24px; border-radius: 22px; background: var(--s1); }
.ct-few h3 { font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.ct-near { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.ct-near button { height: 70px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 10px 11px; border-radius: 12px; background: rgba(var(--accr), var(--a, .12)); color: var(--txt); text-align: left; transition: box-shadow .2s; }
.ct-near button:hover { box-shadow: inset 0 0 0 1.5px var(--txt); }
.ct-near small { font-size: 14px; }
.ct-near span { font-size: 13px; font-weight: 500; line-height: 1.15; }
.ct-wide { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; text-align: left; color: var(--txt); }
.ct-wide:hover { color: var(--acc); }
.ct-wide .ct-ic { color: var(--acc); }
.ct-miss { margin: 72px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--txt2); }
.ct-miss a { color: var(--acc); font-weight: 500; }
.ct-miss a:hover { color: var(--acc) !important; text-decoration: underline; text-underline-offset: 4px; }

/* What is no longer: closed museums, festivals that are not held — their pages stay, here. */
.ct-gone { padding-top: 96px; padding-bottom: 24px; scroll-margin-top: calc(var(--top-h, 65px) + 8px); }
.ct-gone-head { display: grid; grid-template-columns: 344px minmax(0, 1fr); column-gap: 48px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ct-gone-head h2 { font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.ct-gone-head p { font-size: 15px; line-height: 1.5; color: var(--mut); }
.ct-gone-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-left: 392px; }
.ct-gone-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-gone-list img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.ct-gone-list a:hover img { filter: none; opacity: 1; }
.ct-gone-list b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ct-gone-list a > span > span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--mut); }
.ct-gone-list a:hover b { color: var(--acc); }

/* ════════════════ Festivals: soon, and the kinds ════════════════ */
/* The next eight weeks as a running order: a bar from the first day to the last. */
.fx-tt { margin-top: 36px; --days: 63; }
.fx-tt-axis, .fx-tt-row { display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.fx-tt-scale { position: relative; height: 58px; }
.fx-tt-mon { position: absolute; top: 0; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--txt); white-space: nowrap; }
.fx-tt-day { position: absolute; top: 30px; font: 500 12px var(--mono); color: var(--mut); transform: translateX(-50%); white-space: nowrap; }
.fx-tt-day.is-today { transform: none; height: 22px; display: inline-flex; align-items: center; margin-top: -4px; padding: 0 9px; border-radius: 11px; background: var(--txt); color: var(--bg); }
.fx-tt-body { position: relative; }
.fx-tt-body::after { content: ""; position: absolute; top: 0; bottom: 0; left: 340px; right: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(var(--ink), .14) 0 1px, transparent 1px calc(100% / 9)); }
.fx-tt-row { position: relative; height: 64px; align-items: center; border-top: 1px solid var(--line); color: var(--txt); transition: background .2s; }
.fx-tt-row:last-child { border-bottom: 1px solid var(--line); }
.fx-tt-row:hover { color: var(--txt) !important; background: var(--s1); }
.fx-tt-name { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; min-width: 0; padding-right: 16px; }
.fx-tt-name img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.fx-tt-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.fx-tt-name small { display: flex; align-items: center; gap: 8px; margin-top: 3px; font: 400 13px Geologica, system-ui, sans-serif; color: var(--mut); }
.fx-free { height: 20px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 10px; background: var(--lime); color: #121211; font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.fx-tt-lane { position: relative; height: 100%; }
.fx-bar { position: absolute; top: 18px; left: calc(var(--s, 0) * 100% / var(--days)); width: calc((var(--e, 0) - var(--s, 0) + 1) * 100% / var(--days)); min-width: 16px; height: 28px; display: flex; align-items: center; padding: 0 12px; border-radius: 14px; background: var(--acc); color: #FFF; font: 500 12.5px var(--mono); white-space: nowrap; z-index: 1; }
.fx-bar em { font-style: normal; }
.fx-bar.is-out em { position: absolute; left: calc(100% + 10px); color: var(--txt); }
.fx-bar.is-left em { position: absolute; left: auto; right: calc(100% + 12px); color: var(--txt); }
.fx-bar.is-day { top: 24px; width: 16px; height: 16px; padding: 0; border-radius: 50%; margin-left: calc(50% / var(--days)); transform: translateX(-8px); }
.fx-bar.is-on { border-radius: 14px 0 0 14px; }
.fx-bar.is-on::after { content: ""; position: absolute; right: -12px; top: 0; border: 14px solid transparent; border-left: 12px solid var(--acc); border-right: 0; }
.fx-bar.is-before { border-radius: 0 14px 14px 0; }
.fx-tt-row.is-late { display: none; }
/* Eight kinds: music is one of them. */
.fx-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.fx-kind { position: relative; height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: 20px; overflow: hidden; color: #FFF; isolation: isolate; }
.fx-kind img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--p, 50% 50%); transition: transform .6s ease; }
.fx-kind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 38%, rgba(10, 10, 10, .78) 100%); }
.fx-kind:hover { color: #FFF !important; }
.fx-kind:hover img { transform: scale(1.04); }
.fx-kind-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fx-kind-t b { font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.fx-kind-t small { font-size: 14px; color: rgba(255, 255, 255, .8); }
.fx-kind-ex { margin-top: 8px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .82); }

/* ════════════════ Laptops and tablets ════════════════ */
@media (max-width: 1279px) {
  .ct-hall h1 { font-size: 80px; }
  .mu-hang { overflow-x: auto; justify-content: flex-start; margin-right: -40px; padding: 0 40px 4px 0; scrollbar-width: none; }
  .mu-hang::-webkit-scrollbar { display: none; }
  .ct-body, .ct-gone-head { grid-template-columns: 300px minmax(0, 1fr); column-gap: 36px; }
  .ct-gone-list { margin-left: 336px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-feature { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .ct-feature .ct-receipt, .ct-feature .fx-ticket { max-width: 420px; }
  .fx-tt-axis, .fx-tt-row { grid-template-columns: 280px minmax(0, 1fr); }
  .fx-tt-body::after { left: 280px; }
  .fx-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-kind { height: 280px; }
}
@media (max-width: 1099px) {
  .ct-head { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .fx-hall .ct-lead { margin-top: 0; }
  .ct-hall h1 { font-size: 72px; }
  .ct-h2, .ct-reg-head h2 { font-size: 40px; }
  .fx-month { grid-template-columns: 150px minmax(0, 1fr) 48px; }
  .fx-n b { font-size: 22px; }
  .fx-n em { font-size: 14px; }
  .fx-tt-axis, .fx-tt-row { grid-template-columns: 220px minmax(0, 1fr); }
  .fx-tt-body::after { left: 220px; }
  .fx-tt-name img { display: none; }
  .fx-tt-name { grid-template-columns: minmax(0, 1fr); }
}

/* ════════════════ Phones and narrow tablets: the list is a list, the filters are one sheet ════════════════ */
@media (max-width: 859px) {
  .ct-body { display: block; padding-top: 0; }
  .ct-reg-head { display: block; padding-bottom: 0; border-bottom: 0; }
  .ct-tools { margin-top: 18px; }
  .ct-filt { display: inline-flex; }
  .ct-sort > span { display: none; }
  .ct-sort .gally-menu-button { height: 44px; border-radius: 22px; }
  .ct-on:not([hidden]) + .ct-quick { display: none; }
  .ct-quick { display: flex; gap: 6px; margin: 12px -18px 0; padding: 0 18px 2px; overflow-x: auto; scrollbar-width: none; }
  .ct-quick::-webkit-scrollbar { display: none; }
  .ct-quick .ct-chip { flex: none; height: 38px; padding: 0 14px; font-size: 15px; }
  .ct-on { padding-top: 12px; }
  /* The sheet rises over the page; the page stays behind it, dimmed. */
  .ct-side { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 44px); display: block; overflow-y: auto; overscroll-behavior: contain; padding: 10px 18px 0; border-radius: 24px 24px 0 0; background: var(--bg); box-shadow: 0 -10px 30px rgba(0, 0, 0, .18); transform: translateY(104%); visibility: hidden; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s .32s; }
  .ct-side::before { content: ""; display: block; width: 40px; height: 5px; margin: 0 auto; border-radius: 3px; background: rgba(var(--ink), .18); }
  .ct.is-sheet .ct-side { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .ct-veil { display: block; position: fixed; z-index: 999; inset: 0; background: rgba(0, 0, 0, .34); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .ct.is-sheet .ct-veil { opacity: 1; pointer-events: auto; }
  .ct-side-top { position: sticky; z-index: 2; top: -10px; display: flex; align-items: center; justify-content: space-between; margin: 0 -18px; padding: 14px 18px 6px; background: var(--bg); }
  .ct-side-top h2 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
  .ct-x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--s1); color: var(--txt); }
  .ct-group { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
  .ct-group:last-of-type { border-bottom: 0; }
  .ct-every { height: 46px; font-size: 16px; }
  .ct-map { grid-template-rows: repeat(5, 66px); }
  .ct-tile span { font-size: 11.5px; letter-spacing: -.02em; }
  .ct-tile small { font-size: 14px; }
  .ct-chips { gap: 8px; }
  .ct-chip { height: 40px; padding: 0 15px; font-size: 15px; }
  .ct-sw { min-height: 54px; font-size: 16px; }
  .ct-rows.is-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .ct-rows.is-chips .ct-row { min-height: 40px; display: inline-flex; gap: 8px; padding: 0 15px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); font-size: 15px; color: var(--txt); }
  .ct-rows.is-chips .ct-row::before { display: none; }
  .ct-rows.is-chips .ct-row:has(> input:checked), .ct-rows.is-chips .ct-row.is-on { background: var(--txt); border-color: var(--txt); color: var(--bg); }
  .ct-rows.is-chips .ct-row:has(> input:checked) small, .ct-rows.is-chips .ct-row.is-on small { color: rgba(242, 240, 235, .7); }
  .ct-subrows { width: 100%; padding: 2px 0 6px; }
  .ct-bar { position: sticky; z-index: 2; bottom: 0; display: flex; align-items: center; gap: 12px; margin: 0 -18px; padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); background: var(--s1); box-shadow: 0 -1px 0 var(--line), 0 -14px 30px -18px rgba(0, 0, 0, .25); }
  .ct-bar .gally-reset, .ct-reset { height: 52px; display: inline-flex; align-items: center; padding: 0 14px; border: 0; border-radius: 0; background: none; font-size: 16px; font-weight: 500; color: var(--txt); }
  .ct-show { flex: 1; height: 52px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 26px; background: var(--txt); color: var(--bg); font-size: 16px; font-weight: 500; }

  /* A column, not a block: the order that puts Museumkaart after the sixth museum works here too. */
  .ct-grid { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
  .ct-card { border-bottom: 1px solid var(--line); }
  .ct-card > a { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; }
  .ct-pic { width: 108px; height: 108px; aspect-ratio: auto; border-radius: 14px; }
  .ct-badge { display: none; }
  .ct-date { top: auto; bottom: 6px; left: 6px; height: 22px; padding: 0 7px; border-radius: 11px; font-size: 10.5px; }
  /* 6px in from the picture's corner: 16 + 6 down, 108 − 6 − 30 across. */
  .ct-fav { top: 22px; right: auto; left: 72px; width: 30px; height: 30px; }
  .ct-fav::before { width: 16px; height: 16px; }
  .ct-meta { margin-top: 0; font-size: 10.5px; }
  .ct-card h3 { margin-top: 5px; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
  .ct-card p { margin-top: 4px; -webkit-line-clamp: 2; font-size: 14px; line-height: 1.4; }
  .ct-facts { gap: 4px 12px; margin-top: 8px; font-size: 12.5px; }
  .ct-facts .is-yes::before { width: 14px; height: 14px; }
  .ct-facts .is-guide { display: inline-flex; }
  .ct-feature { display: block; margin: 24px 0 8px; padding: 30px 22px 26px; border-radius: 24px; }
  .ct-feature h3 { margin-top: 12px; font-size: 30px; }
  .ct-feature-lead { margin-top: 12px; font-size: 16px; }
  .ct-feature .ct-receipt, .ct-feature .fx-ticket { max-width: none; margin: 22px 4px 0; transform: rotate(-1deg); }
  .ct-notes { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; padding-top: 18px; }
  .ct-btns { flex-direction: column; gap: 10px; margin-top: 24px; }
  .ct-btn { width: 100%; }
  .fx-when { margin: 28px 0 0; padding-bottom: 4px; }
  .fx-fold { margin: 14px 0 6px; }
  .ct-results .gally-more { width: 100%; justify-content: center; margin: 24px 0 0; }
  .ct-count, .gally-more + .ct-count, .gally-more[hidden] + .ct-count { display: block; margin-top: 12px; text-align: center; font-size: 14px; }
  .ct-results .gally-none { padding-top: 24px; font-size: 22px; }
  .ct-few { margin-top: 28px; padding: 24px 20px 22px; }
  .ct-near { grid-template-columns: 1fr 1fr; }
  .ct-miss { margin: 40px 0 0; padding-top: 22px; font-size: 15px; }
  .ct-gone { padding-top: 64px; }
  .ct-gone-head { display: block; }
  .ct-gone-head p { margin-top: 8px; }
  .ct-gone-list { display: block; margin-left: 0; }
}
@media (max-width: 699px) {
  .ct-hall-in { padding-top: 30px; padding-bottom: 36px; }
  .ct-hall h1 { margin-top: 16px; font-size: 46px; line-height: 1; }
  .ct-lead { margin-top: 16px; font-size: 17px; }
  .ct-search { height: 56px; margin-top: 0; padding: 0 18px 0 18px; border-radius: 28px; }
  .fx-hall .ct-search { margin-top: 22px; }
  .ct-search input { font-size: 17px; }
  .ct-head { row-gap: 24px; }
  .ct-often { flex-wrap: nowrap; margin: 14px -18px 0; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
  .ct-often::-webkit-scrollbar { display: none; }
  .ct-often span { display: none; }
  .ct-often a { flex: none; height: 38px; padding: 0 15px; border-color: rgba(242, 240, 235, .26); }
  .mu-wall { margin-top: 40px; }
  .mu-hang { gap: 26px; margin: 18px -18px 0; padding: 0 18px 4px; }
  .mu-art { width: max(150px, calc(var(--fw) * .7 + 16px)); }
  .mu-art::before { top: -90px; width: calc(var(--fw) * 1.4 + 80px); height: 330px; }
  .mu-slot { height: 190px; }
  .mu-frame { padding: 8px; }
  .mu-frame img { width: calc(var(--fw) * .7); height: calc(var(--fh) * .7); }
  .mu-label { margin-top: 18px; }
  .mu-label b { font-size: 16px; }
  .mu-label span { font-size: 14px; }
  .fx-poster { margin-top: 40px; }
  .fx-poster-t span + span { display: none; }
  .fx-month { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; height: auto; row-gap: 6px; padding: 14px 0; }
  .fx-m { grid-column: 1; grid-row: 1; }
  .fx-plus { grid-column: 2; grid-row: 1; }
  .fx-names { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; row-gap: 4px; white-space: normal; -webkit-mask: none; mask: none; }
  .fx-n { white-space: nowrap; }
  .fx-n:nth-child(n+4) { display: none; }
  .fx-n:nth-child(3)::after { content: none; }
  .fx-n b { font-size: 20px; }
  .fx-n em { font-size: 13px; }
  .ct-sec { padding-top: 64px; }
  .ct-h2, .ct-reg-head h2 { font-size: 34px; letter-spacing: -.035em; }
  .ct-reg { padding-top: 44px; }
  .ct-sec-head { display: block; }
  .ct-sec-head .ct-link-all { margin-top: 14px; }
  /* Soon, on a phone: a list of dates, not a chart. */
  .fx-tt { margin-top: 20px; }
  .fx-tt-axis, .fx-tt-body::after { display: none; }
  .fx-tt-row { grid-template-columns: 84px minmax(0, 1fr); align-items: start; height: auto; padding: 14px 0; }
  .fx-tt-name { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .fx-tt-name img { display: none; }
  .fx-tt-name b { white-space: normal; }
  .fx-tt-lane { order: -1; height: auto; padding-top: 2px; }
  .fx-bar, .fx-bar.is-day, .fx-bar.is-out, .fx-bar.is-left { position: static; width: auto; height: auto; margin: 0; padding: 0; border-radius: 0; background: none; transform: none; color: var(--acc); font-size: 12.5px; }
  .fx-bar::after { display: none; }
  .fx-bar em, .fx-bar.is-out em, .fx-bar.is-left em { position: static; color: var(--acc); white-space: normal; }
  .ct-date .ct-now { display: none; }
  .fx-kinds { gap: 8px; margin-top: 20px; }
  .fx-kind { height: 168px; padding: 14px; border-radius: 16px; }
  .fx-kind-t { display: block; }
  .fx-kind-t b { display: block; font-size: 18px; }
  .fx-kind-t small { display: block; margin-top: 4px; font-size: 12px; }
  .fx-kind-ex { display: none; }
}

/* The dark theme: the ground and the words turn; the wall, the night and the violet stay. */
:root.dark .ct-fav { background: rgba(23, 23, 26, .9); color: #EDEAE3; }
:root.dark .ct-fav:hover { background: #17171A; }
:root.dark .ct-fav[aria-pressed="true"] { color: #A89CF7; }
:root.dark .ct-date { background: #EDEAE3; }
:root.dark .ct-date.is-now { background: var(--lime); }
:root.dark .ct-tile:has(> input:checked), :root.dark .fx-mon:has(> input:checked) { box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .ct-side, .ct.is-sheet .ct-side, .ct-veil { transition: none; }
  .ct-pic img, .mu-frame, .fx-kind img { transition: none; }
}
