:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --surface-alt: #f1f2f4;
  --text: #1b1b1f;
  --muted: #6b7280;
  --accent: #ff3b30;
  --accent-dark: #e62e24;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: #ff2b2b;
  color: #ffffff;
}

::-moz-selection {
  background: #ff2b2b;
  color: #ffffff;
}

body[data-page="admin"] .modal,
body[data-page="admin"] .mobile-menu {
  display: none !important;
}

body[data-page="admin"].menu-open {
  overflow: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.event-title {
  font-family: var(--font-heading);
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 59, 47, 0.08), transparent 45%),
    radial-gradient(circle at 20% 0%, rgba(255, 186, 73, 0.08), transparent 40%);
  z-index: 0;
  pointer-events: none;
}

.container {
  width: min(1260px, 94vw);
  margin: 0 auto;
}

main,
.site-footer,
.site-header {
  position: relative;
  z-index: 1;
}

body.modal-open main {
  z-index: 2;
}

body.modal-open .site-footer {
  z-index: 0;
  margin-top: 40px;
}

main {
  flex: 1 0 auto;
  width: 100%;
  z-index: 2;
}

.site-footer {
  margin-top: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 88px;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
  gap: 16px;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.header-right {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  box-shadow: var(--shadow);
  flex-direction: column;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 47px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.nav-pill,
.nav-more-toggle,
.footer-links a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-pill.active,
.nav-pill:hover,
.nav-more-toggle:hover,
.footer-links a:hover {
  color: var(--text);
  border-color: #d1d5db;
}

.nav-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.mobile-category-strip {
  display: none;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 6px;
}

.mobile-category-strip::-webkit-scrollbar {
  display: none;
}

.mobile-category-link {
  white-space: nowrap;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.mobile-category-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-more-toggle {
  cursor: pointer;
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 10px;
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-more-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 10px;
}

.nav-more-menu a:hover {
  background: #f3f4f6;
}

.search-trigger {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 70vw;
  max-width: 360px;
  background: var(--surface);
  box-shadow: -12px 0 30px rgba(15, 23, 42, 0.2);
  border-radius: 20px 0 0 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.mobile-menu-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.mobile-menu-links {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.mobile-menu-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0;
}

.mobile-menu-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 0;
}

.mobile-menu-theme {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-theme-label {
  font-weight: 600;
  color: var(--text);
}

.mobile-theme-toggle {
  width: 72px;
  justify-content: center;
  align-self: center;
}

body.menu-open .mobile-menu {
  pointer-events: auto;
}

body.menu-open .mobile-menu-backdrop {
  opacity: 1;
}

body.menu-open .mobile-menu-panel {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

.search-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-modal {
  width: min(720px, 92vw);
}

.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(29, 27, 31, 0.12);
  font-size: 14px;
}

.search-hero {
  align-items: flex-start;
  gap: 24px;
}

.search-hero-content {
  flex: 1;
}

.search-inline {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: min(420px, 100%);
}

.search-inline input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(29, 27, 31, 0.12);
  font-size: 14px;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 34px;
  flex: 0 0 auto;
}

.theme-icon {
  font-size: 14px;
  line-height: 1;
  color: #fff;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.theme-toggle .sun {
  left: 12px;
}

.theme-toggle .moon {
  right: 12px;
}

.theme-toggle input {
  appearance: none;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle input::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.theme-toggle input:checked {
  background: #1f2430;
}

.theme-toggle input:checked::after {
  transform: translateX(34px);
}

.city-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.city-pin {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.city-pin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.main-nav a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  font-size: 13px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 56px 0 32px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 16px;
}

.eyebrow {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.sub {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-header {
  font-weight: 700;
  margin-bottom: 12px;
}

.filters {
  display: flex;
  gap: 16px;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 14px;
}

.date-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 18px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.calendar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 59, 47, 0.14);
  border: 1px solid rgba(255, 59, 47, 0.3);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.calendar-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.date-strip-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.date-strip-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.date-strip-track {
  --days-visible: 14;
  --day-gap: 4px;
  --pill-size: 65px;
  display: flex;
  gap: var(--day-gap);
  overflow-x: auto;
  overflow-y: visible;
  padding: 22px 0 8px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scroll-behavior: smooth;
  flex: 1;
  min-width: 0;
  user-select: none;
  align-items: center;
}

.date-strip-track.dragging {
  cursor: grabbing;
}

.date-strip-track::-webkit-scrollbar {
  height: 0;
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  margin: 6px 0 18px;
  padding-bottom: 6px;
  position: relative;
  z-index: 40;
}

.price-range-row {
  overflow: visible;
  position: relative;
  z-index: 120;
}

.price-range-row .price-filter {
  z-index: 140;
}

.period-price-row {
  overflow: visible;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  position: relative;
  z-index: 120;
  padding-bottom: 0;
}

.period-price-row .price-static {
  flex: 0 0 auto;
  position: sticky;
  left: 0;
  z-index: 5;
  padding-right: 6px;
  display: flex;
  align-items: center;
}

.period-price-row .price-filter {
  flex: 0 0 auto;
  z-index: 140;
  display: flex;
  align-items: center;
}

.period-price-row .price-dropdown {
  display: flex;
  align-items: center;
}

.period-price-row .price-toggle {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.period-price-row .period-chips-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible;
  flex: 1 1 auto;
  white-space: nowrap;
  padding-bottom: 0;
  scrollbar-width: none;
}

.period-price-row .period-chips-scroll::-webkit-scrollbar {
  height: 0;
}

.chip-row::-webkit-scrollbar {
  height: 0;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.chip.disabled {
  background: #f1f2f4;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
  pointer-events: none;
}

.price-filter {
  position: relative;
  display: inline-block;
  z-index: 140;
}

.price-dropdown {
  position: relative;
  z-index: 150;
}

.price-dropdown .price-toggle {
  cursor: pointer;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
}

.price-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.price-panel-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 900;
}

.price-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
  z-index: 1000;
  box-sizing: border-box;
}

.price-dropdown .price-panel {
  display: none;
}

.price-toggle-input:checked ~ .price-panel-backdrop {
  display: block;
}

.price-toggle-input:checked ~ .price-panel {
  display: block;
}

.price-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.price-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.price-quick-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.price-form {
  display: grid;
  gap: 10px;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-inputs input {
  width: 90px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
}

.price-sep {
  color: var(--muted);
}

.price-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.date-pill {
  flex: 0 0 var(--pill-size);
  width: var(--pill-size, 48px);
  min-width: var(--pill-size, 48px);
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: none;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
  transform: none;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.date-pill:not(.disabled):not(.selected) {
  background: rgba(255, 255, 255, 0.5);
}

.date-pill.selected {
  background: #2f3542;
  border: 1px solid #2f3542;
}

.date-pill.selected .date-number,
.date-pill.selected .date-weekday,
.date-pill.selected .date-month {
  color: #fff;
}

.date-month-title {
  position: absolute;
  top: -18px;
  left: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.date-month-title.disabled {
  color: #9ca3af;
  pointer-events: none;
}

.date-month-title.is-empty {
  visibility: hidden;
}

.date-pill.disabled {
  background: #eef0f3;
  color: var(--muted);
  pointer-events: none;
  box-shadow: none;
  cursor: default;
}

.date-pill.disabled .date-number,
.date-pill.disabled .date-weekday,
.date-pill.disabled .date-month {
  color: var(--muted);
}

.date-pill-all {
  background: #f6f7fb;
  border: 1px dashed #d1d5db;
  color: var(--muted);
}

.date-pill-month {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #111;
  text-align: center;
  align-items: center;
  justify-items: center;
}

.date-pill-month .date-month-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.date-pill-month.disabled {
  background: #eef0f3;
  border: 1px dashed #d1d5db;
  color: var(--muted);
}

.date-pill.weekend .date-number,
.date-pill.weekend .date-weekday {
  color: var(--accent);
}

.date-number {
  font-weight: 700;
  line-height: 1;
  font-size: 16px;
}

.date-weekday,
.date-month {
  font-size: 10px;
  color: #6b7280;
  line-height: 1;
}

.filter-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-group select,
.filter-group input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 27, 31, 0.1);
  font-size: 14px;
}

.date-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  gap: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 48px;
  min-width: 0;
}

.events-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.empty-state {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.event-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

.event-card-media {
  position: relative;
  z-index: 1;
}

.event-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.event-thumb {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 59, 47, 0.12), rgba(255, 176, 31, 0.24));
  font-weight: 600;
  padding: 42px 16px 16px;
  height: 170px;
  color: var(--text);
  text-align: center;
}

.event-thumb span {
  display: block;
}

.event-thumb.past {
  background: #e5e7eb;
  color: #6b7280;
  align-items: center;
  padding: 24px 16px;
  font-weight: 600;
}

.event-card-content {
  padding: 12px 14px 16px;
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.event-card-main {
  display: block;
  color: inherit;
  text-decoration: none;
}

.event-card-main:hover .event-title {
  text-decoration: none;
}

.event-meta-place {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.event-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 12px;
  color: var(--muted);
}

.event-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  display: grid;
  gap: 4px;
  color: #1b1b1f;
  font-size: 14px;
}

html[data-theme="dark"] .event-meta {
  color: #f6f7fb;
}

.event-meta a {
  color: inherit;
  text-decoration: none;
}

.event-meta-place-link {
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.event-meta-place-link:hover {
  text-decoration: underline;
}

.event-link {
  color: #111;
  text-decoration: none;
}

html[data-theme="dark"] .event-link {
  color: #f6f7fb;
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
}

.event-price {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--text);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12);
}

.calendar-column,
.events-column {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.calendar-column {
  display: none;
}

.calendar-modal-body {
  padding: 12px 0 0;
}

.calendar {
  display: grid;
  gap: 12px;
}

.calendar-month {
  margin-bottom: 16px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day,
.calendar-cell {
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  font-size: 13px;
  display: block;
}

.calendar-day {
  color: var(--muted);
  font-weight: 600;
}

.calendar-cell {
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, background 0.2s ease;
  text-decoration: none;
  color: var(--text);
  aspect-ratio: 1 / 1;
  padding: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-cell.disabled {
  background: #eef0f3;
  color: #9ca3af;
  pointer-events: none;
  cursor: default;
}

.calendar-cell:hover {
  transform: translateY(-2px);
  background: rgba(255, 59, 47, 0.08);
}

.calendar-cell.disabled:hover {
  transform: none;
  background: #eef0f3;
}

.calendar-cell.has-events::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.calendar-cell.selected {
  background: rgba(255, 59, 47, 0.12);
  border: 1px solid rgba(255, 59, 47, 0.4);
}

.btn {
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: #fff;
  border: 1px solid #e5e7eb;
}

.btn-ghost {
  background: #f3f4f6;
  color: var(--text);
}

.btn-link {
  background: none;
  color: var(--accent);
  padding: 0;
  font-size: 13px;
}

.section-header h2,
.section-header h3 {
  margin: 0;
}

.section-header h2 {
  font-size: 22px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
}

.search-results {
  margin-bottom: 32px;
}

.search-results .section-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.section-header h2 a {
  text-decoration: none;
  color: inherit;
}

.section-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.section-link:hover {
  color: var(--accent);
}

.category-sections {
  display: grid;
  gap: 28px;
  padding-bottom: 32px;
}

.category-section {
  display: grid;
  gap: 12px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 12px;
  flex-wrap: wrap;
}

.page-link,
.page-nav {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.page-link.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.page-nav.disabled {
  color: #9ca3af;
  border-color: #e5e7eb;
  background: #f3f4f6;
  cursor: default;
}

.page-ellipsis {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-title {
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-links .nav-pill {
  font-size: 13px;
  padding: 6px 12px;
}

.event-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 24px 0;
  align-items: stretch;
}

.event-media {
  border-radius: var(--radius-lg);
  min-height: 320px;
  background: #f3f4f6;
  height: 100%;
  overflow: hidden;
  display: flex;
}

.event-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.event-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-info .eyebrow {
  margin: 0 0 20px;
}

.event-info h1 {
  margin: 0 0 20px;
}

.event-sub {
  color: var(--muted);
  margin: 0;
}

.event-info .event-sub {
  margin: 0 0 20px;
}

.event-info .event-meta {
  margin-bottom: 20px;
}

.event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
}

.event-actions .btn-buy {
  width: 380px;
  max-width: 100%;
  height: 45px;
  padding: 0;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  text-decoration: none;
  box-sizing: border-box;
}

.event-float-cta {
  display: none;
}

@media (max-width: 700px) {
  .event-actions .btn-buy {
    width: 360px;
    max-width: 100%;
    height: 44px;
  }

  .event-float-cta {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: translateX(-50%) translateY(120%);
    width: 70vw;
    max-width: 360px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 60;
    display: flex;
    justify-content: center;
  }

  .event-float-cta .btn {
    width: 100%;
    border-radius: 999px;
    padding: 14px 0;
    font-size: 17px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
  }

  .event-float-cta.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 700px) {
  .event-actions {
    flex-direction: column;
    align-items: center;
  }
  .similar-more {
    width: 100%;
  }
  .similar-more .btn-arrow {
    width: 100%;
    justify-content: center;
  }
  .event-info .eyebrow {
    margin-bottom: 15px;
  }
  .event-info h1 {
    margin-bottom: 15px;
  }
  .event-info .event-sub {
    margin-bottom: 15px;
  }
  .event-info .event-meta {
    margin-bottom: 15px;
  }
}

.event-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.place-address {
  margin: 18px 0 32px;
}

.artist-block {
  margin: 18px 0 32px;
}

.artist-block h2 {
  margin-bottom: 12px;
}

.artist-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  box-shadow: var(--shadow);
}

.artist-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
}

@media (min-width: 900px) {
  .event-details {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }

  .event-details > .info-card {
    height: 100%;
  }
}

.event-map {
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.event-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.info-card {
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.event-faq h2 {
  margin-bottom: 12px;
}

.event-faq {
  font-family: var(--font-body);
}

.event-details .event-faq {
  grid-column: 1 / -1;
}

.event-faq .faq-item + .faq-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.event-faq h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.event-faq p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 15px;
}

.event-text {
  line-height: 1.6;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}

.seo-text {
  font-size: 15px;
  line-height: 1.6;
}

.seo-text p {
  margin: 0 0 12px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.rating-card {
  padding: 0;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

@media (max-width: 768px) {
  .rating-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rating-card .rating-table {
    min-width: 560px;
  }
}

.rating-table {
  width: 100%;
  border-collapse: collapse;
}

.rating-table th,
.rating-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}

.rating-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.02);
}

.rating-links {
  margin: 8px 0 20px;
  flex-wrap: wrap;
}

.rating-updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 6px;
}

.rating-note {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--text);
}

.rating-table tr + tr {
  border-top: 1px solid #e5e7eb;
}

.rating-rank {
  font-weight: 700;
  white-space: nowrap;
}

.rating-entity a {
  color: var(--text);
  text-decoration: none;
}

.rating-entity a:hover {
  text-decoration: underline;
}

.list-card .rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.seo-text a,
.seo-text a:visited {
  color: var(--text);
  text-decoration: underline;
}

.seo-text a:hover {
  color: var(--text);
  text-decoration: underline;
}

.similar {
  padding-bottom: 48px;
}

/* similar list layout */
.similar-list {
  margin-bottom: 16px;
}

.similar-more {
  display: flex;
  align-items: flex-start;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-arrow .arrow {
  font-size: 18px;
  line-height: 1;
}

.city-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0 10px;
}

.city-hero h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 6px 0 8px;
}

.city-meta {
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.admin-container {
  padding: 32px 0 60px;
}

.admin-login,
.admin-panel {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.theme-section {
  margin-top: 18px;
}

.theme-section h4 {
  margin: 0 0 8px;
}

.theme-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.theme-control input[type="color"] {
  width: 52px;
  height: 38px;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 27, 31, 0.12);
  background: #fff;
}

.theme-control input[type="text"] {
  min-width: 220px;
}

.branding-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.branding-preview img {
  height: 40px;
  width: auto;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid #e5e7eb;
  padding: 6px;
}

.branding-preview small {
  color: var(--muted);
}

.default-images-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 16px;
}

.default-image-item {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  background: #fff;
  display: grid;
  gap: 10px;
}

.default-image-title {
  font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 27, 31, 0.12);
}

