/* ============================================================
   My Greek Odyssey — screen-specific styles
   ============================================================ */

/* ============ SPLASH / WELCOME ============ */
.scr-splash {
  background: #0a1f33;
  align-items: center;
  justify-content: center;
}
.splash-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: splash-drift 14s ease-in-out infinite alternate;
}
@keyframes splash-drift {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.12) translateY(-10px); }
}
/* cinematic film grade: warm key light, deep vignette, letterboxed bands */
.splash-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(226, 180, 110, 0.16) 0%, transparent 42%),
    radial-gradient(130% 100% at 50% 40%, transparent 26%, rgba(3, 8, 15, 0.82) 100%),
    linear-gradient(180deg, rgba(2, 7, 13, 0.88) 0%, rgba(4, 12, 22, 0.35) 20%, rgba(4, 12, 22, 0.3) 62%, rgba(2, 7, 13, 0.92) 100%);
}
/* slow drifting shaft of light */
.splash-beam {
  position: absolute;
  top: -30%;
  left: -40%;
  width: 90%;
  height: 160%;
  background: linear-gradient(100deg, transparent 42%, rgba(240, 220, 180, 0.07) 50%, transparent 58%);
  transform: rotate(14deg);
  animation: beam-drift 13s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes beam-drift {
  from { transform: rotate(14deg) translateX(0); }
  to { transform: rotate(14deg) translateX(180px); }
}
/* hairline gold frame with corner accents — the invitation card device */
.splash-frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(200, 169, 106, 0.34);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.975);
  animation: frame-in 1.4s var(--ease-out) 0.15s forwards;
}
.splash-frame::before,
.splash-frame::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(200, 169, 106, 0.85);
}
.splash-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.splash-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
@keyframes frame-in { to { opacity: 1; transform: scale(1); } }
/* spaced-caps eyebrow between hairlines */
.splash-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
  opacity: 0;
  animation: splash-in 1s var(--ease-out) 0.4s forwards;
}
.se-rule { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 169, 106, 0.8)); }
.se-rule:last-child { transform: scaleX(-1); }
.se-text {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: rgba(232, 205, 154, 0.95);
  text-shadow: 0 1px 8px rgba(3, 8, 15, 0.8);
}
/* drifting sea-spray particles — transform/opacity only, GPU friendly */
.splash-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.splash-particles i {
  position: absolute;
  bottom: -14px;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(232, 205, 154, 0.8);
  box-shadow: 0 0 6px rgba(232, 205, 154, 0.45);
  filter: blur(0.4px);
  opacity: 0;
  animation: particle-rise 12s linear infinite;
  will-change: transform, opacity;
}
.splash-particles i:nth-child(1)  { left: 8%;  animation-duration: 13s; animation-delay: -2s;  transform-origin: center; }
.splash-particles i:nth-child(2)  { left: 18%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: -7s; }
.splash-particles i:nth-child(3)  { left: 27%; animation-duration: 11s; animation-delay: -4s; }
.splash-particles i:nth-child(4)  { left: 36%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: -10s; }
.splash-particles i:nth-child(5)  { left: 46%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: -1s; }
.splash-particles i:nth-child(6)  { left: 55%; animation-duration: 12s; animation-delay: -6s; }
.splash-particles i:nth-child(7)  { left: 63%; width: 6px; height: 6px; animation-duration: 14s; animation-delay: -9s; }
.splash-particles i:nth-child(8)  { left: 72%; width: 3px; height: 3px; animation-duration: 17s; animation-delay: -3s; }
.splash-particles i:nth-child(9)  { left: 80%; animation-duration: 12s; animation-delay: -11s; }
.splash-particles i:nth-child(10) { left: 88%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: -5s; }
.splash-particles i:nth-child(11) { left: 41%; width: 2.5px; height: 2.5px; animation-duration: 19s; animation-delay: -13s; }
.splash-particles i:nth-child(12) { left: 94%; width: 2.5px; height: 2.5px; animation-duration: 16s; animation-delay: -8s; }
@keyframes particle-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 0.5; }
  50% { transform: translateY(-430px) translateX(14px); opacity: 0.35; }
  100% { transform: translateY(-880px) translateX(-10px); opacity: 0; }
}

.splash-inner { position: relative; text-align: center; padding: 0 40px; }
.splash-logo-wrap {
  position: relative;
  width: 282px;
  margin: 0 auto;
  /* animation: logo-arrive 1.5s cubic-bezier(0.19, 1.1, 0.32, 1) 0.45s both; */
  will-change: transform, opacity;
}
.logo-ghost {
  animation: ghost-in 0.7s ease 0.15s both;
}
@keyframes ghost-in { from { opacity: 0; } to { opacity: 1; } }
.splash-logo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  /* animation: logo-float 6.5s ease-in-out 2.4s infinite; */
  filter:
    drop-shadow(0 1px 3px rgba(3, 10, 18, 0.85))
    drop-shadow(0 6px 22px rgba(3, 10, 18, 0.65));
}
/* light sweep clipped to the logo glyphs via mask */
.splash-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.85) 50%, transparent 60%);
  -webkit-mask: url('../mgo-white-logo.svg') center / contain no-repeat;
  mask: url('../mgo-white-logo.svg') center / contain no-repeat;
  transform: translateX(-110%);
  animation: logo-sweep 5.2s ease-in-out 2.3s infinite;
  pointer-events: none;
}
@keyframes logo-arrive {
  0% { opacity: 0; transform: scale(1.12) translateY(10px); }
  70% { transform: scale(0.988) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes logo-sweep {
  0% { transform: translateX(-110%); }
  22% { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes glow-breathe {
  from { opacity: 0.85; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.04); }
}

.splash-tag {
  margin-top: 30px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(3, 8, 15, 0.85);
  opacity: 0;
  animation: track-in 1.3s var(--ease-out) 2.4s forwards;
}
@keyframes track-in {
  from { opacity: 0; letter-spacing: 0.52em; filter: blur(3px); }
  to { opacity: 1; letter-spacing: 0.24em; filter: blur(0); }
}
.splash-bottom {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.splash-hint {
  color: rgba(232, 205, 154, 0.8);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(3, 8, 15, 0.8);
  opacity: 0;
  animation: splash-in 0.9s var(--ease-out) 2.85s forwards;
}
/* quiet indeterminate progress hairline — "your journey is being prepared" */
.splash-progress {
  width: 118px;
  height: 1.5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  opacity: 0;
  animation: splash-in 0.9s var(--ease-out) 3.05s forwards;
}
.splash-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #d8b77e, transparent);
  animation: progress-slide 1.6s ease-in-out 3.05s infinite;
}
@keyframes progress-slide {
  from { transform: translateX(-110%); }
  to { transform: translateX(310%); }
}
@keyframes splash-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .splash-video { animation: none; transform: none; }
  .splash-particles, .splash-beam { display: none; }
  .splash-logo-wrap { animation: none; opacity: 1; }
  .splash-logo-wrap::before { animation: none; opacity: 0.9; }
  .splash-logo { animation: none; }
  .splash-sweep { display: none; }
  .logo-ghost { animation: none; opacity: 1; }
  .splash-frame { animation: none; opacity: 1; transform: none; }
  .splash-eyebrow, .splash-tag, .splash-hint, .splash-progress { animation-delay: 0s; }
  .splash-progress i { animation: none; }
}

/* ============ STORIES (onboarding) ============ */
.scr-stories { background: #06090d; }
#storyVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.24s ease;
}
#storyVideo.swapping { opacity: 0; }
.story-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 22, 0.62) 0%, transparent 26%),
    linear-gradient(0deg, rgba(4, 11, 19, 0.82) 0%, rgba(5, 14, 24, 0.35) 34%, transparent 55%);
  pointer-events: none;
}
.story-skip {
  position: absolute;
  top: 72px;
  right: 16px;
  z-index: 3;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.story-skip:hover { background: rgba(255, 255, 255, 0.28); }
.story-skip:active { transform: scale(0.92); }
.story-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 86px;
  z-index: 2;
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.3s var(--ease-spring);
}
.story-copy.swapping { opacity: 0; transform: translateY(10px); }
.story-byline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--r-pill);
  background: rgba(10, 20, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 14px;
}
.story-byline img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255, 255, 255, 0.7); }
.story-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.22;
  min-height: 2.44em;
  text-shadow: 0 2px 18px rgba(3, 10, 18, 0.6);
}
.story-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.88);
  min-height: 4.86em;
  text-shadow: 0 1px 12px rgba(3, 10, 18, 0.65);
}
.story-caret {
  display: inline-block;
  width: 2.5px;
  height: 0.95em;
  margin-left: 3px;
  background: var(--gold);
  vertical-align: -0.12em;
  border-radius: 2px;
  animation: caret-blink 0.9s steps(1) infinite;
}
.story-caret[hidden] { display: none; }
.story-caret.done { animation: caret-fade 0.5s ease forwards; }
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes caret-fade { to { opacity: 0; } }
.story-hint {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

/* ============ STORY CHROME (bars, hold indicator) ============ */
.story-bars {
  position: absolute;
  top: 56px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.story-bars span {
  flex: 1;
  height: 3.5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 1px 4px rgba(4, 12, 20, 0.35);
  overflow: hidden;
}
.story-bars i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: inherit;
}
.video-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(8, 14, 20, 0.55) center / 26px no-repeat;
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.video-flash.pop { animation: vflash 0.6s var(--ease-out); }
.video-flash.play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='white'/%3E%3C/svg%3E"); }
.video-flash.pause { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5h3.6v14H7zM13.4 5H17v14h-3.6z' fill='white'/%3E%3C/svg%3E"); }
@keyframes vflash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}
/* ============ AUTH ============ */
/* ============ AUTH — cinematic (matches Welcome / Story / Generating) ============ */
.scr-auth { background: #081421; }
.auth-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 33, 0.74) 0%, rgba(8, 20, 33, 0.4) 30%, rgba(8, 20, 33, 0.72) 64%, rgba(5, 13, 23, 0.95) 100%);
}
.auth-content {
  position: relative;
  z-index: 3;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 58px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  scrollbar-width: none;
}
.auth-content::-webkit-scrollbar { display: none; }
.auth-brand { text-align: center; flex: 0 0 auto; }
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.auth-eyebrow i { display: block; width: 24px; height: 1px; background: var(--gold); opacity: 0.7; }
.auth-logo-host { margin: 20px auto 0; }
.auth-logo-host .splash-logo-wrap { width: 200px; margin: 0 auto; transition: width 0.55s var(--ease-ios); }
.scr-auth.signup .auth-logo-host .splash-logo-wrap { width: 158px; }
/* the sweep-shine can park off to the side of the narrower auth wrap — the
   water-fill reveal is the shared signature animation; drop the sweep here */
.auth-logo-host .splash-sweep { display: none; }

.auth-glass {
  flex: 0 0 auto;
  /* SOLID panel (no photo bleed-through) so every label/input/button sits on a
     high-contrast surface and text stays perfectly crisp — no backdrop blur. */
  /* background: linear-gradient(180deg, #101e30 0%, #0a1420 100%); */
  border: 0;
  border-radius: 26px;
  padding: 24px 20px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05) inset, 0 26px 64px -22px rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(30px);
}
.auth-head { text-align: center; margin-bottom: 18px; transition: margin-bottom 0.55s var(--ease-ios); }
.scr-auth.signup .auth-head { margin-bottom: 14px; }
.auth-title { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 28px; color: #fff; }
.auth-sub { color: rgba(255, 255, 255, 0.78); font-size: 13.5px; line-height: 18px; margin-top: 5px; }

.auth-glass .field { margin-bottom: 12px; }
.auth-glass .field-label { color: rgba(255, 255, 255, 0.9); font-size: 12.5px; line-height: 18px; margin-bottom: 6px; }
.auth-glass .field-box {
  height: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 0 14px;
  gap: 10px;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease;
}
.auth-glass .field-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.18);
  background: rgba(255, 255, 255, 0.1);
}
.auth-glass .field-ico { color: var(--gold); width: 19px; height: 19px; flex: 0 0 auto; opacity: 0.92; }
.auth-glass .field-box input { color: #fff; font-size: 15px; }
.auth-glass .field-box input::placeholder { color: rgba(255, 255, 255, 0.52); }
.auth-glass .field-eye { color: rgba(255, 255, 255, 0.6); display: grid; place-items: center; }
.auth-glass .field-eye svg { width: 20px; height: 20px; }

/* smooth Login ↔ Sign Up collapse (grid-rows technique, rescoped to .auth-glass) */
/* Login ↔ Sign Up collapse — all properties share ONE duration + iOS easing so
   the height, spacing and fade move together (no snappy pop). Opacity is nudged
   later so the height leads and content fades in only once there's room. */
.auth-glass .auth-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-bottom: 0;
  transition: grid-template-rows 0.55s var(--ease-ios), opacity 0.4s var(--ease-out) 0.08s, margin-bottom 0.55s var(--ease-ios);
}
.scr-auth.signup .auth-glass .auth-collapse { grid-template-rows: 1fr; opacity: 1; margin-bottom: 12px; }
.auth-glass .auth-collapse-rev {
  display: grid;
  grid-template-rows: 1fr;
  justify-items: flex-end;
  opacity: 1;
  transition: grid-template-rows 0.55s var(--ease-ios), opacity 0.4s var(--ease-out) 0.08s, margin 0.55s var(--ease-ios);
}
.scr-auth.signup .auth-glass .auth-collapse-rev { grid-template-rows: 0fr; opacity: 0; margin: 0; }
.auth-ci { overflow: hidden; min-height: 0; }

.auth-row { display: flex; justify-content: flex-end; margin: -2px 0 0; }
.auth-row .link { color: var(--gold); font-size: 12.5px; font-weight: 600; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 16px 0 14px;
}
.auth-or::before,
.auth-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.16); }
.auth-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 16px; }
.social-btn {
  width: 54px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);

}
.social-btn:hover { box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); }
.social-btn:active { transform: scale(0.92); }
.auth-form .btn-primary {
  height: 54px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  background: linear-gradient(135deg, #e7cb8e 0%, #c8a96a 100%);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
.auth-form .btn-primary:hover { filter: brightness(1.04); }
.auth-switch { text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); margin-top: 16px; }
.auth-switch .link-bold { color: var(--gold); font-weight: 800; }
.auth-textswap { animation: auth-textswap 0.55s var(--ease-out); }
@keyframes auth-textswap { from { opacity: 0.2; transform: translateY(3px); } to { opacity: 1; transform: none; } }
/* entrance micro-interaction */
.scr-auth.active .auth-brand { animation: auth-rise 0.6s var(--ease-out) both; }
.scr-auth.active .auth-glass { animation: auth-rise 0.7s var(--ease-out) 0.08s both; }
@keyframes auth-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .auth-glass .auth-collapse, .auth-glass .auth-collapse-rev { transition: none; }
  .auth-textswap, .scr-auth.active .auth-brand, .scr-auth.active .auth-glass { animation: none; }
}

