:root{
  --bg:#0b0f14;
  --card:#0f1620;
  --muted:#9db0c7;
  --text:#eaf2ff;
  --accent:#6ee7ff;
  --stroke: rgba(255,255,255,0.10);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 22px;
  --radius2: 16px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(110,231,255,0.10), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(110,231,255,0.08), transparent 60%),
              var(--bg);
  color:var(--text);
}

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 22px;
}

.hero{
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.badge{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

h1{
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

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

.wayfinder{
  background: linear-gradient(180deg, #53e0d8 0%, #2fc9c3 55%, #22b9b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.heroGrid{
  display: grid;
  grid-template-columns: 168px 1fr;
  column-gap: 22px;
  row-gap: 14px;
  align-items: start;
}

.heroCompassCol{
  grid-column: 1;
  grid-row: 1 / span 2;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.heroCompassWrap{
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-bottom: 10px;
}

.heroCompassImg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}


/* Make the hero text column flexible */
.heroTextCol{ min-width: 0; display: contents; }

.hero h1{
  grid-column: 2;
  grid-row: 1;
}

.hero .subhead{
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 92ch;
  margin-left: 0;
  margin-right: 0;
  margin-top: 16px;
}

.hero .ctaRow{
  grid-column: 2;
  grid-row: 3;
}

.hero .trust{
  grid-column: 2;
  grid-row: 4;
}

@media (max-width: 720px){
  .heroGrid{
    grid-template-columns: 1fr;
    row-gap: 16px;
    column-gap: 0;
    justify-items: center;
    text-align: center;
  }

  .heroCompassCol{
    grid-column: 1;
    grid-row: 1;
  }

  .hero h1{
    grid-column: 1;
    grid-row: 2;
  }

  .hero .subhead{
    grid-column: 1;
    grid-row: 3;
    margin-left: auto;
    margin-right: auto;
    max-width: 70ch;
  }

  .hero .ctaRow{
    grid-column: 1;
    grid-row: 4;
    justify-content: center;
  }

  .hero .trust{
    grid-column: 1;
    grid-row: 5;
    justify-content: center;
  }
}



.subhead{
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(234,242,255,0.85);
  max-width: 70ch;
}

.ctaRow{
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.primary{
  cursor:pointer;
  border: 1px solid rgba(110,231,255,0.35);
  background: linear-gradient(180deg, rgba(110,231,255,0.20), rgba(110,231,255,0.08));
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 650;
}

.secondary{
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(157,176,199,0.4);
  padding-bottom: 2px;
}

.trust{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trustItem{
  font-size: 13px;
  color: rgba(234,242,255,0.80);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(0,0,0,0.16);
}

.footer{
  margin-top: 22px;
  text-align:center;
}

.fineprint{
  color: rgba(157,176,199,0.85);
  font-size: 12px;
}

.fineprint a{ color: rgba(157,176,199,0.95); }

/* Chat shell */
.chatShell{
  margin-top: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hidden{ display:none; }

.chatHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(0,0,0,0.18);
}

.chatTitle{ display:flex; gap: 12px; align-items:center; }

.logoDot{
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(110,231,255,0.35);
}

.chatName{ font-weight: 750; }
.chatStatus{ font-size: 12px; color: var(--muted); margin-top:2px; }

.chatHeaderBtns{ display:flex; gap: 8px; }

.ghost{
  cursor:pointer;
  border: 1px solid var(--stroke);
  background: transparent;
  color: rgba(234,242,255,0.85);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.chatLog{
  height: 420px;
  overflow:auto;
  padding: 14px;
}

.row{ display:flex; margin: 10px 0; }
.row.a{ justify-content:flex-start; }
.row.u{ justify-content:flex-end; }

.bubble{
  max-width: min(720px, 88%);
  white-space: pre-wrap;
  padding: 12px 14px;
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.20);
  color: rgba(234,242,255,0.92);
}

.row.u .bubble{
  background: rgba(110,231,255,0.10);
  border-color: rgba(110,231,255,0.20);
}

.typing{ opacity: 0.8; font-style: italic; }

.chatForm{
  display:flex;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--stroke);
  background: rgba(0,0,0,0.10);
}

.chatInput{
  flex:1;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}

.sendBtn{
  cursor:pointer;
  border: 1px solid rgba(110,231,255,0.35);
  background: linear-gradient(180deg, rgba(110,231,255,0.20), rgba(110,231,255,0.08));
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 650;
}

.chatFootnote{
  padding: 10px 14px 14px;
  color: rgba(157,176,199,0.90);
  font-size: 12px;
}

/* Stage */
.stage{ margin-top: 18px; }

.stageWindow{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}



/* Magic Window framing: subtle “enchanted” border + inner glow (helps black-on-black empty states) */
#magicWindow.stageWindow{
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(110,231,255,0.16);
  box-shadow: 0 0 0 1px rgba(255,215,106,0.06), 0 18px 60px rgba(0,0,0,0.45);
}

#magicWindow.stageWindow::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: conic-gradient(from 180deg,
    rgba(110,231,255,0.55),
    rgba(255,215,106,0.35),
    rgba(110,231,255,0.55)
  );
  opacity: 0.32;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#magicWindow.stageWindow::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 46px rgba(110,231,255,0.06),
    inset 0 0 70px rgba(255,215,106,0.04);
  opacity: 0.95;
}

/* Magic body background so the empty/default state doesn’t disappear into the page */
#magicBody{
  background:
    radial-gradient(1000px 520px at 18% 12%, rgba(110,231,255,0.10), transparent 60%),
    radial-gradient(920px 520px at 85% 10%, rgba(255,215,106,0.07), transparent 55%),
    rgba(10,14,20,0.55);
}
/* Slightly taller stage on desktop */
.stageBody{
  max-height: 82vh;
  overflow: auto;
  padding: 14px;
}

/* Floating panel */
.chatFloat{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 380px;
  max-width: calc(100vw - 36px);
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* Minimized state */
.chatFloat.minimized{
  height: 54px !important;
  max-height: 54px !important;
  overflow: hidden !important;
}
.chatFloat.minimized #chatLog,
.chatFloat.minimized #chatForm,
.chatFloat.minimized .chatFootnote{
  display: none !important;
}
.chatFloat.minimized .chatHeader{
  border-bottom: none;
}

@media (max-width: 720px){
  .chatFloat{
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }
}

/* LIGHT (Tidio-like) Compass panel */
.chatFloat{
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  color: rgba(0,0,0,0.88) !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 50px rgba(0,0,0,0.22) !important;
  backdrop-filter: none !important;
}

.chatFloat .chatHeader{
  background: rgba(255,255,255,0.98) !important;
  border-bottom: 1px solid rgba(0,0,0,0.10) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  padding: 12px 12px !important;
}

.chatFloat .chatTitle{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.chatFloat .chatName{
  color: rgba(0,0,0,0.92) !important;
  font-weight: 800 !important;
}

.chatFloat .chatStatus{
  color: rgba(0,0,0,0.55) !important;
  font-size: 12.5px !important;
}

.chatFloat .chatHeaderBtns{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  flex-wrap: wrap !important;
}

.chatFloat .chatHeaderBtns .ghost{
  cursor: pointer !important;
  border: 1px solid rgba(110,231,255,0.35) !important;
  background: linear-gradient(180deg, rgba(110,231,255,0.20), rgba(110,231,255,0.08)) !important;
  color: rgba(0,0,0,0.72) !important;
  padding: 7px 10px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
.chatFloat .chatHeaderBtns .ghost:disabled{ opacity: .55 !important; cursor: not-allowed !important; }

.chatFloat .bubble{
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  background: rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  color: rgba(0,0,0,0.88) !important;
}
.chatFloat .row.u .bubble{
  background: rgba(70, 200, 255, 0.16) !important;
  border-color: rgba(70, 200, 255, 0.22) !important;
}
.chatFloat .chatForm{
  background: rgba(255,255,255,0.98) !important;
  border-top: 1px solid rgba(0,0,0,0.10) !important;
}
.chatFloat .chatInput{
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  color: rgba(0,0,0,0.88) !important;
  font-size: 14.5px !important;
}
.chatFloat .sendBtn{
  background: rgba(70, 200, 255, 0.20) !important;
  border: 1px solid rgba(70, 200, 255, 0.28) !important;
  color: rgba(0,0,0,0.75) !important;
}
.chatFloat .chatFootnote{ color: rgba(0,0,0,0.55) !important; }

/* Make internals flex so chat doesn’t shove weirdly */
.chatFloat{
  height: 560px !important;
  max-height: calc(100vh - 120px) !important;
}
.chatShell.chatFloat{
  display: flex !important;
  flex-direction: column !important;
}
.chatShell.chatFloat .chatLog{
  height: auto !important;
  flex: 1 1 auto !important;
  overflow: auto !important;
}

/* ======================================================
   YouTube Magic Window (unique classes, no collisions)
   ====================================================== */

.ytWrap{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.30);
  padding: 12px;
  display: grid;
  gap: 12px;
}

/* Loading/Error stage */
.ytStage{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.30);
  min-height: 420px;
}
.ytOverlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 18px;
  text-align: center;
  background: radial-gradient(600px 280px at 50% 30%, rgba(110,231,255,0.10), transparent 70%);
}
.ytTitle{
  font-weight: 900;
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 6px;
}
.ytText{
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

/* Results bar */
.ytResultsBar{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.ytResultsTitle{
  font-weight: 900;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.ytQuery{ color: rgba(255,255,255,0.98); }
.ytResultsCount{
  font-size: 12.5px;
  color: rgba(255,255,255,0.70);
}

/* Responsive player */
.ytPlayer{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.45);
}
.ytIframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  border: 0;
}

/* Meta directly under player */
.ytMeta{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 0;
}
.ytMetaTitle{
  font-weight: 900;
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  line-height: 1.25;
}
.ytMetaChannel{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}
.ytOpen{
  display:inline-block;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.35);
  padding-bottom: 2px;
  white-space: nowrap;
}
.ytOpen:hover{
  color: rgba(255,255,255,0.98);
  border-bottom-color: rgba(255,255,255,0.55);
}

/* Thumbnails row */
.ytThumbRow{
  display:flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 2px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ytThumbBtn{
  flex: 0 0 auto;
  width: 168px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  padding: 0;
}
.ytThumbBtn:hover{ border-color: rgba(110,231,255,0.35); }
.ytThumbBtn.isActive{
  outline: 2px solid rgba(110,231,255,0.55);
  outline-offset: 2px;
  border-color: rgba(110,231,255,0.35);
}
.ytThumbImg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.ytHint{
  font-size: 12.5px;
  color: rgba(255,255,255,0.70);
  padding: 0 2px 4px;
}

@media (max-width: 720px){
  .ytThumbBtn{ width: 140px; height: 82px; }
  .chatFloat{
    height: 520px !important;
    max-height: calc(100vh - 90px) !important;
  }
}
/* ======================================================
   Layout polish: Responsive desktop sidebar + mobile-safe
   (replaces earlier z-index / sidebar experiments)
   ====================================================== */

:root{
  --chatW: 380px;
  --gap: 24px;
}

/* Smooth minimize/restore */
#chatShell{ transition: all 0.25s ease; }

/* Keep Magic Window under Compass (iframes can be "greedy") */
#magicWindow,
#magicWindow iframe{
  position: relative;
  z-index: 1;
}

/* Give the hero copy more horizontal room so the Magic Window sits higher */
@media (min-width: 900px){
  .subhead{ max-width: none; }
}

/* =========================
   DESKTOP: dock Compass left, shift page content right
   ========================= */
@media (min-width: 1100px){

  /* Shift main content so Compass never overlaps */
  body{
    padding-left: calc(var(--chatW) + (var(--gap) * 2));
  }

  /* Left sidebar Compass */
  #chatShell.chatFloat{
    position: fixed;
    top: var(--gap);
    left: var(--gap);
    bottom: var(--gap);
    width: var(--chatW);
    height: auto !important;
    max-height: none !important;
    z-index: 2147483647;
  }

  /* Ensure chat internals fill the sidebar height nicely */
  #chatShell.chatFloat{
    display: flex !important;
    flex-direction: column !important;
  }
  #chatShell.chatFloat .chatLog{
    flex: 1 1 auto !important;
    height: auto !important;
    overflow: auto !important;
  }

  /* When minimized on desktop, keep it pinned and clickable */
  #chatShell.chatFloat.minimized{
    top: auto;
    bottom: var(--gap);
    height: 54px !important;
    max-height: 54px !important;
    overflow: hidden !important;
  }
}

