/* Minimal static utility bundle replacing Tailwind Play CDN at runtime. */
.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.08);
}

.shadow-md {
  box-shadow: 0 8px 18px -6px rgba(15, 23, 42, 0.22);
}

/* App motion primitives for pages that only load this bundle. */
:root {
  --eep-motion-fast: 180ms;
  --eep-motion-base: 280ms;
  --eep-motion-slow: 420ms;
  --eep-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.eep-app-motion-enabled {
  -webkit-tap-highlight-color: rgba(255, 94, 20, 0.14);
}

.eep-page-shell-enter {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.995);
}

.eep-page-shell-enter.is-entered {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity var(--eep-motion-base) var(--eep-ease-out), transform var(--eep-motion-base) var(--eep-ease-out);
}

body.eep-page-exit-active .eep-page-shell-enter.is-entered {
  opacity: 0.45;
  transform: translate3d(0, 12px, 0) scale(0.995);
}

.eep-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition: opacity var(--eep-motion-slow) var(--eep-ease-out), transform var(--eep-motion-slow) var(--eep-ease-out);
  transition-delay: var(--eep-reveal-delay, 0ms);
}

.eep-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.eep-app-surface {
  transition: box-shadow var(--eep-motion-fast) var(--eep-ease-out), border-color var(--eep-motion-fast) var(--eep-ease-out);
}

.eep-app-pressable {
  transition: transform 130ms ease, filter var(--eep-motion-fast) var(--eep-ease-out);
  transform-origin: center;
}

.eep-app-pressable:active {
  transform: scale(0.98);
}

.eep-swipe-active {
  will-change: transform;
}

.eep-top-nav-mobile-drawer.eep-swipe-active,
.eep-compare-modal.eep-swipe-active,
.eep-confirm-dialog.eep-swipe-active {
  transition: none !important;
}

.eep-swipe-threshold {
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.22);
}

a.is-nav-pending {
  opacity: 0.68;
  pointer-events: none;
}

.eep-page-transition-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 12090;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 180ms var(--eep-ease-out);
  isolation: isolate;
}

.eep-page-transition-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 50% -8%, rgba(255, 255, 255, 0.25), rgba(2, 6, 23, 0.44) 66%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.44), rgba(2, 6, 23, 0.62));
  backdrop-filter: blur(7px) saturate(1.03);
}

.eep-page-transition-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.eep-page-transition-center {
  position: relative;
  z-index: 2;
  min-width: min(86vw, 360px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 12% -10%, rgba(255, 255, 255, 0.2), rgba(15, 23, 42, 0.88) 62%),
    linear-gradient(135deg, rgba(11, 18, 33, 0.92), rgba(23, 33, 55, 0.9));
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.55);
  padding: 24px 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translate3d(0, 14px, 0) scale(0.965);
  opacity: 0;
  transition: transform 240ms var(--eep-ease-out), opacity 200ms var(--eep-ease-out);
}

.eep-page-transition-overlay.is-active .eep-page-transition-center {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.eep-page-transition-brand {
  font-size: clamp(1.08rem, 2.8vw, 1.3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #f8fafc;
  text-align: center;
}

.eep-page-transition-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.92);
  text-align: center;
}

.eep-page-transition-orb {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #ff5e14;
  border-right-color: rgba(255, 153, 94, 0.82);
  box-shadow: 0 0 0 6px rgba(255, 94, 20, 0.15);
  animation: eepPageTransitionSpin 760ms linear infinite;
}

.eep-page-transition-bar {
  position: absolute;
  bottom: clamp(18px, 5vh, 34px);
  left: 50%;
  height: 4px;
  width: min(44vw, 420px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 45, 0), rgba(255, 122, 45, 0.96), rgba(255, 94, 20, 1));
  box-shadow: 0 14px 28px rgba(255, 94, 20, 0.46);
  transform: translate3d(-50%, 0, 0);
  overflow: hidden;
  z-index: 3;
  opacity: 0.72;
}

.eep-page-transition-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate3d(-120%, 0, 0);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.eep-page-transition-overlay.is-active .eep-page-transition-bar::after {
  animation: eepPageTransitionBar 1.05s linear infinite;
}

@keyframes eepPageTransitionBar {
  0% {
    transform: translate3d(-120%, 0, 0);
  }
  100% {
    transform: translate3d(120%, 0, 0);
  }
}

@keyframes eepPageTransitionSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body.eep-app-search-open {
  overflow: hidden;
}

