/* Стилі сайту за docs/design-system.md. Один файл, без бібліотек і CDN. Спершу телефон
   (360–414 px), далі планшет (768) і десктоп (1024). Темна тема — основна; світла — за
   prefers-color-scheme або перемикачем (html[data-theme]). Шрифти лежать у static/fonts/. */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/Unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #06090f;
  --surface: #0e1420;
  --surface-2: #1b2332;
  --line: #282f3e;
  --foreground: #ffffff;
  --muted-foreground: #9dabbe;
  --sun: #ffd500;
  --sun-hover: #ffd83d;
  --sun-ink: #090d16;
  --aperture: #639cf8;
  --danger: #f47c7c;
  --danger-bg: rgba(244, 124, 124, 0.12);
  /* Старі назви (my.css та ін.) — синоніми токенів вище. */
  --bg: var(--background);
  --bg-2: var(--surface);
  --bg-3: var(--surface-2);
  --fg: var(--foreground);
  --muted: var(--muted-foreground);
  --accent: var(--sun);
  --accent-fg: var(--sun-ink);
  --link: var(--aperture);
  --ad: var(--sun);
  --ad-bg: var(--surface-2);
  --lang: var(--foreground);
  --lang-bg: var(--surface-2);
  --soldout: var(--danger);
  --soldout-bg: var(--danger-bg);
  --shadow: none;
  --radius: 12px;
  --header-h: 72px;
  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--font-body);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-2: #eef2f6;
    --line: #d4dae2;
    --foreground: #0f1729;
    --muted-foreground: #4e5e74;
    --sun: #d77709;
    --sun-hover: #b56408;
    --sun-ink: #251404;
    --aperture: #134cc9;
    --danger: #af1d1d;
    --danger-bg: rgba(175, 29, 29, 0.08);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --line: #d4dae2;
  --foreground: #0f1729;
  --muted-foreground: #4e5e74;
  --sun: #d77709;
  --sun-hover: #b56408;
  --sun-ink: #251404;
  --aperture: #134cc9;
  --danger: #af1d1d;
  --danger-bg: rgba(175, 29, 29, 0.08);
}