/* =========================
   TABLET + MOBILE: restore original floating behavior
   ========================= */
@media (max-width: 1099px){

  body{ padding-left: 0; }

  #chatShell.chatFloat{
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 380px;
    max-width: calc(100vw - 36px);
    height: 560px !important;
    max-height: calc(100vh - 120px) !important;
    z-index: 2147483647;
  }
}

@media (max-width: 720px){
  #chatShell.chatFloat{
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
    height: 520px !important;
    max-height: calc(100vh - 90px) !important;
  }
}

/* ======================================================
   Magic Window Hero Default (idle state)
   ====================================================== */

.heroDefault{
  position: relative;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.30);
}

.heroVideo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
}

.heroFallback{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  background: radial-gradient(600px 280px at 50% 30%, rgba(110,231,255,0.12), transparent 70%);
  transition: opacity 250ms ease;
  pointer-events: none;
  opacity: 1;
}

.heroFallback img{
  width: min(60%, 320px);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.45));
}

.heroCaption{
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
}


/* ======================================================
   Magic Window: Disney embed stage
   ====================================================== */

.mwEmbedStage{
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
}

.mwEmbedFrame{
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}


/* ======================================================
   Magic Window: Expand (true pop-out overlay) + Open
   ====================================================== */

.mwEmbedStage{
  position: relative;
}

