:root {
  color-scheme: dark;
}

/* =====================================================================
   Google AdSense slots
   Reserve a minimum height to prevent CLS while ads load. Slots are
   completely hidden when empty (e.g. ad-blocker, premium user, or the
   ADSENSE_CONFIG.enabled flag is false).
   ===================================================================== */
.ad-slot {
  display: block;
  width: 100%;
  min-height: 100px;
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ad-slot:empty,
.ad-slot:not([data-ad-filled]) .adsbygoogle[data-ad-status="unfilled"] {
  display: none;
}
.ad-slot--rail {
  min-height: 250px;
}
.ad-slot--inline {
  min-height: 120px;
  margin: 0 auto;
  max-width: 728px;
}

/* Mobile sticky banner — fixed bottom, only visible below the lg
   breakpoint. Respects iOS safe area. Auto-makes room above the
   Leaflet attribution control so the map's bottom-left badge isn't
   covered. */
.mobile-ad-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom)) 10px;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-ad-sticky[hidden] { display: none; }
.mobile-ad-sticky .ad-slot {
  flex: 1;
  min-height: 50px;
  margin: 0;
  background: transparent;
  border: 0;
}
.mobile-ad-sticky__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.mobile-ad-sticky__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
@media (min-width: 1024px) {
  /* Desktop: rely on the in-content + rail placements instead. */
  .mobile-ad-sticky { display: none !important; }
}

html {
  background: #000;
}

body {
  background-color: #000;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.font-mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.touch-active {
  -webkit-tap-highlight-color: transparent;
}
.touch-active:active {
  transform: scale(0.985);
}

/* Subtle radial glow behind the hero, matching the original's atmospheric feel */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(56, 189, 248, 0.07) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(40% 35% at 80% 10%, rgba(16, 185, 129, 0.05) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
  z-index: 0;
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: block;
}

/* Smooth pill-tab transitions */
.tab-primary .tab-indicator {
  opacity: 1;
}
.tab-primary[aria-selected="false"] .tab-indicator {
  opacity: 0;
}

/* Range pill tabs inside cards */
.range-tab[data-active="true"] {
  background-color: rgba(16, 185, 129, 0.20);
  color: rgb(110, 231, 183);
}

/* Focus ring polish */
button:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

/* =====================================================================
   Auth UI — modal + conditional visibility
   ===================================================================== */

/* Conditional rendering driven by html.auth-signed-in / .auth-signed-out.
   Any element can opt in: <button data-auth-show="signed-in">…</button> */
html:not(.auth-signed-in) [data-auth-show="signed-in"] { display: none !important; }
html:not(.auth-signed-out) [data-auth-show="signed-out"] { display: none !important; }

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: auth-modal-in 200ms ease-out;
}
.auth-modal.hidden { display: none; }

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.auth-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(9, 9, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 20px 60px -10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: auth-panel-in 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.auth-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.auth-modal__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.auth-modal__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 6px;
}

.auth-modal__lede {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 24px;
}

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

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 380px) {
  .auth-field-row { grid-template-columns: 1fr; }
}
.auth-field__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}
.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-field__link {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 150ms;
}
.auth-field__link:hover {
  color: rgb(110, 231, 183);
}
.auth-field input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 150ms, background 150ms, box-shadow 150ms;
}
.auth-field input::placeholder { color: rgba(255, 255, 255, 0.3); }
.auth-field input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}
.auth-field input:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-error {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: rgb(252, 165, 165);
  font-size: 12px;
  line-height: 1.4;
}
.auth-error.hidden { display: none; }

.auth-info {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: rgb(110, 231, 183);
  font-size: 12px;
  line-height: 1.4;
}
.auth-info.hidden { display: none; }

.auth-submit {
  position: relative;
  width: 100%;
  padding: 11px 16px;
  margin-top: 4px;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 150ms, transform 150ms;
}
.auth-submit:hover { opacity: 0.9; }
.auth-submit:active { transform: scale(0.985); }
.auth-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.auth-submit__spinner { display: none; }
.auth-submit[data-busy="1"] .auth-submit__label { visibility: hidden; }
.auth-submit[data-busy="1"] .auth-submit__spinner {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  animation: auth-spin 600ms linear infinite;
}

.auth-modal__switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.auth-modal__switch button {
  background: transparent;
  border: 0;
  color: rgb(110, 231, 183);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}
.auth-modal__switch button:hover { color: rgb(167, 243, 208); }

.auth-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  flex-shrink: 0;
}

