:root {
  --brand: #A53740;
  --brand-deep: #8E2E36;
  --brand-soft: #B84A52;
  --brand-tint: #f8ecee;
  --ink: #2a1c1e;
  --paper: #FFFFFF;
  --paper-2: #f3eaea;
  --muted: #7a6366;
  --line: rgba(165, 55, 64, 0.18);
  --ok: #2a8f5c;
  --shadow: 0 16px 40px rgba(165, 55, 64, 0.16);
  --radius: 18px;
  --header-h: 74px;
  --font-display: "Oswald", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  min-height: 100vh;
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header — всегда закреплена сверху */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.nav-desktop { display: none; gap: 0.25rem; }
.nav-link {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.mobile-menu {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
  background: var(--brand);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.1); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 14px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 0.95rem 1.4rem; font-size: 1.02rem; border-radius: 16px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(165, 55, 64, 0.28);
}
.btn-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 14px 28px rgba(165, 55, 64, 0.35);
}
.btn-secondary {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid var(--line);
}
.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-telegram {
  display: none;
  background: #2aabee;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Hero: бренд-фон + ротация названий */
.hero {
  position: relative;
  min-height: min(72vh, 580px);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255,255,255,0.55) 18px,
      rgba(255,255,255,0.55) 19px
    );
}

.hero-content {
  padding: 4.5rem 0 3.2rem;
  width: min(760px, calc(100% - 2rem));
  margin-left: max(1rem, calc((100% - 1180px) / 2));
  margin-right: auto;
  animation: riseIn 0.8s ease both;
}

.page-hero {
  padding: 2.8rem 0 1.2rem;
}
.page-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.02em;
}
.page-hero p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.5;
  font-size: 1.05rem;
}

.venue-pill {
  text-decoration: none;
  color: inherit;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 14px;
}

.hero-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  min-height: 1.2em;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.18), 0 10px 28px rgba(0,0,0,0.28);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-title.is-swap {
  opacity: 0;
  transform: translateY(12px);
}

.hero-lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 36ch;
  color: rgba(255,255,255,0.9);
  transition: opacity 0.35s ease;
}

.hero-cta .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.hero-cta .btn-primary:hover {
  background: #fff8f8;
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.hero-meta {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  margin: 0 0 1.35rem;
  min-height: 1.5em;
}
.meta-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
}
.meta-label {
  opacity: 0.7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meta-value {
  font-weight: 700;
  line-height: 1.35;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-nav {
  display: flex;
  gap: 0.4rem;
}
.hero-nav button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.18s;
}
.hero-nav button:hover { background: rgba(255,255,255,0.24); }

.hero-dots {
  display: flex;
  gap: 0.45rem;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s, background 0.18s;
}
.hero-dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}

@keyframes heroGlow {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.05); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Date strip */
.date-strip-wrap {
  margin-top: -1.2rem;
  position: relative;
  z-index: 5;
}

.date-strip-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.65rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.date-nav {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  cursor: pointer;
  font-size: 1.35rem;
  color: var(--brand);
}

.date-strip {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 0.15rem;
}
.date-strip::-webkit-scrollbar { display: none; }

.date-chip {
  flex: 0 0 auto;
  min-width: 68px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 0.55rem 0.45rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.date-chip .dow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.date-chip .dom {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.date-chip.is-weekend .dow { color: var(--brand); }
.date-chip:hover { background: var(--paper-2); }
.date-chip.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.date-chip.is-active .dow { color: rgba(255,255,255,0.8); }
.date-chip.has-events .dom::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 0.2rem auto 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

/* Sections */
.afisha { padding: 3.5rem 0 2rem; }
.about, .venues { padding: 2.5rem 0 3.5rem; }

.section-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}
.section-head h2,
.about h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.02em;
}
.section-head p,
.about p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  color: var(--muted);
}
.search-field input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--ink);
}