/* Top bar (holds Expand + Open) */
.mwTopBar{
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 50;
}

/* Expand button (re-uses existing styling) */
.mwFsBtn{
  position: static;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);
}
.mwFsBtn:hover{ background: rgba(0,0,0,0.5); }
.mwFsBtn:active{ transform: translateY(1px); }

.mwOpenBtn{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);
}
.mwOpenBtn:hover{ background: rgba(0,0,0,0.5); }
.mwOpenBtn:active{ transform: translateY(1px); }

/* True overlay pop-out (covers the entire viewport) */
#magicWindow.mwOverlay{
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 2147483647 !important;
  border-radius: 0 !important;
  background: rgba(0,0,0,0.92) !important;
}

/* Ensure the stage body uses the full height in overlay */
#magicWindow.mwOverlay .stageBody{
  max-height: 100vh !important;
  height: 100vh !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#magicWindow.mwOverlay .mwEmbedStage,
#magicWindow.mwOverlay .mwEmbedFrame{
  min-height: 100vh !important;
  height: 100vh !important;
  border-radius: 0 !important;
  border: 0 !important;
}

/* Keep buttons reachable on tiny screens */
@media (max-width: 480px){
  .mwTopBar{
    top: 8px;
    right: 8px;
    gap: 6px;
  }
  .mwFsBtn, .mwOpenBtn{
    padding: 8px 9px;
    font-size: 12px;
  }
}