.admin-form.inline {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.admin-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  overflow-x: auto;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
}

.admin-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-subnav {
  display: flex;
  gap: 10px;
  margin: 14px 0 22px;
  flex-wrap: wrap;
}

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.admin-item {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(29, 27, 31, 0.08);
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.admin-item.selected {
  border-color: var(--accent);
  background: rgba(255, 59, 47, 0.08);
}

.admin-list-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-tab {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.admin-pagination .btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.meta-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.template-group {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.template-group h4 {
  margin: 0;
  font-size: 14px;
}

.template-group label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.template-group input,
.template-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 27, 31, 0.12);
  font-size: 13px;
}

.meta-category-section {
  margin-top: 12px;
}

.meta-category-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.meta-category-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 10px;
}

.meta-category-item h5 {
  margin: 0;
  font-size: 14px;
}

.meta-category-item .sub {
  margin: 0;
}

.meta-category-item label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.meta-category-item input,
.meta-category-item textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 27, 31, 0.12);
  font-size: 13px;
}

.meta-variables {
  margin-top: 16px;
}

.meta-var-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.meta-var {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 20px 0 40px;
}

.list-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.list-card-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.list-card-rating {
  padding: 0 16px 16px;
}

.list-card-artist .list-card-body {
  padding-bottom: 10px;
}