body.eep-app-search-open > :not(#eep-app-search-overlay):not(script):not(style):not(link) {
  filter: blur(8px) saturate(0.9);
  pointer-events: none;
  user-select: none;
}

.eep-app-search-overlay[hidden] {
  display: none !important;
}

.eep-app-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 11080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.eep-app-search-overlay.is-open {
  pointer-events: auto;
}

.eep-app-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.54);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--eep-motion-fast) var(--eep-ease-out);
}

.eep-app-search-dialog {
  position: relative;
  width: min(760px, calc(100vw - 28px));
  max-height: min(86vh, 860px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 80px rgba(2, 6, 23, 0.34);
  transform: translate3d(0, 24px, 0) scale(0.965);
  opacity: 0;
  transition: opacity var(--eep-motion-base) var(--eep-ease-out), transform var(--eep-motion-base) var(--eep-ease-out);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.eep-app-search-overlay.is-open .eep-app-search-backdrop {
  opacity: 1;
}

.eep-app-search-overlay.is-open .eep-app-search-dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.eep-app-search-head {
  padding: 18px 20px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.eep-app-search-head-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.eep-app-search-subtitle {
  margin: 5px 0 0;
  color: #475569;
  font-size: 0.9rem;
}

.eep-app-search-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #dce5f0;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.eep-app-search-form {
  padding: 0 20px;
  display: grid;
  gap: 10px;
}

.eep-app-search-input-wrap {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px;
}

.eep-app-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 10px 10px 12px;
}

.eep-app-search-submit {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5e14 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 11px 14px;
  min-width: 88px;
}

.eep-app-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.eep-app-search-location {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  font-size: 0.92rem;
  padding: 11px 12px;
  outline: 0;
}

.eep-app-search-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 12px;
}

.eep-app-search-ai input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #ff5e14;
}

.eep-app-search-status {
  margin: 10px 20px 0;
  font-size: 0.83rem;
  color: #64748b;
  min-height: 20px;
}

.eep-app-search-status.is-error {
  color: #dc2626;
}

.eep-app-search-status.is-success {
  color: #047857;
}

.eep-app-search-assistant {
  margin: 0 20px 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 94, 20, 0.25);
  background: rgba(255, 94, 20, 0.08);
  color: #9a3412;
  font-size: 0.83rem;
  font-weight: 700;
}

.eep-app-search-results {
  margin: 0 10px;
  padding: 2px 10px 10px;
  min-height: 96px;
  max-height: min(44vh, 480px);
  overflow: auto;
}

.eep-app-search-results-list {
  display: grid;
  gap: 10px;
}

.eep-app-search-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px;
  text-decoration: none;
}

.eep-app-search-result-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eep-app-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eep-app-search-result-thumb-fallback {
  color: #334155;
  font-size: 1.02rem;
  font-weight: 800;
}

.eep-app-search-result-content {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.eep-app-search-result-title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}

.eep-app-search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eep-app-search-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fff;
}

.eep-app-search-badge.is-fit {
  border-color: rgba(255, 94, 20, 0.34);
  color: #9a3412;
  background: rgba(255, 94, 20, 0.12);
}

.eep-app-search-result-summary {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.38;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eep-app-search-footer {
  padding: 10px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eep-app-search-open-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a !important;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eep-app-search-shortcut {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

@media (max-width: 760px) {
  .eep-app-search-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .eep-app-search-dialog {
    width: 100%;
    max-height: min(88vh, 760px);
    border-radius: 20px;
  }

  .eep-app-search-head {
    padding: 14px 14px 8px;
  }

  .eep-app-search-form {
    padding: 0 14px;
  }

  .eep-app-search-controls {
    grid-template-columns: 1fr;
  }

  .eep-app-search-status,
  .eep-app-search-assistant {
    margin-left: 14px;
    margin-right: 14px;
  }

  .eep-app-search-results {
    margin: 0 4px;
    padding: 2px 10px 8px;
    max-height: min(48vh, 380px);
  }

  .eep-app-search-result {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .eep-app-search-result-thumb {
    width: 52px;
    height: 52px;
  }

  .eep-app-search-footer {
    padding: 8px 14px 14px;
  }
}

/* Shared nav/hero styles for pages that do not load legacy frontend CSS. */
.eep-top-nav-shell {
  position: sticky;
  top: 0;
  z-index: 11020;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.92) 55%, rgba(45, 26, 22, 0.9) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.26);
  transition: transform var(--eep-motion-base) var(--eep-ease-out), box-shadow var(--eep-motion-base) var(--eep-ease-out), border-color var(--eep-motion-base) var(--eep-ease-out), background var(--eep-motion-base) var(--eep-ease-out);
}

.eep-top-nav-shell.is-scrolled {
  border-bottom-color: rgba(148, 163, 184, 0.44);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(18px);
}

.eep-top-nav-shell.is-scrolling-down {
  transform: translateY(-2px);
}

.eep-top-nav-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.25), rgba(255, 94, 20, 0.42), rgba(56, 189, 248, 0.25));
  pointer-events: none;
}