select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e4444' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 2.2rem 0.75rem 0.95rem;
  color: var(--ink);
  cursor: pointer;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.85);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.chip:hover,
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(142, 68, 68, 0.08);
  animation: cardIn 0.55s ease both;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(142, 68, 68, 0.14);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.event-poster {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 240px;
  background: linear-gradient(145deg, var(--brand-soft), var(--brand-deep));
  cursor: pointer;
  overflow: hidden;
}
.event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  inset: 0;
}
@supports not (aspect-ratio: 1) {
  .event-poster {
    height: 0;
    padding-bottom: 125%;
    min-height: 0;
  }
}
.event-poster-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: linear-gradient(180deg, transparent, rgba(30,10,12,0.72));
  color: #fff;
  pointer-events: none;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-ok { background: rgba(42, 143, 92, 0.92); color: #fff; }
.badge-lang { background: rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(4px); }
.badge-free { background: #ffd36a; color: #4a3200; }

.event-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.event-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  cursor: pointer;
}

.event-meta {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.event-meta .meta-row {
  grid-template-columns: 4.2rem 1fr;
}
.event-meta .meta-label {
  opacity: 1;
  color: var(--muted);
}
.event-meta .meta-value {
  color: var(--ink);
  font-weight: 700;
}
.event-meta .meta-value strong {
  color: var(--ink);
  font-weight: 700;
}

.event-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.45rem;
  margin-top: auto;
}
.event-actions .btn { padding: 0.7rem 0.8rem; font-size: 0.9rem; }
.icon-btn {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 14px;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
}

.about-inner {
  display: grid;
  gap: 1.5rem;
  background: var(--brand);
  color: #fff;
  border-radius: 28px;
  padding: 2rem 1.4rem;
}
.about-inner .eyebrow { color: rgba(255,255,255,0.78); }
.about-inner h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  max-width: 28ch;
}
.about-inner p {
  color: rgba(255,255,255,0.9);
  margin-top: 0.85rem;
  max-width: 58ch;
}
.about-inner p + p { margin-top: 0.75rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.venue-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.venue-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
}
.venue-pill:hover {
  border-color: rgba(142, 68, 68, 0.4);
  transform: translateY(-2px);
}
.venue-pill strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.venue-pill span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* Комики — круглые лица */
.comedians { padding: 1.5rem 0 3.5rem; }
.comedians-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.55rem;
  justify-items: center;
}
.comedian-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.site-footer {
  background: var(--brand);
  color: rgba(255,255,255,0.92);
  padding: 2.5rem 0;
  margin-top: 1rem;
}
.footer-inner { display: grid; gap: 1.5rem; }
.footer-copy { margin: 0.6rem 0 0; opacity: 0.85; }
.footer-links {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}
.socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.social-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
  filter: brightness(1.05);
}
.social-tg {
  background: linear-gradient(145deg, #54c3f8, #2AABEE);
}
.social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-yt {
  background: linear-gradient(145deg, #ff5a5a, #FF0000);
}

/* Круглые лица комиков */
.faces-strip {
  padding: 1.4rem 0 0.4rem;
}
.faces-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.faces-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}
.faces-all {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}
.faces-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.faces-row::-webkit-scrollbar { display: none; }

.face-chip {
  flex: 0 0 auto;
  width: 72px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}
.face-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: 0 auto 0.35rem;
  background: linear-gradient(145deg, var(--brand-soft), var(--brand-deep));
  box-shadow: 0 8px 18px rgba(165, 55, 64, 0.18);
  border: 2px solid #fff;
}
.face-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.face-avatar span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.face-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.face-chip-page {
  width: 100%;
}
.face-chip-page .face-avatar {
  width: 88px;
  height: 88px;
}
.face-chip-page .face-name {
  font-size: 0.86rem;
  color: var(--ink);
  white-space: normal;
}

.comedian-panel {
  width: min(720px, 100%);
}
.comedian-modal-head {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}
.comedian-modal-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand-soft), var(--brand-deep));
}
.comedian-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.comedian-modal-photo .comedian-fallback {
  font-size: 2rem;
}
.comedian-modal-sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.comedian-shows {
  display: grid;
  gap: 0.85rem;
}
.comedian-show-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
}
.comedian-show-poster {
  min-height: 120px;
  min-width: 96px;
  background: linear-gradient(145deg, var(--brand-soft), var(--brand-deep));
  position: relative;
  overflow: hidden;
}
.comedian-show-poster img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  inset: 0;
}
.comedian-show-body {
  padding: 0.85rem 0.85rem 0.85rem 0;
  display: grid;
  gap: 0.25rem;
  align-content: start;
}
.comedian-show-body h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.comedian-show-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.comedian-show-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.comedian-show-actions .btn {
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
}
.comedian-empty {
  margin: 0;
  padding: 1.2rem;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 16, 18, 0.55);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  animation: riseIn 0.28s ease both;
}
.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--brand);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}
.modal-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.modal-kicker {
  margin: 0 0 0.4rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.modal-info h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  padding-right: 2rem;
}
.modal-info p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}
.modal-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}
.modal-poster {
  min-height: 260px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--brand-soft), var(--brand-deep));
  overflow: hidden;
  position: relative;
}
.modal-poster img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.modal-actions {
  display: grid;
  gap: 0.55rem;
}
.about-actions .btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.modal-actions .btn-ghost {
  color: var(--brand-deep);
  border-color: var(--line);
  background: var(--paper);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  z-index: 120;
  box-shadow: var(--shadow);
}
.toast[hidden] { display: none; }

@media (max-width: 719px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 0.55rem; min-height: var(--header-h); }
  .logo-img { height: 44px; max-width: 44px; }
  .hero-content {
    padding: 2.6rem 0 2.2rem;
    width: min(760px, calc(100% - 1.5rem));
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    max-width: none;
  }
  .hero-meta {
    gap: 0.45rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.16);
  }
  .meta-row {
    grid-template-columns: 3.6rem 1fr;
    gap: 0.45rem;
  }
  .hero-cta {
    display: grid;
    gap: 0.65rem;
  }
  .hero-cta .btn { width: 100%; }
  .hero-controls { margin-top: 0.4rem; }
  .filters { grid-template-columns: 1fr; }
  .event-body { gap: 0.75rem; }
  .event-meta {
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    background: var(--brand-tint);
  }
  .event-actions { display: grid; grid-template-columns: 1fr auto auto; }
  .afisha { padding: 2.2rem 0 1.5rem; }
  .footer-inner { gap: 1.25rem; }
  .footer-links { gap: 0.55rem; }
}

@media (min-width: 720px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .header-phone { display: inline; }
  .btn-telegram { display: inline-flex; }
  .filters {
    grid-template-columns: 1.6fr 1fr auto;
  }
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comedians-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .venue-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner {
    grid-template-columns: 1.4fr auto;
    align-items: end;
    padding: 2.4rem;
  }
  .footer-inner {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
  }
  .modal-panel { padding: 1.5rem; }
  .modal-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
  }
  .modal-actions {
    grid-template-columns: 1.4fr auto auto;
  }
}

@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .comedians-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .venue-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