/* input shake on invalid */
.field-box.error { border-color: var(--danger); animation: shake 0.4s ease; }
@keyframes shake {
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* ============ QUIZ — cinematic (matches Welcome / Story / Generating) ============ */
.scr-quiz {
  background:
    radial-gradient(120% 60% at 50% -12%, rgba(200, 169, 106, 0.16), transparent 58%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 46%, #050d17 100%);
}
.quiz-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 16px 12px;
}
.scr-quiz .quiz-top .icon-btn {
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.quiz-count { font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.quiz-progress {
  position: relative;
  z-index: 2;
  height: 6px;
  margin: 0 16px 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c8a96a, #e7cb8e);
  box-shadow: 0 0 12px rgba(200, 169, 106, 0.55);
  transition: width var(--t-slow) var(--ease-spring);
}
.quiz-body { position: relative; z-index: 2; flex: 1; overflow-y: auto; padding: 16px 16px 24px; scrollbar-width: none; }
/* staggered rise-in for freshly rendered steps */
.quiz-body.q-in .quiz-opt {
  opacity: 0;
  animation: q-rise 0.42s var(--ease-spring) forwards;
  animation-delay: var(--d, 0ms);
}
.quiz-body.q-in .quiz-map { animation: q-rise 0.5s var(--ease-spring) both; }
.quiz-body.q-in .budget-block { animation: q-rise 0.5s var(--ease-spring) both; }
@keyframes q-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-body.q-in .quiz-opt { opacity: 1; animation: none; }
}
.quiz-body::-webkit-scrollbar { display: none; }
.quiz-q { font-family: var(--f-head); font-weight: 800; font-size: 22px; line-height: 1.3; margin-bottom: 16px; color: #fff; }
.quiz-hint { color: rgba(255, 255, 255, 0.68); font-size: 14px; margin: -8px 0 16px; }
.quiz-group-label { font-family: var(--f-head); font-weight: 800; font-size: 15.5px; margin: 24px 0 12px; color: rgba(255, 255, 255, 0.92); }
.quiz-q + .quiz-grid,
.quiz-hint + .quiz-grid { margin-top: 2px; }
.quiz-grid { display: grid; gap: 10px; }
.quiz-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.quiz-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.quiz-grid.cols-1 { grid-template-columns: 1fr; }
.quiz-opt {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transition: transform var(--t-fast) var(--ease-spring), border-color var(--t-fast) ease, background var(--t-fast) ease, box-shadow var(--t-fast) ease;
  position: relative;
  color: #fff;
}
.quiz-grid.cols-2 .quiz-opt,
.quiz-grid.cols-1 .quiz-opt { flex-direction: row; text-align: left; justify-content: flex-start; padding: 13px 14px; }
.quiz-grid.cols-1 .quiz-opt { padding: 13px 14px; gap: 13px; }
.quiz-grid.cols-1 .quiz-opt .q-lbl { font-size: 14.5px; }
.quiz-grid.cols-1 .quiz-opt .q-sub { font-size: 12px; margin-top: 3px; line-height: 1.45; }
.quiz-grid.cols-3 .quiz-opt .q-lbl { font-size: 12.5px; line-height: 1.35; }
.quiz-opt .q-ico {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
}
.quiz-grid.cols-3 .quiz-opt .q-ico { width: 44px; height: 44px; }
.quiz-opt .q-ico img { width: 28px; height: 28px; object-fit: contain; display: block; }
/* these five are dark monochrome line icons (transparent bg) that vanish on the
   dark icon tiles — recolor to white so they match the other quiz icons */
.quiz-opt .q-ico img[src*="route-03-1.svg"],
.quiz-opt .q-ico img[src*="travel-bag.svg"],
.quiz-opt .q-ico img[src*="swimming.svg"],
.quiz-opt .q-ico img[src*="serving-food.svg"],
.quiz-opt .q-ico img[src*="trip1.svg"] {
  filter: brightness(0) invert(1);
}
.quiz-opt .q-lbl { font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: #fff; }
.quiz-opt .q-sub { font-size: 11.5px; color: rgba(255, 255, 255, 0.62); display: block; margin-top: 2px; }
.quiz-opt:hover { border-color: rgba(200, 169, 106, 0.5); transform: translateY(-2px); }
.quiz-opt.sel {
  border-color: var(--gold);
  background: rgba(200, 169, 106, 0.14);
  box-shadow: 0 10px 24px -12px rgba(200, 169, 106, 0.6), inset 0 0 0 1px rgba(200, 169, 106, 0.4);
}
.quiz-opt.sel::after {
  content: '✓';
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(200, 169, 106, 0.55);
  animation: pop-in 0.35s var(--ease-spring);
}
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }

.quiz-slider-block { margin-top: 26px; }
.quiz-slider-hint { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin: 4px 0 16px; }
.quiz-slider { position: relative; padding: 6px 0 4px; }
.quiz-slider input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: var(--r-pill);
  background: linear-gradient(to right, #c8a96a var(--fill, 40%), rgba(255, 255, 255, 0.16) var(--fill, 40%));
  outline-offset: 6px;
}
.quiz-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  border: 4px solid #0b1a2b;
  box-shadow: 0 3px 10px rgba(200, 169, 106, 0.55);
  cursor: grab;
}
.quiz-slider-marks { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); margin-top: 10px; font-family: var(--f-body); }
.quiz-slider-bubble {
  position: absolute;
  top: -30px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 7px;
  pointer-events: none;
  transition: left 0.05s linear;
}
.quiz-footer {
  position: relative;
  z-index: 2;
  padding: 14px 16px 28px;
  background: linear-gradient(180deg, rgba(5, 13, 23, 0) 0%, #050d17 34%);
}
.quiz-footer .btn-primary {
  height: 54px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  background: linear-gradient(135deg, #e7cb8e 0%, #c8a96a 100%);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
.quiz-footer .btn-primary:hover { filter: brightness(1.04); }

/* Q5 arrival map — the original Figma SVG, inlined (node 849:155283) */
.quiz-map {
  position: relative;
  margin: 16px 0 6px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.7);
}
.quiz-map-svg-host {
  aspect-ratio: 351 / 280; /* reserve space while the SVG loads */
}
.quiz-map svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  user-select: none;
  -webkit-user-select: none;
}
.svg-pin {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: 50% 85%;
  transition: transform var(--t-fast) var(--ease-spring);
  outline: none;
}
.svg-pin:hover { transform: scale(1.05); }
.svg-pin:focus-visible { transform: scale(1.05); }
.svg-pin.sel { transform: scale(1.1); }

/* Q12 budget dual range */
.budget-block { margin-top: 4px; }
.budget-note { font-weight: 400; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
.range-dual { position: relative; height: 26px; margin-top: 34px; }
.rd-track,
.rd-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 5px;
  border-radius: var(--r-pill);
}
.rd-track { left: 0; right: 0; background: rgba(255, 255, 255, 0.16); }
.rd-fill { background: linear-gradient(90deg, #c8a96a, #e7cb8e); }
.range-dual input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  background: none;
  pointer-events: none;
  margin: 0;
  height: 26px;
}
.range-dual input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  border: 3px solid #0b1a2b;
  box-shadow: 0 3px 8px rgba(200, 169, 106, 0.5);
  cursor: grab;
}
.range-dual input[type='range']::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  border: 3px solid #0b1a2b;
  box-shadow: 0 3px 8px rgba(200, 169, 106, 0.5);
  cursor: grab;
}
.rd-bubble {
  position: absolute;
  top: -26px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 7px;
  pointer-events: none;
  white-space: nowrap;
}
.budget-inputs { margin-top: 18px; }
.budget-inputs .field { margin-bottom: 4px; }
/* dark-glass number inputs on the cinematic quiz */
.scr-quiz .field-label { color: rgba(255, 255, 255, 0.82); }
.scr-quiz .field-box.sm {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease;
}
.scr-quiz .field-box.sm input { color: #fff; }
.scr-quiz .field-box.sm:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.18);
  background: rgba(255, 255, 255, 0.1);
}
.field-box.sm { height: 48px; }
.field-box input[type='number'] { -moz-appearance: textfield; appearance: textfield; }
.field-box input[type='number']::-webkit-outer-spin-button,
.field-box input[type='number']::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============ GENERATING (post-quiz) ============ */
.scr-generating { background: #071522; }
#genVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.gen-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(4, 12, 22, 0.6) 100%),
    linear-gradient(180deg, rgba(6, 16, 28, 0.72) 0%, rgba(7, 18, 32, 0.55) 45%, rgba(4, 12, 22, 0.85) 100%);
}
.gen-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px 60px;
  color: #fff;
  text-align: center;
}
.gen-eyebrow {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  animation: gen-in 0.7s var(--ease-spring) both;
}
.gen-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.3;
  min-height: 2.6em;
  max-width: 300px;
  text-shadow: 0 2px 16px rgba(3, 10, 18, 0.6);
  animation: gen-in 0.7s var(--ease-spring) 0.08s both;
  transition: opacity 0.25s ease;
}
.gen-title.swap { opacity: 0; }
.gen-pct {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  margin: 18px 0 6px;
  font-variant-numeric: tabular-nums;
  animation: gen-in 0.7s var(--ease-spring) 0.16s both;
}
.gen-pct small { font-size: 26px; font-weight: 500; opacity: 0.75; margin-left: 2px; }
.gen-route { width: 300px; height: 56px; margin-bottom: 20px; animation: gen-in 0.7s var(--ease-spring) 0.22s both; overflow: visible; }
#genEndPin { transition: transform 0.3s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.gen-route.done #genEndPin { transform: scale(1.5); }
#genBoat { filter: drop-shadow(0 2px 4px rgba(3, 10, 18, 0.5)); }
.gen-stages {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
  animation: gen-in 0.7s var(--ease-spring) 0.28s both;
}
.gen-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}
.gen-stage .gs-dot {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.6px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  transition: all 0.3s var(--ease-spring);
}
.gen-stage.active { color: #fff; }
.gen-stage.active .gs-dot { border-color: var(--gold); }
.gen-stage.active .gs-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: gs-pulse 1s ease infinite;
}
.gen-stage.done { color: rgba(255, 255, 255, 0.85); }
.gen-stage.done .gs-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  animation: gs-pop 0.4s var(--ease-spring);
}
@keyframes gs-pulse { 50% { transform: scale(0.55); opacity: 0.5; } }
@keyframes gs-pop { 40% { transform: scale(1.35); } }
.gen-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 8px;
  max-width: 320px;
  min-height: 68px;
}
/* "Swipe up to continue" affordance — hidden while analysing, revealed at 100%.
   Gold floating chevrons matching the eyebrow / route accents (no solid button). */
.gen-go {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 6px 12px;
  background: none;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-spring);
  touch-action: none;
}
.gen-go.show { opacity: 1; transform: none; }
/* luminous gold beacon — a glowing waypoint with sonar ripples + breathing core */
.gen-go-beacon { position: relative; width: 68px; height: 68px; display: grid; place-items: center; }
.gen-go-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 169, 106, 0.55);
  animation: gen-beacon 2.6s var(--ease-out) infinite;
}
.gen-go-ring:nth-child(2) { animation-delay: 1.3s; }
@keyframes gen-beacon {
  0% { transform: scale(0.5); opacity: 0.75; }
  70% { opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
.gen-go-core {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 50% 32%, rgba(219, 190, 130, 0.95), rgba(200, 169, 106, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 22px rgba(200, 169, 106, 0.45), inset 0 1px 3px rgba(255, 255, 255, 0.45);
  animation: gen-core-breathe 2.8s ease-in-out infinite;
}
.gen-go-core svg { width: 24px; height: 24px; animation: gen-core-chev 2.8s ease-in-out infinite; }
@keyframes gen-core-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(200, 169, 106, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.45); }
  50% { transform: scale(1.05); box-shadow: 0 10px 28px rgba(200, 169, 106, 0.62), inset 0 1px 3px rgba(255, 255, 255, 0.55); }
}
@keyframes gen-core-chev {
  0%, 100% { transform: translateY(1.5px); }
  50% { transform: translateY(-2px); }
}
.gen-go:active .gen-go-core { transform: scale(0.9); transition: transform var(--t-fast) var(--ease-spring); }
@media (prefers-reduced-motion: reduce) {
  .gen-go-ring { animation: none; opacity: 0; }
  .gen-go-core, .gen-go-core svg { animation: none; }
}
.gen-chip {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  /* solid translucent fill — backdrop-filter bleeds into oval halos on device */
  background: rgba(14, 30, 48, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px -4px rgba(3, 10, 18, 0.5);
  animation: chip-pop 0.5s var(--ease-spring) both;
}
@keyframes chip-pop {
  from { opacity: 0; transform: scale(0.55) translateY(8px); }
}
@keyframes gen-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.gen-hint {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .gen-eyebrow, .gen-title, .gen-pct, .gen-route, .gen-stages { animation: none; opacity: 1; }
  .gen-chip { animation: none; }
}

/* ============ HOME ============ */
.scr-home { background: var(--white); }
.home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 62px var(--pad) 10px;
}
.home-hello { font-size: 12.5px; color: var(--mist); }
.home-name { font-family: var(--f-head); font-weight: 800; font-size: 19px; }
.home-head-actions { display: flex; align-items: center; gap: 10px; }
.scr-home .searchbar { margin-left: 0; margin-right: 0; }

.itn-hero {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.itn-hero-media { position: relative; border-radius: 14px; overflow: hidden; height: 210px; }
.itn-hero-track { display: flex; height: 100%; transition: transform 0.65s var(--ease-spring); will-change: transform; }
.itn-hero-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
/* slow Ken-Burns drift on the featured image — cinematic depth (paused for reduced-motion) */
.scr-home.active .itn-hero-track img { animation: itn-kenburns 18s ease-in-out infinite alternate; }
@keyframes itn-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
/* bottom-up scrim so the caption reads on any photo */
.itn-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 13, 23, 0.82) 0%, rgba(5, 13, 23, 0.28) 34%, transparent 60%);
}
.itn-hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(9, 18, 30, 0.55);
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: var(--r-pill);
  padding: 5px 11px 5px 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.itn-hero-badge .badge-ico { width: 12px; height: 12px; color: var(--gold); }
.itn-hero-caption { position: absolute; left: 14px; bottom: 26px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.itn-hero-eyebrow {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.itn-hero-place {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231, 203, 142, 0.92);
}
.itn-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.itn-hero-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); transition: all var(--t-fast); }
.itn-hero-dots span.on { width: 16px; border-radius: var(--r-pill); background: #fff; }
.itn-hero-body { padding: 12px 0 0; }
/* route row — Figma 1672:39735: 12px padded card, #EFEFEF stroke,
   34px #F2F2F2 circle chips, 14px/18 Nunito labels, 11px arrow glyphs */
.itn-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  position: relative;
}
.itn-stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.itn-stop-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  /* background: #f2f2f2; */
  border: 1px solid #ececec;
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: transform var(--t-fast) var(--ease-spring);
}
.itn-stop.active .itn-stop-chip {border-color: var(--gold); }
.itn-stop:hover .itn-stop-chip { transform: translateY(-2px); }
.itn-stop-anim { width: 28px; height: 28px; display: block; }
.itn-stop-anim svg { display: block; width: 100%; height: 100%; }
.itn-stop-static { width: 20px; height: 20px; display: block; }
.itn-stop-name {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #1e1e1e;
}
.itn-stop.active .itn-stop-name { color: #0176d2; font-weight: 700; }
.itn-arrow { width: 11px; height: auto; align-self: flex-start; margin-top: 14px; }
.itn-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.itn-stat {
  position: relative;
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: var(--r-md);
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-items: center;
}
.itn-stat-num { grid-column: 2; font-family: var(--f-head); font-weight: 800; font-size: 16px; line-height: 1.1; }
.itn-stat-lbl { grid-column: 2; font-size: 11px; color: var(--mist); margin-top: 1px; }
.itn-stat-ico {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.essentials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ess-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--blue-050);
  border: 1.4px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 15px 10px;
  transition: all var(--t-fast) var(--ease-spring);
}
.ess-tile:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--shadow-soft); }
.ess-tile:active { transform: scale(0.96); }
.ess-emoji { font-size: 19px; }
.ess-ico { width: 24px; height: 24px; object-fit: contain; }
.itn-stat-ico img { width: 18px; height: 18px; object-fit: contain; display: block; }

.rec-scroller,
.stay-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* keep snapped cards aligned to the page gutter, not the screen edge */
  scroll-padding-inline: var(--pad);
  margin: 0 calc(-1 * var(--pad));
  padding: 4px var(--pad) 18px;
  scrollbar-width: none;
}
.rec-scroller::-webkit-scrollbar,
.stay-scroller::-webkit-scrollbar { display: none; }

.rec-card {
  position: relative;
  flex: 0 0 334px;
  height: 296px;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.rec-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-spring);
}
.rec-card:hover img { transform: scale(1.06); }
/* press feedback on tappable home cards */
.rec-card, .stay-card { transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast); }
.rec-card:active { transform: scale(0.975); }
.stay-card:active { transform: scale(0.98); }
.itn-hero-dots span { cursor: pointer; }
.rec-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 42, 0.75) 0%, transparent 46%);
  z-index: 1;
}
.rec-card .badge { position: absolute; top: 13px; right: 13px; z-index: 2; }
.rec-meta { position: absolute; left: 16px; bottom: 15px; right: 60px; z-index: 2; color: #fff; }
.rec-meta h4 { font-family: var(--f-head); font-weight: 800; font-size: 20px; }
.rec-meta p { font-size: 12.5px; opacity: 0.85; margin-top: 3px; }
.rec-go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform var(--t-fast) var(--ease-spring), background var(--t-fast);
}
.rec-card:hover .rec-go { transform: rotate(45deg); background: rgba(255, 255, 255, 0.35); }
.rec-go svg { width: 18px; height: 18px; transform: rotate(45deg); }

