*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: rgb(245, 245, 247);
  --bg-secondary: #e7e7e7;
  --fg: #1d1d1f;
  --fg-secondary: #6e6e73;
  --fg-tertiary: #a1a1a6;
  --muted: #5f6368bb;
  --accent: oklch(50% 0.18 250);
  --accent-soft: oklch(95% 0.04 250);
  --accent-dark: #004b9b;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ks-red: rgba(237, 70, 55, 1);
  --ks-orange: rgba(191, 84, 42, 1);
  --ks-muted: rgba(71, 71, 71, 0.7);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.5;
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--muted), transparent);
  margin: 2rem 0;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

}

.site-header h1 {
  font-weight: 760;
  font-size: 1.4em;
  background: linear-gradient(90deg, var(--ks-red), var(--accent));
  text-transform: uppercase;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  border: none;
  background: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: var(--accent-soft);
  transition: background 0.5s;
}

.btn-ghost-icon {
  width: 30px;
  height: 30px;
  padding: 0;
  gap: 0;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
}

.btn-ghost-icon svg {
  width: 16px;
  height: 16px;
}

.header-clear-btn.is-inert {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* LANG SWITCHER */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: none;
  background: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.lang-trigger:hover {
  background: var(--accent-soft);
}

.lang-trigger[aria-expanded="true"] {
  background: var(--accent-soft);
}

.lang-caret {
  transition: transform 0.18s;
  flex-shrink: 0;
  stroke: currentColor;
}

.lang-trigger[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  min-width: 68px;
  z-index: 200;
  animation: dropIn 0.14s ease both;
}

.lang-dropdown.open {
  display: block;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-option {
  display: block;
  padding: 6px 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.1s, color 0.1s;
}

.lang-option:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.lang-option+.lang-option {
  border-top: 1px solid var(--accent-soft);
}

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* SUBACTIONS */
.subactions-wrap {
  max-width: 860px;
  margin: 10px auto;
  padding: 10px 24px 0;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: wrap;
}

.subactions-wrap::-webkit-scrollbar {
  display: none;
}

.subaction-link {
  font-family: var(--font);
  font-size: 0.85em;
  font-weight: 400;
  color: var(--fg-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
  padding: 1px 0;
}

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

.subaction-sep {
  font-size: 0.85em;
  margin: 0 8px;
  user-select: none;
  color: var(--fg-secondary);
}

@media (max-width: 600px) {
  .subactions-wrap {
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }
}

/* BANNER */
.alert-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 810px;
  margin: 1em auto;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1em;
  font-weight: 450;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
  opacity: 0;
  animation: fadeInBanner 0.4s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInBanner {
  to {
    opacity: 1;
  }
}

/* SEARCH */
.search-wrap {
  display: flex;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0px 24px 0;
}

.search-field {
  flex: 3;
  width: auto;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 16px 0 40px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' stroke='%23a1a1a6' stroke-width='2'/%3E%3Cpath d='m16.5 16.5 3.5 3.5' stroke='%23a1a1a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}

.search-field::placeholder {
  color: var(--fg-tertiary);
}

.search-field:focus {
  background-color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.search.is-loading .search-field,
.search.is-loading .venue-select,
.search.is-loading .day-chip {
  opacity: 0.72;
}

.search-daybar {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 24px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
}

.day-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  color: var(--fg-secondary);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.day-chip:hover {
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--fg);
}

.day-chip.has-value {
  border-color: rgba(0, 75, 155, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--fg);
}

.day-chip.is-active {
  border-color: color-mix(in srgb, var(--accent) 22%, rgba(0, 0, 0, 0.06));
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 18px rgba(0, 0, 0, 0.04);
}

.day-chip--picker {
  min-width: 150px;
  justify-content: flex-start;
}

.day-picker-shell {
  position: relative;
  overflow: visible;
}

.day-chip--picker svg {
  flex-shrink: 0;
}

.day-picker-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(320px, calc(100vw - 48px));
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10), 0 6px 18px rgba(0, 0, 0, 0.05);
  z-index: 160;
}

.day-picker-header {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.day-picker-month {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  text-transform: capitalize;
}

.day-picker-nav {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--fg-secondary);
  cursor: pointer;
}

.day-picker-nav:hover:not(:disabled) {
  color: var(--fg);
  border-color: rgba(0, 0, 0, 0.12);
}

.day-picker-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.day-picker-weekdays,
.day-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.day-picker-weekdays {
  margin-bottom: 8px;
}

.day-picker-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.day-picker-cell {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.day-picker-cell:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.04);
}

.day-picker-cell.is-today {
  border-color: rgba(0, 75, 155, 0.22);
  color: var(--accent-dark);
}

.day-picker-cell.is-selected {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 18px rgba(0, 75, 155, 0.18);
}