.admin-bar .eep-top-nav-shell {
  top: 32px;
}

.eep-top-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: padding var(--eep-motion-base) var(--eep-ease-out);
}

.eep-top-nav-shell.is-scrolled .eep-top-nav-inner {
  padding-top: 9px;
  padding-bottom: 9px;
}

.eep-top-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0 !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.eep-top-nav-brand:hover {
  color: #f8fafc !important;
  border-color: rgba(248, 250, 252, 0.42);
  background: rgba(30, 41, 59, 0.7);
}

.eep-top-nav-brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff5e14 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14), 0 8px 16px rgba(255, 94, 20, 0.28);
}

.eep-top-nav-brand-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eep-top-nav-desktop {
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eep-top-nav-dropdown {
  position: relative;
}

.eep-top-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.42);
  color: #f8fafc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eep-top-nav-dropdown-caret {
  font-size: 9px;
  line-height: 1;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.eep-top-nav-dropdown.is-open .eep-top-nav-dropdown-caret {
  transform: rotate(180deg);
}

.eep-top-nav-dropdown-toggle:hover,
.eep-top-nav-dropdown.is-open .eep-top-nav-dropdown-toggle {
  border-color: rgba(248, 250, 252, 0.48);
  background: rgba(30, 41, 59, 0.8);
}

.eep-top-nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  min-width: 240px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 52px rgba(2, 6, 23, 0.2);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.eep-top-nav-dropdown.is-open .eep-top-nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eep-top-nav-dropdown-menu a {
  display: block;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 11px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.eep-top-nav-dropdown-menu a:hover,
.eep-top-nav-dropdown-menu a.is-active {
  color: var(--eep-primary);
  background: #fff3ec;
  border-color: #ffd7c3;
}

.eep-top-nav-auth {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eep-top-nav-auth-link {
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.4);
  color: #f8fafc !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.eep-top-nav-auth-link:hover {
  color: #fff !important;
  border-color: rgba(248, 250, 252, 0.52);
  background: rgba(30, 41, 59, 0.8);
}

.eep-top-nav-auth-link.is-primary {
  border-color: #ff7a2e;
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5e14 100%);
  box-shadow: 0 12px 26px rgba(255, 94, 20, 0.34);
}

.eep-floating-auth-links {
  position: fixed;
  right: 16px;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  z-index: 11024;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-bar .eep-floating-auth-links {
  top: calc(env(safe-area-inset-top, 0px) + 44px);
}

.eep-floating-auth-link {
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 11px 15px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  transition: all 0.18s ease;
}

.eep-floating-auth-link:hover {
  border-color: #ffcfb5;
  color: var(--eep-primary) !important;
  transform: translateY(-1px);
}

.eep-floating-auth-link.eep-floating-auth-link--primary {
  border-color: #ff7a2e;
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5e14 100%);
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(255, 94, 20, 0.34);
}

.eep-floating-auth-link.eep-floating-auth-link--primary:hover {
  color: #ffffff !important;
  border-color: #ff9b64;
  background: linear-gradient(135deg, #ff8a44 0%, #f05a19 100%);
}

@media (max-width: 782px) {
  .admin-bar .eep-floating-auth-links {
    top: calc(env(safe-area-inset-top, 0px) + 58px);
  }
}

@media (max-width: 720px) {
  .eep-floating-auth-links {
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    gap: 8px;
  }

  .eep-floating-auth-link {
    font-size: 11px;
    padding: 10px 12px;
  }
}

.eep-top-nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(15, 23, 42, 0.42);
  color: #f8fafc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
}

.eep-top-nav-toggle-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.88;
}

.eep-top-nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11021;
  background: rgba(2, 6, 23, 0.62);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.eep-top-nav-mobile-backdrop.is-open {
  opacity: 1;
}