/* ------------------------------- база ------------------------------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 8px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-size: 1rem; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--aperture); }
img, svg { max-width: 100%; }
.wrap { max-width: 1184px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 24px; padding-bottom: 64px; min-height: 60vh; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; overflow-wrap: anywhere; }
h1 { font-size: 1.875rem; line-height: 1.08; margin: 0.2em 0 0.4em; }
h2 { font-size: 1.5rem; line-height: 1.15; margin: 1.6em 0 0.6em; letter-spacing: -0.02em; }
h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 700; margin: 1em 0 0.4em; letter-spacing: 0; }
.section-title { font-size: 1.5rem; margin: 2em 0 0.8em; }
.lead { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.6; margin: 0 0 0.5em; max-width: 60ch; }
.hint { color: var(--muted-foreground); font-size: 0.9rem; margin: 0.4em 0 0; }
.empty { padding: 24px 0; color: var(--muted-foreground); }
.page-head { margin-bottom: 8px; }
.city-intro { max-width: 70ch; margin: 0 0 8px; color: var(--muted-foreground); font-size: 1rem; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); margin: 0 0 12px; }
.meta { font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }

/* ------------------------------- шапка ------------------------------- */
.site-header { background: var(--background); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--foreground); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--foreground); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--muted-foreground); }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}
.site-header { position: relative; }
.cities-nav { flex: 1 0 100%; order: 3; min-width: 0; }
/* Телефон: один рядок чипів зі скролом; перед кожною країною — маленький підпис. */
.cities-scroll { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cities-scroll::-webkit-scrollbar { display: none; }
.cities-scroll > * { flex: 0 0 auto; }
.nav-country { margin: 0; font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); white-space: nowrap; }
.cities-scroll .nav-country { padding: 0 2px 0 8px; border-left: 1px solid var(--line); }
.cities-scroll .nav-country:first-child { border-left: 0; padding-left: 0; }
/* Від 640 px: випадний список міст за країнами (details, без JS). */
.cities-menu { display: none; }
.cities-menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--foreground); font-weight: 500; font-size: 0.9375rem; cursor: pointer; list-style: none; user-select: none; }
.cities-menu summary::-webkit-details-marker { display: none; }
.cities-menu summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.cities-menu[open] summary::after { transform: translateY(1px) rotate(225deg); }
.cities-menu summary:hover { border-color: var(--muted-foreground); }
.cities-menu summary:focus-visible, .cities-panel a:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.cities-panel { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 16px 24px; padding: 20px max(16px, calc((100% - 1152px) / 2)) 24px; background: var(--surface); border-bottom: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
.cities-panel ul { list-style: none; margin: 4px 0 0; padding: 0; }
.cities-panel a { display: flex; align-items: center; min-height: 44px; color: var(--foreground); text-decoration: none; }
.cities-panel a:hover { color: var(--sun); }
.cities-panel a[aria-current="page"] { color: var(--sun-ink); background: var(--sun); border-radius: 999px; padding: 0 12px; margin: 0 -12px; font-weight: 600; }

/* Чипи (міста, фільтри): 44 px, пігулка, активний — sunflower */
.pill, .cities-scroll a, .city-chips a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--foreground); font-weight: 500; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
}
.pill:hover, .cities-scroll a:hover, .city-chips a:hover { border-color: var(--muted-foreground); }
.cities-scroll a[aria-current="page"], .city-chips a[aria-current="page"] { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); font-weight: 600; }
.city-chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-chips small { color: var(--muted-foreground); font-size: 0.8125rem; font-weight: 500; }
.city-chips a[aria-current="page"] small { color: inherit; opacity: 0.8; }
/* Міста за країнами (головна, сторінка міста). Міста без подій — приглушені. */
.city-groups { margin-top: 24px; display: grid; gap: 16px 32px; }
.country-name { margin: 0 0 8px; font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); }
.city-group .city-chips { margin-top: 0; }
.city-chips a.is-empty:not([aria-current]) { color: var(--muted-foreground); border-style: dashed; }
.city-chips a.is-empty:not([aria-current]):hover { color: var(--foreground); }
.city-empty { margin-top: 32px; }

/* ------------------------------- підвал ------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted-foreground); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-about { margin: 12px 0 0; max-width: 40ch; }
.footer-col h2 { margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-cities { display: grid; gap: 4px 24px; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.footer-country .nav-country { margin-top: 12px; }
.footer-links-inline { display: flex; flex-wrap: wrap; column-gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-foreground); text-decoration: none; }
.footer-links a:hover { color: var(--foreground); }

/* ----------------------- позначки, теги, бейджі ----------------------- */
/* «Реклама» — перший елемент сторінки/рядка; залитий прямокутник 4px, 10px uppercase. */
.ad-bar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px; text-align: center; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; font-size: 0.625rem; font-weight: 700; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-ad { background: var(--sun); color: var(--sun-ink); }
.badge-soldout { background: transparent; color: var(--danger); border: 1px solid var(--danger); border-radius: 6px; font-size: 0.6875rem; letter-spacing: 0.06em; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted-foreground); font-size: 0.6875rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; }
.tag-lang { text-transform: none; letter-spacing: 0; background: var(--surface-2); color: var(--foreground); font-weight: 500; }
.tag-solid { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }

/* ------------------------------- кнопки ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--foreground); font: inherit; font-weight: 600; font-size: 0.9375rem;
  line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--muted-foreground); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.btn-primary, .btn-tickets { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.btn-primary:hover, .btn-tickets:hover { background: var(--sun-hover); border-color: var(--sun-hover); }
.btn-primary { width: 100%; }
.btn-follow::before { content: "+"; font-weight: 500; }
.btn-follow.is-following { background: transparent; color: var(--foreground); border-color: var(--sun); }
.btn-follow.is-following::before { content: "✓"; color: var(--sun); }
.btn-ghost { border-color: transparent; color: var(--muted-foreground); }
.btn-ghost:hover { color: var(--foreground); border-color: transparent; }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-block { width: 100%; }

/* ------------------------------- головна ------------------------------- */
.hero { padding: 40px 0 48px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.hero h1 { font-size: clamp(1.875rem, 7.5vw, 6rem); line-height: 1.0; margin: 0 0 24px; max-width: 14ch; }
.hero .lead { font-size: 1.125rem; }
.feed-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 40px 0 8px; }
.feed-head h2 { margin: 0; }
.feed-count { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.promo { margin-top: 48px; }
.promo h2 { margin-top: 0; }
.promo .btn-primary { width: auto; }

/* ------------------------------- фільтри ------------------------------- */
.filters { margin: 16px 0 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.filters-toggle { margin: 4px 0 12px; }
.filters-toggle .count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--sun); color: var(--sun-ink); font-size: 0.75rem; font-weight: 700; }
.filters-body { display: grid; gap: 16px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.filters legend, .field > .label { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--foreground); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.chip input:checked + span { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 3px; }
.chip:hover span { border-color: var(--muted-foreground); }
.date-range { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding: 4px 0 0; }
.date-range label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: 0.9rem; }
.filters-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.filters select, .filters input[type="number"], .filters input[type="date"], .select {
  min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--foreground); font: inherit; font-size: 1rem; width: 100%; max-width: 100%;
}
.filters select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239dabbe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.filters-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
/* Перемикач «лише доступні» */
.check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 44px; height: 24px; margin: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); position: relative; cursor: pointer; flex: 0 0 auto; }
.check input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted-foreground); transition: transform 0.15s ease, background-color 0.15s; }
.check input:checked { background: var(--sun); border-color: var(--sun); }
.check input:checked::after { background: var(--sun-ink); transform: translateX(20px); }
.filters-reset { color: var(--muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
.filters-count { margin: 0; }

/* -------------------------- стрічка за днями -------------------------- */
.feed { margin-top: 0; }
.day-title { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 0 12px; background: var(--background); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--foreground); }
.day-title time { flex: 0 1 auto; }
.day-badge { font-family: var(--font-body); }
.day-count { margin-left: auto; font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted-foreground); white-space: nowrap; }
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev { position: relative; display: grid; grid-template-columns: 72px 1fr; grid-template-areas: "date body" "foot foot"; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ev-date { grid-area: date; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; align-self: start; min-height: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted-foreground); text-decoration: none; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.ev-date b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--sun); }
.ev-body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ev-body .badge-ad { align-self: flex-start; }
.ev-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.ev-title { margin: 0; font-size: 1.0625rem; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
/* Посилання заголовка: вся картка клікабельна через ::after; власний бокс ≥ 44 px. */
.ev-link { display: block; padding: 12px 0; margin: -12px 0; color: var(--foreground); text-decoration: none; }
.ev-link::after { content: ""; position: absolute; inset: 0; }
.ev-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ev-meta { margin: 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.ev-meta time { color: var(--muted-foreground); }
.ev-sep { margin: 0 4px; }
.ev-where { margin: 0; color: var(--muted-foreground); font-size: 0.9375rem; }
.ev-tags { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.ev-price { font-weight: 700; font-size: 1rem; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.ev-soldout .ev-date b { color: var(--muted-foreground); }
.other-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }

/* Плейсхолдер (аватар артиста): ініціали на відтінку; .ph-0 … .ph-7 */
.ph { color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em;
  background: linear-gradient(135deg, hsl(var(--ph) 45% 30%), hsl(calc(var(--ph) + 40) 50% 18%)); }
.ph span { font-size: 1.25rem; }
.ph-0 { --ph: 212; } .ph-1 { --ph: 262; } .ph-2 { --ph: 320; } .ph-3 { --ph: 8; }
.ph-4 { --ph: 36; } .ph-5 { --ph: 160; } .ph-6 { --ph: 190; } .ph-7 { --ph: 120; }

/* ------------------------------- подія ------------------------------- */
.crumbs { margin: 0 0 8px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted-foreground); text-decoration: none; font-size: 0.9375rem; }
.crumbs a:hover { color: var(--foreground); }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun); padding: 12px 16px; border-radius: 8px; margin: 0 0 16px; }
.event-layout { display: grid; gap: 24px; align-items: start; }
.event-main { min-width: 0; }
.kicker { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.event-main h1 { font-size: clamp(1.875rem, 5vw, 3rem); line-height: 1.05; margin: 0 0 12px; }
.event-sub { margin: 0 0 24px; color: var(--muted-foreground); font-size: 1rem; }
.event-sub a { color: inherit; text-underline-offset: 3px; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); padding-top: 3px; }
.facts dd { margin: 0; font-size: 1rem; }
.event-aside { position: sticky; top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.event-aside .eyebrow { margin: 0; }
.event-price { margin: -4px 0 8px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }
.event-aside .btn { width: 100%; }
.event-aside .hint { margin: 4px 0 0; }
.event-aside .aside-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.event-aside .aside-link:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.actions p { margin: 0; }

/* ------------------------------- артист ------------------------------- */
.artist-head { margin: 8px 0 8px; display: grid; gap: 16px; grid-template-columns: 64px 1fr; align-items: start; }
.artist-head h1 { margin: 0 0 6px; font-size: clamp(1.875rem, 5vw, 3rem); }
.artist-head .lead { margin: 0 0 8px; }
.artist-head .actions { margin: 16px 0 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.avatar span { font-size: 1.25rem; }
.chips-static { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 0; }
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--foreground); font-weight: 500; text-decoration: none; }
.links a:hover { border-color: var(--muted-foreground); }