.cta-banner {
  position: relative;
  display: flex;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad-primary);
  min-height: 172px;
  box-shadow: var(--shadow-card);
  margin: 4px 0 6px;
}
.cta-banner.alt { margin-top: 22px; }
.cta-copy { position: relative; z-index: 2; width: 62%; padding: 20px 4px 20px 20px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-copy h3 { font-family: var(--f-head); font-weight: 800; font-size: 17px; line-height: 1.3; }
.cta-copy p { font-size: 12px; line-height: 1.55; opacity: 0.9; }
.cta-copy .btn { margin-top: 4px; }
.cta-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 38%);
  mask-image: linear-gradient(to right, transparent, #000 38%);
}

.stay-card {
  flex: 0 0 252px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);
}
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.stay-media { position: relative; height: 148px; overflow: hidden; }
.stay-media img { width: 100%; height: 100%; object-fit: cover; }
.stay-media .badge { position: absolute; top: 11px; right: 11px; }
.stay-fav {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  color: var(--slate);
  backdrop-filter: blur(6px);
  transition: transform var(--t-fast) var(--ease-spring), color var(--t-fast);
}
.stay-fav svg { width: 17px; height: 17px; }
.stay-fav.on { color: var(--danger); }
.stay-fav.on svg path { fill: currentColor; }
.stay-fav:active { transform: scale(0.8); }
.stay-body { padding: 13px 14px 15px; }
.stay-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.stay-title { font-family: var(--f-head); font-weight: 800; font-size: 14.5px; line-height: 1.35; }
.stay-loc { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mist); margin-top: 5px; }
.stay-loc svg { width: 13px; height: 13px; flex: 0 0 auto; }
.stay-price { font-family: var(--f-body); font-weight: 700; font-size: 15.5px; color: var(--blue-link); margin-top: 9px; }
.stay-price small { font-weight: 400; font-size: 11px; color: var(--mist); }

.save-banner {
  position: relative;
  display: flex;
  min-height: 160px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #2a69da;
  box-shadow: var(--shadow-card);
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);
}
.save-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.save-copy {
  position: relative;
  z-index: 2;
  width: 60%;
  padding: 18px 4px 18px 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.save-copy h4 { font-family: var(--f-head); font-weight: 800; font-size: 16px; line-height: 1.3; }
.save-copy p { font-size: 12px; opacity: 0.9; }
.save-copy .btn { margin-top: auto; }
.save-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 42%);
  mask-image: linear-gradient(to right, transparent, #000 42%);
}

/* ---- Home cinematic (dark + gold) — scoped so nothing else regresses ---- */
.scr-home {
  background:
    radial-gradient(120% 50% at 50% -8%, rgba(200, 169, 106, 0.14), transparent 56%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%);
}
.scr-home .home-hello { color: rgba(255, 255, 255, 0.62); }
.scr-home .home-name { color: #fff; }
.scr-home .pill-select {
  background: rgba(200, 169, 106, 0.16);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.4);
}
.scr-home .home-head-actions .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
/* search */
.scr-home .searchbar { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.scr-home .searchbar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.16); }
.scr-home .searchbar-ico { color: var(--gold); opacity: 0.92; }
.scr-home .searchbar input { color: #fff; }
.scr-home .searchbar input::placeholder { color: rgba(255, 255, 255, 0.45); }
.scr-home .icon-btn.sm.search-filter { color: rgba(255, 255, 255, 0.85); }
/* section headings */
.scr-home .section-kicker { color: rgba(255, 255, 255, 0.62); }
.scr-home .section-title { color: #fff; }
.scr-home .link.sm { color: var(--gold); }
/* ===== FEATURED ITINERARY HERO — the Home focal point ===== */
.scr-home .itn-hero {
  position: relative;
  overflow: hidden;
  padding: 12px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(200, 169, 106, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(200, 169, 106, 0.22);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 54px -24px rgba(0, 0, 0, 0.85),
    0 0 42px -18px rgba(200, 169, 106, 0.3);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast) ease;
}
.scr-home .itn-hero:active { transform: scale(0.992); }

.scr-home .itn-route {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* pin chips — dark glass; active gets a gold ring + soft glow */
.scr-home .itn-stop-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform var(--t-fast) var(--ease-spring);
}
.scr-home .itn-stop.active .itn-stop-chip {
  background: rgba(200, 169, 106, 0.16);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.12), 0 6px 16px -6px rgba(200, 169, 106, 0.6);
}
.scr-home .itn-stop-name { color: rgba(255, 255, 255, 0.78); }
.scr-home .itn-stop.active .itn-stop-name { color: var(--gold); font-weight: 700; }
/* sequential reveal of each destination on entry (divs = stops; :nth-of-type ignores arrows) */
.scr-home.active .itn-route .itn-stop { animation: itn-stop-in 0.5s var(--ease-spring) both; }
.scr-home.active .itn-route .itn-stop:nth-of-type(1) { animation-delay: 0.28s; }
.scr-home.active .itn-route .itn-stop:nth-of-type(2) { animation-delay: 0.4s; }
.scr-home.active .itn-route .itn-stop:nth-of-type(3) { animation-delay: 0.52s; }
.scr-home.active .itn-route .itn-stop:nth-of-type(4) { animation-delay: 0.64s; }
.scr-home.active .itn-route .itn-arrow { animation: itn-arrow-in 0.4s var(--ease-out) both; }
.scr-home.active .itn-route .itn-arrow:nth-of-type(1) { animation-delay: 0.36s; }
.scr-home.active .itn-route .itn-arrow:nth-of-type(2) { animation-delay: 0.48s; }
.scr-home.active .itn-route .itn-arrow:nth-of-type(3) { animation-delay: 0.6s; }
@keyframes itn-stop-in { from { opacity: 0; transform: translateY(10px) scale(0.9); } }
@keyframes itn-arrow-in { from { opacity: 0; } }
/* summary stat cards — gold-tinted icon chip */
.scr-home .itn-stat { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.scr-home .itn-stat-num { color: #fff; }
.scr-home .itn-stat-lbl { color: rgba(255, 255, 255, 0.55); }
.scr-home .itn-stat-ico { background: rgba(200, 169, 106, 0.16); }
.scr-home .itn-stat-ico img { filter: brightness(0) invert(1); opacity: 0.92; }
/* premium CTA — gold gradient, arrow, hover lift + shine sweep */
.scr-home .itn-cta {
  position: relative;
  overflow: hidden;
  gap: 8px;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 16px 32px -12px rgba(200, 169, 106, 0.75);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast) ease, filter var(--t-fast) ease;
}
.scr-home .itn-cta .btn-ico { width: 17px; height: 17px; color: #2a1e08; transition: transform var(--t-fast) var(--ease-spring); }
.scr-home .itn-cta:active { transform: scale(0.98); }
.scr-home .itn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5) 50%, transparent);
  transform: skewX(-18deg);
  animation: itn-shimmer 5.5s ease-in-out 2.4s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .scr-home.active .itn-hero-track img,
  .scr-home .itn-hero::after,
  .scr-home .itn-cta::after,
  .scr-home.active .itn-route .itn-stop,
  .scr-home.active .itn-route .itn-arrow { animation: none; }
}
/* travel essentials */
.scr-home .ess-tile { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; }
.scr-home .ess-tile:hover { border-color: rgba(200, 169, 106, 0.5); box-shadow: none; }
/* ferry-boat is a dark line icon (hotel icon is multicolor) — whiten for parity */
.scr-home .ess-ico[src*="ferry-boat.svg"] { filter: brightness(0) invert(1); }
/* route arrows are dark — gold-tint so they read on the dark route card */
.scr-home .itn-arrow { filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(420%) hue-rotate(2deg) brightness(92%); opacity: 0.85; }
/* recommended-island cards — gold glass badge (photo cards already dark-friendly) */
.scr-home .rec-card .badge { background: rgba(13, 26, 41, 0.6); color: var(--gold); border: 1px solid rgba(200, 169, 106, 0.5); box-shadow: none; }
/* CTA + savings banners → deep dark gradient (were blue) */
.scr-home .cta-banner,
.scr-home .save-banner { background: linear-gradient(135deg, #16304a 0%, #0a1421 100%); }
/* places-to-stay cards */
.scr-home .stay-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.scr-home .stay-title { color: #fff; }
.scr-home .stay-loc { color: rgba(255, 255, 255, 0.5); }
.scr-home .stay-price { color: var(--gold); }
.scr-home .stay-price small { color: rgba(255, 255, 255, 0.5); }

/* ============ AI CHAT — Figma 296:16271 ============ */
.scr-ai { background: var(--white); }
.ai-glow {
  position: absolute;
  left: 37px;
  top: 145px;
  width: 333px;
  height: 333px;
  opacity: 0.85;
  pointer-events: none;
  /* soft radial falloff — the exported orb must never show square edges */
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 98%);
  transition: opacity 0.5s ease;
}
/* the glow belongs to the greeting state only — conversations are plain white */
.ai-glow.gone { opacity: 0; }
.scr-ai .bar {
  background: var(--white);
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 2;
}
.scr-ai .bar-title { font-weight: 600; font-size: 18px; line-height: 24px; color: #252525; }
.ai-body { position: relative; flex: 1; overflow-y: auto; padding: 8px var(--pad); scrollbar-width: none; }
.ai-body::-webkit-scrollbar { display: none; }
.ai-greeting { text-align: center; padding: 34px 10px 10px; transition: opacity var(--t-med), transform var(--t-med) var(--ease-spring); }
.ai-greeting.gone { display: none; }
.ai-avatar-lg { position: relative; width: 134px; height: 134px; margin: 0 auto 12px; }
.ai-avatar-lg img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-card);
}
.ai-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid var(--blue-400);
  border-bottom-color: transparent;
  animation: ring-spin 8s linear infinite;
}
.ai-hi { font-family: var(--f-head); font-weight: 700; font-size: 24px; line-height: 30px; color: #1e1e1e; text-transform: capitalize; }
.ai-q { font-family: var(--f-head); font-weight: 500; font-size: 18px; line-height: 24px; color: #1e1e1e; text-transform: capitalize; }
.ai-note { color: #475569; font-size: 14px; line-height: 18px; margin: 12px auto 0; max-width: 309px; }
.ai-thread { display: flex; flex-direction: column; gap: 16px; padding: 8px 0 12px; }
/* message groups — avatar sits above its bubble (Figma 296:16795) */
.msg-group { display: flex; flex-direction: column; gap: 6px; animation: msg-in 0.45s var(--ease-spring); }
.msg-group.from-user { align-items: flex-end; }
.msg-group.from-pete { align-items: flex-start; }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
.msg-ava { position: relative; width: 44px; height: 44px; flex: 0 0 auto; }
.msg-ava img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-soft);
}
.from-pete .msg-ava { width: 50px; height: 50px; }
.from-pete .msg-ava::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--blue-400);
}
.msg {
  max-width: 86%;
  padding: 12px 15px 8px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
}
.msg.user { background: #f5f5f5; }
.msg.pete { background: #eff6ff; }
.msg.pete b { color: var(--blue-600); }
.msg-time {
  display: block;
  text-align: right;
  font-size: 10.5px;
  color: #767676;
  margin-top: 6px;
}
/* "finding the best experiences" status line */
.ai-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  padding: 2px 2px 2px 4px;
  animation: msg-in 0.4s var(--ease-spring);
}
.ai-status svg { width: 15px; height: 15px; color: var(--blue-link); animation: ring-spin 2.4s linear infinite; }
/* rich recommendation card in chat (Figma 346:6995) */
.msg-card { width: 86%; }
.msg-card .msg {
  max-width: none;
  width: 100%;
  /* the card is markup, not typed text — pre-line would render every template
     newline as a blank line (phantom gaps at the top & between sections) */
  white-space: normal;
  padding: 14px;
}
.chatcard-sec + .chatcard-sec { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(1, 118, 210, 0.18); }
.chatcard-day {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  color: #434343;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 8px;
}
/* compact in-card CTA — proportional to the card, not a full-size page button */
.chatcard .btn-block {
  margin-top: 14px;
  padding: 11px 18px;
  font-size: 14.5px;
  border-radius: 12px;
}
.chatcard-title { font-family: var(--f-head); font-weight: 800; font-size: 16px; }
.chatcard-sub { font-size: 12.5px; color: var(--slate); margin: 2px 0 8px; }
.chatcard-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.chatcard-photos img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.chatcard-label { font-size: 12px; color: var(--slate); margin-bottom: 5px; }
.chatcard-stay-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.chatcard-stay-name { font-family: var(--f-head); font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.chatcard-loc { font-size: 12px; color: var(--mist); margin: 2px 0 5px; }
.chatcard-price { font-family: var(--f-body); font-weight: 700; font-size: 16px; color: var(--blue-link); margin-bottom: 8px; }
.chatcard-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.chatcard-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 11px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 12.5px;
}
.chatcard-act img { width: 18px; height: 18px; object-fit: contain; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  animation: typing 1.1s ease infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ============ CHAT HISTORY (Figma 729:6615) ============ */
.scr-chats { background: var(--white); }
.scr-chats .bar { border-bottom: 1px solid #ececec; }
.chats-recents { font-family: var(--f-head); font-weight: 800; font-size: 20px; margin: 18px 0 6px; }
.chats-list { list-style: none; margin: 0; padding: 0; }
.chats-item {
  width: 100%;
  text-align: left;
  font-size: 14.5px;
  color: var(--ink);
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  display: block;
  transition: color var(--t-fast);
}
.chats-item:hover { color: var(--blue-link); }
.chat-fab {
  position: absolute;
  right: 20px;
  bottom: 34px;
  z-index: 5;
  border-radius: var(--r-md);
  padding: 13px 22px;
}
.ai-suggest { position: relative; padding: 4px var(--pad) 8px; }
.ai-suggest.gone { display: none; }
.ai-suggest-kicker { font-size: 14px; line-height: 18px; color: #475569; margin-bottom: 16px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-chip {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #475569;
  background: #f6f6f6;
  border: 0;
  border-radius: 12px;
  padding: 10px;
  transition: all var(--t-fast) var(--ease-spring);
}
.ai-chip:hover { background: var(--blue-050); color: var(--blue-600); transform: translateY(-2px); }
/* composer card — #F6F8FA, radius 24, two rows */
.ai-composer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px var(--pad) 98px;
  padding: 12px 16px;
  background: #f6f8fa;
  border: 1px solid #efefef;
  border-radius: 24px;
}
.ai-composer-top { display: flex; align-items: center; gap: 7px; }
.composer-pete {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--blue-100);
  flex: 0 0 auto;
}
.ai-composer input { font-size: 14px; line-height: 18px; color: var(--ink); }
.ai-composer input::placeholder { color: #475569; }
/* voice recording state (Figma composer variant) */
.ai-composer-rec { display: flex; align-items: center; gap: 12px; min-height: 34px; }
.rec-timer {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  min-width: 34px;
}
.rec-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 26px;
  overflow: hidden;
}
.rec-wave i {
  flex: 0 0 2px;
  width: 2px;
  border-radius: 2px;
  background: #a9aeb6;
  height: 4px;
  transition: height 90ms linear;
}
.rec-wave i.hot { background: var(--blue-link); }
.ai-composer-actions { display: flex; align-items: center; justify-content: space-between; }

/* voice message bubble in the thread */
.voice-msg { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.voice-play {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-primary);
  color: #fff;
  transition: transform var(--t-fast) var(--ease-spring);
}
.voice-play:active { transform: scale(0.86); }
.voice-play svg { width: 13px; height: 13px; fill: currentColor; }
.voice-bars { flex: 1; display: flex; align-items: center; gap: 2.5px; height: 22px; }
.voice-bars i { flex: 0 0 2px; width: 2px; border-radius: 2px; background: #9aa3ad; }
.voice-bars i.played { background: var(--blue-link); }
.voice-dur { font-size: 11.5px; color: var(--mist); font-variant-numeric: tabular-nums; }
.ai-composer-right { display: flex; align-items: center; gap: 8px; }
.comp-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  color: #1e1e1e;
  transition: transform var(--t-fast) var(--ease-spring), border-color var(--t-fast);
}
.comp-btn svg { width: 16px; height: 16px; }
.comp-btn .rot-up { transform: rotate(-90deg); }
.comp-btn:hover { border-color: var(--blue-400); }
.comp-btn:active { transform: scale(0.88); }

/* ---- AI ASSISTANCE cinematic (dark + gold) — scoped, matches Auth ---- */
.scr-ai {
  background:
    radial-gradient(120% 50% at 50% -8%, rgba(200, 169, 106, 0.14), transparent 56%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%);
}
/* chrome: transparent bar, no border, dark-glass buttons, 16px gutters */
.scr-ai .bar { background: transparent; border-bottom: 0; padding-left: 16px; padding-right: 16px; }
.scr-ai .bar-title { color: #fff; }
.scr-ai .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.scr-ai .ai-body { padding-left: 16px; padding-right: 16px; }
.scr-ai .ai-suggest { padding-left: 16px; padding-right: 16px; }
/* the old exported glow orb is retired — replaced by a contained gold halo */
.scr-ai .ai-glow { display: none; }
/* greeting hero — refined gold presentation of Pete */
.scr-ai .ai-greeting { padding: 26px 10px 8px; }
.scr-ai .ai-avatar-lg { width: 124px; height: 124px; margin: 0 auto 0; }
.scr-ai .ai-avatar-lg img {
  border: 3px solid rgba(231, 203, 142, 0.85);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8), 0 0 34px -8px rgba(200, 169, 106, 0.35);
  /* animation: ai-float 7s ease-in-out 1.4s infinite; */
}
/* soft breathing halo, contained to the portrait (not a page-wide orb) */
.scr-ai .ai-avatar-glow {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 169, 106, 0.3), rgba(200, 169, 106, 0.08) 62%, transparent 75%);
  animation: ai-breathe 4.6s ease-in-out infinite alternate;
  pointer-events: none;
}
/* slow-turning gold arc + faint static ring */
.scr-ai .ai-avatar-lg::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, 0.22);
}
.scr-ai .ai-avatar-arc {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(237, 216, 171, 0.95) 84%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: ring-spin 9s linear infinite;
}
.scr-ai .ai-online-dot {
  position: absolute;
  right: 7px;
  bottom: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #6fe0ad;
  border: 3px solid #0a1826;
  animation: ai-dot-pulse 2.4s ease-out infinite;
}
.scr-ai .ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
  color: var(--gold);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.scr-ai .ai-eyebrow i { display: block; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 169, 106, 0.8)); }