.day-picker-cell:disabled {
  opacity: 0.26;
  cursor: default;
}

.day-picker-cell--empty {
  min-height: 36px;
}

.venue-select {
  appearance: none;
  -webkit-appearance: none;

  flex: 1;
  width: auto;
  height: 44px;

  background-color: var(--bg-secondary);
  border: 1px solid transparent;
  border-radius: 10px;

  padding: 0 40px 0 16px;

  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);

  cursor: pointer;
  outline: none;

  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a1a1a6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;

  flex-shrink: 0;
}

.venue-select:hover,
.venue-select:focus {
  border-color: var(--fg-secondary);
  background-color: var(--bg-secondary);
  color: var(--fg);
}

.venue-select.has-value {
  background-color: var(--bg-secondary);
  border-color: var(--fg-secondary);
  color: var(--fg);
}

/* STATS */
.stats-bar {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stats-count {
  font-size: 13px;
  color: var(--fg-tertiary);
}

.stats-count-number {
  color: var(--fg);
}

.clear-btn {
  font-size: 13px;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 2px 0;
}

.clear-btn:hover {
  text-decoration: none;
  color: var(--accent-dark);
}

.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;
}

/* CONTENT */
.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

/* DATE GROUP */
.date-heading {
  position: sticky;
  top: 52px;
  background: rgb(245, 245, 247);
  z-index: 10;
  padding: 14px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2em;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.date-day {
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--fg);
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.date-heading.is-sticky .date-day {
  color: var(--ks-red);
}

.date-heading.is-sticky {
  border-bottom: 1px solid var(--ks-orange);
}

.date-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}

.date-scroll-top {
  width: 26px;
  height: 26px;
  border: 0 solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.date-scroll-top:hover {
  background: var(--ks-red);
  border-color: var(--ks-red);
  color: #fff;
  transform: translateY(-1px);
  border: 1px solid rgba(29, 29, 31, 0.08);
}

.date-scroll-top svg {
  display: block;
}

.date-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* EVENTS */
.events-list {
  display: flex;
  flex-direction: column;
}

.event-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: start;
  gap: 0 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
  transition: background 0.1s, margin 0.1s, padding 0.1s, border-radius 0.1s;
}

.event-row:last-child {
  border-bottom: none;
}

.event-row:hover {
  background: var(--bg-secondary);
  border-bottom-color: transparent;
  transition: background 0.5s;
}

.event-time {
  font-size: 0.9em;
  color: var(--fg-secondary);
  font-variant-numeric: tabular-nums;
  padding-top: 0px;
  text-align: center;
  font-weight: 400;
  margin-left: 5px;
}

.event-body {
  min-width: 0;
}

.event-title {
  font-size: 1em;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.1px;
  line-height: 1.35;
  text-wrap: pretty;
  margin-bottom: 2px;
}

.concert-card--cancelled {
  opacity: 0.55;
}

.concert-card--cancelled .concert-title {

  font-weight: 400;
}

.concert-status-icon {
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.35em;
  vertical-align: 0.05em;
  fill: currentColor;
  flex-shrink: 0;
}

.concert-status-icon--warning {
  color: #d6a400;
}

.concert-status-icon--modified {
  color: rgba(110, 168, 255, 0.85);
}

.concert-badge {
  display: inline-block;
  vertical-align: middle;
}

.concert-badge--cancelled {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: #c62828;
  text-decoration: none;
}

.event-venue {
  font-size: 13px;
  color: var(--fg-secondary);
  font-weight: 400;
}

.event-venue a {
  color: var(--accent);
  text-decoration: none;
}

.event-venue a:hover {
  color: var(--accent-dark);
}

.event-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 13px;
  color: var(--fg-tertiary);
  font-weight: 400;
  vertical-align: middle;
  white-space: nowrap;
  padding-top: 0;
  text-align: right;
  min-width: 66px;
  padding-right: 6px;
}

.calendari,
.ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  padding: 0;
  background: none;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.calendari svg,
.ticket svg {
  width: 16px;
  height: 16px;
}

.calendari:hover,
.ticket:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transition: background 0.5s;
}

.calendari:focus-visible,
.ticket:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.25);
  outline-offset: 3px;
}

.time-cell {
  display: inline-flex;
  align-items: center;
  min-width: 58px;
}

.time-value {
  flex: 0 0 auto;
}

.time-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  visibility: hidden;
}

.time-dot--soon,
.time-dot--live {
  visibility: visible;
}

.time-dot--soon {
  background: var(--ks-orange);
}

.time-dot--live {
  background: var(--ks-orange);
  animation: ks-dot-blink 1s ease-in-out infinite;
}

@keyframes ks-dot-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.28;
  }
}


