/* LifeLoveMe Experience Engine v0.1 — shared experience page layout */

.llm-exp-page {
  margin: 0;
  min-height: 100svh;
  font-family: var(--llm-exp-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--llm-exp-text, #1a2433);
  background: var(--llm-exp-bg, #f7f8fb);
  line-height: 1.55;
}

.llm-exp-topbar {
  background: var(--llm-exp-topbar-bg, #0b1f3a);
  color: var(--llm-exp-topbar-text, #fff);
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.llm-exp-topbar__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.llm-exp-topbar a {
  color: var(--llm-exp-topbar-link, #c8d8f0);
  text-decoration: none;
}

.llm-exp-topbar a:hover,
.llm-exp-topbar a:focus-visible {
  text-decoration: underline;
}

.llm-exp-main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.llm-exp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--llm-exp-link, #132a4a);
  text-decoration: none;
  font-weight: 600;
}

.llm-exp-back:hover,
.llm-exp-back:focus-visible {
  text-decoration: underline;
}

.llm-exp-header {
  margin-bottom: 1.5rem;
}

.llm-exp-header__org {
  font-size: 0.88rem;
  color: var(--llm-exp-muted, #5c6675);
  margin: 0 0 0.35rem;
}

.llm-exp-header__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}

.llm-exp-header__date {
  margin: 0;
  font-size: 0.95rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-header__location {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-section {
  margin-bottom: 2rem;
}

.llm-exp-section__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.llm-exp-card {
  background: var(--llm-exp-card, #fff);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.07);
}

.llm-exp-thanks {
  white-space: pre-line;
}

.llm-exp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.llm-exp-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e8ecf2;
}

.llm-exp-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.llm-exp-media-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.llm-exp-media-list a {
  color: var(--llm-exp-link, #132a4a);
  font-weight: 600;
}

.llm-exp-status {
  padding: 1rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-status--error {
  color: #7f1d1d;
  background: #fdecea;
  border-radius: 10px;
}

.llm-exp-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.82rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-catalog {
  display: grid;
  gap: 1rem;
}

.llm-exp-catalog__card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  background: var(--llm-exp-card, #fff);
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.07);
}

@media (max-width: 520px) {
  .llm-exp-catalog__card {
    grid-template-columns: 1fr;
  }
}

.llm-exp-catalog__thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #e8ecf2;
}

.llm-exp-catalog__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
}

.llm-exp-catalog__date {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-catalog__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.llm-exp-catalog__title a {
  color: inherit;
  text-decoration: none;
}

.llm-exp-catalog__title a:hover,
.llm-exp-catalog__title a:focus-visible {
  text-decoration: underline;
}

.llm-exp-catalog__summary {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-catalog__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--llm-exp-link, #132a4a);
  text-decoration: none;
}

.llm-exp-catalog__link:hover,
.llm-exp-catalog__link:focus-visible {
  text-decoration: underline;
}

/* v0.3 — playback controls + slideshow */

.llm-exp-playback__card {
  display: grid;
  gap: 0.85rem;
}

.llm-exp-playback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.llm-exp-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.llm-exp-btn--primary {
  background: var(--llm-exp-link, #132a4a);
  color: #fff;
}

.llm-exp-btn--secondary {
  background: #e8ecf2;
  color: var(--llm-exp-link, #132a4a);
}

.llm-exp-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.llm-exp-btn:hover,
.llm-exp-btn:focus-visible {
  filter: brightness(1.05);
  outline: 2px solid rgba(19, 42, 74, 0.35);
  outline-offset: 2px;
}

.llm-exp-playback__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-playback__credit {
  margin: 0;
  font-size: 0.88rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-playback__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--llm-exp-muted, #5c6675);
}

.llm-exp-audio {
  display: block !important;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.llm-exp-audio::-webkit-media-controls,
.llm-exp-audio::-webkit-media-controls-enclosure,
.llm-exp-audio::-webkit-media-controls-panel {
  display: none !important;
}

body.llm-exp-slideshow-open {
  overflow: hidden;
}

.llm-exp-slideshow {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
}

.llm-exp-slideshow[hidden] {
  display: none;
}

.llm-exp-slideshow__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.82);
}

.llm-exp-slideshow__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 48rem);
  max-height: 90svh;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.llm-exp-slideshow__img {
  display: block;
  width: 100%;
  max-height: 72svh;
  object-fit: contain;
  border-radius: 12px;
  background: #0b1f3a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.llm-exp-slideshow__counter {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

.llm-exp-slideshow__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