.scr-ai .ai-eyebrow i:last-child { transform: scaleX(-1); }
.scr-ai .ai-hi { color: #fff; font-size: 26px; line-height: 32px; text-transform: none; }
.scr-ai .ai-q { color: rgba(255, 255, 255, 0.85); font-size: 17px; text-transform: none; margin-top: 4px; }
.scr-ai .ai-note { color: rgba(255, 255, 255, 0.6); max-width: 290px; }
@keyframes ai-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes ai-breathe {
  from { opacity: 0.55; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.06); }
}
@keyframes ai-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 224, 173, 0.45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(111, 224, 173, 0); }
}
/* thread bubbles — user: dark glass, Pete: gold-tinted (brand voice) */
.scr-ai .msg { color: rgba(255, 255, 255, 0.92); }
.scr-ai .msg.user { background: rgba(255, 255, 255, 0.08); }
.scr-ai .msg.pete { background: rgba(200, 169, 106, 0.13); }
.scr-ai .msg.pete b { color: var(--gold); }
.scr-ai .msg-time { color: rgba(255, 255, 255, 0.45); }
.scr-ai .msg-ava img { border-color: rgba(255, 255, 255, 0.25); }
.scr-ai .from-pete .msg-ava::after { border-color: var(--gold); }
.scr-ai .ai-status { color: rgba(255, 255, 255, 0.8); }
.scr-ai .ai-status svg { color: var(--gold); }
.scr-ai .typing i { background: var(--gold); }
/* itinerary recommendation card inside Pete's bubble */
.scr-ai .chatcard-sec + .chatcard-sec { border-top-color: rgba(200, 169, 106, 0.3); }
.scr-ai .chatcard-day { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.78); }
.scr-ai .chatcard-title { color: #fff; }
.scr-ai .chatcard-sub, .scr-ai .chatcard-label { color: rgba(255, 255, 255, 0.6); }
.scr-ai .chatcard-stay-name { color: #fff; }
.scr-ai .chatcard-loc { color: rgba(255, 255, 255, 0.5); }
.scr-ai .chatcard-price { color: var(--gold); }
.scr-ai .chatcard-act { background: rgba(255, 255, 255, 0.1); color: #1b2430; backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }
.scr-ai .chatcard .btn-primary {
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
/* suggestion chips → modern icon cards (2-up grid, light icon tile) */
.scr-ai .ai-suggest-kicker { color: rgba(255, 255, 255, 0.6); }
.scr-ai .ai-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scr-ai .ai-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.35;
  text-align: left;
  transition: transform var(--t-fast) var(--ease-spring), background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.scr-ai .ai-chip .chip-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, 0.5);
}
.scr-ai .ai-chip:hover { background: rgba(200, 169, 106, 0.14); border-color: rgba(200, 169, 106, 0.5); color: #fff; transform: translateY(-2px); }
.scr-ai .ai-chip:active { transform: scale(0.96); }
/* composer — SOLID dark panel (borderless, crisp: same treatment as .auth-glass) */
.scr-ai .ai-composer {
  margin-left: 16px;
  margin-right: 16px;
  background: linear-gradient(180deg, #101e30 0%, #0a1420 100%);
  border: 0;
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.75);
  transition: box-shadow var(--t-fast) ease;
}
/* gold focus ring while typing */
.scr-ai .ai-composer:focus-within {
  box-shadow: 0 0 0 1.5px rgba(200, 169, 106, 0.55), 0 18px 44px -22px rgba(0, 0, 0, 0.75);
}
.scr-ai .composer-pete { border-color: rgba(231, 203, 142, 0.6); }
.scr-ai .ai-composer input { color: #fff; }
.scr-ai .ai-composer input::placeholder { color: rgba(255, 255, 255, 0.5); }
.scr-ai .comp-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.scr-ai .comp-btn:hover { border-color: var(--gold); }
.scr-ai #aiSend { background: linear-gradient(135deg, #e7cb8e, #c8a96a); border-color: transparent; color: #2a1e08; transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast) ease, filter var(--t-fast) ease; }
.scr-ai #aiSend:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(200, 169, 106, 0.7); }
/* voice recording + voice bubble */
.scr-ai .rec-timer { color: #fff; }
.scr-ai .rec-wave i { background: rgba(255, 255, 255, 0.35); }
.scr-ai .rec-wave i.hot { background: var(--gold); }
.scr-ai .voice-play { background: linear-gradient(135deg, #e7cb8e, #c8a96a); color: #2a1e08; }
.scr-ai .voice-bars i { background: rgba(255, 255, 255, 0.35); }
.scr-ai .voice-bars i.played { background: var(--gold); }
.scr-ai .voice-dur { color: rgba(255, 255, 255, 0.5); }
/* entrance choreography — avatar pops, copy rises line-by-line, chips cascade,
   composer arrives last (all fade/rise, consistent with Auth; no X motion) */
.scr-ai.active .ai-greeting:not(.gone) .ai-avatar-lg { animation: ai-ava-pop 0.7s var(--ease-spring) 0.05s both; }
.scr-ai.active .ai-greeting:not(.gone) .ai-eyebrow { animation: auth-rise 0.55s var(--ease-out) 0.24s both; }
.scr-ai.active .ai-greeting:not(.gone) .ai-hi { animation: auth-rise 0.55s var(--ease-out) 0.32s both; }
.scr-ai.active .ai-greeting:not(.gone) .ai-q { animation: auth-rise 0.55s var(--ease-out) 0.4s both; }
.scr-ai.active .ai-greeting:not(.gone) .ai-note { animation: auth-rise 0.55s var(--ease-out) 0.48s both; }
.scr-ai.active .ai-suggest:not(.gone) .ai-suggest-kicker { animation: auth-rise 0.55s var(--ease-out) 0.52s both; }
.scr-ai.active .ai-suggest:not(.gone) .ai-chip { animation: ai-chip-in 0.55s var(--ease-spring) calc(0.58s + var(--i, 0) * 0.07s) both; }
.scr-ai.active .ai-composer { animation: auth-rise 0.65s var(--ease-out) 0.55s both; }
@keyframes ai-ava-pop { from { opacity: 0; transform: scale(0.82) translateY(8px); } }
@keyframes ai-chip-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) {
  .scr-ai.active .ai-greeting:not(.gone) .ai-avatar-lg,
  .scr-ai.active .ai-greeting:not(.gone) .ai-eyebrow,
  .scr-ai.active .ai-greeting:not(.gone) .ai-hi,
  .scr-ai.active .ai-greeting:not(.gone) .ai-q,
  .scr-ai.active .ai-greeting:not(.gone) .ai-note,
  .scr-ai.active .ai-suggest:not(.gone) .ai-suggest-kicker,
  .scr-ai.active .ai-suggest:not(.gone) .ai-chip,
  .scr-ai.active .ai-composer,
  .scr-ai .ai-avatar-lg img,
  .scr-ai .ai-avatar-glow,
  .scr-ai .ai-avatar-arc,
  .scr-ai .ai-online-dot { animation: none; }
}

/* ---- Chat History cinematic (dark + gold) — scoped ---- */
.scr-chats {
  background:
    radial-gradient(120% 50% at 50% -8%, rgba(200, 169, 106, 0.12), transparent 56%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%);
}
.scr-chats .bar { background: transparent; border-bottom: 0; padding-left: 16px; padding-right: 16px; }
.scr-chats .bar-title { color: #fff; }
.scr-chats .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.scr-chats .scroll { padding-left: 16px; padding-right: 16px; }
.scr-chats .chats-recents { color: #fff; }
.scr-chats .chats-item { color: rgba(255, 255, 255, 0.85); border-bottom-color: rgba(255, 255, 255, 0.1); }
.scr-chats .chats-item:hover { color: var(--gold); }
.scr-chats .chat-fab {
  right: 16px;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
.scr-chats .chat-fab .btn-ico { color: #2a1e08; }

/* ============ EXPLORE ============ */
.island-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 10px;
}
.island-card {
  position: relative;
  height: 218px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.55s var(--ease-out), transform 0.6s var(--ease-spring), box-shadow var(--t-fast);
  cursor: pointer;
}
.island-card.in { opacity: 1; transform: none; }
.island-card:hover { box-shadow: var(--shadow-card); }
.island-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-spring);
}
.island-card:hover img { transform: scale(1.07); }
.island-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 42, 0.72), transparent 52%);
  z-index: 1;
}
.island-card .badge { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 10.5px; padding: 5px 9px; }
.island-card-meta { position: absolute; left: 13px; right: 13px; bottom: 12px; z-index: 2; color: #fff; }
.island-card-meta h4 { font-family: var(--f-head); font-weight: 800; font-size: 16.5px; }
.island-card-meta p { font-size: 11.5px; opacity: 0.85; margin-top: 2px; }

/* ============ EXPLORE MAINLAND — categorised horizontal rows ============ */
.mainland-cats { display: flex; flex-direction: column; gap: 24px; padding-top: 10px; }
.mland-cat-title { font-family: var(--f-head); font-weight: 400; font-size: 16px; color: #000; margin-bottom: 9px; }
.mland-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--pad));
  padding: 2px var(--pad) 4px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.mland-row::-webkit-scrollbar { display: none; }
.mland-card {
  position: relative;
  flex: 0 0 157px;
  height: 205px;
  border-radius: 19px;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-spring), box-shadow var(--t-fast);
  cursor: pointer;
}
.mland-card.in { opacity: 1; transform: none; }
.mland-card:active { transform: scale(0.97); }
.mland-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-spring); }
.mland-card:hover img { transform: scale(1.06); }
.mland-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.85));
  z-index: 1;
}
.mland-card-name {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-family: var(--f-head);
  font-size: 16px;
  line-height: 22px;
}

/* ---- Explore cinematic (dark + gold) — scoped so shared components stay light elsewhere ---- */
.scr-explore {
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(200, 169, 106, 0.14), transparent 58%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 48%, #050d17 100%);
}
.scr-explore > * { position: relative; z-index: 2; }
.scr-explore .bar,
.scr-explore .bar.bar-plain { background: transparent; }
.scr-explore .bar-title-lg { color: #fff; }
/* segment */
.scr-explore .segment-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scr-explore .segment-btn.active {
  background: rgba(200, 169, 106, 0.16);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(200, 169, 106, 0.5);
}
/* search */
.scr-explore .searchbar {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scr-explore .searchbar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.16); }
.scr-explore .searchbar-ico { color: var(--gold); opacity: 0.92; }
.scr-explore .searchbar input { color: #fff; }
.scr-explore .searchbar input::placeholder { color: rgba(255, 255, 255, 0.42); }
.scr-explore .icon-btn.sm.search-filter { color: rgba(255, 255, 255, 0.85); }
/* island cards — deepen shadow, add hairline ring, gold glass badge */
.scr-explore .island-card { box-shadow: 0 18px 42px -22px rgba(0, 0, 0, 0.8); }
.scr-explore .island-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
  pointer-events: none;
}
.scr-explore .island-card .badge {
  background: rgba(13, 26, 41, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.5);
  box-shadow: none;
}
.scr-explore .island-card .badge .badge-ico { color: var(--gold); }
/* mainland categories */
.scr-explore .mland-cat-title { color: rgba(255, 255, 255, 0.92); font-weight: 700; }