.list-card h3 {
  margin: 0;
}

.list-card-body h3 {
  font-size: 16px;
}

.list-card-media {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
}

.list-card-media.placeholder {
  background: linear-gradient(135deg, rgba(255, 59, 47, 0.12), rgba(255, 186, 73, 0.2));
}

.list-card-body {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
}

.list-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal:target {
  display: flex;
}

.modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  width: min(520px, 92vw);
  max-height: 86vh;
  overflow: auto;
  padding: 18px;
  position: relative;
  z-index: 2;
}

.modal-close-float {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 24px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.city-modal {
  width: min(560px, 92vw);
  border-radius: 28px;
  padding: 20px 20px 18px;
}

.city-modal-header h3 {
  font-size: 24px;
  margin: 0;
}

.city-modal-header .modal-close {
  font-size: 30px;
  color: var(--text);
}

.city-search {
  position: relative;
  margin: 12px 0 14px;
}

.city-search input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: #fff;
}

.city-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.city-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2px;
}

.city-featured {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.city-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.city-pill.active {
  border-color: rgba(255, 59, 47, 0.4);
  background: rgba(255, 59, 47, 0.08);
}

.city-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.city-list {
  display: grid;
  gap: 14px;
}

.city-group {
  display: grid;
  gap: 6px;
}

.city-letter {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.city-item {
  display: block;
  padding: 6px 0;
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: none;
}

.city-item.active {
  color: var(--accent);
  font-weight: 700;
}

.calendar-modal {
  width: min(760px, 94vw);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  max-height: 68vh;
  overflow: hidden;
}

.calendar-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.calendar-modal-header h3 {
  margin: 0;
  font-size: 22px;
}

.calendar-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.calendar-periods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-modal-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.calendar-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-top: 6px;
}

.calendar-modal-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  background: var(--surface);
  padding-top: 8px;
}

