body.epp-page {
  color-scheme: light;
  background: #020617 !important;
  color: #f7f4ec;
}

body.epp-page #main {
  color: inherit;
}

.epp {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 48px;
}

.epp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.86fr);
  gap: 16px;
  align-items: start;
}

.epp-gallery { grid-column: 1; grid-row: 1; }
.epp-main {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.epp-right {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow: auto;
  min-width: 0;
}
.epp-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.epp-card {
  background: rgba(20, 18, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
  padding: 16px;
}

.epp-card h2,
.epp-card h3,
.epp-name {
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.epp-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.epp-hero-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #16141f;
}

.epp-hero-frame img,
.epp-hero-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #16141f;
}

.epp-zoom,
.epp-thumb-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 11, 16, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.epp-zoom {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.epp-thumbs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.epp-thumb-nav {
  position: static;
  width: 44px;
  height: 64px;
  flex: 0 0 44px;
  border-radius: 12px;
}

.epp-thumb-nav .epp-flip {
  display: inline-block;
  transform: scaleX(-1);
}

.epp-thumb-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
  flex: 1;
}

.epp-thumb-scroller::-webkit-scrollbar { display: none; }

.epp-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 72px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: #1b1826;
  color: #fff;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
}

.epp-thumb img,
.epp-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.epp-thumb.is-active {
  border-color: #e0b15b;
  box-shadow: 0 0 0 1px #e0b15b !important;
}

.epp-thumb.is-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d7d2e6;
}

.epp-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.epp-gate-cta {
  margin-top: 12px;
}

.epp-gate-cta button {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(224, 177, 91, 0.45);
  background: transparent;
  color: #f0d7a2;
  padding: 10px 12px;
}

.epp-empty {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9b3c7;
  background: #16141f;
}

.epp-name {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.epp-meta,
.epp-status,
.epp-tagline,
.epp-muted {
  color: #c9c3d4;
}

.epp-meta {
  margin-top: 8px;
  font-size: 0.98rem;
}

.epp-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #d7f5df;
  font-size: 0.92rem;
}

.epp-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc78;
  display: inline-block;
}

.epp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #f0d7a2;
}