/* ============ ISLAND / HOTEL DETAIL ============ */
.island-hero { position: relative; height: 296px; flex: 0 0 auto; overflow: hidden; margin: 0 calc(-1 * var(--pad)); }
.scr-island .scroll, .scr-hotel .scroll { padding: 0 var(--pad); }
.island-hero.short { height: 264px; }
.island-hero img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.island-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 20, 34, 0.38), transparent 32%);
}
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.hero-dots span { width: 6px; height: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.55); transition: all var(--t-fast); cursor: pointer; }
.hero-dots span.on { width: 17px; background: #fff; }
.hero-badge { position: absolute; top: 116px; left: 14px; z-index: 2; }
.hero-fav { position: absolute; top: 108px; right: 14px; z-index: 2; }
.fav-btn.on { color: #ff5a5a; }
.fav-btn.on svg path { fill: currentColor; stroke: currentColor; }
.fav-btn.burst { animation: fav-burst 0.5s var(--ease-spring); }
@keyframes fav-burst {
  30% { transform: scale(1.3); }
  60% { transform: scale(0.9); }
}

.island-body { padding-top: 18px; }
.island-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.island-name { font-family: var(--f-head); font-weight: 800; font-size: 22px; }
.island-region { font-size: 13px; color: var(--mist); margin-top: 3px; }
.island-region.pin { display: flex; align-items: center; gap: 5px; }
.pin-ico { width: 14px; height: 14px; flex: 0 0 auto; }
.island-desc { font-size: 14px; line-height: 1.65; color: var(--slate); }
.island-desc .link { font-size: 13.5px; }
.island-desc.clamp { display: block; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.act-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);
}
.act-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.act-ico {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 21px;
  background: var(--blue-050);
  margin-bottom: 10px;
}
.act-ico img { width: 26px; height: 26px; object-fit: contain; }
.act-card h4 { font-family: var(--f-head); font-weight: 800; font-size: 14px; }
.act-card p { font-size: 12px; color: var(--mist); line-height: 1.5; margin-top: 4px; }

.mini-hotels { display: flex; flex-direction: column; gap: 11px; }
.mini-hotel {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);
}
.mini-hotel:hover { transform: translateX(4px); box-shadow: var(--shadow-card); }
.mini-hotel img { width: 74px; height: 74px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; }
.mini-hotel-body { flex: 1; min-width: 0; }
.mini-hotel-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini-hotel h4 { font-family: var(--f-head); font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-hotel-loc { font-size: 11.5px; color: var(--mist); margin-top: 3px; }
.mini-hotel-price { font-family: var(--f-body); font-weight: 700; font-size: 14px; color: var(--blue-link); margin-top: 6px; }
.mini-hotel-price small { font-weight: 400; font-size: 11px; color: var(--mist); }
.mini-hotel .badge { font-size: 10px; padding: 4px 8px; }

.beach-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 calc(-1 * var(--pad));
  padding: 4px var(--pad) 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.beach-strip::-webkit-scrollbar { display: none; }
.beach-card {
  position: relative;
  flex: 0 0 148px;
  height: 190px;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
}
.beach-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beach-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 26, 42, 0.7), transparent 55%); z-index: 1; }
.beach-meta { position: absolute; left: 11px; right: 11px; bottom: 10px; z-index: 2; color: #fff; }
.beach-meta h5 { font-family: var(--f-head); font-weight: 800; font-size: 13.5px; margin: 0; }
.beach-meta p { font-size: 10.5px; opacity: 0.85; margin-top: 2px; }

/* ---- Island Detail cinematic (dark + gold) — scoped to .scr-island only ---- */
.scr-island { background: linear-gradient(180deg, #0b1a2b 0%, #081421 42%, #050d17 100%); }
.scr-island .island-name { color: #fff; }
.scr-island .island-region { color: rgba(255, 255, 255, 0.6); }
.scr-island .sub-title { color: #fff; }
.scr-island .island-desc { color: rgba(255, 255, 255, 0.72); }
.scr-island .island-desc .link { color: var(--gold); }
/* Best Island badge → gold glass */
.scr-island .island-title-row .badge {
  background: rgba(200, 169, 106, 0.16);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.5);
  box-shadow: none;
}
.scr-island .island-title-row .badge .badge-ico { color: var(--gold); }
/* tag chips → dark glass */
.scr-island .chip {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
/* activity cards → dark glass + light icon tile */
.scr-island .act-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.7);
}
.scr-island .act-card:hover { border-color: rgba(200, 169, 106, 0.4); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.8); }
.scr-island .act-ico { background: rgba(255, 255, 255, 0.94); }
.scr-island .act-card h4 { color: #fff; }
.scr-island .act-card p { color: rgba(255, 255, 255, 0.55); }
/* mini hotels → dark glass */
.scr-island .mini-hotel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.7);
}
.scr-island .mini-hotel:hover { border-color: rgba(200, 169, 106, 0.4); }
.scr-island .mini-hotel h4 { color: #fff; }
.scr-island .mini-hotel-loc { color: rgba(255, 255, 255, 0.5); }
.scr-island .mini-hotel-price { color: var(--gold); }
.scr-island .mini-hotel-price small { color: rgba(255, 255, 255, 0.5); }
.scr-island .mini-hotel .badge.badge-blue {
  background: rgba(200, 169, 106, 0.18);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.5);
  box-shadow: none;
}
/* sticky CTA → dark scrim + gold gradient button */
.scr-island .sticky-cta { background: linear-gradient(to top, #050d17 62%, rgba(5, 13, 23, 0)); }
.scr-island .sticky-cta .btn-primary {
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
.scr-island .sticky-cta .btn-primary .btn-ico { color: #2a1e08; }
/* scroll-activated header → dark glass (shared .solid rule is light) */
.scr-island .bar-overlay.solid {
  background: rgba(9, 18, 30, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.scr-island .bar-overlay.solid .bar-title { color: #fff; text-shadow: none; }
.scr-island .bar-overlay.solid .icon-btn.glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

/* ============ ITINERARY STOP DETAIL ============ */
.stop-hero {
  position: relative;
  height: 194px;
  margin-top: 12px;
  /* clip the CAROUSEL VIEWPORT here (parent stays still); the track is what
     gets translateX'd, so clipping on the track hid every slide after the first */
  overflow: hidden;
  border-radius: var(--r-sm);
}
.stop-hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease-ios);
  will-change: transform;
}
.stop-hero-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
/* Figma 1186:36717 — dots sit in a white pill overlapping the image bottom */
.stop-hero-dots {
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.34px;
  padding: 6.5px 13px;
  background: #fff;
  border-radius: 16px 16px 5px 5px;
  box-shadow: 0 3px 8px rgba(11, 46, 82, 0.14);
  background: #0b1a2b;
}
.stop-hero-dots span {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #dce0e3;
  transition: width var(--t-fast) var(--ease-out), height var(--t-fast) var(--ease-out), background var(--t-fast);
  cursor: pointer;
}
.stop-hero-dots span.near { width: 5px; height: 5px; }
.stop-hero-dots span.on { width: 8px; height: 8px; background: var(--gold); }
.stop-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.stop-name { font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.stop-tagline { font-size: 12px; color: var(--slate); margin-top: 2px; }
.stop-days-pill {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--mist);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.stop-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.stop-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f6f8fa;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 7px 12px;
  box-shadow: 0 2px 45px 0 rgba(27, 27, 77, 0.04);
}
.stop-fact-label { font-size: 12px; color: var(--slate); }
.stop-fact-value { font-size: 14px; color: var(--ink); }
.stop-list { display: flex; flex-direction: column; gap: 12px; }
.stop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: 0 2px 22.5px 0 rgba(27, 27, 77, 0.04);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast);
}
.stop-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.stop-row:active { transform: scale(0.98); }
.stop-row-ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.8px solid var(--blue-link);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 20px;
  overflow: hidden;
}
.stop-row-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.stop-row-text { flex: 1; min-width: 0; }
.stop-row-title { font-family: var(--f-head); font-size: 14px; color: var(--ink); }
.stop-row-sub { font-size: 12px; color: var(--mist); margin-top: 2px; }
.stop-row-chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--mist); }

/* ============ ABOUT ISLAND (itinerary sub-page) ============ */
.about-head { margin-top: 14px; }
.about-desc { font-size: 12px; color: var(--slate); line-height: 1.4; margin-top: 10px; }
.about-desc p { margin: 0 0 2px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mist);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 8px;
}
.story-list { display: flex; flex-direction: column; gap: 12px; }
.story-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.07);
}
.story-card-img { width: 100%; height: 182px; border-radius: var(--r-sm); overflow: hidden; }
.story-card-img img { width: 100%; height: 100%; object-fit: cover; }
.story-card-title { font-size: 14px; color: #101010; margin-top: 12px; }
.story-card-desc { font-size: 12px; color: var(--slate); margin-top: 4px; line-height: 1.4; }

/* ============ WHERE TO STAY (itinerary sub-page) ============ */
.stay-group { margin-top: 20px; }
.stay-group:first-child { margin-top: 12px; }
.stay-group-title { font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.stay-hotel-card {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 108px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: 0 2px 22.5px 0 rgba(27, 27, 77, 0.04);
  margin-bottom: 16px;
}
.stay-hotel-card:last-child { margin-bottom: 0; }
.stay-hotel-img { width: 84px; height: 84px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; }
.stay-hotel-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.stay-hotel-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stay-hotel-name { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stay-hotel-rating { display: flex; align-items: center; gap: 4px; font-family: var(--f-body); font-weight: 700; font-size: 12px; color: var(--ink); flex: 0 0 auto; }
.stay-hotel-rating svg { width: 16px; height: 16px; fill: #ffd33c; }
.stay-hotel-addr { font-size: 12px; color: var(--mist); margin-top: 4px; }
.stay-hotel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.stay-hotel-price { font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--blue-link); }
.stay-hotel-price small { font-family: var(--f-head); font-weight: 400; font-size: 14px; color: var(--mist); }
.stay-hotel-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #fff;
  background: var(--blue-link);
  border-radius: 7px;
  padding: 4px 6px;
  white-space: nowrap;
}

/* ============ SIMPLE LIST — Things to Do / Peter's Picks ============ */
.simple-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.simple-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: 0 2px 22.5px 0 rgba(27, 27, 77, 0.04);
}
.simple-card-img { width: 84px; height: 84px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; }
.simple-card-title { font-family: var(--f-head); font-weight: 500; font-size: 16px; color: var(--ink); }
.simple-card-desc { font-size: 12px; color: var(--slate); margin-top: 4px; line-height: 1.4; }

/* ============ DON'T MISS grid (itinerary sub-page) ============ */
.miss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.miss-card { position: relative; height: 218px; border-radius: 20px; overflow: hidden; isolation: isolate; }
.miss-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.miss-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.53), transparent 65%); z-index: 1; }
.miss-card-title { position: absolute; left: 13px; right: 13px; bottom: 14px; z-index: 2; color: #fff; font-size: 16px; }

/* ---- Itinerary stop-detail + sub-pages cinematic (dark + gold) — scoped ---- */
.scr-stop, .scr-stop-sub { background: linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%); }
.scr-stop .bar, .scr-stop-sub .bar { background: transparent; }
.scr-stop .bar-title, .scr-stop-sub .bar-title { color: #fff; }
.scr-stop .bar .icon-btn, .scr-stop-sub .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.scr-stop .sub-title, .scr-stop-sub .sub-title { color: #fff; }
.scr-stop .stop-name, .scr-stop-sub .stop-name { color: #fff; }
.scr-stop .stop-tagline, .scr-stop-sub .stop-tagline { color: rgba(255, 255, 255, 0.6); }
.scr-stop .stop-days-pill { background: rgba(200, 169, 106, 0.16); color: var(--gold); border: 1px solid rgba(200, 169, 106, 0.4); }
/* about-the-island facts */
.scr-stop .stop-fact { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-stop .stop-fact-label { color: rgba(255, 255, 255, 0.55); }
.scr-stop .stop-fact-value { color: #fff; }
/* explore rows */
.scr-stop .stop-row { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-stop .stop-row:hover { border-color: rgba(200, 169, 106, 0.4); box-shadow: none; }
.scr-stop .stop-row-ico { background: rgba(255, 255, 255, 0.9); border-color: rgba(200, 169, 106, 0.55); }
.scr-stop .stop-row-title { color: #fff; }
.scr-stop .stop-row-sub { color: rgba(255, 255, 255, 0.55); }
.scr-stop .stop-row-chev { color: var(--gold); }
/* About sub-page */
.scr-stop-sub .about-desc { color: rgba(255, 255, 255, 0.68); }
.scr-stop-sub .about-tag { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); }
.scr-stop-sub .story-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-stop-sub .story-card-title { color: #fff; }
.scr-stop-sub .story-card-desc { color: rgba(255, 255, 255, 0.6); }
/* Things to Do / Peter's Picks simple cards */
.scr-stop-sub .simple-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-stop-sub .simple-card-title { color: #fff; }
.scr-stop-sub .simple-card-desc { color: rgba(255, 255, 255, 0.6); }
/* Where to Stay — grouped hotel cards */
.scr-stop-sub .stay-group-title { color: #fff; }
.scr-stop-sub .stay-hotel-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-stop-sub .stay-hotel-name { color: #fff; }
.scr-stop-sub .stay-hotel-rating { color: #fff; }
.scr-stop-sub .stay-hotel-addr { color: rgba(255, 255, 255, 0.5); }
.scr-stop-sub .stay-hotel-price { color: var(--gold); }
.scr-stop-sub .stay-hotel-price small { color: rgba(255, 255, 255, 0.5); }
.scr-stop-sub .stay-hotel-pick { background: linear-gradient(135deg, #e7cb8e, #c8a96a); color: #2a1e08; }
/* Don't Miss photo cards */
.scr-stop-sub .miss-card { border: 1px solid rgba(255, 255, 255, 0.1); }

.match-card {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  background: var(--blue-050);
  border: 1.4px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 14px 15px;
  margin-top: 14px;
}
.match-card h4 { font-family: var(--f-head); font-weight: 800; font-size: 13.5px; color: var(--blue-600); }
.match-card p { font-size: 12px; color: var(--slate); margin-top: 4px; }
.dot-sep { margin: 0 4px; color: var(--mist); }

.map-mini { position: relative; height: 128px; overflow: hidden; margin-top: 4px; }
.map-mini-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--blue-050) 1.4px, transparent 1.4px) 0 0/26px 26px,
    linear-gradient(90deg, var(--blue-050) 1.4px, transparent 1.4px) 0 0/26px 26px,
    linear-gradient(120deg, #f2f8fe, #e9f3fc);
}
.map-mini-grid::before {
  content: '';
  position: absolute;
  left: -10%;
  top: 30%;
  width: 120%;
  height: 24px;
  background: #d8ebfb;
  transform: rotate(-6deg);
  border-radius: var(--r-pill);
}
.map-mini-pin {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -100%);
  color: var(--danger);
  animation: pin-bounce 2.4s var(--ease-spring) infinite;
}
.map-mini-pin svg { width: 30px; height: 30px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }
@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -100%); }
  50% { transform: translate(-50%, -128%); }
}
.map-mini-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 11.5px;
  color: var(--slate);
}

.qa-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.qa-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.qa-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 15px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}
.qa-q .qa-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-050);
  font-size: 14px;
}
.qa-q .qa-caret { margin-left: auto; width: 18px; height: 18px; color: var(--mist); transition: transform var(--t-med) var(--ease-spring); flex: 0 0 auto; }
.qa-item.open .qa-caret { transform: rotate(180deg); }
.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease-out);
}
.qa-a-inner { padding: 0 15px 14px 55px; font-size: 13px; color: var(--slate); line-height: 1.6; }
.qa-date { display: block; margin-top: 8px; font-size: 11px; color: var(--mist); }

.review-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 15px;
  box-shadow: var(--shadow-soft);
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.review-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.review-name { font-family: var(--f-head); font-weight: 800; font-size: 13.5px; }
.review-when { font-size: 11px; color: var(--mist); }
.review-stars { margin-left: auto; display: flex; gap: 2px; }
.review-stars svg { width: 14px; height: 14px; fill: #f5c518; }
.review-text { font-size: 13px; line-height: 1.6; color: var(--slate); }

/* ============ ITINERARY MODALS ============ */
.island-list {
  max-height: 300px;
  overflow-y: auto;
  margin: 12px 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.island-list::-webkit-scrollbar { display: none; }
.island-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.island-item:last-child { border-bottom: none; }
.island-item-name { flex: 1; font-size: 15px; color: var(--ink); }
.island-item-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  flex: 0 0 auto;
}
.island-item.selected .island-item-checkbox {
  background: var(--blue-link);
  border-color: var(--blue-link);
}
.island-item.selected .island-item-checkbox::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* search box sits inside the bsheet's own padding — no extra inset */
.bsheet .searchbar.slim { margin: 4px 0 12px; }

/* stay adjusters — day duration controls */
.stay-adjusters { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.adjuster-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 12px;
}
.adjuster-label { font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.adjuster-controls { display: flex; align-items: center; gap: 8px; }
.adjuster-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 14px;
  color: var(--ink);
}
.adjuster-btn:hover { border-color: var(--blue-link); color: var(--blue-link); }
.adjuster-btn.plus {
  background: var(--blue-link);
  border-color: var(--blue-link);
  color: #fff;
}
.adjuster-value {
  width: 40px;
  text-align: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
}
.adjuster-drag {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  cursor: grab;
  font-size: 14px;
}

/* ============ ITINERARY ============ */
.itn-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 11px;
  margin-top: 8px;
  box-shadow: var(--shadow-soft);
}
.itn-summary-img { width: 62px; height: 62px; border-radius: var(--r-sm); object-fit: cover; }
.itn-summary-route { font-family: var(--f-head); font-weight: 800; font-size: 14.5px; line-height: 1.4; margin-bottom: 7px; }
.itn-map {
  position: relative;
  margin-top: 14px;
  aspect-ratio: 350 / 280;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #efefef;
  background: linear-gradient(168deg, #4a9be8 0%, #2f7fc4 55%, #1f6fb2 100%);
  box-shadow: var(--shadow-card);
}
.itn-map-glow {
  position: absolute;
  top: -30%;
  left: -10%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  pointer-events: none;
}
.itn-map-greece {
  position: absolute;
  left: 9.43%;
  top: 6.43%;
  width: 77.1%;
  height: 87.5%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(11, 46, 82, 0.25));
}
.itn-map-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.itn-route-path { opacity: 0; }
.itn-map.in .itn-route-path { animation: itn-route-in 0.9s ease 0.15s forwards; }
@keyframes itn-route-in { to { opacity: 1; } }
.itn-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  opacity: 0;
}
.itn-map.in .itn-pin { animation: itn-pin-drop 0.55s var(--ease-spring) forwards; }
.itn-map.in .itn-pin:nth-of-type(1) { animation-delay: 0.20s; }
.itn-map.in .itn-pin:nth-of-type(2) { animation-delay: 0.32s; }
.itn-map.in .itn-pin:nth-of-type(3) { animation-delay: 0.44s; }
.itn-map.in .itn-pin:nth-of-type(4) { animation-delay: 0.56s; }
@keyframes itn-pin-drop {
  0% { opacity: 0; transform: translate(-50%, -150%) scale(0.6); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.itn-pin-dot {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--blue-link);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
}
.itn-pin.start .itn-pin-dot { border-color: #fff; border-width: 2px; }
.itn-pin-dot svg { width: 10px; height: 12px; color: #fff; }
.itn-pin-tag {
  position: absolute;
  left: 0;
  bottom: 14px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--ink);
  font-family: var(--f-head);
  font-size: 10px;
  line-height: 12px;
  padding: 3px 8px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(11, 46, 82, 0.2);
}
.itn-pin-tag::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 1px;
}

.timeline { position: relative; padding-left: 4px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  border-left: 2.5px dotted var(--blue-100);
}
.tl-progress {
  content: '';
  position: absolute;
  left: 21px;
  top: 8px;
  height: 0;
  border-left: 2.5px solid var(--blue-link);
  transition: height 0.2s linear;
  border-radius: 2px;
}
.tl-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 7px 0;
}
.tl-node {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-100);
  display: grid;
  place-items: center;
  font-size: 16px;
  z-index: 1;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease-spring);
}
.tl-item.passed .tl-node { border-color: var(--blue-link); box-shadow: 0 0 0 4px rgba(1, 118, 210, 0.12); }
.tl-card {
  flex: 1;
  border-radius: var(--r-md);
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.tl-item.stay .tl-card {
  background: var(--blue-050);
  border: 1.4px solid var(--blue-100);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-spring);
}
.tl-item.stay .tl-card:active { transform: scale(0.98); }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.tl-label { font-family: var(--f-head); font-weight: 800; font-size: 13px; color: var(--slate); }
.tl-badge {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 10.5px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 7px;
  padding: 4px 8px;
}
.tl-route { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; font-size: 14.5px; }
.tl-route .tl-dots { flex: 1; border-top: 2px dotted var(--blue-100); position: relative; min-width: 24px; }
.tl-route .tl-mode { font-size: 14px; }
.tl-place { font-family: var(--f-head); font-weight: 800; font-size: 15.5px; }
.tl-note { display: flex; gap: 6px; font-size: 12px; color: var(--slate); line-height: 1.55; margin-top: 6px; }
.tl-note .n-ico { flex: 0 0 auto; }
.tl-link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--blue-link); margin-top: 9px; }
.tl-link svg { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease-spring); }
.tl-link:hover svg { transform: translateX(3px); }