@keyframes auth-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes auth-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-spin {
  to { transform: rotate(360deg); }
}


/* =====================================================================
   Premium UI — upgrade modal, badge, favorite buttons, blur overlay
   ===================================================================== */

/* Conditional visibility — mirror the auth pattern but keyed on
   html.is-premium / html:not(.is-premium). */
html.is-premium [data-premium-show="no"] { display: none !important; }
html:not(.is-premium) [data-premium-show="yes"] { display: none !important; }

/* Tiny amber star next to the avatar */
.premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.85), rgba(245, 158, 11, 0.9));
  color: #1f1300;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 10px rgba(251, 191, 36, 0.35);
  flex-shrink: 0;
}

/* Upgrade modal — reuses .auth-modal__* shell from auth.css */
.premium-panel {
  max-width: 440px;
}
.premium-icon {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.20), rgba(245, 158, 11, 0.10));
  border-color: rgba(251, 191, 36, 0.35);
  color: rgb(252, 211, 77);
}

.premium-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 16px;
}
.premium-price__amount {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.premium-price__sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.premium-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.premium-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.premium-features li svg {
  flex-shrink: 0;
  color: rgb(110, 231, 183);
}

.premium-submit {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1f1300;
}
.premium-submit:hover { opacity: 0.92; filter: brightness(1.04); }

/* Stripe Payment Element wrapper — keeps the form visually grouped with
   the rest of the upgrade modal. Stripe paints into an iframe inside
   #payment-element, so we only need outer-frame styling here. */
.premium-payment-element {
  margin-top: 16px;
  margin-bottom: 4px;
  min-height: 44px;
}
.premium-payment-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.60);
  font-size: 12px;
}
.premium-payment-loading__dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  border: 2px solid rgba(110, 231, 183, 0.30);
  border-top-color: #6ee7b7;
  animation: premium-spin 0.8s linear infinite;
}
@keyframes premium-spin { to { transform: rotate(360deg); } }
.premium-payment-trust {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* Lock glyph inline with the Pay button label — reinforces "secure"
   without adding a second row of text. */
.premium-submit__lock {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  opacity: 0.85;
}

/* Trust strip below the Pay CTA — single short line. */
.premium-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.50);
}

/* Modal can get tall once the Payment Element is mounted. Allow internal
   scroll on small viewports so the submit button is always reachable. */
.premium-panel {
  max-height: 90vh;
  overflow-y: auto;
}

/* Back link on the payment pane — sits in the top-left so the existing
   close button (top-right, absolute) doesn't collide with it. */
.premium-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 6px 10px 6px 8px;
  margin: -6px 0 12px -10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: color 150ms, background 150ms;
}
.premium-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.premium-payment-title {
  margin-top: 0;
}
.premium-payment-subtitle {
  margin-top: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
}

/* ---- Manage Subscription modal ------------------------------------- */
.manage-card {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* The featured "plan" card gets a faint gold tint so it reads as the
   anchor of the modal — Premium membership, status, and renewal. */
.manage-card--plan {
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(255, 255, 255, 0.02));
  border-color: rgba(251, 191, 36, 0.18);
}
.manage-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.manage-card__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  margin-bottom: 4px;
}
.manage-card__value {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.manage-card__sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
}
.manage-card__sub--prominent {
  margin-top: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}
/* Hairline divider used inside the plan card to separate the header
   row (badge + pill) from the renewal-date sub-line. */
.manage-card__divider {
  height: 1px;
  margin: 12px 0 10px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent
  );
}

/* Plan-row layout: badge + plan name & price on the left, status pill
   pushed to the right. Header line of the plan card. */
.manage-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.manage-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.manage-plan__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.10));
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.30);
  flex-shrink: 0;
}
.manage-plan__text { min-width: 0; }
.manage-plan__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}
.manage-plan__price {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Status pill — colored chip that conveys subscription state at a
   glance. Replaces the previous "STATUS" label + plain text. */
.manage-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
  white-space: nowrap;
}
.manage-status-pill.is-active {
  background: rgba(110, 231, 183, 0.10);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.24);
}
.manage-status-pill.is-cancelling {
  background: rgba(252, 211, 77, 0.10);
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.26);
}
.manage-status-pill.is-past-due {
  background: rgba(252, 165, 165, 0.10);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.26);
}

/* Status dot — now lives inside the pill. Pill's color drives the dot;
   we keep size/shape rules here and let the pill state set the fill. */