.epp-rating strong { color: #fff; }
.epp-rating span { color: #c9c3d4; font-weight: 500; }

.epp-tagline {
  margin: 12px 0 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.epp-actions,
.epp-secondary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.epp-secondary-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.epp-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit;
}

.epp-btn--gold {
  background: linear-gradient(180deg, #f3d48a 0%, #e0b15b 45%, #c8963d 100%);
  color: #2a210f;
  box-shadow: 0 8px 18px rgba(224, 177, 91, 0.18) !important;
}

.epp-btn--ghost {
  background: transparent;
  color: #d7c4f5;
  border: 1px solid rgba(167, 139, 250, 0.55);
}

.epp-btn--tiny {
  min-height: 44px;
  padding: 6px 12px;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f6f3ee;
}

.epp-trust {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.epp-trust div {
  flex: 1;
  text-align: center;
  color: #d9d3e4;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.epp-trust i { color: #c4b5fd; font-size: 1.05rem; }

.epp-followers {
  color: #b9b3c7;
  font-size: 0.84rem;
}

.epp-location-link,
.epp-text-link {
  color: #f0d7a2;
  text-decoration: none !important;
}

.epp-agency,
.epp-warning {
  margin-top: 10px;
  color: #d9d3e4;
  font-size: 0.88rem;
}

.epp-warning {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(224, 177, 91, 0.08);
  border: 1px solid rgba(224, 177, 91, 0.25);
}

.epp-locations {
  position: relative;
  margin-top: 8px;
}

.epp-locations-menu {
  display: none;
  position: absolute;
  z-index: 5;
  min-width: 220px;
  margin-top: 6px;
  padding: 6px;
  border-radius: 12px;
  background: #16141f;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.epp-locations-menu.is-open { display: block; }

.epp-locations-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none !important;
}

.epp-bio,
.epp-review p,
.epp-fact {
  color: #ddd7e8;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
}

.epp-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.epp-pair > :only-child { grid-column: 1 / -1; }

.epp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.epp-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  border: 1px solid transparent;
  color: #fff;
}

.epp-pill--gold { background: #c8963d; color: #241b0c; }
.epp-pill--violet { background: #6d4ad4; }
.epp-pill--outline {
  background: transparent;
  border-color: rgba(167, 139, 250, 0.7);
  color: #ddd4ff;
}

.epp-rates {
  width: 100%;
  border-collapse: collapse;
}

.epp-rates th {
  text-align: right;
  color: #b9b3c7;
  font-weight: 600;
  font-size: 0.78rem;
  padding-bottom: 8px;
}

.epp-rates td {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #f6f3ee;
}

.epp-rates td:last-child,
.epp-rates th:last-child {
  text-align: right;
  color: #f3d48a;
  font-weight: 700;
}

.epp-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}

.epp-day {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
}

.epp-day strong,
.epp-day small,
.epp-day em {
  display: block;
  font-style: normal;
}

.epp-day small { color: #c9c3d4; margin-top: 2px; }
.epp-day em {
  color: #f0d7a2;
  font-size: 0.72rem;
  margin-top: 8px;
  line-height: 1.3;
}

.epp-day.is-selected {
  background: #6d4ad4;
  border-color: transparent;
}

.epp-day.is-selected small,
.epp-day.is-selected em { color: #fff; }

.epp-review-list { display: flex; flex-direction: column; gap: 14px; }
.epp-review { display: flex; gap: 10px; }
.epp-review.is-extra { display: none; }
.epp-reviews.is-open .epp-review.is-extra { display: flex; }

.epp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2a2440;
  color: #f3d48a;
  font-weight: 700;
  flex: 0 0 36px;
  overflow: hidden;
}

.epp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.epp-review header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 0.92rem;
}

.epp-review header span { color: #b9b3c7; font-weight: 500; }
.epp-stars { color: #f0d7a2; letter-spacing: 1px; font-size: 0.82rem; }
.epp-linkish {
  border: 0;
  background: transparent;
  color: #d7c4f5;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.epp-map-frame {
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #1b1826;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.epp-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.epp-map-caption,
.epp-map-credit {
  margin: 10px 0 0;
  color: #b9b3c7;
  font-size: 0.82rem;
}

.epp-map-label {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #6d4ad4;
  color: #fff;
  font-size: 0.8rem;
}

.epp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.epp-field { display: flex; flex-direction: column; gap: 6px; }
.epp-field span { color: #c9c3d4; font-size: 0.84rem; }

.epp-field input,
.epp-field select,
.epp-review-form input,
.epp-review-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(26, 20, 8, 0.16);
  background: #ffffff;
  color: #1a1408;
  font-size: 16px;
  min-height: 44px;
  padding: 10px 12px;
}

.epp-review-form textarea { min-height: 90px; resize: vertical; }
.epp-review-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.epp-form-note,
.epp-form-status { color: #b9b3c7; font-size: 0.8rem; margin: 0; }

.epp-summary { display: flex; gap: 12px; align-items: center; }
.epp-summary .epp-avatar { width: 54px; height: 54px; flex-basis: 54px; font-size: 1.2rem; }
.epp-summary h2 { font-size: 1.05rem; }
.epp-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.epp-facts li { display: flex; gap: 8px; align-items: center; color: #e6e1ee; font-size: 0.92rem; }
.epp-facts i { color: #c4b5fd; }

.epp-links { display: flex; flex-direction: column; gap: 8px; }
.epp-link-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.epp-posts .post-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  color: #f6f3ee;
}

.epp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 5, 10, 0.88);
  padding: 24px;
}

.epp-lightbox.is-open { display: flex; }

.epp-lightbox-stage {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 80px);
  overflow: auto;
}

.epp-lightbox img,
.epp-lightbox video {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.epp-lightbox img.is-zoomed {
  max-height: none;
  width: 160%;
  cursor: zoom-out;
}

.epp-lightbox-close,
.epp-lightbox-nav,
.epp-lightbox-zoom {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.epp-lightbox-close { top: 16px; right: 16px; }
.epp-lightbox-zoom { top: 16px; right: 66px; }
.epp-lightbox-nav { top: 50%; transform: translateY(-50%); }
.epp-lightbox-prev { left: 16px; }
.epp-lightbox-next { right: 16px; }

.epp-mobilebar { display: none; }
.epp-call {
  flex: 0 0 72px;
  width: 72px;
  min-width: 64px;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6e7b4, #d4af37);
  color: #1a1408;
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
}

.epp-contact-modal .modal-content {
  background: #16141f;
  color: #f6f3ee;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.epp-contact-modal .btn-close { filter: invert(1); }

@media (max-width: 900px) {
  .epp { width: min(100% - 20px, 720px); margin-bottom: 24px; }
  .epp-grid { display: flex; flex-direction: column; }
  .epp-right { display: contents; }
  .epp-gallery { order: 1; }
  .epp-info { order: 2; }
  .epp-main { order: 3; }
  .epp-side { order: 4; }
  .epp-pair { grid-template-columns: 1fr; }
  .epp-mobilebar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--site-bar-mobile, 64px) + env(safe-area-inset-bottom));
    z-index: 990;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 252, 246, 0.96);
    border-top: 1px solid rgba(166, 133, 45, 0.35);
    backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px rgba(26, 20, 8, 0.08) !important;
  }
  .epp-gallery,
  .epp-card,
  .epp-thumb-scroller { min-width: 0; max-width: 100%; }
  .epp-mobilebar .epp-btn { flex: 1 1 auto; min-width: 0; }
  .epp-mobilebar .epp-call { flex: 0 0 76px; }
  body.epp-page {
    padding-bottom: calc(var(--site-bar-mobile, 64px) + 74px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .epp-name { font-size: 1.7rem; }
  .epp-week {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(108px, 42%);
    overflow-x: auto;
  }
}

#reviewStars { color: #8a6a22; font-size: 1.15rem; }

body.epp-page .epp-card,
body.epp-page .epp-card p,
body.epp-page .epp-card li,
body.epp-page .epp-card h2,
body.epp-page .epp-card h3,
body.epp-page .epp-contact-modal .modal-content {
  background: #ffffff;
  color: #1a1408;
  border-color: rgba(26, 20, 8, 0.1);
}
body.epp-page .epp-card p,
body.epp-page .epp-card li,
body.epp-page .epp-card h2,
body.epp-page .epp-card h3 { background: transparent; }
body.epp-page .epp-name,
body.epp-page .epp-section-title,
body.epp-page .epp-summary h2,
body.epp-page .modal-title { color: #1a1408; }
body.epp-page .epp-meta,
body.epp-page .epp-muted,
body.epp-page .epp-tagline,
body.epp-page .epp-agency,
body.epp-page .epp-form-note,
body.epp-page .epp-facts li { color: #4b5563; }
body.epp-page .epp-btn--ghost { color: #1a1408; border-color: rgba(138, 106, 34, 0.55); background: #fff; }
body.epp-page .epp-btn--tiny { color: #1a1408; background: #fff; border-color: rgba(26, 20, 8, 0.12); }
body.epp-page .epp-thumb { background: #f3efe6; border-color: rgba(26, 20, 8, 0.12); }
body.epp-page .epp-hero-frame,
body.epp-page .epp-gallery { background: #fff; }
body.epp-page .epp-location-link,
body.epp-page .epp-text-link { color: #6d5314; }
body.epp-page .epp-map-caption,
body.epp-page .epp-map-credit { color: #374151; }
body.epp-page .epp-map-credit .epp-text-link { text-decoration: underline !important; }
body.epp-page .epp-field span { color: #374151; }
#reviewStars .bi { cursor: pointer; }

.epp-btn:focus-visible,
.epp-day:focus-visible,
.epp-thumb:focus-visible,
.epp-linkish:focus-visible {
  outline: 2px solid #e0b15b !important;
  outline-offset: 2px;
}

/* Light profile surface. Dark-theme leftovers (#fff, pale lilac, gold-on-white)
   lose to these rules. Dark controls (selected day, lightbox, photo chrome) stay light. */
body.epp-page .epp-link-row,
body.epp-page .epp-rates td,
body.epp-page .epp-rates th,
body.epp-page .epp-bio,
body.epp-page .epp-review p,
body.epp-page .epp-fact,
body.epp-page .epp-facts li,
body.epp-page .epp-rating strong,
body.epp-page .epp-review header,
body.epp-page .epp-day,
body.epp-page .epp-day small,
body.epp-page .epp-posts .post-card,
body.epp-page .epp-form-note,
body.epp-page .epp-form-status {
  color: var(--blk-text, #1a1408);
}
body.epp-page .epp-rating,
body.epp-page .epp-rating span,
body.epp-page .epp-review header span,
body.epp-page .epp-day em,
body.epp-page .epp-linkish,
body.epp-page .epp-rates td:last-child,
body.epp-page .epp-rates th:last-child,
body.epp-page .epp-facts i {
  color: var(--blk-gold-ink, #6b4e16);
}
body.epp-page .epp-status { color: #0f6b3c; }
body.epp-page .epp-day {
  background: #f6f3ea;
  border-color: rgba(26, 20, 8, 0.12);
}
body.epp-page .epp-day.is-selected {
  background: #4c1d95;
  border-color: transparent;
  color: #ffffff;
}
body.epp-page .epp-day.is-selected small,
body.epp-page .epp-day.is-selected em { color: #ffffff; }
body.epp-page .epp-pill--outline {
  color: #4c1d95;
  border-color: #6d28d9;
}
body.epp-page .epp-posts .post-card {
  background: #f6f3ea;
}
body.epp-page .epp-locations-menu {
  background: #ffffff;
  border-color: rgba(26, 20, 8, 0.12);
}
body.epp-page .epp-locations-menu a { color: #1a1408; }
body.epp-page .epp-locations-menu a:hover { background: #f6f3ea; }
body.epp-page .epp-gate-cta button,
body.epp-page .epp-btn--tiny,
body.epp-page .epp-trust div,
body.epp-page .epp-followers,
body.epp-page .epp-agency,
body.epp-page .epp-warning,
body.epp-page .epp-empty {
  color: #1a1408;
  background-color: #ffffff;
}
body.epp-page .epp-trust i { color: #6b4e16; }
body.epp-page .epp-gate-cta button,
body.epp-page .epp-btn--tiny {
  border-color: rgba(107, 78, 22, 0.45);
}