/* ======================================================
   YouTube carousel nav (prev/next)
   ====================================================== */
.ytPlayer{ position: relative; }

.ytNav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.95);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);
}
.ytNav:hover{ background: rgba(0,0,0,0.55); }
.ytNav:active{ transform: translateY(-50%) scale(0.98); }

.ytNavPrev{ left: 10px; }
.ytNavNext{ right: 10px; }

@media (max-width: 720px){
  .ytNav{ width: 38px; height: 38px; font-size: 20px; }
  .ytNavPrev{ left: 8px; }
  .ytNavNext{ right: 8px; }
}


/* ======================================================
   Compass Chat: Expand / Retract (focus mode)
   ====================================================== */

.chatOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 2147483000;
}

.chatOverlay.on{
  opacity: 1;
  pointer-events: auto;
}

/* Focus mode */
#chatShell.chatExpanded{
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;

  width: min(980px, calc(100vw - 48px)) !important;
  height: calc(100vh - 48px) !important;
  max-height: calc(100vh - 48px) !important;

  z-index: 2147483647 !important;
  border-radius: 18px !important;
}

/* If user expands while minimized, ensure internals show */
#chatShell.chatExpanded.minimized{
  height: calc(100vh - 48px) !important;
  max-height: calc(100vh - 48px) !important;
}
#chatShell.chatExpanded.minimized #chatLog,
#chatShell.chatExpanded.minimized #chatForm{
  display: flex !important;
}
#chatShell.chatExpanded.minimized #chatLog{
  display: block !important;
}
/* ===== Quick Reply Chips — FINAL OVERRIDE ===== */

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* Strong specificity override */
.row.a .bubble .suggestion-chips .chip {
  background: #e6eef5 !important;
  border: 1px solid #c9d7e4 !important;
  color: #1f2d3d !important;   /* Force dark text */
  opacity: 1 !important;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all .15s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.row.a .bubble .suggestion-chips .chip:hover {
  background: #d8e7f5 !important;
  border-color: #9ec3e6 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.row.a .bubble .suggestion-chips .chip:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
/* ===== Shared Header (self-contained) ===== */
.siteHeader{
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  z-index: 5000;
}

.siteHeader .wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.siteHeader .header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.siteHeader a{
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}

.siteHeader a:visited{
  color: rgba(255,255,255,0.72); /* kill purple visited links */
}

.siteHeader a:hover{
  color: #ffffff;
}

.siteHeader .brand{
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.siteHeader nav a{
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-block;
}

.siteHeader nav a:hover{
  border-color: rgba(255,255,255,0.12);
}

.siteHeader .header-phone{
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.siteHeader .header-phone a{
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-block;
}

.siteHeader .header-phone a:hover{
  border-color: rgba(255,255,255,0.12);
}