.calendar-modal-footer .btn-reset,
.calendar-modal-footer .btn-dark {
  flex: 0 0 auto;
  min-width: 140px;
  text-align: center;
}

.btn-outline {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: var(--muted);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.btn.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-close {
  text-decoration: none;
  font-size: 22px;
  color: var(--muted);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.modal-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  max-height: 50vh;
  overflow: auto;
}

.hero-nearest-item {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 27, 31, 0.08);
}

.hero-nearest-item:last-child {
  border-bottom: none;
}

.event-links {
  margin-top: 12px;
}

.not-found {
  margin: 28px 0 40px;
}

.not-found-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  display: grid;
  gap: 12px;
}

.not-found-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.not-found-search {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 18px auto 8px;
  flex-wrap: wrap;
}

.not-found-search input {
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  min-width: min(420px, 80vw);
  font-size: 16px;
  background: #fff;
}

.breadcrumbs {
  display: block;
  overflow-x: auto;
  padding-bottom: 0;
  margin: 18px 0 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.breadcrumbs::-webkit-scrollbar {
  height: 0;
  display: none;
}

.breadcrumbs::-webkit-scrollbar-thumb {
  background: transparent;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  margin: 0 10px;
  color: var(--muted);
}

.breadcrumb-item a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.breadcrumb-item.current a,
.breadcrumb-item.current span {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.breadcrumbs + .city-hero {
  padding-top: 0;
}

.breadcrumbs + .city-hero h1 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.form-hint {
  color: var(--muted);
  font-size: 13px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .calendar-column {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .header-center {
    justify-content: flex-start;
  }
  .mobile-category-strip {
    display: flex;
    flex: 1 1 auto;
  }
  .header-inner {
    justify-content: space-between;
    gap: 12px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .city-trigger {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .header-actions .theme-toggle {
    display: none;
  }
  .city-trigger {
    max-width: 60vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .city-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-hero {
    padding: 0;
    gap: 0;
  }
  .event-media {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .event-info {
    padding: 20px;
  }
}

@media (max-width: 700px) {
  .events-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .event-card img {
    height: 160px;
  }
  .date-strip-track {
    --days-visible: 5;
    --day-gap: 8px;
    --pill-size: 52px;
  }
  .date-pill {
    padding: 6px 6px;
    border-radius: 12px;
  }
  .date-number {
    font-size: 14px;
  }
  .date-weekday,
  .date-month {
    font-size: 10px;
  }
  .calendar-toggle {
    width: 38px;
    height: 38px;
  }
  .date-strip-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .modal {
    align-items: center;
    padding-top: 96px;
    padding-bottom: 24px;
  }
  .calendar-modal {
    max-height: calc(100vh - 140px);
  }
  .calendar-modal-body {
    padding-top: 6px;
    max-height: min(360px, calc(100vh - 260px));
  }
  .calendar {
    gap: 8px;
  }
  .calendar-grid {
    gap: 4px;
  }
  .calendar-day,
  .calendar-cell {
    padding: 6px 0;
    font-size: 12px;
  }
  .calendar-cell {
    padding: 0 0 6px;
  }
  .calendar-cell.has-events::after {
    width: 4px;
    height: 4px;
    bottom: 4px;
  }
  .calendar-modal .modal-close {
    font-size: 26px;
  }
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .search-form .btn {
    width: 100%;
  }
  .search-hero {
    flex-direction: column;
  }
  .search-inline {
    width: 100%;
  }
  .search-inline .btn {
    width: 100%;
  }
  .city-trigger {
    max-width: 70vw;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.1;
    text-align: center;
    padding: 6px 10px;
  }
}

html[data-theme="dark"] {
  --bg: #0f1116;
  --surface: #151922;
  --surface-alt: #1d2230;
  --text: #f6f7fb;
  --muted: #9aa3b2;
  --accent: #ff4d4d;
  --accent-dark: #e63c3c;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .page-bg {
  background:
    radial-gradient(circle at top left, rgba(255, 92, 82, 0.14), transparent 45%),
    radial-gradient(circle at 20% 0%, rgba(255, 186, 73, 0.08), transparent 40%);
  opacity: 0.7;
}

html[data-theme="dark"] .site-header {
  background: #121621;
  border-bottom: 1px solid #242b3b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .city-trigger {
  color: var(--accent);
}

html[data-theme="dark"] .nav-more-toggle {
  color: var(--muted);
}

html[data-theme="dark"] .nav-more-menu {
  background: var(--surface);
  border-color: #2b3344;
}

html[data-theme="dark"] .nav-more-menu a:hover {
  background: #232b3d;
}

html[data-theme="dark"] .mobile-category-link {
  background: #1b2030;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .nav-pill,
html[data-theme="dark"] .nav-more-toggle {
  background: #1b2030;
  border-color: #2b3344;
  color: var(--muted);
}

html[data-theme="dark"] .nav-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

html[data-theme="dark"] .mobile-category-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

html[data-theme="dark"] .mobile-menu-divider {
  background: #2b3344;
}

html[data-theme="dark"] .btn-outline {
  background: #1b2030;
  border-color: #2b3344;
  color: var(--muted);
}

html[data-theme="dark"] .btn-dark {
  background: #000;
}

html[data-theme="dark"] .artist-card {
  background: #1b2030;
  color: var(--text);
}

html[data-theme="dark"] .main-nav a {
  color: var(--muted);
}

html[data-theme="dark"] .main-nav a.active,
html[data-theme="dark"] .main-nav a:hover {
  color: var(--text);
}

html[data-theme="dark"] .theme-toggle input {
  background: #1f2430;
}

html[data-theme="dark"] .theme-toggle input::after {
  background: #fff;
}

html[data-theme="dark"] .search-trigger {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .burger {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .mobile-menu-panel {
  background: var(--surface);
}

html[data-theme="dark"] .mobile-menu-close {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .mobile-menu-theme {
  border-top-color: #2b3344;
}

html[data-theme="dark"] .mobile-theme-label {
  color: var(--text);
}

html[data-theme="dark"] .search-form input {
  background: #111522;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .search-form input::placeholder {
  color: var(--muted);
}

html[data-theme="dark"] .search-inline input {
  background: #111522;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .city-modal {
  background: var(--surface);
}

html[data-theme="dark"] .city-search input {
  background: #111522;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .not-found-search input {
  background: #111522;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .city-pill {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .city-pill.active {
  background: rgba(255, 77, 77, 0.18);
  border-color: rgba(255, 77, 77, 0.45);
}

html[data-theme="dark"] .city-divider {
  background: #2b3344;
}

html[data-theme="dark"] .chip {
  background: #161b27;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .chip-row .chip:not(.active):not(.disabled),
html[data-theme="dark"] .period-price-row .chip:not(.active):not(.disabled) {
  background: #606673;
  border-color: #606673;
  color: #fff;
}

html[data-theme="dark"] .chip.disabled {
  background: #111522;
  color: #6b7280;
  border-color: #1f2737;
}

html[data-theme="dark"] .date-pill {
  background: transparent;
  color: var(--text);
}

html[data-theme="dark"] .date-pill:not(.disabled):not(.selected) {
  background: rgb(0 0 0);
}

html[data-theme="dark"] .date-pill .date-number,
html[data-theme="dark"] .date-pill .date-weekday,
html[data-theme="dark"] .date-pill .date-month {
  color: #ffffff;
}

html[data-theme="dark"] .date-pill.weekend .date-number,
html[data-theme="dark"] .date-pill.weekend .date-weekday {
  color: var(--accent);
}

html[data-theme="dark"] .date-pill.weekend .date-month {
  color: #ffffff;
}

html[data-theme="dark"] .date-pill.selected {
  background: #2b3344;
  border: 1px solid #2b3344;
}

html[data-theme="dark"] .date-pill.disabled {
  background: transparent;
  color: var(--muted);
}

html[data-theme="dark"] .date-pill-all {
  background: #111522;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--muted);
}

html[data-theme="dark"] .date-pill-month {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

html[data-theme="dark"] .date-pill-month.disabled {
  background: #111522;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--muted);
}

html[data-theme="dark"] .calendar-toggle {
  background: rgba(255, 77, 77, 0.22);
  border-color: rgba(255, 77, 77, 0.5);
  color: var(--accent);
}

html[data-theme="dark"] .date-strip-arrow {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .date-strip-track::-webkit-scrollbar-thumb {
  background: #2b3344;
}

html[data-theme="dark"] .date-strip {
  background: transparent;
}

html[data-theme="dark"] .date-month-title {
  color: #9aa4b2;
}

html[data-theme="dark"] .date-month-title {
  color: #9aa4b2;
}

html[data-theme="dark"] .date-filter {
  background: #161b27;
  border-color: #2b3344;
}

html[data-theme="dark"] .price-panel {
  background: #101827;
  border: 1px solid #2b3344;
}

html[data-theme="dark"] .price-quick-link {
  color: #1b1b1f;
}

html[data-theme="dark"] .price-inputs input {
  background: #0b1220;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .empty-state {
  background: rgba(17, 20, 30, 0.85);
}

html[data-theme="dark"] .event-price {
  background: #111522;
  color: var(--text);
}

html[data-theme="dark"] .calendar-cell {
  background: rgba(17, 20, 30, 0.9);
}

html[data-theme="dark"] .calendar-cell.disabled {
  background: rgba(17, 20, 30, 0.5);
  color: var(--muted);
}

html[data-theme="dark"] .page-link,
html[data-theme="dark"] .page-nav {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .page-nav.disabled {
  background: #111522;
  border-color: #1f2737;
  color: #6b7280;
}

html[data-theme="dark"] .site-footer {
  background: #121621;
  border-top: 1px solid #242b3b;
}

html[data-theme="dark"] .event-hero {
  background: #151922;
}

html[data-theme="dark"] .event-media {
  background: #1d2230;
  background-size: cover;
  background-position: center;
}

html[data-theme="dark"] .default-image-item {
  background: #151a26;
  border-color: #2b3344;
}

html[data-theme="dark"] .modal-close-float {
  background: #151a26;
  border-color: #2b3344;
  color: var(--text);
}

html[data-theme="dark"] .event-map {
  border-color: #2b3344;
}

html[data-theme="dark"] .btn-ghost {
  background: #e5e7eb;
  color: #111827;
}

html[data-theme="dark"] .rating-badge-wrap .rating-badge {
  background: #252525;
  border-color: #252525;
  color: #fff;
}

html[data-theme="dark"] .list-card {
  background: #151922;
}

html[data-theme="dark"] .list-card-media {
  background-color: #1d2230;
}