.manage-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.manage-status-pill.is-active .manage-status-dot { background: #6ee7b7; }
.manage-status-pill.is-cancelling .manage-status-dot { background: #fcd34d; }
.manage-status-pill.is-past-due .manage-status-dot { background: #fca5a5; }

/* Payment-method row: brand logo + masked digits with expiry sub. The
   logo keeps its own size; the text takes the remaining width. */
.manage-payment-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.manage-payment-info__text { min-width: 0; }
.manage-card-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 26px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.manage-card-brand svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ghost-pill Update button — replaces the previous underlined link so
   the affordance reads as a button without competing with the primary
   CTAs below. */
.manage-update-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 150ms, border-color 150ms, transform 100ms;
  flex-shrink: 0;
}
.manage-update-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}
.manage-update-btn:active { transform: scale(0.97); }
.manage-update-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Cancel-subscription button — outlined red, distinct from the gold
   "premium-submit" CTA so the destructive action reads as destructive. */
.manage-danger-btn {
  background: transparent !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.40) !important;
  margin-top: 20px;
}
.manage-danger-btn:hover {
  background: rgba(239, 68, 68, 0.10) !important;
  color: #fecaca !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
}


/* ---- Zone-rail favorite button & locked rows ----------------------- */

/* Wrap is the positioning context for the lock overlay AND for the
   favorite star, which sits as a sibling (not a child) of the chip
   button — nested buttons aren't valid HTML. */
.zone-chip-wrap {
  position: relative;
}
.zone-chip-wrap .zone-chip {
  width: 100%;
  /* Reserve space on the right so the rate text doesn't slide under
     the absolutely-positioned star. */
  padding-right: 30px;
}

/* Favorite star — absolutely positioned over the chip's right edge. */
.zone-chip__fav {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.30);
  cursor: pointer;
  transition: color 150ms, background 150ms, transform 100ms;
  z-index: 2;
}
.zone-chip__fav:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.10);
}
.zone-chip__fav:active { transform: translateY(-50%) scale(0.9); }
.zone-chip__fav--on {
  color: #fbbf24;
}
.zone-chip__fav--on:hover {
  color: #fcd34d;
}
.zone-chip--fav {
  border-color: rgba(251, 191, 36, 0.30);
}

/* Locked (premium-only) rows — show a placeholder chip (no real codes in
   the DOM) PLUS a heavy blur PLUS an amber-tinted overlay so nothing
   underneath is legible. The wrap stays clickable to trigger the upgrade
   modal. The placeholder is `aria-hidden`, the lock badge is the only
   thing announced to assistive tech. */
.zone-chip-wrap.zone-chip--locked .zone-chip {
  filter: blur(5px) saturate(0.6);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: 1;
  background: rgba(63, 63, 70, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.zone-chip-wrap.zone-chip--locked .zone-chip__code,
.zone-chip-wrap.zone-chip--locked .zone-chip__sub,
.zone-chip-wrap.zone-chip--locked .zone-chip__rate {
  color: rgba(228, 228, 231, 0.9);
}
.zone-chip-wrap.zone-chip--locked {
  cursor: pointer;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  /* In some flex-col layouts the wrap collapses to 0 even though its child
     chip renders at full height. Force the wrap to match the chip's box. */
  display: flex;
  min-height: 53px;
}
.zone-chip-wrap.zone-chip--locked > .zone-chip {
  flex: 1 1 auto;
}
/* Faint amber wash so the row reads as "premium-locked" not just blurry */
.zone-chip-wrap.zone-chip--locked::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(251, 191, 36, 0.12), transparent 75%);
  pointer-events: none;
  z-index: 1;
}
.zone-chip__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.8));
}
.zone-chip__lock svg {
  width: 14px;
  height: 14px;
}

/* Slim upgrade banner appended below the zone list */
.zones-upgrade-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.10), rgba(245, 158, 11, 0.06));
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  cursor: pointer;
  transition: background 150ms, border-color 150ms, transform 100ms;
  text-align: left;
  width: 100%;
}
.zones-upgrade-banner:hover {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.10));
  border-color: rgba(251, 191, 36, 0.36);
}
.zones-upgrade-banner:active { transform: scale(0.99); }
.zones-upgrade-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  flex-shrink: 0;
}
.zones-upgrade-banner__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.zones-upgrade-banner__title {
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.zones-upgrade-banner__sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(251, 191, 36, 0.85);
  font-weight: 600;
  margin-top: 1px;
}
.zones-upgrade-banner__arrow {
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}