/* ---------------------------- текстові сторінки ---------------------------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.25rem; }
.prose p { color: var(--foreground); }

/* ------------------------------- планшет ------------------------------- */
@media (min-width: 640px) {
  .brand-name { display: inline; }
  .header-row { flex-wrap: nowrap; }
  .cities-nav { flex: 1 1 auto; order: 0; margin-left: 16px; }
  .cities-scroll { display: none; }
  .cities-menu { display: block; }
  .btn-primary { width: auto; min-width: 200px; }
}
@media (max-width: 639px) {
  .brand-name { display: none; }
}
@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  main.wrap { padding-top: 32px; }
  .hero { padding: 64px 0 56px; }
  .hero .lead { font-size: 1.25rem; }
  h1 { font-size: 3rem; line-height: 1.05; }
  .filters-toggle { display: none; }
  .filters-body { display: grid !important; }
  .filters-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: start; }
  .ev { grid-template-columns: 128px 1fr; grid-template-areas: "date body" "date foot"; column-gap: 24px; row-gap: 20px; padding: 24px 0; }
  .ev-date { min-height: 160px; align-self: stretch; gap: 4px; font-size: 0.75rem; }
  .ev-date b { font-size: 2.75rem; }
  .ev-title { font-size: 1.375rem; line-height: 1.25; }
  .ev-foot { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1.8fr 1fr; gap: 40px; }
  .city-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-head { grid-template-columns: 96px 1fr; gap: 24px; }
  .avatar { width: 96px; height: 96px; }
  .avatar span { font-size: 1.75rem; }
  .facts div { grid-template-columns: 200px 1fr; padding: 18px 0; }
}
@media (min-width: 1024px) {
  .hero { padding: 96px 0 64px; }
  .event-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .ev { grid-template-columns: 144px 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .chip span, .pill, .cities-scroll a, .city-chips a, .cities-menu summary, .theme-toggle { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
