:root {
  color-scheme: dark;
  --bg: #0b0f16;
  --bg-soft: #101620;
  --surface: #151b26;
  --surface-solid: #151b26;
  --surface-2: #1b2433;
  --text: #f3f5f8;
  --text-soft: #c5ccd8;
  --muted: #8f99aa;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #d99a3e;
  --accent-2: #e7aa50;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #fb7185;
  --radius-sm: 999px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --page-max: 1160px;
  --page-pad: 24px;
  --container: var(--page-max);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  min-width: 320px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-color: var(--bg);
  background-image: none;
  color: var(--text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
}

.page,
.site-header__inner,
.site-footer__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.page {
  padding: 74px 0 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 15, 15, 0.9);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 180px minmax(280px, 480px) 1fr;
  align-items: center;
  gap: var(--space-5);
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(232, 201, 122, 0.3);
  border-radius: 6px;
  background: var(--accent);
  color: #0e0f0f;
  font-size: 11px;
  font-weight: 900;
}

.brand__mark::before {
  content: none;
}

.brand__text {
  white-space: nowrap;
}

.site-nav,
.footer-links,
.hero-actions,
.success-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav {
  justify-content: flex-end;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.site-nav a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-search {
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: var(--space-1);
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
}

.header-search:focus-within {
  border-color: rgba(232, 201, 122, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.header-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 6px 8px;
  font-size: 13px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 999px;
}

input,
select,
textarea,
button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
}

select {
  color-scheme: light;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(232, 201, 122, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: #9a978d;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  background: var(--accent);
  color: #0e0f0f;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  background: #f0d891;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button--small {
  min-height: 35px;
  padding: 8px 12px;
  font-size: 13px;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: none;
}

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

.is-hidden {
  display: none !important;
}

.hero,
.detail-hero {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.hero--catalog {
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
}

.hero__content,
.hero-insight,
.detail-hero__content,
.detail-hero__media,
.content-panel,
.booking-panel,
.ai-summary-card,
.success-card,
.empty-state,
.event-card,
.stat-card,
.mini-recommendation,
.recommendation-card,
.review-item {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 980px;
  min-height: 370px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 10%, rgba(232, 201, 122, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(28, 30, 30, 0.98), rgba(15, 16, 16, 0.96));
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
  box-shadow: var(--shadow);
}

.hero h1,
.detail-hero h1,
.success-card h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 780;
}

.hero p,
.detail-hero__lead,
.section-header p,
.hero-insight p,
.site-footer p {
  color: var(--muted);
}

.hero__content > p {
  max-width: 660px;
  font-size: 17px;
  line-height: 1.65;
}

.hero-insight {
  display: grid;
  gap: var(--space-2);
  width: min(520px, 100%);
  margin: calc(-1 * var(--space-6)) auto var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  text-align: center;
}

.insight-dot {
  display: none;
}

.ai-search-panel {
  display: grid;
  grid-template-columns: 1fr 220px 150px;
  gap: var(--space-3);
  width: min(720px, 100%);
  margin-top: var(--space-5);
  padding: var(--space-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(14, 15, 15, 0.8);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-tag {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.hero-tag:hover {
  border-color: rgba(232, 201, 122, 0.45);
  color: var(--accent);
}

.ai-search-panel label,
.field label,
.booking-form label {
  display: grid;
  gap: var(--space-1);
  color: var(--muted);
  font-size: 12px;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.toggle-field input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.catalog-toolbar {
  width: min(900px, 100%);
  margin: 0 auto var(--space-6);
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) 130px;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(20, 21, 21, 0.86);
}

.filter-chips,
.stat-row,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-chips {
  justify-content: center;
  margin-top: var(--space-3);
}

.chip,
.stat-badge,
.model-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 12px;
}

.chip--ai {
  border-color: rgba(123, 108, 240, 0.4);
  background: rgba(123, 108, 240, 0.12);
  color: #c8c0ff;
}

.tag-list--compact {
  gap: 6px;
}

.tag-list--compact .chip {
  min-height: 23px;
  padding: 3px 8px;
  color: var(--muted);
  font-size: 11px;
}

.tag-list--content {
  margin-top: var(--space-4);
}

.ai-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-5);
  align-items: center;
  width: min(900px, 100%);
  margin: 0 auto var(--space-7);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(20, 21, 21, 0.84);
}

.ai-band h2,
.section-header h2,
.booking-panel h2,
.ai-summary-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.ai-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  gap: var(--space-2);
}

.ai-metrics span {
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.ai-metrics strong {
  display: block;
  color: var(--text);
  font-size: 20px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-5);
  width: min(900px, 100%);
  margin: var(--space-7) auto var(--space-4);
  text-align: left;
}

.section-header p {
  max-width: 460px;
  margin: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.event-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(28, 30, 30, 0.96);
}

.event-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.event-card__media img,
.detail-hero__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.event-card__media img {
  aspect-ratio: 16 / 10;
}

.event-card__rating {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 15, 15, 0.82);
  color: var(--accent);
  font-weight: 760;
  font-size: 12px;
}

.event-card__body {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
}

.event-card__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  color: var(--muted);
  font-size: 12px;
}

.quest-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quest-badges span {
  padding: 4px 8px;
  border: 1px solid rgba(232, 201, 122, 0.16);
  border-radius: 6px;
  background: rgba(232, 201, 122, 0.08);
  color: var(--accent);
  font-size: 11px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: var(--space-4);
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--accent);
}

.breadcrumbs strong {
  color: var(--text-soft);
  font-weight: 600;
}

.human-recommendation {
  max-width: 720px;
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  border: 1px solid rgba(232, 201, 122, 0.2);
  border-radius: var(--radius-md);
  background: rgba(232, 201, 122, 0.08);
  color: var(--text-soft);
}

.event-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.event-card h3 a {
  text-decoration: none;
}

.event-card p {
  min-height: 68px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 14px;
}

.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.recommendation-strip,
.recommendation-grid,
.reviews-list,
.aspect-grid {
  display: grid;
  gap: var(--space-3);
}