/* BOX-FORMULARiS */
.box-formularis {
  display: block;
  flex-wrap: wrap;
  gap: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: left;
  line-height: 1.35rem;
}

.box-formularis h2 {
  font-size: 1.2rem;
  color: var(--fg);
  font-weight: 700;
  margin: 10px 0 10px 0;
}

.box-formularis a {
  color: var(--ks-muted);
  text-decoration: none;
}

.box-formularis a:hover {
  color: var(--accent);
  text-decoration: none;
}

.box-formularis p {
  color: var(--fg);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

#venues-list,
#telegram {
  text-align: center;
}

.latest-added-list {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  padding: 0 1em 0 1em;
}

.latest-added-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.latest-added-row:last-child {
  border-bottom: 0;
}

.latest-added-main {
  min-width: 0;
  color: var(--fg);
  line-height: 1.25rem;
}

.latest-added-date {
  color: var(--muted);
  font-weight: 400;
}

.latest-added-artist {
  color: var(--fg-secondary);
  font-weight: 500;
}

.latest-added-venue {
  color: var(--fg-tertiary);
  text-decoration: none;
}

a.latest-added-venue:hover {
  color: var(--accent);
}

.latest-added-muted,
.latest-added-price {
  color: var(--fg-tertiary);
}

.latest-added-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* GENERAL FORMULARIS */
.ks-formularis {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1em;
}

.ks-formularis input {
  flex: 1;
  min-width: 180px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--fg);
  background: var(--bg-secondary);
  outline: none;
}

.ks-formularis input:focus {
  background-color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.ks-formularis button {
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: var(--fg);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.ks-formularis button:hover {
  background: var(--accent);
}

#suggest-form .ks-formularis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

#suggest-form .ks-formularis input {
  min-width: 0;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
}

#suggest-form .ks-formularis input:focus {
  background-color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

#suggest-date {
  grid-column: span 3;
}

#suggest-artist {
  grid-column: span 5;
}

#suggest-place {
  grid-column: span 4;
}

#suggest-link {
  grid-column: span 6;
}

#suggest-email {
  grid-column: span 4;
}

#suggest-form .ks-formularis button {
  grid-column: span 2;
  height: 44px;
  justify-self: stretch;
  border-radius: 10px;
  padding: 0 16px;
}

.artist-alert-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.load-more-wrap {
  margin-top: 44px;
  text-align: center;
}

.load-more {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: var(--ks-red);
  color: #fff;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.load-more:hover {
  background: var(--ks-orange);
  transition: background 0.2s ease;
}

.load-more[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.load-more-status {
  min-height: 1.2rem;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* EMPTY */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--fg-tertiary);
}

/* FOOTER */
.site-footer {
  max-width: 860px;
  margin: auto;
  padding: 10px 24px 24px 10px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: 0.8em;
  color: var(--fg-secondary);
}

.footer-text {
  width: 100%;
  text-align: center;
}

.site-footer a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* FADE IN */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.date-group {
  animation: fadeUp 0.8s ease both;
}

@media (max-width: 760px) {
  #suggest-date {
    grid-column: span 4;
  }

  #suggest-artist {
    grid-column: span 8;
  }

  #suggest-place,
  #suggest-link {
    grid-column: span 6;
  }

  #suggest-email {
    grid-column: span 8;
  }

  #suggest-form .ks-formularis button {
    grid-column: span 4;
  }
}

/* RESPONSIVE */
@media (max-width: 620px) {
  .search-wrap {
    flex-direction: column;
  }

  .search-field,
  .venue-select {
    width: 100%;
    flex: 1 1 auto;
  }

  .event-time {
    margin-left: 0;
  }

  .event-actions {
    padding-right: 2px;
  }

  #suggest-form .ks-formularis {
    grid-template-columns: 1fr;
  }

  #suggest-date,
  #suggest-artist,
  #suggest-place,
  #suggest-link,
  #suggest-email,
  #suggest-form .ks-formularis button {
    grid-column: 1;
  }

  .header-actions .btn-ghost span {
    display: none;
  }

  .event-row {
    grid-template-columns: 44px 1fr auto;
    gap: 0 10px;
    padding: 10px 0;
  }

  .event-title {
    font-size: 14px;
  }

  .event-price {
    min-width: 40px;
    font-size: 12px;
  }

  .search-wrap,
  .search-daybar,
  .stats-bar,
  .content,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .day-picker-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
    margin-top: 0;
    max-height: min(460px, calc(100vh - 32px));
    overflow-y: auto;
    border-radius: 22px;
    z-index: 260;
  }

  .date-day {
    font-size: 17px;
  }

  .site-header h1 {
    font-size: 1rem;
    text-wrap: nowrap;
    margin: 0;
    padding: 0;
    width: 50%;
  }
}