/* ---- Itinerary cinematic (dark + gold) — scoped ---- */
.scr-itinerary { background: linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%); }
.scr-itinerary .bar { background: transparent; }
.scr-itinerary .bar-title { color: #fff; }
.scr-itinerary .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
/* trip summary card */
.scr-itinerary .itn-summary { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-itinerary .itn-summary-route { color: #fff; }
.scr-itinerary .chip-soft { background: rgba(200, 169, 106, 0.16); color: var(--gold); }
/* map keeps its blue sea panel (maps read light) — just a hairline + lift on dark */
.scr-itinerary .itn-map { border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.8); }
/* section heading + edit-stay */
.scr-itinerary .section-title { color: #fff; }
.scr-itinerary .btn-soft { background: rgba(200, 169, 106, 0.18); color: var(--gold); }
/* timeline */
.scr-itinerary .timeline::before { border-left-color: rgba(255, 255, 255, 0.18); }
.scr-itinerary .tl-progress { border-left-color: var(--gold); }
.scr-itinerary .tl-node { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px);}
.scr-itinerary .tl-item.passed .tl-node { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.14); }
.scr-itinerary .tl-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-itinerary .tl-item.stay .tl-card { background: rgba(200, 169, 106, 0.1); border: 1px solid rgba(200, 169, 106, 0.32); }
.scr-itinerary .tl-label { color: rgba(255, 255, 255, 0.6); }
.scr-itinerary .tl-badge { background: linear-gradient(135deg, #e7cb8e, #c8a96a); color: #2a1e08; }
.scr-itinerary .tl-route { color: #fff; }
.scr-itinerary .tl-route .tl-dots { border-top-color: rgba(255, 255, 255, 0.25); }
.scr-itinerary .tl-place { color: #fff; }
.scr-itinerary .tl-note { color: rgba(255, 255, 255, 0.6); }
.scr-itinerary .tl-link { color: var(--gold); }
/* explore-more banner → deep dark gradient (was blue) */
.scr-itinerary .cta-banner { background: linear-gradient(135deg, #16304a 0%, #0a1421 100%); }
/* sticky Book Now → gold */
.scr-itinerary .sticky-cta { background: linear-gradient(to top, #050d17 62%, rgba(5, 13, 23, 0)); }
.scr-itinerary .sticky-cta .btn-primary {
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
/* Edit-Stay + Add-Island bottom sheets (both live inside .scr-itinerary) → dark */
.scr-itinerary .bsheet { background: linear-gradient(180deg, #101e30 0%, #0a1420 100%); }
.scr-itinerary .bsheet-title { color: #fff; }
.scr-itinerary .bsheet-sub { color: rgba(255, 255, 255, 0.6); }
.scr-itinerary .bsheet .icon-btn { color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: none; }
.scr-itinerary .adjuster-row { background: rgba(255, 255, 255, 0.05); }
.scr-itinerary .adjuster-label, .scr-itinerary .adjuster-value { color: #fff; }
.scr-itinerary .adjuster-btn { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.scr-itinerary .adjuster-btn:hover { border-color: var(--gold); color: var(--gold); }
.scr-itinerary .adjuster-btn.plus { background: linear-gradient(135deg, #e7cb8e, #c8a96a); border-color: transparent; color: #2a1e08; }
.scr-itinerary .btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: none; }
.scr-itinerary .bsheet .btn-primary { background: linear-gradient(135deg, #e7cb8e, #c8a96a); color: #2a1e08; box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7); }
.scr-itinerary .bsheet .searchbar { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.scr-itinerary .bsheet .searchbar-ico { color: var(--gold); }
.scr-itinerary .bsheet .searchbar input { color: #fff; }
.scr-itinerary .bsheet .searchbar input::placeholder { color: rgba(255, 255, 255, 0.45); }
.scr-itinerary .island-item { border-bottom-color: rgba(255, 255, 255, 0.1); }
.scr-itinerary .island-item-name { color: #fff; }
.scr-itinerary .island-item-checkbox { border-color: rgba(255, 255, 255, 0.3); }
.scr-itinerary .island-item.selected .island-item-checkbox { background: var(--gold); border-color: var(--gold); }
.scr-itinerary .island-item.selected .island-item-checkbox::after { border-color: #2a1e08; }

/* ============ HOTELS LIST ============ */
.chip-scroller {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 8px var(--pad) 10px;
  scrollbar-width: none;
  flex: 0 0 auto;
}
.chip-scroller::-webkit-scrollbar { display: none; }
.hotel-list { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.hotel-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.6s var(--ease-spring), box-shadow var(--t-fast);
  cursor: pointer;
}
.hotel-card.in { opacity: 1; transform: none; }
.hotel-card:hover { box-shadow: var(--shadow-card); }
.hotel-media { position: relative; height: 176px; overflow: hidden; }
.hotel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-spring); }
.hotel-card:hover .hotel-media img { transform: scale(1.05); }
.hotel-media .badge { position: absolute; top: 12px; right: 12px; }
.hotel-body { padding: 13px 15px 15px; }
.hotel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hotel-name { font-family: var(--f-head); font-weight: 800; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hotel-loc { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mist); margin-top: 5px; }
.hotel-loc svg { width: 13px; height: 13px; flex: 0 0 auto; }
.hotel-perks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hotel-perk { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--green); font-weight: 500; }
.hotel-perk.alt { color: var(--slate); }
.hotel-perk svg { width: 13px; height: 13px; }
.hotel-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 10px; }
.hotel-price { font-family: var(--f-body); font-weight: 700; font-size: 16.5px; color: var(--blue-link); }
.hotel-fees { font-size: 11px; color: var(--mist); }

/* ---- Hotels listing cinematic (dark + gold) — scoped ---- */
.scr-hotels {
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(200, 169, 106, 0.14), transparent 58%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 48%, #050d17 100%);
}
.scr-hotels > * { position: relative; z-index: 2; }
.scr-hotels .bar { background: transparent; }
.scr-hotels .bar-title { color: #fff; }
.scr-hotels .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scr-hotels .searchbar {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scr-hotels .searchbar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.16); }
.scr-hotels .searchbar-ico { color: var(--gold); opacity: 0.92; }
.scr-hotels .searchbar input { color: #fff; }
.scr-hotels .searchbar input::placeholder { color: rgba(255, 255, 255, 0.42); }
.scr-hotels .icon-btn.sm.search-filter { color: rgba(255, 255, 255, 0.85); }
.scr-hotels .chip-filter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}
.scr-hotels .chip-filter.active {
  background: rgba(200, 169, 106, 0.16);
  border-color: var(--gold);
  color: #fff;
}
.scr-hotels .hotel-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px -22px rgba(0, 0, 0, 0.8);
}
.scr-hotels .hotel-name { color: #fff; }
.scr-hotels .hotel-loc { color: rgba(255, 255, 255, 0.5); }
.scr-hotels .hotel-perk.alt { color: rgba(255, 255, 255, 0.6); }
.scr-hotels .hotel-price { color: var(--gold); }
.scr-hotels .hotel-fees { color: rgba(255, 255, 255, 0.5); }

/* ---- Hotel detail cinematic (dark + gold) — scoped ---- */
.scr-hotel { background: linear-gradient(180deg, #0b1a2b 0%, #081421 42%, #050d17 100%); }
.scr-hotel .island-name { color: #fff; }
.scr-hotel .island-region { color: rgba(255, 255, 255, 0.6); }
.scr-hotel .rating { color: #fff; }
.scr-hotel .sub-title { color: #fff; }
.scr-hotel .island-desc { color: rgba(255, 255, 255, 0.72); }
.scr-hotel .island-desc .link,
.scr-hotel .section-row .link,
.scr-hotel .map-mini-meta .link { color: var(--gold); }
.scr-hotel .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.scr-hotel .card-title { color: #fff; }
.scr-hotel .kv { background: rgba(255, 255, 255, 0.06); }
.scr-hotel .kv-k { color: rgba(255, 255, 255, 0.55); }
.scr-hotel .kv-v { color: #fff; }
.scr-hotel .match-card { background: rgba(200, 169, 106, 0.12); border-color: rgba(200, 169, 106, 0.4); }
.scr-hotel .match-card h4 { color: var(--gold); }
.scr-hotel .match-card p { color: rgba(255, 255, 255, 0.62); }
.scr-hotel .chip {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.scr-hotel .btn-soft { background: rgba(200, 169, 106, 0.18); color: var(--gold); }
.scr-hotel .btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.24); }
.scr-hotel .map-mini { border: 1px solid rgba(255, 255, 255, 0.12); }
.scr-hotel .qa-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-hotel .qa-q { color: #fff; }
/* Q&A icon → gold chat sprite on gold-tint tile (was a washed-out emoji on white) */
.scr-hotel .qa-q .qa-ico { width: 32px; height: 32px; background: rgba(200, 169, 106, 0.16); border: 1px solid rgba(200, 169, 106, 0.28); }
.scr-hotel .qa-q .qa-ico svg { width: 16px; height: 16px; color: var(--gold); }
.scr-hotel .qa-q .qa-caret { color: rgba(255, 255, 255, 0.5); }
.scr-hotel .qa-item.open .qa-caret { color: var(--gold); }
.scr-hotel .qa-a-inner { color: rgba(255, 255, 255, 0.6); }
.scr-hotel .review-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; }
.scr-hotel .review-name { color: #fff; }
.scr-hotel .review-text { color: rgba(255, 255, 255, 0.68); }
.scr-hotel .sticky-cta { background: linear-gradient(to top, #050d17 62%, rgba(5, 13, 23, 0)); }
.scr-hotel .price-big { color: var(--gold); }
.scr-hotel .price-fees { color: rgba(255, 255, 255, 0.5); }
.scr-hotel .sticky-cta .btn-primary {
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
.scr-hotel .bar-overlay.solid { background: rgba(9, 18, 30, 0.82); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.scr-hotel .bar-overlay.solid .bar-title { color: #fff; text-shadow: none; }
.scr-hotel .bar-overlay.solid .icon-btn.glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

/* ============ FERRY — cinematic (dark + gold) ============ */
.scr-ferry {
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(200, 169, 106, 0.14), transparent 58%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 48%, #050d17 100%);
}
.scr-ferry > * { position: relative; z-index: 2; }
.scr-ferry .bar { background: transparent; }
.scr-ferry .bar-title { color: #fff; }
.scr-ferry .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ferry-form { margin-top: 10px; }
.scr-ferry .ferry-form.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.8);
}
.ferry-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 4px;
  margin-bottom: 16px;
}
.ferry-tab {
  flex: 1;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12px;
  padding: 9px 4px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--t-fast) ease;
}
.ferry-tab.active {
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 6px 16px -8px rgba(200, 169, 106, 0.6);
}
.ferry-ports {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 4px 30px;
}
.port-field { display: flex; flex-direction: column; gap: 4px; max-width: 42%; }
.port-field.right { text-align: right; align-items: flex-end; }
.port-lbl { font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
.port-val { font-family: var(--f-head); font-weight: 800; font-size: 16.5px; line-height: 1.3; color: #fff; }
.swap-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.16);
  color: var(--gold);
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 169, 106, 0.4);
  transition: transform var(--t-med) var(--ease-spring), background var(--t-fast);
  z-index: 1;
}
.swap-btn svg { width: 19px; height: 19px; transform: rotate(90deg); }
.swap-btn:hover { background: rgba(200, 169, 106, 0.26); }
.swap-btn.spun { transform: rotate(180deg); }
.ferry-route-line {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  width: calc(100% - 16px);
  height: 26px;
  color: var(--gold);
  opacity: 0.8;
}
.ferry-form .two-col { margin: 4px 0 14px; }
.scr-ferry .input-like { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; }
.scr-ferry .input-like:hover { border-color: var(--gold); }
.scr-ferry .input-ico { color: var(--gold); }
.scr-ferry .ferry-form .btn-primary {
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}
.scr-ferry .ferry-form .btn-primary .btn-ico { color: #2a1e08; }

/* ferry search results (were unstyled — built in the cinematic language) */
.ferry-results { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.ferry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 16px 38px -22px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-spring);
}
.ferry-card.in { opacity: 1; transform: none; }
.ferry-head { display: flex; align-items: center; gap: 12px; }
.ferry-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 15px;
  background: rgba(200, 169, 106, 0.16);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.35);
}
.ferry-head > div { flex: 1; min-width: 0; }
.ferry-vessel { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: #fff; }
.ferry-operator { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }
.ferry-head .badge.badge-blue {
  background: rgba(200, 169, 106, 0.18);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.45);
  box-shadow: none;
}
.ferry-times {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ferry-time { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; }
.ferry-time.right { text-align: right; }
.ft-place { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: #fff; }
.ft-time { font-family: var(--f-head); font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.ft-date { font-size: 10.5px; color: rgba(255, 255, 255, 0.45); }
.ferry-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 40px; }
.fm-boat { font-size: 16px; }
.fm-line { width: 100%; height: 0; border-top: 2px dashed rgba(255, 255, 255, 0.2); }
.fm-dur { font-size: 11px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.ferry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ferry-price { font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--gold); }
.ferry-price small { font-family: var(--f-body); font-weight: 400; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); }
.ferry-select {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #e7cb8e, #c8a96a);
  color: #2a1e08;
  box-shadow: 0 10px 22px -12px rgba(200, 169, 106, 0.7);
}
/* ferry booking card (Figma 1925:25333) */
.bk-ferry { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.bkf-top { display: flex; align-items: center; justify-content: space-between; }
.bkf-amenities { display: flex; align-items: center; gap: 8px; color: #a5a5a5; }
.bkf-amenities svg { width: 20px; height: 20px; }
.bkf-paw { transform: rotate(-90deg); }
.bkf-op { display: flex; align-items: center; gap: 12px; }
.bkf-logo { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.bkf-vessel { font-family: var(--f-head); font-size: 16px; color: var(--ink); }
.bkf-operator { font-size: 14px; color: var(--mist); margin-top: 3px; }
.bkf-route { display: flex; align-items: center; gap: 12px; }
.bkf-point { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 46px; flex: 0 0 auto; }
.bkf-place { font-size: 14px; color: var(--ink); }
.bkf-time { font-family: var(--f-head); font-weight: 500; font-size: 12px; color: var(--mist); }
.bkf-date { font-size: 10px; color: var(--mist); }
.bkf-dash { flex: 1; min-width: 16px; border-top: 2px dashed var(--blue-100); }
.bkf-mid { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 0 0 auto; }
.bkf-boat { width: 24px; height: 24px; color: var(--blue-link); }
.bkf-dur { font-size: 12px; color: var(--mist); }

/* ============ BOOKINGS ============ */
.booking-list { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.bk-card {
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-spring);
}
.bk-card.in { opacity: 1; transform: none; }
.bk-media { position: relative; height: 182px; overflow: hidden; border-radius: 12px 12px 0 0; }
.bk-media img { width: 100%; height: 100%; object-fit: cover; }
.bk-fav {
  position: absolute;
  left: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: rgba(217, 217, 217, 0.6);
  display: grid;
  place-items: center;
}
.bk-fav img { width: 20px; height: 20px; display: block; }
.bk-body { padding: 12px; }
.bk-title { font-family: var(--f-head); font-weight: 400; font-size: 16px; color: var(--ink); }
.bk-title.hotel { font-weight: 500; }
.bk-title-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bk-title-row .rating { display: flex; align-items: center; gap: 4px; font-family: 'Plus Jakarta Sans', var(--f-head); font-weight: 700; font-size: 12px; color: var(--ink); flex: 0 0 auto; }
.rating-star-img { width: 20px; height: 20px; }
.bk-chips { display: flex; gap: 7px; margin-top: 8px; }
.bk-chip {
  font-size: 12px;
  color: var(--mist);
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 26px;
  padding: 3px 10px;
}
.bk-divider { height: 1px; background: #efefef; margin: 12px 0; }
.bk-rows { display: flex; align-items: flex-start; justify-content: space-between; }
.bk-kv { display: flex; flex-direction: column; gap: 6px; }
.bk-kv.right { text-align: right; align-items: flex-end; }
.bk-kv .k { font-size: 14px; color: var(--slate); }
.bk-kv .v { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: var(--ink); }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bk-price { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--blue-link); }
.btn-cancel {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 14px;
  color: #ff2828;
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 8px;
  width: 131px;
  height: 40px;
  box-shadow: 1px 3px 14.7px 0 rgba(0, 0, 0, 0.13);
  transition: all var(--t-fast) ease;
}
.btn-cancel:hover { background: #fff7f7; }
/* booking-card scoped icon/typography to match Figma (avoid touching hotel screens) */
.bk-card .hotel-loc { font-size: 12px; color: var(--mist); margin-top: 0; }
.bk-card .hotel-loc svg { width: 16px; height: 16px; color: var(--mist); }
.bk-card .hotel-perks { gap: 8px; margin-top: 0; }
.bk-card .hotel-perk { font-size: 12px; color: #3f843c; font-weight: 400; gap: 4px; }
.bk-card .hotel-perk.alt { color: var(--mist); }
.bk-card .hotel-perk svg { width: 16px; height: 16px; }
.bk-card .bk-title-row + .hotel-loc { margin-top: 4px; }
.bk-status { font-family: var(--f-head); font-weight: 700; font-size: 12.5px; padding: 8px 14px; border-radius: var(--r-sm); }
.bk-status.done { color: var(--green); background: #e9f7f0; }
.bk-status.cancelled { color: var(--danger); background: #fdf0ef; }

/* ---- Booking History listing cinematic (dark + gold) — scoped ---- */
.scr-bookings {
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(200, 169, 106, 0.14), transparent 58%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 48%, #050d17 100%);
}
.scr-bookings > * { position: relative; z-index: 2; }
.scr-bookings .bar { background: transparent; }
.scr-bookings .bar-title { color: #fff; }
.scr-bookings .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scr-bookings .seg-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}
.scr-bookings .seg-tab.active {
  background: rgba(200, 169, 106, 0.16);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(200, 169, 106, 0.5);
}
.scr-bookings .bk-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px -22px rgba(0, 0, 0, 0.8);
}
.scr-bookings .bk-title { color: #fff; }
.scr-bookings .bk-title-row .rating { color: #fff; }
.scr-bookings .bk-chip { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.7); border-color: rgba(255, 255, 255, 0.14); }
.scr-bookings .bk-divider { background: rgba(255, 255, 255, 0.1); }
.scr-bookings .bk-kv .k { color: rgba(255, 255, 255, 0.55); }
.scr-bookings .bk-kv .v { color: #fff; }
.scr-bookings .bk-price { color: var(--gold); }
.scr-bookings .bk-card .hotel-loc { color: rgba(255, 255, 255, 0.5); }
.scr-bookings .bk-card .hotel-perk.alt { color: rgba(255, 255, 255, 0.55); }
.scr-bookings .btn-cancel {
  background: rgba(255, 56, 60, 0.12);
  border: 1px solid rgba(255, 56, 60, 0.35);
  color: #ff6165;
  box-shadow: none;
}
.scr-bookings .btn-cancel:hover { background: rgba(255, 56, 60, 0.2); }
.scr-bookings .bk-status.done { color: #6fe0ad; background: rgba(46, 204, 133, 0.14); }
.scr-bookings .bk-status.cancelled { color: #ff7a7d; background: rgba(255, 56, 60, 0.14); }
/* ferry booking card */
.scr-bookings .chip-badge-grad { background: rgba(200, 169, 106, 0.18); color: var(--gold); }
.scr-bookings .bkf-vessel,
.scr-bookings .bkf-place { color: #fff; }
.scr-bookings .bkf-operator,
.scr-bookings .bkf-time,
.scr-bookings .bkf-date,
.scr-bookings .bkf-dur { color: rgba(255, 255, 255, 0.55); }
.scr-bookings .bkf-amenities { color: rgba(255, 255, 255, 0.55); }
.scr-bookings .bkf-dash { border-top-color: rgba(255, 255, 255, 0.2); }
.scr-bookings .bkf-boat { color: var(--gold); }

/* ---- Booking detail cinematic (dark + gold) — scoped ---- */
.scr-bkdetail { background: linear-gradient(180deg, #0b1a2b 0%, #081421 42%, #050d17 100%); }
.scr-bkdetail .bar { background: transparent; }
.scr-bkdetail .bar-title { color: #fff; }
.scr-bkdetail .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.scr-bkdetail .bkd-summary,
.scr-bkdetail .bkd-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.scr-bkdetail .bkd-summary-name { color: #fff; }
.scr-bkdetail .bkd-summary-loc { color: rgba(255, 255, 255, 0.5); }
.scr-bkdetail .bkd-summary-price { color: var(--gold); }
.scr-bkdetail .bkd-summary-price small { color: rgba(255, 255, 255, 0.5); }
/* contact icons → gold sprite on a gold-tint tile (was blue img on white chip) */
.scr-bkdetail .bkd-ci { background: rgba(200, 169, 106, 0.16); border: 1px solid rgba(200, 169, 106, 0.28); }
.scr-bkdetail .bkd-ci svg { width: 18px; height: 18px; color: var(--gold); }
.scr-bkdetail .bkd-ci-label { color: rgba(255, 255, 255, 0.55); }
.scr-bkdetail .bkd-ci-val { color: #fff; }
.scr-bkdetail .bkd-msg-btn {
  background: rgba(200, 169, 106, 0.14);
  border-color: rgba(200, 169, 106, 0.5);
  color: var(--gold);
  box-shadow: none;
}
.scr-bkdetail .bkd-msg-btn svg { width: 18px; height: 18px; color: var(--gold); }
.scr-bkdetail .bkd-section-title { color: #fff; }
.scr-bkdetail .bkd-loc-addr { color: rgba(255, 255, 255, 0.82); }
.scr-bkdetail .bkd-open-map { color: var(--gold); }
.scr-bkdetail .bkd-group-title { color: var(--gold); }
.scr-bkdetail .bkd-kv .bkd-k { color: rgba(255, 255, 255, 0.6); }
.scr-bkdetail .bkd-kv .bkd-k img { filter: brightness(0) invert(0.65); }
.scr-bkdetail .bkd-kv .bkd-v { color: #fff; }
.scr-bkdetail .bkd-kv.total .bkd-k,
.scr-bkdetail .bkd-kv.total .bkd-v { color: var(--gold); }
.scr-bkdetail .bkd-divider { background: rgba(255, 255, 255, 0.1); }
.scr-bkdetail .sticky-cta { background: linear-gradient(to top, #050d17 62%, rgba(5, 13, 23, 0)); }
.scr-bkdetail .bkd-cancel-btn {
  background: rgba(255, 56, 60, 0.12);
  border: 1px solid rgba(255, 56, 60, 0.4);
  color: #ff6165;
  box-shadow: none;
}
.scr-bkdetail .bkd-cancel-btn:hover { background: rgba(255, 56, 60, 0.2); }

/* ============ PROFILE ============ */
.profile-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--blue-050);
  border-radius: var(--r-md);
  padding: 15px;
  margin-top: 8px;
}
.profile-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--white); box-shadow: var(--shadow-soft); }
.profile-meta { flex: 1; min-width: 0; }
.profile-meta h3 { font-family: var(--f-head); font-weight: 800; font-size: 16.5px; }
.profile-meta p { font-size: 12.5px; color: var(--slate); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; }
.group-label { font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: var(--mist); margin: 22px 0 12px; }
.menu-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.menu-card + .menu-card { margin-top: 14px; }
.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
  transition: background var(--t-fast) ease;
}
.menu-row:hover { background: #fbfaf8; }
.menu-row + .menu-row { border-top: 1px solid var(--line-soft); }
.menu-ico { width: 21px; height: 21px; color: var(--slate); flex: 0 0 auto; }
.menu-row span { flex: 1; }
.menu-row .switch { flex: 0 0 46px; }
.menu-val { flex: 0 0 auto !important; font-size: 12.5px; color: var(--mist); font-weight: 600; }
.menu-caret { width: 17px; height: 17px; color: var(--mist); flex: 0 0 auto; }
.menu-row.danger { color: var(--danger); font-weight: 700; }
.menu-row.danger .menu-ico { color: var(--danger); }
.app-version { text-align: center; font-size: 12px; color: var(--mist); margin: 20px 0 4px; }

/* ---- Profile cinematic (dark + gold) — scoped ---- */
.scr-profile {
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(200, 169, 106, 0.14), transparent 58%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 48%, #050d17 100%);
}
.scr-profile > * { position: relative; z-index: 2; }
.scr-profile .bar,
.scr-profile .bar.bar-plain { background: transparent; }
.scr-profile .bar-title-lg { color: #fff; }
.scr-profile .profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.scr-profile .profile-avatar { border-color: rgba(231, 203, 142, 0.7); }
.scr-profile .profile-meta h3 { color: #fff; }
.scr-profile .profile-meta p { color: rgba(255, 255, 255, 0.55); }
.scr-profile .profile-card .icon-btn { color: var(--gold); }
.scr-profile .group-label { color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-size: 11px; }
.scr-profile .menu-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.scr-profile .menu-row { color: #fff; }
.scr-profile .menu-row:hover { background: rgba(255, 255, 255, 0.04); }
.scr-profile .menu-row + .menu-row { border-top-color: rgba(255, 255, 255, 0.08); }
.scr-profile .menu-ico { color: var(--gold); }
/* the star glyph is a fill-less path (needs a fill to show); stroke icons keep
   their own g[fill=none] so this only colors the star, not the outlines */
.scr-profile .menu-ico { fill: currentColor; }
.scr-profile .menu-ico[class] use { fill: currentColor; }
.scr-profile .menu-val { color: rgba(255, 255, 255, 0.55); }
.scr-profile .menu-caret { color: rgba(255, 255, 255, 0.4); }
.scr-profile .menu-card.danger { background: rgba(255, 56, 60, 0.08); border-color: rgba(255, 56, 60, 0.28); }
.scr-profile .menu-row.danger { color: #ff6165; }
.scr-profile .menu-row.danger .menu-ico { color: #ff6165; }
.scr-profile .switch { background: rgba(255, 255, 255, 0.18); }
.scr-profile .switch.on { background: linear-gradient(135deg, #e7cb8e, #c8a96a); }
.scr-profile .app-version { color: rgba(255, 255, 255, 0.4); }

/* ============ REVIEW BOOKING ============ */
.rv-ferry-list, .rv-hotel-list, .rv-stay-list { display: flex; flex-direction: column; gap: 12px; }
.rv-ferry-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px 16px;
}
.rv-ferry-top { display: flex; align-items: center; justify-content: space-between; }
.chip-badge-grad {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 43px;
  background: #e2f2ff;
  color: var(--blue-link);
}
.rv-amenities { font-size: 14px; display: flex; gap: 8px; }
.rv-ferry-mid { display: flex; align-items: center; gap: 12px; }
.rv-ferry-img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.rv-ferry-name { flex: 1; min-width: 0; }
.rv-ferry-name p:first-child { font-size: 16px; color: var(--ink); }
.rv-ferry-op { font-size: 14px; color: var(--mist); margin-top: 3px; }
.rv-ferry-mid .icon-btn.sm { width: 30px; height: 30px; background: #f5f5f5; }
.rv-ferry-route { border-top: 1px solid var(--line-soft); padding-top: 12px; display: flex; align-items: center; gap: 12px; }
.rv-ferry-point { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 46px; flex: 0 0 auto; }
.rv-ferry-point .t { font-size: 14px; color: var(--ink); }
.rv-ferry-point .time { font-size: 12px; font-weight: 600; color: var(--mist); }
.rv-ferry-point .date { font-size: 10px; color: var(--mist); }
.rv-ferry-line { flex: 1; height: 2px; background: var(--line-soft); min-width: 20px; }
.rv-ferry-dur { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 0 0 auto; }
.rv-ferry-dur svg { width: 20px; height: 20px; color: var(--blue-link); }
.rv-ferry-dur span { font-size: 12px; color: var(--mist); }
.rv-ferry-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.rv-ferry-price { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--blue-link); }
.rv-ferry-price small { font-family: var(--f-head); font-weight: 400; font-size: 12px; color: var(--mist); }
.rv-ferry-bottom .chev { width: 20px; height: 20px; color: var(--mist); }

.rv-hotel-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.07);
}
.rv-hotel-img-wrap { position: relative; height: 182px; }
.rv-hotel-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.rv-hotel-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(9, 18, 30, 0.55);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 106, 0.5);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rv-hotel-heart {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(217, 217, 217, 0.35);
  backdrop-filter: blur(2px);
  color: #fff;
}
.rv-hotel-heart svg { width: 20px; height: 20px; }
.rv-hotel-body { padding: 12px; }
.rv-hotel-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-hotel-name { font-family: var(--f-head); font-weight: 500; font-size: 16px; color: var(--ink); }
.rv-hotel-rating { display: flex; align-items: center; gap: 4px; font-family: var(--f-body); font-weight: 700; font-size: 12px; flex: 0 0 auto; }
.rv-hotel-rating svg { width: 20px; height: 20px; fill: #ffd33c; }
.rv-hotel-loc { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mist); margin-top: 4px; }
.rv-hotel-loc svg { width: 16px; height: 16px; flex: 0 0 auto; }
.rv-hotel-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; }
.rv-hotel-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rv-hotel-perk { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #3f843c; }
.rv-hotel-perk svg { width: 16px; height: 16px; }
.rv-hotel-price { font-family: var(--f-head); font-weight: 500; font-size: 20px; color: var(--blue-link); }
.rv-hotel-price small { font-family: var(--f-head); font-weight: 400; font-size: 12px; color: var(--mist); }
.rv-hotel-edit { width: 24px; height: 24px; color: var(--slate); flex: 0 0 auto; }

.rv-stay-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 16px; box-shadow: 0 2px 22.5px 0 rgba(27, 27, 77, 0.04); }
.rv-stay-name { font-family: var(--f-head); font-weight: 500; font-size: 16px; margin-bottom: 12px; }
.rv-stay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-stay-col { display: flex; flex-direction: column; gap: 4px; }
.rv-stay-col:last-child { text-align: right; }
.rv-stay-label { font-size: 12px; color: var(--slate); }
.rv-stay-date { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: var(--ink); }
.rv-stay-time { font-size: 12px; color: var(--mist); }
.rv-stay-nights { font-size: 12px; color: var(--blue-link); background: var(--blue-050); border-radius: var(--r-pill); padding: 4px 10px; white-space: nowrap; }

.rv-room-guests {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 14px 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}
.rv-room-guests svg:first-child { width: 20px; height: 20px; color: var(--blue-link); }
.rv-room-guests span { flex: 1; }
.rv-room-guests-edit { width: 18px; height: 18px; color: var(--mist); }

.rv-card { margin-top: 22px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 16px; }
.rv-card .field:last-of-type { margin-bottom: 0; }
.field-row { display: flex; gap: 10px; }
.rv-field-code { width: 90px; flex: 0 0 auto; }
.rv-field-phone { flex: 1; }

.rv-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: var(--blue-050);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}

.rv-price-group { font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--slate); margin: 14px 0 6px; }
.rv-price-group:first-child { margin-top: 4px; }
.rv-price-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 14px; color: var(--ink); }
.rv-price-row + .rv-price-row { border-top: 1px solid var(--line-soft); }
.rv-price-total { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: 15px; }
.rv-price-total span:last-child { color: var(--blue-link); }

/* ============ PAYMENT ============ */
.pm-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.pm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
}
.pm-row + .pm-row { border-top: 1px solid var(--line-soft); }
.pm-row-label { flex: 1; font-size: 14px; color: var(--ink); }
.pm-radio {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-100);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  transition: border-color var(--t-fast);
}
.pm-radio:checked { border-color: var(--blue-link); border-width: 6px; }
.pm-card-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #1a1f71;
}
.pm-card-ico.pm-visa { background: #eef0ff; }
.pm-card-ico.pm-mastercard { gap: 2px; }
.pm-card-ico.pm-mastercard span { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.pm-card-ico.pm-mastercard span:first-child { background: #eb001b; margin-right: -6px; }
.pm-card-ico.pm-mastercard span:last-child { background: #f79e1b; opacity: 0.85; }
.pm-add-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-050); color: var(--blue-link); display: grid; place-items: center; flex: 0 0 auto; }
.pm-add-ico svg { width: 14px; height: 14px; }
.pm-chev { width: 20px; height: 20px; color: var(--mist); flex: 0 0 auto; }
.pm-saved { align-items: flex-start; }
.pm-saved-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pm-saved-sub { font-size: 12px; color: var(--mist); }
.pm-save-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); margin-top: 4px; }

/* ---- Review Booking + Payment cinematic (dark + gold) — scoped ---- */
.scr-review, .scr-payment { background: linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%); }
.scr-review .bar, .scr-payment .bar { background: transparent; }
.scr-review .bar-title, .scr-payment .bar-title { color: #fff; }
.scr-review .bar .icon-btn, .scr-payment .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.scr-review .sub-title, .scr-payment .sub-title { color: #fff; }
/* all cards → dark glass */
.scr-review .rv-ferry-card,
.scr-review .rv-hotel-card,
.scr-review .rv-stay-card,
.scr-review .rv-card,
.scr-review .rv-room-guests,
.scr-payment .rv-card,
.scr-payment .pm-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
/* review — ferry summary card */
.scr-review .chip-badge-grad { background: rgba(200, 169, 106, 0.18); color: var(--gold); }
.scr-review .rv-amenities { color: rgba(255, 255, 255, 0.62); gap: 10px; }
.scr-review .rv-amenities svg { width: 18px; height: 18px; }
.scr-review .rv-ferry-mid .icon-btn.sm { background: rgba(200, 169, 106, 0.16); border: 1px solid rgba(200, 169, 106, 0.4); color: var(--gold); }
.scr-review .rv-ferry-mid .icon-btn.sm svg { width: 16px; height: 16px; }
.scr-review .rv-ferry-name p:first-child { color: #fff; }
.scr-review .rv-ferry-op { color: rgba(255, 255, 255, 0.55); }
.scr-review .rv-ferry-route, .scr-review .rv-ferry-bottom { border-top-color: rgba(255, 255, 255, 0.1); }
.scr-review .rv-ferry-point .t { color: #fff; }
.scr-review .rv-ferry-point .time, .scr-review .rv-ferry-point .date { color: rgba(255, 255, 255, 0.5); }
.scr-review .rv-ferry-line { background: rgba(255, 255, 255, 0.18); }
.scr-review .rv-ferry-dur svg { color: var(--gold); }
.scr-review .rv-ferry-dur span { color: rgba(255, 255, 255, 0.55); }
.scr-review .rv-ferry-price { color: var(--gold); }
.scr-review .rv-ferry-price small { color: rgba(255, 255, 255, 0.5); }
.scr-review .rv-ferry-bottom .chev { color: rgba(255, 255, 255, 0.45); }
/* review — hotel card */
.scr-review .rv-hotel-name { color: #fff; }
.scr-review .rv-hotel-rating { color: #fff; }
.scr-review .rv-hotel-loc { color: rgba(255, 255, 255, 0.5); }
.scr-review .rv-hotel-perk { color: #6fe0ad; }
.scr-review .rv-hotel-price { color: var(--gold); }
.scr-review .rv-hotel-price small { color: rgba(255, 255, 255, 0.5); }
.scr-review .rv-hotel-edit { color: var(--gold); }
/* review — stay dates card */
.scr-review .rv-stay-name { color: #fff; }
.scr-review .rv-stay-label { color: rgba(255, 255, 255, 0.55); }
.scr-review .rv-stay-date { color: #fff; }
.scr-review .rv-stay-time { color: rgba(255, 255, 255, 0.5); }
.scr-review .rv-stay-nights { background: rgba(200, 169, 106, 0.16); color: var(--gold); }
/* review — guests row */
.scr-review .rv-room-guests { color: #fff; }
.scr-review .rv-room-guests svg:first-child { color: var(--gold); }
.scr-review .rv-room-guests-edit { color: rgba(255, 255, 255, 0.5); }
/* review + payment — form fields (same dark inputs as Auth) */
.scr-review .field-label, .scr-payment .field-label { color: rgba(255, 255, 255, 0.9); }
.scr-review .field-box, .scr-payment .field-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.scr-review .field-box:focus-within, .scr-payment .field-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.18);
}
.scr-review .field-ico, .scr-payment .field-ico { color: var(--gold); }
.scr-review .field-box input, .scr-payment .field-box input { color: #fff; }
/* review — coupon + price details */
.scr-review .rv-coupon { background: rgba(200, 169, 106, 0.12); color: #fff; }
.scr-review .rv-coupon .link { color: var(--gold); }
.scr-review .rv-price-group { color: var(--gold); }
.scr-review .rv-price-row { color: rgba(255, 255, 255, 0.85); }
.scr-review .rv-price-row + .rv-price-row { border-top-color: rgba(255, 255, 255, 0.08); }
.scr-review .rv-price-total { border-top-color: rgba(255, 255, 255, 0.18); color: #fff; }
.scr-review .rv-price-total span:last-child { color: var(--gold); }
/* payment — methods */
.scr-payment .pm-row + .pm-row { border-top-color: rgba(255, 255, 255, 0.08); }
.scr-payment .pm-row-label { color: #fff; }
.scr-payment .pm-radio { border-color: rgba(255, 255, 255, 0.3); }
.scr-payment .pm-radio:checked { border-color: var(--gold); }
.scr-payment .pm-add-ico { background: rgba(200, 169, 106, 0.16); color: var(--gold); }
.scr-payment .pm-chev { color: rgba(255, 255, 255, 0.45); }
.scr-payment .pm-saved-sub { color: rgba(255, 255, 255, 0.5); }
.scr-payment .pm-save-row { color: rgba(255, 255, 255, 0.85); }

/* ---- Favourites cinematic (dark + gold) — scoped ---- */
.scr-favs {
  background:
    radial-gradient(120% 50% at 50% -8%, rgba(200, 169, 106, 0.12), transparent 56%),
    linear-gradient(180deg, #0b1a2b 0%, #081421 44%, #050d17 100%);
}
.scr-favs .bar { background: transparent; }
.scr-favs .bar-title { color: #fff; }
.scr-favs .bar .icon-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.scr-favs .empty h3 { color: #fff; }
.scr-favs .empty p { color: rgba(255, 255, 255, 0.6); }

/* ============ BOOKING CONFIRMED (modal) ============ */
.confirm-icon { width: 120px; height: 120px; margin: 0 auto 12px; display: block; }
/* on-brand animated success check (gold ring + tick draw) — replaces the off-brand gif */
.confirm-check { position: relative; width: 116px; height: 116px; margin: 0 auto 14px; }
.confirm-check::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 169, 106, 0.32), transparent 72%);
  animation: cc-glow 2.4s ease-in-out infinite alternate;
}
.confirm-check svg { position: relative; width: 100%; height: 100%; overflow: visible; animation: cc-pop 0.5s var(--ease-spring) both; }
.confirm-check .cc-ring {
  fill: none;
  stroke: url(#ccGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transform: rotate(-90deg);
  transform-origin: center;
  filter: drop-shadow(0 4px 12px rgba(200, 169, 106, 0.45));
  animation: cc-draw 0.75s var(--ease-out) 0.08s forwards;
}
.confirm-check .cc-tick {
  fill: none;
  stroke: #edd8ab;
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 82;
  stroke-dashoffset: 82;
  animation: cc-draw 0.42s var(--ease-out) 0.62s forwards;
}
@keyframes cc-draw { to { stroke-dashoffset: 0; } }
@keyframes cc-pop { from { opacity: 0; transform: scale(0.7); } }
@keyframes cc-glow { from { opacity: 0.5; transform: scale(0.9); } to { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .confirm-check svg, .confirm-check .cc-ring, .confirm-check .cc-tick, .confirm-check::before { animation: none; }
  .confirm-check .cc-ring, .confirm-check .cc-tick { stroke-dashoffset: 0; }
}
.confirm-title { font-family: var(--f-head); font-weight: 800; font-size: 22px; margin-bottom: 8px; color: #fff; }
.confirm-detail-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.confirm-detail-row span:first-child { color: rgba(255, 255, 255, 0.55); }
.confirm-detail-row span:last-child { font-weight: 600; color: #fff; }
.confirm-actions { margin-top: 20px; }

/* ============ BOOKING DETAIL (Figma 1925:25552) ============ */
.scr-bkdetail .scroll { padding-top: 4px; }
.bkd-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 108px;
  padding: 12px;
  margin-top: 12px;
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 16px;
  box-shadow: 0 2px 22.5px 0 rgba(27, 27, 77, 0.04);
}
.bkd-summary-img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.bkd-summary-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bkd-summary-name { font-size: 14px; color: var(--ink); }
.bkd-summary-loc { font-size: 12px; color: var(--mist); margin-top: 4px; }
.bkd-summary-price { font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--blue-link); }
.bkd-summary-price small { font-family: var(--f-head); font-weight: 400; font-size: 14px; color: var(--mist); }

.bkd-card { background: var(--white); border: 1px solid #efefef; border-radius: 16px; margin-top: 16px; }
.bkd-contact { padding: 12px; display: flex; flex-direction: column; gap: 16px; }
.bkd-contact-row { display: flex; align-items: center; gap: 12px; }
.bkd-ci { width: 34px; height: 34px; border-radius: 38px; background: #f5f5f5; display: grid; place-items: center; flex: 0 0 auto; }
.bkd-ci img { width: 18px; height: 18px; }
.bkd-ci-label { font-size: 12px; color: #5d5d5d; }
.bkd-ci-val { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: var(--ink); margin-top: 2px; }
.bkd-msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  border: 1px solid var(--blue-link);
  border-radius: 12px;
  box-shadow: 1px 3px 14.7px 0 rgba(0, 0, 0, 0.13);
  color: var(--blue-link);
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 14px;
  background: var(--white);
}
.bkd-msg-btn img { width: 18px; height: 18px; }

.bkd-section-title { font-size: 16px; color: var(--ink); margin: 16px 0 8px; }
.bkd-location { display: flex; align-items: center; gap: 8px; padding: 12px 16px; margin-top: 0; overflow: hidden; }
.bkd-map { position: relative; width: 68px; height: 60px; flex: 0 0 auto; }
.bkd-map > img { width: 60px; height: 60px; border-radius: 8.68px; border: 1px solid #cacaca; object-fit: cover; }
.bkd-map-pin { position: absolute; left: 40px; top: 34px; width: 22px; height: 22px; }
.bkd-map-pin img { width: 100%; height: 100%; }
.bkd-loc-addr { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: #3e4143; }
.bkd-open-map { font-family: var(--f-head); font-weight: 600; font-size: 12px; color: var(--blue-link); margin-top: 4px; text-align: left; }

.bkd-details { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.bkd-group { display: flex; flex-direction: column; gap: 6px; }
.bkd-group-title { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--blue-link); }
.bkd-kv { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 8px 0; }
.bkd-kv .bkd-k { font-size: 14px; color: var(--slate); display: flex; align-items: center; gap: 10px; }
.bkd-kv .bkd-k img { width: 20px; height: 20px; }
.bkd-kv .bkd-v { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: var(--ink); text-align: right; }
.bkd-kv.total .bkd-k, .bkd-kv.total .bkd-v { font-family: 'Plus Jakarta Sans', var(--f-head); font-weight: 600; color: var(--blue-link); }
.bkd-divider { height: 1px; background: #efefef; }
.bkd-cancel-btn {
  width: 100%;
  height: 56px;
  background: var(--white);
  border: 1px solid #efefef;
  border-radius: 16px;
  box-shadow: 1px 3px 7.35px rgba(0, 0, 0, 0.13);
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 18px;
  color: #ff383c;
  transition: background var(--t-fast) ease;
}
.bkd-cancel-btn:hover { background: #fff7f7; }

/* ============ CANCEL BOOKING popup (Figma 1925:25177) ============ */
.cancel-illus { width: 142px; height: 142px; margin: 0 auto 16px; display: block; }
.cancel-title { font-family: var(--f-head); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 12px; }
.cancel-text { font-size: 14px; color: rgba(255, 255, 255, 0.6); line-height: 18px; margin-bottom: 16px; }
.cancel-rows { width: 100%; margin-bottom: 4px; }
.cancel-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14px; }
.cancel-row span:first-child { color: rgba(255, 255, 255, 0.55); flex: 0 0 auto; white-space: nowrap; }
.cancel-row span:last-child { font-family: var(--f-head); font-weight: 500; color: #fff; flex: 1; min-width: 0; text-align: right; word-break: break-word; }
.cancel-actions { display: flex; gap: 16px; margin-top: 20px; }
.cancel-actions .btn { flex: 1; height: 48px; border-radius: 12px; font-family: var(--f-head); font-weight: 500; font-size: 16px; box-shadow: none; }
.cancel-keep { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.cancel-confirm { background: rgba(255, 56, 60, 0.12); border: 1px solid rgba(255, 56, 60, 0.45); color: #ff6165; }