.recommendation-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-recommendation,
.recommendation-card {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.mini-recommendation span,
.recommendation-card span,
.recommendation-card small {
  color: var(--muted);
}

.detail-hero {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: stretch;
}

.detail-hero__content {
  border: 0;
  background: transparent;
  padding: 34px 0;
}

.detail-hero__lead {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.68;
}

.detail-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.detail-hero__media img {
  height: 100%;
  min-height: 390px;
}

.rating-panel {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(14, 15, 15, 0.86);
}

.rating-panel strong {
  font-size: 23px;
}

.rating-panel span {
  color: var(--muted);
  font-size: 12px;
}

.back-link {
  display: inline-flex;
  margin-bottom: var(--space-4);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.stat-card {
  min-height: 92px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(20, 21, 21, 0.86);
}

.stat-card span {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--muted);
  font-size: 12px;
}

.stat-card strong {
  font-size: 17px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: var(--space-5);
}

.detail-main {
  min-width: 0;
}

.content-panel,
.ai-summary-card {
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.content-panel p {
  margin-top: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.gallery-grid img,
.gallery-placeholder,
.image-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.image-placeholder--poster {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(232, 201, 122, 0.26), transparent 28%),
    linear-gradient(135deg, #240e0e 0%, #131515 52%, #26210f 100%);
  color: var(--accent);
}

.image-placeholder--poster span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(232, 201, 122, 0.2);
  border-radius: 6px;
  background: rgba(14, 15, 15, 0.7);
  color: var(--accent);
  font-size: 11px;
}

.image-placeholder--poster strong {
  font-size: clamp(46px, 7vw, 82px);
  opacity: 0.34;
}

.gallery-grid img,
.gallery-placeholder {
  aspect-ratio: 4 / 3;
}

.image-placeholder {
  aspect-ratio: 16 / 10;
  min-height: 160px;
}

.image-placeholder--large {
  height: 100%;
  min-height: 390px;
}

.booking-panel {
  position: sticky;
  top: 82px;
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.booking-panel__head {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.booking-panel__head span {
  color: var(--text);
  font-weight: 760;
}

.booking-form {
  display: grid;
  gap: var(--space-3);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.ai-summary-card {
  margin-top: var(--space-7);
}

.aspect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.aspect-card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 12px;
  min-height: 144px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.aspect-card__head,
.aspect-card__meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-3);
}

.ai-summary-card--cataloglike {
  border-radius: 16px;
  border-color: rgba(123, 108, 240, 0.22);
  background: rgba(24, 22, 38, 0.72);
  padding: 22px;
}

.absa-block__intro {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.absa-block__label {
  margin: 0;
  color: #c8c0ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.absa-block__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.absa-block__summary,
.ai-summary-text {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.absa-block__reviews {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.aspect-card__head strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 760;
  text-transform: uppercase;
}

.aspect-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.aspect-bar {
  display: flex;
  overflow: hidden;
  min-height: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.aspect-bar span {
  display: block;
  min-height: 10px;
}

.aspect-bar .positive {
  background: var(--success);
}

.aspect-bar .mixed {
  background: var(--warning);
}

.aspect-bar .negative {
  background: var(--danger);
}

.aspect-card__meta {
  margin-top: auto;
}

.aspect-card__meta small:last-child {
  text-align: right;
  white-space: nowrap;
}

.ai-summary-card .empty-state {
  margin-top: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.booking-trust {
  display: grid;
  gap: 8px;
  margin-top: var(--space-2);
}

.booking-trust span {
  color: var(--muted);
  font-size: 12px;
}

.booking-trust span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
}

.review-item {
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.review-item__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.review-item p {
  color: var(--text-soft);
  line-height: 1.6;
}

.review-item small {
  color: var(--muted);
}

.reviews-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.reviews-more .button {
  width: auto;
}

.reviews-more small {
  color: var(--muted);
}

.recommendation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.llm-profile {
  display: grid;
  gap: var(--space-4);
}

.llm-profile-block--inline {
  width: 100%;
  max-width: 100%;
  margin: var(--space-6) 0 0;
}

.llm-profile-block--inline .section-header {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.llm-profile--empty {
  color: var(--text-soft);
}

.llm-profile--empty h3 {
  margin: 0 0 var(--space-2);
  color: var(--text);
}

.llm-profile--empty p {
  margin: 0;
}

.llm-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.llm-profile__section {
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.llm-profile__section h3 {
  margin: 0 0 var(--space-3);
  font-size: 15px;
}

.llm-profile__section--wide {
  background: rgba(255, 255, 255, 0.035);
}

.llm-profile__section--wide .ai-summary-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.llm-profile__section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.5;
}

.empty-state {
  grid-column: 1 / -1;
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.empty-state h3 {
  margin: 0 0 var(--space-2);
}

.empty-state p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.success-page {
  display: grid;
  place-items: center;
  min-height: 64vh;
}

.success-card {
  width: min(720px, 100%);
  border-radius: var(--radius-md);
  padding: clamp(26px, 5vw, 48px);
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto var(--space-4);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--success);
  font-size: 26px;
  font-weight: 800;
}

.success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-5) 0;
  text-align: left;
}

.success-details div {
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.success-details dt {
  color: var(--muted);
  font-size: 12px;
}

.success-details dd {
  margin: var(--space-1) 0 0;
}

.success-actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(14, 15, 15, 0.9);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 32px 0;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

@media (max-width: 1040px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .header-search {
    order: 3;
    grid-column: 1 / -1;
    margin-bottom: var(--space-3);
  }

  .detail-hero,
  .detail-layout,
  .ai-band {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .page,
  .site-header__inner,
  .site-footer__inner {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header__inner,
  .site-footer__inner,
  .section-header,
  .site-nav,
  .success-actions {
    align-items: stretch;
  }

  .site-header__inner,
  .site-footer__inner,
  .section-header {
    display: grid;
  }

  .site-nav,
  .footer-links {
    justify-content: space-between;
  }

  .hero h1,
  .detail-hero h1,
  .success-card h1 {
    font-size: 36px;
  }

  .ai-search-panel,
  .event-grid,
  .recommendation-strip,
  .recommendation-grid,
  .llm-profile__grid,
  .gallery-grid,
  .aspect-grid,
  .success-details,
  .ai-metrics {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page {
    padding-top: 42px;
  }

  .hero__content,
  .detail-hero__content,
  .content-panel,
  .booking-panel,
  .ai-summary-card,
  .success-card {
    padding: var(--space-4);
  }

  .hero__content,
  .detail-hero__content {
    padding-left: 0;
    padding-right: 0;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }
}

/* Safe UI refactor refinements: layout, responsiveness, and user-facing polish. */
.page,
.site-header__inner,
.site-footer__inner,
.hero,
.catalog-toolbar,
.ai-band,
.section-header,
.event-grid,
.recommendation-strip,
.similar-section,
.llm-profile-block,
.detail-hero,
.stat-grid,
.detail-layout {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
  margin-left: auto;
  margin-right: auto;
}

.page {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 76px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(232, 201, 122, 0.78);
  outline-offset: 3px;
}

.site-header__inner {
  grid-template-columns: minmax(150px, 190px) minmax(260px, 480px) minmax(210px, 1fr);
  gap: var(--space-4);
  min-height: 60px;
}

.site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.header-search {
  min-width: 0;
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.header-search input {
  min-height: 34px;
}

.hero,
.detail-hero {
  margin-bottom: var(--space-6);
}

.hero__content {
  width: 100%;
  max-width: 100%;
  min-height: 350px;
  padding: clamp(28px, 5vw, 56px);
}

.hero h1,
.detail-hero h1,
.success-card h1 {
  max-width: 920px;
  font-size: clamp(40px, 5.1vw, 60px);
  line-height: 1.06;
}

.hero__content > p {
  margin-bottom: 0;
}

.ai-search-panel input,
.filter-panel input,
.filter-panel select,
.booking-form input,
.booking-form select,
.booking-form textarea {
  min-height: 44px;
}

.ai-search-panel {
  align-items: end;
}

.ai-search-panel button,
.filter-panel button {
  min-height: 44px;
}

.hero-insight {
  width: min(720px, 100%);
  margin-top: calc(-1 * var(--space-5));
  box-shadow: none;
}

.catalog-toolbar {
  margin-bottom: var(--space-5);
}

.filter-panel {
  grid-template-columns: 1.25fr 1.15fr repeat(3, minmax(92px, 0.8fr)) minmax(180px, 1fr) 130px;
  align-items: end;
}

.toggle-field {
  height: 44px;
}

.ai-band {
  grid-template-columns: minmax(0, 1fr) minmax(300px, auto);
  box-shadow: none;
}

.section-header {
  margin-top: var(--space-7);
}

.event-grid {
  align-items: stretch;
}

.event-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.event-card__media,
.event-card__media img,
.event-card__media .image-placeholder {
  min-height: 208px;
}

.event-card__media img,
.event-card__media .image-placeholder {
  aspect-ratio: 16 / 10;
}

.event-card__body {
  grid-template-rows: auto auto auto auto minmax(64px, auto) auto auto auto;
  min-width: 0;
}

.event-card__meta span,
.chip,
.stat-badge {
  min-width: 0;
  max-width: 100%;
}

.event-card h3 {
  min-height: 50px;
  font-size: 19px;
}

.event-card h3,
.event-card p {
  overflow-wrap: anywhere;
}

.event-card p {
  display: -webkit-box;
  min-height: 66px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.event-card__footer {
  margin-top: auto;
}

.event-card__footer strong {
  white-space: nowrap;
}

.detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: var(--space-6);
}

.detail-hero__content {
  min-width: 0;
}

.detail-hero__media {
  min-height: 390px;
}

.detail-hero__media .image-placeholder--large {
  width: 100%;
  height: auto;
}

.detail-hero h1 {
  overflow-wrap: anywhere;
}

.hero-actions .button {
  width: auto;
  min-width: 150px;
}

.stat-grid--detail {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  align-content: center;
  min-width: 0;
}

.stat-card strong {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
}

.booking-panel {
  top: 78px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.booking-form label {
  min-width: 0;
}

.ai-summary-card--cataloglike {
  border-color: rgba(123, 108, 240, 0.18);
  background:
    linear-gradient(135deg, rgba(123, 108, 240, 0.09), rgba(20, 21, 21, 0.92)),
    var(--surface);
  box-shadow: none;
}

.absa-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}

.absa-highlight-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.absa-highlight-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.absa-highlight-grid strong {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.aspect-card {
  min-height: 128px;
  box-shadow: none;
}

.aspect-card__head strong {
  letter-spacing: 0;
}

.aspect-card__head small,
.aspect-card__meta small:last-child {
  white-space: nowrap;
}

.aspect-bar,
.aspect-bar span {
  min-height: 8px;
}

.review-item {
  box-shadow: none;
}

.review-item__head span {
  flex: 0 0 auto;
  color: var(--accent);
}

.review-item p {
  margin-bottom: var(--space-2);
}

.mini-recommendation,
.llm-profile__section {
  box-shadow: none;
}

.success-page {
  min-height: 54vh;
  padding: var(--space-5) 0;
}

.success-card {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.success-note {
  max-width: 560px;
  margin: var(--space-3) auto 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.site-footer__inner {
  align-items: center;
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 20px;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-panel button {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .site-nav {
    gap: var(--space-3);
  }

  .detail-hero,
  .detail-layout,
  .ai-band {
    grid-template-columns: 1fr;
  }

  .detail-hero__media {
    order: 2;
    min-height: 300px;
  }

  .booking-panel {
    position: static;
  }

  .stat-grid--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recommendation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --page-pad: 16px;
    --space-7: 40px;
  }

  .page {
    padding-top: 34px;
    padding-bottom: 56px;
  }

  .brand__text {
    font-size: 15px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .brand {
    justify-self: start;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .header-search {
    width: 100%;
  }

  .hero__content {
    align-items: flex-start;
    min-height: auto;
    padding: 26px 18px;
    text-align: left;
  }

  .hero h1,
  .detail-hero h1,
  .success-card h1 {
    font-size: clamp(34px, 11vw, 40px);
    line-height: 1.08;
  }

  .hero__content > p,
  .detail-hero__lead {
    font-size: 15px;
  }

  .ai-search-panel,
  .filter-panel,
  .event-grid,
  .recommendation-strip,
  .recommendation-grid,
  .llm-profile__grid,
  .gallery-grid,
  .aspect-grid,
  .success-details,
  .ai-metrics,
  .absa-highlight-grid {
    grid-template-columns: 1fr;
  }

  .hero-tags {
    justify-content: flex-start;
  }

  .hero-insight {
    margin-top: var(--space-3);
    text-align: left;
  }

  .filter-panel {
    padding: var(--space-3);
  }

  .toggle-field {
    justify-content: flex-start;
  }

  .section-header {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-6);
  }

  .event-card__body {
    padding: var(--space-4);
  }

  .event-card h3 {
    min-height: auto;
  }

  .detail-hero__content {
    padding-top: 0;
    padding-bottom: 0;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .detail-hero__media,
  .detail-hero__media img,
  .image-placeholder--large {
    min-height: 240px;
  }

  .detail-hero__media {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }

  .detail-hero__media .image-placeholder--large {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 240px;
  }

  .detail-hero h1 {
    max-width: calc(100vw - 48px) !important;
    font-size: 34px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .detail-hero .tag-list,
  .detail-hero .stat-row {
    max-width: calc(100vw - 48px);
  }

  .rating-panel {
    right: 10px;
    bottom: 10px;
  }

  .hero-actions,
  .success-actions,
  .reviews-more {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .success-actions .button,
  .reviews-more .button {
    width: 100%;
  }

  .stat-grid--detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-panel,
  .booking-panel,
  .ai-summary-card,
  .success-card {
    padding: var(--space-4);
  }

  .aspect-card__head,
  .aspect-card__meta {
    align-items: start;
  }

  .aspect-card__meta small:last-child {
    white-space: normal;
  }

  .site-footer__inner,
  .footer-links {
    display: grid;
    gap: var(--space-3);
  }
}

@media (max-width: 420px) {
  .stat-grid--detail {
    grid-template-columns: 1fr;
  }

  .event-card__meta,
  .event-card__footer,
  .review-item__head {
    display: grid;
  }

  .event-card__footer strong {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .detail-hero,
  .detail-hero__content,
  .detail-hero__media,
  .detail-layout,
  .stat-grid--detail,
  .similar-section,
  .llm-profile-block {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .detail-hero__media .image-placeholder,
  .detail-hero__media img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .detail-hero .tag-list,
  .detail-hero .stat-row {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    max-width: calc(100vw - 32px) !important;
  }

  .detail-hero__lead,
  .breadcrumbs,
  .human-recommendation {
    width: min(100%, 320px) !important;
    max-width: min(100%, 320px) !important;
  }

  .rating-panel {
    left: 10px;
    right: auto;
    max-width: calc(100% - 20px);
  }
}

.detail-main .llm-profile-block--inline,
.detail-main .llm-profile-block--inline .section-header {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Aggregator UI polish: light catalog style without changing routes or JS hooks. */
:root {
  color-scheme: dark;
  --bg: #0b0f16;
  --bg-soft: #101620;
  --surface: #151b26;
  --surface-solid: #151b26;
  --surface-2: #1b2433;
  --text: #f3f5f8;
  --text-soft: #c5ccd8;
  --muted: #8f99aa;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #d99a3e;
  --accent-2: #e7aa50;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #fb7185;
  --radius-sm: 999px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body {
  background: var(--bg);
  background-image: none;
  color: var(--text);
}

.site-header {
  border-bottom-color: rgba(31, 41, 51, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.brand__mark {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.site-nav a,
.footer-links a {
  color: var(--text-soft);
}

.header-search {
  border-color: var(--line);
  background: #f7f9fb;
}

.header-search:focus-within {
  border-color: rgba(233, 79, 53, 0.36);
  background: #fff;
}

input,
select,
textarea {
  background: #fff;
  color: var(--text);
}

select {
  color-scheme: light;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(233, 79, 53, 0.42);
  box-shadow: 0 0 0 3px rgba(233, 79, 53, 0.1);
}

button,
.button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

button:hover,
.button:hover {
  background: #d9432d;
}

.button--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.button--ghost:hover {
  background: var(--surface-2);
}

.eyebrow {
  color: var(--accent);
}

.hero__content {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.96)),
    radial-gradient(circle at 84% 16%, rgba(47, 111, 237, 0.1), transparent 34%);
  box-shadow: var(--shadow);
}

.hero h1,
.detail-hero h1,
.success-card h1 {
  color: var(--text);
}

.hero__content > p,
.detail-hero__lead,
.section-header p,
.ai-band p,
.content-panel p {
  color: var(--text-soft);
}

.hero-insight,
.catalog-toolbar,
.filter-panel,
.ai-band,
.event-card,
.content-panel,
.booking-panel,
.ai-summary-card,
.review-item,
.success-card,
.mini-recommendation,
.stat-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-insight {
  margin-top: var(--space-4);
}

.hero-tag,
.chip,
.stat-badge {
  border-color: var(--line);
  background: #f7f9fb;
  color: var(--text-soft);
  text-decoration: none;
}

.hero-tag:hover,
.chip:hover {
  border-color: rgba(233, 79, 53, 0.28);
  background: #fff3ef;
  color: var(--accent);
}

.chip--ai {
  border-color: rgba(47, 111, 237, 0.22);
  background: #eef4ff;
  color: #2857b8;
}

.event-card {
  overflow: hidden;
}

.event-card:hover {
  border-color: rgba(233, 79, 53, 0.24);
  background: #fff;
  box-shadow: 0 16px 36px rgba(31, 41, 51, 0.12);
}

.event-card__media,
.event-card__media img,
.event-card__media .image-placeholder {
  background: var(--surface-2);
}

.event-card__rating,
.rating-panel {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.12);
}

.event-card__meta {
  color: var(--muted);
}

.event-card__address {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.quest-badges span {
  border-color: rgba(47, 111, 237, 0.16);
  background: #eef4ff;
  color: #2857b8;
}

.image-placeholder--poster {
  background:
    radial-gradient(circle at 78% 22%, rgba(233, 79, 53, 0.18), transparent 28%),
    linear-gradient(135deg, #eef4ff 0%, #fff 52%, #fff3ef 100%);
  color: var(--accent);
}

.image-placeholder--poster span {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-soft);
}

.detail-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: var(--space-5);
}

.detail-hero__brand {
  margin: 0 0 var(--space-3);
  color: var(--muted);
  font-size: 14px;
}

.human-recommendation {
  border-color: rgba(47, 111, 237, 0.16);
  background: #eef4ff;
  color: var(--text-soft);
}

.detail-anchor-nav {
  position: sticky;
  top: 66px;
  z-index: 10;
  display: flex;
  gap: var(--space-2);
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto var(--space-5);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.detail-anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.detail-anchor-nav a:hover {
  background: #fff3ef;
  color: var(--accent);
}

.stat-card {
  min-height: 86px;
}

.stat-card span {
  color: var(--muted);
}

.stat-card strong {
  color: var(--text);
}

.llm-profile__section,
.llm-profile__section--wide {
  border-color: var(--line);
  background: var(--surface-2);
}

.llm-profile__section h3 {
  color: var(--text);
}

.llm-profile__section ul,
.llm-profile__section--wide .ai-summary-text {
  color: var(--text-soft);
}

.ai-summary-card--cataloglike {
  border-color: var(--line);
  background: var(--surface);
}

.absa-block__label {
  color: var(--accent-2);
}

.absa-block__reviews,
.absa-block__summary {
  color: var(--text-soft);
}

.absa-highlight-grid div,
.aspect-card {
  border-color: var(--line);
  background: var(--surface-2);
}

.aspect-bar {
  background: #e8edf3;
}

.booking-panel {
  top: 86px;
}

.booking-trust span {
  color: var(--muted);
}

.review-item {
  background: var(--surface);
}

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

.mini-recommendation {
  display: grid;
  gap: var(--space-2);
  min-height: 148px;
  color: var(--text);
}

.mini-recommendation span {
  color: var(--muted);
}

.mini-recommendation small {
  color: var(--text-soft);
}

.site-footer {
  border-top-color: var(--line);
  background: #fff;
}

@media (max-width: 900px) {
  .detail-anchor-nav {
    top: 0;
    width: calc(100vw - 32px);
    border-radius: var(--radius-md);
  }
}

@media (max-width: 680px) {
  .detail-hero {
    padding: var(--space-4);
  }

  .detail-hero__content,
  .detail-hero__media {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Stable event detail cleanup: calm light aggregator page. */
.site-header {
  min-height: 62px;
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
  min-height: 62px;
}

.page {
  padding-top: 40px;
}

.detail-hero,
.stat-grid--detail,
.detail-anchor-nav,
.detail-layout,
.similar-section {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2))) !important;
}

.detail-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: stretch;
  gap: var(--space-5);
  margin: 0 auto var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-hero__content,
.detail-hero__media {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-hero__content {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: 0;
}

.breadcrumbs {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-hero .eyebrow {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.detail-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.detail-hero__brand {
  margin: 0;
}

.detail-hero__lead {
  display: -webkit-box;
  max-width: 760px;
  margin: var(--space-1) 0 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.62;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.detail-hero .tag-list {
  gap: 7px;
  margin-top: var(--space-1);
}

.chip {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
}

.human-recommendation {
  margin-top: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.hero-actions {
  margin-top: var(--space-3);
}

.detail-hero__media {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.detail-hero__media img,
.detail-hero__media .image-placeholder--large {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.image-placeholder--neutral {
  display: grid;
  place-items: start;
  padding: var(--space-4);
  background:
    linear-gradient(135deg, #ffffff, #f3f5f8),
    radial-gradient(circle at 80% 20%, rgba(255, 138, 0, 0.16), transparent 32%);
}

.image-placeholder--neutral strong {
  display: none;
}

.rating-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.stat-grid--detail {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 auto var(--space-5);
  gap: var(--space-3);
}

.stat-card {
  display: grid;
  align-content: center;
  min-height: 88px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.stat-card span {
  font-size: 12px;
}

.stat-card strong {
  font-size: 16px;
  line-height: 1.25;
}

.detail-anchor-nav {
  top: 70px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--space-5);
}

.section-header {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.section-header h2,
.section-header h3 {
  color: var(--text);
}

.content-panel,
.ai-summary-card,
.booking-panel,
.review-item,
.mini-recommendation {
  border-radius: var(--radius-md);
  box-shadow: none;
}

.description-text {
  display: grid;
  gap: var(--space-3);
  max-width: 760px;
}

.description-text p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.tag-list--content {
  margin-top: var(--space-4);
}

.gallery-grid {
  margin-top: var(--space-5);
}

.llm-profile {
  gap: var(--space-3);
}

.llm-profile__section--wide {
  padding: var(--space-4);
  background: var(--surface-2);
}

.llm-profile__section--wide h3 {
  margin-bottom: var(--space-2);
}

.llm-profile__section ul {
  gap: 10px;
  line-height: 1.6;
}

.ai-summary-card--cataloglike {
  padding: var(--space-5);
}

.absa-highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.absa-highlight-grid div,
.aspect-card {
  border-radius: var(--radius-md);
  box-shadow: none;
}

.absa-highlight-grid strong {
  color: var(--text);
}

.aspect-card {
  min-height: 132px;
  padding: var(--space-4);
}

.aspect-card__head strong {
  font-size: 15px;
}

.aspect-card__meta {
  color: var(--muted);
}

.review-item {
  padding: var(--space-4);
}

.review-item p {
  color: var(--text-soft);
  line-height: 1.65;
}

.review-item small {
  color: var(--muted);
}

.booking-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: var(--space-5);
}

.booking-panel__head span {
  color: var(--accent);
  font-size: 22px;
}

.similar-section .recommendation-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-recommendation {
  padding: var(--space-4);
  min-height: 136px;
}

@media (max-width: 1020px) {
  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }

  .stat-grid--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .similar-section .recommendation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page {
    padding-top: 24px;
  }

  .detail-hero,
  .stat-grid--detail,
  .detail-anchor-nav,
  .detail-layout,
  .similar-section {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .detail-hero {
    padding: var(--space-4);
  }

  .detail-hero h1 {
    font-size: 32px;
  }

  .detail-hero__media,
  .detail-hero__media img,
  .detail-hero__media .image-placeholder--large {
    min-height: 240px;
  }

  .detail-hero .tag-list,
  .detail-hero .stat-row {
    display: flex;
    max-width: 100% !important;
  }

  .stat-grid--detail,
  .absa-highlight-grid,
  .similar-section .recommendation-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}

/* Final dark event-aggregator skin. Kept at the end to override older light experiments safely. */
:root {
  color-scheme: dark;
  --page-bg: #0b0f16;
  --page-bg-soft: #101620;
  --bg: #0b0f16;
  --bg-soft: #101620;
  --surface: #151b26;
  --surface-solid: #151b26;
  --surface-2: #1b2433;
  --surface-soft: #111722;
  --surface-strong: #1b2433;
  --text-main: #f3f5f8;
  --text: #f3f5f8;
  --text-soft: #c5ccd8;
  --text-muted: #8f99aa;
  --muted: #8f99aa;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #d99a3e;
  --accent-2: #e7aa50;
  --accent-soft: rgba(217, 154, 62, 0.13);
  --positive: #4ade80;
  --mixed: #fbbf24;
  --negative: #fb7185;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #fb7185;
  --radius-sm: 999px;
  --radius-pill: 999px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.28);
  --shadow-subtle: 0 10px 26px rgba(0, 0, 0, 0.18);
}

body {
  background:
    radial-gradient(circle at 70% 0%, rgba(217, 154, 62, 0.06), transparent 34%),
    linear-gradient(180deg, #0b0f16 0%, #101620 42%, #0b0f16 100%);
  color: var(--text);
  line-height: 1.55;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 22, 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 76px;
}

.brand__mark {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--accent);
}

.site-nav a,
.footer-links a {
  color: var(--text-soft);
}

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

.header-search {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.header-search:focus-within {
  border-color: rgba(217, 154, 62, 0.36);
  background: rgba(255, 255, 255, 0.055);
}

input,
select,
textarea {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

select {
  color-scheme: dark;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(217, 154, 62, 0.42);
  box-shadow: 0 0 0 3px rgba(217, 154, 62, 0.09);
}

button,
.button {
  border-color: var(--accent);
  background: linear-gradient(135deg, #d99a3e, #b8752f);
  color: #0b0f16;
  font-weight: 740;
  box-shadow: 0 14px 30px rgba(217, 154, 62, 0.16);
}

button:hover,
.button:hover {
  background: var(--accent-2);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: none;
}

.button--ghost:hover {
  border-color: rgba(217, 154, 62, 0.28);
  background: rgba(217, 154, 62, 0.09);
  color: var(--accent);
}

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page {
  padding-top: 44px;
}

.hero__content,
.hero-insight,
.catalog-toolbar,
.filter-panel,
.ai-band,
.event-card,
.content-panel,
.booking-panel,
.ai-summary-card,
.review-item,
.mini-recommendation,
.stat-card,
.detail-hero {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(27, 36, 51, 0.88), rgba(17, 23, 34, 0.92));
  box-shadow: var(--shadow-subtle);
}

.detail-hero {
  background:
    radial-gradient(circle at 22% 8%, rgba(217, 154, 62, 0.075), transparent 34%),
    linear-gradient(145deg, rgba(27, 36, 51, 0.92), rgba(12, 17, 25, 0.96));
  box-shadow: var(--shadow);
}

.detail-hero__content,
.detail-hero__media {
  box-shadow: none;
}

.breadcrumbs,
.detail-hero .eyebrow,
.detail-hero__brand,
.event-card__meta,
.event-card__address,
.review-item small,
.mini-recommendation span,
.mini-recommendation small,
.booking-trust span {
  color: var(--muted);
}

.detail-hero h1,
.section-header h2,
.section-header h3,
.booking-panel h2,
.llm-profile__section h3,
.absa-block__title,
.event-card h3,
.mini-recommendation strong {
  color: var(--text);
}

.detail-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 780;
}

.section-header h2,
.section-header h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero__content > p,
.detail-hero__lead,
.section-header p,
.content-panel p,
.description-text p,
.review-item p,
.llm-profile__section ul,
.llm-profile__section--wide .ai-summary-text,
.absa-block__summary,
.absa-block__reviews {
  color: var(--text-soft);
}

.chip,
.hero-tag,
.stat-badge {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  box-shadow: none;
}

.chip:hover,
.hero-tag:hover {
  border-color: rgba(217, 154, 62, 0.22);
  background: rgba(217, 154, 62, 0.08);
  color: var(--accent);
}

.chip--ai {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.detail-hero__media {
  border-color: var(--line);
  background: var(--surface-soft, #12151f);
}

.image-placeholder--neutral,
.image-placeholder--poster {
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 154, 62, 0.095), transparent 30%),
    linear-gradient(135deg, #111722 0%, #1b2433 58%, #0b0f16 100%);
}

.image-placeholder--neutral::after {
  content: "Изображение скоро появится";
  align-self: end;
  justify-self: start;
  color: var(--muted);
  font-size: 14px;
}

.image-placeholder--poster span {
  border-color: var(--line);
  background: rgba(15, 17, 23, 0.72);
  color: var(--accent);
}

.rating-panel,
.event-card__rating {
  border: 1px solid var(--line);
  background: rgba(11, 15, 22, 0.82);
  color: var(--text);
  box-shadow: var(--shadow-subtle);
}

.rating-panel strong,
.event-card__rating,
.review-item__head span,
.booking-panel__head span {
  color: var(--accent);
}

.stat-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  box-shadow: none;
}

.stat-card span {
  color: var(--muted);
}

.stat-card strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
}

.stat-card span {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.detail-anchor-nav {
  border-color: var(--line);
  background: rgba(21, 27, 38, 0.9);
  box-shadow: var(--shadow-subtle);
}

.detail-anchor-nav a {
  color: var(--text-soft);
}

.detail-anchor-nav a:hover {
  background: rgba(217, 154, 62, 0.1);
  color: var(--accent);
}

.llm-profile--empty {
  padding: 18px 20px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.llm-profile--empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.llm-profile--empty p {
  margin: 0;
  font-size: 14px;
}

.llm-profile__section,
.llm-profile__section--wide,
.absa-highlight-grid div,
.aspect-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.032);
  box-shadow: none;
}

.ai-summary-card--cataloglike {
  background: linear-gradient(180deg, rgba(27, 36, 51, 0.88), rgba(17, 23, 34, 0.92));
}

.absa-block__label {
  color: var(--muted);
}

.aspect-bar {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  min-height: 8px;
}

.aspect-bar .positive {
  background: var(--positive);
}

.aspect-bar .mixed {
  background: var(--mixed);
}

.aspect-bar .negative {
  background: var(--negative);
}

.aspect-card__meta {
  color: var(--muted);
  font-size: 12px;
}

.aspect-card {
  min-height: 118px;
}

.aspect-card__head small {
  color: var(--muted);
}

.absa-block__intro {
  gap: 6px;
}

.absa-block__summary {
  max-width: 760px;
  line-height: 1.6;
}

.booking-panel {
  background: linear-gradient(180deg, rgba(27, 36, 51, 0.92), rgba(17, 23, 34, 0.92));
}

.booking-panel .empty-state {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.review-item {
  background: rgba(255, 255, 255, 0.032);
  box-shadow: none;
}

.review-item__head span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(217, 154, 62, 0.095);
  font-size: 12px;
}

.review-item p {
  max-width: 760px;
}

.related-badge {
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft) !important;
  font-size: 12px;
  font-weight: 700;
}

.mini-recommendation:hover,
.event-card:hover {
  border-color: rgba(217, 154, 62, 0.24);
  background: var(--surface-2);
}

.site-footer {
  border-top-color: var(--line);
  background: #0b0f16;
}

@media (max-width: 680px) {
  .page {
    padding-top: 28px;
  }

  .detail-hero h1 {
    font-size: 32px;
  }

  .detail-anchor-nav {
    top: 0;
  }
}

/* Final dark palette restore: keep aggregator layout, change only visual skin. */
:root {
  color-scheme: dark;
  --page-bg: #0f1218;
  --page-bg-soft: #151a23;
  --bg: #0f1218;
  --bg-soft: #151a23;
  --surface: #1b212b;
  --surface-solid: #1b212b;
  --surface-2: #202836;
  --surface-soft: #171d27;
  --surface-strong: #242d3b;
  --text-main: #f4f6f8;
  --text: #f4f6f8;
  --text-soft: #c9d0dc;
  --text-muted: #929cab;
  --muted: #929cab;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #f05a3f;
  --accent-2: #ff6b4f;
  --accent-soft: rgba(240, 90, 63, 0.13);
  --rating: #f5a524;
  --positive: #3fb950;
  --mixed: #d29922;
  --negative: #f85149;
  --success: #3fb950;
  --warning: #d29922;
  --danger: #f85149;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
  --shadow-subtle: 0 8px 22px rgba(0, 0, 0, 0.2);
}

html,
body,
.app-shell {
  background: var(--page-bg);
}

body {
  background:
    radial-gradient(circle at 84% 4%, rgba(240, 90, 63, 0.08), transparent 30%),
    linear-gradient(180deg, #0f1218 0%, #151a23 46%, #0f1218 100%);
  color: var(--text);
}

.site-header {
  border-bottom-color: var(--line);
  background: rgba(15, 18, 24, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.brand,
.event-card__footer strong,
.rating-panel strong,
.stat-card strong,
.ai-metrics strong,
.detail-hero h1,
.hero h1,
.section-header h2,
.section-header h3,
.booking-panel h2,
.llm-profile__section h3,
.absa-block__title,
.event-card h3,
.mini-recommendation strong {
  color: var(--text);
}

.brand__mark {
  border-color: rgba(240, 90, 63, 0.38);
  background: var(--accent);
  color: #fff;
}

.site-nav a,
.footer-links a,
.header-search input,
.event-card__meta,
.event-card__address,
.breadcrumbs,
.detail-hero .eyebrow,
.detail-hero__brand,
.review-item small,
.mini-recommendation span,
.mini-recommendation small,
.booking-trust span,
.stat-card span,
.aspect-card__head small,
.aspect-card__meta,
.aspect-card small {
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover,
.eyebrow,
.absa-block__label {
  color: var(--accent);
}

.header-search,
input,
select,
textarea,
.toggle-field {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

select {
  color-scheme: dark;
}

.header-search:focus-within,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(240, 90, 63, 0.42);
  box-shadow: 0 0 0 3px rgba(240, 90, 63, 0.09);
}

input::placeholder,
textarea::placeholder {
  color: #818b99;
}

button,
.button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

button:hover,
.button:hover {
  background: var(--accent-2);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(240, 90, 63, 0.3);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.hero__content,
.hero-insight,
.catalog-toolbar,
.filter-panel,
.ai-band,
.event-card,
.content-panel,
.booking-panel,
.ai-summary-card,
.review-item,
.mini-recommendation,
.stat-card,
.detail-hero,
.empty-state,
.success-card {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.hero__content {
  background:
    radial-gradient(circle at 86% 18%, rgba(240, 90, 63, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(32, 40, 54, 0.98), rgba(27, 33, 43, 0.96));
}

.detail-hero {
  background:
    radial-gradient(circle at 18% 8%, rgba(240, 90, 63, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(32, 40, 54, 0.98), rgba(27, 33, 43, 0.96));
}

.hero__content > p,
.detail-hero__lead,
.section-header p,
.hero-insight p,
.ai-band p,
.content-panel p,
.description-text p,
.review-item p,
.llm-profile__section ul,
.llm-profile__section--wide .ai-summary-text,
.absa-block__summary,
.absa-block__reviews {
  color: var(--text-soft);
}

.ai-search-panel,
.filter-panel,
.ai-band,
.content-panel,
.ai-summary-card,
.booking-panel,
.detail-anchor-nav {
  background: var(--surface);
}

.chip,
.hero-tag,
.stat-badge,
.model-pill,
.related-badge {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
}

.hero-tag:hover,
.chip:hover,
.detail-anchor-nav a:hover {
  border-color: rgba(240, 90, 63, 0.28);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.chip--ai,
.quest-badges span {
  border-color: rgba(88, 166, 255, 0.24);
  background: rgba(88, 166, 255, 0.12);
  color: #9ecbff;
}

.event-card:hover,
.mini-recommendation:hover {
  border-color: rgba(240, 90, 63, 0.28);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.event-card__media,
.detail-hero__media,
.image-placeholder,
.gallery-placeholder {
  border-color: var(--line);
  background: var(--surface-soft);
}

.image-placeholder--poster,
.image-placeholder--neutral {
  background:
    radial-gradient(circle at 76% 20%, rgba(240, 90, 63, 0.13), transparent 30%),
    linear-gradient(135deg, #202836 0%, #171d27 58%, #111720 100%);
  color: var(--text-soft);
}

.image-placeholder--poster::after,
.image-placeholder--neutral::after {
  color: var(--muted);
}

.image-placeholder--poster span,
.image-placeholder--neutral span {
  border-color: var(--line);
  background: rgba(15, 18, 24, 0.76);
  color: var(--text-soft);
}

.event-card__rating,
.rating-panel,
.review-item__head span {
  border-color: rgba(245, 165, 36, 0.26);
  background: rgba(15, 18, 24, 0.84);
  color: var(--rating);
  box-shadow: var(--shadow-subtle);
}

.stat-card,
.llm-profile__section,
.llm-profile__section--wide,
.absa-highlight-grid div,
.aspect-card,
.llm-profile--empty,
.booking-panel .empty-state {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.aspect-bar {
  background: rgba(255, 255, 255, 0.1);
}

.detail-anchor-nav {
  border-color: var(--line);
  background: rgba(27, 33, 43, 0.92);
}

.detail-anchor-nav a {
  color: var(--text-soft);
}

.booking-panel__head span {
  color: var(--accent-2);
}

.site-footer {
  border-top-color: var(--line);
  background: #0f1218;
  color: var(--text);
}

.site-footer p {
  color: var(--text-soft);
}

/* Homepage, filters, AI demo and booking form polish */
.home-page-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.hero--catalog {
  grid-template-columns: 1fr;
  width: 100%;
}

.hero--catalog .hero__content {
  width: 100%;
  min-height: 260px;
  justify-content: center;
}

.hero--catalog .hero__content > p:not(.eyebrow) {
  max-width: 760px;
}

.catalog-toolbar {
  padding: 18px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.filter-panel {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
  gap: 14px;
}

.filter-panel .field--wide {
  grid-column: span 2;
}

.filter-panel input,
.filter-panel select,
.filter-panel button,
.toggle-field {
  min-height: 44px;
}

.filter-panel select option,
.booking-form select option {
  background: #151a23;
  color: #f3f6fb;
}

.toggle-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  line-height: 1.25;
  white-space: normal;
}

.toggle-field span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ai-demo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
  margin: 24px 0;
  padding: 22px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.ai-demo-band__copy h2 {
  margin: 6px 0 10px;
  color: var(--text);
}

.ai-demo-band__copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--text-soft);
}

.ai-demo-form {
  display: grid;
  gap: 12px;
}

.ai-demo-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.ai-demo-form textarea {
  min-height: 116px;
  resize: vertical;
}

.ai-demo-result {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.ai-demo-result.is-error {
  border-color: rgba(248, 81, 73, 0.38);
  background: rgba(248, 81, 73, 0.08);
  color: #ffb4ae;
}

.ai-demo-aspect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.ai-demo-aspect {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.ai-demo-aspect strong {
  color: var(--text);
}

.ai-demo-aspect span {
  font-size: 13px;
  color: var(--muted);
}

.catalog-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
}

.catalog-more-button {
  min-width: 160px;
  justify-content: center;
}

.catalog-pagination__message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.prototype-note {
  margin: 30px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  text-align: center;
}

.prototype-note p {
  margin: 0;
}

.field-error {
  display: block;
  margin-top: 7px;
  color: #ffb4ae;
  font-size: 12px;
  line-height: 1.35;
}

input[aria-invalid="true"] {
  border-color: rgba(248, 81, 73, 0.62);
  box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.12);
}

@media (max-width: 760px) {
  .filter-panel .field--wide {
    grid-column: span 1;
  }

  .ai-demo-band {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .hero--catalog .hero__content {
    min-height: 220px;
  }
}

.ai-lab-hero {
  min-height: auto;
}

.ai-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 56px;
}

.ai-lab-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.ai-lab-card h2 {
  margin: 0;
}

.ai-lab-card textarea,
.ai-lab-card input,
.ai-lab-card select {
  width: 100%;
}

.ai-lab-result {
  flex: 1;
  min-height: 160px;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(15, 18, 24, 0.78);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.toggle-field--inline {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .ai-lab-grid {
    grid-template-columns: 1fr;
  }
}

.booking-error {
  padding: 12px 14px;
  border: 1px solid rgba(239, 68, 68, 0.36);
  border-radius: var(--radius-sm);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  font-size: 14px;
  line-height: 1.45;
}

.booking-form--compact {
  gap: 14px;
}

.slot-picker {
  display: grid;
  gap: 12px;
}

.slot-day {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.slot-day p {
  flex: 0 0 100%;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 760;
}

.slot-chip {
  display: inline-flex;
  cursor: pointer;
}

.slot-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-chip span {
  display: grid;
  min-width: 92px;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.slot-chip strong {
  font-size: 14px;
}

.slot-chip small {
  color: var(--muted);
  font-size: 12px;
}

.slot-chip input:checked + span {
  border-color: rgba(217, 154, 62, 0.7);
  background: rgba(217, 154, 62, 0.14);
}

.slot-chip:hover span {
  transform: translateY(-1px);
  border-color: rgba(217, 154, 62, 0.42);
}

.booking-player-row,
.booking-price-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.booking-player-row > span,
.booking-price-summary > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.player-stepper {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 8px;
  align-items: center;
}

.player-stepper button {
  min-height: 38px;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.player-stepper input {
  min-height: 38px;
  text-align: center;
  font-weight: 800;
}

.booking-price-summary strong {
  color: var(--accent-2);
  font-size: 24px;
  line-height: 1.1;
}

.booking-price-summary small,
.booking-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.booking-note {
  margin: -4px 0 0;
}

.booking-panel {
  background:
    radial-gradient(circle at 88% 0%, rgba(217, 154, 62, 0.1), transparent 28%),
    var(--surface);
}

.booking-choice-group {
  display: grid;
  gap: 8px;
}

.booking-choice-label {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
}

.booking-date-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.booking-date-tab,
.slot-chip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: none;
}

.booking-date-tab {
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 8px;
}

.booking-date-tab strong {
  font-size: 14px;
}

.booking-date-tab small {
  color: var(--muted);
  font-size: 11px;
}

.booking-date-tab[aria-pressed="true"],
.slot-chip[aria-pressed="true"] {
  border-color: rgba(217, 154, 62, 0.72);
  background: rgba(217, 154, 62, 0.14);
  color: var(--accent-2);
}

.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.booking-time-grid .slot-chip {
  display: block;
  width: 100%;
  padding: 0;
}

.booking-time-grid .slot-chip[hidden] {
  display: none;
}

.booking-time-grid .slot-chip span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px;
  border: 0;
  background: transparent;
}

.booking-time-grid .slot-chip:hover,
.booking-date-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 154, 62, 0.44);
  background: rgba(217, 154, 62, 0.08);
}

.player-stepper {
  grid-template-columns: 34px minmax(0, 1fr) 34px;
}

.player-stepper button {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 10px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 500;
}

.player-stepper button:hover {
  background: rgba(217, 154, 62, 0.12);
  color: var(--accent-2);
}

.player-stepper input {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 16px;
}

.booking-date-tabs,
.booking-time-grid {
  display: none;
}

.booking-select-label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
}

.booking-select-label select {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.booking-choice-group {
  min-width: 0;
}

.booking-time-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 172px;
  overflow-y: auto;
  padding-right: 2px;
}

.booking-time-chip {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: none;
  text-align: left;
}

.booking-time-chip[hidden] {
  display: none;
}

.booking-time-chip span {
  font-size: 14px;
  font-weight: 760;
}

.booking-time-chip small {
  color: var(--muted);
  font-size: 12px;
}

.booking-time-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 154, 62, 0.44);
  background: rgba(217, 154, 62, 0.08);
}

.booking-time-chip[aria-pressed="true"] {
  border-color: rgba(217, 154, 62, 0.72);
  background: rgba(217, 154, 62, 0.14);
  color: var(--accent-2);
}

.booking-empty-time {
  color: var(--muted);
  font-size: 12px;
}

.booking-player-row,
.booking-price-summary {
  border-radius: 12px;
}

.booking-player-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.booking-player-row > span {
  align-self: center;
}

.booking-price-summary strong {
  font-size: 22px;
}

.booking-panel .booking-trust,
.booking-note {
  display: none;
}

.booking-panel h2 {
  font-size: 24px;
  line-height: 1.15;
}

.booking-time-chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 220px;
  gap: 8px;
}

.booking-time-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  text-align: left;
  white-space: nowrap;
}

.booking-time-chip span,
.booking-time-chip small {
  display: inline-block;
  line-height: 1;
}

.booking-time-chip span {
  font-size: 14px;
  font-weight: 760;
}

.booking-time-chip small {
  color: var(--muted);
  font-size: 12px;
}

.booking-time-chip[aria-pressed="true"] small {
  color: var(--accent-2);
}

.booking-form--compact {
  gap: 12px;
}

.booking-price-summary {
  padding: 10px 12px;
}

/* Similar events cleanup: user-facing recommendation cards, no technical repetition. */
.similar-section .section-header {
  align-items: end;
}

.similar-section .recommendation-strip {
  align-items: stretch;
}

.similar-section .mini-recommendation {
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 132px;
  padding: 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.similar-section .mini-recommendation strong {
  align-self: start;
  font-size: 18px;
  line-height: 1.25;
}

.similar-section .mini-recommendation small {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.similar-section .related-badge {
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft) !important;
  font-size: 12px;
  font-weight: 650;
}

/* Final light aggregator skin. This layer intentionally overrides older dark experiments. */
:root {
  color-scheme: light;
  --page-bg: #f4f5f7;
  --page-bg-soft: #eef1f5;
  --bg: #f4f5f7;
  --bg-soft: #eef1f5;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-2: #fafafa;
  --surface-soft: #f8fafc;
  --surface-strong: #ffffff;
  --text-main: #1f2328;
  --text: #1f2328;
  --text-soft: #4b5563;
  --text-muted: #7b8493;
  --muted: #7b8493;
  --border: #e5e7eb;
  --border-strong: #d6dbe3;
  --line: #e5e7eb;
  --line-strong: #d6dbe3;
  --accent: #e94b35;
  --accent-2: #d83f2b;
  --accent-soft: #fff0ed;
  --rating: #f5a524;
  --positive: #2f9e44;
  --mixed: #f59f00;
  --negative: #e03131;
  --success: #2f9e44;
  --warning: #f59f00;
  --danger: #e03131;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 4px 14px rgba(15, 23, 42, 0.06);
}

html {
  background: var(--page-bg);
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.app-shell {
  background: var(--page-bg);
}

.page {
  padding-top: 34px;
  padding-bottom: 72px;
}

.site-header {
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  grid-template-columns: 180px minmax(280px, 520px) 1fr;
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-weight: 800;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  box-shadow: none;
}

.site-nav a,
.footer-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

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

.header-search {
  grid-template-columns: 1fr 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}

.header-search:focus-within {
  border-color: rgba(233, 75, 53, 0.38);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 75, 53, 0.08);
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

select {
  color-scheme: light;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(233, 75, 53, 0.42);
  box-shadow: 0 0 0 3px rgba(233, 75, 53, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: #9aa3af;
}

button,
.button {
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

button:hover,
.button:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.button--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(233, 75, 53, 0.24);
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-button {
  border-radius: 9px;
}

.eyebrow {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero__content,
.hero-insight,
.catalog-toolbar,
.filter-panel,
.ai-band,
.event-card,
.content-panel,
.booking-panel,
.ai-summary-card,
.review-item,
.mini-recommendation,
.stat-card,
.detail-hero,
.empty-state,
.success-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.hero--catalog {
  place-items: stretch;
}

.hero__content {
  align-items: flex-start;
  max-width: none;
  min-height: 0;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 242, 0.92)),
    radial-gradient(circle at 86% 18%, rgba(233, 75, 53, 0.12), transparent 34%);
  text-align: left;
}

.hero h1,
.detail-hero h1,
.success-card h1 {
  color: var(--text);
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__content > p,
.detail-hero__lead,
.section-header p,
.hero-insight p,
.ai-band p,
.content-panel p,
.description-text p,
.review-item p,
.llm-profile__section ul,
.llm-profile__section--wide .ai-summary-text,
.absa-block__summary,
.absa-block__reviews {
  color: var(--text-soft);
}

.hero__content > p {
  max-width: 690px;
}

.ai-search-panel {
  grid-template-columns: minmax(0, 1fr) 220px 150px;
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-subtle);
}

.ai-search-panel label,
.field label,
.booking-form label {
  color: var(--text-soft);
}

.hero-tags,
.filter-chips,
.stat-row,
.tag-list {
  gap: 8px;
}

.hero-tag,
.chip,
.stat-badge,
.model-pill {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #f8fafc;
  color: var(--text-soft);
  box-shadow: none;
  text-decoration: none;
}

.hero-tag:hover,
.chip:hover {
  border-color: rgba(233, 75, 53, 0.24);
  background: var(--accent-soft);
  color: var(--accent);
}

.chip--ai {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #2857b8;
}

.hero-insight {
  width: 100%;
  margin: 16px 0 0;
  border-radius: var(--radius-md);
  text-align: left;
}

.catalog-toolbar,
.ai-band,
.section-header {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
}

.catalog-toolbar {
  margin-top: 24px;
}

.filter-panel {
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(180px, auto) 130px;
  border-radius: var(--radius-lg);
  background: #fff;
}

.toggle-field {
  border-color: var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text-soft);
}

.ai-band {
  border-radius: var(--radius-lg);
  background: #fff;
}

.ai-metrics span {
  border-color: var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text-soft);
}

.ai-metrics strong {
  color: var(--text);
}

.section-header {
  align-items: flex-end;
  margin-top: 44px;
  margin-bottom: 18px;
}

.section-header h2,
.section-header h3,
.booking-panel h2,
.llm-profile__section h3,
.absa-block__title,
.event-card h3,
.mini-recommendation strong {
  color: var(--text);
}

.event-grid {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.event-card:hover,
.mini-recommendation:hover {
  border-color: rgba(233, 75, 53, 0.24);
  background: #fff;
  box-shadow: var(--shadow);
}

.event-card__media {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.event-card__media img,
.detail-hero__media img,
.gallery-grid img {
  filter: none;
  object-fit: cover;
}

.event-card__media img,
.event-card__media .image-placeholder {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.event-card__rating,
.rating-panel {
  border: 1px solid rgba(245, 165, 36, 0.28);
  background: rgba(255, 255, 255, 0.94);
  color: var(--rating);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}

.event-card__body {
  gap: 12px;
  padding: 18px;
}

.event-card__meta,
.event-card__address,
.breadcrumbs,
.detail-hero .eyebrow,
.detail-hero__brand,
.review-item small,
.mini-recommendation span,
.mini-recommendation small,
.booking-trust span {
  color: var(--text-muted);
}

.event-card p {
  min-height: 64px;
  color: var(--text-soft);
}

.quest-badges span {
  border-color: #dbeafe;
  border-radius: var(--radius-pill);
  background: #eff6ff;
  color: #2857b8;
}

.event-card__footer strong {
  color: var(--text);
  font-size: 18px;
}

.image-placeholder,
.gallery-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-muted);
}

.image-placeholder--poster,
.image-placeholder--neutral {
  position: relative;
  display: grid;
  place-items: end start;
  overflow: hidden;
  padding: 16px;
  background:
    linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #fff0ed 100%);
  color: var(--text-soft);
}

.image-placeholder--poster::after,
.image-placeholder--neutral::after {
  content: "Изображение скоро появится";
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.image-placeholder--poster span,
.image-placeholder--neutral span {
  position: absolute;
  left: 16px;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  font-size: 12px;
}

.image-placeholder--poster strong,
.image-placeholder--neutral strong {
  display: none;
}

.detail-hero,
.stat-grid--detail,
.detail-anchor-nav,
.detail-layout,
.similar-section {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2))) !important;
}

.detail-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  margin: 0 auto 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
}

.detail-hero__content {
  gap: 12px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.detail-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
}

.detail-hero__lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.62;
}

.detail-hero__media {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: none;
}

.detail-hero__media img,
.detail-hero__media .image-placeholder--large {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.rating-panel {
  right: 16px;
  bottom: 16px;
  border-radius: 12px;
}

.rating-panel strong {
  color: var(--rating);
}

.rating-panel span {
  color: var(--text-muted);
}

.stat-grid--detail {
  gap: 12px;
  margin: 0 auto 24px;
}

.stat-card {
  min-height: 88px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: none;
}

.stat-card span {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0;
}

.stat-card strong {
  color: var(--text);
  font-size: 17px;
}

.detail-anchor-nav {
  top: 74px;
  margin-bottom: 24px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-subtle);
}

.detail-anchor-nav a {
  border-radius: 9px;
  color: var(--text-soft);
}

.detail-anchor-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.content-panel,
.ai-summary-card,
.booking-panel,
.review-item,
.mini-recommendation {
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: none;
}

.content-panel,
.ai-summary-card,
.booking-panel {
  padding: 24px;
}

.description-text {
  max-width: 780px;
}

.description-text p {
  margin: 0;
  line-height: 1.68;
}

.llm-profile__section,
.llm-profile__section--wide,
.absa-highlight-grid div,
.aspect-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fafafa;
  box-shadow: none;
}

.llm-profile--empty {
  border-style: dashed;
  background: #fafafa;
}

.llm-profile__section h3 {
  margin-bottom: 8px;
}

.llm-profile__section ul {
  color: var(--text-soft);
}

.ai-summary-card--cataloglike {
  background: #fff;
}

.absa-block__label {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.absa-block__title {
  font-size: clamp(22px, 2.4vw, 30px);
}

.aspect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.aspect-card {
  min-height: 118px;
  padding: 16px;
}

.aspect-card__head strong {
  color: var(--text);
  font-size: 15px;
  text-transform: none;
}

.aspect-card__head small,
.aspect-card__meta,
.aspect-card small {
  color: var(--text-muted);
}

.aspect-bar {
  min-height: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #e8edf3;
}

.aspect-bar span {
  min-height: 8px;
}

.aspect-bar .positive {
  background: var(--positive);
}

.aspect-bar .mixed {
  background: var(--mixed);
}

.aspect-bar .negative {
  background: var(--negative);
}

.booking-panel {
  top: 92px;
}

.booking-panel__head span {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.booking-trust span::before {
  color: var(--positive);
}

.review-item {
  padding: 18px;
}

.review-item__head span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: #fff7e8;
  color: var(--rating);
  font-size: 12px;
}

.reviews-more .button {
  border-radius: 10px;
}

.similar-section .recommendation-strip,
.recommendation-strip {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-recommendation {
  min-height: 136px;
  padding: 18px;
}

.related-badge {
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #f8fafc;
  color: var(--text-soft) !important;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.site-footer p {
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .event-grid,
  .recommendation-strip,
  .similar-section .recommendation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .ai-search-panel,
  .ai-band,
  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }

  .stat-grid--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page {
    padding-top: 24px;
  }

  .hero__content,
  .detail-hero,
  .content-panel,
  .ai-summary-card,
  .booking-panel {
    padding: 18px;
  }

  .hero h1,
  .detail-hero h1 {
    font-size: 31px;
    letter-spacing: -0.015em;
  }

  .event-grid,
  .recommendation-strip,
  .similar-section .recommendation-strip,
  .aspect-grid,
  .stat-grid--detail,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .detail-hero__media,
  .detail-hero__media img,
  .detail-hero__media .image-placeholder--large {
    min-height: 240px;
  }

  .detail-anchor-nav {
    top: 0;
    border-radius: var(--radius-md);
  }

  .event-card p {
    min-height: 0;
  }
}

/* Last-mile dark palette override. Keep this block at EOF. */
:root {
  color-scheme: dark;
  --page-bg: #0f1218;
  --page-bg-soft: #151a23;
  --bg: #0f1218;
  --bg-soft: #151a23;
  --surface: #1b212b;
  --surface-solid: #1b212b;
  --surface-2: #202836;
  --surface-soft: #171d27;
  --surface-strong: #242d3b;
  --text-main: #f4f6f8;
  --text: #f4f6f8;
  --text-soft: #c9d0dc;
  --text-muted: #929cab;
  --muted: #929cab;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #f05a3f;
  --accent-2: #ff6b4f;
  --accent-soft: rgba(240, 90, 63, 0.13);
  --rating: #f5a524;
  --positive: #3fb950;
  --mixed: #d29922;
  --negative: #f85149;
  --success: #3fb950;
  --warning: #d29922;
  --danger: #f85149;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
  --shadow-subtle: 0 8px 22px rgba(0, 0, 0, 0.2);
}

html,
body,
.app-shell {
  background: var(--page-bg);
}

body {
  background:
    radial-gradient(circle at 84% 4%, rgba(240, 90, 63, 0.08), transparent 30%),
    linear-gradient(180deg, #0f1218 0%, #151a23 46%, #0f1218 100%);
  color: var(--text);
}

.site-header {
  border-bottom-color: var(--line);
  background: rgba(15, 18, 24, 0.92);
}

.brand,
.event-card__footer strong,
.rating-panel strong,
.stat-card strong,
.ai-metrics strong,
.detail-hero h1,
.hero h1,
.section-header h2,
.section-header h3,
.booking-panel h2,
.llm-profile__section h3,
.absa-block__title,
.event-card h3,
.mini-recommendation strong {
  color: var(--text);
}

.brand__mark,
button,
.button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

button:hover,
.button:hover {
  background: var(--accent-2);
}

.site-nav a,
.footer-links a,
.event-card__meta,
.event-card__address,
.breadcrumbs,
.detail-hero .eyebrow,
.detail-hero__brand,
.review-item small,
.mini-recommendation span,
.mini-recommendation small,
.booking-trust span,
.stat-card span,
.aspect-card__head small,
.aspect-card__meta,
.aspect-card small {
  color: var(--muted);
}

.site-nav a:hover,
.footer-links a:hover,
.eyebrow,
.absa-block__label {
  color: var(--accent);
}

.header-search,
input,
select,
textarea,
.toggle-field {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

select {
  color-scheme: dark;
}

input::placeholder,
textarea::placeholder {
  color: #818b99;
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button--ghost:hover,
.hero-tag:hover,
.chip:hover,
.detail-anchor-nav a:hover {
  border-color: rgba(240, 90, 63, 0.28);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.hero__content,
.hero-insight,
.catalog-toolbar,
.filter-panel,
.ai-band,
.event-card,
.content-panel,
.booking-panel,
.ai-summary-card,
.review-item,
.mini-recommendation,
.stat-card,
.detail-hero,
.empty-state,
.success-card {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-subtle);
}

.hero__content {
  background:
    radial-gradient(circle at 86% 18%, rgba(240, 90, 63, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(32, 40, 54, 0.98), rgba(27, 33, 43, 0.96));
}

.detail-hero {
  background:
    radial-gradient(circle at 18% 8%, rgba(240, 90, 63, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(32, 40, 54, 0.98), rgba(27, 33, 43, 0.96));
}

.hero__content > p,
.detail-hero__lead,
.section-header p,
.hero-insight p,
.ai-band p,
.content-panel p,
.description-text p,
.review-item p,
.llm-profile__section ul,
.llm-profile__section--wide .ai-summary-text,
.absa-block__summary,
.absa-block__reviews {
  color: var(--text-soft);
}

.ai-search-panel,
.filter-panel,
.ai-band,
.content-panel,
.ai-summary-card,
.booking-panel,
.detail-anchor-nav {
  border-color: var(--line);
  background: var(--surface);
}

.chip,
.hero-tag,
.stat-badge,
.model-pill,
.related-badge {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
}

.chip--ai,
.quest-badges span {
  border-color: rgba(88, 166, 255, 0.24);
  background: rgba(88, 166, 255, 0.12);
  color: #9ecbff;
}

.event-card:hover,
.mini-recommendation:hover {
  border-color: rgba(240, 90, 63, 0.28);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.event-card__media,
.detail-hero__media,
.image-placeholder,
.gallery-placeholder {
  border-color: var(--line);
  background: var(--surface-soft);
}

.image-placeholder--poster,
.image-placeholder--neutral {
  background:
    radial-gradient(circle at 76% 20%, rgba(240, 90, 63, 0.13), transparent 30%),
    linear-gradient(135deg, #202836 0%, #171d27 58%, #111720 100%);
}

.image-placeholder--poster::after,
.image-placeholder--neutral::after,
.image-placeholder--poster span,
.image-placeholder--neutral span {
  color: var(--muted);
}

.image-placeholder--poster span,
.image-placeholder--neutral span {
  border-color: var(--line);
  background: rgba(15, 18, 24, 0.76);
}

.event-card__rating,
.rating-panel,
.review-item__head span {
  border-color: rgba(245, 165, 36, 0.26);
  background: rgba(15, 18, 24, 0.84);
  color: var(--rating);
  box-shadow: var(--shadow-subtle);
}

.stat-card,
.llm-profile__section,
.llm-profile__section--wide,
.absa-highlight-grid div,
.aspect-card,
.llm-profile--empty,
.booking-panel .empty-state {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.aspect-bar {
  background: rgba(255, 255, 255, 0.1);
}

.booking-panel__head span {
  color: var(--accent-2);
}

.site-footer {
  border-top-color: var(--line);
  background: #0f1218;
  color: var(--text);
}

.site-footer p {
  color: var(--text-soft);
}

/* Final homepage alignment fixes: must stay at the end of the file. */
.site-header__inner {
  grid-template-columns: minmax(160px, 220px) 1fr;
}

.site-nav {
  justify-self: end;
}

.home-page-shell {
  width: min(var(--container), calc(100% - 32px));
  max-width: 1180px;
  margin-inline: auto;
}

.home-page-shell > .hero,
.home-page-shell > .catalog-toolbar,
.home-page-shell > .ai-demo-band,
.home-page-shell > .section-header,
.home-page-shell > .event-grid,
.home-page-shell > .prototype-note {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.home-page-shell > .catalog-toolbar {
  padding: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
}

.home-page-shell .filter-panel {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
  border-radius: var(--radius-lg);
}

.home-page-shell .filter-panel .field--wide {
  grid-column: span 2;
}

.home-page-shell .toggle-field {
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  align-self: stretch;
  gap: 9px;
  box-sizing: border-box;
  overflow: hidden;
}

.home-page-shell .toggle-field input {
  flex: 0 0 auto;
}

.home-page-shell .toggle-field span {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.home-page-shell .filter-panel button[type="submit"] {
  height: 44px;
  min-height: 44px;
}

.home-page-shell .ai-demo-band {
  border-radius: var(--radius-lg);
}

.home-page-shell .ai-demo-band__copy h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .home-page-shell {
    width: min(var(--container), calc(100% - 24px));
  }

  .home-page-shell .filter-panel .field--wide {
    grid-column: span 1;
  }
}