.eep-top-nav-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 370px);
  height: 100dvh;
  z-index: 11022;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-left: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: -24px 0 52px rgba(2, 6, 23, 0.24);
  transform: translateX(105%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}

.eep-top-nav-mobile-drawer.is-open {
  transform: translateX(0);
}

.eep-top-nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.eep-top-nav-mobile-head strong {
  font-size: 13px;
  color: #0f172a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eep-top-nav-mobile-head button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #fff;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1;
}

.eep-top-nav-mobile-group {
  padding: 14px;
  display: grid;
  gap: 8px;
  overflow: auto;
}

.eep-top-nav-mobile-group a {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.78);
  transition: all 0.18s ease;
}

.eep-top-nav-mobile-group a:hover,
.eep-top-nav-mobile-group a.is-active {
  color: var(--eep-primary);
  border-color: #ffcfb5;
  background: #fff3ec;
}

.eep-top-nav-mobile-auth {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.eep-mobile-app-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 11015;
  display: none;
  gap: 6px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.16);
}

.eep-mobile-app-nav a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 4px;
  transition: all 0.18s ease;
}

.eep-mobile-app-nav a.is-active {
  color: var(--eep-primary);
  background: #fff3ec;
  border-color: #ffd7c3;
}

.eep-page-hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 24px 52px rgba(2, 6, 23, 0.18);
}

.eep-page-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.eep-page-hero-card h1 {
  text-wrap: balance;
}

.eep-page-hero-minimal {
  background: linear-gradient(130deg, #0b1221 0%, #1f2a44 46%, #4a2f2a 100%);
  padding: clamp(1.8rem, 4vw, 2.9rem) clamp(1.1rem, 4vw, 3rem);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.22);
}

.eep-page-hero-minimal::before,
.eep-page-hero-minimal::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(54px);
}

.eep-page-hero-minimal::before {
  width: 280px;
  height: 280px;
  top: -110px;
  right: -80px;
  background: rgba(255, 94, 20, 0.25);
}

.eep-page-hero-minimal::after {
  width: 240px;
  height: 240px;
  left: -100px;
  bottom: -110px;
  background: rgba(56, 189, 248, 0.2);
}

.eep-page-hero-minimal > .eep-page-kicker {
  color: #f6b28e !important;
  letter-spacing: 0.16em;
}

.eep-page-hero-minimal > h1,
.eep-page-hero-minimal > h2 {
  color: #f8fafc !important;
}

.eep-page-hero-minimal > p {
  color: #d5dfed !important;
  max-width: 64ch;
}

@media (max-width: 980px) {
  .admin-bar .eep-top-nav-shell {
    top: 46px;
  }

  .eep-top-nav-inner {
    padding: 10px 12px;
  }

  .eep-top-nav-desktop,
  .eep-top-nav-auth {
    display: none;
  }

  .eep-top-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .eep-mobile-app-nav {
    display: flex;
  }

  body.eep-mobile-app-nav-active {
    padding-bottom: 88px;
  }
}

body.eep-top-nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  #eep-events-map {
    min-height: clamp(220px, 43vh, var(--eep-map-height-mobile, 340px)) !important;
    max-height: 58vh;
  }

  .eep-page-hero-card {
    border-radius: 1.25rem;
  }

  .eep-page-hero-minimal {
    padding: 1.1rem 0.95rem;
  }

  .eep-page-hero-minimal > p {
    font-size: 0.95rem !important;
    line-height: 1.45;
  }
}

@media (max-width: 640px) {
  #eep-events-map {
    min-height: clamp(206px, 40vh, var(--eep-map-height-mobile, 300px)) !important;
    max-height: 52vh;
  }

  .eep-top-nav-inner {
    padding: 9px 10px;
  }

  .eep-mobile-app-nav {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 6px;
    border-radius: 14px;
  }

  .eep-mobile-app-nav a {
    font-size: 10px;
    padding: 10px 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eep-page-shell-enter,
  .eep-page-shell-enter.is-entered,
  .eep-reveal,
  .eep-reveal.is-visible,
  .eep-app-surface,
  .eep-app-pressable,
  .eep-top-nav-shell,
  .eep-top-nav-inner,
  .eep-top-nav-mobile-drawer,
  .eep-app-search-overlay,
  .eep-app-search-backdrop,
  .eep-app-search-dialog,
  .eep-page-transition-overlay,
  .eep-page-transition-backdrop,
  .eep-page-transition-center,
  .eep-page-transition-orb,
  .eep-page-transition-bar {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
